aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xgate.c
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
commitd62734337d37be78de53e39cf9dea110da4957fa (patch)
tree814a3a75f6213eb3241cc3691712792448635edc /bfd/elf32-xgate.c
parent0c5daaa929ca977e105c2c530e0d62b462125bf8 (diff)
downloadgdb-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
Diffstat (limited to 'bfd/elf32-xgate.c')
-rw-r--r--bfd/elf32-xgate.c4
1 files changed, 2 insertions, 2 deletions
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