1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2 # Local configure fragment for sysdeps/arc.
4 libc_cv_have_sdata_section=no
6 # For ARC, historically ; was used for comments and not newline
7 # Later # also got added to comment list, but ; couldn't be switched to
8 # canonical newline as there's lots of code out there which will break
9 libc_cv_asm_line_sep='`'
10 AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep)
12 # For big endian ABI, generate a symbol for selecting right dynamic linker
13 AC_CACHE_CHECK([for big endian],
15 [AC_EGREP_CPP(yes,[#ifdef __BIG_ENDIAN__
18 ], libc_cv_arc_be=yes, libc_cv_arc_be=no)])
19 if test $libc_cv_arc_be = yes; then
21 AC_DEFINE(HAVE_ARC_BE)
22 LIBC_CONFIG_VAR([default-abi], [arcbe])
24 LIBC_CONFIG_VAR([default-abi], [arcle])