diff options
author | Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> | 2009-07-24 19:51:27 +0000 |
---|---|---|
committer | Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> | 2009-07-24 19:51:27 +0000 |
commit | 8fdcc58daafe1153d2edf18a2f106d2b247e1f01 (patch) | |
tree | 12dd0108e2284f8bcf70a761b5e6dcae9f60d7bf /bfd/libbfd.h | |
parent | 309d33736f82fece9dbeae7a4ba096cdc2d77753 (diff) | |
download | gdb-8fdcc58daafe1153d2edf18a2f106d2b247e1f01.zip gdb-8fdcc58daafe1153d2edf18a2f106d2b247e1f01.tar.gz gdb-8fdcc58daafe1153d2edf18a2f106d2b247e1f01.tar.bz2 |
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.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r-- | bfd/libbfd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index d0499e8..28aa045 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -951,6 +951,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", "BFD_RELOC_SPU_HI16", "BFD_RELOC_SPU_PPU32", "BFD_RELOC_SPU_PPU64", + "BFD_RELOC_SPU_ADD_PIC", "BFD_RELOC_ALPHA_GPDISP_HI16", "BFD_RELOC_ALPHA_GPDISP_LO16", "BFD_RELOC_ALPHA_GPDISP", |