diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-23 19:47:00 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-23 19:47:00 +0000 |
commit | cdb2d69266922283120654e159162dc597b09965 (patch) | |
tree | 1b5adfba1c480ee9b007b73919394a27f59857ec /gcc/configure.in | |
parent | 5ab63d0086d619938aeaa8524acf7ece4ee71dc5 (diff) | |
download | gcc-cdb2d69266922283120654e159162dc597b09965.tar.gz |
* configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
Update description.
* configure: Regenerate.
* config.in: Likewise.
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test for
HAVE_GAS_SHF_MERGE value.
* varasm.c (mergeable_string_section): Likewise.
(mergeable_constant_section): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71691 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index 916f3384da4..ab5ecdc2f4d 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1977,9 +1977,10 @@ fi gcc_GAS_CHECK_FEATURE(section merging support, gcc_cv_as_shf_merge, [elf,2,12,0], [--fatal-warnings], - [.section .rodata.str, "aMS", @progbits, 1],, - [AC_DEFINE(HAVE_GAS_SHF_MERGE, 1, -[Define if your assembler supports marking sections with SHF_MERGE flag.])]) + [.section .rodata.str, "aMS", @progbits, 1]) +AC_DEFINE_UNQUOTED(HAVE_GAS_SHF_MERGE, + [`if test $gcc_cv_as_shf_merge = yes; then echo 1; else echo 0; fi`], +[Define 0/1 if your assembler supports marking sections with SHF_MERGE flag.]) # Thread-local storage - the check is heavily parametrized. conftest_s= |