1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* elf/Makefile: Add rules to build and run initfirst test.
	* elf/initfirst.c: New file.
	* elf/firstobj.c: New file.
This commit is contained in:
Ulrich Drepper
2001-02-02 06:54:15 +00:00
parent 5d9167133c
commit b71e7ce864
9 changed files with 233 additions and 5 deletions

View File

@ -352,7 +352,7 @@ is_smp_system (void)
sizeof (sysctl_args) / sizeof (sysctl_args[0]),
buf, &reslen, NULL, 0) < 0)
{
/*This was not successful. Now try reading the /proc filesystem. */
/* This was not successful. Now try reading the /proc filesystem. */
int fd = __open ("/proc/sys/kernel/version", O_RDONLY);
if (__builtin_expect (fd, 0) == -1
|| (reslen = __read (fd, buf, sizeof (buf))) <= 0)
@ -375,7 +375,9 @@ is_smp_system (void)
static void pthread_initialize(void) __attribute__((constructor));
#ifndef HAVE_Z_NODELETE
extern void *__dso_handle __attribute__ ((weak));
#endif
/* Do some minimal initialization which has to be done during the