This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.27.9000-298-gc120981
- From: sthibaul at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 4 Apr 2018 23:52:58 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.27.9000-298-gc120981
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, master has been updated
via c120981d72faa4a07a31d92f015353b12d72d992 (commit)
from e5f9508a32426b7c3948dc741d84355071ed9539 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c120981d72faa4a07a31d92f015353b12d72d992
commit c120981d72faa4a07a31d92f015353b12d72d992
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Thu Apr 5 01:52:29 2018 +0200
hurd: Avoid PLT for dirfd
* include/dirent.h (dirfd): Add hidden proto.
* dirent/dirfd.c (dirfd): Add hidden def.
* sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
* sysdeps/posix/dirfd.c (dirfd): Add hidden def.
diff --git a/ChangeLog b/ChangeLog
index 58d4d94..73ce599 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,10 @@
* include/setjmp.h (longjmp, siglongjmp): Add hidden protos.
* setjmp/longjmp.c (longjmp, siglongjmp): Add hidden defs.
* sysdeps/s390/longjmp.c (longjmp, siglongjmp): Add hidden defs.
+ * include/dirent.h (dirfd): Add hidden proto.
+ * dirent/dirfd.c (dirfd): Add hidden def.
+ * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
+ * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
diff --git a/dirent/dirfd.c b/dirent/dirfd.c
index b45bf83..8e59cfa 100644
--- a/dirent/dirfd.c
+++ b/dirent/dirfd.c
@@ -29,3 +29,4 @@ __dirfd (DIR *dirp)
weak_alias (__dirfd, dirfd)
stub_warning (dirfd)
+libc_hidden_def (dirfd)
diff --git a/include/dirent.h b/include/dirent.h
index cc8f189..e533b0b 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -49,6 +49,7 @@ extern DIR *__alloc_dir (int fd, bool close_fd, int flags,
extern __typeof (rewinddir) __rewinddir;
extern __typeof (seekdir) __seekdir;
extern __typeof (dirfd) __dirfd;
+libc_hidden_proto (dirfd);
extern void __scandir_cancel_handler (void *arg) attribute_hidden;
extern int __scandir_tail (DIR *dp,
diff --git a/sysdeps/mach/hurd/dirfd.c b/sysdeps/mach/hurd/dirfd.c
index a184b72..f70ee8d 100644
--- a/sysdeps/mach/hurd/dirfd.c
+++ b/sysdeps/mach/hurd/dirfd.c
@@ -43,3 +43,4 @@ __dirfd (DIR *dirp)
}
weak_alias (__dirfd, dirfd)
+libc_hidden_def (dirfd)
diff --git a/sysdeps/posix/dirfd.c b/sysdeps/posix/dirfd.c
index e09a45d..5afc9f3 100644
--- a/sysdeps/posix/dirfd.c
+++ b/sysdeps/posix/dirfd.c
@@ -28,3 +28,4 @@ __dirfd (DIR *dirp)
}
weak_alias (__dirfd, dirfd)
+libc_hidden_def (dirfd)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
dirent/dirfd.c | 1 +
include/dirent.h | 1 +
sysdeps/mach/hurd/dirfd.c | 1 +
sysdeps/posix/dirfd.c | 1 +
5 files changed, 8 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources