[PATCH 48/58] Hide internal __tcgetattr function [BZ #18822]
H.J. Lu
hjl.tools@gmail.com
Mon Oct 2 00:47:00 GMT 2017
On 9/1/17, H.J. Lu <hjl.tools@gmail.com> wrote:
> Hide internal __tcgetattr function to allow direct access within libc.so
> and libc.a without using GOT nor PLT.
>
> [BZ #18822]
> * include/termios.h (__tcgetattr): Add libc_hidden_proto.
> * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
> libc_hidden_def.
> * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
> * termios/tcgetattr.c (__tcgetattr): Likewise.
>
Tested with build-many-glibcs.py. I am checking it in.
--
H.J.
More information about the Libc-alpha
mailing list