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: ARM mapping symbols and --strip-unneeded


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

 


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