This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH x86_64] Optimize access to globals in "-fpie -pie" builds with copy relocations


On Tue, Dec 2, 2014 at 2:14 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Dec 2, 2014 at 12:19 PM, Jakub Jelinek <jakub@redhat.com> wrote:
>> On Tue, Dec 02, 2014 at 12:16:09PM -0800, H.J. Lu wrote:
>>> > IMO, nobody will use this highly special x86_64-only option. It would
>>> > be best for gnu-ld to reach feature parity with gold as far as this
>>> > functionality is concerned. In this case, the optimization would be
>>> > auto-configured, and would fire automatically, without any user
>>> > intervention.
>>>
>>> I will implement it in ld after its support is checked into GCC.
>>
>> I think it would be better to do it the other way around, so that gcc can be
>> configured against the right ld from the start.
>>
>
> Consider it is done.  I will check it into binutils ths week.
>

It is on binutils master branch now:

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=9a926d55ab4b6667f6c35b518d59b902fe490d9d

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]