aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xstormy16.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-05-21 12:36:46 +0000
committerNick Clifton <nickc@redhat.com>2003-05-21 12:36:46 +0000
commit60e424089f35e9a89fa7ec1ed32142c1c37eefec (patch)
treecd1c84c021137920872985186d984e050465730a /bfd/elf32-xstormy16.c
parent87ccc1b08d2b8dd682d8d82b3bf3eea405474f60 (diff)
downloadgdb-60e424089f35e9a89fa7ec1ed32142c1c37eefec.zip
gdb-60e424089f35e9a89fa7ec1ed32142c1c37eefec.tar.gz
gdb-60e424089f35e9a89fa7ec1ed32142c1c37eefec.tar.bz2
Fix dst_mask for X_STORMY16_REL_12 reloc.
Diffstat (limited to 'bfd/elf32-xstormy16.c')
-rw-r--r--bfd/elf32-xstormy16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-xstormy16.c b/bfd/elf32-xstormy16.c
index a5b2869..c05c186 100644
--- a/bfd/elf32-xstormy16.c
+++ b/bfd/elf32-xstormy16.c
@@ -176,7 +176,7 @@ static reloc_howto_type xstormy16_elf_howto_table [] =
"R_XSTORMY16_REL_12", /* name */
FALSE, /* partial_inplace */
0, /* src_mask */
- 0x0fff, /* dst_mask */
+ 0x0ffe, /* dst_mask */
TRUE), /* pcrel_offset */
/* A 24-bit absolute relocation suitable for the jump instructions. */