aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-xgate.c4
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