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

2016-05-09 Thread H.J. Lu
On Fri, Apr 22, 2016 at 6:03 AM, Uros Bizjak wrote: > On Fri, Apr 22, 2016 at 2:54 PM, H.J. Lu wrote: >> For -fno-plt, we load the external function address via the GOT slot >> so that linker won't create an PLT entry for extern function address. >> >> Tested on x86-64. I also built GCC with -fno

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

2016-04-22 Thread Uros Bizjak
On Fri, Apr 22, 2016 at 2:54 PM, H.J. Lu wrote: > For -fno-plt, we load the external function address via the GOT slot > so that linker won't create an PLT entry for extern function address. > > Tested on x86-64. I also built GCC with -fno-plt. It removes 99% PLT > entries. OK for trunk? > > H.J