This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, release/2.15/master, updated. glibc-2.15-42-g2fbd159
- From: cmetcalf at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 Jul 2012 14:37:32 -0000
- Subject: GNU C Library master sources branch, release/2.15/master, updated. glibc-2.15-42-g2fbd159
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, release/2.15/master has been updated
via 2fbd159a77db9e6a08e637fb247c782cfac6f78f (commit)
from 730ca05f093c53088f1d174ee68f1d8c82e5c998 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2fbd159a77db9e6a08e637fb247c782cfac6f78f
commit 2fbd159a77db9e6a08e637fb247c782cfac6f78f
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Sat Jan 28 12:07:46 2012 -0500
Call __fxstatat64 from faccessat() to avoid PLT in -Os builds.
(cherry picked from commit 3601428fb029e1c6e98d409dad64d709972cdf57)
diff --git a/ChangeLog b/ChangeLog
index 53ffbe2..f665050 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
+ * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
+
+2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
+
* include/sys/epoll.h: New file.
* sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
libc_hidden_def.
diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c
index c154deb..bff7a4b 100644
--- a/sysdeps/unix/sysv/linux/faccessat.c
+++ b/sysdeps/unix/sysv/linux/faccessat.c
@@ -1,5 +1,5 @@
/* Test for access to file, relative to open directory. Linux version.
- Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2009, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -114,7 +114,7 @@ faccessat (fd, file, mode, flag)
#endif
struct stat64 stats;
- if (fstatat64 (fd, file, &stats, flag & AT_SYMLINK_NOFOLLOW))
+ if (__fxstatat64 (_STAT_VER, fd, file, &stats, flag & AT_SYMLINK_NOFOLLOW))
return -1;
mode &= (X_OK | W_OK | R_OK); /* Clear any bogus bits. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
sysdeps/unix/sysv/linux/faccessat.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources