aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-02-20 15:47:03 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-02-20 15:47:03 +0000
commitc35bdf6ec697b98a0f1f44120173f60ff89af1aa (patch)
tree4b5219c7c69576c596fb538509c7e1a9b994dd03
parentbed01654866d95852648ad6ca52ce678d3449f09 (diff)
downloadgdb-c35bdf6ec697b98a0f1f44120173f60ff89af1aa.zip
gdb-c35bdf6ec697b98a0f1f44120173f60ff89af1aa.tar.gz
gdb-c35bdf6ec697b98a0f1f44120173f60ff89af1aa.tar.bz2
Don't check STT_GNU_IFUNC on large common symbol.
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-x86-64.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7ff3959..4d339aa 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 373a8da..82a869a 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