mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-05 17:11:06 +00:00
Only put versions on exported symbols.
This commit is contained in:
parent
dea8f5e1a0
commit
e501085c01
@ -71,11 +71,9 @@ __new_getrlimit (enum __rlimit_resource resource, struct rlimit *rlimits)
|
||||
return result;
|
||||
}
|
||||
|
||||
#if defined PIC && DO_VERSIONING
|
||||
default_symbol_version (__new_getrlimit, __getrlimit, GLIBC_2.1.3);
|
||||
strong_alias (__new_getrlimit, _new_getrlimit);
|
||||
default_symbol_version (_new_getrlimit, getrlimit, GLIBC_2.1.3);
|
||||
#else
|
||||
weak_alias (__new_getrlimit, __getrlimit);
|
||||
#if defined PIC && DO_VERSIONING
|
||||
default_symbol_version (__new_getrlimit, getrlimit, GLIBC_2.1.3);
|
||||
#else
|
||||
weak_alias (__new_getrlimit, getrlimit);
|
||||
#endif
|
||||
|
@ -68,11 +68,9 @@ __new_setrlimit (enum __rlimit_resource resource, const struct rlimit *rlimits)
|
||||
return INLINE_SYSCALL (setrlimit, 2, resource, &rlimits_small);
|
||||
}
|
||||
|
||||
#if defined PIC && DO_VERSIONING
|
||||
default_symbol_version (__new_setrlimit, __setrlimit, GLIBC_2.1.3);
|
||||
strong_alias (__new_setrlimit, _new_setrlimit);
|
||||
default_symbol_version (_new_setrlimit, setrlimit, GLIBC_2.1.3);
|
||||
#else
|
||||
weak_alias (__new_setrlimit, __setrlimit);
|
||||
#if defined PIC && DO_VERSIONING
|
||||
default_symbol_version (__new_setrlimit, setrlimit, GLIBC_2.1.3);
|
||||
#else
|
||||
weak_alias (__new_setrlimit, setrlimit);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user