2011-05-03 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Tue, 3 May 2011 11:17:22 +0000 (11:17 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 3 May 2011 11:17:22 +0000 (11:17 +0000)
commit2fbb87f62734ebbf166eb86c62ad4d569f1229cc
treeaf48812e7ead55868a91bcfaa74c5abbfe77e563
parentf83a48cea0662260e7ec0eee00d448b7adf2da9d
2011-05-03  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-tic6x.c (elf32_tic6x_howto_table,
elf32_tic6x_howto_table_rel, (elf32_tic6x_gc_sweep_hook,
elf32_tic6x_relocate_section, elf32_tic6x_check_relocs):
Add R_C6000_EHTYPE.

gas/
* config/tc-tic6x.c (s_ehtype): New function.
(md_pseudo_table): Add "ehtype".
(tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
* doc/c-tic6x.texi: Document .ehtype directive.

ld/testsuite/
* ld-tic6x/ehtype-reloc-1-rel.d: New test.
* ld-tic6x/ehtype-reloc-1.d: New test.
* ld-tic6x/ehtype-reloc-1.s: New test.
bfd/ChangeLog
bfd/elf32-tic6x.c
gas/ChangeLog
gas/config/tc-tic6x.c
gas/doc/c-tic6x.texi
ld/testsuite/ChangeLog
ld/testsuite/ld-tic6x/ehtype-reloc-1-rel.d [new file with mode: 0644]
ld/testsuite/ld-tic6x/ehtype-reloc-1.d [new file with mode: 0644]
ld/testsuite/ld-tic6x/ehtype-reloc-1.s [new file with mode: 0644]