summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches-13.x/850-use_shared_libgcc.patch
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2023-04-27 23:03:14 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-05 15:46:37 +0200
commit29128b0bd43532404d965d22338554fce624db6a (patch)
treec176068e338aa6aa35867bc6270b9899dc912866 /toolchain/gcc/patches-13.x/850-use_shared_libgcc.patch
parent1e88a16248601da03d78da7939d412588ad0ea52 (diff)
downloadopenwrt-29128b0bd43532404d965d22338554fce624db6a.tar.gz
openwrt-29128b0bd43532404d965d22338554fce624db6a.tar.bz2
openwrt-29128b0bd43532404d965d22338554fce624db6a.zip
toolchain: gcc: add support for GCC 13
Release Notes: https://gcc.gnu.org/pipermail/gcc-announce/2023/000175.html Manually Refreshed: - 910-mbsd_multi.patch - 970-macos_arm64-building-fix.patch Automatically Refreshed: - 010-documentation.patch - 230-musl_libssp.patch - 300-mips_Os_cpu_rtx_cost_model.patch - 820-libgcc_pic.patch - 840-armv4_pass_fix-v4bx_to_ld.patch - 850-use_shared_libgcc.patch - 870-ppc_no_crtsavres.patch - 920-specs_nonfatal_getenv.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'toolchain/gcc/patches-13.x/850-use_shared_libgcc.patch')
-rw-r--r--toolchain/gcc/patches-13.x/850-use_shared_libgcc.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolchain/gcc/patches-13.x/850-use_shared_libgcc.patch b/toolchain/gcc/patches-13.x/850-use_shared_libgcc.patch
index 7be30f3283..f4505ee70f 100644
--- a/toolchain/gcc/patches-13.x/850-use_shared_libgcc.patch
+++ b/toolchain/gcc/patches-13.x/850-use_shared_libgcc.patch
@@ -7,8 +7,8 @@ Date: Sun Feb 12 20:25:47 2012 +0000
SVN-Revision: 30486
--- a/gcc/config/arm/linux-eabi.h
+++ b/gcc/config/arm/linux-eabi.h
-@@ -132,10 +132,6 @@
- "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
+@@ -129,10 +129,6 @@
+ "%{Ofast|ffast-math|funsafe-math-optimizations:%{!shared:crtfastmath.o%s}} " \
LINUX_OR_ANDROID_LD (GNU_USER_TARGET_ENDFILE_SPEC, ANDROID_ENDFILE_SPEC)
-/* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we
@@ -20,8 +20,8 @@ Date: Sun Feb 12 20:25:47 2012 +0000
is used. */
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
-@@ -71,6 +71,10 @@ see the files COPYING3 and COPYING.RUNTI
- builtin_version ("CRuntime_Musl"); \
+@@ -58,6 +58,10 @@ see the files COPYING3 and COPYING.RUNTI
+ builtin_assert ("system=posix"); \
} while (0)
+#ifndef LIBGCC_SPEC