Add newlib 3.2.0, 3.3.0

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2020-02-23 01:22:38 -08:00
parent 0c5f61514b
commit b9600c9eba
8 changed files with 84 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,13 @@
---
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
- 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

4
packages/newlib/3.2.0/chksum vendored Normal file
View File

@ -0,0 +1,4 @@
md5 newlib-3.2.0.tar.gz afb3a01c8c82b6717ea55659a4de30ec
sha1 newlib-3.2.0.tar.gz 659c491ddb1713a37ba31ba0273efb56a53b89a9
sha256 newlib-3.2.0.tar.gz f7b2322964a1e3b37bec0768da20f50dfb62247d729110974dd95756a53bb6d4
sha512 newlib-3.2.0.tar.gz 8265d8f08333301a26632b4468b6fd30a33d1e85e9e0b40ad60916089839ea722dcccd87142c7fbcaaf0aacbc9d2b97f5f13a06fe6a512f5951bfc52aa07498d

0
packages/newlib/3.2.0/version.desc vendored Normal file
View File

View File

@ -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

View File

@ -0,0 +1,13 @@
---
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
- 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

4
packages/newlib/3.3.0/chksum vendored Normal file
View File

@ -0,0 +1,4 @@
md5 newlib-3.3.0.tar.gz af1c64d25eb3f71dec5ad7ec79877d7f
sha1 newlib-3.3.0.tar.gz ed1c5b65e8aa5b437f40875d8ae629a7d9b7e824
sha256 newlib-3.3.0.tar.gz 58dd9e3eaedf519360d92d84205c3deef0b3fc286685d1c562e245914ef72c66
sha512 newlib-3.3.0.tar.gz 2f0c6666487520e1a0af0b6935431f85d2359e27ded0d01d02567d0d1c6479f2f0e6bbc60405e88e46b92c2a18780a01a60fc9281f7e311cfd40b8d5881d629c

0
packages/newlib/3.3.0/version.desc vendored Normal file
View File