On Fri, Aug 26, 2011 at 04:35:18PM +0200, Rainer Orth wrote:
> Ok for mainline?
Yes.
>
> 2011-08-26 Rainer Orth
>
> PR target/50166
> * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Check count in main.
> * configure: Regenerate.
>
Jakub
"H.J. Lu" 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 bin
On Fri, Aug 26, 2011 at 7:45 AM, Rainer Orth
wrote:
> "H.J. Lu" writes:
>
>>> 2011-08-26 Rainer Orth
>>>
>>> PR target/50166
>>> * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Check count in main.
>>> * configure: Regenerate.
>>
>> That explains why init_array was enabled on AIX.
"H.J. Lu" writes:
>> 2011-08-26 Rainer Orth
>>
>> 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 sup
On Fri, Aug 26, 2011 at 7:35 AM, Rainer Orth
wrote:
> As detailed in the PR, H.J.'s .init_array/.fini_array patch
>
> 2011-08-20 H.J. Lu
>
> PR other/46770
> * config.gcc (tm_file): Add initfini-array.h if
> .init_arrary/.fini_array are supported.
>
> broke Solaris bootstra
As detailed in the PR, H.J.'s .init_array/.fini_array patch
2011-08-20 H.J. Lu
PR other/46770
* config.gcc (tm_file): Add initfini-array.h if
.init_arrary/.fini_array are supported.
broke Solaris bootstrap since the testcase incorrectly succeeds on
Solaris, failing to