glibc/sysdeps/unix/sysv/linux
Ulrich Drepper c0fb8a563c Update.
1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>

	* libc.map: Add _dl_profile.
	* elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
	this to ELF_DYNAMIC_RELOCATE.
	Always allocate array for relocation result if LD_PROFILE is defined.
	* elf/ldsodefs.h: Adjust prototypes.
	* elf/dl-open.c (_dl_open): Call relocation function with extra
	argument.
	* elf/rtld.c: Likewise.
	* elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
	Correct loop condition.
	* elf/dynamic-link.h: Don't examine _dl_profile variable, pass
	consider_profile to runtime setup function.
	* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
	_dl_runtime_profile for all shared objects if LD_PROFILE is defined.

	* elf/dl-support.c: Define __libc_stack_end.
	* elf/rtld.c: Likewise.
	* sysdeps/generic/libc-start.c: Store last stack address in
	__libc_stack_end.
	* sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
	* sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.

	* elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
	Include <stdint.h>, not <inttypes.h>.

	* elf/sprof.c: Implement flat profiling.

	* libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
	_IO_funlockfile explicitly.
	* libio/fileops.c: Likewise.
	* libio/fputc.c: Likewise.
	* libio/freopen.c: Likewise.
	* libio/freopen64.c: Likewise.
	* libio/fseek.c: Likewise.
	* libio/fseeko.c: Likewise.
	* libio/fseeko64.c: Likewise.
	* libio/ftello.c: Likewise.
	* libio/ftello64.c: Likewise.
	* libio/getc.c: Likewise.
	* libio/getchar.c: Likewise.
	* libio/iofclose.c: Likewise.
	* libio/iofflush.c: Likewise.
	* libio/iofgetpos.c: Likewise.
	* libio/iofgetpos64.c: Likewise.
	* libio/iofgets.c: Likewise.
	* libio/iofputs.c: Likewise.
	* libio/iofread.c: Likewise.
	* libio/iofsetpos.c: Likewise.
	* libio/iofsetpos64.c: Likewise.
	* libio/ioftell.c: Likewise.
	* libio/iofwrite.c: Likewise.
	* libio/iogetdelim.c: Likewise.
	* libio/iogets.c: Likewise.
	* libio/ioputs.c: Likewise.
	* libio/ioseekoff.c: Likewise.
	* libio/ioseekpos.c: Likewise.
	* libio/iosetbuffer.c: Likewise.
	* libio/iosetvbuf.c: Likewise.
	* libio/ioungetc.c: Likewise.
	* libio/iovsprintf.c: Likewise.
	* libio/iovsscanf.c: Likewise.
	* libio/oldfileops.c: Likewise.
	* libio/oldiofclose.c: Likewise.
	* libio/peekc.c: Likewise.
	* libio/putc.c: Likewise.
	* libio/putchar.c: Likewise.
	* libio/rewind.c: Likewise.

	* malloc/mtrace.c: Pretty print.

	* misc/mntent.h (struct mentent): Make string elements const char *.

	* nis/nis_printf.c: Optimize I/O a little bit.

	* signal/Makefile (distribute): Add sigset-cvt-mask.h.
	* sysdeps/generic/sigset-cvt-mask.h: New file.
	* sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
	* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
	* sysdeps/posix/sigvec.c: Rewrite the use definitions from
	sigset-cvt-mask.h to do the dirty work.
	Patches by Joe Keane.

	* sysdeps/posix/mkstemp.c: Save one precious byte of rodata.

	* sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
	syscall_error label in case of PIC anonymous.
	* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
	* sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
	* sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
	* sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
	* sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
	* sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
