binutils-gdb/gas/config
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
..
aout_gnu.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
atof-ieee.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
atof-vax.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
bfin-aux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
bfin-defs.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
bfin-lex.l Switch to GPLv3 2007-07-03 11:01:12 +00:00
bfin-parse.y * config/bfin-parse.y (asm_1): Slightly improve error messages 2007-09-18 11:59:00 +00:00
e-crisaout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-criself.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386aout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386coff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386elf.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-mipsecoff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-mipself.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
itbl-mips.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
m68k-parse.h gas/ 2007-09-27 11:14:10 +00:00
m68k-parse.y Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-aout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-aout.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-coff.c * read.c (potable): Add string8, string16, string32 and string64. Add bit size for stringer function. 2007-10-04 17:05:37 +00:00
obj-coff.h gas/ 2007-07-04 15:32:46 +00:00
obj-ecoff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-ecoff.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-elf.c gas/ 2007-10-27 17:45:53 +00:00
obj-elf.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-evax.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-evax.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-multi.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-multi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-som.c PR gas/5121 gas/5122 gas/5123 gas/5124 gas/5125 gas/5126 gas/5129 gas/5131 gas/5132 gas/5137 gas/5143 2007-10-08 15:26:42 +00:00
obj-som.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-alpha.c * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand. 2007-11-26 01:43:43 +00:00
tc-alpha.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-arc.c PR gas/5172 2007-10-18 13:03:12 +00:00
tc-arc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-arm.c 2007-11-06 Paul Brook <paul@codesourcery.com> 2007-11-06 22:17:00 +00:00
tc-arm.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-avr.c 2007-11-16 Eric B. Weddington <eric.weddington@atmel.com> 2007-11-16 17:39:22 +00:00
tc-avr.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-bfin.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-bfin.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-cr16.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-cr16.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-cris.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-cris.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-crx.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-crx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-d10v.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-d10v.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-d30v.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-d30v.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-dlx.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-dlx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-fr30.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-fr30.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-frv.c PR gas/5269 2007-11-12 10:57:33 +00:00
tc-frv.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-generic.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-generic.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-h8300.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-h8300.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-hppa.c gas/ 2007-10-18 13:33:57 +00:00
tc-hppa.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-i370.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-i370.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-i386.c 2007-11-09 H.J. Lu <hongjiu.lu@intel.com> 2007-11-09 13:53:13 +00:00
tc-i386.h 2007-11-01 H.J. Lu <hongjiu.lu@intel.com> 2007-11-01 18:40:53 +00:00
tc-i860.c PR gas/5172 2007-10-18 13:03:12 +00:00
tc-i860.h PR gas/5172 2007-10-18 13:03:12 +00:00
tc-i960.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-i960.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ia64.c * dwarf2dbg.c (dwarf2_consume_line_info): New. 2007-11-19 18:15:53 +00:00
tc-ia64.h gas/ 2007-09-26 08:34:24 +00:00
tc-ip2k.c PR gas/5172 2007-10-18 13:03:12 +00:00
tc-ip2k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-iq2000.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-iq2000.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m32c.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-m32c.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m32r.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-m32r.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68hc11.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-m68hc11.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68k.c PR gas/5172 2007-10-18 13:03:12 +00:00
tc-m68k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68851.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-maxq.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-maxq.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mcore.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mcore.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mep.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mep.h * config/tc-mep.h (skip_whitespace): Remove definition. 2007-07-24 12:38:35 +00:00
tc-mips.c bfd/ 2007-11-29 12:23:44 +00:00
tc-mips.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mmix.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mmix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mn10200.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mn10200.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mn10300.c * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for alignment fixups. 2007-11-13 10:40:29 +00:00
tc-mn10300.h * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for alignment fixups. 2007-11-13 10:40:29 +00:00
tc-msp430.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-msp430.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mt.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mt.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ns32k.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-ns32k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-openrisc.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-openrisc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-or32.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-or32.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-pdp11.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-pdp11.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-pj.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-pj.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ppc.c * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol 2007-12-03 23:14:24 +00:00
tc-ppc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-s390.c 2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com> 2007-11-29 09:34:14 +00:00
tc-s390.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-score.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-score.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-sh64.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-sh64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-sh.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-sh.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-sparc.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-sparc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-spu.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-spu.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-tic4x.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-tic4x.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-tic30.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-tic30.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-tic54x.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-tic54x.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-v850.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-v850.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-vax.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-vax.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xc16x.c PR gas/5175 2007-10-18 11:01:24 +00:00
tc-xc16x.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xstormy16.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-xstormy16.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xtensa.c 2007-12-07 Bob Wilson <bob.wilson@acm.org> 2007-12-07 22:52:10 +00:00
tc-xtensa.h gas/ 2007-11-30 23:47:55 +00:00
tc-z8k.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-z8k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-z80.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-z80.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-386bsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-aix5.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-armeabi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-armlinuxeabi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-dynix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-epoc-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-freebsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-generic.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-gnu.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-go32.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppa64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppa.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppalinux64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hpux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-i386aix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-ia64aix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-interix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-irix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-linux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-lnews.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-lynx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-mach.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-macos.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-nbsd532.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-nbsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-netware.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pc532mach.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pep.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-psos.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-riscix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-sparcaout.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-sun3.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-svr4.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-symbian.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-tmips.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-vxworks.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-wince-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
vax-inst.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
xtensa-istack.h * config/xtensa-istack.h (tinsn_struct): Replace linenum field 2007-11-19 19:40:55 +00:00
xtensa-relax.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
xtensa-relax.h Switch to GPLv3 2007-07-03 11:01:12 +00:00