Profiling on ia64
Andreas Schwab
schwab@suse.de
Mon Feb 11 15:03:00 GMT 2002
This fixes profiling on ia64 (where ENTRY_POINT is an expression, not a
function symbol).
Andreas.
2002-02-12 Andreas Schwab <schwab@suse.de>
* csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT.
--- csu/gmon-start.c.~1.12.~ Thu Jul 26 09:12:04 2001
+++ csu/gmon-start.c Mon Feb 11 23:56:56 2002
@@ -1,5 +1,5 @@
/* Code to enable profiling at program startup.
- Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -63,7 +63,7 @@
#endif
/* Start keeping profiling records. */
- __monstartup ((u_long) &ENTRY_POINT, (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. */
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-hacker
mailing list