Chapter 3. Command Line Options
23
3.10. Dependency Tracking:
MD
as
can generate a dependency file for the file it creates. This file consists of a single rule suitable for
make
describing the dependencies of the main source file.
The rule is written to the file named in its argument.
This feature is used in the automatic updating of makefiles.
3.11. Name the Object File:
o
There is always one object file output when you run
as
. By default it has the name
a.out
(or
b.out
,
for Intel 960 targets only). You use this option (which takes exactly one filename) to give the object
file a different name.
Whatever the object file is called,
as
overwrites any existing file of the same name.
3.12. Join Data and Text Sections:
R
R
tells
as
to write the object file as if all data section data lives in the text section. This is only done
at the very last moment: your binary data are the same, but data section parts are relocated differently.
The data section part of your object file is zero bytes long because all its bytes are appended to the
text section. (Chapter 5 Sections and Relocation.)
When you specify
R
it would be possible to generate shorter address displacements (because we do
not have to cross between text and data section). We refrain from doing this simply for compatibility
with older versions of
as
. In future,
R
may work this way.
When
as
is configured for COFF or ELF output, this option is only useful if you use sections named
.text
and
.data
.
R
is not supported for any of the HPPA targets. Using
R
generates a warning from
as
.
3.13. Display Assembly Statistics:
statistics
Use
statistics
to display two statistics about the resources used by
as
: the maximum amount of
space allocated during the assembly (in bytes), and the total execution time taken for the assembly (in
cpu seconds).
3.14. Compatible Output:
traditional format
For some targets, the output of
as
is different in some ways from the output of some existing assem
bler. This switch requests
as
to use the traditional format instead.
For example, it disables the exception frame optimizations which
as
normally does by default on
gcc
output.
3.15. Announce Version:
v
You can find out what version of as is running by including the option
v
(which you can also spell
as
version
) on the command line.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved