crosstool-ng/packages/uClibc-ng/1.0.48/0006-m68k-fix-noMMU-ELF-compile-with-gcc-14.x.patch
Chris Packham 81084c55dd 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>
2024-05-15 20:02:01 +12:00

26 lines
751 B
Diff

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