diff options
author | Tom Tromey <tromey@redhat.com> | 1997-05-23 19:30:41 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-05-23 19:30:41 +0000 |
commit | 8a51eeafee7b2251ec6b070d1c995486b2c2fe54 (patch) | |
tree | 0036d5a6dc25c45dfad0c946610727e625ea9c7d /gas | |
parent | 546d7a90d096c1656d15756ab1e16ba56c24e766 (diff) | |
download | gdb-8a51eeafee7b2251ec6b070d1c995486b2c2fe54.zip gdb-8a51eeafee7b2251ec6b070d1c995486b2c2fe54.tar.gz gdb-8a51eeafee7b2251ec6b070d1c995486b2c2fe54.tar.bz2 |
* 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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 15 | ||||
-rw-r--r-- | gas/Makefile.in | 2 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 19 |
3 files changed, 35 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 30a9ad4..adad7c0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/Makefile.in b/gas/Makefile.in index 3f48a6b..729c2f0 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -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 \ diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 739ffc8..2866451 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -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. |