[PATCH] elf: Don't make forced local symbol dynamic for PIC outputs

Alan Modra amodra@gmail.com
Wed Jun 10 09:51:03 GMT 2020


On Sun, Jun 07, 2020 at 11:08:22AM -0700, H.J. Lu via Binutils wrote:
> For:
> 
>   /* True if this target has relocatable executables, so needs dynamic
>      section symbols.  */
>   bfd_boolean is_relocatable_executable;
> 
> there is no need to make forced local symbol dynamic for PIC outputs.

On what do you base that claim?  I'm looking for a better reason than
the name of the variable indicates executables.  It might be that
targets with is_relocatable_executable set also need special treatment
for shared libraries.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list