]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
arc: Remove HAVE_ARC_BE macro and disable big-endian port
authorFlorian Weimer <fweimer@redhat.com>
Wed, 25 Sep 2024 09:24:54 +0000 (11:24 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 25 Sep 2024 09:25:22 +0000 (11:25 +0200)
It is no longer needed, now that ARC is always little endian.

NEWS
config.h.in
sysdeps/arc/configure
sysdeps/arc/configure.ac
sysdeps/unix/sysv/linux/arc/shlib-versions

diff --git a/NEWS b/NEWS
index 3cbcd36334d9f43783e0b32eefc3bf2fcc4686ae..b1ae1c31ca0c266bea0880864785ab32832e6cc8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -33,7 +33,7 @@ Major new features:
 
 Deprecated and removed features, and other changes affecting compatibility:
 
-  [Add deprecations, removals and changes affecting compatibility here]
+* The big-endian ARC port (arceb-linux-gnu) has been removed.
 
 Changes to build and runtime requirements:
 
index f495f112441c647af7e0e798012d9b4359ce5a64..6c25c923fa2b51993597f84be163802b5152c9f6 100644 (file)
    required version of GNU 'binutils' to 2.28 or later. */
 #define HAVE_AARCH64_SVE_ASM 0
 
-/* ARC big endian ABI */
-#undef HAVE_ARC_BE
-
 /* C-SKY ABI version.  */
 #undef CSKYABI
 
index 08e4f23f89b41f1e0a2f2e85bb36e152d4dd9682..66d5fadcddb2e9d9cea4bed79bfaf297f7464844 100644 (file)
@@ -175,13 +175,8 @@ fi
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_arc_be" >&5
 printf "%s\n" "$libc_cv_arc_be" >&6; }
 if test $libc_cv_arc_be = yes; then
-  # For shlib-versions.
-  printf "%s\n" "#define HAVE_ARC_BE 1" >>confdefs.h
-
-  config_vars="$config_vars
-default-abi = arcbe"
-else
-  config_vars="$config_vars
-default-abi = arcle"
+  as_fn_error $? "big-endian not supported" "$LINENO" 5
 fi
+config_vars="$config_vars
+default-abi = arcle"
 
index 619da4e08847adb141f9750453eb5de6ffac3aea..4d79ccb00da690b23130ec27f79c1a5dbe9706f7 100644 (file)
@@ -17,9 +17,6 @@ AC_CACHE_CHECK([for big endian],
                      #endif
   ], libc_cv_arc_be=yes, libc_cv_arc_be=no)])
 if test $libc_cv_arc_be = yes; then
-  # For shlib-versions.
-  AC_DEFINE(HAVE_ARC_BE)
-  LIBC_CONFIG_VAR([default-abi], [arcbe])
-else
-  LIBC_CONFIG_VAR([default-abi], [arcle])
+  AC_MSG_ERROR([big-endian not supported])
 fi
+LIBC_CONFIG_VAR([default-abi], [arcle])
index 343c0a04500e6f1d9f0ce913bdbbc8681f5d042b..62c1bd57b33b7d27360099878bc3eeb4657b55c2 100644 (file)
@@ -1,7 +1,3 @@
 DEFAULT                 GLIBC_2.32
 
-%ifdef HAVE_ARC_BE
-ld=ld-linux-arceb.so.2
-%else
 ld=ld-linux-arc.so.2
-%endif