Re: [PATCH] i386: Load external function address via GOT slot

2019-01-22 Thread Uros Bizjak
On Tue, Jan 22, 2019 at 2:41 PM H.J. Lu wrote: > > 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):

[PATCH] i386: Load external function address via GOT slot

2019-01-22 Thread H.J. Lu
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/ P