[PATCH] x86: Add -z print-local-ifuncs to ELF linker
Carlos O'Donell
carlos@redhat.com
Thu Jun 8 13:37:00 GMT 2017
On 06/07/2017 09:33 PM, Alan Modra wrote:
> On Wed, Jun 07, 2017 at 06:05:55AM -0700, H.J. Lu wrote:
>> Add -z print-local-ifuncs to x86 ELF linker to list local IFUNC functions
>> when generating executables and shared objects.
>>
>> Any comments?
>
> I'm wondering if it would be better to dump this output to a map file,
> using minfo rather than einfo. If you do that then there is possibly
> no need to have an option to control the output; If a mapfile is
> requested then you will see a list of these symbols. In any case, I
> don't see a need for -z noprint-local-ifuncs.
>
+1
I would also prefer this information in the map file.
Cheers,
Carlos.
More information about the Binutils
mailing list