Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64
Browse files Browse the repository at this point in the history
	to avoid PLT slot.
  • Loading branch information
Ulrich Drepper committed Apr 8, 2009
1 parent 4c8b8cc commit 0f9c8b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
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
size. Remove duplicated test. Don't handle mmap'ed blocks here.
Adjust all callers.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/preadv64.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define PREADV preadv64
#define PREADV_REPLACEMENT __atomic_preadv64_replacement
#define PREAD __pread64
#define PREAD __libc_pread64
#define OFF_T off64_t

#include "preadv.c"

0 comments on commit 0f9c8b4

Please sign in to comment.