From 8c2e5ecf991b9427afab0679b26a7a99dae2e078 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 26 Oct 2017 12:22:21 +0000 Subject: Use -xbrace_comment=no with recent Solaris/x86 as * configure.ac (gcc_cv_as_ix86_xbrace_comment): Check if assembler supports -xbrace_comment option. * configure: Regenerate. * config.in: Regenerate. * config/i386/sol2.h (ASM_XBRACE_COMMENT_SPEC): Define. (ASM_CPU_SPEC): Use it. From-SVN: r254103 --- gcc/configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/configure.ac') diff --git a/gcc/configure.ac b/gcc/configure.ac index d905d0d980a..7c0a903c4cd 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4103,6 +4103,11 @@ foo: nop ;; esac + gcc_GAS_CHECK_FEATURE([-xbrace_comment], gcc_cv_as_ix86_xbrace_comment,, + [-xbrace_comment=no], [.text],, + [AC_DEFINE(HAVE_AS_XBRACE_COMMENT_OPTION, 1, + [Define if your assembler supports -xbrace_comment option.])]) + # Test if the assembler supports the section flag 'e' for specifying # an excluded section. gcc_GAS_CHECK_FEATURE([.section with e], gcc_cv_as_section_has_e, -- cgit v1.2.1