diff options
Diffstat (limited to 'patches/newlib/1.18.0')
-rw-r--r-- | patches/newlib/1.18.0/100-fix-unaligned-access-memcpy-m68k.patch | 23 | ||||
-rw-r--r-- | patches/newlib/1.18.0/110-fix-eabihf.patch | 24 | ||||
-rw-r--r-- | patches/newlib/1.18.0/200-fix-mt-cflags.patch | 25 |
3 files changed, 0 insertions, 72 deletions
diff --git a/patches/newlib/1.18.0/100-fix-unaligned-access-memcpy-m68k.patch b/patches/newlib/1.18.0/100-fix-unaligned-access-memcpy-m68k.patch deleted file mode 100644 index 6214ee5..0000000 --- a/patches/newlib/1.18.0/100-fix-unaligned-access-memcpy-m68k.patch +++ /dev/null @@ -1,23 +0,0 @@ -The m68k mcpu processor does not like unaligned access - -Disable at least mcpu32, m68010 and m68020. These processors certainly -do not like unaligned accesses. - -Signed-off-by: Remy Bohmer <linux@bohmer.net> ---- - newlib/libc/machine/m68k/memcpy.S | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: newlib-1.18.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.18.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.18.0/newlib/libc/machine/m68k/memcpy.S -@@ -15,7 +15,7 @@ - - #include "m68kasm.h" - --#if defined (__mcoldfire__) || defined (__mcpu32__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__) -+#if defined (__mcoldfire__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__) - # define MISALIGNED_OK 1 - #else - # define MISALIGNED_OK 0 diff --git a/patches/newlib/1.18.0/110-fix-eabihf.patch b/patches/newlib/1.18.0/110-fix-eabihf.patch deleted file mode 100644 index c2868b9..0000000 --- a/patches/newlib/1.18.0/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-1.18.0.orig/libgloss/arm/configure newlib-1.18.0/libgloss/arm/configure ---- newlib-1.18.0.orig/libgloss/arm/configure 2017-04-11 00:41:23.864867229 -0700 -+++ newlib-1.18.0/libgloss/arm/configure 2017-04-11 00:43:12.273788551 -0700 -@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-1.18.0.orig/libgloss/arm/configure.in newlib-1.18.0/libgloss/arm/configure.in ---- newlib-1.18.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:23.864867229 -0700 -+++ newlib-1.18.0/libgloss/arm/configure.in 2017-04-11 00:43:12.273788551 -0700 -@@ -49,7 +49,7 @@ AC_PROG_RANLIB - LIB_AM_PROG_AS - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) diff --git a/patches/newlib/1.18.0/200-fix-mt-cflags.patch b/patches/newlib/1.18.0/200-fix-mt-cflags.patch deleted file mode 100644 index 718e0c9..0000000 --- a/patches/newlib/1.18.0/200-fix-mt-cflags.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urpN newlib-1.18.0.orig/config/mt-d30v newlib-1.18.0/config/mt-d30v ---- newlib-1.18.0.orig/config/mt-d30v 2017-04-11 00:51:26.740759083 -0700 -+++ newlib-1.18.0/config/mt-d30v 2017-04-11 00:55:51.114626557 -0700 -@@ -1,4 +1,4 @@ - # Build libraries optimizing for space, not speed. - # Turn off warnings about symbols named the same as registers -- CFLAGS_FOR_TARGET = -g -Os -Wa,-C -- CXXFLAGS_FOR_TARGET = -g -Os -Wa,-C -+ CFLAGS_FOR_TARGET += -g -Os -Wa,-C -+ CXXFLAGS_FOR_TARGET += -g -Os -Wa,-C -diff -urpN newlib-1.18.0.orig/config/mt-gnu newlib-1.18.0/config/mt-gnu ---- newlib-1.18.0.orig/config/mt-gnu 2017-04-11 00:51:26.740759083 -0700 -+++ newlib-1.18.0/config/mt-gnu 2017-04-11 00:55:51.114626557 -0700 -@@ -1 +1 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE -+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE -diff -urpN newlib-1.18.0.orig/config/mt-ospace newlib-1.18.0/config/mt-ospace ---- newlib-1.18.0.orig/config/mt-ospace 2017-04-11 00:51:26.740759083 -0700 -+++ newlib-1.18.0/config/mt-ospace 2017-04-11 00:55:51.114626557 -0700 -@@ -1,3 +1,3 @@ - # Build libraries optimizing for space, not speed. -- CFLAGS_FOR_TARGET = -g -Os -- CXXFLAGS_FOR_TARGET = -g -Os -+ CFLAGS_FOR_TARGET += -g -Os -+ CXXFLAGS_FOR_TARGET += -g -Os |