Patches to add Irix6 host support.

This commit is contained in:
Jim Wilson
1996-11-12 23:33:32 +00:00
parent cf13e3fc30
commit 119dfbb7c1
14 changed files with 50 additions and 35 deletions

View File

@@ -643,7 +643,7 @@ parse_number (p, len, parsed_float, putithere)
register int base = input_radix;
int unsigned_p = 0;
int long_p = 0;
unsigned LONGEST high_bit;
ULONGEST high_bit;
struct type *signed_type;
struct type *unsigned_type;
@@ -745,13 +745,13 @@ parse_number (p, len, parsed_float, putithere)
&& ((n >> 2) >> (TARGET_INT_BIT-2))) /* Avoid shift warning */
|| long_p)
{
high_bit = ((unsigned LONGEST)1) << (TARGET_LONG_BIT-1);
high_bit = ((ULONGEST)1) << (TARGET_LONG_BIT-1);
unsigned_type = builtin_type_unsigned_long;
signed_type = builtin_type_long;
}
else
{
high_bit = ((unsigned LONGEST)1) << (TARGET_INT_BIT-1);
high_bit = ((ULONGEST)1) << (TARGET_INT_BIT-1);
unsigned_type = builtin_type_unsigned_int;
signed_type = builtin_type_int;
}