mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Hide internal __tdestroy function [BZ #18822]
Hide internal __tdestroy function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/search.h (__tdestroy): Add libc_hidden_proto. * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
This commit is contained in:
@ -745,4 +745,5 @@ __tdestroy (void *vroot, __free_fn_t freefct)
|
||||
if (root != NULL)
|
||||
tdestroy_recurse (root, freefct);
|
||||
}
|
||||
libc_hidden_def (__tdestroy)
|
||||
weak_alias (__tdestroy, tdestroy)
|
||||
|
Reference in New Issue
Block a user