diff options
author | Nick Clifton <nickc@redhat.com> | 2015-04-10 08:26:07 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-04-10 08:26:07 +0100 |
commit | 080bb7bbe9d06424be5a989ae87160d655d22e2e (patch) | |
tree | 90ee55e2c3386e2a455f84c5bff735ca4d560589 /gas/doc | |
parent | 6166ed9330a9afd41859d5a716cb9019c338a8ca (diff) | |
download | gdb-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/doc')
-rw-r--r-- | gas/doc/c-arm.texi | 6 |
1 files changed, 6 insertions, 0 deletions
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 |