This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] FIx formatting that triggers a new compile time warning message.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 8 Feb 2016 14:51:52 -0000
- Subject: [binutils-gdb] FIx formatting that triggers a new compile time warning message.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9264d325483984f5f2cee06456d5efd3385177b6
commit 9264d325483984f5f2cee06456d5efd3385177b6
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Feb 8 14:51:10 2016 +0000
FIx formatting that triggers a new compile time warning message.
* config/tc-ia64.c (dot_prologue): Fix formatting.
Diff:
---
gas/ChangeLog | 4 ++++
gas/config/tc-ia64.c | 5 +++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f62990a..34c301d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-08 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-ia64.c (dot_prologue): Fix formatting.
+
2016-02-04 Nick Clifton <nickc@redhat.com>
* config/obj-elf.c (obj_elf_change_section): Remove support for
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 570f746..f0ba4ae 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -4360,12 +4360,14 @@ dot_prologue (int dummy ATTRIBUTE_UNUSED)
as_warn (_("Pointless use of zero first operand to .prologue"));
else
mask = e.X_add_number;
- n = popcount (mask);
+
+ n = popcount (mask);
if (sep == ',')
parse_operand_and_eval (&e, 0);
else
e.X_op = O_absent;
+
if (e.X_op == O_constant
&& e.X_add_number >= 0
&& e.X_add_number < 128)
@@ -4385,7 +4387,6 @@ dot_prologue (int dummy ATTRIBUTE_UNUSED)
as_bad (_("Second operand to .prologue must be the first of %d general registers"), n);
grsave = 0;
}
-
}
if (mask)