17 lines
364 B
NASM
17 lines
364 B
NASM
; private-entry.asm -- M4 two-TU private-symbol link test entry.
|
|
;
|
|
; Calls both translation units so the linker keeps their functions and the
|
|
; string literals that those functions reference.
|
|
.text
|
|
.globl _start
|
|
_start:
|
|
setf 16, 1, 0
|
|
setf 32, 0, 1
|
|
movi _cstack, a14
|
|
move a14, a13
|
|
calla _a
|
|
calla _b
|
|
rets
|
|
|
|
.bss _cstack, 32768, 16 ; 32768 bits = 4096 bytes
|