2000-05-23 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 23 May 2000 14:15:30 +0000 (14:15 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 23 May 2000 14:15:30 +0000 (14:15 +0000)
* elf64-alpha.c (elf64_alpha_relocate_section): Check
h->root.other not h->other.

bfd/ChangeLog
bfd/elf64-alpha.c

index 06166285322e802a952a1390b4481f9b10328d02..62fc3010b9bddba1a1331f9ae71984db4af7f1c2 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-23  H.J. Lu  <hjl@gnu.org>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Check
+       h->root.other not h->other.
+
 2000-05-23  H.J. Lu  <hjl@gnu.org>
 
        * elf32-i386.c (elf_i386_relocate_section): Don't allow the
index c8fac5361ec9b60bec03392010cfef3d084867b4..4c083fa494488983f5a8806938b5ef80b8985c19 100644 (file)
@@ -3477,7 +3477,7 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section,
            relocation = 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)
            relocation = 0;
          else
            {
@@ -3485,7 +3485,7 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section,
                    (info, h->root.root.root.string, input_bfd,
                     input_section, rel->r_offset,
                     (!info->shared || info->no_undefined
-                     || ELF_ST_VISIBILITY (h->other)))))
+                     || ELF_ST_VISIBILITY (h->root.other)))))
                return false;
              relocation = 0;
            }