aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-spu.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r--bfd/elf32-spu.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index 8cad72b..565176e 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -40,58 +40,58 @@ static bfd_reloc_status_type spu_elf_rel9 (bfd *, arelent *, asymbol *,
array, so it must be declared in the order of that type. */
static reloc_howto_type elf_howto_table[] = {
- HOWTO (R_SPU_NONE, 0, 3, 0, false, 0, complain_overflow_dont,
+ HOWTO (R_SPU_NONE, 0, 0, 0, false, 0, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_NONE",
false, 0, 0x00000000, false),
- HOWTO (R_SPU_ADDR10, 4, 2, 10, false, 14, complain_overflow_bitfield,
+ HOWTO (R_SPU_ADDR10, 4, 4, 10, false, 14, complain_overflow_bitfield,
bfd_elf_generic_reloc, "SPU_ADDR10",
false, 0, 0x00ffc000, false),
- HOWTO (R_SPU_ADDR16, 2, 2, 16, false, 7, complain_overflow_bitfield,
+ HOWTO (R_SPU_ADDR16, 2, 4, 16, false, 7, complain_overflow_bitfield,
bfd_elf_generic_reloc, "SPU_ADDR16",
false, 0, 0x007fff80, false),
- HOWTO (R_SPU_ADDR16_HI, 16, 2, 16, false, 7, complain_overflow_bitfield,
+ HOWTO (R_SPU_ADDR16_HI, 16, 4, 16, false, 7, complain_overflow_bitfield,
bfd_elf_generic_reloc, "SPU_ADDR16_HI",
false, 0, 0x007fff80, false),
- HOWTO (R_SPU_ADDR16_LO, 0, 2, 16, false, 7, complain_overflow_dont,
+ HOWTO (R_SPU_ADDR16_LO, 0, 4, 16, false, 7, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_ADDR16_LO",
false, 0, 0x007fff80, false),
- HOWTO (R_SPU_ADDR18, 0, 2, 18, false, 7, complain_overflow_bitfield,
+ HOWTO (R_SPU_ADDR18, 0, 4, 18, false, 7, complain_overflow_bitfield,
bfd_elf_generic_reloc, "SPU_ADDR18",
false, 0, 0x01ffff80, false),
- HOWTO (R_SPU_ADDR32, 0, 2, 32, false, 0, complain_overflow_dont,
+ HOWTO (R_SPU_ADDR32, 0, 4, 32, false, 0, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_ADDR32",
false, 0, 0xffffffff, false),
- HOWTO (R_SPU_REL16, 2, 2, 16, true, 7, complain_overflow_bitfield,
+ HOWTO (R_SPU_REL16, 2, 4, 16, true, 7, complain_overflow_bitfield,
bfd_elf_generic_reloc, "SPU_REL16",
false, 0, 0x007fff80, true),
- HOWTO (R_SPU_ADDR7, 0, 2, 7, false, 14, complain_overflow_dont,
+ HOWTO (R_SPU_ADDR7, 0, 4, 7, false, 14, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_ADDR7",
false, 0, 0x001fc000, false),
- HOWTO (R_SPU_REL9, 2, 2, 9, true, 0, complain_overflow_signed,
+ HOWTO (R_SPU_REL9, 2, 4, 9, true, 0, complain_overflow_signed,
spu_elf_rel9, "SPU_REL9",
false, 0, 0x0180007f, true),
- HOWTO (R_SPU_REL9I, 2, 2, 9, true, 0, complain_overflow_signed,
+ HOWTO (R_SPU_REL9I, 2, 4, 9, true, 0, complain_overflow_signed,
spu_elf_rel9, "SPU_REL9I",
false, 0, 0x0000c07f, true),
- HOWTO (R_SPU_ADDR10I, 0, 2, 10, false, 14, complain_overflow_signed,
+ HOWTO (R_SPU_ADDR10I, 0, 4, 10, false, 14, complain_overflow_signed,
bfd_elf_generic_reloc, "SPU_ADDR10I",
false, 0, 0x00ffc000, false),
- HOWTO (R_SPU_ADDR16I, 0, 2, 16, false, 7, complain_overflow_signed,
+ HOWTO (R_SPU_ADDR16I, 0, 4, 16, false, 7, complain_overflow_signed,
bfd_elf_generic_reloc, "SPU_ADDR16I",
false, 0, 0x007fff80, false),
- HOWTO (R_SPU_REL32, 0, 2, 32, true, 0, complain_overflow_dont,
+ HOWTO (R_SPU_REL32, 0, 4, 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,
+ HOWTO (R_SPU_ADDR16X, 0, 4, 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,
+ HOWTO (R_SPU_PPU32, 0, 4, 32, false, 0, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_PPU32",
false, 0, 0xffffffff, false),
- HOWTO (R_SPU_PPU64, 0, 4, 64, false, 0, complain_overflow_dont,
+ HOWTO (R_SPU_PPU64, 0, 8, 64, false, 0, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_PPU64",
false, 0, -1, false),
- HOWTO (R_SPU_ADD_PIC, 0, 0, 0, false, 0, complain_overflow_dont,
+ HOWTO (R_SPU_ADD_PIC, 0, 1, 0, false, 0, complain_overflow_dont,
bfd_elf_generic_reloc, "SPU_ADD_PIC",
false, 0, 0x00000000, false),
};