mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
2168b2688a
bfd/ PR ld/20093 * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Don't convert GOTPCREL relocation against large section. ld/ PR ld/20093 * testsuite/ld-x86-64/pr20093-1.d: New file. * testsuite/ld-x86-64/pr20093-1.s: Likewise. * testsuite/ld-x86-64/pr20093-2.d: Likewise. * testsuite/ld-x86-64/pr20093-2.s: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
12 lines
203 B
ArmAsm
12 lines
203 B
ArmAsm
.section .lbss,"aw",@nobits
|
|
foo1:
|
|
.space 1073741824
|
|
.space 1073741824
|
|
.space 1073741824
|
|
.text
|
|
.globl _start
|
|
.type _start, @function
|
|
_start:
|
|
movq foo1@GOTPCREL(%rip), %rax
|
|
.size _start, .-_start
|