This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/63833: REAL_PIC_OFFSET_TABLE_REGNUM is wrong for x86-64
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 27 Nov 2014 21:37:34 +0100
- Subject: Re: PATCH: PR target/63833: REAL_PIC_OFFSET_TABLE_REGNUM is wrong for x86-64
- Authentication-results: sourceware.org; auth=none
- References: <20141112145328 dot GA22644 at intel dot com>
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.