aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-10-05 11:18:13 +0000
committerAlexandre Oliva <aoliva@redhat.com>2002-10-05 11:18:13 +0000
commit7c4ca42da5b2bcffb7fe4279403159ccf7640f8b (patch)
tree5ebbe03c67b7446e9b635747a9dda1cc37aeb1bd /bfd/elfxx-mips.c
parentbda09c6aa53dd7b5ff8ca522390abe5c6fab6419 (diff)
downloadgdb-7c4ca42da5b2bcffb7fe4279403159ccf7640f8b.zip
gdb-7c4ca42da5b2bcffb7fe4279403159ccf7640f8b.tar.gz
gdb-7c4ca42da5b2bcffb7fe4279403159ccf7640f8b.tar.bz2
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
of the other two relocations packed with a REL32 to NONE.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 3c8bb5d..359587d 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. */