* doc/as.texinfo: Updated for -MD option.

* Makefile.in (CFILES): Added depend.c.
        (OBJS): Added depend.o.
        * as.h (start_dependencies, register_dependency,
        print_dependencies): New declarations.
        * depend.c: New file.
        * as.c (parse_args): Added -MD option.
        (main): Call print_dependencies.
        (show_usage): Added help for -MD.
        * read.c (s_app_file): Call register_dependency.
        (s_include): Call register_dependency when file is found.
        (read_a_source_file): Call register_dependency.
This commit is contained in:
Tom Tromey 1997-05-23 19:30:41 +00:00
parent 546d7a90d0
commit 8a51eeafee
3 changed files with 35 additions and 1 deletions

View File

@ -1,3 +1,18 @@
Fri May 23 00:09:35 1997 Tom Tromey <tromey@cygnus.com>
* doc/as.texinfo: Updated for -MD option.
* Makefile.in (CFILES): Added depend.c.
(OBJS): Added depend.o.
* as.h (start_dependencies, register_dependency,
print_dependencies): New declarations.
* depend.c: New file.
* as.c (parse_args): Added -MD option.
(main): Call print_dependencies.
(show_usage): Added help for -MD.
* read.c (s_app_file): Call register_dependency.
(s_include): Call register_dependency when file is found.
(read_a_source_file): Call register_dependency.
Wed May 21 17:39:28 1997 Ian Lance Taylor <ian@cygnus.com>
* config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the

View File

@ -220,6 +220,7 @@ CFILES = \
atof-generic.c \
bignum-copy.c \
cond.c \
depend.c \
ecoff.c \
expr.c \
flonum-copy.c \
@ -400,6 +401,7 @@ OBJS = \
atof-generic.o \
bignum-copy.o \
cond.o \
depend.o \
expr.o \
flonum-konst.o \
flonum-copy.o \

View File

@ -875,6 +875,7 @@ assembler.)
* L:: -L to retain local labels
* M:: -M or --mri to assemble in MRI compatibility mode
* MD:: --MD for dependency tracking
* o:: -o to name the object file
* R:: -R to join data and text sections
* statistics:: --statistics to see statistics about assembly
@ -1146,6 +1147,21 @@ The i960 @code{.setreal} pseudo-op is not supported.
@end itemize
@node MD
@section Dependency tracking: @code{--MD}
@kindex --MD
@cindex dependency tracking
@cindex make rules
@code{@value{AS}} can generate a dependency file for the file it creates. This
file consists of a single rule suitable for @code{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.
@node o
@section Name the Object File: @code{-o}
@ -5052,7 +5068,8 @@ Jeff Law at the University of Utah (HPPA mainly), Michael Meissner of the Open
Software Foundation (i386 mainly), and Ken Raeburn of Cygnus Support (sparc,
and some initial 64-bit support).
Richard Henderson rewrote the Alpha assembler.
Richard Henderson rewrote the Alpha assembler. Klaus Kaempf wrote GAS and BFD
support for openVMS/Alpha.
Several engineers at Cygnus Support have also provided many small bug fixes and
configuration enhancements.