mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-01 23:40:22 +00:00
1999-07-16 Roland McGrath <roland@baalperazim.frob.com>
* 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 <kettenis@gnu.org> * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and <hurd/fd.h>. * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and <hurd/fd.h>. (__libc_write): Call __pwrite instead of __pread.
This commit is contained in:
parent
c768719df4
commit
8d18723936
29
ChangeLog
29
ChangeLog
@ -1,3 +1,32 @@
|
|||||||
|
1999-07-16 Roland McGrath <roland@baalperazim.frob.com>
|
||||||
|
|
||||||
|
* 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 <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
|
||||||
|
<hurd/fd.h>.
|
||||||
|
* sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
|
||||||
|
<hurd/fd.h>.
|
||||||
|
(__libc_write): Call __pwrite instead of __pread.
|
||||||
|
|
||||||
1999-07-20 Mark Kettenis <kettenis@gnu.org>
|
1999-07-20 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
|
* sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <hurd.h>
|
|
||||||
#include <hurd/fd.h>
|
|
||||||
|
|
||||||
/* Read NBYTES into BUF from FD. Return the number read or -1. */
|
/* Read NBYTES into BUF from FD. Return the number read or -1. */
|
||||||
ssize_t
|
ssize_t
|
||||||
|
@ -18,13 +18,11 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <hurd.h>
|
|
||||||
#include <hurd/fd.h>
|
|
||||||
|
|
||||||
ssize_t
|
ssize_t
|
||||||
__libc_write (int fd, const void *buf, size_t nbytes)
|
__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)
|
weak_alias (__libc_write, __write)
|
||||||
|
Loading…
Reference in New Issue
Block a user