comparison sources/patches/alt-gcc-core-softfloat-fix.patch @ 750:adfe2f5bd737

The softfloat patch only applies to 4.1.2, not 4.2.1.
author Rob Landley <rob@landley.net>
date Mon, 15 Jun 2009 03:22:00 -0500
parents sources/patches/gcc-core-softfloat-fix.patch@63882e3acf43
children
comparison
equal deleted inserted replaced
749:34f9a88336a8 750:adfe2f5bd737
1 diff -ru gcc.bak/gcc/config.gcc gcc-4.1.2/gcc/config.gcc
2 --- gcc.bak/gcc/config.gcc 2006-10-15 19:12:23.000000000 -0400
3 +++ gcc-4.1.2/gcc/config.gcc 2007-07-04 21:07:42.000000000 -0400
4 @@ -685,7 +685,7 @@
5 default_use_cxa_atexit=yes
6 ;;
7 *)
8 - tmake_file="$tmake_file arm/t-linux"
9 + tmake_file="$tmake_file arm/t-linux arm/t-arm-elf"
10 ;;
11 esac
12 tm_file="$tm_file arm/aout.h arm/arm.h"
13 diff -ru gcc.bak/gcc/config/arm/linux-elf.h gcc-4.1.2/gcc/config/arm/linux-elf.h
14 --- gcc.bak/gcc/config/arm/linux-elf.h 2005-10-09 21:04:31.000000000 -0400
15 +++ gcc-4.1.2/gcc/config/arm/linux-elf.h 2007-07-04 21:07:42.000000000 -0400
16 @@ -49,7 +49,7 @@
17 %{shared:-lc} \
18 %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
19
20 -#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
21 +#define LIBGCC_SPEC "-lgcc"
22
23 #define LINUX_TARGET_INTERPRETER "/lib/ld-linux.so.2"
24