aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/sub2l.s
blob: 1a077d0960c0557884181aaf6b00b1ef0a24b6f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
! "The subtraction of two symbols".
 .little
 .text
 .align 5
f:
 rts
f2:
 nop

 .section .text.foo,"ax",@progbits
 .align 5
 .global ff
ff:
 nop
 nop
 nop
 nop
L:
 rts
 nop
 .align 2
 .long f-L
 .long f2-L
 .long f2
 .long L
 .long ff+4