aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/arm/profil-counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/profil-counter.h')
-rw-r--r--sysdeps/unix/sysv/linux/arm/profil-counter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/profil-counter.h b/sysdeps/unix/sysv/linux/arm/profil-counter.h
index ddf4d41af2..908bd6e05c 100644
--- a/sysdeps/unix/sysv/linux/arm/profil-counter.h
+++ b/sysdeps/unix/sysv/linux/arm/profil-counter.h
@@ -20,7 +20,7 @@
#include <sigcontextinfo.h>
void
-profil_counter (int signo, const SIGCONTEXT scp)
+__profil_counter (int signo, const SIGCONTEXT scp)
{
profil_count ((void *) GET_PC (scp));
@@ -29,3 +29,6 @@ profil_counter (int signo, const SIGCONTEXT scp)
the signal context. */
asm volatile ("");
}
+#ifndef __profil_counter
+weak_alias (__profil_counter, profil_counter)
+#endif