aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-13 12:29:13 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-13 12:29:13 +0000
commit7a68c94a5b8fb848590857f7d8c4a271bf4e8ea9 (patch)
treef91b98eed7220f1cb3b29337ca432d323c7b7408
parentceb27555a1f637c048c7ec65a01f8122c3e79bf3 (diff)
downloadglibc-7a68c94a5b8fb848590857f7d8c4a271bf4e8ea9.tar.xz
glibc-7a68c94a5b8fb848590857f7d8c4a271bf4e8ea9.zip
Update.
1998-07-10 18:14 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> * manual/Makefile: Overhauled. Generate libc.texinfo from the chapter files. Exorcise the chapters, chapters-incl mess. Support inserting doc chapters from add-on modules. (chapters): New variable. (add-chapters): New variable. (appendices): New variable. (libc.texinfo): New target. (clean): Fix bugs. (realclean): Fix bugs. * manual/texis.awk: New file. * manual/libc-texinfo.sh: New file. * manual/libc-texinfo.in: New file. * manual/conf.texi (top @node): Remove next pointer. * manual/lang.texi (top @node): Remove prev pointer. * manual/job.texi (top @node): Add explicit pointers. * manual/message.texi (top @node): Add explicit pointers. * manual/nss.texi (top @node): Add explicit pointers. * manual/process.texi (top @node): Add explicit pointers. * manual/startup.texi (top @node): Add explicit pointers. * manual/terminal.texi (top @node): Add explicit pointers. * manual/users.texi (top @node): Add explicit pointers. * manual/arith.texi: Add %MENU% tag. * manual/conf.texi: Add %MENU% tag. * manual/contrib.texi: Add %MENU% tag. * manual/ctype.texi: Add %MENU% tag. * manual/errno.texi: Add %MENU% tag. * manual/filesys.texi: Add %MENU% tag. * manual/header.texi: Add %MENU% tag. * manual/install.texi: Add %MENU% tag. * manual/intro.texi: Add %MENU% tag. * manual/io.texi: Add %MENU% tag. * manual/job.texi: Add %MENU% tag. * manual/lang.texi: Add %MENU% tag. * manual/llio.texi: Add %MENU% tag. * manual/locale.texi: Add %MENU% tag. * manual/maint.texi: Add %MENU% tag. * manual/math.texi: Add %MENU% tag. * manual/mbyte.texi: Add %MENU% tag. * manual/memory.texi: Add %MENU% tag. * manual/message.texi: Add %MENU% tag. * manual/nss.texi: Add %MENU% tag. * manual/pattern.texi: Add %MENU% tag. * manual/pipe.texi: Add %MENU% tag. * manual/process.texi: Add %MENU% tag. * manual/search.texi: Add %MENU% tag. * manual/setjmp.texi: Add %MENU% tag. * manual/signal.texi: Add %MENU% tag. * manual/socket.texi: Add %MENU% tag. * manual/startup.texi: Add %MENU% tag. * manual/stdio.texi: Add %MENU% tag. * manual/string.texi: Add %MENU% tag. * manual/sysinfo.texi: Add %MENU% tag. * manual/terminal.texi: Add %MENU% tag. * manual/time.texi: Add %MENU% tag. * manual/users.texi: Add %MENU% tag. 1998-07-13 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Update. 1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI style declaration to avoid warning. * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise. 1998-07-04 Mark Kettenis <kettenis@phys.uva.nl> * elf/rtld.c (process_dl_debug): Add missing continue. 1998-07-12 Mark Kettenis <kettenis@phys.uva.nl> * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup code needs it. 1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of sysd-dirs-done. * Makerules: Don't generate version maps too early. ($(common-objpfx)sysd-versions): Force regeneration if the list of subdirs has changed. 1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression. 1998-07-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps. * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind return value. 1998-07-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elf/dl-open.c (dl_open_worker): New function. (_dl_open): Call it to do the actual work while catching errors. * elf/dl-close.c (_dl_close): Only call termination function if the initialisation function was called. 1998-07-13 Ulrich Drepper <drepper@cygnus.com> * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT. Reported by Felix von Leitner <leitner@amdiv.de>. 1998-07-13 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elf/rtld.c (process_dl_debug): Add missing continue. 1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
-rw-r--r--ChangeLog118
-rw-r--r--Makeconfig4
-rw-r--r--Makerules27
-rw-r--r--elf/dl-close.c4
-rw-r--r--elf/dl-open.c82
-rw-r--r--elf/dlfcn.h10
-rw-r--r--iconv/gconv_db.c6
-rw-r--r--iconv/gconv_dl.c7
-rw-r--r--linuxthreads/linuxthreads.texi1427
-rw-r--r--manual/.cvsignore2
-rw-r--r--manual/Makefile88
-rw-r--r--manual/arith.texi1967
-rw-r--r--manual/chapters.texi35
-rw-r--r--manual/conf.texi4
-rw-r--r--manual/contrib.texi1
-rw-r--r--manual/ctype.texi1
-rw-r--r--manual/errno.texi1
-rw-r--r--manual/filesys.texi1
-rw-r--r--manual/header.texi1
-rw-r--r--manual/install.texi1
-rw-r--r--manual/intro.texi1
-rw-r--r--manual/io.texi1
-rw-r--r--manual/job.texi3
-rw-r--r--manual/lang.texi4
-rw-r--r--manual/libc-texinfo.sh115
-rw-r--r--manual/libc.texinfo892
-rw-r--r--manual/llio.texi1
-rw-r--r--manual/locale.texi1
-rw-r--r--manual/maint.texi1
-rw-r--r--manual/math.texi1395
-rw-r--r--manual/mbyte.texi1
-rw-r--r--manual/memory.texi1
-rw-r--r--manual/message.texi3
-rw-r--r--manual/nss.texi7
-rw-r--r--manual/pattern.texi1
-rw-r--r--manual/pipe.texi1
-rw-r--r--manual/process.texi3
-rw-r--r--manual/search.texi1
-rw-r--r--manual/setjmp.texi1
-rw-r--r--manual/signal.texi1
-rw-r--r--manual/socket.texi1
-rw-r--r--manual/startup.texi3
-rw-r--r--manual/stdio.texi1
-rw-r--r--manual/string.texi1
-rw-r--r--manual/sysinfo.texi1
-rw-r--r--manual/terminal.texi3
-rw-r--r--manual/texis78
-rw-r--r--manual/texis.awk21
-rw-r--r--manual/time.texi1
-rw-r--r--manual/top-menu.texi499
-rw-r--r--manual/users.texi3
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-procinfo.h4
-rw-r--r--sysdeps/unix/sysv/linux/recvmsg.c5
-rw-r--r--sysdeps/unix/sysv/linux/sendmsg.c5
54 files changed, 4231 insertions, 2616 deletions
diff --git a/ChangeLog b/ChangeLog
index a94494be34..d21c1f2aa9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,116 @@
-Mon Jul 13 10:28:28 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+1998-07-10 18:14 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
+
+ * manual/Makefile: Overhauled. Generate libc.texinfo from the
+ chapter files. Exorcise the chapters, chapters-incl mess.
+ Support inserting doc chapters from add-on modules.
+ (chapters): New variable.
+ (add-chapters): New variable.
+ (appendices): New variable.
+ (libc.texinfo): New target.
+ (clean): Fix bugs.
+ (realclean): Fix bugs.
+
+ * manual/texis.awk: New file.
+ * manual/libc-texinfo.sh: New file.
+ * manual/libc-texinfo.in: New file.
+
+ * manual/conf.texi (top @node): Remove next pointer.
+ * manual/lang.texi (top @node): Remove prev pointer.
+
+ * manual/job.texi (top @node): Add explicit pointers.
+ * manual/message.texi (top @node): Add explicit pointers.
+ * manual/nss.texi (top @node): Add explicit pointers.
+ * manual/process.texi (top @node): Add explicit pointers.
+ * manual/startup.texi (top @node): Add explicit pointers.
+ * manual/terminal.texi (top @node): Add explicit pointers.
+ * manual/users.texi (top @node): Add explicit pointers.
+
+ * manual/arith.texi: Add %MENU% tag.
+ * manual/conf.texi: Add %MENU% tag.
+ * manual/contrib.texi: Add %MENU% tag.
+ * manual/ctype.texi: Add %MENU% tag.
+ * manual/errno.texi: Add %MENU% tag.
+ * manual/filesys.texi: Add %MENU% tag.
+ * manual/header.texi: Add %MENU% tag.
+ * manual/install.texi: Add %MENU% tag.
+ * manual/intro.texi: Add %MENU% tag.
+ * manual/io.texi: Add %MENU% tag.
+ * manual/job.texi: Add %MENU% tag.
+ * manual/lang.texi: Add %MENU% tag.
+ * manual/llio.texi: Add %MENU% tag.
+ * manual/locale.texi: Add %MENU% tag.
+ * manual/maint.texi: Add %MENU% tag.
+ * manual/math.texi: Add %MENU% tag.
+ * manual/mbyte.texi: Add %MENU% tag.
+ * manual/memory.texi: Add %MENU% tag.
+ * manual/message.texi: Add %MENU% tag.
+ * manual/nss.texi: Add %MENU% tag.
+ * manual/pattern.texi: Add %MENU% tag.
+ * manual/pipe.texi: Add %MENU% tag.
+ * manual/process.texi: Add %MENU% tag.
+ * manual/search.texi: Add %MENU% tag.
+ * manual/setjmp.texi: Add %MENU% tag.
+ * manual/signal.texi: Add %MENU% tag.
+ * manual/socket.texi: Add %MENU% tag.
+ * manual/startup.texi: Add %MENU% tag.
+ * manual/stdio.texi: Add %MENU% tag.
+ * manual/string.texi: Add %MENU% tag.
+ * manual/sysinfo.texi: Add %MENU% tag.
+ * manual/terminal.texi: Add %MENU% tag.
+ * manual/time.texi: Add %MENU% tag.
+ * manual/users.texi: Add %MENU% tag.
+
+1998-07-13 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
+ Update.
+
+1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
+ style declaration to avoid warning.
+ * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
+
+1998-07-04 Mark Kettenis <kettenis@phys.uva.nl>
+
+ * elf/rtld.c (process_dl_debug): Add missing continue.
+
+1998-07-12 Mark Kettenis <kettenis@phys.uva.nl>
+
+ * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
+ code needs it.
+
+1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
+ sysd-dirs-done.
+ * Makerules: Don't generate version maps too early.
+ ($(common-objpfx)sysd-versions): Force regeneration if the list of
+ subdirs has changed.
+
+1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
+
+1998-07-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
+ * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
+ return value.
+
+1998-07-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * elf/dl-open.c (dl_open_worker): New function.
+ (_dl_open): Call it to do the actual work while catching errors.
+ * elf/dl-close.c (_dl_close): Only call termination function if
+ the initialisation function was called.
+
+1998-07-13 Ulrich Drepper <drepper@cygnus.com>
+
+ * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
+ Reported by Felix von Leitner <leitner@amdiv.de>.
+
+1998-07-13 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
@@ -857,6 +969,10 @@ Mon Jul 13 10:28:28 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.
1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
+ * elf/rtld.c (process_dl_debug): Add missing continue.
+
+1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
+
* elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
diff --git a/Makeconfig b/Makeconfig
index ee1cc6e79b..43b44c9e87 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -777,7 +777,9 @@ all-Subdirs-files = $(wildcard $(addsuffix /Subdirs, $(config-sysdirs)))
$(common-objpfx)sysd-dirs: $(common-objpfx)config.make $(all-Subdirs-files)
(echo define sysdep-subdirs; \
sed 's/#.*$$//' $(all-Subdirs-files) /dev/null; \
- echo endef) > $@-tmp
+ echo endef; \
+ echo 'sysd-dirs-done = t'; \
+ ) > $@-tmp
mv -f $@-tmp $@
endif # Makeconfig not yet included
diff --git a/Makerules b/Makerules
index dc5f25ead0..9bf62c6cf6 100644
--- a/Makerules
+++ b/Makerules
@@ -276,22 +276,31 @@ ifndef sysd-rules-done
no_deps=t
endif
-# Generate version maps.
+# Generate version maps, but wait until sysdep-subdirs is known
+ifdef sysd-dirs-done
ifeq ($(versioning),yes)
-ifndef no_deps
-include $(common-objpfx)sysd-versions
$(addprefix $(common-objpfx),$(version-maps)): $(common-objpfx)sysd-versions
-generated += $(version-maps)
+common-generated += $(version-maps) sysd-versions
+ifndef avoid-generated
+ifneq ($(sysd-versions-subdirs),$(all-subdirs) $(config-sysdirs))
+sysd-versions-force = FORCE
+FORCE:
+endif
$(common-objpfx)sysd-versions: $(..)Versions.def $(..)scripts/versions.awk \
$(wildcard $(all-subdirs:%=$(..)%/Versions)) \
- $(wildcard $(+sysdep_dirs:%=%/Versions))
- $(AWK) -v buildroot=$(common-objpfx) -v defsfile=$< \
- -v move_if_change='$(move-if-change)' \
- -f $(filter-out $<,$^) > $@T
+ $(wildcard $(sysdirs:%=%/Versions)) \
+ $(sysd-versions-force)
+ { echo 'sysd-versions-subdirs = $(all-subdirs) $(config-sysdirs)' ; \
+ $(AWK) -v buildroot=$(common-objpfx) -v defsfile=$< \
+ -v move_if_change='$(move-if-change)' \
+ -f $(filter-out $< $(sysd-versions-force),$^); \
+ } > $@T
mv -f $@T $@
-endif
-endif
+endif # avoid-generated
+endif # $(versioning) = yes
+endif # sysd-dirs-done
ifndef compile-command.S
compile-command.S = $(compile.S) $(OUTPUT_OPTION)
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 8b352d0f47..e1ca142a69 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -62,7 +62,9 @@ _dl_close (struct link_map *map)
{
struct link_map *imap = list[i];
if (imap->l_opencount == 1 && imap->l_type == lt_loaded
- && imap->l_info[DT_FINI])
+ && imap->l_info[DT_FINI]
+ /* Skip any half-cooked objects that were never initialized. */
+ && imap->l_init_called)
{
/* When debugging print a message first. */
if (_dl_debug_impcalls)
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 2b9590913f..b595f2df73 100644
--- a/elf/dl-open.c
+++ b/