7e97b9e4f6
Changes in Version 0.4 ---------------------- 1. First draft of a user manual (doc/ia64user.txt) 2. Systems calls to vprintf and program exit 3. Enhancements to single step and display register commands 4. Trace level command 5. Reset hazards command 6 Various bug fixes Changes in Version 0.5 ---------------------- Supports ELF files created by the Intel IA64 Assembler. Not all relocation types are yet supported.
22 lines
905 B
Text
22 lines
905 B
Text
$NetBSD: patch-ac,v 1.2 2008/08/04 08:04:30 obache Exp $
|
|
|
|
--- asm/assemble.c.orig 2000-02-14 21:06:29.000000000 +0000
|
|
+++ asm/assemble.c
|
|
@@ -282,7 +282,7 @@ uint32 parse_operands(char *input, char
|
|
|
|
case 'i': /* signed immediate */
|
|
if(!isalpha(inptr[0]))
|
|
- imm = strtoll(inptr, &throwaway, 0);
|
|
+ imm = strtoq(inptr, &throwaway, 0);
|
|
else
|
|
imm = get_symbol_value(inptr);
|
|
if( isdigit(refptr[3]) )
|
|
@@ -299,7 +299,7 @@ uint32 parse_operands(char *input, char
|
|
|
|
case 'u': /* unsigned immediate */
|
|
if(!isalpha(inptr[0]))
|
|
- imm = strtoll(inptr, &throwaway, 0);
|
|
+ imm = strtoq(inptr, &throwaway, 0);
|
|
else
|
|
imm = get_symbol_value(inptr);
|
|
maxbits = (refptr[2]-'0');
|