Blame SOURCES/glibc-fedora-getrlimit-PLT.patch

fa3bfd
Related upstream commit:
29e444
fa3bfd
commit c5c2b7c3fd823fc5c4a52506292a90eba60b0c62
fa3bfd
Author: Joseph Myers <joseph@codesourcery.com>
fa3bfd
Date:   Sat Dec 6 23:40:48 2014 +0000
29e444
fa3bfd
    Fix pthreads getrlimit, gettimeofday namespace (bug 17682).
29e444
12745e
--- glibc-2.17-c758a686/include/sys/resource.h
12745e
+++ glibc-2.17-c758a686/include/sys/resource.h
29e444
@@ -14,5 +14,6 @@ extern int __getrusage (enum __rusage_who __who, struct rusage *__usage)
29e444
 
29e444
 extern int __setrlimit (enum __rlimit_resource __resource,
29e444
 			const struct rlimit *__rlimits);
29e444
+libc_hidden_proto (__getrlimit)
29e444
 #endif
29e444
 #endif
12745e
--- glibc-2.17-c758a686/resource/getrlimit.c
12745e
+++ glibc-2.17-c758a686/resource/getrlimit.c
29e444
@@ -27,6 +27,7 @@ __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits)
29e444
   __set_errno (ENOSYS);
29e444
   return -1;
29e444
 }
29e444
+libc_hidden_def (__getrlimit)
29e444
 weak_alias (__getrlimit, getrlimit)
29e444
 
29e444
 stub_warning (getrlimit)
12745e
--- glibc-2.17-c758a686/sysdeps/mach/hurd/getrlimit.c
12745e
+++ glibc-2.17-c758a686/sysdeps/mach/hurd/getrlimit.c
29e444
@@ -43,4 +43,5 @@ __getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits)
29e444
 
29e444
   return 0;
29e444
 }
29e444
+libc_hidden_def (__getrlimit)
29e444
 weak_alias (__getrlimit, getrlimit)