1 .\" Automatically generated by Pod::Man v1.3, Pod::Parser v1.13
4 .\" ========================================================================
5 .de Sh \" Subsection heading
13 .de Sp \" Vertical space (when we can't use .PP)
17 .de Vb \" Begin verbatim text
22 .de Ve \" End verbatim text
27 .\" Set up some character translations and predefined strings. \*(-- will
28 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
29 .\" double quote, and \*(R" will give a right double quote. | will give a
30 .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
31 .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
32 .\" expand to `' in nroff, nothing in troff, for use with C<>.
34 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
38 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
39 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
52 .\" If the F register is turned on, we'll generate index entries on stderr for
53 .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
54 .\" entries marked with X<> in POD. Of course, you'll have to process the
55 .\" output yourself in some meaningful fashion.
58 . tm Index:\\$1\t\\n%\t"\\$2"
64 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
65 .\" way too many mistakes in technical documents.
68 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
69 .\" Fear. Run. Save yourself. No user-serviceable parts.
70 . \" fudge factors for nroff and troff
79 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
85 . \" simple accents for nroff and troff
95 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
96 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
97 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
98 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
99 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
100 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
102 . \" troff and (daisy-wheel) nroff accents
103 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
104 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
105 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
106 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
107 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
108 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
109 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
110 .ds ae a\h'-(\w'a'u*4/10)'e
111 .ds Ae A\h'-(\w'A'u*4/10)'E
112 . \" corrections for vroff
113 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
114 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
115 . \" for low resolution devices (crt and lpr)
116 .if \n(.H>23 .if \n(.V>19 \
129 .\" ========================================================================
132 .TH AS 1 "2002-05-14" "binutils-2.12.1" "GNU Development Tools"
135 \&\s-1AS\s0 \- the portable \s-1GNU\s0 assembler.
137 .IX Header "SYNOPSIS"
138 as [\fB\-a\fR[\fBcdhlns\fR][=\fIfile\fR]] [\fB\-D\fR] [\fB\-\-defsym\fR \fIsym\fR=\fIval\fR]
139 [\fB\-f\fR] [\fB\-\-gstabs\fR] [\fB\-\-gdwarf2\fR] [\fB\-\-help\fR] [\fB\-I\fR \fIdir\fR]
140 [\fB\-J\fR] [\fB\-K\fR] [\fB\-L\fR]
141 [\fB\-\-listing\-lhs\-width\fR=\fI\s-1NUM\s0\fR] [\fB\-\-listing\-lhs\-width2\fR=\fI\s-1NUM\s0\fR]
142 [\fB\-\-listing\-rhs\-width\fR=\fI\s-1NUM\s0\fR] [\fB\-\-listing\-cont\-lines\fR=\fI\s-1NUM\s0\fR]
143 [\fB\-\-keep\-locals\fR] [\fB\-o\fR \fIobjfile\fR] [\fB\-R\fR] [\fB\-\-statistics\fR] [\fB\-v\fR]
144 [\fB\-version\fR] [\fB\-\-version\fR] [\fB\-W\fR] [\fB\-\-warn\fR] [\fB\-\-fatal\-warnings\fR]
145 [\fB\-w\fR] [\fB\-x\fR] [\fB\-Z\fR] [\fB\-\-target\-help\fR] [\fItarget-options\fR]
146 [\fB\-\-\fR|\fIfiles\fR ...]
148 \&\fITarget Alpha options:\fR
150 [\fB\-mdebug\fR | \fB\-no\-mdebug\fR]
151 [\fB\-relax\fR] [\fB\-g\fR] [\fB\-G\fR\fIsize\fR]
152 [\fB\-F\fR] [\fB\-32addr\fR]
154 \&\fITarget \s-1ARC\s0 options:\fR
155 [\fB\-marc[5|6|7|8]\fR]
156 [\fB\-EB\fR|\fB\-EL\fR]
158 \&\fITarget \s-1ARM\s0 options:\fR
159 [\fB\-mcpu\fR=\fIprocessor\fR[+\fIextension\fR...]]
160 [\fB\-march\fR=\fIarchitecture\fR[+\fIextension\fR...]]
161 [\fB\-mfpu\fR=\fIfloating-point-fromat\fR]
163 [\fB\-EB\fR|\fB\-EL\fR]
164 [\fB\-mapcs\-32\fR|\fB\-mapcs\-26\fR|\fB\-mapcs\-float\fR|
165 \fB\-mapcs\-reentrant\fR]
166 [\fB\-mthumb\-interwork\fR] [\fB\-moabi\fR] [\fB\-k\fR]
168 \&\fITarget \s-1CRIS\s0 options:\fR
169 [\fB\-\-underscore\fR | \fB\-\-no\-underscore\fR]
170 [\fB\-\-pic\fR] [\fB\-N\fR]
171 [\fB\-\-emulation=criself\fR | \fB\-\-emulation=crisaout\fR]
173 \&\fITarget D10V options:\fR
176 \&\fITarget D30V options:\fR
177 [\fB\-O\fR|\fB\-n\fR|\fB\-N\fR]
179 \&\fITarget i386 options:\fR
180 [\fB\-\-32\fR|\fB\-\-64\fR]
182 \&\fITarget i960 options:\fR
183 [\fB\-ACA\fR|\fB\-ACA_A\fR|\fB\-ACB\fR|\fB\-ACC\fR|\fB\-AKA\fR|\fB\-AKB\fR|
184 \fB\-AKC\fR|\fB\-AMC\fR]
185 [\fB\-b\fR] [\fB\-no\-relax\fR]
187 \&\fITarget M32R options:\fR
188 [\fB\-\-m32rx\fR|\fB\-\-[no\-]warn\-explicit\-parallel\-conflicts\fR|
191 \&\fITarget M680X0 options:\fR
192 [\fB\-l\fR] [\fB\-m68000\fR|\fB\-m68010\fR|\fB\-m68020\fR|...]
194 \&\fITarget M68HC11 options:\fR
195 [\fB\-m68hc11\fR|\fB\-m68hc12\fR]
196 [\fB\-\-force\-long\-branchs\fR] [\fB\-\-short\-branchs\fR]
197 [\fB\-\-strict\-direct\-mode\fR] [\fB\-\-print\-insn\-syntax\fR]
198 [\fB\-\-print\-opcodes\fR] [\fB\-\-generate\-example\fR]
200 \&\fITarget \s-1MCORE\s0 options:\fR
201 [\fB\-jsri2bsr\fR] [\fB\-sifilter\fR] [\fB\-relax\fR]
202 [\fB\-mcpu=[210|340]\fR]
204 \&\fITarget \s-1MIPS\s0 options:\fR
205 [\fB\-nocpp\fR] [\fB\-EL\fR] [\fB\-EB\fR] [\fB\-G\fR \fInum\fR] [\fB\-mcpu\fR=\fI\s-1CPU\s0\fR ]
206 [\fB\-mips1\fR] [\fB\-mips2\fR] [\fB\-mips3\fR] [\fB\-mips4\fR] [\fB\-mips5\fR]
207 [\fB\-mips32\fR] [\fB\-mips64\fR]
208 [\fB\-m4650\fR] [\fB\-no\-m4650\fR]
209 [\fB\-\-trap\fR] [\fB\-\-break\fR] [\fB\-n\fR]
210 [\fB\-\-emulation\fR=\fIname\fR ]
212 \&\fITarget \s-1MMIX\s0 options:\fR
213 [\fB\-\-fixed\-special\-register\-names\fR] [\fB\-\-globalize\-symbols\fR]
214 [\fB\-\-gnu\-syntax\fR] [\fB\-\-relax\fR] [\fB\-\-no\-predefined\-symbols\fR]
215 [\fB\-\-no\-expand\fR] [\fB\-\-no\-merge\-gregs\fR] [\fB\-x\fR]
216 [\fB\-\-linker\-allocated\-gregs\fR]
218 \&\fITarget \s-1PDP11\s0 options:\fR
219 [\fB\-mpic\fR|\fB\-mno\-pic\fR] [\fB\-mall\fR] [\fB\-mno\-extensions\fR]
220 [\fB\-m\fR\fIextension\fR|\fB\-mno\-\fR\fIextension\fR]
221 [\fB\-m\fR\fIcpu\fR] [\fB\-m\fR\fImachine\fR]
223 \&\fITarget picoJava options:\fR
224 [\fB\-mb\fR|\fB\-me\fR]
226 \&\fITarget PowerPC options:\fR
227 [\fB\-mpwrx\fR|\fB\-mpwr2\fR|\fB\-mpwr\fR|\fB\-m601\fR|\fB\-mppc\fR|\fB\-mppc32\fR|\fB\-m603\fR|\fB\-m604\fR|
228 \fB\-m403\fR|\fB\-m405\fR|\fB\-mppc64\fR|\fB\-m620\fR|\fB\-mppc64bridge\fR|\fB\-mbooke\fR|
229 \fB\-mbooke32\fR|\fB\-mbooke64\fR]
230 [\fB\-mcom\fR|\fB\-many\fR|\fB\-maltivec\fR] [\fB\-memb\fR]
231 [\fB\-mregnames\fR|\fB\-mno\-regnames\fR]
232 [\fB\-mrelocatable\fR|\fB\-mrelocatable\-lib\fR]
233 [\fB\-mlittle\fR|\fB\-mlittle\-endian\fR|\fB\-mbig\fR|\fB\-mbig\-endian\fR]
234 [\fB\-msolaris\fR|\fB\-mno\-solaris\fR]
236 \&\fITarget \s-1SPARC\s0 options:\fR
237 [\fB\-Av6\fR|\fB\-Av7\fR|\fB\-Av8\fR|\fB\-Asparclet\fR|\fB\-Asparclite\fR
238 \fB\-Av8plus\fR|\fB\-Av8plusa\fR|\fB\-Av9\fR|\fB\-Av9a\fR]
239 [\fB\-xarch=v8plus\fR|\fB\-xarch=v8plusa\fR] [\fB\-bump\fR]
240 [\fB\-32\fR|\fB\-64\fR]
242 .IX Header "DESCRIPTION"
243 \&\s-1GNU\s0 \fBas\fR is really a family of assemblers.
244 If you use (or have used) the \s-1GNU\s0 assembler on one architecture, you
245 should find a fairly similar environment when you use it on another
246 architecture. Each version has much in common with the others,
247 including object file formats, most assembler directives (often called
248 \&\fIpseudo-ops\fR) and assembler syntax.
250 \&\fBas\fR is primarily intended to assemble the output of the
251 \&\s-1GNU\s0 C compiler for use by the linker
252 \&. Nevertheless, we've tried to make \fBas\fR
253 assemble correctly everything that other assemblers for the same
254 machine would assemble.
255 Any exceptions are documented explicitly.
256 This doesn't mean \fBas\fR always uses the same syntax as another
257 assembler for the same architecture; for example, we know of several
258 incompatible versions of 680x0 assembly language syntax.
260 Each time you run \fBas\fR it assembles exactly one source
261 program. The source program is made up of one or more files.
262 (The standard input is also a file.)
264 You give \fBas\fR a command line that has zero or more input file
265 names. The input files are read (from left file name to right). A
266 command line argument (in any position) that has no special meaning
267 is taken to be an input file name.
269 If you give \fBas\fR no file names it attempts to read one input file
270 from the \fBas\fR standard input, which is normally your terminal. You
271 may have to type \fBctl-D\fR to tell \fBas\fR there is no more program
274 Use \fB\-\-\fR if you need to explicitly name the standard input file
275 in your command line.
277 If the source is empty, \fBas\fR produces a small, empty object
280 \&\fBas\fR may write warnings and error messages to the standard error
281 file (usually your terminal). This should not happen when a compiler
282 runs \fBas\fR automatically. Warnings report an assumption made so
283 that \fBas\fR could keep assembling a flawed program; errors report a
284 grave problem that stops the assembly.
286 If you are invoking \fBas\fR via the \s-1GNU\s0 C compiler (version 2),
287 you can use the \fB\-Wa\fR option to pass arguments through to the assembler.
288 The assembler arguments must be separated from each other (and the \fB\-Wa\fR)
289 by commas. For example:
292 \& gcc -c -g -O -Wa,-alh,-L file.c
294 This passes two options to the assembler: \fB\-alh\fR (emit a listing to
295 standard output with with high-level and assembly source) and \fB\-L\fR (retain
296 local symbols in the symbol table).
298 Usually you do not need to use this \fB\-Wa\fR mechanism, since many compiler
299 command-line options are automatically passed to the assembler by the compiler.
300 (You can call the \s-1GNU\s0 compiler driver with the \fB\-v\fR option to see
301 precisely what options it passes to each compilation pass, including the
305 .IP "\fB\-a[cdhlmns]\fR" 4
306 .IX Item "-a[cdhlmns]"
307 Turn on listings, in any of a variety of ways:
311 omit false conditionals
314 omit debugging directives
317 include high-level source
323 include macro expansions
326 omit forms processing
332 set the name of the listing file
336 You may combine these options; for example, use \fB\-aln\fR for assembly
337 listing without forms processing. The \fB=file\fR option, if used, must be
338 the last one. By itself, \fB\-a\fR defaults to \fB\-ahls\fR.
342 Ignored. This option is accepted for script compatibility with calls to
344 .IP "\fB\-\-defsym\fR \fIsym\fR\fB=\fR\fIvalue\fR" 4
345 .IX Item "--defsym sym=value"
346 Define the symbol \fIsym\fR to be \fIvalue\fR before assembling the input file.
347 \&\fIvalue\fR must be an integer constant. As in C, a leading \fB0x\fR
348 indicates a hexadecimal value, and a leading \fB0\fR indicates an octal value.
351 ``fast''\-\-\-skip whitespace and comment preprocessing (assume source is
353 .IP "\fB\-\-gstabs\fR" 4
355 Generate stabs debugging information for each assembler line. This
356 may help debugging assembler code, if the debugger can handle it.
357 .IP "\fB\-\-gdwarf2\fR" 4
359 Generate \s-1DWARF2\s0 debugging information for each assembler line. This
360 may help debugging assembler code, if the debugger can handle it. Note \- this
361 option is only supported by some targets, not all of them.
362 .IP "\fB\-\-help\fR" 4
364 Print a summary of the command line options and exit.
365 .IP "\fB\-\-target\-help\fR" 4
366 .IX Item "--target-help"
367 Print a summary of all target specific options and exit.
368 .IP "\fB\-I\fR \fIdir\fR" 4
370 Add directory \fIdir\fR to the search list for \f(CW\*(C`.include\*(C'\fR directives.
373 Don't warn about signed overflow.
376 This option is accepted but has no effect on the \s-1TARGET\s0 family.
380 .IP "\fB\-\-keep\-locals\fR" 4
381 .IX Item "--keep-locals"
383 Keep (in the symbol table) local symbols. On traditional a.out systems
384 these start with \fBL\fR, but different systems have different local
386 .IP "\fB\-\-listing\-lhs\-width=\fR\fInumber\fR" 4
387 .IX Item "--listing-lhs-width=number"
388 Set the maximum width, in words, of the output data column for an assembler
389 listing to \fInumber\fR.
390 .IP "\fB\-\-listing\-lhs\-width2=\fR\fInumber\fR" 4
391 .IX Item "--listing-lhs-width2=number"
392 Set the maximum width, in words, of the output data column for continuation
393 lines in an assembler listing to \fInumber\fR.
394 .IP "\fB\-\-listing\-rhs\-width=\fR\fInumber\fR" 4
395 .IX Item "--listing-rhs-width=number"
396 Set the maximum width of an input source line, as displayed in a listing, to
397 \&\fInumber\fR bytes.
398 .IP "\fB\-\-listing\-cont\-lines=\fR\fInumber\fR" 4
399 .IX Item "--listing-cont-lines=number"
400 Set the maximum number of lines printed in a listing for a single line of input
402 .IP "\fB\-o\fR \fIobjfile\fR" 4
403 .IX Item "-o objfile"
404 Name the object-file output from \fBas\fR \fIobjfile\fR.
407 Fold the data section into the text section.
408 .IP "\fB\-\-statistics\fR" 4
409 .IX Item "--statistics"
410 Print the maximum space (in bytes) and total time (in seconds) used by
412 .IP "\fB\-\-strip\-local\-absolute\fR" 4
413 .IX Item "--strip-local-absolute"
414 Remove local absolute symbols from the outgoing symbol table.
418 .IP "\fB\-version\fR" 4
421 Print the \fBas\fR version.
422 .IP "\fB\-\-version\fR" 4
424 Print the \fBas\fR version and exit.
428 .IP "\fB\-\-no\-warn\fR" 4
431 Suppress warning messages.
432 .IP "\fB\-\-fatal\-warnings\fR" 4
433 .IX Item "--fatal-warnings"
434 Treat warnings as errors.
435 .IP "\fB\-\-warn\fR" 4
437 Don't suppress warning messages or treat them as errors.
446 Generate an object file even after errors.
447 .IP "\fB\-\- |\fR \fIfiles\fR \fB...\fR" 4
448 .IX Item "-- | files ..."
449 Standard input, or source files to assemble.
451 The following options are available when as is configured for
452 an \s-1ARC\s0 processor.
453 .IP "\fB\-marc[5|6|7|8]\fR" 4
454 .IX Item "-marc[5|6|7|8]"
455 This option selects the core processor variant.
456 .IP "\fB\-EB | \-EL\fR" 4
458 Select either big-endian (\-EB) or little-endian (\-EL) output.
460 The following options are available when as is configured for the \s-1ARM\s0
462 .IP "\fB\-mcpu=\fR\fIprocessor\fR\fB[+\fR\fIextension\fR\fB...]\fR" 4
463 .IX Item "-mcpu=processor[+extension...]"
464 Specify which \s-1ARM\s0 processor variant is the target.
465 .IP "\fB\-march=\fR\fIarchitecture\fR\fB[+\fR\fIextension\fR\fB...]\fR" 4
466 .IX Item "-march=architecture[+extension...]"
467 Specify which \s-1ARM\s0 architecture variant is used by the target.
468 .IP "\fB\-mfpu=\fR\fIfloating-point-format\fR" 4
469 .IX Item "-mfpu=floating-point-format"
470 Select which Floating Point architecture is the target.
471 .IP "\fB\-mthumb\fR" 4
473 Enable Thumb only instruction decoding.
474 .IP "\fB\-mapcs\-32 | \-mapcs\-26 | \-mapcs\-float | \-mapcs\-reentrant | \-moabi\fR" 4
475 .IX Item "-mapcs-32 | -mapcs-26 | -mapcs-float | -mapcs-reentrant | -moabi"
476 Select which procedure calling convention is in use.
477 .IP "\fB\-EB | \-EL\fR" 4
479 Select either big-endian (\-EB) or little-endian (\-EL) output.
480 .IP "\fB\-mthumb\-interwork\fR" 4
481 .IX Item "-mthumb-interwork"
482 Specify that the code has been generated with interworking between Thumb and
483 \&\s-1ARM\s0 code in mind.
486 Specify that \s-1PIC\s0 code has been generated.
488 See the info pages for documentation of the CRIS-specific options.
490 The following options are available when as is configured for
494 Optimize output by parallelizing instructions.
496 The following options are available when as is configured for a D30V
500 Optimize output by parallelizing instructions.
503 Warn when nops are generated.
506 Warn when a nop after a 32\-bit multiply instruction is generated.
508 The following options are available when as is configured for the
509 Intel 80960 processor.
510 .IP "\fB\-ACA | \-ACA_A | \-ACB | \-ACC | \-AKA | \-AKB | \-AKC | \-AMC\fR" 4
511 .IX Item "-ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC"
512 Specify which variant of the 960 architecture is the target.
515 Add code to collect statistics about branches taken.
516 .IP "\fB\-no\-relax\fR" 4
518 Do not alter compare-and-branch instructions for long displacements;
521 The following options are available when as is configured for the
522 Mitsubishi M32R series.
523 .IP "\fB\-\-m32rx\fR" 4
525 Specify which processor in the M32R family is the target. The default
526 is normally the M32R, but this option changes it to the M32RX.
527 .IP "\fB\-\-warn\-explicit\-parallel\-conflicts or \-\-Wp\fR" 4
528 .IX Item "--warn-explicit-parallel-conflicts or --Wp"
529 Produce warning messages when questionable parallel constructs are
531 .IP "\fB\-\-no\-warn\-explicit\-parallel\-conflicts or \-\-Wnp\fR" 4
532 .IX Item "--no-warn-explicit-parallel-conflicts or --Wnp"
533 Do not produce warning messages when questionable parallel constructs are
536 The following options are available when as is configured for the
537 Motorola 68000 series.
540 Shorten references to undefined symbols, to one word instead of two.
541 .IP "\fB\-m68000 | \-m68008 | \-m68010 | \-m68020 | \-m68030\fR" 4
542 .IX Item "-m68000 | -m68008 | -m68010 | -m68020 | -m68030"
544 .IP "\fB| \-m68040 | \-m68060 | \-m68302 | \-m68331 | \-m68332\fR" 4
545 .IX Item "| -m68040 | -m68060 | -m68302 | -m68331 | -m68332"
546 .IP "\fB| \-m68333 | \-m68340 | \-mcpu32 | \-m5200\fR" 4
547 .IX Item "| -m68333 | -m68340 | -mcpu32 | -m5200"
549 Specify what processor in the 68000 family is the target. The default
550 is normally the 68020, but this can be changed at configuration time.
551 .IP "\fB\-m68881 | \-m68882 | \-mno\-68881 | \-mno\-68882\fR" 4
552 .IX Item "-m68881 | -m68882 | -mno-68881 | -mno-68882"
553 The target machine does (or does not) have a floating-point coprocessor.
554 The default is to assume a coprocessor for 68020, 68030, and cpu32. Although
555 the basic 68000 is not compatible with the 68881, a combination of the
556 two can be specified, since it's possible to do emulation of the
557 coprocessor instructions with the main processor.
558 .IP "\fB\-m68851 | \-mno\-68851\fR" 4
559 .IX Item "-m68851 | -mno-68851"
560 The target machine does (or does not) have a memory-management
561 unit coprocessor. The default is to assume an \s-1MMU\s0 for 68020 and up.
563 For details about the \s-1PDP\-11\s0 machine dependent features options,
564 see \f(CW@ref\fR{PDP\-11\-Options}.
565 .IP "\fB\-mpic | \-mno\-pic\fR" 4
566 .IX Item "-mpic | -mno-pic"
567 Generate position-independent (or position\-dependent) code. The
568 default is \fB\-mpic\fR.
572 .IP "\fB\-mall\-extensions\fR" 4
573 .IX Item "-mall-extensions"
575 Enable all instruction set extensions. This is the default.
576 .IP "\fB\-mno\-extensions\fR" 4
577 .IX Item "-mno-extensions"
578 Disable all instruction set extensions.
579 .IP "\fB\-m\fR\fIextension\fR \fB| \-mno\-\fR\fIextension\fR" 4
580 .IX Item "-mextension | -mno-extension"
581 Enable (or disable) a particular instruction set extension.
582 .IP "\fB\-m\fR\fIcpu\fR" 4
584 Enable the instruction set extensions supported by a particular \s-1CPU\s0, and
585 disable all other extensions.
586 .IP "\fB\-m\fR\fImachine\fR" 4
588 Enable the instruction set extensions supported by a particular machine
589 model, and disable all other extensions.
591 The following options are available when as is configured for
592 a picoJava processor.
595 Generate ``big endian'' format output.
598 Generate ``little endian'' format output.
600 The following options are available when as is configured for the
601 Motorola 68HC11 or 68HC12 series.
602 .IP "\fB\-m68hc11 | \-m68hc12\fR" 4
603 .IX Item "-m68hc11 | -m68hc12"
604 Specify what processor is the target. The default is
605 defined by the configuration option when building the assembler.
606 .IP "\fB\-\-force\-long\-branchs\fR" 4
607 .IX Item "--force-long-branchs"
608 Relative branches are turned into absolute ones. This concerns
609 conditional branches, unconditional branches and branches to a
611 .IP "\fB\-S | \-\-short\-branchs\fR" 4
612 .IX Item "-S | --short-branchs"
613 Do not turn relative branchs into absolute ones
614 when the offset is out of range.
615 .IP "\fB\-\-strict\-direct\-mode\fR" 4
616 .IX Item "--strict-direct-mode"
617 Do not turn the direct addressing mode into extended addressing mode
618 when the instruction does not support direct addressing mode.
619 .IP "\fB\-\-print\-insn\-syntax\fR" 4
620 .IX Item "--print-insn-syntax"
621 Print the syntax of instruction in case of error.
622 .IP "\fB\-\-print\-opcodes\fR" 4
623 .IX Item "--print-opcodes"
624 print the list of instructions with syntax and then exit.
625 .IP "\fB\-\-generate\-example\fR" 4
626 .IX Item "--generate-example"
627 print an example of instruction for each possible instruction and then exit.
628 This option is only useful for testing \fBas\fR.
630 The following options are available when \fBas\fR is configured
631 for the \s-1SPARC\s0 architecture:
632 .IP "\fB\-Av6 | \-Av7 | \-Av8 | \-Asparclet | \-Asparclite\fR" 4
633 .IX Item "-Av6 | -Av7 | -Av8 | -Asparclet | -Asparclite"
635 .IP "\fB\-Av8plus | \-Av8plusa | \-Av9 | \-Av9a\fR" 4
636 .IX Item "-Av8plus | -Av8plusa | -Av9 | -Av9a"
638 Explicitly select a variant of the \s-1SPARC\s0 architecture.
640 \&\fB\-Av8plus\fR and \fB\-Av8plusa\fR select a 32 bit environment.
641 \&\fB\-Av9\fR and \fB\-Av9a\fR select a 64 bit environment.
643 \&\fB\-Av8plusa\fR and \fB\-Av9a\fR enable the \s-1SPARC\s0 V9 instruction set with
644 UltraSPARC extensions.
645 .IP "\fB\-xarch=v8plus | \-xarch=v8plusa\fR" 4
646 .IX Item "-xarch=v8plus | -xarch=v8plusa"
647 For compatibility with the Solaris v9 assembler. These options are
648 equivalent to \-Av8plus and \-Av8plusa, respectively.
651 Warn when the assembler switches to another architecture.
653 The following options are available when as is configured for
654 a \s-1MIPS\s0 processor.
655 .IP "\fB\-G\fR \fInum\fR" 4
657 This option sets the largest size of an object that can be referenced
658 implicitly with the \f(CW\*(C`gp\*(C'\fR register. It is only accepted for targets that
659 use \s-1ECOFF\s0 format, such as a DECstation running Ultrix. The default value is 8.
662 Generate ``big endian'' format output.
665 Generate ``little endian'' format output.
666 .IP "\fB\-mips1\fR" 4
669 .IP "\fB\-mips2\fR" 4
671 .IP "\fB\-mips3\fR" 4
673 .IP "\fB\-mips4\fR" 4
675 .IP "\fB\-mips32\fR" 4
677 .IP "\fB\-mips64\fR" 4
680 Generate code for a particular \s-1MIPS\s0 Instruction Set Architecture level.
681 \&\fB\-mips1\fR corresponds to the R2000 and R3000 processors,
682 \&\fB\-mips2\fR to the R6000 processor, and \fB\-mips3\fR to the R4000
684 \&\fB\-mips5\fR, \fB\-mips32\fR, and \fB\-mips64\fR correspond
685 to generic \s-1MIPS\s0 V, \s-1MIPS32\s0, and \s-1MIPS64\s0 \s-1ISA\s0
686 processors, respectively.
687 .IP "\fB\-m4650\fR" 4
690 .IP "\fB\-no\-m4650\fR" 4
693 Generate code for the \s-1MIPS\s0 R4650 chip. This tells the assembler to accept
694 the \fBmad\fR and \fBmadu\fR instruction, and to not schedule \fBnop\fR
695 instructions around accesses to the \fB\s-1HI\s0\fR and \fB\s-1LO\s0\fR registers.
696 \&\fB\-no\-m4650\fR turns off this option.
697 .IP "\fB\-mcpu=\fR\fI\s-1CPU\s0\fR" 4
699 Generate code for a particular \s-1MIPS\s0 cpu. It is exactly equivalent to
700 \&\fB\-m\fR\fIcpu\fR, except that there are more value of \fIcpu\fR
702 .IP "\fB\-\-emulation=\fR\fIname\fR" 4
703 .IX Item "--emulation=name"
704 This option causes \fBas\fR to emulate \fBas\fR configured
705 for some other target, in all respects, including output format (choosing
706 between \s-1ELF\s0 and \s-1ECOFF\s0 only), handling of pseudo-opcodes which may generate
707 debugging information or store symbol table information, and default
708 endianness. The available configuration names are: \fBmipsecoff\fR,
709 \&\fBmipself\fR, \fBmipslecoff\fR, \fBmipsbecoff\fR, \fBmipslelf\fR,
710 \&\fBmipsbelf\fR. The first two do not alter the default endianness from that
711 of the primary target for which the assembler was configured; the others change
712 the default to little\- or big-endian as indicated by the \fBb\fR or \fBl\fR
713 in the name. Using \fB\-EB\fR or \fB\-EL\fR will override the endianness
714 selection in any case.
716 This option is currently supported only when the primary target
717 \&\fBas\fR is configured for is a \s-1MIPS\s0 \s-1ELF\s0 or \s-1ECOFF\s0 target.
718 Furthermore, the primary target or others specified with
719 \&\fB\-\-enable\-targets=...\fR at configuration time must include support for
720 the other format, if both are to be available. For example, the Irix 5
721 configuration includes support for both.
723 Eventually, this option will support more configurations, with more
724 fine-grained control over the assembler's behavior, and will be supported for
726 .IP "\fB\-nocpp\fR" 4
728 \&\fBas\fR ignores this option. It is accepted for compatibility with
730 .IP "\fB\-\-trap\fR" 4
733 .IP "\fB\-\-no\-trap\fR" 4
735 .IP "\fB\-\-break\fR" 4
737 .IP "\fB\-\-no\-break\fR" 4
738 .IX Item "--no-break"
740 Control how to deal with multiplication overflow and division by zero.
741 \&\fB\-\-trap\fR or \fB\-\-no\-break\fR (which are synonyms) take a trap exception
742 (and only work for Instruction Set Architecture level 2 and higher);
743 \&\fB\-\-break\fR or \fB\-\-no\-trap\fR (also synonyms, and the default) take a
747 When this option is used, \fBas\fR will issue a warning every
748 time it generates a nop instruction from a macro.
750 The following options are available when as is configured for
752 .IP "\fB\-jsri2bsr\fR" 4
755 .IP "\fB\-nojsri2bsr\fR" 4
756 .IX Item "-nojsri2bsr"
758 Enable or disable the \s-1JSRI\s0 to \s-1BSR\s0 transformation. By default this is enabled.
759 The command line option \fB\-nojsri2bsr\fR can be used to disable it.
760 .IP "\fB\-sifilter\fR" 4
763 .IP "\fB\-nosifilter\fR" 4
764 .IX Item "-nosifilter"
766 Enable or disable the silicon filter behaviour. By default this is disabled.
767 The default can be overridden by the \fB\-sifilter\fR command line option.
768 .IP "\fB\-relax\fR" 4
770 Alter jump instructions for long displacements.
771 .IP "\fB\-mcpu=[210|340]\fR" 4
772 .IX Item "-mcpu=[210|340]"
773 Select the cpu type on the target hardware. This controls which instructions
777 Assemble for a big endian target.
780 Assemble for a little endian target.
782 See the info pages for documentation of the MMIX-specific options.
784 .IX Header "SEE ALSO"
785 \&\fIgcc\fR\|(1), \fIld\fR\|(1), and the Info entries for \fIbinutils\fR and \fIld\fR.
787 .IX Header "COPYRIGHT"
788 Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002 Free Software Foundation, Inc.
790 Permission is granted to copy, distribute and/or modify this document
791 under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1
792 or any later version published by the Free Software Foundation;
793 with no Invariant Sections, with no Front-Cover Texts, and with no
794 Back-Cover Texts. A copy of the license is included in the
795 section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".