2002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
authorroland <roland>
Fri, 22 Nov 2002 05:04:56 +0000 (05:04 +0000)
committerroland <roland>
Fri, 22 Nov 2002 05:04:56 +0000 (05:04 +0000)
* csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
obtain lowest address for profiling in __monstartup call.

csu/gmon-start.c

index dee8f6d..d11c9b9 100644 (file)
@@ -71,11 +71,7 @@ __gmon_start__ (void)
 #endif
 
   /* Start keeping profiling records.  */
-#ifdef ENTRY_POINT_DECL
-  __monstartup ((u_long) ENTRY_POINT, (u_long) &etext);
-#else
   __monstartup ((u_long) TEXT_START, (u_long) &etext);
-#endif
 
   /* Call _mcleanup before exiting; it will write out gmon.out from the
      collected data.  */