mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs against
local syms from discarded sections. Update comment.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-15 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
* elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs against
|
||||||
|
local syms from discarded sections. Update comment.
|
||||||
|
|
||||||
2001-11-15 Alan Modra <amodra@bigpond.net.au>
|
2001-11-15 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* po/SRC-POTFILES.in: Regenerate.
|
* po/SRC-POTFILES.in: Regenerate.
|
||||||
|
@ -7811,7 +7811,7 @@ elf_reloc_symbol_deleted_p (offset, cookie)
|
|||||||
else if (rcookie->locsyms)
|
else if (rcookie->locsyms)
|
||||||
{
|
{
|
||||||
/* It's not a relocation against a global symbol,
|
/* It's not a relocation against a global symbol,
|
||||||
but it could be a relocation against a section
|
but it could be a relocation against a local
|
||||||
symbol for a discarded section. */
|
symbol for a discarded section. */
|
||||||
asection *isec;
|
asection *isec;
|
||||||
|
|
||||||
@ -7820,7 +7820,6 @@ elf_reloc_symbol_deleted_p (offset, cookie)
|
|||||||
{
|
{
|
||||||
isec = section_from_elf_index (rcookie->abfd, isym.st_shndx);
|
isec = section_from_elf_index (rcookie->abfd, isym.st_shndx);
|
||||||
if (isec != NULL
|
if (isec != NULL
|
||||||
&& ELF_ST_TYPE (isym.st_info) == STT_SECTION
|
|
||||||
&& ! bfd_is_abs_section (isec)
|
&& ! bfd_is_abs_section (isec)
|
||||||
&& bfd_is_abs_section (isec->output_section))
|
&& bfd_is_abs_section (isec->output_section))
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user