]> sourceware.org Git - glibc.git/commitdiff
arc: Cleanup arcbe
authorPavel Kozlov <pavel.kozlov@synopsys.com>
Fri, 20 Sep 2024 17:58:52 +0000 (18:58 +0100)
committerPavel Kozlov <pavel.kozlov@synopsys.com>
Wed, 25 Sep 2024 14:54:07 +0000 (15:54 +0100)
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>
sysdeps/arc/bits/endianness.h
sysdeps/arc/configure
sysdeps/arc/configure.ac
sysdeps/unix/sysv/linux/arc/Makefile

index 8f17ca84b485b80872a6e51731f5056069807480..4a6e7d4c1579e15db313a1b3189b23c266b47ed0 100644 (file)
@@ -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 */
index 66d5fadcddb2e9d9cea4bed79bfaf297f7464844..b4192983bf378546e3d36c34ef84baef585fca00 100644 (file)
@@ -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
index 4d79ccb00da690b23130ec27f79c1a5dbe9706f7..48dc6f5b9b13824a7e6f9669e386a928730eba0c 100644 (file)
@@ -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__
index eca9a9fd3a55abcd5f0c05036e0b124b045b5456..dd3da52c394cd17f12b20497819f1c82f43c508b 100644 (file)
@@ -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__
This page took 0.046014 seconds and 5 git commands to generate.