https://sourceware.org/bugzilla/show_bug.cgi?id=18695
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
A simpler testcase:
[hjl@gnu-6 pr18591]$ cat x.S
.hidden foo
.comm pad,0x80000000,8
.comm foo,8,8
.text
.globl bar
.type bar, @function
bar:
movq foo@GOTPCREL(%rip), %rax
[hjl@gnu-6 pr18591]$ make LD=ld.gold
gcc -c -o x.o x.S
ld.gold -z max-page-size=0x200000 -shared -o x.so x.o
objdump -dw x.so
x.so: file format elf64-x86-64
Disassembly of section .text:
0000000000000204 <bar>:
204: 48 8d 05 dd 00 20 80 lea -0x7fdfff23(%rip),%rax #
ffffffff802002e8 <_end+0xfffffffefffffff8>
[hjl@gnu-6 pr18591]$
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils