This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Removes a #if 1 ... #endif accidentally left in the source code.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 16 Mar 2015 11:18:29 -0000
- Subject: [binutils-gdb] Removes a #if 1 ... #endif accidentally left in the source code.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b57dc16f06bbe31a5dad044556d12ecda138e1c3
commit b57dc16f06bbe31a5dad044556d12ecda138e1c3
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Mar 16 11:17:52 2015 +0000
Removes a #if 1 ... #endif accidentally left in the source code.
* dwarf2dbg.c (out_header): Remove spurious #if 1.
Diff:
---
gas/ChangeLog | 4 ++++
gas/dwarf2dbg.c | 3 +--
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 ();