diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2019-01-22 14:53:41 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2019-01-22 06:53:41 -0800 |
commit | 12f154688d9e942614d49178dee92b766afb64bb (patch) | |
tree | edc5ed79863d994cd35b293ee30303d2db1928e4 /libgo | |
parent | 44a7251e1e97caf3b2315f20d48519ff8fced152 (diff) | |
download | gcc-12f154688d9e942614d49178dee92b766afb64bb.zip gcc-12f154688d9e942614d49178dee92b766afb64bb.tar.gz gcc-12f154688d9e942614d49178dee92b766afb64bb.tar.bz2 |
i386: Load external function address via GOT slot
With noplt attribute, we load the external function address via the GOT
slot so that linker won't create an PLT entry for extern function address.
gcc/
PR target/88954
* config/i386/i386.c (ix86_force_load_from_GOT_p): Also check
noplt attribute.
gcc/testsuite/
PR target/88954
* gcc.target/i386/pr88954-1.c: New test.
* gcc.target/i386/pr88954-2.c: Likewise.
From-SVN: r268152
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions