aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2004-12-09 06:32:41 +0000
committerIan Lance Taylor <ian@airs.com>2004-12-09 06:32:41 +0000
commit74f79d8d758e2fda40bc52ab999b56f0e933c866 (patch)
tree1c31a0cf4bcf7137d5f6e7d4745ed956f643dffc
parentebcb91b7dc6fdcadbcb9c30167c635bb46a96a60 (diff)
downloadgdb-74f79d8d758e2fda40bc52ab999b56f0e933c866.zip
gdb-74f79d8d758e2fda40bc52ab999b56f0e933c866.tar.gz
gdb-74f79d8d758e2fda40bc52ab999b56f0e933c866.tar.bz2
* elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of
R_MIPS_JALR entry to 0.
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/elfn32-mips.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5b40903..5f79f68 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
+ * elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of
+ R_MIPS_JALR entry to 0.
+
* archures.c: Define bfd_mach_mips9000.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000.
(mips_set_isa_flags): Handle bfd_mach_mips9000.
diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c
index 769c414..71dc2d0 100644
--- a/bfd/elfn32-mips.c
+++ b/bfd/elfn32-mips.c
@@ -1115,7 +1115,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
"R_MIPS_JALR", /* name */
FALSE, /* partial_inplace */
0, /* src_mask */
- 0xffffffff, /* dst_mask */
+ 0, /* dst_mask */
FALSE), /* pcrel_offset */
};