aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-07-05 15:54:35 +0100
committerNick Clifton <nickc@redhat.com>2021-07-05 15:54:35 +0100
commit6e0dfbf420ae6ac321074c0051dcfd6a5a4d0f7c (patch)
tree8ffc5b1be56451c0d1ebe6da857390fdbb8820b5 /bfd/elfcode.h
parent2e333e797ed2663b58a44ada972d489564f8bfea (diff)
downloadfsf-binutils-gdb-6e0dfbf420ae6ac321074c0051dcfd6a5a4d0f7c.zip
fsf-binutils-gdb-6e0dfbf420ae6ac321074c0051dcfd6a5a4d0f7c.tar.gz
fsf-binutils-gdb-6e0dfbf420ae6ac321074c0051dcfd6a5a4d0f7c.tar.bz2
Updated translations (mainly Ukranian and French) triggered by creation of 2.37 branch.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h5
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);