mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-16 23:38:54 +00:00
newlib: Drop obsolete versions
Drop versions of newlib that were marked obsolete in the last release. Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
62ddf6870f
commit
84aa309332
@ -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
|
@ -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
|
4
packages/newlib/2.5.0.20171222/chksum
vendored
4
packages/newlib/2.5.0.20171222/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 newlib-2.5.0.20171222.tar.gz 98215f83a542fdde946c11661a34ab3f
|
||||
sha1 newlib-2.5.0.20171222.tar.gz 196e5c4dd72210b84394cc006e7579652368748f
|
||||
sha256 newlib-2.5.0.20171222.tar.gz d2bf5d0f375381a9e6888e3074ac0e4cae72a7a748a05ef24f81b8df5328ef31
|
||||
sha512 newlib-2.5.0.20171222.tar.gz 753a948b96611a75c709e477991117510975a9274f4e6f13f9092b229cae3da48a4a08d339745c00f54fa28584eb471d704f87c997faa9b852771d7bd2cd7f9d
|
1
packages/newlib/2.5.0.20171222/version.desc
vendored
1
packages/newlib/2.5.0.20171222/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
@ -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
|
@ -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
|
4
packages/newlib/3.0.0.20180831/chksum
vendored
4
packages/newlib/3.0.0.20180831/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 newlib-3.0.0.20180831.tar.gz b55db6531699879591e9fc7e4c2adc51
|
||||
sha1 newlib-3.0.0.20180831.tar.gz 375fdf790bbce1f06c28aa7ce78231965f90e3bf
|
||||
sha256 newlib-3.0.0.20180831.tar.gz 3ad3664f227357df15ff34e954bfd9f501009a647667cd307bf0658aefd6eb5b
|
||||
sha512 newlib-3.0.0.20180831.tar.gz c195111ac61458fccbd700345cd8ed7806776b3d16557e9a86fbcdf0ff5f544bff7eb701e84defb3f6b4d6fc00674163fa89aead1b171ed3281470a4f6306d1f
|
1
packages/newlib/3.0.0.20180831/version.desc
vendored
1
packages/newlib/3.0.0.20180831/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
@ -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
|
@ -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
|
4
packages/newlib/3.1.0.20181231/chksum
vendored
4
packages/newlib/3.1.0.20181231/chksum
vendored
@ -1,4 +0,0 @@
|
||||
md5 newlib-3.1.0.20181231.tar.gz d25fd33b39147d79741faece37dd33a8
|
||||
sha1 newlib-3.1.0.20181231.tar.gz 82e378ae860308da57a4ec0327b8de150dce9451
|
||||
sha256 newlib-3.1.0.20181231.tar.gz 9e12fea7297648b114434033ed4458755afe7b9b6c7d58123389e82bd37681c0
|
||||
sha512 newlib-3.1.0.20181231.tar.gz 5c9035da51a86971095ae71c38a2806919abc0191ec1a91287bebb42881dcf23e74d414b0028fb2d323ffb82dd9b94a093d73dd1c05bd7ac03c08011355ed8a3
|
1
packages/newlib/3.1.0.20181231/version.desc
vendored
1
packages/newlib/3.1.0.20181231/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
@ -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
|
13
packages/newlib/3.2.0/0001-fix-mt-cflags.patch
vendored
13
packages/newlib/3.2.0/0001-fix-mt-cflags.patch
vendored
@ -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
|
4
packages/newlib/3.2.0/chksum
vendored
4
packages/newlib/3.2.0/chksum
vendored
@ -1,4 +0,0 @@
|
||||
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
|
1
packages/newlib/3.2.0/version.desc
vendored
1
packages/newlib/3.2.0/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
@ -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
|
13
packages/newlib/3.3.0/0001-fix-mt-cflags.patch
vendored
13
packages/newlib/3.3.0/0001-fix-mt-cflags.patch
vendored
@ -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
|
4
packages/newlib/3.3.0/chksum
vendored
4
packages/newlib/3.3.0/chksum
vendored
@ -1,4 +0,0 @@
|
||||
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
|
1
packages/newlib/3.3.0/version.desc
vendored
1
packages/newlib/3.3.0/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
@ -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
|
13
packages/newlib/4.1.0/0001-fix-mt-cflags.patch
vendored
13
packages/newlib/4.1.0/0001-fix-mt-cflags.patch
vendored
@ -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
|
@ -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
|
@ -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. */
|
4
packages/newlib/4.1.0/chksum
vendored
4
packages/newlib/4.1.0/chksum
vendored
@ -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
|
1
packages/newlib/4.1.0/version.desc
vendored
1
packages/newlib/4.1.0/version.desc
vendored
@ -1 +0,0 @@
|
||||
obsolete='yes'
|
Loading…
x
Reference in New Issue
Block a user