* libaout.h (struct aoutdata): Add q_magic_format to subformat
authorIan Lance Taylor <ian@airs.com>
Tue, 14 Jun 1994 22:04:54 +0000 (22:04 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 14 Jun 1994 22:04:54 +0000 (22:04 +0000)
commitf5419a59085477c1839bb5c0f74de178070d536e
tree3c063a1a6e606e9ccb939e9d02a14ea8cc5304e8
parentac9ed09667f63fe7bad504e039e50a84cc860d9c
* libaout.h (struct aoutdata): Add q_magic_format to subformat
enum.
* aout-target.h (MY_bfd_copy_private_bfd_data): Define as function
if not already defined.  Copy subformat information.
(MY_text_includes_header): Define as 0 if not already defined.
(MY(backend_data)): Use MY_text_includes_header rather than 0.
(MY_final_link_callback): Rename from final_link_callback, and
define only if MY_final_link_callback is not already defined.
(MY_bfd_final_link): Rename use of final_link_callback to
MY_final_link_callback.
* aoutx.h (NAME(aout,some_aout_object_p)): Handle QMAGIC like
ZMAGIC, but set the subformat to q_magic_format.  Abort if the
magic number if not recognized.
(adjust_z_magic): Use QMAGIC if q_magic_format.
* i386linux.c (MY_text_includes_header): Define as 1.
(i386linux_bfd_final_link): New static function.
(MY_bfd_final_link): Define as i386linux_bfd_final_link.

* aoutx.h (translate_to_native_sym_flags): Check both section and
output_section against sections of abfd.
bfd/ChangeLog
bfd/aout-target.h
bfd/aoutx.h
bfd/i386linux.c [new file with mode: 0644]
bfd/libaout.h