Bug 20303

Summary: strip: retain mapping symbols in object files on big-endian ARM for correct byte-swapping on linking
Product: binutils Reporter: Michael Weiser <michael>
Component: binutilsAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: nickc
Priority: P2    
Version: 2.27   
Target Milestone: ---   
Host: x86_64-unknown-linux-gnu Target: armv7veb-hardfloat-linux-gnueabi
Build: x86_64-unknown-linux-gnu Last reconfirmed:
Attachments: retain mapping symbols in object files on big-endian ARM for correct byte-swapping on linking

Description Michael Weiser 2016-06-27 13:32:08 UTC
Created attachment 9367 [details]
retain mapping symbols in object files on big-endian ARM for correct byte-swapping on linking

As discussed[1] strip should retain ARM mapping symbols in object files on big-endian arm so that the linker can byte-swap them correctly. Attached patch implements that.

[1] https://www.sourceware.org/ml/binutils/2016-06/msg00423.html
Comment 1 Nick Clifton 2016-06-28 15:24:18 UTC
I have checked in this patch to fix the problem:

https://sourceware.org/ml/binutils/2016-06/msg00481.html