diff options
author | Nick Clifton <nickc@redhat.com> | 2003-05-21 12:36:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-05-21 12:36:46 +0000 |
commit | 879860b416b0f127ee9a37c489ec147af9958589 (patch) | |
tree | 7524160cd149ee08080866637c25617db6e8ce37 | |
parent | eab56fbf8191e56a0248763457810b4e46d13a4c (diff) | |
download | gdb-879860b416b0f127ee9a37c489ec147af9958589.tar.gz |
Fix dst_mask for X_STORMY16_REL_12 reloc.
-rw-r--r-- | bfd/ChangeLog | 3 | ||||
-rw-r--r-- | bfd/elf32-xstormy16.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 00a20ccebc4..e0f22e18247 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/elf32-xstormy16.c b/bfd/elf32-xstormy16.c index a5b2869e371..c05c186cbc2 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. */ |