diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2022-09-21 18:58:34 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2023-01-19 21:52:06 +0100 |
commit | 654072d7a2feadb7b4d7466e59105198ab5e0968 (patch) | |
tree | 555d93625916d8158136726de3d1df7bc97e7247 /newlib | |
parent | 3b58032de14f7a08b1c60ee9fc4857c5fbfc8e57 (diff) | |
download | newlib-654072d7a2feadb7b4d7466e59105198ab5e0968.zip newlib-654072d7a2feadb7b4d7466e59105198ab5e0968.tar.gz newlib-654072d7a2feadb7b4d7466e59105198ab5e0968.tar.bz2 |
nvptx: Remove newlib ELIX level 1 restriction
Such a hard-coded ELIX level restriction is only being applied for nvptx
newlib -- but we'd actually like higher levels' functions available there,
too. (Users continue to be able to override this via newlib 'configure',
as for every other newlib target.)
This already enables GCC test cases that currently FAIL due to
'unresolved symbol strndup' ('gcc.dg/builtin-dynamic-object-size-0.c'), or
'unresolved symbol mempcpy' ('gcc.dg/torture/pr45636.c'), for example.
Co-authored-by: Andrew Stubbs <ams@codesourcery.com>
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/NEWS | 1 | ||||
-rw-r--r-- | newlib/configure.host | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/newlib/NEWS b/newlib/NEWS index 9aa8292..ee456f9 100644 --- a/newlib/NEWS +++ b/newlib/NEWS @@ -13,6 +13,7 @@ - use global stdio streams for all configurations - use global atexit data for all configurations - vectorized math routines added for amdgcn platform +- nvptx: remove newlib ELIX level 1 restriction *** Major changes in newlib version 4.2.0: diff --git a/newlib/configure.host b/newlib/configure.host index 7157877..0a1ba28 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -938,11 +938,6 @@ fi # Target-specific defaults case "${host_cpu}" in nvptx*) - if [ "x${newlib_elix_level}" = "x0" ]; then - newlib_elix_level=1; - elif [ "x${newlib_elix_level}" != "x1" ]; then - newlib_msg_warn="nvptx does not support elix level > 1"; - fi if [[ -z ${newlib_global_stdio_streams} ]]; then newlib_global_stdio_streams="yes"; fi |