diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-06-20 12:28:20 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-06-20 12:28:32 -0700 |
commit | 8474a88fd23a3c9c33dfc8ded31a9a15e31e7765 (patch) | |
tree | 5c315d56351d5fd8f310aee641a0cba4966419ba /gas/config | |
parent | a8ecc9fe61d0fdb1f694c5f3fac910802468d43f (diff) | |
download | gdb-8474a88fd23a3c9c33dfc8ded31a9a15e31e7765.zip gdb-8474a88fd23a3c9c33dfc8ded31a9a15e31e7765.tar.gz gdb-8474a88fd23a3c9c33dfc8ded31a9a15e31e7765.tar.bz2 |
gold/x86: Handle output without PLT
If there is no PLT in output, return 0 for first_plt_entry_offset and
plt_entry_size.
PR gold/20245
* i386.cc (Target_i386::first_plt_entry_offset): Return 0 if
plt_ is NULL.
(Target_i386::plt_entry_size): Likewise.
(Target_x86_64<size>::first_plt_entry_offset): Likewise.
(Target_x86_64<size>::plt_entry_size): Likewise.
Diffstat (limited to 'gas/config')
0 files changed, 0 insertions, 0 deletions