summaryrefslogtreecommitdiff
path: root/bfd/elf32-spu.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2007-05-12 06:45:33 +0000
committerAlan Modra <amodra@bigpond.net.au>2007-05-12 06:45:33 +0000
commit5d3041f31ceb8b49145c8dc4baa49e7ff3a6539f (patch)
tree58657178ac05fbc3b1457659d396e2c5d3ba355f /bfd/elf32-spu.c
parentf3831cb783d433ccf205d7f1e219a67c59291c8b (diff)
downloadbinutils-redhat-5d3041f31ceb8b49145c8dc4baa49e7ff3a6539f.tar.gz
include/elf/
* spu.h (R_SPU_ADDR16X): Define. (R_SPU_PPU32, R_SPU_PPU64): Renumber. bfd/ * elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X.
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r--bfd/elf32-spu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index 865e1c0d1c..844eee6ca2 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -78,6 +78,9 @@ static reloc_howto_type elf_howto_table[] = {
HOWTO (R_SPU_REL32, 0, 2, 32, TRUE, 0, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_REL32",
FALSE, 0, 0xffffffff, TRUE),
+ HOWTO (R_SPU_ADDR16X, 0, 2, 16, FALSE, 7, complain_overflow_bitfield,
+ bfd_elf_generic_reloc, "SPU_ADDR16X",
+ FALSE, 0, 0x007fff80, FALSE),
HOWTO (R_SPU_PPU32, 0, 2, 32, FALSE, 0, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_PPU32",
FALSE, 0, 0xffffffff, FALSE),