ARM mapping symbols and --strip-unneeded

Nick Clifton nickc@redhat.com
Mon Jun 27 13:24:00 GMT 2016


Hi Michael,

> The patch works fine. Thank you! But as you said, it applies to all
> files, also leaving the mapping symbols in shared libraries and
> executables, making them larger. When I add
> 
> 	&& ((abfd->flags & (EXEC_P | DYNAMIC)) == 0)
> 
> to the selector, symbols are retained in the object files but stripped
> from executables and shared libraries. Is that the correct way to go
> about it?

Yes - that is a good idea.  Sorry for missing it in the first place.

> If so, I'd go ahead and open a bug with the extended patch as
> you suggested.

Please do.

Cheers
  Nick

 



More information about the Binutils mailing list