diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-08-15 22:56:21 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 1999-08-15 22:56:21 +0000 |
commit | d0482ec9625080530383d3eea542b4bce80408a3 (patch) | |
tree | 32afb3baa0bd413c141f03aeb63ead75e8fca4fc /bfd/elf32-mips.c | |
parent | b0101804dbc408e153e6b199fc34776b38d3d339 (diff) | |
download | gdb-d0482ec9625080530383d3eea542b4bce80408a3.tar.gz |
* elf32-mips.c (mips_elf_calculate_relocation): Fix unfortunate
coincidence of variable names between old and new code.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index f1526918a95..b7191b15e8f 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -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 { |