summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-11-28 01:33:51 +0300
committerFrank Ch. Eigler <fche@elastic.org>2009-12-01 11:57:33 -0500
commit5f4fd35709b9b3e94873c6e38c574066c470a9e3 (patch)
tree4283ce9fc93abcd3915ba9d9a9cae3b6361d7079 /runtime
parentb7c4fdcf0991791bf13b144c72767ff6b98cff53 (diff)
downloadsystemtap-steved-5f4fd35709b9b3e94873c6e38c574066c470a9e3.tar.gz
systemtap-steved-5f4fd35709b9b3e94873c6e38c574066c470a9e3.tar.xz
systemtap-steved-5f4fd35709b9b3e94873c6e38c574066c470a9e3.zip
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 <avorontsov@ru.mvista.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/staprun/staprun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/staprun.c b/runtime/staprun/staprun.c
index 078be4cf..5bd5163a 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"