1997-01-20 02:49:49 +00:00
|
|
|
|
# Copyright (C) 1992, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
# This file is part of the GNU C Library.
|
|
|
|
|
|
|
|
|
|
# The GNU C Library is free software; you can redistribute it and/or
|
|
|
|
|
# modify it under the terms of the GNU Library General Public License
|
|
|
|
|
# as published by the Free Software Foundation; either version 2 of
|
|
|
|
|
# the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
# The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
# Library General Public License for more details.
|
|
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
1997-01-20 02:49:49 +00:00
|
|
|
|
# License along with the GNU C Library; see the file COPYING.LIB. If not,
|
|
|
|
|
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
|
# Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
|
|
# Makefile for the GNU C Library manual.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
|
|
subdir := manual
|
|
|
|
|
export subdir := $(subdir)
|
|
|
|
|
|
|
|
|
|
.PHONY: all dvi info
|
|
|
|
|
all: dvi info
|
|
|
|
|
dvi: libc.dvi
|
|
|
|
|
info: libc.info
|
|
|
|
|
|
|
|
|
|
# Get glibc's configuration info.
|
|
|
|
|
ifneq (,$(wildcard ../Makeconfig))
|
|
|
|
|
include ../Makeconfig
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# Set chapters and chapters-incl.
|
1996-08-02 05:27:50 +00:00
|
|
|
|
-include chapters
|
1995-02-18 01:27:10 +00:00
|
|
|
|
chapters: libc.texinfo
|
|
|
|
|
$(find-includes)
|
|
|
|
|
ifdef chapters
|
1996-08-02 20:56:23 +00:00
|
|
|
|
-include chapters-incl
|
1995-02-18 01:27:10 +00:00
|
|
|
|
chapters-incl: $(chapters)
|
|
|
|
|
$(find-includes)
|
1995-04-12 01:03:38 +00:00
|
|
|
|
chapters-incl := $(filter-out summary.texi,$(chapters-incl))
|
1995-02-18 01:27:10 +00:00
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
define find-includes
|
|
|
|
|
(echo '$(@F) :=' \\ ;\
|
|
|
|
|
awk '$$1 == "@include" { print $$2 " \\" }' $^) > $@.new
|
|
|
|
|
mv -f $@.new $@
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
libc.dvi libc.info: $(chapters) summary.texi $(chapters-incl)
|
|
|
|
|
libc.dvi: texinfo.tex
|
|
|
|
|
|
|
|
|
|
# Generate the summary from the Texinfo source files for each chapter.
|
|
|
|
|
summary.texi: stamp-summary ;
|
|
|
|
|
stamp-summary: summary.awk $(chapters) $(chapters-incl)
|
|
|
|
|
awk -f $^ \
|
|
|
|
|
| sort -df +1 -2 | tr '\014' '\012' > summary-tmp
|
|
|
|
|
./move-if-change summary-tmp summary.texi
|
|
|
|
|
# touch is broken on our machines. Sigh.
|
|
|
|
|
date > $@
|
|
|
|
|
|
|
|
|
|
# Generate Texinfo files from the C source for the example programs.
|
|
|
|
|
%.c.texi: examples/%.c
|
|
|
|
|
sed -e 's,[{}],@&,g' \
|
|
|
|
|
-e 's,/\*\(@.*\)\*/,\1,g' \
|
|
|
|
|
-e 's,/\* *,/* @r{,g' -e 's, *\*/,} */,' \
|
|
|
|
|
-e 's/\(@[a-z][a-z]*\)@{\([^}]*\)@}/\1{\2}/'\
|
|
|
|
|
$< | expand > $@.new
|
|
|
|
|
mv -f $@.new $@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
minimal-dist = summary.awk move-if-change libc.texinfo $(chapters) \
|
|
|
|
|
$(patsubst %.c.texi,examples/%.c, \
|
|
|
|
|
$(filter-out summary.texi,$(chapters-incl)))
|
|
|
|
|
doc-only-dist = Makefile COPYING.LIB mkinstalldirs
|
|
|
|
|
distribute = $(minimal-dist) \
|
|
|
|
|
$(patsubst examples/%.c,%.c.texi,$(filter examples/%.c, \
|
|
|
|
|
$(minimal-dist))) \
|
1996-09-10 02:00:15 +00:00
|
|
|
|
libc.info* libc.?? libc.??s texinfo.tex summary.texi \
|
1995-02-18 01:27:10 +00:00
|
|
|
|
stamp-summary chapters chapters-incl
|
|
|
|
|
export distribute := $(distribute)
|
|
|
|
|
|
|
|
|
|
tar-it = tar chovf $@ $^
|
|
|
|
|
|
|
|
|
|
manual.tar: $(doc-only-dist) $(minimal-dist) ; $(tar-it)
|
|
|
|
|
mandist.tar: $(doc-only-dist) $(distribute) ; $(tar-it)
|
|
|
|
|
|
|
|
|
|
edition := $(shell sed -n 's/^@set EDITION \([0-9][0-9.]*\)[^0-9.]*.*$$/\1/p' \
|
|
|
|
|
libc.texinfo)
|
|
|
|
|
|
|
|
|
|
glibc-doc-$(edition).tar: $(doc-only-dist) $(distribute)
|
|
|
|
|
@rm -f glibc-doc-$(edition)
|
|
|
|
|
ln -s . glibc-doc-$(edition)
|
|
|
|
|
tar chovf $@ $(addprefix glibc-doc-$(edition)/,$^)
|
|
|
|
|
rm -f glibc-doc-$(edition)
|
|
|
|
|
|
|
|
|
|
%.Z: %
|
|
|
|
|
compress -c $< > $@.new
|
|
|
|
|
mv -f $@.new $@
|
|
|
|
|
%.gz: %
|
|
|
|
|
gzip -9 -c $< > $@.new
|
|
|
|
|
mv -f $@.new $@
|
|
|
|
|
%.uu: %
|
|
|
|
|
uuencode $< < $< > $@.new
|
|
|
|
|
mv -f $@.new $@
|
|
|
|
|
|
|
|
|
|
.PHONY: mostlyclean distclean realclean clean
|
|
|
|
|
mostlyclean:
|
|
|
|
|
-rm -f libc.dvi libc.info*
|
|
|
|
|
clean: mostlyclean
|
|
|
|
|
distclean: clean
|
|
|
|
|
indices = cp fn pg tp vr ky
|
|
|
|
|
realclean: distclean
|
|
|
|
|
-rm -f chapters chapters-incl summary.texi stamp-summary *.c.texi
|
|
|
|
|
-rm -f $(foreach index,$(indices),libc.$(index) libc.$(index)s)
|
|
|
|
|
-rm -f libc.log libc.aux libc.toc
|
|
|
|
|
|
|
|
|
|
.PHONY: install subdir_install installdirs install-data
|
|
|
|
|
install-data subdir_install: install
|
|
|
|
|
install: $(infodir)/libc.info
|
|
|
|
|
# Catchall implicit rule for other installation targets from the parent.
|
|
|
|
|
install-%: ;
|
|
|
|
|
|
|
|
|
|
$(infodir)/libc.info: libc.info installdirs
|
|
|
|
|
for file in $<*; do \
|
|
|
|
|
name=`basename $$file`; \
|
|
|
|
|
$(INSTALL_DATA) $$file \
|
|
|
|
|
`echo $@ | sed "s,$<\$$,$$name,"`; \
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
installdirs: $(firstword $(wildcard mkinstalldirs ../mkinstalldirs))
|
|
|
|
|
$(dir $<)$(notdir $<) $(infodir)
|
|
|
|
|
|
|
|
|
|
.PHONY: dist
|
|
|
|
|
dist: # glibc-doc-$(edition).tar.gz
|
|
|
|
|
|
|
|
|
|
ifneq (,$(wildcard ../Make-dist))
|
|
|
|
|
dist: ../Make-dist
|
|
|
|
|
$(MAKE) -f $< $(Make-dist-args)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifndef ETAGS
|
|
|
|
|
ETAGS = etags -T
|
|
|
|
|
endif
|
|
|
|
|
TAGS: $(minimal-dist)
|
|
|
|
|
$(ETAGS) -o $@ $^
|
1996-02-19 20:54:38 +00:00
|
|
|
|
|
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile (glibc-targets): Variable and targets removed.
Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile (lib): New phony target. Depend on stamp files.
($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
1996-07-13 Paul Eggert <eggert@twinsun.com>
* time/strftime.c (strftime): Use space padding for %e, %k, %l,
to match Emacs format-time-string specification.
(DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
between MAP and its deps.
* elf/link.h: Fix decl.
* elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
colon-separated list of names, map those and pass vector of ptrs as
PRELOADS list to _dl_map_object_deps.
* elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
_dl_map_object_deps with empty preload list.
* elf/dl-open.c (_dl_open): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
removed.
(__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
Conditionalize defn on [! MAP_ANON].
* elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
on [! MAP_ANON].
* elf/rtld.c (dl_main): Likewise.
* elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
(_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
* elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* stdlib/random.c (__random): Declare as int32_t to be in sync
with declaration.
* socket/Makefile (headers): Add socketbits.h.
* misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
it that way.
* grp/initgroups.c (initgroups): Add groups that user is a member
of, not the ones he is _not_ a member of.
* nss/nsswitch.c (known_compare): Make known_compare() a static
instead of a local function. The latter are difficult to debug
and slow to execute on certain platforms.
* sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
place of sizeof (dev). The size of a literal string includes the
NUL byte.
* sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
* misc/mntent.c (addmntent): Seek to end of file before writing
entry. Return 1 on error, not -1.
Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
syscall.
Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
shift amount for Jensen must be 5 not 4.
Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* socket/sys/socket.h (struct osockaddr): New type.
Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
* misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
* misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
and `long double' versions can be generated.
* misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
so that included efgcvt{,_r}.c file generate `long double'
versions.
* stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
functions.
* manual/startup.texi: Document new getsubopt function.
* manual/examples/subopt.c: New example program for documenting
getsubopt function.
Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
* stdlib/Makefile (routines): Add getsubopt.
* stdlib/stdlib.h: Add prototype for getsubopt.
* stdlib/getsubopt.c: New file. Implement getsubopt function
to handle suboption parsing.
1996-07-14 06:04:09 +00:00
|
|
|
|
# The parent makefile sometimes invokes us with targets `subdir_REAL-TARGET'.
|
|
|
|
|
subdir_%: % ;
|
|
|
|
|
# For targets we don't define, do nothing.
|
|
|
|
|
subdir_%: ;
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
1996-07-14 10:04:21 +00:00
|
|
|
|
# These are targets that each glibc subdirectory is expected to understand.
|
|
|
|
|
# ../Rules defines them for code subdirectories; for us, they are no-ops.
|
1996-07-15 00:11:11 +00:00
|
|
|
|
# None of these should be `subdir_TARGET'; those targets are transformed
|
|
|
|
|
# by the implicit rule above into `TARGET' deps.
|
update from main archive 960906
Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
* libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
* libio/iofopen: Likewise.
* libio/iofopncook.c: Likewise.
* libio/iopopen.c: Likewise.
* libio/iovsprintf.c: Likewise.
* libio/iovsscanf.c: Likewise.
* libio/memstream.c: Likewise.
* libio/vasprintf.c: Likewise.
* libio/vdprintf.c: Likewise.
* libio/vsnprintf.c: Likewise.
Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig (soversions.mk): Also use shlib-versions files
in add-on directories.
* config.make.in (config-defines): Remove. Not used anymore.
(defines): New variable. Initiliazed by @DEFINES@.
* configure.in: Add AC_SUBST(DEFINES).
* libio/Makefile (routines): When compiling reentrant libc add
clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
iofflush_u, putc_u, putchar_u, ioflockfile.
(CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
* sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
and __libc_cleanup_region_end.
* sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
using __errno_location function.
* sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
using __errno_location function.
(__errno_location): New function.
* sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
syscall_error handler for reentrant libc.
* sysdeps/unix/opendir.c: Remove unneeded `;'.
* libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
[!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
as empty macros.
* libioP.h: Include <libc-lock.h>.
* libio/stdio.h: Add prototypes for *_locked and *_unlocked
functions.
* libio/clearerr.c: Use _IO_ protected versions of flockfile
and funlockfile to be namespace clean.
* libio/genops.c: Use __libc_lock_* macros for handling lock.
* libio/iofdopen: Add initialization of _lock in _IO_FILE.
* libio/iofopen: Likewise.
* libio/iofopncook.c: Likewise.
* libio/iopopen.c: Likewise.
* libio/iovsprintf.c: Likewise.
* libio/iovsscanf.c: Likewise.
* libio/memstream.c: Likewise.
* libio/vasprintf.c: Likewise.
* libio/vdprintf.c: Likewise.
* libio/vsnprintf.c: Likewise.
* libio/fgetc.c: Use __libc_cleanup_region_* macros instead
of flockfile etc.
* libio/fputc.c: Likewise.
* libio/freopen.c: Likewise.
* libio/fseek.c: Likewise.
* libio/getc.c: Likewise.
* libio/getchar.c: Likewise.
* libio/iofclose.c: Likewise.
* libio/iofflush.c: Likewise.
* libio/iofgetpos.c: Likewise.
* libio/iofgets.c: Likewise.
* libio/iofputs.c: Likewise.
* libio/iofread.c: Likewise.
* libio/iofsetpos.c: Likewise.
* libio/ioftell.c: Likewise.
* libio/iofwrite.c: Likewise.
* libio/iogetdelim.c: Likewise.
* libio/iogets.c: Likewise.
* libio/ioputs.c: Likewise.
* libio/iosetbuffer.c: Likewise.
* libio/iosetvbuf.c: Likewise.
* libio/ioungetc.c: Likewise.
* libio/putc.c: Likewise.
* libio/putchar.c: Likewise.
* libio/rewind.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* stdio-common/vfscanf.c: Likewise.
* libio/clearerr_u.c: Correct alias name.
* libio/ferror_u.c: Likewise.
* libio/fileno.c: Likewise.
* libio/fputc_u.c: Likewise.
* libio/getc.c: Likewise.
* libio/getc_u.c: Likewise.
* libio/getchar.c: Likewise.
* libio/getchar_u.c: Likewise.
* libio/putc.c: Likewise.
* libio/putchar.c: Likewise.
* libio/feof_u.c: Undefine macro with name of function before
definition of function itself.
* libio/ioflockfile.c: New file. Implementation of flockfile and
funlockfile.
* libio/putchar_u.c: Fix typo. Use stdout instead of fp.
* malloc/malloc.h: Don't include <libc-lock.h> and don't declare
_malloc_loc.
* malloc/free.c: Include <libc-lock.h>.
* malloc/realloc.c: Likewise.
* malloc/malloc-find.c: Likewise.
* malloc/malloc-size.c: Likewise.
* malloc/malloc-walk.c: Likewise.
* malloc/memalign.c: Likewise.
* malloc/malloc.c: Likewise.
* sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
and __libc_lock_critical_end as empty macros.
* malloc/malloc.h: Don't include <libc-lock.h> and don't declare
__libc_malloc_lock.
* malloc/free.c: Include <libc-lock.h>.
* malloc/malloc-find.c: Likewise.
* malloc/malloc-size.c: Likewise.
* malloc/malloc-walk.c: Likewise.
* malloc/malloc.c: Likewise.
* malloc/memalign.c: Likewise.
* malloc/realloc.c: Likewise.
* Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
extra_solibs pass.
* Rules: Likewise.
* extra-lib.mk: Likewise.
* manual/Makefile: Likewise.
* db/Makefile (makedb): Choose dependecies based on build-shared.
Patch by Andres Schwab.
* sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
* sysdeps/unix/sysv/linux/errnos.h: New file.
* sysdeps/unix/sysv/linux/schedbits.h: New file.
* sysdeps/unix/sysv/linux/waitflags.h: New file.
* sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* rpm/template: Fix typo in %build section.
Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
building libc without thread support.
* resolv/netdb.h: Likewise for h_errno macro.
Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
* libc-symbols.h: Add new macro weak_const_function. It's like
weak_function, but the function is additionally marked as const.
* features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
* inet/herrno.c (__h_errno_location): New function.
(h_errno): Make strong_alias __h_errno so that we can access
the variable even if `h_errno' is a macro.
* resolv/netdb.h: Define macro h_errno to access thread specific
version of h_errno variable. Declare alias __h_errno for h_errno.
* resolv/res_query (h_errno): Remove definition.
* sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
Add macro `errno' to get thread specific variable.
* sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
__errno_location function.
(__errno_location): New function.
Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
* posix/gnu/types.h: Remove definition of key_t.
* sysdeps/generic/gnu/types.h: Move it to here.
* sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
definition of key_t.
* sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
definitions.
* sysdeps/unix/sysv/linux/schedbits.h: New file. Include
clone prototypes and associated flags.
Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/elf/start.S: Make _start global again.
hertz.
here.
Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
* sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1996-09-07 04:10:57 +00:00
|
|
|
|
glibc-targets := lib objects objs others tests lint.out \
|
1996-07-15 00:11:11 +00:00
|
|
|
|
echo-headers echo-distinfo stubs
|
1996-07-14 10:04:21 +00:00
|
|
|
|
.PHONY: $(glibc-targets)
|
|
|
|
|
$(glibc-targets):
|
|
|
|
|
|
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile (glibc-targets): Variable and targets removed.
Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile (lib): New phony target. Depend on stamp files.
($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
1996-07-13 Paul Eggert <eggert@twinsun.com>
* time/strftime.c (strftime): Use space padding for %e, %k, %l,
to match Emacs format-time-string specification.
(DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
between MAP and its deps.
* elf/link.h: Fix decl.
* elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
colon-separated list of names, map those and pass vector of ptrs as
PRELOADS list to _dl_map_object_deps.
* elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
_dl_map_object_deps with empty preload list.
* elf/dl-open.c (_dl_open): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
removed.
(__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
Conditionalize defn on [! MAP_ANON].
* elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
on [! MAP_ANON].
* elf/rtld.c (dl_main): Likewise.
* elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
(_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
* elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* stdlib/random.c (__random): Declare as int32_t to be in sync
with declaration.
* socket/Makefile (headers): Add socketbits.h.
* misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
it that way.
* grp/initgroups.c (initgroups): Add groups that user is a member
of, not the ones he is _not_ a member of.
* nss/nsswitch.c (known_compare): Make known_compare() a static
instead of a local function. The latter are difficult to debug
and slow to execute on certain platforms.
* sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
place of sizeof (dev). The size of a literal string includes the
NUL byte.
* sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
* misc/mntent.c (addmntent): Seek to end of file before writing
entry. Return 1 on error, not -1.
Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
syscall.
Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
shift amount for Jensen must be 5 not 4.
Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* socket/sys/socket.h (struct osockaddr): New type.
Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
* misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
* misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
and `long double' versions can be generated.
* misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
so that included efgcvt{,_r}.c file generate `long double'
versions.
* stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
functions.
* manual/startup.texi: Document new getsubopt function.
* manual/examples/subopt.c: New example program for documenting
getsubopt function.
Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
* stdlib/Makefile (routines): Add getsubopt.
* stdlib/stdlib.h: Add prototype for getsubopt.
* stdlib/getsubopt.c: New file. Implement getsubopt function
to handle suboption parsing.
1996-07-14 06:04:09 +00:00
|
|
|
|
# Create stamp files if they don't exist, so the parent makefile's rules for
|
|
|
|
|
# updating the library archives are happy with us, and never think we have
|
|
|
|
|
# changed the library.
|
|
|
|
|
lib: $(foreach o,$(object-suffixes),$(objpfx)stamp$o-$(subdir))
|
1995-02-18 01:27:10 +00:00
|
|
|
|
stubs: $(common-objpfx)stub-manual
|
1996-08-30 00:58:28 +00:00
|
|
|
|
$(common-objpfx)stub-manual ../po/manual.pot $(objpfx)stamp%-$(subdir):
|
|
|
|
|
$(make-target-directory)
|
|
|
|
|
cp /dev/null $@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Make the target directory if it doesn't exist, using the `mkinstalldirs'
|
|
|
|
|
# script that does `mkdir -p' even if `mkdir' doesn't support that flag.
|
|
|
|
|
define make-target-directory
|
|
|
|
|
$(addprefix $(..)./mkinstalldirs ,\
|
|
|
|
|
$(filter-out $(wildcard $(@D:%/=%)),$(@D:%/=%)))
|
|
|
|
|
endef
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
|
|
# The top-level glibc Makefile expects subdir_install to update the stubs file.
|
|
|
|
|
subdir_install: stubs
|
1996-02-19 20:54:38 +00:00
|
|
|
|
|
1995-02-18 01:27:10 +00:00
|
|
|
|
# Get rid of these variables if they came from the parent.
|
|
|
|
|
routines =
|
|
|
|
|
aux =
|
|
|
|
|
sources =
|
|
|
|
|
objects =
|
|
|
|
|
headers =
|