mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 22:03:57 +08:00
Tweak map file output for pei386_auto_import
* ldmain.c (add_archive_element): Handle auto-inport symbols when printing map.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2018-09-19 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* ldmain.c (add_archive_element): Handle auto-inport symbols
|
||||||
|
when printing map.
|
||||||
|
|
||||||
2018-09-17 Alan Modra <amodra@gmail.com>
|
2018-09-17 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* testsuite/ld-elf/comm-data5.d: Remove notarget for hppa.
|
* testsuite/ld-elf/comm-data5.d: Remove notarget for hppa.
|
||||||
|
@ -850,6 +850,10 @@ add_archive_element (struct bfd_link_info *info,
|
|||||||
int len;
|
int len;
|
||||||
|
|
||||||
h = bfd_link_hash_lookup (info->hash, name, FALSE, FALSE, TRUE);
|
h = bfd_link_hash_lookup (info->hash, name, FALSE, FALSE, TRUE);
|
||||||
|
if (h == NULL
|
||||||
|
&& info->pei386_auto_import
|
||||||
|
&& CONST_STRNEQ (name, "__imp_"))
|
||||||
|
h = bfd_link_hash_lookup (info->hash, name + 6, FALSE, FALSE, TRUE);
|
||||||
|
|
||||||
if (h == NULL)
|
if (h == NULL)
|
||||||
from = NULL;
|
from = NULL;
|
||||||
|
Reference in New Issue
Block a user