aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-05-23 14:15:30 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-05-23 14:15:30 +0000
commitedb72b3b352c80a36e4f1c6f6b7f5980d25f6368 (patch)
tree0a2e0313f62b98812dc100f4564b822d8cf71bd1 /bfd
parent3a27a730c73e9ad0383ed15eb17d542169d80cdb (diff)
downloadfsf-binutils-gdb-edb72b3b352c80a36e4f1c6f6b7f5980d25f6368.zip
fsf-binutils-gdb-edb72b3b352c80a36e4f1c6f6b7f5980d25f6368.tar.gz
fsf-binutils-gdb-edb72b3b352c80a36e4f1c6f6b7f5980d25f6368.tar.bz2
2000-05-23 H.J. Lu <hjl@gnu.org>
* elf64-alpha.c (elf64_alpha_relocate_section): Check h->root.other not h->other.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-alpha.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0616628..62fc301 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
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
undefined symbol with the non-default visibility attributes.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index c8fac53..4c083fa 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -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;
}