This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/14978] Incorrect R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT handling
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 20 Dec 2012 00:06:15 +0000
- Subject: [Bug dynamic-link/14978] Incorrect R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT handling
- Auto-submitted: auto-generated
- References: <bug-14978-131@http.sourceware.org/bugzilla/>
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.