old-cross-binutils/ld/testsuite/ld-sh/sub2l.s
Hans-Peter Nilsson 7739e068a7 * ld-sh/rd-sh.exp: New framework file.
* ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d,
	ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New
	test files.
2001-10-14 15:18:11 +00:00

26 lines
238 B
ArmAsm

! "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