summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/staprun/staprun.c')
-rw-r--r--runtime/staprun/staprun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/staprun/staprun.c b/runtime/staprun/staprun.c
index 6eb6d8b5..cef96815 100644
--- a/runtime/staprun/staprun.c
+++ b/runtime/staprun/staprun.c
@@ -360,7 +360,8 @@ int send_relocation_kernel ()
#endif
if ((rc == 3) && (0 == strcmp(symbol,KERNEL_RELOC_SYMBOL)))
{
- send_a_relocation ("kernel", KERNEL_RELOC_SYMBOL, address);
+ /* NB: even on ppc, we use the _stext relocation name. */
+ send_a_relocation ("kernel", "_stext", address);
/* We need nothing more from the kernel. */
fclose (kallsyms);