mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-05 12:40:55 +08:00
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>
This commit is contained in:
parent
4ff55d08df
commit
cc84cd389c
@ -5,11 +5,7 @@
|
|||||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ARC has selectable endianness. */
|
/* Only little-endian ARC is supported. */
|
||||||
#ifdef __BIG_ENDIAN__
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||||
# define __BYTE_ORDER __BIG_ENDIAN
|
|
||||||
#else
|
|
||||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* bits/endianness.h */
|
#endif /* bits/endianness.h */
|
||||||
|
2
sysdeps/arc/configure
vendored
2
sysdeps/arc/configure
vendored
@ -10,7 +10,7 @@ libc_cv_asm_line_sep='`'
|
|||||||
printf "%s\n" "#define ASM_LINE_SEP $libc_cv_asm_line_sep" >>confdefs.h
|
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
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
|
||||||
|
@ -9,7 +9,7 @@ libc_cv_have_sdata_section=no
|
|||||||
libc_cv_asm_line_sep='`'
|
libc_cv_asm_line_sep='`'
|
||||||
AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $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],
|
AC_CACHE_CHECK([for big endian],
|
||||||
[libc_cv_arc_be],
|
[libc_cv_arc_be],
|
||||||
[AC_EGREP_CPP(yes,[#ifdef __BIG_ENDIAN__
|
[AC_EGREP_CPP(yes,[#ifdef __BIG_ENDIAN__
|
||||||
|
@ -11,12 +11,3 @@ ifeq ($(subdir),misc)
|
|||||||
sysdep_headers += sys/cachectl.h
|
sysdep_headers += sys/cachectl.h
|
||||||
sysdep_routines += cacheflush
|
sysdep_routines += cacheflush
|
||||||
endif
|
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__
|
|
||||||
|
Loading…
Reference in New Issue
Block a user