diff options
author | Alan Modra <amodra@gmail.com> | 2012-10-29 09:51:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-10-29 09:51:10 +0000 |
commit | bdaacd3a1cd99649f66538b497dbcb75cae141af (patch) | |
tree | caf5644e1445b5149b134ef5f4075a9dd46c6169 /bfd | |
parent | ed6b7ef4bc3195371e42ce1577595b3373d3be0a (diff) | |
download | fsf-binutils-gdb-bdaacd3a1cd99649f66538b497dbcb75cae141af.zip fsf-binutils-gdb-bdaacd3a1cd99649f66538b497dbcb75cae141af.tar.gz fsf-binutils-gdb-bdaacd3a1cd99649f66538b497dbcb75cae141af.tar.bz2 |
* elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in
R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A,
R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A,
R_PPC_VLE_SDAREL_HA16A reloc howtos.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 14 |
2 files changed, 14 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 262062d..956a04e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2012-10-29 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in + R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A, + R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A, + R_PPC_VLE_SDAREL_HA16A reloc howtos. + 2012-10-26 Nick Clifton <nickc@redhat.com> * po/uk.po: Updated Ukranian translation. diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 4df92ee..5241926 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -1451,14 +1451,14 @@ static reloc_howto_type ppc_elf_howto_raw[] = { 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 32, /* bitsize */ - FALSE, /* pc_relative */ /* FIXME: Does this apply to split relocs? */ + FALSE, /* pc_relative */ 0, /* bitpos */ complain_overflow_bitfield, /* complain_on_overflow */ bfd_elf_generic_reloc, /* special_function */ "R_PPC_VLE_LO16A", /* name */ FALSE, /* partial_inplace */ 0, /* src_mask */ - 0x1f00fff, /* dst_mask */ + 0x1f007ff, /* dst_mask */ FALSE), /* pcrel_offset */ /* The 16 LSBS in split16d format. */ @@ -1488,7 +1488,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = { "R_PPC_VLE_HI16A", /* name */ FALSE, /* partial_inplace */ 0, /* src_mask */ - 0x1f00fff, /* dst_mask */ + 0x1f007ff, /* dst_mask */ FALSE), /* pcrel_offset */ /* Bits 16-31 split16d format. */ @@ -1518,7 +1518,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = { "R_PPC_VLE_HA16A", /* name */ FALSE, /* partial_inplace */ 0, /* src_mask */ - 0x1f00fff, /* dst_mask */ + 0x1f007ff, /* dst_mask */ FALSE), /* pcrel_offset */ /* Bits 16-31 (High Adjusted) in split16d format. */ @@ -1578,7 +1578,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = { "R_PPC_VLE_SDAREL_LO16A", /* name */ FALSE, /* partial_inplace */ 0, /* src_mask */ - 0x1f00fff, /* dst_mask */ + 0x1f007ff, /* dst_mask */ FALSE), /* pcrel_offset */ /* The 16 LSBS relative to _SDA_BASE_ in split16d format. */ @@ -1609,7 +1609,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = { "R_PPC_VLE_SDAREL_HI16A", /* name */ FALSE, /* partial_inplace */ 0, /* src_mask */ - 0x1f00fff, /* dst_mask */ + 0x1f007ff, /* dst_mask */ FALSE), /* pcrel_offset */ /* Bits 16-31 relative to _SDA_BASE_ in split16d format. */ @@ -1639,7 +1639,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = { "R_PPC_VLE_SDAREL_HA16A", /* name */ FALSE, /* partial_inplace */ 0, /* src_mask */ - 0x1f00fff, /* dst_mask */ + 0x1f007ff, /* dst_mask */ FALSE), /* pcrel_offset */ /* Bits 16-31 (HA) relative to _SDA_BASE split16d format. */ |