summaryrefslogtreecommitdiffstats
path: root/package/gcc/5.5.0/810-arm-softfloat-libgcc.patch
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2017-10-15 23:57:35 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-10-17 22:40:42 +0200
commit1960ad837b10fcad2fe2e08d9d6537859b02d1f1 (patch)
tree07566f0400152ba1cc11ff8b6c82656bdd765680 /package/gcc/5.5.0/810-arm-softfloat-libgcc.patch
parent535cc2f03ea421b70fe81f3e5c76c805de16f8e4 (diff)
downloadbuildroot-1960ad837b10fcad2fe2e08d9d6537859b02d1f1.tar.gz
buildroot-1960ad837b10fcad2fe2e08d9d6537859b02d1f1.zip
package/gcc: bump to 5.5.0
Remove xtensa patches included in this release: 872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch 873-xtensa-fix-_Unwind_GetCFA.patch 876-xtensa-Fix-PR-target-78603.patch 877-xtensa-fix-PR-target-82181.patch Remove upstream patch: 942-asan-fix-missing-include-signal-h.patch Remove backported patches for glibc >= 2.26 943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch 944-sanitizer-linux.patch Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc/5.5.0/810-arm-softfloat-libgcc.patch')
-rw-r--r--package/gcc/5.5.0/810-arm-softfloat-libgcc.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/gcc/5.5.0/810-arm-softfloat-libgcc.patch b/package/gcc/5.5.0/810-arm-softfloat-libgcc.patch
new file mode 100644
index 0000000000..5efa7fd1bc
--- /dev/null
+++ b/package/gcc/5.5.0/810-arm-softfloat-libgcc.patch
@@ -0,0 +1,30 @@
+Index: b/gcc/config/arm/linux-elf.h
+===================================================================
+--- a/gcc/config/arm/linux-elf.h
++++ b/gcc/config/arm/linux-elf.h
+@@ -60,7 +60,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"
+
+Index: b/libgcc/config/arm/t-linux
+===================================================================
+--- a/libgcc/config/arm/t-linux
++++ b/libgcc/config/arm/t-linux
+@@ -1,6 +1,11 @@
+ LIB1ASMSRC = arm/lib1funcs.S
+ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
+- _ctzsi2 _arm_addsubdf3 _arm_addsubsf3
++ _ctzsi2 _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.
OpenPOWER on IntegriCloud