diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-13 09:38:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-13 09:38:39 +0000 |
commit | a04586d84dadaf9023ad44a26ee2241a09e4499f (patch) | |
tree | f52bdcc98938e3b173b41d2bbbb018389ee0f867 /csu/gmon-start.c | |
parent | 069b7c3e7f33b4c7f0d6dd04939d6fc52a97fe53 (diff) | |
download | glibc-a04586d84dadaf9023ad44a26ee2241a09e4499f.tar glibc-a04586d84dadaf9023ad44a26ee2241a09e4499f.tar.gz glibc-a04586d84dadaf9023ad44a26ee2241a09e4499f.tar.bz2 glibc-a04586d84dadaf9023ad44a26ee2241a09e4499f.zip |
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/gmon-start.c')
-rw-r--r-- | csu/gmon-start.c | 6 |
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. */ |