diff options
author | Alan Modra <amodra@gmail.com> | 2007-05-12 06:45:33 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-05-12 06:45:33 +0000 |
commit | 4f4416b5f935edad0191d7e60952db517bb2671c (patch) | |
tree | f4aaa11eea878593c1e4187382bf69d72f0c247a /bfd | |
parent | 7b86a1b8dd4e65d07afa350255c42c7aed7d2a3a (diff) | |
download | gdb-4f4416b5f935edad0191d7e60952db517bb2671c.zip gdb-4f4416b5f935edad0191d7e60952db517bb2671c.tar.gz gdb-4f4416b5f935edad0191d7e60952db517bb2671c.tar.bz2 |
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')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-spu.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 01234ca..102fd08 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2007-05-12 Alan Modra <amodra@bigpond.net.au> + + * elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X. + 2007-05-11 Alan Modra <amodra@bigpond.net.au> * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index 865e1c0..844eee6 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), |