[Bug dynamic-link/14978] Incorrect R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT handling
bugdal at aerifal dot cx
sourceware-bugzilla@sourceware.org
Thu Dec 20 00:06:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14978
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> 2012-12-20 00:06:15 UTC ---
I'm skeptical of this claim. Unless R_X86_64_GLOB_DAT is used ONLY for GOT
entries and not for data-section address constant expressions, addends are
necessary. Consider the sample code:
int x[2], *y = x+1;
Here, there should be a data segment relocation for y pointing to x+1, which
requires an addend. I would check the generated .so file myself but I don't
have a 64-bit system or cross toolchain handy.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list