Bug 20303 - strip: retain mapping symbols in object files on big-endian ARM for correct byte-swapping on linking
Summary: strip: retain mapping symbols in object files on big-endian ARM for correct b...
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.27
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-27 13:32 UTC by Michael Weiser
Modified: 2016-06-28 15:24 UTC (History)
1 user (show)

See Also:
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 (716 bytes, patch)
2016-06-27 13:32 UTC, Michael Weiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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