This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]