This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Which patch added R_ARM_GOTOFF32 support?
- From: "Shaun Jackman" <sjackman at gmail dot com>
- To: "Richard Earnshaw" <rearnsha at arm dot com>, "Daniel Jacobowitz" <dan at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 28 Jun 2006 11:20:00 -0600
- Subject: Which patch added R_ARM_GOTOFF32 support?
- Reply-to: "Shaun Jackman" <sjackman at gmail dot com>
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