From c35bdf6ec697b98a0f1f44120173f60ff89af1aa Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 20 Feb 2010 15:47:03 +0000 Subject: [PATCH] Don't check STT_GNU_IFUNC on large common symbol. 2010-02-20 H.J. Lu * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check STT_GNU_IFUNC on large common symbol. --- bfd/ChangeLog | 5 +++++ bfd/elf64-x86-64.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7ff3959115a..4d339aa979a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-02-20 H.J. Lu + + * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check + STT_GNU_IFUNC on large common symbol. + 2010-02-18 H.J. Lu * elf32-i386.c (elf_i386_add_symbol_hook): Don't set diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 373a8da1c0b..82a869a2161 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -4254,7 +4254,7 @@ elf64_x86_64_add_symbol_hook (bfd *abfd, } *secp = lcomm; *valp = sym->st_size; - break; + return TRUE; } if ((abfd->flags & DYNAMIC) == 0 -- 2.30.2