]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(profil_counter): Use correct name to access PC.
authorUlrich Drepper <drepper@redhat.com>
Thu, 13 Nov 1997 00:19:12 +0000 (00:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 13 Nov 1997 00:19:12 +0000 (00:19 +0000)
sysdeps/unix/sysv/linux/arm/profil-counter.h

index 802cbd5d63d54ddb148d7fda44fba9abdd50e5ae..d84e70e7ffc358c8c678f28fe90bb5977da5f397 100644 (file)
@@ -22,5 +22,5 @@
 void
 profil_counter (int signo, struct sigcontext sc)
 {
-  profil_count ((void *) sc.eip);
+  profil_count ((void *) sc.reg.ARM_pc);
 }