aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-09-23 19:47:00 +0000
committerRainer Orth <ro@gcc.gnu.org>2003-09-23 19:47:00 +0000
commit5d4856a01196f9eeffd2e60b202c758a4a1533a2 (patch)
tree1b5adfba1c480ee9b007b73919394a27f59857ec /gcc/dwarf2out.c
parent5748beec64a32b576377d871f6c33918e47c7651 (diff)
downloadgcc-5d4856a01196f9eeffd2e60b202c758a4a1533a2.zip
gcc-5d4856a01196f9eeffd2e60b202c758a4a1533a2.tar.gz
gcc-5d4856a01196f9eeffd2e60b202c758a4a1533a2.tar.bz2
configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
* 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. From-SVN: r71691
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 5fa730e..8362a69 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -3812,14 +3812,10 @@ static int maybe_emit_file (int);
#endif
/* Section flags for .debug_str section. */
-#ifdef HAVE_GAS_SHF_MERGE
#define DEBUG_STR_SECTION_FLAGS \
- (flag_merge_constants \
+ (HAVE_GAS_SHF_MERGE && flag_merge_constants \
? SECTION_DEBUG | SECTION_MERGE | SECTION_STRINGS | 1 \
: SECTION_DEBUG)
-#else
-#define DEBUG_STR_SECTION_FLAGS SECTION_DEBUG
-#endif
/* Labels we insert at beginning sections we can reference instead of
the section names themselves. */