gas:
[binutils/dougsmingw.git] / ld / testsuite / ld-sh / start.s
blob2af4c799f33dd7b9920626a6a6410d100f0791cf
1 .section .text
2 .global start
3 start:
5 mov.l stack_k,r15
7 ! call the mainline
8 L1:
9 mov.l main_k,r0
10 .uses L1
11 jsr @r0
12 nop
14 .align 2
15 stack_k:
16 .long _stack
17 main_k:
18 .long _main
20 .global _trap
21 _trap:
22 trapa #3
23 rts
24 nop
26 .section .stack
27 _stack: .long 0xdeaddead