aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-sparc.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 17efdce..63c64f0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
2000-08-04 Nick Clifton <nickc@cygnus.com>
+ * config/tc-sparc.c (md_begin): Fix typo in recent formatting
+ work.
+
* doc/as.texinfo (Pseudo Ops): Update to include descriptions
of .popsection, .previous, .pushsection, .subsection,
.version, .vtable_entry, .vtable_inherit and .weak.
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 1984f54..a2fe524 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -786,9 +786,9 @@ md_begin ()
for (i = 0; native_op_table[i].name; i++)
{
const struct sparc_opcode *insn;
- char *name = sparc_arch_size == (32
- ? native_op_table[i].name32
- : native_op_table[i].name64);
+ char *name = ((sparc_arch_size == 32)
+ ? native_op_table[i].name32
+ : native_op_table[i].name64);
insn = (struct sparc_opcode *) hash_find (op_hash, name);
if (insn == NULL)
{