aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-11-22 08:58:07 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-11-22 08:58:07 -0800
commit35a14c6b54b63adc6b6ef28a4e4403bb271b9bdd (patch)
treebe0f5a56d4d72e205620f312fe0a4113754e1d08 /gdb/symtab.c
parent84429e27c826c74b99791b8f1efe8dce03cfa6ca (diff)
downloadgdb-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