diff options
author | tsmigiel <tsmigiel> | 2009-07-24 19:51:26 +0000 |
---|---|---|
committer | tsmigiel <tsmigiel> | 2009-07-24 19:51:26 +0000 |
commit | f5868bf3c66cb7787268499b04681753cbc6cde4 (patch) | |
tree | 5253dae142ceaabccda24ee6a6e369c9ac61dd18 /include/elf | |
parent | 7791a79955895458dafd86e70082326e8027f8ac (diff) | |
download | gdb-f5868bf3c66cb7787268499b04681753cbc6cde4.tar.gz |
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 'include/elf')
-rw-r--r-- | include/elf/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/spu.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 600342c8a35..110355d0192 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> + Alan Modra <amodra@bigpond.net.au> + + * spu.h (R_SPU_ADD_PIC): New. + 2009-07-23 Ulrich Drepper <drepper@redhat.com> * common.h (STB_GNU_UNIQUE): Define. diff --git a/include/elf/spu.h b/include/elf/spu.h index ef949804e78..518d968cb24 100644 --- a/include/elf/spu.h +++ b/include/elf/spu.h @@ -42,6 +42,7 @@ START_RELOC_NUMBERS (elf_spu_reloc_type) RELOC_NUMBER (R_SPU_ADDR16X, 14) RELOC_NUMBER (R_SPU_PPU32, 15) RELOC_NUMBER (R_SPU_PPU64, 16) + RELOC_NUMBER (R_SPU_ADD_PIC, 17) END_RELOC_NUMBERS (R_SPU_max) /* Program header extensions */ |