fix for arm-pe linker testsuite failures - only define an entry symbol if one has been specified.

This commit is contained in:
Nick Clifton 1998-11-23 22:38:48 +00:00
parent 3feaa5aff8
commit 715e7aadec
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Nov 23 14:36:18 1998 Nick Clifton <nickc@cygnus.com>
* emultempl/pe.em (after_parse): Only create an undefined entry
symbol if one has been specified.
1998-11-23 DJ Delorie <dj@cygnus.com>
* emultempl/pe.em (gld_i386pe_after_open): call

View File

@ -516,7 +516,8 @@ gld_${EMULATION_NAME}_after_parse ()
opened, so registering the symbol as undefined will make a
difference. */
ldlang_add_undef (entry_symbol);
if (entry_symbol)
ldlang_add_undef (entry_symbol);
}
static struct bfd_link_hash_entry *pe_undef_found_sym;