aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-09-25 11:24:54 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-09-25 11:25:22 +0200
commit4ff55d08df0e6f11cbd217f4dca4532bd7d9330d (patch)
tree8b57ff04918552d0a9e27eae17b5da5e4af663d5
parentd67a7dbc844d0dfdc7fb33291064d24d37ae545d (diff)
downloadglibc-4ff55d08df0e6f11cbd217f4dca4532bd7d9330d.tar.xz
glibc-4ff55d08df0e6f11cbd217f4dca4532bd7d9330d.zip
arc: Remove HAVE_ARC_BE macro and disable big-endian port
It is no longer needed, now that ARC is always little endian.
-rw-r--r--NEWS2
-rw-r--r--config.h.in3
-rw-r--r--sysdeps/arc/configure11
-rw-r--r--sysdeps/arc/configure.ac7
-rw-r--r--sysdeps/unix/sysv/linux/arc/shlib-versions4
5 files changed, 6 insertions, 21 deletions
diff --git a/NEWS b/NEWS
index 3cbcd36334..b1ae1c31ca 100644
--- 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:
diff --git a/config.h.in b/config.h.in
index f495f11244..6c25c923fa 100644
--- a/config.h.in
+++ b/config.h.in
@@ -117,9 +117,6 @@
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
diff --git a/sysdeps/arc/configure b/sysdeps/arc/configure
index 08e4f23f89..66d5fadcdd 100644
--- a/sysdeps/arc/configure
+++ b/sysdeps/arc/configure
@@ -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"
diff --git a/sysdeps/arc/configure.ac b/sysdeps/arc/configure.ac
index 619da4e088..4d79ccb00d 100644
--- a/sysdeps/arc/configure.ac
+++ b/sysdeps/arc/configure.ac
@@ -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])
diff --git a/sysdeps/unix/sysv/linux/arc/shlib-versions b/sysdeps/unix/sysv/linux/arc/shlib-versions
index 343c0a0450..62c1bd57b3 100644
--- a/sysdeps/unix/sysv/linux/arc/shlib-versions
+++ b/sysdeps/unix/sysv/linux/arc/shlib-versions
@@ -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