ARM mapping symbols and --strip-unneeded
Nick Clifton
nickc@redhat.com
Tue Jun 28 12:22:00 GMT 2016
Hi Guys,
On 27/06/16 15:06, Richard Earnshaw (lists) wrote:
> And potentially for little-endian binaries as well. For example, they
> might sometimes be needed to insert correct interworking veneers.
Agreed - so this is what I have checked in. It makes sure that "strip
--strip-unneeded" will not remove mapping symbols from any ARM object
file (little endian or big endian), whilst still allowing them to be
removed from executables and shared libraries.
Cheers
Nick
bfd/ChangeLog
2016-06-28 Nick Clifton <nickc@redhat.com>
* elf32-arm.c (elf32_arm_backend_symbol_processing): New
function. Marks mapping symbols in object files as precious, so
that strip will not remove them.
(elf_backend_symbol_processing): Define.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf32-arm.c.patch
Type: text/x-patch
Size: 1564 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160628/729a1a02/attachment.bin>
More information about the Binutils
mailing list