diff options
author | Phil Blundell <philb@gnu.org> | 2000-10-23 12:38:15 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2000-10-23 12:38:15 +0000 |
commit | 16de4d8cf80a996d1eef4a40dc1687ae02e63404 (patch) | |
tree | 283aa3bbaf01cfd88afdbac0b543920fce4c2e49 | |
parent | 9350a5a9862e400446da0c9605a33867f6bc36c6 (diff) | |
download | gdb-16de4d8cf80a996d1eef4a40dc1687ae02e63404.zip gdb-16de4d8cf80a996d1eef4a40dc1687ae02e63404.tar.gz gdb-16de4d8cf80a996d1eef4a40dc1687ae02e63404.tar.bz2 |
Merge changes from mainline to make elf64-alpha build again
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elf32-mips.c | 4 | ||||
-rw-r--r-- | bfd/elf64-alpha.c | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2fc0258..0ed7410 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ 2000-10-23 Philip Blundell <pb@futuretv.com> + From 2000-05-23 H.J. Lu <hjl@gnu.org> + * elf64-alpha.c (elf64_alpha_relocate_section): Check + h->root.other not h->other. + * elf32-mips.c (mips_elf_calculate_relocation): Likewise. + +2000-10-23 Philip Blundell <pb@futuretv.com> + * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Undo previous accidental checkin. diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 6306f10..e7e1c2a 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -5931,7 +5931,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) { @@ -5950,7 +5950,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; } 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; } |