Bob Wilson
1995e606d8
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:08 +00:00
..
2005-08-18 03:49:39 +00:00
2007-11-04 23:49:08 +00:00
2007-12-07 22:52:08 +00:00
2007-10-15 19:45:31 +00:00
2005-05-10 10:21:13 +00:00
2007-11-29 12:23:44 +00:00
2000-09-28 08:00:54 +00:00
2007-03-06 19:00:57 +00:00
2007-07-09 21:21:42 +00:00
2005-05-10 10:21:13 +00:00
2007-11-17 13:38:57 +00:00
2005-04-14 02:22:07 +00:00
2005-05-10 10:21:13 +00:00
2007-07-17 13:50:23 +00:00
2007-08-31 20:20:44 +00:00
2007-06-29 14:09:34 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2007-03-29 21:03:43 +00:00
2007-11-08 00:08:48 +00:00
2005-05-10 10:21:13 +00:00
1999-05-03 07:29:06 +00:00
1999-05-03 07:29:06 +00:00
1999-05-03 07:29:06 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2005-06-30 23:02:54 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2007-09-06 17:22:36 +00:00
2000-07-05 19:28:05 +00:00
2006-01-18 21:05:51 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2007-07-13 18:23:23 +00:00
2005-05-10 10:21:13 +00:00
2005-07-12 10:34:51 +00:00
2001-08-02 23:27:47 +00:00
2007-07-18 18:52:30 +00:00
2005-05-10 10:21:13 +00:00
2006-11-27 19:23:21 +00:00