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 7ff3959115acd922a1eded31f86db1b5e0bd9515..4d339aa979a7443d3896efffdefec573fac24ab4 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 373a8da1c0bb237ad6d429fc061d1454ab08d8c8..82a869a21616170f65045410f994d024dcd40cec 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