This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] i386: Remove PLT0 and use non-lazy PLT if PLT0 is unused


On 05/06/2017 05:11 PM, H.J. Lu wrote:
1. Call external function.
2. Call internal IFUNC function.  The best implementation is selected
for the target processor at run-time.
3. Act as the canonical function address.

Audit support is missing from this list. Audit support needs a PLT stub which calls the audit trampoline with some sort of function index or address.

I'm concerned that -z now in recent binutils (even without this patch) removes audit support, when before, audit support was not impacted by -z now (I think, I'm not sure on this point).

We really must avoid hardening flags which have profound semantic implications on generated binaries because it discourages people from enabling them.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]