* sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64

to avoid PLT slot.
This commit is contained in:
Ulrich Drepper 2009-04-08 19:24:34 +00:00
parent 4c8b8cc332
commit 0f9c8b4841
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2009-04-08 Ulrich Drepper <drepper@redhat.com> 2009-04-08 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64
to avoid PLT slot.
* malloc/malloc.c (_int_realloc): Add parameter with old block * malloc/malloc.c (_int_realloc): Add parameter with old block
size. Remove duplicated test. Don't handle mmap'ed blocks here. size. Remove duplicated test. Don't handle mmap'ed blocks here.
Adjust all callers. Adjust all callers.

View File

@ -1,6 +1,6 @@
#define PREADV preadv64 #define PREADV preadv64
#define PREADV_REPLACEMENT __atomic_preadv64_replacement #define PREADV_REPLACEMENT __atomic_preadv64_replacement
#define PREAD __pread64 #define PREAD __libc_pread64
#define OFF_T off64_t #define OFF_T off64_t
#include "preadv.c" #include "preadv.c"