diff options
author | Richard Sandiford <richard@codesourcery.com> | 2006-10-29 11:13:14 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2006-10-29 11:13:14 +0000 |
commit | 4551169f831b3b41c5ab40d5c8c94d22e479a41c (patch) | |
tree | bf8f66085211cfd059a02f06010d2a8b21c8d8da /gcc/configure.ac | |
parent | 5f687d19e06bbdeccc7a0b6d831ae884d177b522 (diff) | |
download | gcc-4551169f831b3b41c5ab40d5c8c94d22e479a41c.zip gcc-4551169f831b3b41c5ab40d5c8c94d22e479a41c.tar.gz gcc-4551169f831b3b41c5ab40d5c8c94d22e479a41c.tar.bz2 |
configure.ac (HAVE_AS_NO_SHARED): New AC_DEFINE.
gcc/
* configure.ac (HAVE_AS_NO_SHARED): New AC_DEFINE. Test for the
-mno-shared assembler option on mips targets.
* configure, config.in: Regenerate.
* config/mips/linux.h (NO_SHARED_SPECS): New macro.
(DRIVER_SELF_SPECS): Define to NO_SHARED_SPECS if non-empty.
* config/mips/linux64.h (DRIVER_SELF_SPECS): Include NO_SHARED_SPECS.
From-SVN: r118138
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 1dafd85..0b42531 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2952,6 +2952,10 @@ LCF0: then target_cpu_default=MASK_EXPLICIT_RELOCS else target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS" fi]) + gcc_GAS_CHECK_FEATURE([-mno-shared support], + gcc_cv_as_mips_no_shared, [2,16,0], [-mno-shared], [nop],, + [AC_DEFINE(HAVE_AS_NO_SHARED, 1, + [Define if the assembler understands -mno-shared.])]) ;; esac |