diff options
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r-- | bfd/elfcode.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 7eb27c2..0f5156f 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -221,8 +221,9 @@ elf_swap_symbol_out (bfd *abfd, if (tmp >= (SHN_LORESERVE & 0xffff) && tmp < SHN_LORESERVE) { if (shndx == NULL) - abort (); - H_PUT_32 (abfd, tmp, shndx); + H_PUT_32 (abfd, tmp, 0); + else + H_PUT_32 (abfd, tmp, shndx); tmp = SHN_XINDEX & 0xffff; } H_PUT_16 (abfd, tmp, dst->st_shndx); |