+Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+
+ * configure.in: Unless --without-fp, prepend */fpu before each
+ machine dir in $mach; don't prepend FPU dirs at end. If
+ --with-elf, prepend MACHINE/elf directories at end; don't insert
+ them into $mach.
+
+ * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps.
+
+ * sysdeps/stub/clock.c: Added stub warning.
+ * sysdeps/stub/dirfd.c: Likewise.
+ * sysdeps/stub/exc2signal.c: Likewise.
+ * sysdeps/stub/fdopen.c: Likewise.
+ * sysdeps/stub/flock.c: Likewise.
+ * sysdeps/stub/fpathconf.c: Likewise.
+ * sysdeps/stub/ftruncate.c: Likewise.
+ * sysdeps/stub/gtty.c: Likewise.
+ * sysdeps/stub/isatty.c: Likewise.
+ * sysdeps/stub/killpg.c: Likewise.
+ * sysdeps/stub/madvise.c: Likewise.
+ * sysdeps/stub/mkstemp.c: Likewise.
+ * sysdeps/stub/mktemp.c: Likewise.
+ * sysdeps/stub/mprotect.c: Likewise.
+ * sysdeps/stub/msync.c: Likewise.
+ * sysdeps/stub/pathconf.c: Likewise.
+ * sysdeps/stub/poll.c: Likewise.
+ * sysdeps/stub/raise.c: Likewise.
+ * sysdeps/stub/readv.c: Likewise.
+ * sysdeps/stub/setenv.c: Likewise.
+ * sysdeps/stub/setlogin.c: Likewise.
+ * sysdeps/stub/sigaltstack.c: Likewise.
+ * sysdeps/stub/sigintr.c: Likewise.
+ * sysdeps/stub/sigstack.c: Likewise.
+ * sysdeps/stub/sleep.c: Likewise.
+ * sysdeps/stub/sstk.c: Likewise.
+ * sysdeps/stub/stime.c: Likewise.
+ * sysdeps/stub/stty.c: Likewise.
+ * sysdeps/stub/syscall.c: Likewise.
+ * sysdeps/stub/sysconf.c: Likewise.
+ * sysdeps/stub/truncate.c: Likewise.
+ * sysdeps/stub/ualarm.c: Likewise.
+ * sysdeps/stub/usleep.c: Likewise.
+ * sysdeps/stub/utimes.c: Likewise.
+ * sysdeps/stub/writev.c: Likewise.
+
+ * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword.
+
+Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+
+ * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null.
+
+Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+
+ * posix/glob.c (glob): If GLOB_MARK set, stat names to find
+ directories and append slashes to them in final pass before
+ sorting.
+ (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the
+ slash; never append it here.
+
Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* mach/Machrules [interface-library]
dist: distinfo $(..)Make-dist
$(MAKE) -f $< -f $(word 2,$^) $(Make-dist-args)
-dist: $(distribute)
+# Avoid depending on source files found in sysdeps dirs,
+# because the references affect implicit rule selection.
+dist: $(filter-out %.c %.S %.s,$(distribute))
# We used to simply export all these variables, but that frequently made the
# environment get too large. Instead, we write all the information into
tail=$machine
while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
set $m
- # If using ELF, look for an `elf' subdirectory of each machine directory.
- if test "$elf" = yes; then
- mach="$mach /$1/elf"
+ # Prepend the machine's FPU directory unless --without-fp.
+ if test "$with_fp" = yes; then
+ mach="$mach /$1/fpu"
fi
mach="$mach /$1"
tail="$2"
# We have now validated the configuration.
-# Remove the leading slashes.
-sysnames="`echo $sysnames | sed -e 's@^/@@' -e 's@ /@ @g'`"
-
-# Prepend the machine's FPU directory unless --without-fp.
-if test "$with_fp" = yes; then
- fpu_dirs=
+# If using ELF, look for an `elf' subdirectory of each machine directory.
+# We prepend these rather than inserting them whereever the machine appears
+# because things specified by the machine's ELF ABI should override
+# OS-specific things, and should always be the same for any OS on the
+# machine (otherwise what's the point of an ABI?).
+if test "$elf" = yes; then
+ elf_dirs=
for m in $mach; do
- if test -d $sysdep_dir$m/fpu; then
- fpu_dirs="$fpu_dirs $m/fpu"
+ if test -d $sysdep_dir$m/elf; then
+ elf_dirs="$elf_dirs $m/elf"
fi
done
- sysnames="`echo $fpu_dirs | sed -e 's,^/,,' -e 's, /,,g'` $sysnames"
+ sysnames="`echo $elf_dirs | sed -e 's,^/,,' -e 's, /,,g'` $sysnames"
fi
+# Remove the leading slashes.
+sysnames="`echo $sysnames | sed -e 's@^/@@' -e 's@ /@ @g'`"
+
# Expand the list of system names into a full list of directories
# from each element's parent name and Implies file (if present).
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return (clock_t) -1;
}
+
+stub_warning (clock)
errno = ENOSYS;
return -1;
}
+
+stub_warning (dirfd)
--- /dev/null
+/* Machine-dependent ELF dynamic relocation inline functions. Stub version.
+Copyright (C) 1995 Free Software Foundation, Inc.
+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
+License along with the GNU C Library; see the file COPYING.LIB. If
+not, write to the Free Software Foundation, Inc., 675 Mass Ave,
+Cambridge, MA 02139, USA. */
+
+/* Perform the relocation specified by RELOC and SYM (which is fully resolved).
+ LOADADDR is the load address of the object; INFO is an array indexed
+ by DT_* of the .dynamic section info. */
+
+static inline void
+elf_machine_rel (Elf32_Addr loadaddr, const Elf32_Word *info,
+ const Elf32_Rel *reloc, Elf32_Sym *sym)
+{
+ abort ();
+}
+
+static inline void
+elf_machine_rela (Elf32_Addr loadaddr, const Elf32_Word *info,
+ const Elf32_Rela *reloc)
+{
+ abort ();
+}
/* Translate Mach exception codes into signal numbers. Stub version.
-Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc.
+Copyright (C) 1991, 1992, 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#include <hurd.h>
+/* This file must be modified with machine-dependent details. */
+#error "need to write sysdeps/mach/hurd/MACHINE/exc2signal.c"
+
/* Translate the Mach exception codes, as received in an `exception_raise' RPC,
into a signal number and signal subcode. */
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return NULL;
}
+
+stub_warning (fdopen)
}
weak_alias (__flock, flock)
+
+stub_warning (flock)
}
weak_alias (__fpathconf, fpathconf)
+
+stub_warning (fpathconf)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (ftruncate)
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (gtty)
}
weak_alias (__isatty, isatty)
+
+stub_warning (isatty)
-/* Copyright (C) 1991, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (killpg)
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#include <stdio.h>
/* Abort with an error message. */
-__NORETURN
void
DEFUN(__libc_fatal, (message), CONST char *message)
{
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (madvise)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (mkstemp)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return NULL;
}
+
+stub_warning (mktemp)
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
return -1;
}
+stub_warning (mprotect)
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (msync)
}
weak_alias (__pathconf, pathconf)
+
+stub_warning (pathconf)
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (poll)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (raise)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (readv)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (setenv)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (setlogin)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (sigaltstack)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (siginterrupt)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (sigstack)
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return seconds;
}
+
+stub_warning (sleep)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return (PTR) -1;
}
+
+stub_warning (sstk)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (stime)
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (stty)
-/* Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (syscall)
}
weak_alias (__sysconf, sysconf)
+
+stub_warning (sysconf)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (truncate)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (ualarm)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (usleep)
}
weak_alias (__utimes, utimes)
+
+stub_warning (utimes)
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
errno = ENOSYS;
return -1;
}
+
+stub_warning (writev)