binutils-gdb/include/elf
Bob Wilson 1bbb5f219c 2007-12-07 Bob Wilson <bob.wilson@acm.org>
include/elf/
	* xtensa.h (R_XTENSA_32_PCREL): New.

bfd/
	* elf32-xtensa.c (elf_howto_table): Add R_XTENSA_32_PCREL.
	(elf_xtensa_reloc_type_lookup): Handle BFD_RELOC_32_PCREL.
	(elf_xtensa_check_relocs): Use default case for all relocations that
	need nothing done here.
	(elf_xtensa_do_reloc): Compute self_address for all relocation types.
	Handle R_XTENSA_32_PCREL.
	(elf_xtensa_relocate_section): Check for R_XTENSA_32_PCREL for dynamic
	symbols.
	(check_section_ebb_pcrels_fit): Ignore R_XTENSA_32_PCREL relocations.

gas/
	* config/tc-xtensa.c (O_pcrel): Define.
	(suffix_relocs): Add pcrel suffix.
	(md_pseudo_table): Add 4byte and 2byte directives.
	(xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp.
	(xg_assemble_literal): Likewise.  Check for O_pcrel.
	(expression_maybe_register): Reorganize.  Handle BFD_RELOC_32_PCREL.
	(xg_valid_literal_expression): Allow O_pcrel.
	(md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL.
	(tc_gen_reloc): Fix punctuation in error message.

gas/testsuite/
	* gas/xtensa/all.exp: Run new pcrel test.
	* gas/xtensa/err-pcrel.s: New.
	* gas/xtensa/pcrel.d: New.
	* gas/xtensa/pcrel.s: New.
	* gas/xtensa/xtensa-err.exp: New.
2007-12-07 22:52:10 +00:00
..
alpha.h
arc.h
arm.h
avr.h
bfin.h
ChangeLog 2007-12-07 Bob Wilson <bob.wilson@acm.org> 2007-12-07 22:52:10 +00:00
ChangeLog-9103
common.h 2007-10-18 Roland McGrath <roland@redhat.com> 2007-10-18 09:57:04 +00:00
cr16.h Various CR16 fixes 2007-10-01 15:55:44 +00:00
cr16c.h
cris.h
crx.h
d10v.h
d30v.h
dlx.h
dwarf2.h * dwarf2.h: Mention the location of the DWARF3 spec on the web. 2007-11-16 15:36:21 +00:00
dwarf.h
external.h
fr30.h
frv.h
h8.h
hppa.h
i370.h
i386.h
i860.h
i960.h
ia64.h
internal.h * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with 2007-11-28 13:53:05 +00:00
ip2k.h
iq2000.h
m32c.h
m32r.h
m68hc11.h
m68k.h bfd/ 2007-09-11 16:07:50 +00:00
mcore.h
mep.h
mips.h bfd/ 2007-11-29 12:23:44 +00:00
mmix.h
mn10200.h
mn10300.h * mn10300.h (R_MN10300_ALIGN): Define. 2007-10-30 15:18:29 +00:00
msp430.h
mt.h
openrisc.h
or32.h
pj.h
ppc64.h
ppc.h * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
reloc-macros.h
s390.h
score.h
sh.h
sparc.h
spu.h
v850.h
vax.h
vxworks.h include/elf/ 2007-11-08 13:51:07 +00:00
x86-64.h
xc16x.h
xstormy16.h
xtensa.h 2007-12-07 Bob Wilson <bob.wilson@acm.org> 2007-12-07 22:52:10 +00:00