This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/14979] Incorrect R_386_GLOB_DAT/R_386_JUMP_SLOT handling


http://sourceware.org/bugzilla/show_bug.cgi?id=14979

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-12-21 13:39:46 UTC ---
(In reply to comment #1)
> I'd say it is way too late to do changes like that.
> And, if you even consider those, make sure you won't break e.g. prelink (not
> sure about x86_64, but on i386 you'd definitely break prelink fatally with such
> a change).

I did a quick check.  All files under /lib and /bin on 32-bit Fedora 17
have 0 addend for both R_386_GLOB_DAT and R_386_JMP_SLOT.  I looked
at prelink source, R_386_GLOB_DAT, R_X86_64_GLOB_DAT and R_X86_64_JMP_SLOT
have zero r_addend.  I am not sure about R_386_JMP_SLOT.  I will modify
prelink to check addend for both 386 and x86-64.  I will run it on both
32bit and 64bit Fedora 17 to see prelink ever generates none-zero addend
for GLOB_DAT and JMP_SLOT.

-- 
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]