glibc/sysdeps/generic
Ulrich Drepper fd26970f33 update from main archive 970120
Tue Jan 21 04:05:20 1997  Ulrich Drepper  <drepper@cygnus.com>

	* version.h (VERSION): Bump to 1.101.

	Implement -d and -r option to `ldd' to check relocations.
	* elf/dl-error.c: Add another method to intercept errors.
	(_dl_receive_error): New function.  Install user defined handler.
	(receiver): New variable.  Contains pointer to user provided handler.
	(_dl_signal_error): If user provided handler is installed call this.
	* elf/dl-load.c (_dl_map_object): When shared object is not found in
	trace mode initialize a few more fields so that lookup can actually
	happen but always fails.
	* elf/ldd.sh.in: Rewrite argument handling.  Recognize new arguments
	to trigger reloation test.  Return with appropriate error code if
	a file wasn't found.  Print warning if object is not executable.
	* elf/ldd.bash.in: Likewise.
	* elf/link.h (receiver_fct): New type.  Used in _dl_receive_error.
	(_dl_sysdep_error): New prototype.
	(_dl_receive_error): New prototype.
	(_dl_signal_error): Remove  __attribute__ ((__noreturn__)).
	* elf/rtld.c (dl_main): Rewrite argument handling.  More than
	one argument allowed.  Recognize --data-relocs and --function-relocs
	arguments.
	Don't determine `lazy' mode from LD_BIND_NOW environment variable
	when in trace mode.
	If in trace mode and either --data-relocs or --function-relocs is
	given perform relocation.  Report errors using print_unresolved
	function.
	(print_unresolved): New function.  Print information about missing
	symbol on stderr.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function.
	Like _dl_sysdep_message but print to stderr.
	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

	* sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t.
	Reported by Andreas Schwab.
	(__SOCKADDR_COMMON): Use sa_family_t for family member.
	* sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.

	Linux/Sparc support by Miguel de Icaza.
	* sysdeps/sparc/fpu_control.h: New file.
	* sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file.
	* sysdeps/unix/sysv/linux/sparc/brk.c: New file.
	* sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sigaction.c: New file.
	* sysdeps/unix/sysv/linux/sparc/socket.S: New file.
	* sysdeps/unix/sysv/linux/sparc/syscall.S: New file.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
	* sysdeps/unix/sysv/linux/sparc/Dist: New file.
	* sysdeps/unix/sysv/linux/sparc/Makefile: New file.

	* sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header.
	Provide own definition based on 4.4BSD and Linux.
	* sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before
	including <linux/ppp_defs.h>.
	* sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't
	use __pid_t since the kernel might have a different size.
	* sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise.
	Reported by Andreas Schwab.

	* time/asctime.c: Update copyright.
	* time/dysize.c: Likewise.
	* time/gmtime.c: Likewise.
	* time/timegm.c: Likewise.
	* time/offtime.c: Likewise.  De-ANSI-declfy.

	* time/tzset.c (__tzset_internal): When TZ envvar does not name a
	DST timezone don't default to offset -1.

	* sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header.
	Reported by a sun <asun@zoology.washington.edu>.

	* resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs.

	* sysdeps/stub/sysv_signal.c: New file.  Stub implementation.

	* Makefile (distribute): Add mcheck.h.

	* nis/Makefile (distribute): Add nss-nis.h.

	* libio/Makefile (routines): Change vdprintf to iovdprintf to prevent
	dist problem.

	* nss/Makefile (distribute): Add digits_dots.c.

	* sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h.
	* sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h.
	* sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S.
	* new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h.

Mon Jan 20 17:54:28 1997  Sven Verdoolaege  <skimo@breughel.ufsia.ac.be>

	* manual/filesys.texi: Fix little problem (reentrant->readdir).

Fri Jan 17 19:07:07 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* configure.in [$elf=yes]: Check for support of .previous and
	.popsection in the assembler.
	* config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and
	HAVE_ASM_POPSECTION_DIRECTIVE.
	* libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define
	appropriate if either .previous or .popsection is supported.
	(libc_warning) [HAVE_ELF]: Use it here.

Sat Jan 18 22:15:26 1997  Richard Henderson  <rth@tamu.edu>

	* Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of
	errors that can occur when linking libc.so.

