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:
>> 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?
>
> You need the latest Linux binutils. Mixing init_array/,ctors sections support
> was added after binutils 2.21 was released:
>
> http://sourceware.org/git/?p=binutils.git;a=commit;h=30dfd0308a8551174634494822e194fcf24a7ddb
I see, thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University