diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-d30v.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2eca96e..ee7089f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-03-02 Michael Meissner <meissner@redhat.com> + + * config/tc-d30v.c (check_range): Remove code that incorrectly + sign extended values where bits < 32. + 2000-03-02 H.J. Lu (hjl@gnu.org) * configure.in: Support --enable-targets=all on ia32. diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c index c894e2b..c95a8d2 100644 --- a/gas/config/tc-d30v.c +++ b/gas/config/tc-d30v.c @@ -247,10 +247,6 @@ check_range (num, bits, flags) if (bits == 32 && sizeof(unsigned long) * CHAR_BIT == 32) return 0; - /* Sign extend signed values to unsigned long */ - if ((flags & OPERAND_SIGNED) && (num & ((unsigned long)1 << (bits - 1)))) - num |= ((long)-1 << (bits - 1)); - if (flags & OPERAND_SHIFT) { /* We know that all shifts are right by three bits.... */ |