Fix dst_mask for X_STORMY16_REL_12 reloc.
authorNick Clifton <nickc@redhat.com>
Wed, 21 May 2003 12:36:46 +0000 (12:36 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 21 May 2003 12:36:46 +0000 (12:36 +0000)
bfd/ChangeLog
bfd/elf32-xstormy16.c

index 00a20ccebc460c3fdd5cda62a67b73d47fcc13f3..e0f22e18247b5b6a8d631d1a7876f3a61bab4803 100644 (file)
@@ -1,5 +1,8 @@
 2003-05-21  Nick Clifton  <nickc@redhat.com>
 
+       * elf32-xstormy16.c (xstormy16_elf_howto_table): Fix dst_mask
+       for X_STORMY16_REL_12 reloc.
+
        * elf.c (bfd_elf_get_needed_list): Use is_elf_hash_table to check
        the type of the has table in the bfd_link_info structure.
        (bfd_elf_get_runpath_list): Likewise.
index a5b2869e37159a6b5495190fce116929ed956027..c05c186cbc2704735e39bc817699cb67936be39d 100644 (file)
@@ -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.  */