aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-03-16 11:17:52 +0000
committerNick Clifton <nickc@redhat.com>2015-03-16 11:17:52 +0000
commitb57dc16f06bbe31a5dad044556d12ecda138e1c3 (patch)
treec5935f876ace9d431d05b283b3c42f89f96b52c1 /gas
parent9c761a554184c2ded303c4929a7023b972b2fb9f (diff)
downloadgdb-b57dc16f06bbe31a5dad044556d12ecda138e1c3.zip
gdb-b57dc16f06bbe31a5dad044556d12ecda138e1c3.tar.gz
gdb-b57dc16f06bbe31a5dad044556d12ecda138e1c3.tar.bz2
Removes a #if 1 ... #endif accidentally left in the source code.
* dwarf2dbg.c (out_header): Remove spurious #if 1.
Diffstat (limited to 'gas')
-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 09cef3d..d449c4a 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 9177bdf..e67c992 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 ();