about summary refs log tree commit diff
path: root/sysdeps/arc
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 /sysdeps/arc
parent4ff55d08df0e6f11cbd217f4dca4532bd7d9330d (diff)
downloadglibc-cc84cd389c7329ceb38228f931044e8c84ca7245.tar.gz
glibc-cc84cd389c7329ceb38228f931044e8c84ca7245.tar.xz
glibc-cc84cd389c7329ceb38228f931044e8c84ca7245.zip
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>
Diffstat (limited to 'sysdeps/arc')
-rw-r--r--sysdeps/arc/bits/endianness.h8
-rw-r--r--sysdeps/arc/configure2
-rw-r--r--sysdeps/arc/configure.ac2
3 files changed, 4 insertions, 8 deletions
diff --git a/sysdeps/arc/bits/endianness.h b/sysdeps/arc/bits/endianness.h
index 8f17ca84b4..4a6e7d4c15 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 66d5fadcdd..b4192983bf 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 4d79ccb00d..48dc6f5b9b 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__