1998-06-07 14:06:56 +00:00
..
alpha Update. 1998-05-29 10:21:16 +00:00
arm Update. 1998-06-01 13:41:16 +00:00
bits Update. 1998-05-15 14:46:36 +00:00
i386 Update. 1998-06-07 14:06:56 +00:00
m68k Update. 1998-05-29 10:21:16 +00:00
mips Update. 1998-04-07 09:21:28 +00:00
net Update. 1998-01-24 12:08:37 +00:00
netash Update. 1998-04-01 09:15:07 +00:00
netatalk Update. 1997-12-28 16:01:53 +00:00
netax25 Update. 1997-12-28 16:01:53 +00:00
netinet Update. 1998-01-21 17:04:36 +00:00
netipx Update. 1998-06-02 12:58:14 +00:00
netpacket Update. 1998-03-18 14:42:25 +00:00
netrom Update. 1997-12-28 16:01:53 +00:00
netrose Update. 1998-05-01 22:04:20 +00:00
nfs
powerpc Update. 1998-06-02 12:58:14 +00:00
scsi Update. 1998-03-11 09:54:55 +00:00
sparc Update. 1998-05-29 10:21:16 +00:00
sys Update. 1998-03-20 16:35:19 +00:00
_G_config.h Update. 1998-04-08 07:13:42 +00:00
a.out.h
accept.S Update. 1998-01-21 17:04:36 +00:00
adjtime.c Update. 1998-03-25 15:21:09 +00:00
aio_sigqueue.c Update. 1997-12-04 00:12:34 +00:00
bind.S
clock.c
cmsg_nxthdr.c
configure Update. 1998-04-01 08:11:45 +00:00
configure.in Match $machine against m68*', not only m68k'. 1998-04-01 06:45:43 +00:00
connect.S Update. 1998-01-21 17:04:36 +00:00
Dist Update. 1998-05-08 15:16:22 +00:00
dl-sysdep.c Update. 1997-07-26 02:33:30 +00:00
errlist.c Update. 1998-04-08 20:27:31 +00:00
errlist.h Update. 1998-02-12 18:22:41 +00:00
fstatvfs.c Update. 1998-03-23 11:53:10 +00:00
ftime.c
fxstat64.c Update. 1997-12-22 20:53:38 +00:00
fxstat.c Update. 1997-10-31 22:55:02 +00:00
getcwd.c Update. 1998-04-09 10:14:17 +00:00
getdents64.c Update. 1997-12-22 20:53:38 +00:00
getdents.c * shlib-versions: Match alpha*. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex. * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove. * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New. Implement copysign* with and without __ prefix. Likewise for fabs; use builtin for gcc 2.8. (floor*): New. (fdim*): New. * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New. (R_SPARC*): Match current v9 ABI. * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long. * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t. * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise. * sysdeps/generic/getresgid.c: Use prototype form because of warning. * sysdeps/unix/sysv/linux/getdents.c: Likewise. * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. * sysdeps/unix/grantpt.c (argv): Fix consts. * sysdeps/unix/sysv/linux/getpt.c: Include <string.h> * sysdeps/unix/sysv/linux/sigaction.c: Likewise. 1998-03-01 00:56:42 +00:00
gethostid.c
gethostname.c Update. 1997-11-06 00:02:46 +00:00
getpeername.S
getpriority.c
getpt.c * shlib-versions: Match alpha*. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex. * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove. * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New. Implement copysign* with and without __ prefix. Likewise for fabs; use builtin for gcc 2.8. (floor*): New. (fdim*): New. * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New. (R_SPARC*): Match current v9 ABI. * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long. * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t. * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise. * sysdeps/generic/getresgid.c: Use prototype form because of warning. * sysdeps/unix/sysv/linux/getdents.c: Likewise. * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. * sysdeps/unix/grantpt.c (argv): Fix consts. * sysdeps/unix/sysv/linux/getpt.c: Include <string.h> * sysdeps/unix/sysv/linux/sigaction.c: Likewise. 1998-03-01 00:56:42 +00:00
getresgid.c Update. 1998-02-15 19:31:34 +00:00
getresuid.c Update. 1998-02-15 19:31:34 +00:00
getsockname.S
getsockopt.S
getsysstats.c Update. 1997-10-12 04:05:44 +00:00
if_index.c Update. 1998-04-07 09:21:28 +00:00
Implies
init-first.c Update. 1998-03-09 23:40:44 +00:00
init-first.h
kernel_sigaction.h Update. 1998-02-24 15:22:29 +00:00
kernel_stat.h
kernel_termios.h Update. 1997-11-26 04:23:08 +00:00
ldd-rewrite.sed Update. 1998-03-29 21:14:40 +00:00
lddlibc4.c Update. 1998-04-01 07:11:57 +00:00
listen.S
llseek.c Update. 1998-04-08 07:13:42 +00:00
lseek64.c Update. 1997-10-12 04:05:44 +00:00
lxstat64.c Update. 1997-12-22 20:53:38 +00:00
lxstat.c Update. 1997-10-31 22:55:02 +00:00
madvise.c Update. 1997-10-15 05:34:02 +00:00
Makefile Update. 1998-04-27 09:43:55 +00:00
msgctl.c
msgget.c
msgrcv.c
msgsnd.c
paths.h Update. 1998-04-20 18:41:05 +00:00
poll.c Update. 1998-02-15 19:31:34 +00:00
pread64.c Update. 1997-10-26 20:13:00 +00:00
pread.c Update. 1997-12-08 03:06:47 +00:00
profil.c
ptrace.c Update. 1997-09-16 21:51:15 +00:00
ptsname.c Update. 1998-04-27 09:43:55 +00:00
pwrite64.c Update. 1997-10-26 20:13:00 +00:00
pwrite.c Update. 1997-12-08 03:06:47 +00:00
readdir64_r.c Update. 1998-03-10 11:10:51 +00:00
readdir64.c Update. 1998-03-20 12:06:55 +00:00
readv.c Update. 1997-10-12 04:05:44 +00:00
reboot.c Update. 1997-06-23 21:55:26 +00:00
recv.S Update. 1998-01-21 17:04:36 +00:00
recvfrom.S Update. 1998-01-21 17:04:36 +00:00
recvmsg.S Update. 1998-01-21 17:04:36 +00:00
rt_sigaction.c Update. 1997-12-04 00:12:34 +00:00
rt_sigpending.c Update. 1997-12-22 20:53:38 +00:00
rt_sigprocmask.c Update. 1997-12-05 00:40:29 +00:00
rt_sigqueueinfo.c Update. 1997-12-05 00:40:29 +00:00
rt_sigreturn.c Update. 1997-12-04 00:12:34 +00:00
rt_sigsuspend.c Update. 1998-04-20 18:41:05 +00:00
rt_sigtimedwait.c Update. 1998-04-20 18:41:05 +00:00
s_pread64.c Update. 1997-10-26 20:13:00 +00:00
s_pwrite64.c Update. 1997-10-26 20:13:00 +00:00
sa_len.c Update. 1998-04-07 09:21:28 +00:00
semctl.c Update. 1998-04-28 22:51:34 +00:00
semget.c
semop.c
send.S Update. 1998-01-21 17:04:36 +00:00
sendmsg.S Update. 1998-01-21 17:04:36 +00:00
sendto.S Update. 1998-01-21 17:04:36 +00:00
setegid.c
seteuid.c
sethostid.c
setsockopt.S
shmat.c Update. 1997-05-22 02:19:00 +00:00
shmctl.c
shmdt.c Update. 1997-05-21 01:48:59 +00:00
shmget.c
shutdown.S
sigaction.c Update. 1998-03-03 17:58:38 +00:00
siglist.c Update. 1998-02-12 18:22:41 +00:00
siglist.h Update. 1998-02-12 18:22:41 +00:00
signal.c
sigpending.c Update. 1998-03-03 17:58:38 +00:00
sigprocmask.c Update. 1998-03-03 17:58:38 +00:00
sigqueue.c Update. 1998-02-19 18:52:30 +00:00
sigreturn.c Update. 1997-12-14 22:24:57 +00:00
sigset-cvt-mask.h Update. 1998-06-07 14:06:56 +00:00
sigsuspend.c Update. 1998-03-03 17:58:38 +00:00
sigtimedwait.c Update. 1997-12-08 03:06:47 +00:00
sigwaitinfo.c Update. 1998-04-20 18:41:05 +00:00
sizes.h Update. 1998-02-12 18:22:41 +00:00
sleep.c
socketcall.h Update. 1997-06-21 02:59:26 +00:00
socketpair.S
speed.c Update. 1997-06-23 21:55:26 +00:00
statvfs.c Update. 1998-03-20 16:35:19 +00:00
stdio_lim.h.in Update. 1997-12-28 16:01:53 +00:00
syscalls.list Update. 1998-05-08 17:08:01 +00:00
sysctl.c Update. 1997-06-23 21:55:26 +00:00
system.c
tcdrain.c Update. 1997-06-23 21:55:26 +00:00
tcflow.c
tcflush.c
tcgetattr.c Update. 1998-05-04 13:19:20 +00:00
tcgetpgrp.c
tcsetattr.c Update. 1998-05-04 13:19:20 +00:00
tcsetpgrp.c
termio.h
testrtsig.h Update. 1997-12-22 20:53:38 +00:00
ttyname_r.c Update. 1998-04-27 09:43:55 +00:00
ttyname.c Update. 1998-04-27 09:43:55 +00:00
ualarm.c
ulimit.c Update. 1998-01-25 17:01:47 +00:00
unlockpt.c Update. 1998-02-20 18:45:36 +00:00
updwtmp.c Update. 1998-04-20 18:41:05 +00:00
usleep.c
ustat.c
utmp_file.c Update. 1998-04-20 18:41:05 +00:00
vfork.c
wait3.c
wait.c
waitpid.c Update. 1997-06-23 21:55:26 +00:00
writev.c Update. 1997-10-12 04:05:44 +00:00
xmknod.c
xstat64.c Update. 1997-12-22 20:53:38 +00:00
xstat.c Update. 1997-10-31 22:55:02 +00:00
xstatconv.c Update. 1997-12-22 20:53:38 +00:00