mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Hide internal __new_getrlimit function [BZ #18822]
Hide internal __new_getrlimit function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add attribute_hidden.
This commit is contained in:
@ -53,7 +53,8 @@ weak_alias (__getrlimit64, getrlimit)
|
||||
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)
|
||||
/* Back compatible 2GiB limited rlimit. */
|
||||
extern int __new_getrlimit (enum __rlimit_resource, struct rlimit *);
|
||||
extern int __new_getrlimit (enum __rlimit_resource, struct rlimit *)
|
||||
attribute_hidden;
|
||||
|
||||
int
|
||||
attribute_compat_text_section
|
||||
|
Reference in New Issue
Block a user