libc/include/elf
DJ Delorie b647bef632 [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:35 +00:00
..
ChangeLog [include/elf] 2006-02-24 22:10:35 +00:00
ChangeLog-9103 Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103. 2005-04-13 17:33:48 +00:00
alpha.h * alpha.h (LITUSE_ALPHA_JSRDIRECT): New. 2005-05-31 22:52:31 +00:00
arc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
arm.h 2005-12-12 Paul Brook <paul@codesourcery.com> 2005-12-12 17:03:40 +00:00
avr.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
bfin.h * dis-asm.h (print_insn_bfin): Declare. 2005-09-30 15:12:52 +00:00
common.h Add support for the Infineon XC16X. 2006-02-17 14:36:26 +00:00
cr16c.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
cris.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
crx.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
d10v.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
d30v.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
dlx.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
dwarf.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
dwarf2.h binutils/ 2005-07-18 04:13:05 +00:00
external.h * elf/external.h (GRP_ENTRY_SIZE): Define. 2005-06-17 13:37:23 +00:00
fr30.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
frv.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
h8.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
hppa.h * elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs. 2005-11-07 00:08:35 +00:00
i370.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
i386.h include/elf/ChangeLog: 2006-01-18 21:07:47 +00:00
i860.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
i960.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ia64.h * elf/ia64.h (SHF_IA_64_HP_TLS): New. 2006-02-06 21:52:48 +00:00
internal.h bfd/ 2006-02-10 15:04:19 +00:00
ip2k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
iq2000.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
m32c.h [include/elf] 2006-02-24 22:10:35 +00:00
m32r.h Add support for a 32bit PC relative reloc 2005-07-20 11:35:03 +00:00
m68hc11.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
m68k.h * bfd/archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e, 2006-02-07 19:01:10 +00:00
mcore.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mips.h PR 1150 2005-11-11 11:06:31 +00:00
mmix.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mn10200.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mn10300.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
msp430.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mt.h Second part of ms1 to mt renaming. 2005-12-16 10:23:10 +00:00
openrisc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
or32.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
pj.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ppc.h include/elf/ 2005-05-14 05:07:15 +00:00
ppc64.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
reloc-macros.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
s390.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sh.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sparc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
v850.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
vax.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
x86-64.h include/elf/ChangeLog: 2006-01-18 21:07:47 +00:00
xc16x.h Add support for the Infineon XC16X. 2006-02-17 14:36:26 +00:00
xstormy16.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xtensa.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00