annotate sources/patches/gcc-core-softfloat-fix.patch @ 1719:78050a31d1ee draft

Sigh. Checked in the wrong version of the patch (typo fix).
author Rob Landley <rob@landley.net>
date Tue, 06 Jan 2015 13:15:33 -0600
parents 0a7a08d125b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
801
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
1 diff -ru gcc.bak/gcc/config.gcc gcc-4.1.2/gcc/config.gcc
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
2 --- gcc.bak/gcc/config.gcc 2006-10-15 19:12:23.000000000 -0400
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
3 +++ gcc-4.1.2/gcc/config.gcc 2007-07-04 21:07:42.000000000 -0400
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
4 @@ -685,7 +685,7 @@
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
5 default_use_cxa_atexit=yes
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
6 ;;
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
7 *)
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
8 - tmake_file="$tmake_file arm/t-linux"
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
9 + tmake_file="$tmake_file arm/t-linux arm/t-arm-elf"
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
10 ;;
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
11 esac
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
12 tm_file="$tm_file arm/aout.h arm/arm.h"
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
13 diff -ru gcc.bak/gcc/config/arm/linux-elf.h gcc-4.1.2/gcc/config/arm/linux-elf.h
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
14 --- gcc.bak/gcc/config/arm/linux-elf.h 2005-10-09 21:04:31.000000000 -0400
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
15 +++ gcc-4.1.2/gcc/config/arm/linux-elf.h 2007-07-04 21:07:42.000000000 -0400
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
16 @@ -49,7 +49,7 @@
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
17 %{shared:-lc} \
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
18 %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
19
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
20 -#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
21 +#define LIBGCC_SPEC "-lgcc"
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
22
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
23 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
0a7a08d125b8 Updated patch to fix soft float for armv4l and armv4eb
Rob Landley <rob@landley.net>
parents:
diff changeset
24