[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/2254] New: ld -r seg faults relocating against a local object sy
From: |
plalonde at neoptica dot com |
Subject: |
[Bug ld/2254] New: ld -r seg faults relocating against a local object symbol |
Date: |
1 Feb 2006 01:44:39 -0000 |
If I add a local symbol to the symbol table, and then a relocation relative to
it ld seg faults when I try to
link it. If I change it to a global symbol all is well. (ld -r test.o seg
faults as well)
Is is the expected behaviour (well, not the seg fault, but at least not
handling relocation relative to a
local symbol)?
My environment is fedora core 4 on AMD64. I'm running binutils-2.15.94.0.2.2.
The relocation type is
R_X86_64_64.
The included ldbug.tgz has two files: success.o and fail.o.; ld -r success.o
works, ld -r fail.o segfaults.
They differ only in byte 397, success having the symbol "mystring" as global,
fail as local.
begin 664 ldbug.tgz
M'XL(address@hidden,``^V5S4["0!#'IX""&H/>N)C`P9LV_2#T1KBH'(SQ8L*UP"+$
M0DEW43GY6CZ"K^!;Z!/H5M92E]T08L"8S"]9IO/OS$YW6C)TTND02LT0UH?%
MJ56K7]:address@hidden:[EN5"VUOA,"1/*_*A<AG'@!^&H2W1Q
MR^[_4Y[.+L\SAI'X!M3!4,2]IL2&^-V#`C1)$(0GY8<P"KJ5W7G,0;(address@hidden
M)B./#,RNSWPP(Q+XXK)-*??#F=,)AT,RXF&CD!'SXNKFE+^ESAV8M$]9Q/PV
MOYH.9W;FZXCKY^#]0W4OJSQIK&<T>DZC;VGT;8V>7]"*?!VFZA:%+0G]NY])
M+QFAC`2]AVC`2`3#*>_#8'0+_?A]W/N1LO`J&&+)1VAHXN76Y$5^5I-?DO2"
MY.\K]HQI2?D[?&52^:address@hidden<R>7_X4=/GRIW2LT%;)-W^97X?%
MLZ?S6Y(NYS=A\>PQ+\*^"1O_YPNPV/]K3?UG4:BRI#ZR$7K^(%CK\(<5Y[_'
M==MQJP[._TV`\U^E_\W\-W#^S\'YC_,?01`$01`$01`$01`$01`$01`$69E/
(address@hidden
`
end
--
Summary: ld -r seg faults relocating against a local object
symbol
Product: binutils
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: plalonde at neoptica dot com
CC: bug-binutils at gnu dot org
GCC build triplet: fedora core 4, AMD64
GCC host triplet: fedora core 4, AMD64
GCC target triplet: fedora core 4, AMD64
http://sourceware.org/bugzilla/show_bug.cgi?id=2254
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/2254] New: ld -r seg faults relocating against a local object symbol,
plalonde at neoptica dot com <=