Re: [PATCH] newlib/configure.host: Set have_init_fini to no for OpenRISC

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.lib.newlib
Message-ID <[email protected]>
On Nov  3 07:00, Stafford Horne wrote:
> The new GCC port for OpenRISC will use the init_fini_array only and not
> provide the init() and fini() functions.  Disable the function usage by
> default as its no longer needed.
> 
> Signed-off-by: Stafford Horne <[email protected]>
> ---
>  newlib/configure.host | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/newlib/configure.host b/newlib/configure.host
> index 27bce36a1..6c49cb750 100644
> --- a/newlib/configure.host
> +++ b/newlib/configure.host
> @@ -279,6 +279,7 @@ case "${host_cpu}" in
>  	;;
>    or1k*|or1knd*)
>  	machine_dir=or1k
> +	have_init_fini=no
>  	;;
>    powerpc*)
>  	machine_dir=powerpc
> -- 
> 2.17.2

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlvgB2EACgkQ9TYGna5E
T6AdTQ//YV743jN40gLiylcg3qVTSUrKsJThJrQghi0yQyUiS/1ENt10GdnREhSG
C9gWpSV2XD7UjlwVzHPXYYYJvWWLKznjIM6HU4Oute4LYfhizkvYjIe52nNI0IB3
JQjwGZWZ3syqvGNXn+QmZxptTV0+tUyxZZKFgZXFHU9Uq03/2Rk+El+9sPlVLrAB
uvdaAJwPrKH/8kowFMT1ldhbNRWiU7FScWKu68n+UzVFawGFPHG1j6KVDSbK32RO
0s3qb9N1UCDs4LbQHcnDl7DPpdOgRTAH0o/CmCovqh6I3B3FcL1px/vRkvkH4Gfo
xjM7g9nrdRmxjQB5cSNOFwmMGYeRlv1Auqe6TIk/eEhgQFSADsoo4ERN5D5xRsor
mEhHXKMuI/UVBg2Z1AKiWbN1pfzMiV+K0RVl8uSPxN08p1c8XqoNjf15f9mk4BAE
T4MQLGB9zGV94EA0nz5gmK2UG+cTJ45VWCKX33IxQUTGSzJGTu9/+ttiYpmeR2z7
WC8uAIPQtuXZH2gcpXZiiBUfdBv1XmVG9wv/jAEKYg8Jp4xeCq8kiqSFvG4CSsS/
BB4Zr5in1ifIhdxzatu9v4TmP97N0jjjCGJB8/zqsDS6QVStP6JQN0P3cNjyQdWM
joxp0JV0JDZc4odB4pRgcruUl+1LXIXT1sdKg59YPV2xa+rph3s=
=ePQ0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.