summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/dwarf2dbg.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 09cef3dc456..d449c4a4c60 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Nick Clifton <nickc@redhat.com>
+
+ * dwarf2dbg.c (out_header): Remove spurious #if 1.
+
2015-03-13 Jiong Wang <jiong.wang@arm.com>
* config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 9177bdf7d85..e67c9921668 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1467,7 +1467,7 @@ out_header (asection *sec, expressionS *exp)
symbolS *end_sym;
subseg_set (sec, 0);
-#if 1
+
if (flag_dwarf_sections)
{
/* If we are going to put the start and end symbols in different
@@ -1478,7 +1478,6 @@ out_header (asection *sec, expressionS *exp)
symbol_set_value_now (start_sym);
}
else
-#endif
{
start_sym = symbol_temp_new_now ();
end_sym = symbol_temp_make ();