[PATCH] x86: Add -z print-local-ifuncs to ELF linker

Alan Modra amodra@gmail.com
Thu Jun 8 01:33:00 GMT 2017


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.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list