[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/26937] New: [gold, PIE] ld drops relocations for .text.__x86.g
From: |
vries at gcc dot gnu.org |
Subject: |
[Bug gold/26937] New: [gold, PIE] ld drops relocations for .text.__x86.get_pc_thunk.bx |
Date: |
Tue, 24 Nov 2020 09:54:55 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26937
Bug ID: 26937
Summary: [gold, PIE] ld drops relocations for
.text.__x86.get_pc_thunk.bx
Product: binutils
Version: 2.35
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: vries at gcc dot gnu.org
CC: ian at airs dot com
Target Milestone: ---
[ This is the gold variant of gdb PR26935 and ld PR26936. ]
Basically, with gold we have the same problems as ld, described in PR26936.
But for gold, the same problem occur also for .debug_ranges and .debug_aranges.
In .debug_ranges, we can observe that the second range starts at zero:
...
00000028 ffffffff 00000000 (base address)
00000028 00000bbb 00000d23
00000028 00000000 00000004
00000028 <End of list>
...
While in morestack.o we have:
...
Relocation section '.rel.debug_ranges' at offset 0x914 contains 4 entries:
Offset Info Type Sym. Value Symbol's Name
00000008 00000101 R_386_32 00000000 .text
0000000c 00000101 R_386_32 00000000 .text
00000010 00000401 R_386_32 00000000
.text.__x86.get_pc_thunk.bx
00000014 00000401 R_386_32 00000000
.text.__x86.get_pc_thunk.bx
...
and:
...
Contents of the .debug_ranges section:
Offset Begin End
00000000 ffffffff 00000000 (base address)
00000000 00000000 00000168
00000000 00000000 00000004
00000000 <End of list>
...
Likewise for .debug_aranges.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/26937] New: [gold, PIE] ld drops relocations for .text.__x86.get_pc_thunk.bx,
vries at gcc dot gnu.org <=
- [Bug gold/26937] [gold, PIE] ld drops relocations for .text.__x86.get_pc_thunk.bx, hjl.tools at gmail dot com, 2020/11/25
- [Bug gold/26937] [gold, PIE] ld drops relocations for .text.__x86.get_pc_thunk.bx, hjl.tools at gmail dot com, 2020/11/25
- [Bug gold/26937] [gold, PIE] ld drops relocations for .text.__x86.get_pc_thunk.bx, cvs-commit at gcc dot gnu.org, 2020/11/29
- [Bug gold/26937] [gold, PIE] ld drops relocations for .text.__x86.get_pc_thunk.bx, hjl.tools at gmail dot com, 2020/11/29