Re: [PATCH] Extend -fno-plt to normal non-PIC branches on x86

2015-06-01 Thread Uros Bizjak
On Fri, May 29, 2015 at 1:02 AM, H.J. Lu wrote: > On Thu, May 28, 2015 at 10:37:53AM -0700, H.J. Lu wrote: >> This patch extends -fno-plt to normal non-PIC calls on x86. -fno-plt >> works in 64-bit mode with the existing binutils. For 32-bit, we need >> the updated assembler and linker to suppor

Re: [PATCH] Extend -fno-plt to normal non-PIC branches on x86

2015-05-28 Thread H.J. Lu
On Thu, May 28, 2015 at 10:37:53AM -0700, H.J. Lu wrote: > This patch extends -fno-plt to normal non-PIC calls on x86. -fno-plt > works in 64-bit mode with the existing binutils. For 32-bit, we need > the updated assembler and linker to support "call/jmp *foo@GOT" with > a new relocation differen

[PATCH] Extend -fno-plt to normal non-PIC branches on x86

2015-05-28 Thread H.J. Lu
This patch extends -fno-plt to normal non-PIC calls on x86. -fno-plt works in 64-bit mode with the existing binutils. For 32-bit, we need the updated assembler and linker to support "call/jmp *foo@GOT" with a new relocation different from R_386_GOT32 to indicate that this relocation applies to in