[PATCH 2/2] MIPS16: MIPS16 support proper
Joseph S. Myers
joseph@codesourcery.com
Tue Jan 29 19:27:00 GMT 2013
On Tue, 29 Jan 2013, Richard Henderson wrote:
> 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.
FWIW, ARM EABI has used init_array/fini_array for a long time (probably
since before this configure option existed, and maybe not using the same
mechanism as the configure option), following an EABI requirement (which
might have been motivated by Thumb causing the same issues for .init/.fini
as MIPS16 and microMIPS).
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list