bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/27169] i386: Emit R_386_PLT32 instead of R_386_PC32 for `call/j


From: hjl.tools at gmail dot com
Subject: [Bug gas/27169] i386: Emit R_386_PLT32 instead of R_386_PC32 for `call/jmp foo`
Date: Wed, 08 Jun 2022 20:06:41 +0000

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

--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> ---
Just to be clear. Some i386 shared libraries are compiled without
-fPIC on purpose to improve performance.  When ld sees R_386_PC32
of an undefined symbol in a shared library, it creates a dynamic
R_386_PC32 relocation in the .text section.  Replace R_386_PC32
with R_386_PLT32 will break this.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]