Mon Jan 20 05:20:49 1997  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-load.c (open_path): When running setuid don't try
	a directory if it is not given with the full name.

	* elf/Makefile (before-compile): New variable.  Mention trusted-dirs.h.
	(trusted-dirs.h): Construct file from $(default-rpath) and
	$(user-defined-trusted-dirs) variables.
	* elf/dl-load.c (_dl_map_object): Pass additional argument to open_path
	which is NULL except for the LD_LIBRARY_PATH pass in which case it
	is a pointer to the list of directories from the trusted-dirs.h
	file.
	(open_path): Accept additional argument with list of trusted dirs.
	When running setuid and a list of trusted dirs is given only use
	those which are mentioned in the list.

	* elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when
	running setuid.  Instead accept entries which do not contain a '/'.

	* Makeconfig: Correct comment about +(default_cflags).

Mon Jan 20 05:11:14 1997  Hrvoje Niksic  <hniksic@srce.hr>

	* time/strptime.c (recursive): Use && not || to test for valid
	argument.

Mon Jan 20 05:06:50 1997  Ulrich Drepper  <drepper@cygnus.com>

	* elf/ldd.sh.in: Exit with value 1 if an error occured.
	* elf/ldd.bash.in: Likewise.

	* elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the
	binary runs setuid.  It is save to use those entries which do not
	contain a '/'.  This is compatible with Solaris-2.
