From 6967e65ee23bf767fc45f3e190302656c11ddaea Mon Sep 17 00:00:00 2001 From: Ananth N Mavinakayanahalli Date: Thu, 28 May 2009 22:23:45 +0530 Subject: PR10206: Include NOTYPE symbols in stap-symbols.h On powerpc, function descriptors are in the .opd section as NO_TYPE. Include them in stap-symbols.h --- translate.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'translate.cxx') diff --git a/translate.cxx b/translate.cxx index 505c9fc6..9631213e 100644 --- a/translate.cxx +++ b/translate.cxx @@ -4617,6 +4617,7 @@ dump_unwindsyms (Dwfl_Module *m, // We omit symbols that have suspicious addresses (before base, // or after end). if ((GELF_ST_TYPE (sym.st_info) == STT_FUNC || + GELF_ST_TYPE (sym.st_info) == STT_NOTYPE || // PR10206 ppc fn-desc are in .opd GELF_ST_TYPE (sym.st_info) == STT_OBJECT) // PR10000: also need .data && !(sym.st_shndx == SHN_UNDEF // Value undefined, || shndxp == (GElf_Word) -1 // in a non-allocated section, -- cgit