mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
fix for arm-pe linker testsuite failures - only define an entry symbol if one has been specified.
This commit is contained in:
@ -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>
|
1998-11-23 DJ Delorie <dj@cygnus.com>
|
||||||
|
|
||||||
* emultempl/pe.em (gld_i386pe_after_open): call
|
* 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
|
opened, so registering the symbol as undefined will make a
|
||||||
difference. */
|
difference. */
|
||||||
|
|
||||||
ldlang_add_undef (entry_symbol);
|
if (entry_symbol)
|
||||||
|
ldlang_add_undef (entry_symbol);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct bfd_link_hash_entry *pe_undef_found_sym;
|
static struct bfd_link_hash_entry *pe_undef_found_sym;
|
||||||
|
Reference in New Issue
Block a user