OSDN Git Service

2011-05-03 Paul Brook <paul@codesourcery.com>
authorpbrook <pbrook>
Tue, 3 May 2011 11:17:18 +0000 (11:17 +0000)
committerpbrook <pbrook>
Tue, 3 May 2011 11:17:18 +0000 (11:17 +0000)
commit43ff11c530f1c205bc7f1a10d616d2b880926789
tree941d2b711d3a2c1f280b220bd3a67e5fe2608f2f
parentbe08dda3d645a887f7083b9e016d16ecf1b52780
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]