aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Keys <skeys@ipdatasys.com>2012-10-29 21:28:09 +0000
committerSean Keys <skeys@ipdatasys.com>2012-10-29 21:28:09 +0000
commit152f8238e0f077d61f6586cd618633dd9839467d (patch)
tree5030b3b607ce22e15f79d245fb68b71efdf31434
parentbd463258244dd3941353008a18ee3198a2f93448 (diff)
downloadbinutils-152f8238e0f077d61f6586cd618633dd9839467d.tar.gz
* elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for
R_XGATE_16
-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 956a04eb1..202a8dbe9 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 bd62438ef..2169c569b 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