about summary refs log tree commit diff
path: root/csu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-25 22:04:55 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-25 22:04:55 +0000
commit6ef77f193e623585ccc8af005df956c5e10e01ca (patch)
treedbce7059e968c634439d9706bfc1b6e16138de00 /csu
parentff1099a9eea31362b1913f4d06f4f3669fa57a69 (diff)
downloadglibc-6ef77f193e623585ccc8af005df956c5e10e01ca.tar.gz
glibc-6ef77f193e623585ccc8af005df956c5e10e01ca.tar.xz
glibc-6ef77f193e623585ccc8af005df956c5e10e01ca.zip
Include <entry.h> (_start): Replaced with ENTRY_POINT.
Diffstat (limited to 'csu')
-rw-r--r--csu/gmon-start.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/csu/gmon-start.c b/csu/gmon-start.c
index 583b57b883..dce4688474 100644
--- a/csu/gmon-start.c
+++ b/csu/gmon-start.c
@@ -21,12 +21,14 @@
 #include <sys/gmon.h>
 #include <stdlib.h>
 #include <unistd.h>
+#define __ASSEMBLY__
+#include <entry.h>
 
 /* Beginning and end of our code segment. We cannot declare them
    as the external functions since we want the addresses of those
    labels. Taking the address of a function may have different
    meanings on different platforms. */
-extern void _start, etext;
+extern void ENTRY_POINT, etext;
 
 #ifndef HAVE_INITFINI
 /* This function gets called at startup by the normal constructor
@@ -56,7 +58,7 @@ __gmon_start__ (void)
 #endif
 
   /* Start keeping profiling records.  */
-  __monstartup ((u_long) &_start, (u_long) &etext);
+  __monstartup ((u_long) &ENTRY_POINT, (u_long) &etext);
 
   /* Call _mcleanup before exiting; it will write out gmon.out from the
      collected data.  */