[Bug dynamic-link/31218] PLT rewrite doesn't work on unrelocated definition

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Sat Jan 6 18:59:17 GMT 2024


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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
IFUNC is fine.  The problem is with x32.  On x32, PLT rewrite generates:

   0xf7fbe060 <+0>:     jmp    0x401030
   0xf7fbe065 <+5>:     int3
   0xf7fbe066 <+6>:     int3
   0xf7fbe067 <+7>:     int3
   0xf7fbe068 <+8>:     int3
   0xf7fbe069 <+9>:     int3
   0xf7fbe06a <+10>:    int3
   0xf7fbe06b <+11>:    int3
   0xf7fbe06c <+12>:    int3
   0xf7fbe06d <+13>:    int3
   0xf7fbe06e <+14>:    int3
   0xf7fbe06f <+15>:    int3

0xf7fbe060 + 0x401030 overflows.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list