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/20480] Patch: ifunc not executable, crashes sudo qemu


https://sourceware.org/bugzilla/show_bug.cgi?id=20480

--- Comment #11 from Adam J. Richter <adam_richter2004 at yahoo dot com> ---
Updating my comment about not being certain why PIE is necessary to reproduce
the problem, I think I understand now.  The test case's code to induce
DT_TEXTREL is in the main program.  Without PIE, those text relocations would
be done by the linker, so there would be no relocations in the .text segement
for the dynamic linker to handle (no DT_TEXTREL).

So, I think this problem also would occur when the other requirements are met
if there were a .text section relocation in a ("-fPIC") shared library.

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