aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gas/configure.ac')
-rw-r--r--gas/configure.ac25
1 files changed, 16 insertions, 9 deletions
diff --git a/gas/configure.ac b/gas/configure.ac
index c65797f..4c7df3d 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -117,6 +117,15 @@ AC_ARG_ENABLE(elf_stt_common,
yes) ac_default_elf_stt_common=1 ;;
esac])dnl
+ac_default_sframe=unset
+# Provide a configure time option to override our default.
+AC_ARG_ENABLE(default-sframe,
+ AS_HELP_STRING([--enable-default-sframe],
+ [generate SFrame by default]),
+[case "${enableval}" in
+ yes) ac_default_sframe=1 ;;
+ no) ac_default_sframe=0 ;;
+esac])dnl
# Decide if the ELF assembler should default to generating
# GNU Build notes if none are provided by the input.
@@ -289,15 +298,6 @@ changequote([,])dnl
AC_DEFINE(AIX_WEAK_SUPPORT, 1,
[Define if using AIX 5.2 value for C_WEAKEXT.])
;;
- ppc-*-solaris*)
- if test ${this_target} = $target; then
- AC_DEFINE(TARGET_SOLARIS_COMMENT, 1,
- [Define if default target is PowerPC Solaris.])
- fi
- if test x${endian} = xbig; then
- AC_MSG_ERROR(Solaris must be configured little endian)
- fi
- ;;
esac
if test ${this_target} = $target ; then
@@ -757,6 +757,13 @@ AC_DEFINE_UNQUOTED(DEFAULT_GENERATE_ELF_STT_COMMON,
[Define to 1 if you want to generate ELF common symbols with the
STT_COMMON type by default.])
+if test ${ac_default_sframe} = unset; then
+ ac_default_sframe=0
+fi
+AC_DEFINE_UNQUOTED(DEFAULT_SFRAME,
+ $ac_default_sframe,
+ [Define to 1 if you want to emit SFrames by default.])
+
AC_DEFINE_UNQUOTED(DEFAULT_GENERATE_BUILD_NOTES,
$ac_default_generate_build_notes,
[Define to 1 if you want to generate GNU Build attribute notes