From 8d187239362fd0f250ea8b58e6eab58d311c671e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 20 Jul 1999 22:56:39 +0000 Subject: 1999-07-16 Roland McGrath * elf/dl-reloc.c (_dl_reloc_bad_type): New function. * elf/ldsodefs.h: Declare it. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it instead of assert. (elf_machine_lazy_rel): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. 1999-07-21 Mark Kettenis * sysdeps/mach/hurd/read.c: Do not include and . * sysdeps/mach/hurd/write.c: Do not include and . (__libc_write): Call __pwrite instead of __pread. --- ChangeLog | 29 +++++++++++++++++++++++++++++ sysdeps/mach/hurd/read.c | 2 -- sysdeps/mach/hurd/write.c | 4 +--- 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0f9af5d..a19ba2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,32 @@ +1999-07-16 Roland McGrath + + * elf/dl-reloc.c (_dl_reloc_bad_type): New function. + * elf/ldsodefs.h: Declare it. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it + instead of assert. + (elf_machine_lazy_rel): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + +1999-07-21 Mark Kettenis + + * sysdeps/mach/hurd/read.c: Do not include and + . + * sysdeps/mach/hurd/write.c: Do not include and + . + (__libc_write): Call __pwrite instead of __pread. + 1999-07-20 Mark Kettenis * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in diff --git a/sysdeps/mach/hurd/read.c b/sysdeps/mach/hurd/read.c index 7e2b880..2d50496 100644 --- a/sysdeps/mach/hurd/read.c +++ b/sysdeps/mach/hurd/read.c @@ -18,8 +18,6 @@ #include #include -#include -#include /* Read NBYTES into BUF from FD. Return the number read or -1. */ ssize_t diff --git a/sysdeps/mach/hurd/write.c b/sysdeps/mach/hurd/write.c index b019cf2..e9d8c9d 100644 --- a/sysdeps/mach/hurd/write.c +++ b/sysdeps/mach/hurd/write.c @@ -18,13 +18,11 @@ #include #include -#include -#include ssize_t __libc_write (int fd, const void *buf, size_t nbytes) { - return __pread (fd, buf, nbytes, (off_t) -1); + return __pwrite (fd, buf, nbytes, (off_t) -1); } weak_alias (__libc_write, __write) -- cgit v1.1