* ldemul.h (ldemul_unrecognized_file): Declare.
authorIan Lance Taylor <ian@airs.com>
Wed, 6 Mar 1996 23:12:41 +0000 (23:12 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 6 Mar 1996 23:12:41 +0000 (23:12 +0000)
commit6771b6e23c1cd6083ad8a8f2c8e900d660a1cf44
treeb209c37539b04a8da4f34a587e699186d9211e24
parent6b8ed20d4ae75100dbe4b7454ea9365eab28290f
* ldemul.h (ldemul_unrecognized_file): Declare.
(ldemulation_xfer_type): Add unrecognized_file field.
* ldemul.c (ldemul_unrecognized_file): New function.
* ldlang.c (load_symbols): If a file can not be recognized, call
ldemul_unrecognized_file before trying it as a linker script.
* aix.em (gld${EMULATION_NAME}_unrecognized_file): New static
function.
(gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r".
(ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file.
ld/ChangeLog