Re: PATCH: PR target/63833: REAL_PIC_OFFSET_TABLE_REGNUM is wrong for x86-64

2014-11-27 Thread Uros Bizjak
On Wed, Nov 12, 2014 at 3:53 PM, H.J. Lu wrote: > We have been using the wrong register to hold GOT in 64-bit large model, > which is used by the large model PLT. The only reason we haven't run into > any problem is linker doesn't support the large model PLT. I am looking > into linker issue. Th

Re: PATCH: PR target/63833: REAL_PIC_OFFSET_TABLE_REGNUM is wrong for x86-64

2014-11-27 Thread H.J. Lu
On Wed, Nov 12, 2014 at 6:53 AM, H.J. Lu wrote: > We have been using the wrong register to hold GOT in 64-bit large model, > which is used by the large model PLT. The only reason we haven't run into > any problem is linker doesn't support the large model PLT. I am looking > into linker issue. Th

PATCH: PR target/63833: REAL_PIC_OFFSET_TABLE_REGNUM is wrong for x86-64

2014-11-12 Thread H.J. Lu
We have been using the wrong register to hold GOT in 64-bit large model, which is used by the large model PLT. The only reason we haven't run into any problem is linker doesn't support the large model PLT. I am looking into linker issue. This patch corrects REAL_PIC_OFFSET_TABLE_REGNUM for 64-bit