provide a hook to allow checking errors just before we output the file.
authorIain Sandoe <iain@codesourcery.com>
Tue, 21 Feb 2012 13:39:37 +0000 (13:39 +0000)
committerIain Sandoe <iain@codesourcery.com>
Tue, 21 Feb 2012 13:39:37 +0000 (13:39 +0000)
commit16a87420985f256b5cde070586ebcdfda2225b01
tree8d56cb791213e8329675be59b24b693bfbb4aea6
parent025682772a5d4ce0877e3bcbb63086c1883c7211
provide a hook to allow checking errors just before we output the file.

gas:

* write.c (write_object_file): Add md_pre_output_hook.
* config/obj-macho.c (obj_mach_o_check_before_writing): New.
(obj_mach_o_pre_output_hook): New.
* config/obj-macho.h (md_pre_output_hook): Define.
(obj_mach_o_pre_output_hook): Declare.
gas/ChangeLog
gas/config/obj-macho.c
gas/config/obj-macho.h
gas/write.c