PATCH: PR target/63833: REAL_PIC_OFFSET_TABLE_REGNUM is wrong for x86-64
Uros Bizjak
ubizjak@gmail.com
Thu Nov 27 21:37:00 GMT 2014
On Wed, Nov 12, 2014 at 3:53 PM, H.J. Lu <hongjiu.lu@intel.com> 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. This patch corrects REAL_PIC_OFFSET_TABLE_REGNUM for
> 64-bit large model. OK to install?
>
> Thanks.
>
> H.J.
> ---
> 2014-11-12 H.J. Lu <hongjiu.lu@intel.com>
>
> PR target/63833
> * config/i386/i386.h (REAL_PIC_OFFSET_TABLE_REGNUM): Use
> R15_REG for 64-bit.
> * config/i386/rdos64.h (REAL_PIC_OFFSET_TABLE_REGNUM): Removed.
OK, the ABI documentation has just been fixed.
Thanks,
Uros.
More information about the Gcc-patches
mailing list