mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
7d4d970973
Don't convert R_386_GOT32 since we can't tell if it is applied to "mov $foo@GOT, %reg" which isn't a load via GOT. bfd/ PR ld/20117 * elf32-i386.c (elf_i386_convert_load_reloc): Don't check R_386_GOT32X. (elf_i386_convert_load): Don't convert R_386_GOT32. ld/ PR ld/20117 * testsuite/ld-i386/i386.exp: Run pr20117. * testsuite/ld-i386/pr19609-1i.d: Updated. * testsuite/ld-i386/pr20117.d: New file. * testsuite/ld-i386/pr20117.s: Likewise.
8 lines
128 B
ArmAsm
8 lines
128 B
ArmAsm
.comm DEBUGLEVEL,4,4
|
|
.text
|
|
.globl _start
|
|
.type _start, @function
|
|
_start:
|
|
.byte 0xeb, 0x8b
|
|
movl $DEBUGLEVEL@GOT, %ebp
|