This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google gcc-4_8][x86_64]Optimize access to globals in "-fpie -pie" builds with copy relocations
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: Sriraman Tallam <tmsriram at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, David Li <davidxl at google dot com>
- Date: Thu, 22 May 2014 17:00:55 -0700
- Subject: Re: [google gcc-4_8][x86_64]Optimize access to globals in "-fpie -pie" builds with copy relocations
- Authentication-results: sourceware.org; auth=none
- References: <CAAs8HmxvUrU9Z5CLHQmCRDsN-CHmT3FEBVC8wtgMvcdv8Z17+A at mail dot gmail dot com>
On Thu, May 22, 2014 at 4:36 PM, Sriraman Tallam <tmsriram@google.com> wrote:
> This patch is pending review for trunk. Please see if this is ok to
> commit to google/gcc-4_8 branch. Please see this for more details:
>
> https://gcc.gnu.org/ml/gcc-patches/2014-05/msg01215.html
+mld-pie-copyrelocs
+Target Report Var(ix86_ld_pie_copyrelocs) Init(0)
+Use linker copy relocs for pie
They are not "linker copy relocs", they are simply "copy relocations".
So I would call the option "-mcopy-relocs" and be done with that. But this
is just bike-shedding :-)
LGTM.
--
Paul Pluzhnikov