[PATCH 20/58] Hide internal regex functions [BZ #18822]
H.J. Lu
hjl.tools@gmail.com
Sun Oct 1 22:27:00 GMT 2017
On 9/1/17, H.J. Lu <hjl.tools@gmail.com> wrote:
> Hide internal regex functions to allow direct access within libc.so and
> libc.a without using GOT nor PLT.
>
> [BZ #18822]
> * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
> (__regcomp): Add libc_hidden_proto.
> (__regexec): Likewise.
> (__regfree): Likewise.
> * posix/regcomp.c (__regcomp): Add libc_hidden_def.
> (__regfree): Likewise.
> * posix/regexec.c (__regexec): Likewise.
Tested with build-many-glibcs.py. I am checking it in.
--
H.J.
More information about the Libc-alpha
mailing list