From cc13e3efe31d019ec529d140f21d57062125cce3 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 21 Apr 2003 22:17:12 +0000 Subject: [PATCH] * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an executable when a symbol is defined both regular and dynamic. --- bfd/ChangeLog | 5 +++++ bfd/elf64-alpha.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c79703cf8bc..1deded90651 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-04-21 Richard Henderson + + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an + executable when a symbol is defined both regular and dynamic. + 2003-04-21 Stephane Carrez * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo. diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index bf18e205c0d..4a2658abe1f 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -305,7 +305,9 @@ alpha_elf_dynamic_symbol_p (h, info) if ((info->shared && !info->symbolic) || ((h->elf_link_hash_flags - & (ELF_LINK_HASH_DEF_DYNAMIC | ELF_LINK_HASH_REF_REGULAR)) + & (ELF_LINK_HASH_DEF_DYNAMIC + | ELF_LINK_HASH_DEF_REGULAR + | ELF_LINK_HASH_REF_REGULAR)) == (ELF_LINK_HASH_DEF_DYNAMIC | ELF_LINK_HASH_REF_REGULAR))) return TRUE; -- 2.30.2