summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-08 19:24:34 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-08 19:24:34 +0000
commit0f9c8b4841b0b2295fc20bc692526882f64056b0 (patch)
treee31e210f2825d79d42e834dab95a70a156b62116
parent4c8b8cc332a4581f7d1627c80030abb922940bfe (diff)
* sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64
to avoid PLT slot.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/preadv64.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b2c5b322fb..7429533062 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/sysdeps/unix/sysv/linux/preadv64.c b/sysdeps/unix/sysv/linux/preadv64.c
index 739df00257..936ff1426c 100644
--- a/sysdeps/unix/sysv/linux/preadv64.c
+++ b/sysdeps/unix/sysv/linux/preadv64.c
@@ -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"