[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/31047] relocation R_X86_64_NONE against absolute symbol `__dtrac
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/31047] relocation R_X86_64_NONE against absolute symbol `__dtrace_test_prov___place' in section `.text.startup' is disallowed |
Date: |
Tue, 09 Jan 2024 14:12:03 +0000 |
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.