|
From: | ccoutant at gmail dot com |
Subject: | [Bug gold/22791] Don't error when a -pie executable uses a shared function without PIC/PIE relocation |
Date: | Tue, 06 Feb 2018 01:29:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22791 --- Comment #8 from Cary Coutant <ccoutant at gmail dot com> --- (In reply to Rafael Ávila de Espíndola from comment #5) > (In reply to Cary Coutant from comment #4) > > This would be fine if we knew for a fact that the relocation is on a call > > instruction. The problem is that R_X86_64_PC32 isn't always a call > > instruction. > > It still works. The library will see the address of the got entry. Which won't necessarily be the "official" PLT entry. Function point comparison may break. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |