summaryrefslogtreecommitdiff
path: root/csu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-13 09:38:39 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-13 09:38:39 +0000
commita04586d84dadaf9023ad44a26ee2241a09e4499f (patch)
treef52bdcc98938e3b173b41d2bbbb018389ee0f867 /csu
parent069b7c3e7f33b4c7f0d6dd04939d6fc52a97fe53 (diff)
downloadglibc-a04586d84dadaf9023ad44a26ee2241a09e4499f.tar.gz
Update.
2002-02-13 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close): Implement freeing entries in the slotinfo array. (free_mem): Free memory for the slotinfo array if possible.
Diffstat (limited to 'csu')
-rw-r--r--csu/gmon-start.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/csu/gmon-start.c b/csu/gmon-start.c
index 1aaeefcf7f..9ee722aa0f 100644
--- a/csu/gmon-start.c
+++ b/csu/gmon-start.c
@@ -1,5 +1,5 @@
/* Code to enable profiling at program startup.
- Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002 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,11 @@ __gmon_start__ (void)
#endif
/* Start keeping profiling records. */
+#ifdef ENTRY_POINT_DECL
__monstartup ((u_long) ENTRY_POINT, (u_long) &etext);
+#else
+ __monstartup ((u_long) &ENTRY_POINT, (u_long) &etext);
+#endif
/* Call _mcleanup before exiting; it will write out gmon.out from the
collected data. */