diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-09-15 13:05:04 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-09-15 13:07:38 -0700 |
commit | 0403e9ccae403b8b7bf82eef0536c5295a45a415 (patch) | |
tree | 5ac05a1b6e73d0b041f7a42bd72f2afe1db54e99 /ld/ChangeLog | |
parent | 47f0e2ff7f0a4479c511f5d3ed4c8a962cb1f237 (diff) | |
download | gdb-0403e9ccae403b8b7bf82eef0536c5295a45a415.zip gdb-0403e9ccae403b8b7bf82eef0536c5295a45a415.tar.gz gdb-0403e9ccae403b8b7bf82eef0536c5295a45a415.tar.bz2 |
elf: Check bfd_target_elf_flavour on input first
Check bfd_target_elf_flavour on input first in ldelf_after_open before
checking elf_tdata.
* ldelf.c (ldelf_after_open): Check bfd_target_elf_flavour first.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index c65a188..01587d8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2020-09-15 H.J. Lu <hongjiu.lu@intel.com> + + * ldelf.c (ldelf_after_open): Check bfd_target_elf_flavour first. + 2020-09-15 Hans-Peter Nilsson <hp@axis.com> PR ld/26589 |