mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-03-06 00:18:01 +00:00
2010-09-24 Thomas Schwinge <thomas@codesourcery.com>
* elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index to STN_UNDEF, not SHN_UNDEF.
This commit is contained in:
parent
96a8853a47
commit
2c2fa401c5
@ -1,3 +1,8 @@
|
||||
2010-09-24 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index
|
||||
to STN_UNDEF, not SHN_UNDEF.
|
||||
|
||||
2010-09-23 Bernd Schmidt <bernds@codesourcery.com>
|
||||
|
||||
* elf32-tic6x.c (elf32_tic6x_fake_sections): New function.
|
||||
|
@ -12196,7 +12196,7 @@ bfd_elf_reloc_symbol_deleted_p (bfd_vma offset, void *cookie)
|
||||
continue;
|
||||
|
||||
r_symndx = rcookie->rel->r_info >> rcookie->r_sym_shift;
|
||||
if (r_symndx == SHN_UNDEF)
|
||||
if (r_symndx == STN_UNDEF)
|
||||
return TRUE;
|
||||
|
||||
if (r_symndx >= rcookie->locsymcount
|
||||
|
Loading…
x
Reference in New Issue
Block a user