[PATCH] x86: Turn PLT32 to PC32 only for PC-relative relocations
H.J. Lu
hjl.tools@gmail.com
Sun Sep 22 11:05:13 GMT 2024
commit 292676c15a615b5a95bede9ee91004d3f7ee7dfd
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Feb 13 13:44:17 2020 -0800
x86: Resolve PLT32 reloc aganst local symbol to section
resolved PLT32 relocation against local symbol to section and
commit 2585b7a5ce5830e60a089aa2316a329558902f0c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sun Jul 19 06:51:19 2020 -0700
x86: Change PLT32 reloc against section to PC32
turned PLT32 relocation against section into PC32 relocation. But these
transformations are valid only for PC-relative relocations. Add fx_pcrel
check for PC-relative relocations when performing these transformations.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Turn-PLT32-to-PC32-only-for-PC-relative-relocati.patch
Type: text/x-patch
Size: 5865 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240922/4659cb46/attachment.bin>
More information about the Binutils
mailing list