arc: Remove HAVE_ARC_BE macro and disable big-endian port

It is no longer needed, now that ARC is always little endian.
This commit is contained in:
Florian Weimer 2024-09-25 11:24:54 +02:00
parent d67a7dbc84
commit 4ff55d08df
5 changed files with 6 additions and 21 deletions

2
NEWS
View File

@ -33,7 +33,7 @@ Major new features:
Deprecated and removed features, and other changes affecting compatibility: 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: Changes to build and runtime requirements:

View File

@ -117,9 +117,6 @@
required version of GNU 'binutils' to 2.28 or later. */ required version of GNU 'binutils' to 2.28 or later. */
#define HAVE_AARCH64_SVE_ASM 0 #define HAVE_AARCH64_SVE_ASM 0
/* ARC big endian ABI */
#undef HAVE_ARC_BE
/* C-SKY ABI version. */ /* C-SKY ABI version. */
#undef CSKYABI #undef CSKYABI

11
sysdeps/arc/configure vendored
View File

@ -175,13 +175,8 @@ fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_arc_be" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_arc_be" >&5
printf "%s\n" "$libc_cv_arc_be" >&6; } printf "%s\n" "$libc_cv_arc_be" >&6; }
if test $libc_cv_arc_be = yes; then if test $libc_cv_arc_be = yes; then
# For shlib-versions. as_fn_error $? "big-endian not supported" "$LINENO" 5
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"
fi fi
config_vars="$config_vars
default-abi = arcle"

View File

@ -17,9 +17,6 @@ AC_CACHE_CHECK([for big endian],
#endif #endif
], libc_cv_arc_be=yes, libc_cv_arc_be=no)]) ], libc_cv_arc_be=yes, libc_cv_arc_be=no)])
if test $libc_cv_arc_be = yes; then if test $libc_cv_arc_be = yes; then
# For shlib-versions. AC_MSG_ERROR([big-endian not supported])
AC_DEFINE(HAVE_ARC_BE)
LIBC_CONFIG_VAR([default-abi], [arcbe])
else
LIBC_CONFIG_VAR([default-abi], [arcle])
fi fi
LIBC_CONFIG_VAR([default-abi], [arcle])

View File

@ -1,7 +1,3 @@
DEFAULT GLIBC_2.32 DEFAULT GLIBC_2.32
%ifdef HAVE_ARC_BE
ld=ld-linux-arceb.so.2
%else
ld=ld-linux-arc.so.2 ld=ld-linux-arc.so.2
%endif