2000-05-23 H.J. Lu <hjl@gnu.org>
* elf64-alpha.c (elf64_alpha_relocate_section): Check h->root.other not h->other.
This commit is contained in:
parent
3a27a730c7
commit
edb72b3b35
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2000-05-23 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* elf32-i386.c (elf_i386_relocate_section): Don't allow the
|
* elf32-i386.c (elf_i386_relocate_section): Don't allow the
|
||||||
|
|
|
@ -3477,7 +3477,7 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||||
relocation = 0;
|
relocation = 0;
|
||||||
else if (info->shared && !info->symbolic
|
else if (info->shared && !info->symbolic
|
||||||
&& !info->no_undefined
|
&& !info->no_undefined
|
||||||
&& ELF_ST_VISIBILITY (h->other) == STV_DEFAULT)
|
&& ELF_ST_VISIBILITY (h->root.other) == STV_DEFAULT)
|
||||||
relocation = 0;
|
relocation = 0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -3485,7 +3485,7 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||||
(info, h->root.root.root.string, input_bfd,
|
(info, h->root.root.root.string, input_bfd,
|
||||||
input_section, rel->r_offset,
|
input_section, rel->r_offset,
|
||||||
(!info->shared || info->no_undefined
|
(!info->shared || info->no_undefined
|
||||||
|| ELF_ST_VISIBILITY (h->other)))))
|
|| ELF_ST_VISIBILITY (h->root.other)))))
|
||||||
return false;
|
return false;
|
||||||
relocation = 0;
|
relocation = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue