Don't check STT_GNU_IFUNC on large common symbol.
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 20 Feb 2010 15:47:03 +0000 (15:47 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 20 Feb 2010 15:47:03 +0000 (15:47 +0000)
2010-02-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check
STT_GNU_IFUNC on large common symbol.

bfd/ChangeLog
bfd/elf64-x86-64.c

index 7ff3959..4d339aa 100644 (file)
@@ -1,3 +1,8 @@
+2010-02-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * 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  <hongjiu.lu@intel.com>
 
        * elf32-i386.c (elf_i386_add_symbol_hook): Don't set
index 373a8da..82a869a 100644 (file)
@@ -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