From: Anton Vorontsov Date: Fri, 27 Nov 2009 22:33:51 +0000 (+0300) Subject: Change KERNEL_RELOC_SYMBOL to "_stext" on ppc32 X-Git-Tag: release-1.0.9~46^2~8^2~2 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=5f4fd35709b9b3e94873c6e38c574066c470a9e3;p=systemtap.git Change KERNEL_RELOC_SYMBOL to "_stext" on ppc32 Currently staprun fails at send_relocation_kernel(), this is because ppc32 doesn't have ".__start" symbol. I think we should use _stext, just as other arches. Signed-off-by: Anton Vorontsov --- diff --git a/runtime/staprun/staprun.c b/runtime/staprun/staprun.c index 078be4cf5..5bd5163a0 100644 --- a/runtime/staprun/staprun.c +++ b/runtime/staprun/staprun.c @@ -372,7 +372,7 @@ int send_relocation_kernel () free (line); line=NULL; if (symbol == NULL) continue; /* OOM? */ -#ifdef __powerpc__ +#ifdef __powerpc64__ #define KERNEL_RELOC_SYMBOL ".__start" #else #define KERNEL_RELOC_SYMBOL "_stext"