aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-08-04 22:23:32 +0000
committerNick Clifton <nickc@redhat.com>2000-08-04 22:23:32 +0000
commit3d4ae3c0c6cbd480d202a6b1dcb6d3a5b75f9915 (patch)
treea3facf0bc4ab54ca6abb313fd5ffc599eeb12ef5
parent9a2976104188c0cecfd7e35525b04cb5c3f142a8 (diff)
downloadgdb-3d4ae3c0c6cbd480d202a6b1dcb6d3a5b75f9915.zip
gdb-3d4ae3c0c6cbd480d202a6b1dcb6d3a5b75f9915.tar.gz
gdb-3d4ae3c0c6cbd480d202a6b1dcb6d3a5b75f9915.tar.bz2
Fix typo
-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)
{