* ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
authorDJ Delorie <dj@redhat.com>
Wed, 25 Nov 1998 23:03:47 +0000 (23:03 +0000)
committerDJ Delorie <dj@redhat.com>
Wed, 25 Nov 1998 23:03:47 +0000 (23:03 +0000)
commitf1b2a4d619ff7427f4d1b9674a98f8799c74d594
tree6dff962d6a1b89e362ef87e2095bcee9a7e21b6f
parent8cde3351e4f13f0b6437e37f458296cbfbaf088d
* ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
* ldemul.c (ldemul_recognized_file): new function, new hook
* ldint.texinfo: document new hook.
* ldlang.c (load_symbols): call recognized_hook for all objects we
do recognize, in case the emulation needs to handle them
specially.  PE DLLs use this.
* pe-dll.c (pe_dll_generate_def_file): take out hack and debug
printfs
* emultempl/pe.em (gld_i386_recognized_file): new function
(gld_i486_unrecognized_file): take out hack
ld/ChangeLog
ld/ldemul.h [new file with mode: 0644]
ld/ldlang.c