aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Kozlov <pavel.kozlov@synopsys.com>2024-09-20 18:58:52 +0100
committerPavel Kozlov <pavel.kozlov@synopsys.com>2024-09-25 15:54:07 +0100
commitcc84cd389c7329ceb38228f931044e8c84ca7245 (patch)
treec3b8f1d2b158074261343eb84b82ec1cf5917e31
parent4ff55d08df0e6f11cbd217f4dca4532bd7d9330d (diff)
downloadglibc-cc84cd389c7329ceb38228f931044e8c84ca7245.zip
glibc-cc84cd389c7329ceb38228f931044e8c84ca7245.tar.gz
glibc-cc84cd389c7329ceb38228f931044e8c84ca7245.tar.bz2
arc: Cleanup arcbe
Remove the mention of arcbe ABI to avoid any mislead. ARC big endian ABI is no longer supported. Reviewed-by: Florian Weimer <fweimer@redhat.com>
-rw-r--r--sysdeps/arc/bits/endianness.h8
-rw-r--r--sysdeps/arc/configure2
-rw-r--r--sysdeps/arc/configure.ac2
-rw-r--r--sysdeps/unix/sysv/linux/arc/Makefile9
4 files changed, 4 insertions, 17 deletions
diff --git a/sysdeps/arc/bits/endianness.h b/sysdeps/arc/bits/endianness.h
index 8f17ca8..4a6e7d4 100644
--- a/sysdeps/arc/bits/endianness.h
+++ b/sysdeps/arc/bits/endianness.h
@@ -5,11 +5,7 @@
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif
-/* ARC has selectable endianness. */
-#ifdef __BIG_ENDIAN__
-# define __BYTE_ORDER __BIG_ENDIAN
-#else
-# define __BYTE_ORDER __LITTLE_ENDIAN
-#endif
+/* Only little-endian ARC is supported. */
+#define __BYTE_ORDER __LITTLE_ENDIAN
#endif /* bits/endianness.h */
diff --git a/sysdeps/arc/configure b/sysdeps/arc/configure
index 66d5fad..b419298 100644
--- a/sysdeps/arc/configure
+++ b/sysdeps/arc/configure
@@ -10,7 +10,7 @@ libc_cv_asm_line_sep='`'
printf "%s\n" "#define ASM_LINE_SEP $libc_cv_asm_line_sep" >>confdefs.h
-# For big endian ABI, generate a symbol for selecting right dynamic linker
+# ARC big endian ABI is no longer supported.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
diff --git a/sysdeps/arc/configure.ac b/sysdeps/arc/configure.ac
index 4d79ccb..48dc6f5 100644
--- a/sysdeps/arc/configure.ac
+++ b/sysdeps/arc/configure.ac
@@ -9,7 +9,7 @@ libc_cv_have_sdata_section=no
libc_cv_asm_line_sep='`'
AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep)
-# For big endian ABI, generate a symbol for selecting right dynamic linker
+# ARC big endian ABI is no longer supported.
AC_CACHE_CHECK([for big endian],
[libc_cv_arc_be],
[AC_EGREP_CPP(yes,[#ifdef __BIG_ENDIAN__
diff --git a/sysdeps/unix/sysv/linux/arc/Makefile b/sysdeps/unix/sysv/linux/arc/Makefile
index eca9a9f..dd3da52 100644
--- a/sysdeps/unix/sysv/linux/arc/Makefile
+++ b/sysdeps/unix/sysv/linux/arc/Makefile
@@ -11,12 +11,3 @@ ifeq ($(subdir),misc)
sysdep_headers += sys/cachectl.h
sysdep_routines += cacheflush
endif
-
-abi-variants := arcle arcbe
-
-ifeq (,$(filter $(default-abi),$(abi-variants)))
-$(error Unknown ABI $(default-abi), must be one of $(abi-variants))
-endif
-
-abi-arcle-condition := !defined __BIG_ENDIAN__
-abi-arcbe-condition := defined __BIG_ENDIAN__