diff options
author | Nick Clifton <nickc@redhat.com> | 2017-04-04 11:23:36 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-04-04 11:23:36 +0100 |
commit | ad32986fdf9da1c8748e47b8b45100398223dba8 (patch) | |
tree | 33e2a97f36b9686f76584570d8df47eefcdcd059 /bfd/ChangeLog | |
parent | db3a1dc7c9404e203c54576db3335e69d995e83e (diff) | |
download | gdb-ad32986fdf9da1c8748e47b8b45100398223dba8.zip gdb-ad32986fdf9da1c8748e47b8b45100398223dba8.tar.gz gdb-ad32986fdf9da1c8748e47b8b45100398223dba8.tar.bz2 |
Fix null pointer dereferences when using a link built with clang.
PR binutils/21342
* elflink.c (_bfd_elf_define_linkage_sym): Prevent null pointer
dereference.
(bfd_elf_final_link): Only initialize the extended symbol index
section if there are extended symbol tables to list.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c676e6d..accb6d4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2017-04-04 Nick Clifton <nickc@redhat.com> + + PR binutils/21342 + * elflink.c (_bfd_elf_define_linkage_sym): Prevent null pointer + dereference. + (bfd_elf_final_link): Only initialize the extended symbol index + section if there are extended symbol tables to list. + 2017-04-03 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (BFD32_BACKENDS): Add elf-properties.lo. |