https://sourceware.org/bugzilla/show_bug.cgi?id=18198

--- Comment #2 from Solra Bizna <solrabizna at gmail dot com> ---
I can confirm that this works. (Yay!) Compiling with -EB and passing --be8 to
ld results in little-endian instructions and big-endian data. I specifically
tested that it correctly handles literal pools, and unadorned .word directives
(correctly) come out little-endian in .text sections and big-endian in .data
sections.

The only remaining bug IMO is in the documentation for the -EB option. It ought
to mention --be8, perhaps something like: "In order to run on recent ARM
processors, code assembled with -EB generally needs to be linked specially.
With the GNU linker, this entails passing --be8 to ld."

Do I close this bug and file a new one? Are documentation bugs a thing in this
ecosystem?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to