https://sourceware.org/bugzilla/show_bug.cgi?id=18695
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- On users/hjl/gold branch, I got [hjl@gnu-6 pr18695]$ cat x.S .hidden foo .comm pad,0x8ff00000,8 .comm foo,8,8 .text .globl bar .type bar, @function bar: lea foo(%rip), %rax [hjl@gnu-6 pr18695]$ make gcc -c -o x.o x.S ./ld -z max-page-size=0x200000 -shared -o x.so x.o x.o(.text+0x3): error: relocation type 2 overflow Makefile:25: recipe for target 'x.so' failed make: *** [x.so] Error 1 [hjl@gnu-6 pr18695]$ instead of [hjl@gnu-6 pr18695]$ ld.gold -z max-page-size=0x200000 -shared -o x.so x.o [hjl@gnu-6 pr18695]$ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils