arm-linux-as.1
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:37k
- ." Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
- ."
- ." Standard preamble:
- ." ========================================================================
- .de Sh " Subsection heading
- .br
- .if t .Sp
- .ne 5
- .PP
- fB\$1fR
- .PP
- ..
- .de Sp " Vertical space (when we can't use .PP)
- .if t .sp .5v
- .if n .sp
- ..
- .de Vb " Begin verbatim text
- .ft CW
- .nf
- .ne \$1
- ..
- .de Ve " End verbatim text
- .ft R
- .fi
- ..
- ." Set up some character translations and predefined strings. *(-- will
- ." give an unbreakable dash, *(PI will give pi, *(L" will give a left
- ." double quote, and *(R" will give a right double quote. | will give a
- ." real vertical bar. *(C+ will give a nicer C++. Capital omega is used to
- ." do unbreakable dashes and therefore won't be available. *(C` and *(C'
- ." expand to `' in nroff, nothing in troff, for use with C<>.
- .tr (*W-|(bv*(Tr
- .ds C+ Cv'-.1v'h'-1p's-2+h'-1p'+s0v'.1v'h'-1p'
- .ie n {
- . ds -- (*W-
- . ds PI pi
- . if (n(.H=4u)&(1m=24u) .ds -- (*Wh'-12u'(*Wh'-12u'-" diablo 10 pitch
- . if (n(.H=4u)&(1m=20u) .ds -- (*Wh'-12u'(*Wh'-8u'-" diablo 12 pitch
- . ds L" ""
- . ds R" ""
- . ds C` ""
- . ds C' ""
- 'br}
- .el{
- . ds -- |(em|
- . ds PI (*p
- . ds L" ``
- . ds R" ''
- 'br}
- ."
- ." If the F register is turned on, we'll generate index entries on stderr for
- ." titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
- ." entries marked with X<> in POD. Of course, you'll have to process the
- ." output yourself in some meaningful fashion.
- .if nF {
- . de IX
- . tm Index:\$1t\n%t"\$2"
- ..
- . nr % 0
- . rr F
- .}
- ."
- ." For nroff, turn off justification. Always turn off hyphenation; it makes
- ." way too many mistakes in technical documents.
- .hy 0
- ."
- ." Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
- ." Fear. Run. Save yourself. No user-serviceable parts.
- . " fudge factors for nroff and troff
- .if n {
- . ds #H 0
- . ds #V .8m
- . ds #F .3m
- . ds #[ f1
- . ds #] fP
- .}
- .if t {
- . ds #H ((1u-(\\n(.fu%2u))*.13m)
- . ds #V .6m
- . ds #F 0
- . ds #[ &
- . ds #] &
- .}
- . " simple accents for nroff and troff
- .if n {
- . ds ' &
- . ds ` &
- . ds ^ &
- . ds , &
- . ds ~ ~
- . ds /
- .}
- .if t {
- . ds ' \k:h'-(\n(.wu*8/10-*(#H)''h"|\n:u"
- . ds ` \k:h'-(\n(.wu*8/10-*(#H)'`h'|\n:u'
- . ds ^ \k:h'-(\n(.wu*10/11-*(#H)'^h'|\n:u'
- . ds , \k:h'-(\n(.wu*8/10)',h'|\n:u'
- . ds ~ \k:h'-(\n(.wu-*(#H-.1m)'~h'|\n:u'
- . ds / \k:h'-(\n(.wu*8/10-*(#H)'z(slh'|\n:u'
- .}
- . " troff and (daisy-wheel) nroff accents
- .ds : \k:h'-(\n(.wu*8/10-*(#H+.1m+*(#F)'v'-*(#V'z.h'.2m+*(#F'.h'|\n:u'v'*(#V'
- .ds 8 h'*(#H'(*bh'-*(#H'
- .ds o \k:h'-(\n(.wu+w'(de'u-*(#H)/2u'v'-.3n'*(#[z(dev'.3n'h'|\n:u'*(#]
- .ds d- h'*(#H'(pdh'-w'~'u'v'-.25m'f2(hyfPv'.25m'h'-*(#H'
- .ds D- D\k:h'-w'D'u'v'-.11m'z(hyv'.11m'h'|\n:u'
- .ds th *(#[v'.3m's+1Is-1v'-.3m'h'-(w'I'u*2/3)'s-1os+1*(#]
- .ds Th *(#[s+2Is-2h'-w'I'u*3/5'v'-.3m'ov'.3m'*(#]
- .ds ae ah'-(w'a'u*4/10)'e
- .ds Ae Ah'-(w'A'u*4/10)'E
- . " corrections for vroff
- .if v .ds ~ \k:h'-(\n(.wu*9/10-*(#H)'s-2u~ds+2h'|\n:u'
- .if v .ds ^ \k:h'-(\n(.wu*10/11-*(#H)'v'-.4m'^v'.4m'h'|\n:u'
- . " for low resolution devices (crt and lpr)
- .if n(.H>23 .if n(.V>19
- {
- . ds : e
- . ds 8 ss
- . ds o a
- . ds d- dh'-1'(ga
- . ds D- Dh'-1'(hy
- . ds th o'bp'
- . ds Th o'LP'
- . ds ae ae
- . ds Ae AE
- .}
- .rm #[ #] #H #V #F C
- ." ========================================================================
- ."
- .IX Title "AS 1"
- .TH AS 1 "2005-05-02" "binutils-2.16" "GNU Development Tools"
- .SH "NAME"
- AS - the portable GNU assembler.
- .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- as [fB-afR[fBcdhlnsfR][=fIfilefR]] [fB--alternatefR] [fB-DfR]
- [fB--defsymfR fIsymfR=fIvalfR] [fB-ffR] [fB-gfR] [fB--gstabsfR] [fB--gstabs+fR]
- [fB--gdwarf-2fR] [fB--helpfR] [fB-IfR fIdirfR] [fB-JfR] [fB-KfR] [fB-LfR]
- [fB--listing-lhs-widthfR=fIs-1NUMs0fR] [fB--listing-lhs-width2fR=fIs-1NUMs0fR]
- [fB--listing-rhs-widthfR=fIs-1NUMs0fR] [fB--listing-cont-linesfR=fIs-1NUMs0fR]
- [fB--keep-localsfR] [fB-ofR fIobjfilefR] [fB-RfR] [fB--statisticsfR] [fB-vfR]
- [fB-versionfR] [fB--versionfR] [fB-WfR] [fB--warnfR] [fB--fatal-warningsfR]
- [fB-wfR] [fB-xfR] [fB-ZfR] [fB--target-helpfR] [fItarget-optionsfR]
- [fB--fR|fIfilesfR ...]
- .PP
- &fITarget Alpha options:fR
- [fB-mfRfIcpufR]
- [fB-mdebugfR | fB-no-mdebugfR]
- [fB-relaxfR] [fB-gfR] [fB-GfRfIsizefR]
- [fB-FfR] [fB-32addrfR]
- .PP
- &fITarget s-1ARCs0 options:fR
- [fB-marc[5|6|7|8]fR]
- [fB-EBfR|fB-ELfR]
- .PP
- &fITarget s-1ARMs0 options:fR
- [fB-mcpufR=fIprocessorfR[+fIextensionfR...]]
- [fB-marchfR=fIarchitecturefR[+fIextensionfR...]]
- [fB-mfpufR=fIfloating-point-formatfR]
- [fB-mfloat-abifR=fIabifR]
- [fB-meabifR=fIverfR]
- [fB-mthumbfR]
- [fB-EBfR|fB-ELfR]
- [fB-mapcs-32fR|fB-mapcs-26fR|fB-mapcs-floatfR|
- fB-mapcs-reentrantfR]
- [fB-mthumb-interworkfR] [fB-kfR]
- .PP
- &fITarget s-1CRISs0 options:fR
- [fB--underscorefR | fB--no-underscorefR]
- [fB--picfR] [fB-NfR]
- [fB--emulation=criselffR | fB--emulation=crisaoutfR]
- [fB--march=v0_v10fR | fB--march=v10fR | fB--march=v32fR | fB--march=common_v10_v32fR]
- .PP
- &fITarget D10V options:fR
- [fB-OfR]
- .PP
- &fITarget D30V options:fR
- [fB-OfR|fB-nfR|fB-NfR]
- .PP
- &fITarget i386 options:fR
- [fB--32fR|fB--64fR] [fB-nfR]
- .PP
- &fITarget i960 options:fR
- [fB-ACAfR|fB-ACA_AfR|fB-ACBfR|fB-ACCfR|fB-AKAfR|fB-AKBfR|
- fB-AKCfR|fB-AMCfR]
- [fB-bfR] [fB-no-relaxfR]
- .PP
- &fITarget s-1IA-64s0 options:fR
- [fB-mconstant-gpfR|fB-mauto-picfR]
- [fB-milp32fR|fB-milp64fR|fB-mlp64fR|fB-mp64fR]
- [fB-mlefR|fBmbefR]
- [fB-munwind-check=warningfR|fB-munwind-check=errorfR]
- [fB-mhint.b=okfR|fB-mhint.b=warningfR|fB-mhint.b=errorfR]
- [fB-xfR|fB-xexplicitfR] [fB-xautofR] [fB-xdebugfR]
- .PP
- &fITarget s-1IP2Ks0 options:fR
- [fB-mip2022fR|fB-mip2022extfR]
- .PP
- &fITarget M32R options:fR
- [fB--m32rxfR|fB--[no-]warn-explicit-parallel-conflictsfR|
- fB--W[n]pfR]
- .PP
- &fITarget M680X0 options:fR
- [fB-lfR] [fB-m68000fR|fB-m68010fR|fB-m68020fR|...]
- .PP
- &fITarget M68HC11 options:fR
- [fB-m68hc11fR|fB-m68hc12fR|fB-m68hcs12fR]
- [fB-mshortfR|fB-mlongfR]
- [fB-mshort-doublefR|fB-mlong-doublefR]
- [fB--force-long-branchsfR] [fB--short-branchsfR]
- [fB--strict-direct-modefR] [fB--print-insn-syntaxfR]
- [fB--print-opcodesfR] [fB--generate-examplefR]
- .PP
- &fITarget s-1MCOREs0 options:fR
- [fB-jsri2bsrfR] [fB-sifilterfR] [fB-relaxfR]
- [fB-mcpu=[210|340]fR]
- .PP
- &fITarget s-1MIPSs0 options:fR
- [fB-nocppfR] [fB-ELfR] [fB-EBfR] [fB-OfR[fIoptimization levelfR]]
- [fB-gfR[fIdebug levelfR]] [fB-GfR fInumfR] [fB-KPICfR] [fB-call_sharedfR]
- [fB-non_sharedfR] [fB-xgotfR]
- [fB-mabifR=fIs-1ABIs0fR] [fB-32fR] [fB-n32fR] [fB-64fR] [fB-mfp32fR] [fB-mgp32fR]
- [fB-marchfR=fIs-1CPUs0fR] [fB-mtunefR=fIs-1CPUs0fR] [fB-mips1fR] [fB-mips2fR]
- [fB-mips3fR] [fB-mips4fR] [fB-mips5fR] [fB-mips32fR] [fB-mips32r2fR]
- [fB-mips64fR] [fB-mips64r2fR]
- [fB-construct-floatsfR] [fB-no-construct-floatsfR]
- [fB-trapfR] [fB-no-breakfR] [fB-breakfR] [fB-no-trapfR]
- [fB-mfix7000fR] [fB-mno-fix7000fR]
- [fB-mips16fR] [fB-no-mips16fR]
- [fB-mips3dfR] [fB-no-mips3dfR]
- [fB-mdmxfR] [fB-no-mdmxfR]
- [fB-mdebugfR] [fB-no-mdebugfR]
- [fB-mpdrfR] [fB-mno-pdrfR]
- .PP
- &fITarget s-1MMIXs0 options:fR
- [fB--fixed-special-register-namesfR] [fB--globalize-symbolsfR]
- [fB--gnu-syntaxfR] [fB--relaxfR] [fB--no-predefined-symbolsfR]
- [fB--no-expandfR] [fB--no-merge-gregsfR] [fB-xfR]
- [fB--linker-allocated-gregsfR]
- .PP
- &fITarget s-1PDP11s0 options:fR
- [fB-mpicfR|fB-mno-picfR] [fB-mallfR] [fB-mno-extensionsfR]
- [fB-mfRfIextensionfR|fB-mno-fRfIextensionfR]
- [fB-mfRfIcpufR] [fB-mfRfImachinefR]
- .PP
- &fITarget picoJava options:fR
- [fB-mbfR|fB-mefR]
- .PP
- &fITarget PowerPC options:fR
- [fB-mpwrxfR|fB-mpwr2fR|fB-mpwrfR|fB-m601fR|fB-mppcfR|fB-mppc32fR|fB-m603fR|fB-m604fR|
- fB-m403fR|fB-m405fR|fB-mppc64fR|fB-m620fR|fB-mppc64bridgefR|fB-mbookefR|
- fB-mbooke32fR|fB-mbooke64fR]
- [fB-mcomfR|fB-manyfR|fB-maltivecfR] [fB-membfR]
- [fB-mregnamesfR|fB-mno-regnamesfR]
- [fB-mrelocatablefR|fB-mrelocatable-libfR]
- [fB-mlittlefR|fB-mlittle-endianfR|fB-mbigfR|fB-mbig-endianfR]
- [fB-msolarisfR|fB-mno-solarisfR]
- .PP
- &fITarget s-1SPARCs0 options:fR
- [fB-Av6fR|fB-Av7fR|fB-Av8fR|fB-AsparcletfR|fB-AsparclitefR
- fB-Av8plusfR|fB-Av8plusafR|fB-Av9fR|fB-Av9afR]
- [fB-xarch=v8plusfR|fB-xarch=v8plusafR] [fB-bumpfR]
- [fB-32fR|fB-64fR]
- .PP
- &fITarget s-1TIC54Xs0 options:fR
- [fB-mcpu=54[123589]fR|fB-mcpu=54[56]lpfR] [fB-mfar-modefR|fB-mffR]
- [fB-merrors-to-filefR fI<filename>fR|fB-mefR fI<filename>fR]
- .PP
- &fITarget Xtensa options:fR
- [fB--[no-]text-section-literalsfR] [fB--[no-]absolute-literalsfR]
- [fB--[no-]target-alignfR] [fB--[no-]longcallsfR]
- [fB--[no-]transformfR]
- [fB--rename-sectionfR fIoldnamefR=fInewnamefR]
- .SH "DESCRIPTION"
- .IX Header "DESCRIPTION"
- &s-1GNUs0 fBasfR is really a family of assemblers.
- If you use (or have used) the s-1GNUs0 assembler on one architecture, you
- should find a fairly similar environment when you use it on another
- architecture. Each version has much in common with the others,
- including object file formats, most assembler directives (often called
- &fIpseudo-opsfR) and assembler syntax.
- .PP
- &fBasfR is primarily intended to assemble the output of the
- &s-1GNUs0 C compiler f(CW*(C`gcc*(C'fR for use by the linker
- &f(CW*(C`ld*(C'fR. Nevertheless, we've tried to make fBasfR
- assemble correctly everything that other assemblers for the same
- machine would assemble.
- Any exceptions are documented explicitly.
- This doesn't mean fBasfR always uses the same syntax as another
- assembler for the same architecture; for example, we know of several
- incompatible versions of 680x0 assembly language syntax.
- .PP
- Each time you run fBasfR it assembles exactly one source
- program. The source program is made up of one or more files.
- (The standard input is also a file.)
- .PP
- You give fBasfR a command line that has zero or more input file
- names. The input files are read (from left file name to right). A
- command line argument (in any position) that has no special meaning
- is taken to be an input file name.
- .PP
- If you give fBasfR no file names it attempts to read one input file
- from the fBasfR standard input, which is normally your terminal. You
- may have to type fBctl-DfR to tell fBasfR there is no more program
- to assemble.
- .PP
- Use fB--fR if you need to explicitly name the standard input file
- in your command line.
- .PP
- If the source is empty, fBasfR produces a small, empty object
- file.
- .PP
- &fBasfR may write warnings and error messages to the standard error
- file (usually your terminal). This should not happen when a compiler
- runs fBasfR automatically. Warnings report an assumption made so
- that fBasfR could keep assembling a flawed program; errors report a
- grave problem that stops the assembly.
- .PP
- If you are invoking fBasfR via the s-1GNUs0 C compiler,
- you can use the fB-WafR option to pass arguments through to the assembler.
- The assembler arguments must be separated from each other (and the fB-WafR)
- by commas. For example:
- .PP
- .Vb 1
- & gcc -c -g -O -Wa,-alh,-L file.c
- .Ve
- .PP
- This passes two options to the assembler: fB-alhfR (emit a listing to
- standard output with high-level and assembly source) and fB-LfR (retain
- local symbols in the symbol table).
- .PP
- Usually you do not need to use this fB-WafR mechanism, since many compiler
- command-line options are automatically passed to the assembler by the compiler.
- (You can call the s-1GNUs0 compiler driver with the fB-vfR option to see
- precisely what options it passes to each compilation pass, including the
- assembler.)
- .SH "OPTIONS"
- .IX Header "OPTIONS"
- .IP "fB-a[cdhlmns]fR" 4
- .IX Item "-a[cdhlmns]"
- Turn on listings, in any of a variety of ways:
- .RS 4
- .IP "fB-acfR" 4
- .IX Item "-ac"
- omit false conditionals
- .IP "fB-adfR" 4
- .IX Item "-ad"
- omit debugging directives
- .IP "fB-ahfR" 4
- .IX Item "-ah"
- include high-level source
- .IP "fB-alfR" 4
- .IX Item "-al"
- include assembly
- .IP "fB-amfR" 4
- .IX Item "-am"
- include macro expansions
- .IP "fB-anfR" 4
- .IX Item "-an"
- omit forms processing
- .IP "fB-asfR" 4
- .IX Item "-as"
- include symbols
- .IP "fB=filefR" 4
- .IX Item "=file"
- set the name of the listing file
- .RE
- .RS 4
- .Sp
- You may combine these options; for example, use fB-alnfR for assembly
- listing without forms processing. The fB=filefR option, if used, must be
- the last one. By itself, fB-afR defaults to fB-ahlsfR.
- .RE
- .IP "fB--alternatefR" 4
- .IX Item "--alternate"
- Begin in alternate macro mode, see f(CW@reffR{Altmacro,,f(CW*(C`.altmacro*(C'fR}.
- .IP "fB-DfR" 4
- .IX Item "-D"
- Ignored. This option is accepted for script compatibility with calls to
- other assemblers.
- .IP "fB--defsymfR fIsymfRfB=fRfIvaluefR" 4
- .IX Item "--defsym sym=value"
- Define the symbol fIsymfR to be fIvaluefR before assembling the input file.
- &fIvaluefR must be an integer constant. As in C, a leading fB0xfR
- indicates a hexadecimal value, and a leading fB0fR indicates an octal value.
- .IP "fB-ffR" 4
- .IX Item "-f"
- ``fast''---skip whitespace and comment preprocessing (assume source is
- compiler output).
- .IP "fB-gfR" 4
- .IX Item "-g"
- .PD 0
- .IP "fB--gen-debugfR" 4
- .IX Item "--gen-debug"
- .PD
- Generate debugging information for each assembler source line using whichever
- debug format is preferred by the target. This currently means either s-1STABSs0,
- &s-1ECOFFs0 or s-1DWARF2s0.
- .IP "fB--gstabsfR" 4
- .IX Item "--gstabs"
- Generate stabs debugging information for each assembler line. This
- may help debugging assembler code, if the debugger can handle it.
- .IP "fB--gstabs+fR" 4
- .IX Item "--gstabs+"
- Generate stabs debugging information for each assembler line, with s-1GNUs0
- extensions that probably only gdb can handle, and that could make other
- debuggers crash or refuse to read your program. This
- may help debugging assembler code. Currently the only s-1GNUs0 extension is
- the location of the current working directory at assembling time.
- .IP "fB--gdwarf-2fR" 4
- .IX Item "--gdwarf-2"
- Generate s-1DWARF2s0 debugging information for each assembler line. This
- may help debugging assembler code, if the debugger can handle it. Note---this
- option is only supported by some targets, not all of them.
- .IP "fB--helpfR" 4
- .IX Item "--help"
- Print a summary of the command line options and exit.
- .IP "fB--target-helpfR" 4
- .IX Item "--target-help"
- Print a summary of all target specific options and exit.
- .IP "fB-IfR fIdirfR" 4
- .IX Item "-I dir"
- Add directory fIdirfR to the search list for f(CW*(C`.include*(C'fR directives.
- .IP "fB-JfR" 4
- .IX Item "-J"
- Don't warn about signed overflow.
- .IP "fB-KfR" 4
- .IX Item "-K"
- Issue warnings when difference tables altered for long displacements.
- .IP "fB-LfR" 4
- .IX Item "-L"
- .PD 0
- .IP "fB--keep-localsfR" 4
- .IX Item "--keep-locals"
- .PD
- Keep (in the symbol table) local symbols. On traditional a.out systems
- these start with fBLfR, but different systems have different local
- label prefixes.
- .IP "fB--listing-lhs-width=fRfInumberfR" 4
- .IX Item "--listing-lhs-width=number"
- Set the maximum width, in words, of the output data column for an assembler
- listing to fInumberfR.
- .IP "fB--listing-lhs-width2=fRfInumberfR" 4
- .IX Item "--listing-lhs-width2=number"
- Set the maximum width, in words, of the output data column for continuation
- lines in an assembler listing to fInumberfR.
- .IP "fB--listing-rhs-width=fRfInumberfR" 4
- .IX Item "--listing-rhs-width=number"
- Set the maximum width of an input source line, as displayed in a listing, to
- &fInumberfR bytes.
- .IP "fB--listing-cont-lines=fRfInumberfR" 4
- .IX Item "--listing-cont-lines=number"
- Set the maximum number of lines printed in a listing for a single line of input
- to fInumberfR + 1.
- .IP "fB-ofR fIobjfilefR" 4
- .IX Item "-o objfile"
- Name the object-file output from fBasfR fIobjfilefR.
- .IP "fB-RfR" 4
- .IX Item "-R"
- Fold the data section into the text section.
- .IP "fB--statisticsfR" 4
- .IX Item "--statistics"
- Print the maximum space (in bytes) and total time (in seconds) used by
- assembly.
- .IP "fB--strip-local-absolutefR" 4
- .IX Item "--strip-local-absolute"
- Remove local absolute symbols from the outgoing symbol table.
- .IP "fB-vfR" 4
- .IX Item "-v"
- .PD 0
- .IP "fB-versionfR" 4
- .IX Item "-version"
- .PD
- Print the fBasfR version.
- .IP "fB--versionfR" 4
- .IX Item "--version"
- Print the fBasfR version and exit.
- .IP "fB-WfR" 4
- .IX Item "-W"
- .PD 0
- .IP "fB--no-warnfR" 4
- .IX Item "--no-warn"
- .PD
- Suppress warning messages.
- .IP "fB--fatal-warningsfR" 4
- .IX Item "--fatal-warnings"
- Treat warnings as errors.
- .IP "fB--warnfR" 4
- .IX Item "--warn"
- Don't suppress warning messages or treat them as errors.
- .IP "fB-wfR" 4
- .IX Item "-w"
- Ignored.
- .IP "fB-xfR" 4
- .IX Item "-x"
- Ignored.
- .IP "fB-ZfR" 4
- .IX Item "-Z"
- Generate an object file even after errors.
- .IP "fB-- |fR fIfilesfR fB...fR" 4
- .IX Item "-- | files ..."
- Standard input, or source files to assemble.
- .PP
- The following options are available when as is configured for
- an s-1ARCs0 processor.
- .IP "fB-marc[5|6|7|8]fR" 4
- .IX Item "-marc[5|6|7|8]"
- This option selects the core processor variant.
- .IP "fB-EB | -ELfR" 4
- .IX Item "-EB | -EL"
- Select either big-endian (-EB) or little-endian (-EL) output.
- .PP
- The following options are available when as is configured for the s-1ARMs0
- processor family.
- .IP "fB-mcpu=fRfIprocessorfRfB[+fRfIextensionfRfB...]fR" 4
- .IX Item "-mcpu=processor[+extension...]"
- Specify which s-1ARMs0 processor variant is the target.
- .IP "fB-march=fRfIarchitecturefRfB[+fRfIextensionfRfB...]fR" 4
- .IX Item "-march=architecture[+extension...]"
- Specify which s-1ARMs0 architecture variant is used by the target.
- .IP "fB-mfpu=fRfIfloating-point-formatfR" 4
- .IX Item "-mfpu=floating-point-format"
- Select which Floating Point architecture is the target.
- .IP "fB-mfloat-abi=fRfIabifR" 4
- .IX Item "-mfloat-abi=abi"
- Select which floating point s-1ABIs0 is in use.
- .IP "fB-mthumbfR" 4
- .IX Item "-mthumb"
- Enable Thumb only instruction decoding.
- .IP "fB-mapcs-32 | -mapcs-26 | -mapcs-float | -mapcs-reentrantfR" 4
- .IX Item "-mapcs-32 | -mapcs-26 | -mapcs-float | -mapcs-reentrant"
- Select which procedure calling convention is in use.
- .IP "fB-EB | -ELfR" 4
- .IX Item "-EB | -EL"
- Select either big-endian (-EB) or little-endian (-EL) output.
- .IP "fB-mthumb-interworkfR" 4
- .IX Item "-mthumb-interwork"
- Specify that the code has been generated with interworking between Thumb and
- &s-1ARMs0 code in mind.
- .IP "fB-kfR" 4
- .IX Item "-k"
- Specify that s-1PICs0 code has been generated.
- .PP
- See the info pages for documentation of the CRIS-specific options.
- .PP
- The following options are available when as is configured for
- a D10V processor.
- .IP "fB-OfR" 4
- .IX Item "-O"
- Optimize output by parallelizing instructions.
- .PP
- The following options are available when as is configured for a D30V
- processor.
- .IP "fB-OfR" 4
- .IX Item "-O"
- Optimize output by parallelizing instructions.
- .IP "fB-nfR" 4
- .IX Item "-n"
- Warn when nops are generated.
- .IP "fB-NfR" 4
- .IX Item "-N"
- Warn when a nop after a 32-bit multiply instruction is generated.
- .PP
- The following options are available when as is configured for the
- Intel 80960 processor.
- .IP "fB-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMCfR" 4
- .IX Item "-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC"
- Specify which variant of the 960 architecture is the target.
- .IP "fB-bfR" 4
- .IX Item "-b"
- Add code to collect statistics about branches taken.
- .IP "fB-no-relaxfR" 4
- .IX Item "-no-relax"
- Do not alter compare-and-branch instructions for long displacements;
- error if necessary.
- .PP
- The following options are available when as is configured for the
- Ubicom s-1IP2Ks0 series.
- .IP "fB-mip2022extfR" 4
- .IX Item "-mip2022ext"
- Specifies that the extended s-1IP2022s0 instructions are allowed.
- .IP "fB-mip2022fR" 4
- .IX Item "-mip2022"
- Restores the default behaviour, which restricts the permitted instructions to
- just the basic s-1IP2022s0 ones.
- .PP
- The following options are available when as is configured for the
- Renesas M32R (formerly Mitsubishi M32R) series.
- .IP "fB--m32rxfR" 4
- .IX Item "--m32rx"
- Specify which processor in the M32R family is the target. The default
- is normally the M32R, but this option changes it to the M32RX.
- .IP "fB--warn-explicit-parallel-conflicts or --WpfR" 4
- .IX Item "--warn-explicit-parallel-conflicts or --Wp"
- Produce warning messages when questionable parallel constructs are
- encountered.
- .IP "fB--no-warn-explicit-parallel-conflicts or --WnpfR" 4
- .IX Item "--no-warn-explicit-parallel-conflicts or --Wnp"
- Do not produce warning messages when questionable parallel constructs are
- encountered.
- .PP
- The following options are available when as is configured for the
- Motorola 68000 series.
- .IP "fB-lfR" 4
- .IX Item "-l"
- Shorten references to undefined symbols, to one word instead of two.
- .IP "fB-m68000 | -m68008 | -m68010 | -m68020 | -m68030fR" 4
- .IX Item "-m68000 | -m68008 | -m68010 | -m68020 | -m68030"
- .PD 0
- .IP "fB| -m68040 | -m68060 | -m68302 | -m68331 | -m68332fR" 4
- .IX Item "| -m68040 | -m68060 | -m68302 | -m68331 | -m68332"
- .IP "fB| -m68333 | -m68340 | -mcpu32 | -m5200fR" 4
- .IX Item "| -m68333 | -m68340 | -mcpu32 | -m5200"
- .PD
- Specify what processor in the 68000 family is the target. The default
- is normally the 68020, but this can be changed at configuration time.
- .IP "fB-m68881 | -m68882 | -mno-68881 | -mno-68882fR" 4
- .IX Item "-m68881 | -m68882 | -mno-68881 | -mno-68882"
- The target machine does (or does not) have a floating-point coprocessor.
- The default is to assume a coprocessor for 68020, 68030, and cpu32. Although
- the basic 68000 is not compatible with the 68881, a combination of the
- two can be specified, since it's possible to do emulation of the
- coprocessor instructions with the main processor.
- .IP "fB-m68851 | -mno-68851fR" 4
- .IX Item "-m68851 | -mno-68851"
- The target machine does (or does not) have a memory-management
- unit coprocessor. The default is to assume an s-1MMUs0 for 68020 and up.
- .PP
- For details about the s-1PDP-11s0 machine dependent features options,
- see f(CW@reffR{PDP-11-Options}.
- .IP "fB-mpic | -mno-picfR" 4
- .IX Item "-mpic | -mno-pic"
- Generate position-independent (or position-dependent) code. The
- default is fB-mpicfR.
- .IP "fB-mallfR" 4
- .IX Item "-mall"
- .PD 0
- .IP "fB-mall-extensionsfR" 4
- .IX Item "-mall-extensions"
- .PD
- Enable all instruction set extensions. This is the default.
- .IP "fB-mno-extensionsfR" 4
- .IX Item "-mno-extensions"
- Disable all instruction set extensions.
- .IP "fB-mfRfIextensionfR fB| -mno-fRfIextensionfR" 4
- .IX Item "-mextension | -mno-extension"
- Enable (or disable) a particular instruction set extension.
- .IP "fB-mfRfIcpufR" 4
- .IX Item "-mcpu"
- Enable the instruction set extensions supported by a particular s-1CPUs0, and
- disable all other extensions.
- .IP "fB-mfRfImachinefR" 4
- .IX Item "-mmachine"
- Enable the instruction set extensions supported by a particular machine
- model, and disable all other extensions.
- .PP
- The following options are available when as is configured for
- a picoJava processor.
- .IP "fB-mbfR" 4
- .IX Item "-mb"
- Generate ``big endian'' format output.
- .IP "fB-mlfR" 4
- .IX Item "-ml"
- Generate ``little endian'' format output.
- .PP
- The following options are available when as is configured for the
- Motorola 68HC11 or 68HC12 series.
- .IP "fB-m68hc11 | -m68hc12 | -m68hcs12fR" 4
- .IX Item "-m68hc11 | -m68hc12 | -m68hcs12"
- Specify what processor is the target. The default is
- defined by the configuration option when building the assembler.
- .IP "fB-mshortfR" 4
- .IX Item "-mshort"
- Specify to use the 16-bit integer s-1ABIs0.
- .IP "fB-mlongfR" 4
- .IX Item "-mlong"
- Specify to use the 32-bit integer s-1ABIs0.
- .IP "fB-mshort-doublefR" 4
- .IX Item "-mshort-double"
- Specify to use the 32-bit double s-1ABIs0.
- .IP "fB-mlong-doublefR" 4
- .IX Item "-mlong-double"
- Specify to use the 64-bit double s-1ABIs0.
- .IP "fB--force-long-branchsfR" 4
- .IX Item "--force-long-branchs"
- Relative branches are turned into absolute ones. This concerns
- conditional branches, unconditional branches and branches to a
- sub routine.
- .IP "fB-S | --short-branchsfR" 4
- .IX Item "-S | --short-branchs"
- Do not turn relative branchs into absolute ones
- when the offset is out of range.
- .IP "fB--strict-direct-modefR" 4
- .IX Item "--strict-direct-mode"
- Do not turn the direct addressing mode into extended addressing mode
- when the instruction does not support direct addressing mode.
- .IP "fB--print-insn-syntaxfR" 4
- .IX Item "--print-insn-syntax"
- Print the syntax of instruction in case of error.
- .IP "fB--print-opcodesfR" 4
- .IX Item "--print-opcodes"
- print the list of instructions with syntax and then exit.
- .IP "fB--generate-examplefR" 4
- .IX Item "--generate-example"
- print an example of instruction for each possible instruction and then exit.
- This option is only useful for testing fBasfR.
- .PP
- The following options are available when fBasfR is configured
- for the s-1SPARCs0 architecture:
- .IP "fB-Av6 | -Av7 | -Av8 | -Asparclet | -AsparclitefR" 4
- .IX Item "-Av6 | -Av7 | -Av8 | -Asparclet | -Asparclite"
- .PD 0
- .IP "fB-Av8plus | -Av8plusa | -Av9 | -Av9afR" 4
- .IX Item "-Av8plus | -Av8plusa | -Av9 | -Av9a"
- .PD
- Explicitly select a variant of the s-1SPARCs0 architecture.
- .Sp
- &fB-Av8plusfR and fB-Av8plusafR select a 32 bit environment.
- &fB-Av9fR and fB-Av9afR select a 64 bit environment.
- .Sp
- &fB-Av8plusafR and fB-Av9afR enable the s-1SPARCs0 V9 instruction set with
- UltraSPARC extensions.
- .IP "fB-xarch=v8plus | -xarch=v8plusafR" 4
- .IX Item "-xarch=v8plus | -xarch=v8plusa"
- For compatibility with the Solaris v9 assembler. These options are
- equivalent to -Av8plus and -Av8plusa, respectively.
- .IP "fB-bumpfR" 4
- .IX Item "-bump"
- Warn when the assembler switches to another architecture.
- .PP
- The following options are available when as is configured for the 'c54x
- architecture.
- .IP "fB-mfar-modefR" 4
- .IX Item "-mfar-mode"
- Enable extended addressing mode. All addresses and relocations will assume
- extended addressing (usually 23 bits).
- .IP "fB-mcpu=fRfIs-1CPU_VERSIONs0fR" 4
- .IX Item "-mcpu=CPU_VERSION"
- Sets the s-1CPUs0 version being compiled for.
- .IP "fB-merrors-to-filefR fIs-1FILENAMEs0fR" 4
- .IX Item "-merrors-to-file FILENAME"
- Redirect error output to a file, for broken systems which don't support such
- behaviour in the shell.
- .PP
- The following options are available when as is configured for
- a s-1MIPSs0 processor.
- .IP "fB-GfR fInumfR" 4
- .IX Item "-G num"
- This option sets the largest size of an object that can be referenced
- implicitly with the f(CW*(C`gp*(C'fR register. It is only accepted for targets that
- use s-1ECOFFs0 format, such as a DECstation running Ultrix. The default value is 8.
- .IP "fB-EBfR" 4
- .IX Item "-EB"
- Generate ``big endian'' format output.
- .IP "fB-ELfR" 4
- .IX Item "-EL"
- Generate ``little endian'' format output.
- .IP "fB-mips1fR" 4
- .IX Item "-mips1"
- .PD 0
- .IP "fB-mips2fR" 4
- .IX Item "-mips2"
- .IP "fB-mips3fR" 4
- .IX Item "-mips3"
- .IP "fB-mips4fR" 4
- .IX Item "-mips4"
- .IP "fB-mips5fR" 4
- .IX Item "-mips5"
- .IP "fB-mips32fR" 4
- .IX Item "-mips32"
- .IP "fB-mips32r2fR" 4
- .IX Item "-mips32r2"
- .IP "fB-mips64fR" 4
- .IX Item "-mips64"
- .IP "fB-mips64r2fR" 4
- .IX Item "-mips64r2"
- .PD
- Generate code for a particular s-1MIPSs0 Instruction Set Architecture level.
- &fB-mips1fR is an alias for fB-march=r3000fR, fB-mips2fR is an
- alias for fB-march=r6000fR, fB-mips3fR is an alias for
- &fB-march=r4000fR and fB-mips4fR is an alias for fB-march=r8000fR.
- &fB-mips5fR, fB-mips32fR, fB-mips32r2fR, fB-mips64fR, and
- &fB-mips64r2fR
- correspond to generic
- &fBs-1MIPSs0 VfR, fBs-1MIPS32s0fR, fBs-1MIPS32s0 Release 2fR, fBs-1MIPS64s0fR,
- and fBs-1MIPS64s0 Release 2fR
- &s-1ISAs0 processors, respectively.
- .IP "fB-march=fRfIs-1CPUs0fR" 4
- .IX Item "-march=CPU"
- Generate code for a particular s-1MIPSs0 cpu.
- .IP "fB-mtune=fRfIcpufR" 4
- .IX Item "-mtune=cpu"
- Schedule and tune for a particular s-1MIPSs0 cpu.
- .IP "fB-mfix7000fR" 4
- .IX Item "-mfix7000"
- .PD 0
- .IP "fB-mno-fix7000fR" 4
- .IX Item "-mno-fix7000"
- .PD
- Cause nops to be inserted if the read of the destination register
- of an mfhi or mflo instruction occurs in the following two instructions.
- .IP "fB-mdebugfR" 4
- .IX Item "-mdebug"
- .PD 0
- .IP "fB-no-mdebugfR" 4
- .IX Item "-no-mdebug"
- .PD
- Cause stabs-style debugging output to go into an ECOFF-style .mdebug
- section instead of the standard s-1ELFs0 .stabs sections.
- .IP "fB-mpdrfR" 4
- .IX Item "-mpdr"
- .PD 0
- .IP "fB-mno-pdrfR" 4
- .IX Item "-mno-pdr"
- .PD
- Control generation of f(CW*(C`.pdr*(C'fR sections.
- .IP "fB-mgp32fR" 4
- .IX Item "-mgp32"
- .PD 0
- .IP "fB-mfp32fR" 4
- .IX Item "-mfp32"
- .PD
- The register sizes are normally inferred from the s-1ISAs0 and s-1ABIs0, but these
- flags force a certain group of registers to be treated as 32 bits wide at
- all times. fB-mgp32fR controls the size of general-purpose registers
- and fB-mfp32fR controls the size of floating-point registers.
- .IP "fB-mips16fR" 4
- .IX Item "-mips16"
- .PD 0
- .IP "fB-no-mips16fR" 4
- .IX Item "-no-mips16"
- .PD
- Generate code for the s-1MIPSs0 16 processor. This is equivalent to putting
- &f(CW*(C`.set mips16*(C'fR at the start of the assembly file. fB-no-mips16fR
- turns off this option.
- .IP "fB-mips3dfR" 4
- .IX Item "-mips3d"
- .PD 0
- .IP "fB-no-mips3dfR" 4
- .IX Item "-no-mips3d"
- .PD
- Generate code for the s-1MIPS-3Ds0 Application Specific Extension.
- This tells the assembler to accept s-1MIPS-3Ds0 instructions.
- &fB-no-mips3dfR turns off this option.
- .IP "fB-mdmxfR" 4
- .IX Item "-mdmx"
- .PD 0
- .IP "fB-no-mdmxfR" 4
- .IX Item "-no-mdmx"
- .PD
- Generate code for the s-1MDMXs0 Application Specific Extension.
- This tells the assembler to accept s-1MDMXs0 instructions.
- &fB-no-mdmxfR turns off this option.
- .IP "fB--construct-floatsfR" 4
- .IX Item "--construct-floats"
- .PD 0
- .IP "fB--no-construct-floatsfR" 4
- .IX Item "--no-construct-floats"
- .PD
- The fB--no-construct-floatsfR option disables the construction of
- double width floating point constants by loading the two halves of the
- value into the two single width floating point registers that make up
- the double width register. By default fB--construct-floatsfR is
- selected, allowing construction of these floating point constants.
- .IP "fB--emulation=fRfInamefR" 4
- .IX Item "--emulation=name"
- This option causes fBasfR to emulate fBasfR configured
- for some other target, in all respects, including output format (choosing
- between s-1ELFs0 and s-1ECOFFs0 only), handling of pseudo-opcodes which may generate
- debugging information or store symbol table information, and default
- endianness. The available configuration names are: fBmipsecofffR,
- &fBmipselffR, fBmipslecofffR, fBmipsbecofffR, fBmipslelffR,
- &fBmipsbelffR. 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 fBbfR or fBlfR
- in the name. Using fB-EBfR or fB-ELfR will override the endianness
- selection in any case.
- .Sp
- This option is currently supported only when the primary target
- &fBasfR is configured for is a s-1MIPSs0 s-1ELFs0 or s-1ECOFFs0 target.
- Furthermore, the primary target or others specified with
- &fB--enable-targets=...fR 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.
- .Sp
- Eventually, this option will support more configurations, with more
- fine-grained control over the assembler's behavior, and will be supported for
- more processors.
- .IP "fB-nocppfR" 4
- .IX Item "-nocpp"
- &fBasfR ignores this option. It is accepted for compatibility with
- the native tools.
- .IP "fB--trapfR" 4
- .IX Item "--trap"
- .PD 0
- .IP "fB--no-trapfR" 4
- .IX Item "--no-trap"
- .IP "fB--breakfR" 4
- .IX Item "--break"
- .IP "fB--no-breakfR" 4
- .IX Item "--no-break"
- .PD
- Control how to deal with multiplication overflow and division by zero.
- &fB--trapfR or fB--no-breakfR (which are synonyms) take a trap exception
- (and only work for Instruction Set Architecture level 2 and higher);
- &fB--breakfR or fB--no-trapfR (also synonyms, and the default) take a
- break exception.
- .IP "fB-nfR" 4
- .IX Item "-n"
- When this option is used, fBasfR will issue a warning every
- time it generates a nop instruction from a macro.
- .PP
- The following options are available when as is configured for
- an MCore processor.
- .IP "fB-jsri2bsrfR" 4
- .IX Item "-jsri2bsr"
- .PD 0
- .IP "fB-nojsri2bsrfR" 4
- .IX Item "-nojsri2bsr"
- .PD
- Enable or disable the s-1JSRIs0 to s-1BSRs0 transformation. By default this is enabled.
- The command line option fB-nojsri2bsrfR can be used to disable it.
- .IP "fB-sifilterfR" 4
- .IX Item "-sifilter"
- .PD 0
- .IP "fB-nosifilterfR" 4
- .IX Item "-nosifilter"
- .PD
- Enable or disable the silicon filter behaviour. By default this is disabled.
- The default can be overridden by the fB-sifilterfR command line option.
- .IP "fB-relaxfR" 4
- .IX Item "-relax"
- Alter jump instructions for long displacements.
- .IP "fB-mcpu=[210|340]fR" 4
- .IX Item "-mcpu=[210|340]"
- Select the cpu type on the target hardware. This controls which instructions
- can be assembled.
- .IP "fB-EBfR" 4
- .IX Item "-EB"
- Assemble for a big endian target.
- .IP "fB-ELfR" 4
- .IX Item "-EL"
- Assemble for a little endian target.
- .PP
- See the info pages for documentation of the MMIX-specific options.
- .PP
- The following options are available when as is configured for
- an Xtensa processor.
- .IP "fB--text-section-literals | --no-text-section-literalsfR" 4
- .IX Item "--text-section-literals | --no-text-section-literals"
- With fB--text-section-literalsfR, literal pools are interspersed
- in the text section. The default is
- &fB--no-text-section-literalsfR, which places literals in a
- separate section in the output file. These options only affect literals
- referenced via PC-relative f(CW*(C`L32R*(C'fR instructions; literals for
- absolute mode f(CW*(C`L32R*(C'fR instructions are handled separately.
- .IP "fB--absolute-literals | --no-absolute-literalsfR" 4
- .IX Item "--absolute-literals | --no-absolute-literals"
- Indicate to the assembler whether f(CW*(C`L32R*(C'fR instructions use absolute
- or PC-relative addressing. The default is to assume absolute addressing
- if the Xtensa processor includes the absolute f(CW*(C`L32R*(C'fR addressing
- option. Otherwise, only the PC-relative f(CW*(C`L32R*(C'fR mode can be used.
- .IP "fB--target-align | --no-target-alignfR" 4
- .IX Item "--target-align | --no-target-align"
- Enable or disable automatic alignment to reduce branch penalties at the
- expense of some code density. The default is fB--target-alignfR.
- .IP "fB--longcalls | --no-longcallsfR" 4
- .IX Item "--longcalls | --no-longcalls"
- Enable or disable transformation of call instructions to allow calls
- across a greater range of addresses. The default is
- &fB--no-longcallsfR.
- .IP "fB--transform | --no-transformfR" 4
- .IX Item "--transform | --no-transform"
- Enable or disable all assembler transformations of Xtensa instructions.
- The default is fB--transformfR;
- &fB--no-transformfR should be used only in the rare cases when the
- instructions must be exactly as specified in the assembly source.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
- &fIgccfR|(1), fIldfR|(1), and the Info entries for fIbinutilsfR and fIldfR.
- .SH "COPYRIGHT"
- .IX Header "COPYRIGHT"
- Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002 Free Software Foundation, Inc.
- .PP
- Permission is granted to copy, distribute and/or modify this document
- under the terms of the s-1GNUs0 Free Documentation License, Version 1.1
- or any later version published by the Free Software Foundation;
- with no Invariant Sections, with no Front-Cover Texts, and with no
- Back-Cover Texts. A copy of the license is included in the
- section entitled ``s-1GNUs0 Free Documentation License''.