From e2e9ee177f2c301bf4abcc9214228c010aaba3d1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 1 Apr 1998 07:11:57 +0000 Subject: [PATCH] Update. 1998-04-01 13:20 Mark Kettenis * io/Makefile (static-only-routines): Add stat64, fstat64 and lstat64. 1998-03-30 Andreas Schwab * manual/Makefile: Use object-suffixes-for-libc instead of object-suffixes. * rpm/Makefile (install-lib): Likewise. 1998-03-30 Andreas Schwab * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug. * sysdeps/unix/sysv/linux/configure.in: Match $machine against `m68*', not only `m68k'. 1998-04-01 10:50 Andreas Schwab --- ChangeLog | 20 +++++++++++++++++++- io/Makefile | 2 +- manual/Makefile | 4 ++-- rpm/Makefile | 2 +- sysdeps/unix/sysv/linux/lddlibc4.c | 4 ++-- 5 files changed, 25 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index e01db28..f765982 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,22 @@ -Wed Apr 1 10:50:23 1998 Andreas Schwab +1998-04-01 13:20 Mark Kettenis + + * io/Makefile (static-only-routines): Add stat64, fstat64 and + lstat64. + +1998-03-30 Andreas Schwab + + * manual/Makefile: Use object-suffixes-for-libc instead of + object-suffixes. + * rpm/Makefile (install-lib): Likewise. + +1998-03-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug. + + * sysdeps/unix/sysv/linux/configure.in: Match $machine against + `m68*', not only `m68k'. + +1998-04-01 10:50 Andreas Schwab * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file. diff --git a/io/Makefile b/io/Makefile index 8329f4f..e15676f 100644 --- a/io/Makefile +++ b/io/Makefile @@ -49,7 +49,7 @@ routines := \ # These routines will be omitted from the libc shared object. # Instead the static object files will be included in a special archive # linked against when the shared library will be used. -static-only-routines = stat fstat lstat mknod +static-only-routines = stat fstat lstat mknod stat64 fstat64 lstat64 others := pwd test-srcs := ftwtest diff --git a/manual/Makefile b/manual/Makefile index a952299..e4efe73 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -144,7 +144,7 @@ glibc-doc-$(edition).tar: $(doc-only-dist) $(distribute) .PHONY: mostlyclean distclean realclean clean mostlyclean: -rm -f libc.dvi libc.info* dir-add.info $(common-objpfx)stub-manual - -rm -f $(foreach o,$(object-suffixes),$(objpfx)stamp$o) + -rm -f $(foreach o,$(object-suffixes-for-libc),$(objpfx)stamp$o) clean: mostlyclean distclean: clean indices = cp fn pg tp vr ky @@ -207,7 +207,7 @@ $(glibc-targets): # 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) +lib: $(foreach o,$(object-suffixes-for-libc),$(objpfx)stamp$o) stubs: $(common-objpfx)stub-manual $(common-objpfx)stub-manual ../po/manual.pot $(objpfx)stamp%: $(make-target-directory) diff --git a/rpm/Makefile b/rpm/Makefile index 3edf21e..d6f82d2 100644 --- a/rpm/Makefile +++ b/rpm/Makefile @@ -43,7 +43,7 @@ install-slib += $(foreach lib,$(versioned),\ install-lib += $(versioned) # Add libc.a and libc_p.a. -install-lib += $(foreach o,$(filter-out .os,$(object-suffixes)),\ +install-lib += $(foreach o,$(filter-out .os,$(object-suffixes-for-libc)),\ $(patsubst %,$(libtype$o),c)) ifeq (yes,$(build-shared)) diff --git a/sysdeps/unix/sysv/linux/lddlibc4.c b/sysdeps/unix/sysv/linux/lddlibc4.c index 7c00d05..ae6e611 100644 --- a/sysdeps/unix/sysv/linux/lddlibc4.c +++ b/sysdeps/unix/sysv/linux/lddlibc4.c @@ -75,11 +75,11 @@ main (int argc, char *argv[]) /* We don't need the file open anymore. */ fclose (fp); - /* We must put `__LDD=ARGV0=' in the environment. */ + /* We must put `__LDD_ARGV0=' in the environment. */ filename_len = strlen (filename); buf = (char *) alloca (sizeof "__LDD_ARGV0=" + filename_len); mempcpy (mempcpy (buf, "__LDD_ARGV0=", sizeof "__LDD_ARGV0=" - 1), - filename, filename_len); + filename, filename_len + 1); /* ...and put the value in the environment. */ putenv (buf); -- 2.7.4