This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] S/390: Fix two issues with the IFUNC optimized mem* routines
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>, David Miller <davem at davemloft dot net>, aj at suse dot com, libc-alpha at sourceware dot org, Binutils <binutils at sourceware dot org>
- Date: Sat, 1 Sep 2012 10:21:57 -0700
- Subject: Re: [PATCH] S/390: Fix two issues with the IFUNC optimized mem* routines
- References: <503E009B.3080302@linux.vnet.ibm.com> <CAMe9rOrmiF3VZOBNvEbMV5jFNog1-_EoPoT9rHTUQFsANaSD8w@mail.gmail.com> <503E3930.5040603@linux.vnet.ibm.com> <20120829.125208.824114683359549094.davem@davemloft.net> <503F14A3.8070801@linux.vnet.ibm.com> <CAMe9rOozW=4q_a=nmNvbZhsXooRZ4opvTTNtq2WHcGSSd2ONOw@mail.gmail.com> <CAMe9rOpc7KHMXk8xrQV3p2fAn-uTWZJ91R6k=DbCXENs43Kemw@mail.gmail.com> <5040CCC6.4030809@twiddle.net> <CAMe9rOr2Vic9vENNbRf5_z22-kMS2Uu-6Lsgd_Xi6bctw6CF4w@mail.gmail.com> <50423CF8.7000309@twiddle.net>
On Sat, Sep 1, 2012 at 9:51 AM, Richard Henderson <rth@twiddle.net> wrote:
> On 2012-08-31 11:09, H.J. Lu wrote:
>> This is an excellent idea. But relax_section is too late for
>> x86 and x86-64. I need to do it in size_dynamic_sections
>> so that we can get proper GOT entries.
>
> It's not too late. Look at some of the other ports.
>
It may work for other targets. But x86 doesn't have a relax
pass. I believe doing it in size_dynamic_sections is more
sensible.
--
H.J.