This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 20/58] Hide internal regex functions [BZ #18822]


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]