provide a hook to allow checking errors just before we output the file.
commit048e0eff9bc931862bce03b20c4ae4d952aededf
authoriains <iains>
Tue, 21 Feb 2012 13:39:35 +0000 (21 13:39 +0000)
committeriains <iains>
Tue, 21 Feb 2012 13:39:35 +0000 (21 13:39 +0000)
tree4b2a6fd2a067a54f576b0152a37e04a529cf5ea9
parent831b5c60d116cf38ff03a1494ce98256b53dd17d
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