| Red Hat Documentation |
|
Assembler options for SPARC and SPARClite The following documentation discusses the assembler options for SPARC and SPARClite configurations.
One common use of this option is to exploit the assembler’s listing features. Assembler arguments that
you specify with ‘gcc
-Wa’
must be separated by commas (the input, gcc,
and the input, -Wa).
For example, in the following
commandline declaration, the assembler option, -ahl,
requests a listing with interspersed high-level language and assembly language.
sparc-coff-gcc -g -O -Wa,-alh,-L file.c-L preserves local labels while the compiler debugging option, -g, gives the assembler the necessary debugging information. Assembler options for listing output for SPARC and SPARClite Use the following options to enable listing output from the assembler (the letters after -a may be combined into one option, such as -aln).
Assembler listing-control directives for SPARC and SPARClite Use the following listing-control
assembler directives to control the appearance of the listing output (if
you do not request listing output with one of the -a
options, the following listing-control directives have no effect).
When configured for SPARC, the assembler recognizes the additional Fujitsu SPARClite machine instructions that GCC generates: -Asparclite. A flag to the GNU assembler (configured for SPARC) explicitly selects this particular SPARC architecture. The SPARC assembler automatically selects the Fujitsu SPARClite architecture whenever it encounters one of the SPARClite-only instructions (divscc or scan). |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |