aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-01-13 16:21:04 -0500
committerUlrich Drepper <drepper@gmail.com>2011-01-13 16:21:04 -0500
commit8cf8ce1702c354a8266e3cfa6ab54c2467d1873f (patch)
tree53958660b9572ffd7f80a721317effeade16190e /sysdeps
parenta85b5cb4d4a5fc56e2b38638d270bf2daa67eb6c (diff)
downloadglibc-8cf8ce1702c354a8266e3cfa6ab54c2467d1873f.zip
glibc-8cf8ce1702c354a8266e3cfa6ab54c2467d1873f.tar.gz
glibc-8cf8ce1702c354a8266e3cfa6ab54c2467d1873f.tar.bz2
Clean up PLT use for getrlimit64.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/getrlimit64.c3
-rw-r--r--sysdeps/unix/sysv/linux/i386/getrlimit64.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/getrlimit64.c b/sysdeps/unix/sysv/linux/getrlimit64.c
index 19e9911..419e324 100644
--- a/sysdeps/unix/sysv/linux/getrlimit64.c
+++ b/sysdeps/unix/sysv/linux/getrlimit64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2010, 2011 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
@@ -52,3 +52,4 @@ getrlimit64 (enum __rlimit_resource resource, struct rlimit64 *rlimits)
return 0;
#endif
}
+libc_hidden_def (getrlimit64)
diff --git a/sysdeps/unix/sysv/linux/i386/getrlimit64.c b/sysdeps/unix/sysv/linux/i386/getrlimit64.c
index 00be3d6..91dadab 100644
--- a/sysdeps/unix/sysv/linux/i386/getrlimit64.c
+++ b/sysdeps/unix/sysv/linux/i386/getrlimit64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2005, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2005, 2010, 2011 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
@@ -23,3 +23,4 @@
#undef getrlimit64
#include <shlib-compat.h>
versioned_symbol (libc, __new_getrlimit64, getrlimit64, GLIBC_2_2);
+strong_alias (__new_getrlimit64, __GI_getrlimit64)