This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Fix a typo where the same name was checked twice.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 11 Aug 2015 08:37:54 -0000
- Subject: [binutils-gdb] Fix a typo where the same name was checked twice.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2b29bb41d56d4e4ba495393f4f519718b73f92df
commit 2b29bb41d56d4e4ba495393f4f519718b73f92df
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Aug 11 09:36:57 2015 +0100
Fix a typo where the same name was checked twice.
PR gas/18679
* config/xtensa-relax.c (same_operand_name): Fix typo.
Diff:
---
gas/ChangeLog | 5 +++++
gas/config/xtensa-relax.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 79de86a..1957977 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-11 Nick Clifton <nickc@redhat.com>
+
+ PR gas/18679
+ * config/xtensa-relax.c (same_operand_name): Fix typo.
+
2015-08-08 Hans-Peter Nilsson <hp@axis.com>
* tc-arm.c (double_to_single, is_double_a_single): Append ULL to
diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c
index 688d5f3..4b999d5 100644
--- a/gas/config/xtensa-relax.c
+++ b/gas/config/xtensa-relax.c
@@ -869,7 +869,7 @@ clear_opname_map (opname_map *m)
static bfd_boolean
same_operand_name (const opname_map_e *m1, const opname_map_e *m2)
{
- if (m1->operand_name == NULL || m1->operand_name == NULL)
+ if (m1->operand_name == NULL || m2->operand_name == NULL)
return FALSE;
return (m1->operand_name == m2->operand_name);
}