|
From: | rafael.espindola at gmail dot com |
Subject: | [Bug ld/22842] Handling of R_X86_64_PC32 in a PIE against a function in a shared library could be better |
Date: | Tue, 13 Feb 2018 23:35:55 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22842 --- Comment #9 from Rafael Ávila de Espíndola <rafael.espindola at gmail dot com> --- (In reply to Cary Coutant from comment #8) > I still believe that the linker is working as intended. If you want the > address of the PLT entry, use the PLT32 reloc. Why should -pie make a difference? All 3 linker produce a plt entry without -pie. This seems similar to the change to support copy relocations in pie executables. --- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Cary Coutant from comment #8) > I still believe that the linker is working as intended. If you want the > address of the PLT entry, use the PLT32 reloc. You do get the same value at run-time and linker can resolve it without dynamic relocation. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |