This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, Hurd] Make libgcc_s usable on GNU/Hurd


On Mon, 12 Apr 2010, Thomas Schwinge wrote:

> Hello!
> 
> Here is a tiny patch to make libgcc_s usable on GNU/Hurd.  As you can
> easily guess from the patch, we had missing definitions for softfp
> symbols.
> 
> OK for trunk and 4.5 branch?

I'm not sure if I can approve the patch, but I guess it might fall
under your Hurd maintainers area.  Anyway, the 4.5 branch is open
again for such changes, so from a RM perspective just go ahead.

Thanks,
Richard.

> 2010-04-12  Thomas Schwinge  <tschwinge@gnu.org>
> 
> 	gcc/
> 	* config.gcc <i[34567]86-*-gnu*>: Handle softfp as for Linux.
> 
> 	libgcc/
> 	* config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
> 
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index 9e499cb..9aec392 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -3070,7 +3070,9 @@ case ${target} in
>  	i[34567]86-*-darwin* | x86_64-*-darwin*)
>  		tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
>  		;;
> -	i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu)
> +	i[34567]86-*-linux* | x86_64-*-linux* | \
> +	  i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
> +	  i[34567]86-*-gnu*)
>  		tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux"
>  		;;
>  	ia64*-*-linux*)
> diff --git a/libgcc/config.host b/libgcc/config.host
> index 55af651..ce6cb26 100644
> --- a/libgcc/config.host
> +++ b/libgcc/config.host
> @@ -591,7 +591,8 @@ esac
>  case ${host} in
>  i[34567]86-*-darwin* | x86_64-*-darwin* | \
>    i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
> -  i[34567]86-*-linux* | x86_64-*-linux*)
> +  i[34567]86-*-linux* | x86_64-*-linux* | \
> +  i[34567]86-*-gnu*)
>  	if test "${host_address}" = 32; then
>  		tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
>  	fi
> 
> 
> Regards,
>  Thomas
> 

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]