This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: PATCH: PR target/46770: Use .init_array/.fini_array sections
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Fri, 22 Jul 2011 05:28:15 -0700
- Subject: Re: PING: PATCH: PR target/46770: Use .init_array/.fini_array sections
- References: <AANLkTik8RB9N52grGxMbpj14jwzoLB0oRYdKnmAXyESu@mail.gmail.com> <AANLkTimtcwsV8Af7a60Jz57g-J38oR==+Ew7BqQvMbJm@mail.gmail.com> <BANLkTikBAnrYSRiRtaPXNat77sEgdSEK1Q@mail.gmail.com> <BANLkTi=M3HKXJa7t3ayavtWMgRPQ6t2row@mail.gmail.com> <BANLkTin34R=s+4zPf7oijd_xzd00xjOLCQ@mail.gmail.com> <BANLkTikfADfNqvuzcsru_RjE8jyiWjFvPw@mail.gmail.com> <BANLkTi=vTT_9j33U5FVNVasqkdt_=qCOyQ@mail.gmail.com> <BANLkTinfhzGcg6oBVeV_LXRQSN1gmtU70g@mail.gmail.com> <BANLkTint+SNsmQxOz-4xk0rrhRPc9L8J8g@mail.gmail.com> <CAMe9rOof=V4c89715u-Z=zG8kqADrupMaemnjuYPJA-xPQaKxg@mail.gmail.com> <yddvcuujyj4.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On Fri, Jul 22, 2011 at 5:22 AM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> H.J.,
>
>> Can you review this change?
>
> as you know, I'm currently working to move all libgcc-related stuff over
> to toplevel libgcc. ?Can you please move all but the crtstuff.c part of
> this patch over to libgcc instead?
>
> I've got a patch almost ready to move crtstuff.c and other crt files,
> and would like not to adapt this new code if you can just as well start
> in libgcc.
>
Most of this change isn't related to libgcc, except for crtstuff.c. You
just need to find a way to define NO_CTORS_DTORS_SECTIONS
in libgcc when .init_array is used.
--
H.J.