diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-11-22 08:58:07 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-11-22 08:58:07 -0800 |
commit | 35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd (patch) | |
tree | be0f5a56d4d72e205620f312fe0a4113754e1d08 /gdb/symtab.c | |
parent | 84429e27c826c74b99791b8f1efe8dce03cfa6ca (diff) | |
download | gdb-35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd.zip gdb-35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd.tar.gz gdb-35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd.tar.bz2 |
Check branch displacement overflow in x86-64 PLT entry
Displacement of branch to PLT0 in x86-64 PLT entry is signed 32-bit.
This patch adds a sanity check. We will only see the failure when PLT
size is > 2GB.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Check
branch displacement overflow in PLT entry.
Diffstat (limited to 'gdb/symtab.c')
0 files changed, 0 insertions, 0 deletions