diff options
author | Alan Modra <amodra@gmail.com> | 2016-02-01 21:27:02 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-02-01 21:27:02 +1030 |
commit | ec1f73bb0be7482f2dffd9bbca2f93fc74eca172 (patch) | |
tree | 3511f9c6fa640f08cbae69b7b0b2ebc3319dc6f7 /bfd/ChangeLog | |
parent | d8c823c8b62b4f0fc4747eb9e4e29739add34c17 (diff) | |
download | gdb-ec1f73bb0be7482f2dffd9bbca2f93fc74eca172.zip gdb-ec1f73bb0be7482f2dffd9bbca2f93fc74eca172.tar.gz gdb-ec1f73bb0be7482f2dffd9bbca2f93fc74eca172.tar.bz2 |
x86 synthetic plt symbols
Changing "pushq $1" in the following to "pushq $too_big" results in an
abort. BFD shouldn't abort on (deliberately) bad user input.
400480: ff 25 9a 0b 20 00 jmpq *0x200b9a(%rip)
400486: 68 01 00 00 00 pushq $0x1
40048b: e9 d0 ff ff ff jmpq 400460 <_init+0x20>
* elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on
an out of range reloc_index.
* elf32-i386.c (elf_i386_get_plt_sym_val): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8648c50..f75631e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2016-02-01 Alan Modra <amodra@gmail.com> + + * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on + an out of range reloc_index. + * elf32-i386.c (elf_i386_get_plt_sym_val): Likewise. + 2016-02-01 Kamil Rytarowski <n54@gmx.com> * Makefile.am (OPTIONAL_BACKENDS): Add netbsd-core.lo. |