summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.8.2/0202-libgcc-reorder-tmake_file-for-arm-uclinux.patch
blob: 98da02c8c6468715d93f09db2d0313fc0f03a1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Wed, 5 Dec 2012 17:17:52 +0100
Subject: [PATCH] libgcc: reorder $tmake_file for arm*-*-uclinux*

arm/t-arm must be first in the list. It overwrites variables instead of
appending, so anything set before is lost.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 libgcc/config.host | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgcc/config.host b/libgcc/config.host
index 259c9a7..8ce8396 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -330,11 +330,11 @@ arm*-*-linux*)			# ARM GNU/Linux with ELF
 	tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
 	;;
 arm*-*-uclinux*)		# ARM ucLinux
-	tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
+	tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix"
 	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"
+	tmake_file="$tmake_file 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*)