diff options
author | Nick Clifton <nickc@redhat.com> | 2001-11-09 10:21:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-11-09 10:21:22 +0000 |
commit | 8f7c482439e7d35376622b98d93331af5cb2fe93 (patch) | |
tree | 9b8185033522d9d44d04689639e7ee818ad901e5 | |
parent | d480556f681cefb9de53bceb1d32d965912f0af7 (diff) | |
download | binutils-redhat-8f7c482439e7d35376622b98d93331af5cb2fe93.tar.gz |
Fix badly placed #if 0...
-rw-r--r-- | opcodes/ChangeLog | 7 | ||||
-rw-r--r-- | opcodes/cgen-ibld.in | 4 | ||||
-rw-r--r-- | opcodes/fr30-ibld.c | 4 | ||||
-rw-r--r-- | opcodes/m32r-ibld.c | 4 | ||||
-rw-r--r-- | opcodes/openrisc-ibld.c | 4 |
5 files changed, 15 insertions, 8 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6ac5498acb..a3191831e6 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,10 @@ +2001-11-09 Nick Clifton <nickc@cambridge.redhat.com> + + * cgen-ibld.in (extract_1): Fix badly placed #if 0. + * fr30-ibld.c: Regenerate. + * m32r-ibld.c: Regenerate. + * openrisc-ibld.c: Regenerate. + 2001-11-04 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (print_insn_mips): Remove spaces at end of line. diff --git a/opcodes/cgen-ibld.in b/opcodes/cgen-ibld.in index d95878596b..d2bfd02a91 100644 --- a/opcodes/cgen-ibld.in +++ b/opcodes/cgen-ibld.in @@ -375,9 +375,9 @@ extract_1 (cd, ex_info, start, length, word_length, bufp, pc) int shift; #if 0 int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG; - - x = cgen_get_insn_value (cd, bufp, word_length); #endif + x = cgen_get_insn_value (cd, bufp, word_length); + if (CGEN_INSN_LSB0_P) shift = (start + 1) - length; else diff --git a/opcodes/fr30-ibld.c b/opcodes/fr30-ibld.c index 92e7ee3c39..3a72fc27be 100644 --- a/opcodes/fr30-ibld.c +++ b/opcodes/fr30-ibld.c @@ -375,9 +375,9 @@ extract_1 (cd, ex_info, start, length, word_length, bufp, pc) int shift; #if 0 int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG; - - x = cgen_get_insn_value (cd, bufp, word_length); #endif + x = cgen_get_insn_value (cd, bufp, word_length); + if (CGEN_INSN_LSB0_P) shift = (start + 1) - length; else diff --git a/opcodes/m32r-ibld.c b/opcodes/m32r-ibld.c index 4d083a1828..59bc058973 100644 --- a/opcodes/m32r-ibld.c +++ b/opcodes/m32r-ibld.c @@ -375,9 +375,9 @@ extract_1 (cd, ex_info, start, length, word_length, bufp, pc) int shift; #if 0 int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG; - - x = cgen_get_insn_value (cd, bufp, word_length); #endif + x = cgen_get_insn_value (cd, bufp, word_length); + if (CGEN_INSN_LSB0_P) shift = (start + 1) - length; else diff --git a/opcodes/openrisc-ibld.c b/opcodes/openrisc-ibld.c index 8a2a28a620..4439077191 100644 --- a/opcodes/openrisc-ibld.c +++ b/opcodes/openrisc-ibld.c @@ -375,9 +375,9 @@ extract_1 (cd, ex_info, start, length, word_length, bufp, pc) int shift; #if 0 int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG; - - x = cgen_get_insn_value (cd, bufp, word_length); #endif + x = cgen_get_insn_value (cd, bufp, word_length); + if (CGEN_INSN_LSB0_P) shift = (start + 1) - length; else |