darling-gdb/cpu
DJ Delorie 6772dd07c4 [include/elf]
* m32c.h: Add relax relocs.

[cpu]
	* m32c.cpu (RL_TYPE): New attribute, with macros.
	(Lab-8-24): Add RELAX.
	(unary-insn-defn-g, binary-arith-imm-dst-defn,
	binary-arith-imm4-dst-defn): Add 1ADDR attribute.
	(binary-arith-src-dst-defn): Add 2ADDR attribute.
	(jcnd16-5, jcnd16, jcnd32, jmp16.s, jmp16.b, jmp16.w, jmp16.a,
	jmp32.s, jmp32.b, jmp32.w, jmp32.a, jsr16.w, jsr16.a): Add JUMP
	attribute.
	(jsri16, jsri32): Add 1ADDR attribute.
	(jsr32.w, jsr32.a): Add JUMP attribute.

[opcodes]
	* m32c-desc.c: Regenerate with linker relaxation attributes.
	* m32c-desc.h: Likewise.
	* m32c-dis.c: Likewise.
	* m32c-opc.c: Likewise.

[gas]
	* config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix.
	(tc_gen_reloc): Don't define.
	* config/tc-m32c.c (rl_for, relaxable): New convenience macros.
	(OPTION_LINKRELAX): New.
	(md_longopts): Add it.
	(m32c_relax): New.
	(md_parse_options): Set it.
	(md_assemble): Emit relaxation relocs as needed.
	(md_convert_frag): Emit relaxation relocs as needed.
	(md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16.
	(m32c_apply_fix): New.
	(tc_gen_reloc): New.
	(m32c_force_relocation): Force out jump relocs when relaxing.
	(m32c_fix_adjustable): Return false if relaxing.

[bfd]
	* elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
	(m32c_elf_relocate_section): Don't relocate them.
	(compare_reloc): New.
	(relax_reloc): Remove.
	(m32c_offset_for_reloc): New.
	(m16c_addr_encodings): New.
	(m16c_jmpaddr_encodings): New.
	(m32c_addr_encodings): New.
	(m32c_elf_relax_section): Relax jumps and address displacements.
	(m32c_elf_relax_delete_bytes): Adjust for internal syms.  Fix up
	short jumps.

	* reloc.c: Add m32c relax relocs.
	* libbfd.h: Regenerate.
2006-02-24 22:10:36 +00:00
..
ChangeLog [include/elf] 2006-02-24 22:10:36 +00:00
cris.cpu * cris.cpu (simplecris-common-writable-specregs) 2005-12-06 21:48:28 +00:00
frv.cpu Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
frv.opc 2005-10-28 Dave Brolley <brolley@redhat.com> 2005-10-28 19:33:06 +00:00
iq10.cpu Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
iq2000.cpu * iq2000.cpu: Include from binutils cpu dir. 2005-07-06 08:18:52 +00:00
iq2000.opc Fix %hi() operator for 64-bit hosts. 2006-02-10 12:05:12 +00:00
iq2000m.cpu Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
m32c.cpu [include/elf] 2006-02-24 22:10:36 +00:00
m32c.opc 2005-10-28 Dave Brolley <brolley@redhat.com> 2005-10-28 19:33:06 +00:00
m32r.cpu Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
m32r.opc * m32r.opc (parse_hi16): Do not assume a 32-bit host word size. 2005-10-26 07:49:05 +00:00
mt.cpu Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
mt.opc Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
sh64-compact.cpu Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sh64-media.cpu Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sh.cpu Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sh.opc Update function declarations to ISO C90 formatting 2005-07-01 11:16:33 +00:00
simplify.inc Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xc16x.cpu Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
xc16x.opc Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00