about summary refs log tree commit diff
diff options
context:
space:
mode:
-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"