diff options
author | Christophe Lyon <clyon@gcc.gnu.org> | 2013-12-11 14:13:43 +0100 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2013-12-11 14:13:43 +0100 |
commit | eaf4967a9dd17c8b800c7981ccdac62be6a960f2 (patch) | |
tree | e2c1ff7d5702adbe210e4e75c2908030a41fffdf /gcc | |
parent | 63892fa207fee716dfc34f94f9d2edfbc5fa84ca (diff) | |
download | gcc-eaf4967a9dd17c8b800c7981ccdac62be6a960f2.zip gcc-eaf4967a9dd17c8b800c7981ccdac62be6a960f2.tar.gz gcc-eaf4967a9dd17c8b800c7981ccdac62be6a960f2.tar.bz2 |
Regenerate gcc/configure and gcc/config.in
From-SVN: r205892
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config.in | 6 | ||||
-rwxr-xr-x | gcc/configure | 54 |
2 files changed, 60 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in index 7bb5be8..3aefa06 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -411,6 +411,12 @@ #endif +/* Define if your assembler supports the -mabi option. */ +#ifndef USED_FOR_TARGET +#undef HAVE_AS_MABI_OPTION +#endif + + /* Define if your assembler supports mfcr field. */ #ifndef USED_FOR_TARGET #undef HAVE_AS_MFCRF diff --git a/gcc/configure b/gcc/configure index e6ebd58..e4527fc 100755 --- a/gcc/configure +++ b/gcc/configure @@ -23932,6 +23932,60 @@ _ACEOF $as_echo "$gcc_cv_lto_plugin" >&6; } case "$target" in + aarch64*-*-*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for -mabi option" >&5 +$as_echo_n "checking assembler for -mabi option... " >&6; } +if test "${gcc_cv_as_aarch64_mabi+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + gcc_cv_as_aarch64_mabi=no + if test x$gcc_cv_as != x; then + $as_echo '.text' > conftest.s + if { ac_try='$gcc_cv_as $gcc_cv_as_flags -mabi=lp64 -o conftest.o conftest.s >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } + then + gcc_cv_as_aarch64_mabi=yes + else + echo "configure: failed program was" >&5 + cat conftest.s >&5 + fi + rm -f conftest.o conftest.s + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_aarch64_mabi" >&5 +$as_echo "$gcc_cv_as_aarch64_mabi" >&6; } + + if test x$gcc_cv_as_aarch64_mabi = xyes; then + +$as_echo "#define HAVE_AS_MABI_OPTION 1" >>confdefs.h + + else + if test x$with_abi = xilp32; then + as_fn_error "Assembler does not support -mabi=ilp32.\ + Upgrade the Assembler." "$LINENO" 5 + fi + if test x"$with_multilib_list" = xdefault; then + TM_MULTILIB_CONFIG=lp64 + else + aarch64_multilibs=`echo $with_multilib_list | sed -e 's/,/ /g'` + for aarch64_multilib in ${aarch64_multilibs}; do + case ${aarch64_multilib} in + ilp32) + as_fn_error "Assembler does not support -mabi=ilp32.\ + Upgrade the Assembler." "$LINENO" 5 + ;; + *) + ;; + esac + done + fi + fi + ;; + # All TARGET_ABI_OSF targets. alpha*-*-linux* | alpha*-*-*bsd*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for explicit relocation support" >&5 |