aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-04-10 08:26:07 +0100
committerNick Clifton <nickc@redhat.com>2015-04-10 08:26:07 +0100
commit080bb7bbe9d06424be5a989ae87160d655d22e2e (patch)
tree90ee55e2c3386e2a455f84c5bff735ca4d560589 /gas
parent6166ed9330a9afd41859d5a716cb9019c338a8ca (diff)
downloadgdb-080bb7bbe9d06424be5a989ae87160d655d22e2e.zip
gdb-080bb7bbe9d06424be5a989ae87160d655d22e2e.tar.gz
gdb-080bb7bbe9d06424be5a989ae87160d655d22e2e.tar.bz2
Add documentation about the interation of the ARM assembler's -EB option and the linker's --be8 option.
PR binutils/18198 * ld.texinfo (--be8): Add a note about the interaction of this option with the assembler's -EB option. * doc/c-arm.texi (ARM Options): Add a note about the interaction of the -EB option with the linker's --be8 option.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/doc/c-arm.texi6
2 files changed, 12 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fb4355e..636ef3c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-10 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/18198
+ * doc/c-arm.texi (ARM Options): Add a note about the interaction of
+ the -EB option with the linker's --be8 option.
+
2015-04-09 Hans-Peter Nilsson <hp@axis.com>
* doc/c-rx.texi: Fix markup typos in last change.
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 18becb7..f07aa62 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -362,6 +362,12 @@ and
This option specifies that the output generated by the assembler should
be marked as being encoded for a big-endian processor.
+Note: If a program is being built for a system with big-endian data
+and little-endian instructions then it should be assembled with the
+@option{-EB} option, (all of it, code and data) and then linked with
+the @option{--be8} option. This will reverse the endianness of the
+instructions back to little-endian, but leave the data as big-endian.
+
@cindex @code{-EL} command line option, ARM
@item -EL
This option specifies that the output generated by the assembler should