mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
2002-02-12 Andreas Schwab <schwab@suse.de> * csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2002-02-12 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT.
|
||||||
|
|
||||||
2002-02-12 Ulrich Drepper <drepper@redhat.com>
|
2002-02-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/generic/dl-tls.c (TLS_DTV_UNALLOCATED): Renamed from
|
* sysdeps/generic/dl-tls.c (TLS_DTV_UNALLOCATED): Renamed from
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Code to enable profiling at program startup.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -63,7 +63,7 @@ __gmon_start__ (void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Start keeping profiling records. */
|
/* 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
|
/* Call _mcleanup before exiting; it will write out gmon.out from the
|
||||||
collected data. */
|
collected data. */
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#include <bp-sym.h>
|
#include <bp-sym.h>
|
||||||
|
|
||||||
#include <dl-dst.h>
|
#include <dl-dst.h>
|
||||||
#include <dl-tls.h>
|
|
||||||
|
|
||||||
|
|
||||||
extern ElfW(Addr) _dl_sysdep_start (void **start_argptr,
|
extern ElfW(Addr) _dl_sysdep_start (void **start_argptr,
|
||||||
@ -498,12 +497,14 @@ _dl_open (const char *file, int mode, const void *caller)
|
|||||||
for (i = 0; i < args.map->l_searchlist.r_nlist; ++i)
|
for (i = 0; i < args.map->l_searchlist.r_nlist; ++i)
|
||||||
++args.map->l_searchlist.r_list[i]->l_opencount;
|
++args.map->l_searchlist.r_list[i]->l_opencount;
|
||||||
|
|
||||||
|
#ifdef USE_TLS
|
||||||
/* Maybe some of the modules which were loaded uses TLS.
|
/* Maybe some of the modules which were loaded uses TLS.
|
||||||
Since it will be removed in the folowing _dl_close call
|
Since it will be removed in the folowing _dl_close call
|
||||||
we have to mark the dtv array as having gaps to fill
|
we have to mark the dtv array as having gaps to fill
|
||||||
the holes. This is a pessimistic assumption which won't
|
the holes. This is a pessimistic assumption which won't
|
||||||
hurt if not true. */
|
hurt if not true. */
|
||||||
GL(dl_tls_dtv_gaps) = true;
|
GL(dl_tls_dtv_gaps) = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
_dl_close (args.map);
|
_dl_close (args.map);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user