[google gcc-4_8][x86_64]Optimize access to globals in "-fpie -pie" builds with copy relocations

Xinliang David Li davidxl@google.com
Fri May 23 00:04:00 GMT 2014


Also missing documentation in invoke.texi? Other than that, ok.

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



More information about the Gcc-patches mailing list