summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/4.7.3/810-arm-softfloat-libgcc.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-11 08:49:39 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-11 21:18:54 +0200
commit15ada1c1846a243893f5e734fbb5039aa8e4b1a4 (patch)
tree08b489c06a5eb55c13cb05fdb5752c48850f563f /toolchain/gcc/4.7.3/810-arm-softfloat-libgcc.patch
parent36f13ad186f5d7dbfc6a95280f4d16893ef72669 (diff)
downloadbuildroot-novena-15ada1c1846a243893f5e734fbb5039aa8e4b1a4.tar.gz
buildroot-novena-15ada1c1846a243893f5e734fbb5039aa8e4b1a4.zip
toolchain/gcc: bump 4.7.x series to 4.7.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/gcc/4.7.3/810-arm-softfloat-libgcc.patch')
-rw-r--r--toolchain/gcc/4.7.3/810-arm-softfloat-libgcc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/toolchain/gcc/4.7.3/810-arm-softfloat-libgcc.patch b/toolchain/gcc/4.7.3/810-arm-softfloat-libgcc.patch
new file mode 100644
index 000000000..a3d7db014
--- /dev/null
+++ b/toolchain/gcc/4.7.3/810-arm-softfloat-libgcc.patch
@@ -0,0 +1,25 @@
+--- a/gcc/config/arm/linux-elf.h
++++ b/gcc/config/arm/linux-elf.h
+@@ -57,7 +57,7 @@
+ %{shared:-lc} \
+ %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
+
+-#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
++#define LIBGCC_SPEC "-lgcc"
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
+
+--- a/libgcc/config/arm/t-linux
++++ b/libgcc/config/arm/t-linux
+@@ -1,6 +1,10 @@
+ LIB1ASMSRC = arm/lib1funcs.S
+ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
+- _arm_addsubdf3 _arm_addsubsf3
++ _arm_addsubdf3 _arm_addsubsf3 \
++ _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
++ _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
++ _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
++ _arm_fixsfsi _arm_fixunssfsi
+
+ # Just for these, we omit the frame pointer since it makes such a big
+ # difference.