diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-06-28 23:10:41 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-06-28 23:10:41 +0000 |
commit | ba5ceb3060bbd82b92bc9a48b1e2d59056e95800 (patch) | |
tree | 7b4045bd4187eef6403393c1d97160c5ac4dcc37 /gas/doc | |
parent | 4a9983089e0f8e6dfad5f00329421c0d8cf48296 (diff) | |
download | gdb-ba5ceb3060bbd82b92bc9a48b1e2d59056e95800.zip gdb-ba5ceb3060bbd82b92bc9a48b1e2d59056e95800.tar.gz gdb-ba5ceb3060bbd82b92bc9a48b1e2d59056e95800.tar.bz2 |
describe --emulation option
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texinfo | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index ce88642..b33f38b 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -230,6 +230,7 @@ Here is a brief summary of how to invoke @code{@value{AS}}. For details, [ -nocpp ] [ -EL ] [ -EB ] [ -G @var{num} ] [ -mcpu=@var{CPU} ] [ -mips1 ] [ -mips2 ] [ -mips3 ] [ -m4650 ] [ -no-m4650 ] [ --trap ] [ --break ] + [ --emulation=@var{name} ] @end ifset [ -- | @var{files} @dots{} ] @end smallexample @@ -439,6 +440,31 @@ instructions around accesses to the @samp{HI} and @samp{LO} registers. Generate code for a particular MIPS cpu. This has little effect on the assembler, but it is passed by @code{@value{GCC}}. +@cindex emulation +@item --emulation=@var{name} +This option causes @code{@value{AS}} to emulated @code{@value{AS}} configured +for some other target, in all respects, including output format (choosing +between ELF and ECOFF only), handling of pseudo-opcodes which may generate +debugging information or store symbol table information, and default +endianness. The available configuration names are: @samp{mipsecoff}, +@samp{mipself}, @samp{mipslecoff}, @samp{mipsbecoff}, @samp{mipslelf}, +@samp{mipsbelf}. The first two do not alter the default endianness from that +of the primary target for which the assembler was configured; the others change +the default to little- or big-endian as indicated by the @samp{b} or @samp{l} +in the name. Using @samp{-EB} or @samp{-EL} will override the endianness +selection in any case. + +This option is currently supported only when the primary target +@code{@value{AS}} is configured for is a MIPS ELF or ECOFF target. +Furthermore, the primary target or others specified with +@samp{--enable-targets=@dots{}} at configuration time must include support for +the other format, if both are to be available. For example, the Irix 5 +configuration includes support for both. + +Eventually, this option will support more configurations, with more +fine-grained control over the assembler's behavior, and will be supported for +more processors. + @item -nocpp @code{@value{AS}} ignores this option. It is accepted for compatibility with the native tools. |