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


On Tuesday 28 June 2016 13:22:38 Nick Clifton wrote:
> Hi Guys,

Hi Nick,

> 
> 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.

Since your commit fca2a38fdb391f810e309a12d5279047d4edac34 the binutils test 
"strip without global symbol" started to fail for arm-none-eabi targets. I get 
the following output in the logs:

tmpdir/pr19547.o:     file format elf32-littlearm^M
^M
SYMBOL TABLE:^M
00000000 l    d  .text  00000000 .text^M
00000000 l    d  .data  00000000 .data^M
00000000 l    d  .bss   00000000 .bss^M
00000000 l    d  .comment       00000000 .comment^M
00000000 l    d  .ARM.attributes        00000000 .ARM.attributes^M
^M
^M

tmpdir/pr19547.o:     file format elf32-littlearm

SYMBOL TABLE:
00000000 l    d  .text  00000000 .text
00000000 l    d  .data  00000000 .data
00000000 l    d  .bss   00000000 .bss
00000000 l    d  .comment       00000000 .comment
00000000 l    d  .ARM.attributes        00000000 .ARM.attributes


My apologize if this has already been reported but I skimmed quickly through 
the thread and haven't found any mentions of testsuite regression.

Best regards,

Thomas


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