1997-01-21 06:10:42 +00:00
..
gnu update from main archive 960105 1997-01-06 22:07:28 +00:00
netinet update from main archive 961114 1996-11-15 04:08:00 +00:00
sys update from main archive 961114 1996-11-15 04:08:00 +00:00
_strerror.c update from main archvie 961022 1996-10-22 23:29:26 +00:00
a.out.h update from main archive 961203 1996-12-04 01:41:39 +00:00
abort-instr.h update from main archive 961220 1996-12-21 04:13:58 +00:00
abort.c update from main archive 960105 1997-01-06 22:07:28 +00:00
add_n.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
addmul_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
asincos.c initial import 1995-02-18 01:27:10 +00:00
bb_init_func.c Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-19 20:21:54 +00:00
bcopy.c initial import 1995-02-18 01:27:10 +00:00
bzero.c initial import 1995-02-18 01:27:10 +00:00
cmp.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
configure Regenerated: autoconf sysdeps/generic/configure.in 1996-07-08 15:26:36 +00:00
configure.in initial import 1995-02-18 01:27:10 +00:00
confname.h update from main archive 961105 1996-11-06 04:24:40 +00:00
crypt-entry.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
crypt.h Update from main archive 961219 1996-12-20 01:39:50 +00:00
det_endian.c initial import 1995-02-18 01:27:10 +00:00
Dist initial import 1995-02-18 01:27:10 +00:00
div.c update from main archive 961105 1996-11-06 04:24:40 +00:00
divmod_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
divrem.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
dl-cache.c update from main archive 961229 1996-12-30 01:47:46 +00:00
dl-sysdep.c update from main archive 970120 1997-01-21 06:10:42 +00:00
enbl-secure.c Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com> 1996-07-29 00:18:42 +00:00
errno-loc.c update from main archive 961127 1996-11-28 04:16:09 +00:00
exp__E.c initial import 1995-02-18 01:27:10 +00:00
fdatasync.c Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-04-28 18:25:22 +00:00
ffs.c Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-19 20:21:54 +00:00
fpu_control.c * hurd/Makefile (routines): Add get-host, set-host. 1996-06-16 03:49:40 +00:00
ftime.c update from main archive 1996-09-27 03:45:24 +00:00
getdomain.c * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE): 1995-09-27 16:05:25 +00:00
getenv.c update from main archive 961207 1996-12-08 08:01:13 +00:00
getpgrp.c initial import 1995-02-18 01:27:10 +00:00
gmp-mparam.h Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
group_member.c Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-10-31 06:54:40 +00:00
htonl.c initial import 1995-02-18 01:27:10 +00:00
htons.c initial import 1995-02-18 01:27:10 +00:00
inlines.c Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-08 02:07:47 +00:00
ioctl-types.h update from main archive 961114 1996-11-15 04:08:00 +00:00
iovec.h Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-25 17:48:26 +00:00
ldiv.c update from main archive 961105 1996-11-06 04:24:40 +00:00
lldiv.c update from main archive 961105 1996-11-06 04:24:40 +00:00
log__L.c initial import 1995-02-18 01:27:10 +00:00
lshift.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
lxstat.c Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-18 00:35:55 +00:00
machine-gmon.h update from main archive 961001 1996-10-02 01:40:17 +00:00
make_siglist.c #undef _SIGNAL_H before defining it. 1996-02-10 11:19:12 +00:00
Makefile update from main archive 961220 1996-12-22 00:32:43 +00:00
mathimpl.h initial import 1995-02-18 01:27:10 +00:00
memccpy.c initial import 1995-02-18 01:27:10 +00:00
memchr.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
memcmp.c Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com> 1996-06-19 06:54:12 +00:00
memcopy.h initial import 1995-02-18 01:27:10 +00:00
memcpy.c * string/Makefile (distribute): Add pagecopy.h. 1995-02-21 08:07:34 +00:00
memmem.c Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-28 22:47:31 +00:00
memmove.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
memset.c initial import 1995-02-18 01:27:10 +00:00
mig-reply.c initial import 1995-02-18 01:27:10 +00:00
mod_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
morecore.c Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-08-14 22:49:23 +00:00
mul_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
mul_n.c update from main archive 961220 1996-12-22 00:32:43 +00:00
mul.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
ntohl.c initial import 1995-02-18 01:27:10 +00:00
ntohs.c initial import 1995-02-18 01:27:10 +00:00
pagecopy.h . 1995-02-21 20:27:45 +00:00
paths.h update from main arcive 961210 1996-12-11 01:40:39 +00:00
prof-freq.c update from main archive 960927 1996-09-28 03:24:10 +00:00
profil-counter.h Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-02 21:37:50 +00:00
pselect.c * inet/getnetent_r.c: Define NEED_H_ERRNO. 1996-07-12 02:01:17 +00:00
pty.c update from main archive 961126 1996-11-27 06:13:15 +00:00
putenv.c update from main archive 961101 1996-11-02 01:28:01 +00:00
resourcebits.h update from main archive 961114 1996-11-15 04:08:00 +00:00
rshift.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
sbrk.c update from main archive 960828 1996-08-29 00:31:18 +00:00
schedbits.h *** empty log message *** 1996-09-13 06:22:21 +00:00
selectbits.h update from main archive 960105 1997-01-06 22:07:28 +00:00
setenv.c update from main archive 960107 1997-01-07 23:29:44 +00:00
setfpucw.c handle password file locking. 1996-08-26 10:28:45 +00:00
sigaction.h Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-04-21 00:27:19 +00:00
signame.c * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro. 1996-03-20 17:01:27 +00:00
signame.h Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-02-24 19:47:17 +00:00
sigset.h update from main archive 961119 1996-11-20 03:45:51 +00:00
sincos.c initial import 1995-02-18 01:27:10 +00:00
sockaddrcom.h update from main archive 970120 1997-01-21 06:10:42 +00:00
socketbits.h * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook, 1996-07-09 23:17:59 +00:00
speed.c update from main archive 960105 1997-01-06 22:07:28 +00:00
statfsbuf.h Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-04-24 00:58:47 +00:00
stpcpy.c * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd. 1995-09-28 09:00:19 +00:00
stpncpy.c Update. 1996-08-09 02:46:09 +00:00
strcasecmp.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
strcat.c initial import 1995-02-18 01:27:10 +00:00
strchr.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
strcmp.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
strcpy.c initial import 1995-02-18 01:27:10 +00:00
strcspn.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
strlen.c initial import 1995-02-18 01:27:10 +00:00
strncase.c Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-06-26 15:46:01 +00:00
strncat.c initial import 1995-02-18 01:27:10 +00:00
strncmp.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
strncpy.c initial import 1995-02-18 01:27:10 +00:00
strpbrk.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
strrchr.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
strsep.c update from main archive 960927 1996-09-28 03:24:10 +00:00
strspn.c initial import 1995-02-18 01:27:10 +00:00
strstr.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
strtok_r.c update from main archive 961005 1996-10-06 02:05:11 +00:00
strtok.c update from main archive 961005 1996-10-06 02:05:11 +00:00
sub_n.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
submul_1.c Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
sysd-stdio.c update from main archive 970118 1997-01-19 04:54:28 +00:00
sysdep.h update from main archive 961105 1996-11-06 04:24:40 +00:00
termbits.h update from main archive 961114 1996-11-15 04:08:00 +00:00
trig.h initial import 1995-02-18 01:27:10 +00:00
uname.c update from main archive 961030 1996-10-31 02:57:12 +00:00
ustatbits.h Update. 1996-08-09 02:46:09 +00:00
utmpbits.h update from main archive 961119 1996-11-20 03:45:51 +00:00
utsnamelen.h initial import 1995-02-18 01:27:10 +00:00
varargs.h initial import 1995-02-18 01:27:10 +00:00
vfork.c initial import 1995-02-18 01:27:10 +00:00
vlimit.c update from main archive 1996-09-27 03:45:24 +00:00
vtimes.c initial import 1995-02-18 01:27:10 +00:00
waitstatus.h update from main archive 961119 1996-11-20 03:45:51 +00:00
wordcopy.c update from main archive 961220 1996-12-22 00:32:43 +00:00