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