OSDN Git Service

include/elf/
authortsmigiel <tsmigiel>
Fri, 24 Jul 2009 19:51:26 +0000 (19:51 +0000)
committertsmigiel <tsmigiel>
Fri, 24 Jul 2009 19:51:26 +0000 (19:51 +0000)
commit6c241aa16fa314856bb368ae96aa6ebba3f19a64
treee4d9e4f72f595d70c7b55ac3acd0b0120d467f70
parenta37b400ab1d6152633b6601d2a1cc74f6f9e0fc7
include/elf/
        * spu.h (R_SPU_ADD_PIC): New.
bfd/
        * reloc.c (BFD_RELOC_SPU_ADD_PIC): Define.
        * bfd-in2.h: Regenerate.
        * libbfd.h: Regenerate.
        * elf32-spu.c (elf_howto_table): Add entries SPU_ADD_PIC.
        (spu_elf_bfd_to_reloc_type): Handle SPU_ADD_PIC.
        (spu_elf_relocate_section): Patch instructions marked by SPU_ADD_PIC.
gas/
        * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
        * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
        (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
ld/testsuite/
        * ld-spu/pic.d: New.
        * ld-spu/pic.s: New.
        * ld-spu/picdef.s: New.
14 files changed:
bfd/ChangeLog
bfd/bfd-in2.h
bfd/elf32-spu.c
bfd/libbfd.h
bfd/reloc.c
gas/ChangeLog
gas/config/tc-spu.c
gas/config/tc-spu.h
include/elf/ChangeLog
include/elf/spu.h
ld/testsuite/ChangeLog
ld/testsuite/ld-spu/pic.d [new file with mode: 0644]
ld/testsuite/ld-spu/pic.s [new file with mode: 0644]
ld/testsuite/ld-spu/picdef.s [new file with mode: 0644]