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.
This commit is contained in:
Nick Clifton 2015-04-10 08:26:07 +01:00
parent 6166ed9330
commit 080bb7bbe9
4 changed files with 22 additions and 2 deletions

View File

@ -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.

View File

@ -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

View File

@ -1,3 +1,9 @@
2015-04-10 Nick Clifton <nickc@redhat.com>
PR binutils/18198
* ld.texinfo (--be8): Add a note about the interaction of this
option with the assembler's -EB option.
2015-04-10 Alan Modra <amodra@gmail.com>
PR ld/18223

View File

@ -6424,8 +6424,10 @@ import tables. By default this option is turned off.
@cindex BE8
@kindex --be8
The @samp{--be8} switch instructs @command{ld} to generate BE8 format
executables. This option is only valid when linking big-endian objects.
The resulting image will contain big-endian data and little-endian code.
executables. This option is only valid when linking big-endian
objects - ie ones which have been assembled with the @option{-EB}
option. The resulting image will contain big-endian data and
little-endian code.
@cindex TARGET1
@kindex --target1-rel