]> Git Repo - binutils.git/commitdiff
2000-05-23 H.J. Lu <[email protected]>
authorH.J. Lu <[email protected]>
Tue, 23 May 2000 14:20:57 +0000 (14:20 +0000)
committerH.J. Lu <[email protected]>
Tue, 23 May 2000 14:20:57 +0000 (14:20 +0000)
* elf32-mips.c (mips_elf_calculate_relocation): Check
h->root.other not h->other.

* elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.

bfd/ChangeLog
bfd/elf32-mips.c
bfd/elf32-ppc.c

index 62fc3010b9bddba1a1331f9ae71984db4af7f1c2..b83cb3ad316f38dd1ca2512aa462db8ecbfe5d26 100644 (file)
@@ -2,6 +2,9 @@
 
        * elf64-alpha.c (elf64_alpha_relocate_section): Check
        h->root.other not h->other.
+       * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
 
 2000-05-23  H.J. Lu  <[email protected]>
 
index 1d258b045074f4a18d5c064b11447bd39a6b53ef..29e260e21302078534f082d42e001d9e26c525a1 100644 (file)
@@ -5918,7 +5918,7 @@ mips_elf_calculate_relocation (abfd,
           addresses.  */
        symbol = 0;
       else if (info->shared && !info->symbolic && !info->no_undefined
-              && ELF_ST_VISIBILITY (h->other) == STV_DEFAULT)
+              && ELF_ST_VISIBILITY (h->root.other) == STV_DEFAULT)
        symbol = 0;
       else if (strcmp (h->root.root.root.string, "_DYNAMIC_LINK") == 0)
        {
@@ -5937,7 +5937,7 @@ mips_elf_calculate_relocation (abfd,
                 (info, h->root.root.root.string, input_bfd,
                  input_section, relocation->r_offset,
                  (!info->shared || info->no_undefined
-                  || ELF_ST_VISIBILITY (h->other)))))
+                  || ELF_ST_VISIBILITY (h->root.other)))))
            return bfd_reloc_undefined;
          symbol = 0;
        }
index cf832426d9f9c6b542a25c7427610ec063e879dc..6dc3effc3f14e4a47e5711b6e31e1f476432b522 100644 (file)
@@ -3104,7 +3104,7 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
                                                         rel->r_offset,
                                                         (!info->shared
                                                          || info->no_undefined
-                                                         ELF_ST_VISIBILITY (h->other))))
+                                                         || ELF_ST_VISIBILITY (h->other))))
                return false;
              relocation = 0;
            }
This page took 0.073004 seconds and 4 git commands to generate.