This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix .init_array/.fini_array testcase (PR target/50166)
"H.J. Lu" <hjl.tools@gmail.com> writes:
>> 2011-08-26 ?Rainer Orth ?<ro@CeBiTec.Uni-Bielefeld.DE>
>>
>> ? ? ? ?PR target/50166
>> ? ? ? ?* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Check count in main.
>> ? ? ? ?* configure: Regenerate.
>
> That explains why init_array was enabled on AIX. It looks good to me and
> still works on Fedora 15.
What support do you need on the Linux side for .init_array/.fini_array
to work? I'd have expected that gld 2.21 is enough, or is ld-linux.so.2
support required, too?
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University