https://sourceware.org/bugzilla/show_bug.cgi?id=31047
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- [hjl@gnu-cfl-3 pr31047]$ cat x.s .text .globl _start _start: .nop .reloc 0, BFD_RELOC_NONE, foo .section .note.GNU-stack,"",@progbits [hjl@gnu-cfl-3 pr31047]$ cat y.s .globl foo foo = 0x1000 .section .note.GNU-stack,"",@progbits [hjl@gnu-cfl-3 pr31047]$ make as -o y.o y.s as -o x.o x.s ./ld -pie -o x y.o x.o ./ld: x.o: relocation R_X86_64_NONE against absolute symbol `foo' in section `.text' is disallowed make: *** [Makefile:13: x] Error 1 -- You are receiving this mail because: You are on the CC list for the bug.