aboutsummaryrefslogtreecommitdiff
path: root/packages/uClibc-ng/1.0.48/0006-m68k-fix-noMMU-ELF-compile-with-gcc-14.x.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2024-05-14 17:59:12 +1200
committerChris Packham <judge.packham@gmail.com>2024-05-15 20:02:01 +1200
commit81084c55dd7a86441beaa125d307e7ba2d456caf (patch)
tree3468af7643e4d4a838ca3a3c3f016ecd6d95ecab /packages/uClibc-ng/1.0.48/0006-m68k-fix-noMMU-ELF-compile-with-gcc-14.x.patch
parentb1433efd80467a51510c78301bf520c715a3caf9 (diff)
downloadcrosstool-ng-81084c55dd7a86441beaa125d307e7ba2d456caf.tar.gz
crosstool-ng-81084c55dd7a86441beaa125d307e7ba2d456caf.tar.bz2
crosstool-ng-81084c55dd7a86441beaa125d307e7ba2d456caf.zip
uClibc-ng: Add 1.0.48
Add the 1.0.48 and some additional patches from master which include some fixes for GCC 14 support. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/uClibc-ng/1.0.48/0006-m68k-fix-noMMU-ELF-compile-with-gcc-14.x.patch')
-rw-r--r--packages/uClibc-ng/1.0.48/0006-m68k-fix-noMMU-ELF-compile-with-gcc-14.x.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/uClibc-ng/1.0.48/0006-m68k-fix-noMMU-ELF-compile-with-gcc-14.x.patch b/packages/uClibc-ng/1.0.48/0006-m68k-fix-noMMU-ELF-compile-with-gcc-14.x.patch
new file mode 100644
index 00000000..4a269d44
--- /dev/null
+++ b/packages/uClibc-ng/1.0.48/0006-m68k-fix-noMMU-ELF-compile-with-gcc-14.x.patch
@@ -0,0 +1,25 @@
+From ad21b95c97cdb8741922d163f132e9c726c2ce5b Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@openadk.org>
+Date: Sat, 11 May 2024 06:59:54 +0200
+Subject: [PATCH 6/7] m68k: fix noMMU ELF compile with gcc 14.x
+
+---
+ libc/misc/internals/reloc_static_pie.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libc/misc/internals/reloc_static_pie.c b/libc/misc/internals/reloc_static_pie.c
+index 81af7d666..cb2c4df87 100644
+--- a/libc/misc/internals/reloc_static_pie.c
++++ b/libc/misc/internals/reloc_static_pie.c
+@@ -21,7 +21,7 @@
+ #include <dl-elf.h>
+
+ #include <ldso.h>
+-#if defined(__mips__) || defined(__xtensa__)
++#if defined(__m68k__) || defined(__mips__) || defined(__xtensa__)
+ #include <dl-startup.h>
+ #endif
+
+--
+2.43.2
+