Summary: | incremental link doesn't support binary without PLT | ||
---|---|---|---|
Product: | binutils | Reporter: | H.J. Lu <hjl.tools> |
Component: | gold | Assignee: | Cary Coutant <ccoutant> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ian |
Priority: | P2 | ||
Version: | 2.27 | ||
Target Milestone: | 2.27 | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
H.J. Lu
2016-06-12 16:01:41 UTC
A patch is posted at https://sourceware.org/ml/binutils/2016-06/msg00291.html Fixed for 2.27. The master branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8474a88fd23a3c9c33dfc8ded31a9a15e31e7765 commit 8474a88fd23a3c9c33dfc8ded31a9a15e31e7765 Author: H.J. Lu <hjl.tools@gmail.com> Date: Mon Jun 20 12:28:20 2016 -0700 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. |