# HG changeset patch # User Rob Landley # Date 1250056633 18000 # Node ID 0a7a08d125b8ca5e1cfeb4f5a2ab61eb6eed6794 # Parent d20b91530061af6265b0c31d003ca8c6b970d6ac Updated patch to fix soft float for armv4l and armv4eb diff -r d20b91530061 -r 0a7a08d125b8 sources/patches/gcc-core-softfloat-fix.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/gcc-core-softfloat-fix.patch Wed Aug 12 00:57:13 2009 -0500 @@ -0,0 +1,24 @@ +diff -ru gcc.bak/gcc/config.gcc gcc-4.1.2/gcc/config.gcc +--- gcc.bak/gcc/config.gcc 2006-10-15 19:12:23.000000000 -0400 ++++ gcc-4.1.2/gcc/config.gcc 2007-07-04 21:07:42.000000000 -0400 +@@ -685,7 +685,7 @@ + default_use_cxa_atexit=yes + ;; + *) +- tmake_file="$tmake_file arm/t-linux" ++ tmake_file="$tmake_file arm/t-linux arm/t-arm-elf" + ;; + esac + tm_file="$tm_file arm/aout.h arm/arm.h" +diff -ru gcc.bak/gcc/config/arm/linux-elf.h gcc-4.1.2/gcc/config/arm/linux-elf.h +--- gcc.bak/gcc/config/arm/linux-elf.h 2005-10-09 21:04:31.000000000 -0400 ++++ gcc-4.1.2/gcc/config/arm/linux-elf.h 2007-07-04 21:07:42.000000000 -0400 +@@ -49,7 +49,7 @@ + %{shared:-lc} \ + %{!shared:%{profile:-lc_p}%{!profile:-lc}}" + +-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc" ++#define LIBGCC_SPEC "-lgcc" + + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" +