diff options
author | Jason Eckhardt <jle@rice.edu> | 2000-08-09 03:33:42 +0000 |
---|---|---|
committer | Jason Eckhardt <jle@rice.edu> | 2000-08-09 03:33:42 +0000 |
commit | 305d537e30a0faa7ebae53fe81acbb5cbcb9ceef (patch) | |
tree | fe86f6e7d50cd5d574f1b6769272895646129e31 /opcodes | |
parent | e374f1d9773018fd75aedea985ae4d17fa764334 (diff) | |
download | gdb-305d537e30a0faa7ebae53fe81acbb5cbcb9ceef.zip gdb-305d537e30a0faa7ebae53fe81acbb5cbcb9ceef.tar.gz gdb-305d537e30a0faa7ebae53fe81acbb5cbcb9ceef.tar.bz2 |
gas:
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* 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 <jle@cygnus.com>
* opcode/i860.h: Small formatting adjustments.
opcode:
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* i860-dis.c (print_br_address): Change third argument from int
to long.
bfd:
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* elf32-i860.c (elf32_i860_howto_table): Updated some fields.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/i860-dis.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |