diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-02 06:54:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-02 06:54:15 +0000 |
commit | b71e7ce8641f7331de82cabea384359cf6d8546d (patch) | |
tree | e1e43e03961e7daaad13afa0cff3a4da30e7f791 /linuxthreads/pthread.c | |
parent | 5d9167133cd1b614e2841eceba5d6c3828059254 (diff) | |
download | glibc-b71e7ce8641f7331de82cabea384359cf6d8546d.tar.gz glibc-b71e7ce8641f7331de82cabea384359cf6d8546d.tar.xz glibc-b71e7ce8641f7331de82cabea384359cf6d8546d.zip |
Update.
* elf/Makefile: Add rules to build and run initfirst test. * elf/initfirst.c: New file. * elf/firstobj.c: New file.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r-- | linuxthreads/pthread.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 7b74b000e4..5a2ade7446 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -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 |