mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
fix for arm-pe linker testsuite failures - only define an entry symbol if one has been specified.
This commit is contained in:
parent
3feaa5aff8
commit
715e7aadec
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user