diff options
author | Nick Clifton <nickc@redhat.com> | 2000-04-12 17:59:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-04-12 17:59:32 +0000 |
commit | 1ed18ec1a386492c7905eaab54ac58d36c45966c (patch) | |
tree | 170b0373d2ba0f209e03f6554fba93e63631b244 /gas/config/tc-d10v.c | |
parent | d03cef9d487c6483cef99f53d30288c2eeb27901 (diff) | |
download | gdb-1ed18ec1a386492c7905eaab54ac58d36c45966c.zip gdb-1ed18ec1a386492c7905eaab54ac58d36c45966c.tar.gz gdb-1ed18ec1a386492c7905eaab54ac58d36c45966c.tar.bz2 |
Apply Andrew Cagney's patch to fix use of 'struct fix'.
Diffstat (limited to 'gas/config/tc-d10v.c')
-rw-r--r-- | gas/config/tc-d10v.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c index d20ae10..f84dcb9 100644 --- a/gas/config/tc-d10v.c +++ b/gas/config/tc-d10v.c @@ -1518,8 +1518,8 @@ md_apply_fix3 (fixp, valuep, seg) rep = (struct d10v_opcode *) hash_find (d10v_hash, "rep"); repi = (struct d10v_opcode *) hash_find (d10v_hash, "repi"); if ((insn & FM11) == FM11 - && (repi != NULL && (insn & repi->mask) == repi->opcode - || rep != NULL && (insn & rep->mask) == rep->opcode) + && ((repi != NULL && (insn & repi->mask) == repi->opcode) + || (rep != NULL && (insn & rep->mask) == rep->opcode)) && value < 4) as_fatal (_("line %d: rep or repi must include at least 4 instructions"), |