Remove an accidental change to elfcode.h included as part of commit 6e0dfbf420
.
PR 27659 * elfcode.h (elf_swap_symbol_out): Revert accidental change that removed an abort if the shndx pointer is NULL.
This commit is contained in:
parent
7a30ac441a
commit
ca52626bab
2 changed files with 7 additions and 3 deletions
|
@ -221,9 +221,8 @@ elf_swap_symbol_out (bfd *abfd,
|
|||
if (tmp >= (SHN_LORESERVE & 0xffff) && tmp < SHN_LORESERVE)
|
||||
{
|
||||
if (shndx == NULL)
|
||||
H_PUT_32 (abfd, tmp, 0);
|
||||
else
|
||||
H_PUT_32 (abfd, tmp, shndx);
|
||||
abort ();
|
||||
H_PUT_32 (abfd, tmp, shndx);
|
||||
tmp = SHN_XINDEX & 0xffff;
|
||||
}
|
||||
H_PUT_16 (abfd, tmp, dst->st_shndx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue