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.
This commit is contained in:
Jason Eckhardt
2000-08-09 03:33:42 +00:00
parent e374f1d977
commit 305d537e30
8 changed files with 913 additions and 697 deletions

View File

@ -166,8 +166,8 @@ static reloc_howto_type elf32_i860_howto_table [] =
bfd_elf_generic_reloc, /* special_function */
"R_860_PC16", /* name */
false, /* partial_inplace */
0xffff, /* src_mask */
0xffff, /* dst_mask */
0x1f07ff, /* src_mask */
0x1f07ff, /* dst_mask */
true), /* pcrel_offset */
HOWTO (R_860_LOW0, /* type */
@ -222,8 +222,8 @@ static reloc_howto_type elf32_i860_howto_table [] =
bfd_elf_generic_reloc, /* special_function */
"R_860_SPLIT1", /* name */
false, /* partial_inplace */
0x1f07ff, /* src_mask */
0x1f07ff, /* dst_mask */
0x1f07fe, /* src_mask */
0x1f07fe, /* dst_mask */
false), /* pcrel_offset */
HOWTO (R_860_LOW2, /* type */
@ -250,8 +250,8 @@ static reloc_howto_type elf32_i860_howto_table [] =
bfd_elf_generic_reloc, /* special_function */
"R_860_SPLIT2", /* name */
false, /* partial_inplace */
0x1f07ff, /* src_mask */
0x1f07ff, /* dst_mask */
0x1f07fc, /* src_mask */
0x1f07fc, /* dst_mask */
false), /* pcrel_offset */
HOWTO (R_860_LOW3, /* type */