This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] x86: Check plt_got before using .plt.got
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 28 Apr 2017 10:49:52 -0400
- Subject: [binutils-gdb] x86: Check plt_got before using .plt.got
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 750eaa47f10f48d19aacbec74ab6867da0164677 ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 750eaa47f10f48d19aacbec74ab6867da0164677
x86: Check plt_got before using .plt.got
Since the GOT procedure linkage table is supported only if plt_got
isn't NULL, we need to check plt_got before using it.
* elf32-i386.c (elf_i386_allocate_dynrelocs): Check plt_got
before using .plt.got.
* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.