* elf32-mips.c (mips_elf_calculate_relocation): Fix unfortunate

coincidence of variable names between old and new code.
This commit is contained in:
Mark Mitchell 1999-08-15 22:56:21 +00:00
parent 276b1dc2a2
commit 8535d39cc8
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
1999-08-15 Mark Mitchell <mark@codesourcery.com>
* elf32-mips.c (mips_elf_calculate_relocation): Fix unfortunate
coincidence of variable names between old and new code.
1999-08-12 Nick Clifton <nickc@cygnus.com>
* elf32-arm.h (elf32_arm_to_thumb_stub): Make 'offset' parameter

View file

@ -5947,7 +5947,7 @@ mips_elf_calculate_relocation (abfd,
addresses. */
symbol = 0;
else if (info->shared && !info->symbolic && !info->no_undefined)
relocation = 0;
symbol = 0;
else if (strcmp (h->root.root.root.string, "_DYNAMIC_LINK") == 0)
{
/* If this is a dynamic link, we should have created a
@ -5957,7 +5957,7 @@ mips_elf_calculate_relocation (abfd,
somehow as well. */
BFD_ASSERT (! info->shared);
BFD_ASSERT (bfd_get_section_by_name (abfd, ".dynamic") == NULL);
relocation = 0;
symbol = 0;
}
else
{