[PATCH 2/2] MIPS16: MIPS16 support proper

Richard Henderson rth@twiddle.net
Tue Jan 29 16:24:00 GMT 2013


On 01/28/2013 01:17 PM, Steve Ellcey wrote:
> On Mon, 2013-01-28 at 21:06 +0000, Maciej W. Rozycki wrote:
>> On Mon, 28 Jan 2013, Richard Henderson wrote:
>>
>>> And of course as you note elsewhere, this is an excellent time to
>>> have new toolchains stop using .init, as DT_INIT_ARRAY has none of
>>> these problems.
>>
>>   Given the above I think we need it sooner rather than later.  Who's got
>> the power to make it happen?
>>
>>    Maciej
>
> Would switching from .init to DT_INIT_ARRAY be an incompatible ABI
> change?  I think I remember the GNU linker can handle mixing both types
> of sections in one executable but I am not sure if that is right.
>
> I added Richard Sandiford to this email in case he hasn't seen it on the
> libc mailing lists.

Both gcc and ld have an --enable-initfini-array configuration switch.

Both programs can autodetect the current host setting during native 
builds to preserve the system setting.

I don't believe there's currently a way to force the setting on based on 
a configuration triple, but it ought not be hard to add.


r~



More information about the Libc-alpha mailing list