From 7c4ca42da5b2bcffb7fe4279403159ccf7640f8b Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sat, 5 Oct 2002 11:18:13 +0000 Subject: [PATCH] * elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type of the other two relocations packed with a REL32 to NONE. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-mips.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f2c7a389e3..7f0d4383bf 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-10-05 Alexandre Oliva + + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type + of the other two relocations packed with a REL32 to NONE. + 2002-10-02 Stephen Clarke * elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount. diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 3c8bb5d8be..359587dfd9 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -2938,6 +2938,10 @@ mips_elf_create_dynamic_relocation (output_bfd, info, rel, h, sec, know where the shared library will wind up at load-time. */ outrel[0].r_info = ELF_R_INFO (output_bfd, (unsigned long) indx, R_MIPS_REL32); + outrel[1].r_info = ELF_R_INFO (output_bfd, (unsigned long) 0, + R_MIPS_NONE); + outrel[2].r_info = ELF_R_INFO (output_bfd, (unsigned long) 0, + R_MIPS_NONE); /* Adjust the output offset of the relocation to reference the correct location in the output file. */ -- 2.34.1