]> git.ipfire.org Git - thirdparty/glibc.git/commit
Hide internal regex functions [BZ #18822]
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 1 Oct 2017 22:52:56 +0000 (15:52 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 1 Oct 2017 22:53:15 +0000 (15:53 -0700)
commitb68f8620561d7658b475eb512978d3c33d8a4547
treec8f020413abe4033585fbb140e7dab24a2f025bf
parent59c04e67631d370738b80923d42d4d1539d8f95f
Hide internal regex functions [BZ #18822]

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.
ChangeLog
include/regex.h
posix/regcomp.c
posix/regexec.c