mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
2005-02-08 Paul Brook <paul@codesourcery.com>
* elflink.c (elf_link_input_bfd): Ignore symbols from null input sections.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2005-02-08 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* elflink.c (elf_link_input_bfd): Ignore symbols from null input
|
||||||
|
sections.
|
||||||
|
|
||||||
2005-02-08 Hans-Peter Nilsson <hp@axis.com>
|
2005-02-08 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* elflink.c (elf_link_add_object_symbols): Don't add "warning: "
|
* elflink.c (elf_link_add_object_symbols): Don't add "warning: "
|
||||||
|
@ -6782,8 +6782,8 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd)
|
|||||||
For the benefit of the MIPS ELF linker, we check SEC_EXCLUDE
|
For the benefit of the MIPS ELF linker, we check SEC_EXCLUDE
|
||||||
as well as linker_mark. */
|
as well as linker_mark. */
|
||||||
if ((isym->st_shndx < SHN_LORESERVE || isym->st_shndx > SHN_HIRESERVE)
|
if ((isym->st_shndx < SHN_LORESERVE || isym->st_shndx > SHN_HIRESERVE)
|
||||||
&& isec != NULL
|
&& (isec == NULL
|
||||||
&& ((! isec->linker_mark && (isec->flags & SEC_HAS_CONTENTS) != 0)
|
|| (! isec->linker_mark && (isec->flags & SEC_HAS_CONTENTS) != 0)
|
||||||
|| (! finfo->info->relocatable
|
|| (! finfo->info->relocatable
|
||||||
&& (isec->flags & SEC_EXCLUDE) != 0)))
|
&& (isec->flags & SEC_EXCLUDE) != 0)))
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user