From 305d537e30a0faa7ebae53fe81acbb5cbcb9ceef Mon Sep 17 00:00:00 2001 From: Jason Eckhardt Date: Wed, 9 Aug 2000 03:33:42 +0000 Subject: gas: 2000-08-08 Jason Eckhardt * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. (i860_fix_info): New enum. (MD_APPLY_FIX3): Define. (WORKING_DOT_WORD): Define. (TC_HANDLES_FX_DONE): Define. (DIFF_EXPR_OK): Define. (LISTING_HEADER): Define. (TARGET_FORMAT): Select target format based on endian flag. (TARGET_BYTES_BIG_ENDIAN): Default to little endian. (target_big_endian): Add external declaration. * config/tc-i860.c: All existing code reworked completely. Other new code shown below. (SYNTAX_SVR4): Define. (target_warn_expand): New variable. (md_shortopts): Declare and define (-Qy, -Qn, and -V options). (md_longopts): Declare and define with new options (-EL, -EB, and -mwarn-expand). (md_show_usage): New function. (md_operand): New function. (obtain_reloc_for_imm16): New function. (md_apply_fix3): New function. (tc_gen_reloc): New function. include: 2000-08-08 Jason Eckhardt * opcode/i860.h: Small formatting adjustments. opcode: 2000-08-08 Jason Eckhardt * i860-dis.c (print_br_address): Change third argument from int to long. bfd: 2000-08-08 Jason Eckhardt * elf32-i860.c (elf32_i860_howto_table): Updated some fields. --- opcodes/i860-dis.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'opcodes') diff --git a/opcodes/i860-dis.c b/opcodes/i860-dis.c index d969200..ba183ab 100644 --- a/opcodes/i860-dis.c +++ b/opcodes/i860-dis.c @@ -44,7 +44,7 @@ static const char *const crnames[] = /* Prototypes. */ static int sign_ext PARAMS((unsigned int, int)); -static void print_br_address PARAMS((disassemble_info *, bfd_vma, int)); +static void print_br_address PARAMS((disassemble_info *, bfd_vma, long)); /* True if opcode is xor, xorh, and, andh, or, orh, andnot, andnoth. */ @@ -75,10 +75,10 @@ static void print_br_address (info, memaddr, val) disassemble_info *info; bfd_vma memaddr; - int val; + long val; { - int adj = memaddr + 4 + (val << 2); + long adj = (long)memaddr + 4 + (val << 2); (*info->fprintf_func) (info->stream, "0x%08x", adj); -- cgit v1.1