summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-23 19:47:00 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-23 19:47:00 +0000
commitcdb2d69266922283120654e159162dc597b09965 (patch)
tree1b5adfba1c480ee9b007b73919394a27f59857ec /gcc/dwarf2out.c
parent5ab63d0086d619938aeaa8524acf7ece4ee71dc5 (diff)
downloadgcc-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/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 5fa730e1b55..8362a698f16 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. */