diff options
author | Sean Keys <skeys@ipdatasys.com> | 2012-10-29 21:28:09 +0000 |
---|---|---|
committer | Sean Keys <skeys@ipdatasys.com> | 2012-10-29 21:28:09 +0000 |
commit | d62734337d37be78de53e39cf9dea110da4957fa (patch) | |
tree | 814a3a75f6213eb3241cc3691712792448635edc | |
parent | 0c5daaa929ca977e105c2c530e0d62b462125bf8 (diff) | |
download | gdb-d62734337d37be78de53e39cf9dea110da4957fa.zip gdb-d62734337d37be78de53e39cf9dea110da4957fa.tar.gz gdb-d62734337d37be78de53e39cf9dea110da4957fa.tar.bz2 |
* elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for
R_XGATE_16
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-xgate.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 956a04e..202a8db 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-10-29 Sean Keys <skeys@ipdatasys.com> + + * elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for + R_XGATE_16 + 2012-10-29 Alan Modra <amodra@gmail.com> * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in diff --git a/bfd/elf32-xgate.c b/bfd/elf32-xgate.c index bd62438..2169c56 100644 --- a/bfd/elf32-xgate.c +++ b/bfd/elf32-xgate.c @@ -106,8 +106,8 @@ static reloc_howto_type elf_xgate_howto_table[] = bfd_elf_generic_reloc, /* special_function */ "R_XGATE_16", /* name */ FALSE, /* partial_inplace */ - 0x00ff, /* src_mask */ - 0x00ff, /* dst_mask */ + 0xffff, /* src_mask */ + 0xffff, /* dst_mask */ FALSE), /* pcrel_offset */ /* A 32 bit absolute relocation. This one is never used for the |