* as.c (main): Only invoke md_end if it's defined as a macro.
authorKen Raeburn <raeburn@cygnus>
Mon, 20 Dec 1993 16:48:00 +0000 (16:48 +0000)
committerKen Raeburn <raeburn@cygnus>
Mon, 20 Dec 1993 16:48:00 +0000 (16:48 +0000)
commit6868afe647e1646d2bef0d3155989c9f9c2006a1
treed586c4a815984124eb3aeff2dfb775b19b09e8f8
parent7e1766ba877327fb2b3da5252c5364e81ad8956f
* as.c (main): Only invoke md_end if it's defined as a macro.
* tc.h (md_end): Don't declare it.
* config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do anything.
* config/tc-vax.c (vip_end): Deleted null function.
* config/tc-mips.c (md_mips_end): Renamed from md_end.
* config/tc-mips.h (md_mips_end): Declare.
(md_end): New macro, calls md_mips_end.

* write.c (write_object_file): Don't close output file.
* as.c (main): Close output file (if needed) after calling listing_print, which
should be after calling write_object_file, which sets the frag addresses.
gas/config/tc-a29k.c
gas/config/tc-h8500.c
gas/config/tc-hppa.c
gas/config/tc-m88k.c
gas/config/tc-sparc.h
gas/config/tc-tahoe.c
gas/write.c