diff options
Diffstat (limited to 'packages/newlib/4.1.0')
6 files changed, 0 insertions, 158 deletions
diff --git a/packages/newlib/4.1.0/0000-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/4.1.0/0000-fix-unaligned-access-memcpy-m68k.patch deleted file mode 100644 index b6709d5a..00000000 --- a/packages/newlib/4.1.0/0000-fix-unaligned-access-memcpy-m68k.patch +++ /dev/null @@ -1,25 +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(-) - ---- 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/4.1.0/0001-fix-mt-cflags.patch b/packages/newlib/4.1.0/0001-fix-mt-cflags.patch deleted file mode 100644 index 24a9215d..00000000 --- a/packages/newlib/4.1.0/0001-fix-mt-cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- - 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 diff --git a/packages/newlib/4.1.0/0002-minimal-support-for-ts-18661-3.patch b/packages/newlib/4.1.0/0002-minimal-support-for-ts-18661-3.patch deleted file mode 100644 index cb437462..00000000 --- a/packages/newlib/4.1.0/0002-minimal-support-for-ts-18661-3.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 91f99d323b39dc0c06c40038791db9861d4b76b9 Mon Sep 17 00:00:00 2001 -From: Kito Cheng <kito.cheng@sifive.com> -Date: Mon, 12 Jul 2021 17:17:21 +0800 -Subject: [PATCH] Minimal support for ISO/IEC TS 18661-3. - - - GCC will set __FLT_EVAL_METHOD__ to 16 if __fp16 supported, e.g. - cortex-a55/aarch64. - - $ aarch64-unknown-elf-gcc -v 2>&1 |grep version - gcc version 9.2.0 (GCC) - - $ aarch64-unknown-elf-gcc -E -dM -mcpu=cortex-a55 - < /dev/null |grep FLT_EVAL_METHOD - #define __FLT_EVAL_METHOD__ 16 - #define __FLT_EVAL_METHOD_TS_18661_3__ 16 - #define __FLT_EVAL_METHOD_C99__ 16 - - The behavior of __FLT_EVAL_METHOD__ == 16 is same as - __FLT_EVAL_METHOD__ == 0 except for float16_t, but newlib didn't - support float16_t. - -ISO/IEC TS 18661-3: -http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2405.pdf - -V2 Changes: -- List Howland, Craig D as co-author since he provide the draft of comment - in math.h. - -Co-authored-by: "Howland, Craig D" <howland@LGSInnovations.com> ---- - newlib/libc/include/math.h | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - ---- a/newlib/libc/include/math.h -+++ b/newlib/libc/include/math.h -@@ -146,7 +146,17 @@ - #define __TMP_FLT_EVAL_METHOD - #endif /* FLT_EVAL_METHOD */ - #if defined FLT_EVAL_METHOD -- #if FLT_EVAL_METHOD == 0 -+/* FLT_EVAL_METHOD == 16 has meaning as defined in ISO/IEC TS 18661-3, -+ * which provides non-compliant extensions to C and POSIX (by adding -+ * additional positive values for FLT_EVAL_METHOD). It effectively has -+ * same meaning as the C99 and C11 definitions for value 0, while also -+ * serving as a flag that the _Float16 (float16_t) type exists. -+ * -+ * FLT_EVAL_METHOD could be any number of bits of supported floating point -+ * format (e.g. 32, 64, 128), but currently only AArch64 and few other targets -+ * might define that as 16. */ -+ #if (FLT_EVAL_METHOD == 0) \ -+ || (FLT_EVAL_METHOD == 16) - typedef float float_t; - typedef double double_t; - #elif FLT_EVAL_METHOD == 1 diff --git a/packages/newlib/4.1.0/0003-support-__FLT_EVAL_METHOD__-values.patch b/packages/newlib/4.1.0/0003-support-__FLT_EVAL_METHOD__-values.patch deleted file mode 100644 index 5dd2f8a4..00000000 --- a/packages/newlib/4.1.0/0003-support-__FLT_EVAL_METHOD__-values.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 27f0913c17c216548b2f5eea79037ee90038f375 Mon Sep 17 00:00:00 2001 -From: Andrea Corallo <andrea.corallo@arm.com> -Date: Wed, 30 Mar 2022 15:40:59 +0200 -Subject: [PATCH] Aarch32/64: Support __FLT_EVAL_METHOD__ values other than 0, - 1, 2 - -2022-03-30 Andrea Corallo <andrea.corallo@arm.com> - - * libc/include/machine/ieeefp.h (__FLOAT_TYPE, __DOUBLE_TYPE): New - macros. - * libc/include/math.h: Uses __DOUBLE_TYPE __FLOAT_TYPE to define - double_t float_t if possible. ---- - newlib/libc/include/machine/ieeefp.h | 14 ++++++++++++++ - newlib/libc/include/math.h | 9 +++++++++ - 2 files changed, 23 insertions(+) - ---- a/newlib/libc/include/machine/ieeefp.h -+++ b/newlib/libc/include/machine/ieeefp.h -@@ -90,6 +90,13 @@ - #ifndef __SOFTFP__ - # define _SUPPORTS_ERREXCEPT - #endif -+/* As per ISO/IEC TS 18661 '__FLT_EVAL_METHOD__' will be defined to 16 -+ (if compiling with +fp16 support) so it can't be used by math.h to -+ define float_t and double_t. For values of '__FLT_EVAL_METHOD__' -+ other than 0, 1, 2 the definition of float_t and double_t is -+ implementation-defined. */ -+#define __DOUBLE_TYPE double -+#define __FLOAT_TYPE float - #endif - - #if defined (__aarch64__) -@@ -102,6 +109,13 @@ - #ifdef __ARM_FP - # define _SUPPORTS_ERREXCEPT - #endif -+/* As per ISO/IEC TS 18661 '__FLT_EVAL_METHOD__' will be defined to 16 -+ (if compiling with +fp16 support) so it can't be used by math.h to -+ define float_t and double_t. For values of '__FLT_EVAL_METHOD__' -+ other than 0, 1, 2 the definition of float_t and double_t is -+ implementation-defined. */ -+#define __DOUBLE_TYPE double -+#define __FLOAT_TYPE float - #endif - - #ifdef __epiphany__ ---- a/newlib/libc/include/math.h -+++ b/newlib/libc/include/math.h -@@ -168,6 +168,15 @@ - #else - /* Implementation-defined. Assume float_t and double_t have been - * defined previously for this configuration (e.g. config.h). */ -+ -+ /* If __DOUBLE_TYPE is defined (__FLOAT_TYPE is then supposed to be -+ defined as well) float_t and double_t definition is suggested by -+ an arch specific header. */ -+ #ifdef __DOUBLE_TYPE -+ typedef __DOUBLE_TYPE double_t; -+ typedef __FLOAT_TYPE float_t; -+ #endif -+ /* Assume config.h has provided these types. */ - #endif - #else - /* Assume basic definitions. */ diff --git a/packages/newlib/4.1.0/chksum b/packages/newlib/4.1.0/chksum deleted file mode 100644 index 378765ab..00000000 --- a/packages/newlib/4.1.0/chksum +++ /dev/null @@ -1,4 +0,0 @@ -md5 newlib-4.1.0.tar.gz 5702b0f26f8d5613b703d64bb97b2790 -sha1 newlib-4.1.0.tar.gz 3f2536b591598e8e5c36f20f4d969266f81ab1ed -sha256 newlib-4.1.0.tar.gz f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154 -sha512 newlib-4.1.0.tar.gz 6a24b64bb8136e4cd9d21b8720a36f87a34397fd952520af66903e183455c5cf19bb0ee4607c12a05d139c6c59382263383cb62c461a839f969d23d3bc4b1d34 diff --git a/packages/newlib/4.1.0/version.desc b/packages/newlib/4.1.0/version.desc deleted file mode 100644 index fcfe3891..00000000 --- a/packages/newlib/4.1.0/version.desc +++ /dev/null @@ -1 +0,0 @@ -obsolete='yes' |