Fix dst_mask for X_STORMY16_REL_12 reloc.

This commit is contained in:
Nick Clifton 2003-05-21 12:36:46 +00:00
parent 87ccc1b08d
commit 60e424089f
2 changed files with 4 additions and 1 deletions

View 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.

View 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. */