diff options
author | Alexey Neyman <stilor@att.net> | 2017-12-02 12:44:39 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-12-02 12:44:39 -0800 |
commit | 98bc4decdeab1361bdc585c86591718fb08c8ffb (patch) | |
tree | 4e048ed57988306696efa3c5b81a80d48030e913 /packages/newlib | |
parent | 2a1935f3ad41d360dd3d96a1b0486083293651dd (diff) | |
download | crosstool-ng-98bc4decdeab1361bdc585c86591718fb08c8ffb.tar.gz crosstool-ng-98bc4decdeab1361bdc585c86591718fb08c8ffb.tar.bz2 crosstool-ng-98bc4decdeab1361bdc585c86591718fb08c8ffb.zip |
Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/newlib')
48 files changed, 557 insertions, 516 deletions
diff --git a/packages/newlib/1.17.0/0000-fix-eabihf.patch b/packages/newlib/1.17.0/0000-fix-eabihf.patch new file mode 100644 index 00000000..66d56a17 --- /dev/null +++ b/packages/newlib/1.17.0/0000-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2540,7 +2540,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/1.17.0/200-fix-mt-cflags.patch b/packages/newlib/1.17.0/0001-fix-mt-cflags.patch index f97ba150..9984a7e6 100644 --- a/packages/newlib/1.17.0/200-fix-mt-cflags.patch +++ b/packages/newlib/1.17.0/0001-fix-mt-cflags.patch @@ -1,6 +1,11 @@ -diff -urpN newlib-1.17.0.orig/config/mt-d30v newlib-1.17.0/config/mt-d30v ---- newlib-1.17.0.orig/config/mt-d30v 2017-04-11 00:51:26.572757941 -0700 -+++ newlib-1.17.0/config/mt-d30v 2017-04-11 00:55:51.110626527 -0700 +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v @@ -1,4 +1,4 @@ # Build libraries optimizing for space, not speed. # Turn off warnings about symbols named the same as registers @@ -8,16 +13,14 @@ diff -urpN newlib-1.17.0.orig/config/mt-d30v newlib-1.17.0/config/mt-d30v - 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.17.0.orig/config/mt-gnu newlib-1.17.0/config/mt-gnu ---- newlib-1.17.0.orig/config/mt-gnu 2017-04-11 00:51:26.572757941 -0700 -+++ newlib-1.17.0/config/mt-gnu 2017-04-11 00:55:51.110626527 -0700 +--- a/config/mt-gnu ++++ b/config/mt-gnu @@ -1,2 +1,2 @@ -CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) \ +CXXFLAGS_FOR_TARGET += $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) \ $(DEBUG_PREFIX_CFLAGS_FOR_TARGET) -D_GNU_SOURCE -diff -urpN newlib-1.17.0.orig/config/mt-ospace newlib-1.17.0/config/mt-ospace ---- newlib-1.17.0.orig/config/mt-ospace 2017-04-11 00:51:26.572757941 -0700 -+++ newlib-1.17.0/config/mt-ospace 2017-04-11 00:55:51.110626527 -0700 +--- a/config/mt-ospace ++++ b/config/mt-ospace @@ -1,3 +1,3 @@ # Build libraries optimizing for space, not speed. - CFLAGS_FOR_TARGET = -g -Os diff --git a/packages/newlib/1.17.0/999-fix-arm-build.patch b/packages/newlib/1.17.0/0002-fix-arm-build.patch index 154a92f5..6b8170cd 100644 --- a/packages/newlib/1.17.0/999-fix-arm-build.patch +++ b/packages/newlib/1.17.0/0002-fix-arm-build.patch @@ -1,6 +1,9 @@ -diff -urpN newlib-1.17.0.orig/libgloss/arm/linux-syscalls0.S newlib-1.17.0/libgloss/arm/linux-syscalls0.S ---- newlib-1.17.0.orig/libgloss/arm/linux-syscalls0.S 2017-04-10 23:18:30.559142019 -0700 -+++ newlib-1.17.0/libgloss/arm/linux-syscalls0.S 2017-04-10 23:35:06.422568832 -0700 +--- + libgloss/arm/linux-syscalls0.S | 44 ----------------------------------------- + 1 file changed, 44 deletions(-) + +--- a/libgloss/arm/linux-syscalls0.S ++++ b/libgloss/arm/linux-syscalls0.S @@ -19,47 +19,6 @@ #define GLOBAL(name) .global name; FUNC(name) #define SIZE(name) .size name, .-name @@ -49,7 +52,7 @@ diff -urpN newlib-1.17.0.orig/libgloss/arm/linux-syscalls0.S newlib-1.17.0/libgl # define SYSCALL4(name) \ GLOBAL(_ ## name); \ swi #SYS_ ## name; \ -@@ -78,9 +37,6 @@ FUNC(_syscall3) +@@ -78,9 +37,6 @@ #define SYSCALL0(name) SYSCALL3(name) #define SYSCALL3(name) SYSCALL4(name) @@ -59,4 +62,3 @@ diff -urpN newlib-1.17.0.orig/libgloss/arm/linux-syscalls0.S newlib-1.17.0/libgl #define SYSCALL1(name) SYSCALL3(name) #define SYSCALL2(name) SYSCALL3(name) #define SYSCALL5(name) SYSCALL6(name) -Binary files newlib-1.17.0.orig/libgloss/arm/.linux-syscalls0.S.swp and newlib-1.17.0/libgloss/arm/.linux-syscalls0.S.swp differ diff --git a/packages/newlib/1.17.0/110-fix-eabihf.patch b/packages/newlib/1.17.0/110-fix-eabihf.patch deleted file mode 100644 index d896ad01..00000000 --- a/packages/newlib/1.17.0/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-1.17.0.orig/libgloss/arm/configure newlib-1.17.0/libgloss/arm/configure ---- newlib-1.17.0.orig/libgloss/arm/configure 2017-04-11 00:41:23.720866007 -0700 -+++ newlib-1.17.0/libgloss/arm/configure 2017-04-11 00:43:12.265788484 -0700 -@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-1.17.0.orig/libgloss/arm/configure.in newlib-1.17.0/libgloss/arm/configure.in ---- newlib-1.17.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:23.720866007 -0700 -+++ newlib-1.17.0/libgloss/arm/configure.in 2017-04-11 00:43:12.265788484 -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/packages/newlib/1.18.0/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/1.18.0/0000-fix-unaligned-access-memcpy-m68k.patch index 6214ee59..78da4e0d 100644 --- a/packages/newlib/1.18.0/100-fix-unaligned-access-memcpy-m68k.patch +++ b/packages/newlib/1.18.0/0000-fix-unaligned-access-memcpy-m68k.patch @@ -8,10 +8,8 @@ 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 +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S @@ -15,7 +15,7 @@ #include "m68kasm.h" diff --git a/packages/newlib/1.18.0/0001-fix-eabihf.patch b/packages/newlib/1.18.0/0001-fix-eabihf.patch new file mode 100644 index 00000000..66d56a17 --- /dev/null +++ b/packages/newlib/1.18.0/0001-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2540,7 +2540,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/1.18.0/0002-fix-mt-cflags.patch b/packages/newlib/1.18.0/0002-fix-mt-cflags.patch new file mode 100644 index 00000000..22c4642d --- /dev/null +++ b/packages/newlib/1.18.0/0002-fix-mt-cflags.patch @@ -0,0 +1,28 @@ +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v +@@ -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 +--- a/config/mt-gnu ++++ b/config/mt-gnu +@@ -1 +1 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE +--- a/config/mt-ospace ++++ b/config/mt-ospace +@@ -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 diff --git a/packages/newlib/1.18.0/110-fix-eabihf.patch b/packages/newlib/1.18.0/110-fix-eabihf.patch deleted file mode 100644 index c2868b93..00000000 --- a/packages/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/packages/newlib/1.18.0/200-fix-mt-cflags.patch b/packages/newlib/1.18.0/200-fix-mt-cflags.patch deleted file mode 100644 index 718e0c98..00000000 --- a/packages/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 diff --git a/packages/newlib/1.19.0/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/1.19.0/0000-fix-unaligned-access-memcpy-m68k.patch index 191363a6..87f16ddb 100644 --- a/packages/newlib/1.19.0/100-fix-unaligned-access-memcpy-m68k.patch +++ b/packages/newlib/1.19.0/0000-fix-unaligned-access-memcpy-m68k.patch @@ -10,10 +10,8 @@ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> newlib/libc/machine/m68k/memcpy.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: newlib-1.19.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.19.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.19.0/newlib/libc/machine/m68k/memcpy.S +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S @@ -15,7 +15,7 @@ #include "m68kasm.h" diff --git a/packages/newlib/1.19.0/0001-fix-eabihf.patch b/packages/newlib/1.19.0/0001-fix-eabihf.patch new file mode 100644 index 00000000..66d56a17 --- /dev/null +++ b/packages/newlib/1.19.0/0001-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2540,7 +2540,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/1.19.0/0002-fix-mt-cflags.patch b/packages/newlib/1.19.0/0002-fix-mt-cflags.patch new file mode 100644 index 00000000..22c4642d --- /dev/null +++ b/packages/newlib/1.19.0/0002-fix-mt-cflags.patch @@ -0,0 +1,28 @@ +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v +@@ -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 +--- a/config/mt-gnu ++++ b/config/mt-gnu +@@ -1 +1 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE +--- a/config/mt-ospace ++++ b/config/mt-ospace +@@ -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 diff --git a/packages/newlib/1.19.0/110-fix-eabihf.patch b/packages/newlib/1.19.0/110-fix-eabihf.patch deleted file mode 100644 index 69ddff34..00000000 --- a/packages/newlib/1.19.0/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-1.19.0.orig/libgloss/arm/configure newlib-1.19.0/libgloss/arm/configure ---- newlib-1.19.0.orig/libgloss/arm/configure 2017-04-11 00:41:24.072868994 -0700 -+++ newlib-1.19.0/libgloss/arm/configure 2017-04-11 00:43:12.281788619 -0700 -@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-1.19.0.orig/libgloss/arm/configure.in newlib-1.19.0/libgloss/arm/configure.in ---- newlib-1.19.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:24.072868994 -0700 -+++ newlib-1.19.0/libgloss/arm/configure.in 2017-04-11 00:43:12.281788619 -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/packages/newlib/1.19.0/200-fix-mt-cflags.patch b/packages/newlib/1.19.0/200-fix-mt-cflags.patch deleted file mode 100644 index 9158e907..00000000 --- a/packages/newlib/1.19.0/200-fix-mt-cflags.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urpN newlib-1.19.0.orig/config/mt-d30v newlib-1.19.0/config/mt-d30v ---- newlib-1.19.0.orig/config/mt-d30v 2017-04-11 00:51:26.912760252 -0700 -+++ newlib-1.19.0/config/mt-d30v 2017-04-11 00:55:51.118626585 -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.19.0.orig/config/mt-gnu newlib-1.19.0/config/mt-gnu ---- newlib-1.19.0.orig/config/mt-gnu 2017-04-11 00:51:26.912760252 -0700 -+++ newlib-1.19.0/config/mt-gnu 2017-04-11 00:55:51.118626585 -0700 -@@ -1 +1 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE -+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE -diff -urpN newlib-1.19.0.orig/config/mt-ospace newlib-1.19.0/config/mt-ospace ---- newlib-1.19.0.orig/config/mt-ospace 2017-04-11 00:51:26.912760252 -0700 -+++ newlib-1.19.0/config/mt-ospace 2017-04-11 00:55:51.118626585 -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 diff --git a/packages/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/1.20.0/0000-fix-unaligned-access-memcpy-m68k.patch index 1d0b49be..b6709d5a 100644 --- a/packages/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch +++ b/packages/newlib/1.20.0/0000-fix-unaligned-access-memcpy-m68k.patch @@ -12,10 +12,8 @@ Signed-off-by: Austin Morton <austinpmorton@gmail.com> newlib/libc/machine/m68k/memcpy.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S @@ -15,7 +15,7 @@ #include "m68kasm.h" diff --git a/packages/newlib/1.20.0/0001-fix-eabihf.patch b/packages/newlib/1.20.0/0001-fix-eabihf.patch new file mode 100644 index 00000000..66d56a17 --- /dev/null +++ b/packages/newlib/1.20.0/0001-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2540,7 +2540,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/1.20.0/0002-fix-mt-cflags.patch b/packages/newlib/1.20.0/0002-fix-mt-cflags.patch new file mode 100644 index 00000000..22c4642d --- /dev/null +++ b/packages/newlib/1.20.0/0002-fix-mt-cflags.patch @@ -0,0 +1,28 @@ +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v +@@ -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 +--- a/config/mt-gnu ++++ b/config/mt-gnu +@@ -1 +1 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE +--- a/config/mt-ospace ++++ b/config/mt-ospace +@@ -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 diff --git a/packages/newlib/1.20.0/110-fix-eabihf.patch b/packages/newlib/1.20.0/110-fix-eabihf.patch deleted file mode 100644 index 8e30823b..00000000 --- a/packages/newlib/1.20.0/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-1.20.0.orig/libgloss/arm/configure newlib-1.20.0/libgloss/arm/configure ---- newlib-1.20.0.orig/libgloss/arm/configure 2017-04-11 00:41:24.120869401 -0700 -+++ newlib-1.20.0/libgloss/arm/configure 2017-04-11 00:43:12.289788688 -0700 -@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-1.20.0.orig/libgloss/arm/configure.in newlib-1.20.0/libgloss/arm/configure.in ---- newlib-1.20.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:24.120869401 -0700 -+++ newlib-1.20.0/libgloss/arm/configure.in 2017-04-11 00:43:12.289788688 -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/packages/newlib/1.20.0/200-fix-mt-cflags.patch b/packages/newlib/1.20.0/200-fix-mt-cflags.patch deleted file mode 100644 index b470af7d..00000000 --- a/packages/newlib/1.20.0/200-fix-mt-cflags.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urpN newlib-1.20.0.orig/config/mt-d30v newlib-1.20.0/config/mt-d30v ---- newlib-1.20.0.orig/config/mt-d30v 2017-04-11 00:51:27.080761393 -0700 -+++ newlib-1.20.0/config/mt-d30v 2017-04-11 00:55:51.122626615 -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.20.0.orig/config/mt-gnu newlib-1.20.0/config/mt-gnu ---- newlib-1.20.0.orig/config/mt-gnu 2017-04-11 00:51:27.080761393 -0700 -+++ newlib-1.20.0/config/mt-gnu 2017-04-11 00:55:51.122626615 -0700 -@@ -1 +1 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE -+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE -diff -urpN newlib-1.20.0.orig/config/mt-ospace newlib-1.20.0/config/mt-ospace ---- newlib-1.20.0.orig/config/mt-ospace 2017-04-11 00:51:27.080761393 -0700 -+++ newlib-1.20.0/config/mt-ospace 2017-04-11 00:55:51.122626615 -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 diff --git a/packages/newlib/2.0.0/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.0.0/0000-fix-unaligned-access-memcpy-m68k.patch index 1d0b49be..b6709d5a 100644 --- a/packages/newlib/2.0.0/100-fix-unaligned-access-memcpy-m68k.patch +++ b/packages/newlib/2.0.0/0000-fix-unaligned-access-memcpy-m68k.patch @@ -12,10 +12,8 @@ Signed-off-by: Austin Morton <austinpmorton@gmail.com> newlib/libc/machine/m68k/memcpy.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S @@ -15,7 +15,7 @@ #include "m68kasm.h" diff --git a/packages/newlib/2.0.0/0001-fix-eabihf.patch b/packages/newlib/2.0.0/0001-fix-eabihf.patch new file mode 100644 index 00000000..66d56a17 --- /dev/null +++ b/packages/newlib/2.0.0/0001-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2540,7 +2540,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/2.0.0/0002-fix-mt-cflags.patch b/packages/newlib/2.0.0/0002-fix-mt-cflags.patch new file mode 100644 index 00000000..22c4642d --- /dev/null +++ b/packages/newlib/2.0.0/0002-fix-mt-cflags.patch @@ -0,0 +1,28 @@ +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v +@@ -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 +--- a/config/mt-gnu ++++ b/config/mt-gnu +@@ -1 +1 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE +--- a/config/mt-ospace ++++ b/config/mt-ospace +@@ -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 diff --git a/packages/newlib/2.0.0/110-fix-eabihf.patch b/packages/newlib/2.0.0/110-fix-eabihf.patch deleted file mode 100644 index 5bb24059..00000000 --- a/packages/newlib/2.0.0/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-2.0.0.orig/libgloss/arm/configure newlib-2.0.0/libgloss/arm/configure ---- newlib-2.0.0.orig/libgloss/arm/configure 2017-04-11 00:41:24.304870963 -0700 -+++ newlib-2.0.0/libgloss/arm/configure 2017-04-11 00:43:12.297788756 -0700 -@@ -2540,7 +2540,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-2.0.0.orig/libgloss/arm/configure.in newlib-2.0.0/libgloss/arm/configure.in ---- newlib-2.0.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:24.304870963 -0700 -+++ newlib-2.0.0/libgloss/arm/configure.in 2017-04-11 00:43:12.297788756 -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/packages/newlib/2.0.0/200-fix-mt-cflags.patch b/packages/newlib/2.0.0/200-fix-mt-cflags.patch deleted file mode 100644 index d2b0529d..00000000 --- a/packages/newlib/2.0.0/200-fix-mt-cflags.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urpN newlib-2.0.0.orig/config/mt-d30v newlib-2.0.0/config/mt-d30v ---- newlib-2.0.0.orig/config/mt-d30v 2017-04-11 00:51:27.256762590 -0700 -+++ newlib-2.0.0/config/mt-d30v 2017-04-11 00:55:51.126626644 -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-2.0.0.orig/config/mt-gnu newlib-2.0.0/config/mt-gnu ---- newlib-2.0.0.orig/config/mt-gnu 2017-04-11 00:51:27.256762590 -0700 -+++ newlib-2.0.0/config/mt-gnu 2017-04-11 00:55:51.126626644 -0700 -@@ -1 +1 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE -+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE -diff -urpN newlib-2.0.0.orig/config/mt-ospace newlib-2.0.0/config/mt-ospace ---- newlib-2.0.0.orig/config/mt-ospace 2017-04-11 00:51:27.256762590 -0700 -+++ newlib-2.0.0/config/mt-ospace 2017-04-11 00:55:51.126626644 -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 diff --git a/packages/newlib/2.2.0.20151023/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.1.0/0000-fix-unaligned-access-memcpy-m68k.patch index 1d0b49be..b6709d5a 100644 --- a/packages/newlib/2.2.0.20151023/100-fix-unaligned-access-memcpy-m68k.patch +++ b/packages/newlib/2.1.0/0000-fix-unaligned-access-memcpy-m68k.patch @@ -12,10 +12,8 @@ Signed-off-by: Austin Morton <austinpmorton@gmail.com> newlib/libc/machine/m68k/memcpy.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S @@ -15,7 +15,7 @@ #include "m68kasm.h" diff --git a/packages/newlib/2.1.0/0001-fix-eabihf.patch b/packages/newlib/2.1.0/0001-fix-eabihf.patch new file mode 100644 index 00000000..ecb5c373 --- /dev/null +++ b/packages/newlib/2.1.0/0001-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2541,7 +2541,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi) ++ *-*-elf | *-*-eabi*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/2.1.0/0002-fix-mt-cflags.patch b/packages/newlib/2.1.0/0002-fix-mt-cflags.patch new file mode 100644 index 00000000..22c4642d --- /dev/null +++ b/packages/newlib/2.1.0/0002-fix-mt-cflags.patch @@ -0,0 +1,28 @@ +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v +@@ -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 +--- a/config/mt-gnu ++++ b/config/mt-gnu +@@ -1 +1 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE +--- a/config/mt-ospace ++++ b/config/mt-ospace +@@ -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 diff --git a/packages/newlib/2.1.0/110-fix-eabihf.patch b/packages/newlib/2.1.0/110-fix-eabihf.patch deleted file mode 100644 index 5f91a23f..00000000 --- a/packages/newlib/2.1.0/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-2.1.0.orig/libgloss/arm/configure newlib-2.1.0/libgloss/arm/configure ---- newlib-2.1.0.orig/libgloss/arm/configure 2017-04-11 00:41:24.592873407 -0700 -+++ newlib-2.1.0/libgloss/arm/configure 2017-04-11 00:43:12.305788823 -0700 -@@ -2541,7 +2541,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi) -+ *-*-elf | *-*-eabi*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-2.1.0.orig/libgloss/arm/configure.in newlib-2.1.0/libgloss/arm/configure.in ---- newlib-2.1.0.orig/libgloss/arm/configure.in 2017-04-11 00:41:24.592873407 -0700 -+++ newlib-2.1.0/libgloss/arm/configure.in 2017-04-11 00:43:12.305788823 -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/packages/newlib/2.1.0/200-fix-mt-cflags.patch b/packages/newlib/2.1.0/200-fix-mt-cflags.patch deleted file mode 100644 index 57839eda..00000000 --- a/packages/newlib/2.1.0/200-fix-mt-cflags.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urpN newlib-2.1.0.orig/config/mt-d30v newlib-2.1.0/config/mt-d30v ---- newlib-2.1.0.orig/config/mt-d30v 2017-04-11 00:51:27.380763434 -0700 -+++ newlib-2.1.0/config/mt-d30v 2017-04-11 00:55:51.130626674 -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-2.1.0.orig/config/mt-gnu newlib-2.1.0/config/mt-gnu ---- newlib-2.1.0.orig/config/mt-gnu 2017-04-11 00:51:27.380763434 -0700 -+++ newlib-2.1.0/config/mt-gnu 2017-04-11 00:55:51.130626674 -0700 -@@ -1 +1 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE -+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE -diff -urpN newlib-2.1.0.orig/config/mt-ospace newlib-2.1.0/config/mt-ospace ---- newlib-2.1.0.orig/config/mt-ospace 2017-04-11 00:51:27.380763434 -0700 -+++ newlib-2.1.0/config/mt-ospace 2017-04-11 00:55:51.130626674 -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 diff --git a/packages/newlib/2.1.0/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.2.0.20151023/0000-fix-unaligned-access-memcpy-m68k.patch index 1d0b49be..b6709d5a 100644 --- a/packages/newlib/2.1.0/100-fix-unaligned-access-memcpy-m68k.patch +++ b/packages/newlib/2.2.0.20151023/0000-fix-unaligned-access-memcpy-m68k.patch @@ -12,10 +12,8 @@ Signed-off-by: Austin Morton <austinpmorton@gmail.com> newlib/libc/machine/m68k/memcpy.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S @@ -15,7 +15,7 @@ #include "m68kasm.h" diff --git a/packages/newlib/2.2.0.20151023/0001-fix-eabihf.patch b/packages/newlib/2.2.0.20151023/0001-fix-eabihf.patch new file mode 100644 index 00000000..f2955930 --- /dev/null +++ b/packages/newlib/2.2.0.20151023/0001-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2531,7 +2531,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi | *-*-tirtos*) ++ *-*-elf | *-*-eabi* | *-*-tirtos*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi | *-*-tirtos*) ++ *-*-elf | *-*-eabi* | *-*-tirtos*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/2.2.0.20151023/0002-fix-mt-cflags.patch b/packages/newlib/2.2.0.20151023/0002-fix-mt-cflags.patch new file mode 100644 index 00000000..22c4642d --- /dev/null +++ b/packages/newlib/2.2.0.20151023/0002-fix-mt-cflags.patch @@ -0,0 +1,28 @@ +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v +@@ -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 +--- a/config/mt-gnu ++++ b/config/mt-gnu +@@ -1 +1 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE +--- a/config/mt-ospace ++++ b/config/mt-ospace +@@ -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 diff --git a/packages/newlib/2.2.0.20151023/110-fix-eabihf.patch b/packages/newlib/2.2.0.20151023/110-fix-eabihf.patch deleted file mode 100644 index 2d5a3ff9..00000000 --- a/packages/newlib/2.2.0.20151023/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-2.2.0.20151023.orig/libgloss/arm/configure newlib-2.2.0.20151023/libgloss/arm/configure ---- newlib-2.2.0.20151023.orig/libgloss/arm/configure 2017-04-11 00:41:24.816875309 -0700 -+++ newlib-2.2.0.20151023/libgloss/arm/configure 2017-04-11 00:43:12.313788892 -0700 -@@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi | *-*-tirtos*) -+ *-*-elf | *-*-eabi* | *-*-tirtos*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-2.2.0.20151023.orig/libgloss/arm/configure.in newlib-2.2.0.20151023/libgloss/arm/configure.in ---- newlib-2.2.0.20151023.orig/libgloss/arm/configure.in 2017-04-11 00:41:24.816875309 -0700 -+++ newlib-2.2.0.20151023/libgloss/arm/configure.in 2017-04-11 00:43:12.313788892 -0700 -@@ -49,7 +49,7 @@ AC_PROG_RANLIB - LIB_AM_PROG_AS - - case "${target}" in -- *-*-elf | *-*-eabi | *-*-tirtos*) -+ *-*-elf | *-*-eabi* | *-*-tirtos*) - objtype=elf- - ;; - *-*-coff) diff --git a/packages/newlib/2.2.0.20151023/200-fix-mt-cflags.patch b/packages/newlib/2.2.0.20151023/200-fix-mt-cflags.patch deleted file mode 100644 index e1d8c026..00000000 --- a/packages/newlib/2.2.0.20151023/200-fix-mt-cflags.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urpN newlib-2.2.0.20151023.orig/config/mt-d30v newlib-2.2.0.20151023/config/mt-d30v ---- newlib-2.2.0.20151023.orig/config/mt-d30v 2017-04-11 00:51:27.580764794 -0700 -+++ newlib-2.2.0.20151023/config/mt-d30v 2017-04-11 00:55:51.130626674 -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-2.2.0.20151023.orig/config/mt-gnu newlib-2.2.0.20151023/config/mt-gnu ---- newlib-2.2.0.20151023.orig/config/mt-gnu 2017-04-11 00:51:27.576764766 -0700 -+++ newlib-2.2.0.20151023/config/mt-gnu 2017-04-11 00:55:51.130626674 -0700 -@@ -1 +1 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE -+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE -diff -urpN newlib-2.2.0.20151023.orig/config/mt-ospace newlib-2.2.0.20151023/config/mt-ospace ---- newlib-2.2.0.20151023.orig/config/mt-ospace 2017-04-11 00:51:27.576764766 -0700 -+++ newlib-2.2.0.20151023/config/mt-ospace 2017-04-11 00:55:51.130626674 -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 diff --git a/packages/newlib/2.3.0.20160226/0000-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.3.0.20160226/0000-fix-unaligned-access-memcpy-m68k.patch new file mode 100644 index 00000000..b6709d5a --- /dev/null +++ b/packages/newlib/2.3.0.20160226/0000-fix-unaligned-access-memcpy-m68k.patch @@ -0,0 +1,25 @@ +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> +[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0] +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> +[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0] +Signed-off-by: Austin Morton <austinpmorton@gmail.com> +--- + newlib/libc/machine/m68k/memcpy.S | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S +@@ -15,7 +15,7 @@ + + #include "m68kasm.h" + +-#if defined (__mcoldfire__) || 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/packages/newlib/2.3.0.20160226/0001-fix-eabihf.patch b/packages/newlib/2.3.0.20160226/0001-fix-eabihf.patch new file mode 100644 index 00000000..f2955930 --- /dev/null +++ b/packages/newlib/2.3.0.20160226/0001-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2531,7 +2531,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi | *-*-tirtos*) ++ *-*-elf | *-*-eabi* | *-*-tirtos*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi | *-*-tirtos*) ++ *-*-elf | *-*-eabi* | *-*-tirtos*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/2.3.0.20160226/0002-fix-mt-cflags.patch b/packages/newlib/2.3.0.20160226/0002-fix-mt-cflags.patch new file mode 100644 index 00000000..22c4642d --- /dev/null +++ b/packages/newlib/2.3.0.20160226/0002-fix-mt-cflags.patch @@ -0,0 +1,28 @@ +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v +@@ -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 +--- a/config/mt-gnu ++++ b/config/mt-gnu +@@ -1 +1 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE +--- a/config/mt-ospace ++++ b/config/mt-ospace +@@ -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 diff --git a/packages/newlib/2.3.0.20160226/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.3.0.20160226/100-fix-unaligned-access-memcpy-m68k.patch deleted file mode 100644 index 1d0b49be..00000000 --- a/packages/newlib/2.3.0.20160226/100-fix-unaligned-access-memcpy-m68k.patch +++ /dev/null @@ -1,27 +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> -[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0] -Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> -[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0] -Signed-off-by: Austin Morton <austinpmorton@gmail.com> ---- - newlib/libc/machine/m68k/memcpy.S | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -@@ -15,7 +15,7 @@ - - #include "m68kasm.h" - --#if defined (__mcoldfire__) || 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/packages/newlib/2.3.0.20160226/110-fix-eabihf.patch b/packages/newlib/2.3.0.20160226/110-fix-eabihf.patch deleted file mode 100644 index 37d8842d..00000000 --- a/packages/newlib/2.3.0.20160226/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-2.3.0.20160226.orig/libgloss/arm/configure newlib-2.3.0.20160226/libgloss/arm/configure ---- newlib-2.3.0.20160226.orig/libgloss/arm/configure 2017-04-11 00:41:25.064877413 -0700 -+++ newlib-2.3.0.20160226/libgloss/arm/configure 2017-04-11 00:43:12.321788960 -0700 -@@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi | *-*-tirtos*) -+ *-*-elf | *-*-eabi* | *-*-tirtos*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-2.3.0.20160226.orig/libgloss/arm/configure.in newlib-2.3.0.20160226/libgloss/arm/configure.in ---- newlib-2.3.0.20160226.orig/libgloss/arm/configure.in 2017-04-11 00:41:25.064877413 -0700 -+++ newlib-2.3.0.20160226/libgloss/arm/configure.in 2017-04-11 00:43:12.321788960 -0700 -@@ -49,7 +49,7 @@ AC_PROG_RANLIB - LIB_AM_PROG_AS - - case "${target}" in -- *-*-elf | *-*-eabi | *-*-tirtos*) -+ *-*-elf | *-*-eabi* | *-*-tirtos*) - objtype=elf- - ;; - *-*-coff) diff --git a/packages/newlib/2.3.0.20160226/200-fix-mt-cflags.patch b/packages/newlib/2.3.0.20160226/200-fix-mt-cflags.patch deleted file mode 100644 index 8c080e47..00000000 --- a/packages/newlib/2.3.0.20160226/200-fix-mt-cflags.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urpN newlib-2.3.0.20160226.orig/config/mt-d30v newlib-2.3.0.20160226/config/mt-d30v ---- newlib-2.3.0.20160226.orig/config/mt-d30v 2017-04-11 00:51:27.736765855 -0700 -+++ newlib-2.3.0.20160226/config/mt-d30v 2017-04-11 00:55:51.134626702 -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-2.3.0.20160226.orig/config/mt-gnu newlib-2.3.0.20160226/config/mt-gnu ---- newlib-2.3.0.20160226.orig/config/mt-gnu 2017-04-11 00:51:27.736765855 -0700 -+++ newlib-2.3.0.20160226/config/mt-gnu 2017-04-11 00:55:51.134626702 -0700 -@@ -1 +1 @@ --CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE -+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE -diff -urpN newlib-2.3.0.20160226.orig/config/mt-ospace newlib-2.3.0.20160226/config/mt-ospace ---- newlib-2.3.0.20160226.orig/config/mt-ospace 2017-04-11 00:51:27.736765855 -0700 -+++ newlib-2.3.0.20160226/config/mt-ospace 2017-04-11 00:55:51.134626702 -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 diff --git a/packages/newlib/2.4.0.20161025/0000-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.4.0.20161025/0000-fix-unaligned-access-memcpy-m68k.patch new file mode 100644 index 00000000..b6709d5a --- /dev/null +++ b/packages/newlib/2.4.0.20161025/0000-fix-unaligned-access-memcpy-m68k.patch @@ -0,0 +1,25 @@ +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> +[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0] +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> +[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0] +Signed-off-by: Austin Morton <austinpmorton@gmail.com> +--- + newlib/libc/machine/m68k/memcpy.S | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S +@@ -15,7 +15,7 @@ + + #include "m68kasm.h" + +-#if defined (__mcoldfire__) || 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/packages/newlib/2.4.0.20161025/0001-fix-eabihf.patch b/packages/newlib/2.4.0.20161025/0001-fix-eabihf.patch new file mode 100644 index 00000000..f2955930 --- /dev/null +++ b/packages/newlib/2.4.0.20161025/0001-fix-eabihf.patch @@ -0,0 +1,27 @@ +--- + libgloss/arm/configure | 2 +- + libgloss/arm/configure.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/libgloss/arm/configure ++++ b/libgloss/arm/configure +@@ -2531,7 +2531,7 @@ + + + case "${target}" in +- *-*-elf | *-*-eabi | *-*-tirtos*) ++ *-*-elf | *-*-eabi* | *-*-tirtos*) + objtype=elf- + ;; + *-*-coff) +--- a/libgloss/arm/configure.in ++++ b/libgloss/arm/configure.in +@@ -49,7 +49,7 @@ + LIB_AM_PROG_AS + + case "${target}" in +- *-*-elf | *-*-eabi | *-*-tirtos*) ++ *-*-elf | *-*-eabi* | *-*-tirtos*) + objtype=elf- + ;; + *-*-coff) diff --git a/packages/newlib/2.4.0.20161025/200-fix-mt-cflags.patch b/packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch index dcf68262..24a9215d 100644 --- a/packages/newlib/2.4.0.20161025/200-fix-mt-cflags.patch +++ b/packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch @@ -1,6 +1,9 @@ -diff -urpN newlib-2.4.0.20161025.orig/config/mt-d30v newlib-2.4.0.20161025/config/mt-d30v ---- newlib-2.4.0.20161025.orig/config/mt-d30v 2017-04-11 00:51:27.980767513 -0700 -+++ newlib-2.4.0.20161025/config/mt-d30v 2017-04-11 00:55:51.138626731 -0700 +--- + config/mt-d30v | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v @@ -1,4 +1,4 @@ # Build libraries optimizing for space, not speed. # Turn off warnings about symbols named the same as registers diff --git a/packages/newlib/2.4.0.20161025/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.4.0.20161025/100-fix-unaligned-access-memcpy-m68k.patch deleted file mode 100644 index 1d0b49be..00000000 --- a/packages/newlib/2.4.0.20161025/100-fix-unaligned-access-memcpy-m68k.patch +++ /dev/null @@ -1,27 +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> -[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0] -Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> -[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0] -Signed-off-by: Austin Morton <austinpmorton@gmail.com> ---- - newlib/libc/machine/m68k/memcpy.S | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -@@ -15,7 +15,7 @@ - - #include "m68kasm.h" - --#if defined (__mcoldfire__) || 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/packages/newlib/2.4.0.20161025/110-fix-eabihf.patch b/packages/newlib/2.4.0.20161025/110-fix-eabihf.patch deleted file mode 100644 index 65122f17..00000000 --- a/packages/newlib/2.4.0.20161025/110-fix-eabihf.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urpN newlib-2.4.0.20161025.orig/libgloss/arm/configure newlib-2.4.0.20161025/libgloss/arm/configure ---- newlib-2.4.0.20161025.orig/libgloss/arm/configure 2017-04-11 00:41:25.240878908 -0700 -+++ newlib-2.4.0.20161025/libgloss/arm/configure 2017-04-11 00:43:12.325788994 -0700 -@@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLA - - - case "${target}" in -- *-*-elf | *-*-eabi | *-*-tirtos*) -+ *-*-elf | *-*-eabi* | *-*-tirtos*) - objtype=elf- - ;; - *-*-coff) -diff -urpN newlib-2.4.0.20161025.orig/libgloss/arm/configure.in newlib-2.4.0.20161025/libgloss/arm/configure.in ---- newlib-2.4.0.20161025.orig/libgloss/arm/configure.in 2017-04-11 00:41:25.236878874 -0700 -+++ newlib-2.4.0.20161025/libgloss/arm/configure.in 2017-04-11 00:43:12.325788994 -0700 -@@ -49,7 +49,7 @@ AC_PROG_RANLIB - LIB_AM_PROG_AS - - case "${target}" in -- *-*-elf | *-*-eabi | *-*-tirtos*) -+ *-*-elf | *-*-eabi* | *-*-tirtos*) - objtype=elf- - ;; - *-*-coff) diff --git a/packages/newlib/2.5.0.20170922/0000-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.5.0.20170922/0000-fix-unaligned-access-memcpy-m68k.patch new file mode 100644 index 00000000..b6709d5a --- /dev/null +++ b/packages/newlib/2.5.0.20170922/0000-fix-unaligned-access-memcpy-m68k.patch @@ -0,0 +1,25 @@ +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> +[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0] +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> +[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0] +Signed-off-by: Austin Morton <austinpmorton@gmail.com> +--- + newlib/libc/machine/m68k/memcpy.S | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/newlib/libc/machine/m68k/memcpy.S +@@ -15,7 +15,7 @@ + + #include "m68kasm.h" + +-#if defined (__mcoldfire__) || 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/packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch b/packages/newlib/2.5.0.20170922/0001-fix-mt-cflags.patch index cc155510..24a9215d 100644 --- a/packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch +++ b/packages/newlib/2.5.0.20170922/0001-fix-mt-cflags.patch @@ -1,6 +1,9 @@ -diff -urpN newlib-2.5.0.20170323.orig/config/mt-d30v newlib-2.5.0.20170323/config/mt-d30v ---- newlib-2.5.0.20170323.orig/config/mt-d30v 2017-04-11 00:51:28.180768874 -0700 -+++ newlib-2.5.0.20170323/config/mt-d30v 2017-04-11 00:55:51.138626731 -0700 +--- + config/mt-d30v | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/config/mt-d30v ++++ b/config/mt-d30v @@ -1,4 +1,4 @@ # Build libraries optimizing for space, not speed. # Turn off warnings about symbols named the same as registers diff --git a/packages/newlib/2.5.0.20170922/100-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/2.5.0.20170922/100-fix-unaligned-access-memcpy-m68k.patch deleted file mode 100644 index 1d0b49be..00000000 --- a/packages/newlib/2.5.0.20170922/100-fix-unaligned-access-memcpy-m68k.patch +++ /dev/null @@ -1,27 +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> -[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0] -Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> -[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0] -Signed-off-by: Austin Morton <austinpmorton@gmail.com> ---- - newlib/libc/machine/m68k/memcpy.S | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -=================================================================== ---- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S -+++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S -@@ -15,7 +15,7 @@ - - #include "m68kasm.h" - --#if defined (__mcoldfire__) || 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 |