This is the mail archive of the binutils-cvs@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

src/ pcodes/ChangeLog pcodes/sh-opc.h pcodes/s ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	amylaar@sourceware.cygnus.com	00/04/05 14:23:06

Modified files:
	opcodes        : ChangeLog sh-opc.h sh-dis.c 
	gas            : ChangeLog 
	include/coff   : ChangeLog sh.h 
	include/elf    : ChangeLog sh.h 
	bfd            : ChangeLog reloc.c elf32-sh.c bfd-in2.h libbfd.h 
	gas/config     : tc-sh.c 

Log message:
	sh-dsp REPEAT support:
	opcodes:
	
	* sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
	Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
	(sh_arg_type): Add A_PC.
	(sh_table): Update entries using immediates.  Add repeat.
	* sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
	Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
	
	gas:
	
	* config/tc-sh.c (immediate): Delete.
	(sh_operand_info): Add immediate member.
	(parse_reg): Use A_PC for pc.
	(parse_exp): Add second argument 'op'.  All callers changed.
	(parse_at): Expect pc to be coded as A_PC.
	Use immediate field in *op.
	(insert): Add fourth argument 'op'.  All callers changed.
	(build_relax): Add second argument 'op'.  All callers changed.
	(insert_loop_bounds): New function.
	(build_Mytes): Remove DISP_4.
	Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
	(assemble_ppi): Use immediate field in *operand.
	(sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
	(md_apply_fix): Likewise.
	(tc_gen_reloc): Likewise.  Check for a pcrel BFD_RELOC_SH_LABEL.
	
	include/coff:
	
	* sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define.
	
	include/elf:
	
	* sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.
	
	bfd:
	
	* reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
	BFD_RELOC_SH_LOOP_END.
	* elf32-sh.c (sh_elf_howto_tab): Change special_func to
	sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
	Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
	(sh_elf_reloc_loop): New function.
	(sh_elf_reloc): No need to test for always-to-be-ignored relocs
	any more.
	(sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
	(sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
	* bfd-in2.h, libbfd.h: Regenerate.

Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.109&r2=1.110
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/opcodes/sh-opc.h.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/opcodes/sh-dis.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.311&r2=1.312
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/include/coff/ChangeLog.diff?cvsroot=src&r1=1.14&r2=1.15
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/include/coff/sh.h.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/include/elf/ChangeLog.diff?cvsroot=src&r1=1.42&r2=1.43
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/include/elf/sh.h.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.374&r2=1.375
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/bfd/reloc.c.diff?cvsroot=src&r1=1.16&r2=1.17
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/bfd/elf32-sh.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/bfd/bfd-in2.h.diff?cvsroot=src&r1=1.36&r2=1.37
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/bfd/libbfd.h.diff?cvsroot=src&r1=1.14&r2=1.15
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gas/config/tc-sh.c.diff?cvsroot=src&r1=1.11&r2=1.12


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]