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
..
ChangeLog 2007-12-07 Bob Wilson <bob.wilson@acm.org> 2007-12-07 22:52:10 +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 bfd: 2007-06-29 16:29:17 +00:00
avr.h Add support for AVR6 family 2006-05-24 07:36:12 +00:00
bfin.h * elf/bfin.h (R_BFIN_GOT17M4, R_BFIN_GOTHI, R_BFIN_GOTLO, 2006-03-25 18:21:47 +00:00
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 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 * dwarf2.h: Mention the location of the DWARF3 spec on the web. 2007-11-16 15:36:21 +00:00
external.h Define ATTRIBUTE_PACKED and use as necessary. 2006-12-06 14:36:41 +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 Add TLS support for hppa-linux 2006-05-24 11:05:42 +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:51 +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 * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with 2007-11-28 13:53:05 +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:36 +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/ 2007-09-11 16:07:50 +00:00
mcore.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mep.h 2007-02-05 Dave Brolley <brolley@redhat.com> 2007-02-05 19:15:43 +00:00
mips.h bfd/ 2007-11-29 12:23:44 +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 * mn10300.h (R_MN10300_ALIGN): Define. 2007-10-30 15:18:29 +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:12 +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 * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +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 Fix comment attached to #endif 2007-02-06 14:50:58 +00:00
s390.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
score.h Fix score bugs 2006-10-19 15:47:34 +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
spu.h include/elf/ 2007-05-12 06:45:33 +00:00
v850.h include/elf/ 2007-03-08 11:28:35 +00:00
vax.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
vxworks.h include/elf/ 2007-11-08 13:51:07 +00:00
x86-64.h Patch by matz@suse.de: 2006-03-23 08:23:09 +00:00
xc16x.h Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
xstormy16.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xtensa.h 2007-12-07 Bob Wilson <bob.wilson@acm.org> 2007-12-07 22:52:10 +00:00