diff mbox

[libgcc] Fix ARM uclinux libgcc config order issue

Message ID 000001cdefdc$eb02b840$c10828c0$@arm.com
State New
Headers show

Commit Message

Zhenqiang Chen Jan. 11, 2013, 9:20 a.m. UTC
Hi,

The patch is to adjust ARM uclinux libgcc config order of arm/t-bpabi and t-
arm since LIB1ASMFUNCS defined in t-bpabi is overridden in t-arm.

Is it OK for trunk, 4.8 and 4.7?

Thanks!
-Zhenqiang

2012-03-11  Zhenqiang Chen <zhenqiang.chen@arm.com>

  	* config.host (arm*-*-uclinux*): Move arm/t-arm before arm/t-bpabi.

 	extra_parts="$extra_parts crti.o crtn.o"
 	;;
 arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)

Comments

Zhenqiang Chen March 4, 2013, 8:26 a.m. UTC | #1
Ping?

Thanks!
-Zhenqiang

> -----Original Message-----
> From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-
> owner@gcc.gnu.org] On Behalf Of Zhenqiang Chen
> Sent: Friday, January 11, 2013 5:21 PM
> To: gcc-patches@gcc.gnu.org
> Subject: [PATCH libgcc] Fix ARM uclinux libgcc config order issue
> 
> Hi,
> 
> The patch is to adjust ARM uclinux libgcc config order of arm/t-bpabi and
t-
> arm since LIB1ASMFUNCS defined in t-bpabi is overridden in t-arm.
> 
> Is it OK for trunk, 4.8 and 4.7?
> 
> Thanks!
> -Zhenqiang
> 
> 2012-03-11  Zhenqiang Chen <zhenqiang.chen@arm.com>
> 
>   	* config.host (arm*-*-uclinux*): Move arm/t-arm before arm/t-
> bpabi.
> 
> diff --git a/libgcc/config.host b/libgcc/config.host index
ffd047f..eb65941
> 100644
> --- a/libgcc/config.host
> +++ b/libgcc/config.host
> @@ -332,10 +332,10 @@ arm*-*-linux*)			# ARM
> GNU/Linux with
> ELF
>  	;;
>  arm*-*-uclinux*)		# ARM ucLinux
>  	tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
> +	tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf
> t-softfp-excl arm/t-softfp t-softfp"
>  	tmake_file="${tmake_file} arm/t-bpabi"
>  	tm_file="$tm_file arm/bpabi-lib.h"
>  	unwind_header=config/arm/unwind-arm.h
> -	tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf
> t-softfp-excl arm/t-softfp t-softfp"
>  	extra_parts="$extra_parts crti.o crtn.o"
>  	;;
>  arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
> 
> 
>
diff mbox

Patch

diff --git a/libgcc/config.host b/libgcc/config.host index ffd047f..eb65941
100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -332,10 +332,10 @@  arm*-*-linux*)			# ARM GNU/Linux with
ELF
 	;;
 arm*-*-uclinux*)		# ARM ucLinux
 	tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
+	tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf
t-softfp-excl arm/t-softfp t-softfp"
 	tmake_file="${tmake_file} arm/t-bpabi"
 	tm_file="$tm_file arm/bpabi-lib.h"
 	unwind_header=config/arm/unwind-arm.h
-	tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf
t-softfp-excl arm/t-softfp t-softfp"