mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
Don't check object claimed by plugin
When ELF linker backend searchs the symbol table of an archive element, it should skip the object which has been claimed by plugin. PR ld/18250 * elflink.c (elf_link_is_defined_archive_symbol): Return FALSE if the object has been claimed by plugin.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2015-04-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR ld/18250
|
||||||
|
* elflink.c (elf_link_is_defined_archive_symbol): Return FALSE
|
||||||
|
if the object has been claimed by plugin.
|
||||||
|
|
||||||
2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
|
2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* elf32-i386.c (elf_i386_relocate_section): Replace SYMBOLIC_BIND
|
* elf32-i386.c (elf_i386_relocate_section): Replace SYMBOLIC_BIND
|
||||||
|
@ -2936,6 +2936,10 @@ elf_link_is_defined_archive_symbol (bfd * abfd, carsym * symdef)
|
|||||||
if (abfd == NULL)
|
if (abfd == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
/* Return FALSE if the object has been claimed by plugin. */
|
||||||
|
if (abfd->plugin_format == bfd_plugin_yes)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (! bfd_check_format (abfd, bfd_object))
|
if (! bfd_check_format (abfd, bfd_object))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user