aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/4.7.0/810-arm-softfloat-libgcc.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-04-13 09:44:45 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-15 11:13:27 +0200
commitb4a8ae3e8cc9f5a7b0b4b6f7004c51e661dcc456 (patch)
tree25e7a8c9848727a8303c96f3f64f0810b0f8ea48 /toolchain/gcc/4.7.0/810-arm-softfloat-libgcc.patch
parentf4f4172a4191a3a4e47a49bbd86343c03237ac0e (diff)
downloadbuildroot-novena-b4a8ae3e8cc9f5a7b0b4b6f7004c51e661dcc456.tar.gz
buildroot-novena-b4a8ae3e8cc9f5a7b0b4b6f7004c51e661dcc456.zip
toolchain/gcc: add 4.7.x series
Add gcc 4.7.0 to the toolchain options. [Peter: drop 0001-toolchain-gcc-add-4.7.x-series.txt] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/gcc/4.7.0/810-arm-softfloat-libgcc.patch')
-rw-r--r--toolchain/gcc/4.7.0/810-arm-softfloat-libgcc.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/toolchain/gcc/4.7.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/4.7.0/810-arm-softfloat-libgcc.patch
new file mode 100644
index 000000000..a3d7db014
--- /dev/null
+++ b/toolchain/gcc/4.7.0/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.