PR 27659
* elfcode.h (elf_swap_symbol_out): Revert accidental change that
removed an abort if the shndx pointer is NULL.
+2021-07-07 Nick Clifton <nickc@redhat.com>
+
+ * elfcode.h (elf_swap_symbol_out): Revert accidental change that
+ removed an abort if the shndx pointer is NULL.
+
2021-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* sysdep.h [!ENABLE_NLS]: Prevent inclusion of <libintl.h> on
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);