summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-04 16:59:48 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-04 16:59:48 -0400
commit1b94bf6d310cf41041d0a6c24be85a892d443708 (patch)
tree458edfc3cee3e295e70ae3a61e358a87237dd01c /runtime/staprun/staprun.c
parent3c02e16c39aa0fd5b291faf610d9d71023392a2e (diff)
downloadsystemtap-steved-1b94bf6d310cf41041d0a6c24be85a892d443708.tar.gz
systemtap-steved-1b94bf6d310cf41041d0a6c24be85a892d443708.tar.xz
systemtap-steved-1b94bf6d310cf41041d0a6c24be85a892d443708.zip
emit all symbol tables at compile time; don't do any module munging; new unwinder still disabled
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);