mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makeconfig (config-LDFLAGS): Add missing slash. * sysdeps/mach/hurd/profil.c (fork_profil): Only call update_waiter if profiling was enabled in the parent. * csu/initfini.c: Don't pass -f flag to cp.
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* Makeconfig (config-LDFLAGS): Add missing slash.
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/profil.c (fork_profil): Only call
|
||||||
|
update_waiter if profiling was enabled in the parent.
|
||||||
|
|
||||||
|
* csu/initfini.c: Don't pass -f flag to cp.
|
||||||
|
|
||||||
Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
* Makerules (build-shlib): Pass -rpath and -rpath-link options.
|
* Makerules (build-shlib): Pass -rpath and -rpath-link options.
|
||||||
|
@ -275,7 +275,7 @@ ifndef +link
|
|||||||
endif
|
endif
|
||||||
ifndef config-LDFLAGS
|
ifndef config-LDFLAGS
|
||||||
ifeq (yes,$(build-shared))
|
ifeq (yes,$(build-shared))
|
||||||
config-LDFLAGS = -Wl,-dynamic-linker=$(libdir)$(rtld-installed-name)
|
config-LDFLAGS = -Wl,-dynamic-linker=$(libdir)/$(rtld-installed-name)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifndef link-libc
|
ifndef link-libc
|
||||||
|
@ -53,8 +53,9 @@ void _fini (void) __attribute__ ((section (".fini")));
|
|||||||
/* End the here document containing the initial common code.
|
/* End the here document containing the initial common code.
|
||||||
Then move the output file crtcommon.tmp to crti.s-new and crtn.s-new. */
|
Then move the output file crtcommon.tmp to crti.s-new and crtn.s-new. */
|
||||||
asm ("\nEOF_common\n\
|
asm ("\nEOF_common\n\
|
||||||
mv -f crtcommon.tmp crti.s-new\n\
|
rm -f crti.s-new crtn.s-new\n\
|
||||||
cp -f crti.s-new crtn.s-new");
|
mv crtcommon.tmp crti.s-new\n\
|
||||||
|
cp crti.s-new crtn.s-new");
|
||||||
|
|
||||||
/* Append the .init prologue to crti.s-new. */
|
/* Append the .init prologue to crti.s-new. */
|
||||||
asm ("cat >> crti.s-new <<\\EOF.crti.init");
|
asm ("cat >> crti.s-new <<\\EOF.crti.init");
|
||||||
|
@ -158,7 +158,10 @@ fork_profil (void)
|
|||||||
ss = sample_scale;
|
ss = sample_scale;
|
||||||
sample_scale = 0;
|
sample_scale = 0;
|
||||||
|
|
||||||
err = update_waiter (sb, n * sizeof *sb, o, ss);
|
if (ss != 0)
|
||||||
assert_perror (err);
|
{
|
||||||
|
err = update_waiter (sb, n * sizeof *sb, o, ss);
|
||||||
|
assert_perror (err);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
text_set_element (_hurd_fork_child_hook, fork_profil);
|
text_set_element (_hurd_fork_child_hook, fork_profil);
|
||||||
|
Reference in New Issue
Block a user