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: Sriraman Tallam <tmsriram at google dot com>
- To: Xinliang David Li <davidxl at google dot com>
- Cc: Paul Pluzhnikov <ppluzhnikov at google dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 23 May 2014 13:43:27 -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> <CALoOobN+YNoMaw30rSdtrP-UNmzyGe2Ki7GYR0thOVSXe6cpEg at mail dot gmail dot com> <CAAkRFZJZ7wGUzywX=W=qedprh4=8vkq9_a1_OmWpRU-dRzp=Jg at mail dot gmail dot com>
On Thu, May 22, 2014 at 5:04 PM, Xinliang David Li <davidxl@google.com> wrote:
> Also missing documentation in invoke.texi? Other than that, ok.
I have made the changes and committed my patch.
Sri
>
> David
>
> On Thu, May 22, 2014 at 5:00 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
>> 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