Update.
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * libc.map: Export internal versions of cancelable functions. 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makerules (MAKEFLAGS): Append `r'. 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makeconfig: Define have-thread-library, shared-thread-library and static-thread-library if a thread library is available. Don't define rt. * nscd/Makefile: Compile nscd if have-thread-library. Rename nscd-routines to nscd-modules. Use shared-thread-library and static-thread-library in dependencies. * rt/Makefile: Only compile librt if have-thread-library is defined. * Makefile (subdirs): Always include rt subdir. 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
This commit is contained in:
parent
60c34a30cf
commit
f649c2015a
24
ChangeLog
24
ChangeLog
@ -1,3 +1,27 @@
|
|||||||
|
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* libc.map: Export internal versions of cancelable functions.
|
||||||
|
|
||||||
|
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* Makerules (MAKEFLAGS): Append `r'.
|
||||||
|
|
||||||
|
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* Makeconfig: Define have-thread-library, shared-thread-library
|
||||||
|
and static-thread-library if a thread library is available. Don't
|
||||||
|
define rt.
|
||||||
|
* nscd/Makefile: Compile nscd if have-thread-library. Rename
|
||||||
|
nscd-routines to nscd-modules. Use shared-thread-library and
|
||||||
|
static-thread-library in dependencies.
|
||||||
|
* rt/Makefile: Only compile librt if have-thread-library is
|
||||||
|
defined.
|
||||||
|
* Makefile (subdirs): Always include rt subdir.
|
||||||
|
|
||||||
|
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
|
||||||
|
|
||||||
1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
|
1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* configure.in: Recognize variations for 32 MIPS processors.
|
* configure.in: Recognize variations for 32 MIPS processors.
|
||||||
|
14
Makeconfig
14
Makeconfig
@ -722,14 +722,12 @@ ifndef rtld-version-installed-name
|
|||||||
rtld-version-installed-name = ld-$(version).so
|
rtld-version-installed-name = ld-$(version).so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# The librt must be linked with the thread library, at least
|
|
||||||
# for now.
|
|
||||||
ifneq (,$(findstring linuxthreads,$(add-ons)))
|
|
||||||
shared-thread-library = $(common-objpfx)linuxthreads/libpthread.so
|
|
||||||
# Yes, we can compile librt.
|
|
||||||
rt = rt
|
|
||||||
endif
|
|
||||||
|
|
||||||
endif # build-shared
|
endif # build-shared
|
||||||
|
|
||||||
|
ifneq (,$(findstring linuxthreads,$(add-ons)))
|
||||||
|
shared-thread-library = $(common-objpfx)linuxthreads/libpthread.so
|
||||||
|
static-thread-library = $(common-objpfx)linuxthreads/libpthread.a
|
||||||
|
have-thread-library = yes
|
||||||
|
endif
|
||||||
|
|
||||||
endif # Makeconfig not yet included
|
endif # Makeconfig not yet included
|
||||||
|
2
Makefile
2
Makefile
@ -64,7 +64,7 @@ subdirs = csu assert ctype db2 locale intl catgets math setjmp signal stdlib \
|
|||||||
stdio-common $(stdio) malloc string wcsmbs time dirent grp pwd \
|
stdio-common $(stdio) malloc string wcsmbs time dirent grp pwd \
|
||||||
posix io termios resource misc socket sysvipc gmon gnulib iconv \
|
posix io termios resource misc socket sysvipc gmon gnulib iconv \
|
||||||
iconvdata wctype manual shadow md5-crypt po argp $(add-ons) nss \
|
iconvdata wctype manual shadow md5-crypt po argp $(add-ons) nss \
|
||||||
localedata timezone $(rt) $(sysdep-subdirs) $(binfmt-subdir)
|
localedata timezone rt $(sysdep-subdirs) $(binfmt-subdir)
|
||||||
export subdirs := $(subdirs) # Benign, useless in GNU make before 3.63.
|
export subdirs := $(subdirs) # Benign, useless in GNU make before 3.63.
|
||||||
|
|
||||||
# The mach and hurd subdirectories have many generated header files which
|
# The mach and hurd subdirectories have many generated header files which
|
||||||
|
@ -459,6 +459,8 @@ endif
|
|||||||
|
|
||||||
# Maximize efficiency by minimizing the number of rules.
|
# Maximize efficiency by minimizing the number of rules.
|
||||||
.SUFFIXES: # Clear the suffix list. We don't use suffix rules.
|
.SUFFIXES: # Clear the suffix list. We don't use suffix rules.
|
||||||
|
# Don't define any builtin rules.
|
||||||
|
MAKEFLAGS := $(MAKEFLAGS)r
|
||||||
|
|
||||||
# Generic rule for making directories.
|
# Generic rule for making directories.
|
||||||
%/:
|
%/:
|
||||||
|
1
libc.map
1
libc.map
@ -101,6 +101,7 @@ GLIBC_2.0 {
|
|||||||
__strcasecmp; __write; _strerror_internal; _dl_sysdep_output;
|
__strcasecmp; __write; _strerror_internal; _dl_sysdep_output;
|
||||||
_dl_debug_message;
|
_dl_debug_message;
|
||||||
__ffs;
|
__ffs;
|
||||||
|
__close; __connect; __fcntl; __lseek; __open; __read; __send; __wait;
|
||||||
|
|
||||||
# Exception handling support functions from libgcc
|
# Exception handling support functions from libgcc
|
||||||
__register_frame; __register_frame_table; __deregister_frame;
|
__register_frame; __register_frame_table; __deregister_frame;
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* libpthread.map: Add __libc_internal_tsd_get and
|
||||||
|
__libc_internal_tsd_set. Add missing cancelable functions. Export
|
||||||
|
libc internal versions of the cancelable functions.
|
||||||
|
|
||||||
1998-03-13 16:51 Ulrich Drepper <drepper@cygnus.com>
|
1998-03-13 16:51 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* weaks.c: Define pthread_attr_init as GLIBC_2.0 and GLIBC_2.1.
|
* weaks.c: Define pthread_attr_init as GLIBC_2.0 and GLIBC_2.1.
|
||||||
|
@ -4,9 +4,15 @@ GLIBC_2.0 {
|
|||||||
_pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
|
_pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
|
||||||
_pthread_cleanup_push_defer;
|
_pthread_cleanup_push_defer;
|
||||||
|
|
||||||
|
# Internal libc interface to libpthread
|
||||||
|
__libc_internal_tsd_get; __libc_internal_tsd_set;
|
||||||
|
|
||||||
# Overwritten libc functions.
|
# Overwritten libc functions.
|
||||||
close; fcntl; fork; fsync; lseek; msync; nanosleep; open; pause; raise;
|
close; connect; fcntl; fork; fsync; lseek; msync; nanosleep; open;
|
||||||
read; system; tcdrain; wait; waitpid; write;
|
pause; raise; read; recv; recvfrom; recvmsg; send; sendmsg; sendto;
|
||||||
|
system; tcdrain; wait; waitpid; write;
|
||||||
|
__close; __connect; __fcntl; __lseek; __open; __read; __send; __wait;
|
||||||
|
__write;
|
||||||
|
|
||||||
# POSIX.1c extensions to libc.
|
# POSIX.1c extensions to libc.
|
||||||
flockfile; funlockfile; ftrylockfile;
|
flockfile; funlockfile; ftrylockfile;
|
||||||
|
@ -25,25 +25,26 @@ routines := nscd_getpw_r nscd_getgr_r
|
|||||||
|
|
||||||
include ../Makeconfig
|
include ../Makeconfig
|
||||||
|
|
||||||
# We can later add the names of other thread packages here.
|
ifeq ($(have-thread-library),yes)
|
||||||
ifneq (,$(findstring linuxthreads,$(add-ons)))
|
|
||||||
|
|
||||||
others := nscd
|
others := nscd
|
||||||
install-sbin := nscd
|
install-sbin := nscd
|
||||||
|
|
||||||
nscd-routines := nscd connections pwdcache getpwnam_r getpwuid_r grpcache \
|
nscd-modules := nscd connections pwdcache getpwnam_r getpwuid_r grpcache \
|
||||||
getgrnam_r getgrgid_r dbg_log nscd_conf nscd_stat
|
getgrnam_r getgrgid_r dbg_log nscd_conf nscd_stat
|
||||||
extra-objs := $(nscd-routines:=.o)
|
extra-objs := $(nscd-modules:=.o)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
distribute := nscd.h dbg_log.h $(nscd-routines:=.c) TODO nscd.conf nscd.init \
|
distribute := nscd.h dbg_log.h $(nscd-modules:=.c) TODO nscd.conf nscd.init \
|
||||||
nscd_proto.h
|
nscd_proto.h
|
||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
|
$(objpfx)nscd: $(nscd-modules:%=$(objpfx)%.o)
|
||||||
|
|
||||||
ifeq ($(build-shared),yes)
|
ifeq ($(build-shared),yes)
|
||||||
$(objpfx)nscd: $(nscd-routines:%=$(objpfx)%.o) $(objpfx)../linuxthreads/libpthread.so$(libpthread.so-version) $(objpfx)../nis/libnsl.so$(libnsl.so-version)
|
$(objpfx)nscd: $(shared-thread-library) $(common-objpfx)nis/libnsl.so
|
||||||
else
|
else
|
||||||
$(objpfx)nscd: $(nscd-routines:%=$(objpfx)%.o) $(objpfx)../linuxthreads/libpthread.a $(objpfx)../nis/libnsl.a
|
$(objpfx)nscd: $(static-thread-library) $(common-objpfx)nis/libnsl.a
|
||||||
endif
|
endif
|
||||||
|
17
rt/Makefile
17
rt/Makefile
@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 1997 Free Software Foundation, Inc.
|
# Copyright (C) 1997, 1998 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
|
||||||
@ -23,9 +23,6 @@ subdir := rt
|
|||||||
|
|
||||||
headers := aio.h
|
headers := aio.h
|
||||||
|
|
||||||
extra-libs := librt
|
|
||||||
extra-libs-others := $(extra-libs)
|
|
||||||
|
|
||||||
librt-routines := aio_cancel aio_error aio_fsync aio_misc aio_read \
|
librt-routines := aio_cancel aio_error aio_fsync aio_misc aio_read \
|
||||||
aio_read64 aio_return aio_suspend aio_write \
|
aio_read64 aio_return aio_suspend aio_write \
|
||||||
aio_write64 lio_listio lio_listio64 aio_sigqueue \
|
aio_write64 lio_listio lio_listio64 aio_sigqueue \
|
||||||
@ -33,7 +30,17 @@ librt-routines := aio_cancel aio_error aio_fsync aio_misc aio_read \
|
|||||||
|
|
||||||
librt-map := librt.map
|
librt-map := librt.map
|
||||||
|
|
||||||
distribute := aio_misc.h
|
# Make sure that everything is distributed independent of configuration.
|
||||||
|
distribute := aio_misc.h $(librt-routines:=.c) $(librt-map)
|
||||||
|
|
||||||
|
include ../Makeconfig
|
||||||
|
|
||||||
|
ifeq ($(have-thread-library),yes)
|
||||||
|
|
||||||
|
extra-libs := librt
|
||||||
|
extra-libs-others := $(extra-libs)
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user