2009-04-17 Jeff johnston <jjohnstn@redhat.com>
* configure.in: Remove _HAVE_ARRAY_ALIASING check. * configure: Regenerated. * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag. * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING. * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to avoid executable test. * libm/configure: Regenerated.
This commit is contained in:
parent
33990d814f
commit
9c4032e768
|
@ -1,3 +1,13 @@
|
|||
2009-04-17 Jeff johnston <jjohnstn@redhat.com>
|
||||
|
||||
* configure.in: Remove _HAVE_ARRAY_ALIASING check.
|
||||
* configure: Regenerated.
|
||||
* newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
|
||||
* libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
|
||||
* libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
|
||||
avoid executable test.
|
||||
* libm/configure: Regenerated.
|
||||
|
||||
2009-04-16 Jeff johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/misc/init.c (__libc_fini_array): Process fini_array in
|
||||
|
|
|
@ -462,7 +462,7 @@ ac_subdirs_all="$ac_subdirs_all libc"
|
|||
ac_subdirs_all="$ac_subdirs_all libm"
|
||||
ac_subdirs_all="$ac_subdirs_all doc"
|
||||
ac_subdirs_all="$ac_subdirs_all iconvdata"
|
||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir SED DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL CFLAGS CPPFLAGS ac_ct_CC EXEEXT EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP NEWLIB_HW_FP_TRUE NEWLIB_HW_FP_FALSE CC_FOR_NEWLIB subdirs HAVE_DOC_TRUE HAVE_DOC_FALSE EXTRA_DIRS CRT0 CRT0_DIR CRT1 CRT1_DIR LIBM_MACHINE_OBJECTLIST MACHINE_OBJECTLIST SYS_OBJECTLIST SYS_MACH_OBJECTLIST POSIX_OBJECTLIST SIGNAL_OBJECTLIST SYSCALL_OBJECTLIST UNIX_OBJECTLIST STDIO64_OBJECTLIST CC_FOR_BUILD libc_cv_initfinit_array libc_cv_array_aliasing LIBOBJS LTLIBOBJS'
|
||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir SED DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL CFLAGS CPPFLAGS ac_ct_CC EXEEXT EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP NEWLIB_HW_FP_TRUE NEWLIB_HW_FP_FALSE CC_FOR_NEWLIB subdirs HAVE_DOC_TRUE HAVE_DOC_FALSE EXTRA_DIRS CRT0 CRT0_DIR CRT1 CRT1_DIR LIBM_MACHINE_OBJECTLIST MACHINE_OBJECTLIST SYS_OBJECTLIST SYS_MACH_OBJECTLIST POSIX_OBJECTLIST SIGNAL_OBJECTLIST SYSCALL_OBJECTLIST UNIX_OBJECTLIST STDIO64_OBJECTLIST CC_FOR_BUILD libc_cv_initfinit_array LIBOBJS LTLIBOBJS'
|
||||
ac_subst_files=''
|
||||
|
||||
# Initialize some variables set by options.
|
||||
|
@ -11900,39 +11900,6 @@ if test $libc_cv_initfinit_array = yes; then
|
|||
#define HAVE_INITFINI_ARRAY 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
echo "$as_me:$LINENO: checking for array aliasing support" >&5
|
||||
echo $ECHO_N "checking for array aliasing support... $ECHO_C" >&6
|
||||
if test "${libc_cv_array_aliasing+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
cat > conftest.c <<EOF
|
||||
char x[3] = { 'a', 'b', 'c' };
|
||||
extern char y[2] __attribute__((alias ("x+1")));
|
||||
EOF
|
||||
if { ac_try='${CC} $CFLAGS $CPPFLAGS -c conftest.c
|
||||
1>&5'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }
|
||||
then
|
||||
libc_cv_array_aliasing=yes
|
||||
else
|
||||
libc_cv_array_aliasing=no
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $libc_cv_array_aliasing" >&5
|
||||
echo "${ECHO_T}$libc_cv_array_aliasing" >&6
|
||||
|
||||
if test $libc_cv_array_aliasing = yes; then
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define _HAVE_ARRAY_ALIASING 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
ac_config_files="$ac_config_files Makefile"
|
||||
|
@ -13046,7 +13013,6 @@ s,@UNIX_OBJECTLIST@,$UNIX_OBJECTLIST,;t t
|
|||
s,@STDIO64_OBJECTLIST@,$STDIO64_OBJECTLIST,;t t
|
||||
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
|
||||
s,@libc_cv_initfinit_array@,$libc_cv_initfinit_array,;t t
|
||||
s,@libc_cv_array_aliasing@,$libc_cv_array_aliasing,;t t
|
||||
s,@LIBOBJS@,$LIBOBJS,;t t
|
||||
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
||||
CEOF
|
||||
|
|
|
@ -395,25 +395,6 @@ if test $libc_cv_initfinit_array = yes; then
|
|||
AC_DEFINE_UNQUOTED(HAVE_INITFINI_ARRAY)
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK(for array aliasing support,
|
||||
libc_cv_array_aliasing, [dnl
|
||||
cat > conftest.c <<EOF
|
||||
char x[[3]] = { 'a', 'b', 'c' };
|
||||
extern char y[[2]] __attribute__((alias ("x+1")));
|
||||
EOF
|
||||
if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS -c conftest.c
|
||||
1>&AS_MESSAGE_LOG_FD])
|
||||
then
|
||||
libc_cv_array_aliasing=yes
|
||||
else
|
||||
libc_cv_array_aliasing=no
|
||||
fi
|
||||
rm -f conftest*])
|
||||
AC_SUBST(libc_cv_array_aliasing)
|
||||
if test $libc_cv_array_aliasing = yes; then
|
||||
AC_DEFINE_UNQUOTED(_HAVE_ARRAY_ALIASING)
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([Makefile],
|
||||
[if test -n "$CONFIG_FILES"; then
|
||||
unset ac_file
|
||||
|
|
|
@ -112,18 +112,14 @@ __asm__ (" \n\
|
|||
.text \n\
|
||||
");
|
||||
|
||||
# elif defined(_HAVE_ARRAY_ALIASING)
|
||||
|
||||
extern _CONST char _ctype_[1 + 256] __attribute__ ((alias ("_ctype_b+127")));
|
||||
|
||||
# else /* !_HAVE_ARRAY_ALIASING */
|
||||
# else /* !__CYGWIN__ */
|
||||
|
||||
_CONST char _ctype_[1 + 256] = {
|
||||
0,
|
||||
_CTYPE_DATA_0_127,
|
||||
_CTYPE_DATA_128_256
|
||||
};
|
||||
# endif /* !_HAVE_ARRAY_ALIASING */
|
||||
# endif /* !__CYGWIN__ */
|
||||
|
||||
#else /* !defined(ALLOW_NEGATIVE_CTYPE_INDEX) */
|
||||
|
||||
|
|
|
@ -154,6 +154,8 @@ ELIX_LEVEL_4_TRUE = @ELIX_LEVEL_4_TRUE@
|
|||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GREP = @GREP@
|
||||
HAVE_LONG_DOUBLE_FALSE = @HAVE_LONG_DOUBLE_FALSE@
|
||||
HAVE_LONG_DOUBLE_TRUE = @HAVE_LONG_DOUBLE_TRUE@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -18,10 +18,20 @@ dnl Autoconf 2.59 doesn't support the AC_TYPE_LONG_DOUBLE macro. Instead of:
|
|||
dnl AC_TYPE_LONG_DOUBLE
|
||||
dnl AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$ac_cv_type_long_double" = x"yes")
|
||||
dnl we specify our own long double test.
|
||||
AC_CACHE_CHECK([Checking long double support], [acnewlib_cv_type_long_double],
|
||||
[AC_TRY_COMPILE([], [long double foo = 0.0L;],
|
||||
[acnewlib_cv_type_long_double = yes;],
|
||||
[acnewlib_cv_type_long_double = no;])])
|
||||
AC_CACHE_CHECK([Checking long double support], [acnewlib_cv_type_long_double],[dnl
|
||||
cat > conftest.c <<EOF
|
||||
int main() {
|
||||
long double x = 0.0L;
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS -c conftest.c 1>&AS_MESSAGE_LOG_FD])
|
||||
then
|
||||
acnewlib_cv_type_long_double=yes
|
||||
else
|
||||
acnewlib_cv_type_long_double=no
|
||||
fi
|
||||
rm -f conftest*])
|
||||
AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$acnewlib_cv_type_long_double" = x"yes")
|
||||
|
||||
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
|
||||
|
|
|
@ -46,9 +46,6 @@
|
|||
functions. */
|
||||
#undef _ATEXIT_DYNAMIC_ALLOC
|
||||
|
||||
/* Define if the compiler supports aliasing an array to an address. */
|
||||
#undef _HAVE_ARRAY_ALIASING
|
||||
|
||||
/*
|
||||
* Iconv encodings enabled ("to" direction)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue