1 .text 2 .globl __start 3 .type __start, %function 4 __start: 5 sts.l pr,@-r15 6 mov.l 1f,r0 7 jsr @r0 8 nop 9 10 mov.l 2f,r0 11 jsr @r0 12 nop 13 14 mov.l 3f,r0 15 jsr @r0 16 nop 17 18 lds.l @r15+,pr 19 rts 20 nop 21 .align 2 22 1: .long _foo 23 2: .long _sglobal 24 3: .long _sexternal 25 .size __start, .-__start 26 27 .globl _sexternal 28 .type _sexternal, %function 29 _sexternal: 30 rts 31 nop 32 .size _sexternal, .-_sexternal 33