diff options
author | Doug Evans <dje@google.com> | 1998-02-18 23:57:47 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-02-18 23:57:47 +0000 |
commit | 18daef646e6b5d9a24635bf19e38d946e2aaf2a1 (patch) | |
tree | 4bce13aa4080b2ad57a849eb8d82a3a8caecf076 | |
parent | 19f12fb41c0d3203fea98b54fdbdfeb840395685 (diff) | |
download | gdb-18daef646e6b5d9a24635bf19e38d946e2aaf2a1.zip gdb-18daef646e6b5d9a24635bf19e38d946e2aaf2a1.tar.gz gdb-18daef646e6b5d9a24635bf19e38d946e2aaf2a1.tar.bz2 |
fix thinko in last patch
-rw-r--r-- | gas/config/tc-dvp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gas/config/tc-dvp.c b/gas/config/tc-dvp.c index 19f8f60..e7cfc69 100644 --- a/gas/config/tc-dvp.c +++ b/gas/config/tc-dvp.c @@ -468,8 +468,11 @@ assemble_vu (str) vu_lower_opcode_lookup_asm (str), vu_operands, &str, f); /* If this was the "loi" pseudo-insn, we need to set the `i' bit. */ - if (strcmp (opcode->mnemonic, "loi") == 0) - f[7] |= 0x80; + if (opcode != NULL) + { + if (strcmp (opcode->mnemonic, "loi") == 0) + f[7] |= 0x80; + } } static const dvp_opcode * |