old-cross-binutils/ld/testsuite/ld-sh/textrel1.s
Kaz Kojima 866f48b717 * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.
* ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test.
2003-08-02 13:46:44 +00:00

11 lines
97 B
ArmAsm

.text
.align 5
.globl f
f:
mov.l .L1,r0
rts
nop
.align 2
.L1: .long g - f
.long foo@GOT