This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Which patch added R_ARM_GOTOFF32 support?
- From: Andrew Haley <aph at redhat dot com>
- To: "Shaun Jackman" <sjackman at gmail dot com>
- Cc: "Richard Earnshaw" <rearnsha at arm dot com>, "Daniel Jacobowitz" <dan at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 28 Jun 2006 18:29:50 +0100
- Subject: Re: Which patch added R_ARM_GOTOFF32 support?
- References: <7f45d9390606281020u6ac474fckba4c60689bcd0060@mail.gmail.com>
Shaun Jackman writes:
> Hello Richard, Dan,
>
> I'm trying to track down which part of the GCC source tree makes the
> decision to emit either a R_ARM_GOT32 or a R_ARM_GOTOFF32 relocation.
> A new feature in GCC 4.1 emits a R_ARM_GOTOFF32 relocation for a
> reference to a static function. I thought there was a good chance one
> of you two might have added this feature. If you're familiar with the
> the patch, would you please point me to the relevant ChangeLog entry?
> I'm hoping to add an exception for execute in place (XIP) code (-fPIC
> -msingle-pic-base) to use R_ARM_GOT32 instead of R_ARM_GOTOFF32.
>
> Many thanks,
> Shaun
>
> See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28194
Use "svn blame"
Andrew.