From: None <None> It seems that glibc symbols do not always have GLIBC in their names. This is definitely the case on my Ubuntu Gutsy Gibbon box. Therefore, this mechanism cannot be used to filter out non-glibc symbols. My guess is we need to use the .gnu.version dependency-tracking if we want to reliably identify glibc symbols.
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- elflink.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/elflink.c b/elflink.c index d35e56f..ce70eb2 100644 --- a/elflink.c +++ b/elflink.c @@ -417,8 +417,6 @@ static inline int keep_symbol(char *strtab, Elf_Sym *s, void *start, void *end) return 0; if (s->st_size == 0) return 0; - if (!strstr(strtab + s->st_name, "GLIBC")) - return 0; if (__hugetlbfs_debug) DEBUG("symbol to copy at %p: %s\n", (void *)s->st_value, ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel