glibc/include/sys
Joseph Myers e4452a2d19 Use libc_hidden_* for __cmsg_nxthdr (bug 15105).
Among other localplt test failures when building with -Os, there are
libc.so PLT references for __cmsg_nxthdr.  This is a simple case of a
function that is inlined for -O2 but not for -Os; this patch adds
libc_hidden_proto / libc_hidden_def for it to avoid a localplt failure
even when it is not inlined.

Tested for x86_64 (both that it removes this particular localplt
failure for -Os - but other such failures remain so the bug can't yet
be closed - and that the testsuite continues to pass without -Os).

	[BZ #15105]
	* include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
	libc_hidden_proto.
	* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
	libc_hidden_def.
2018-02-15 20:59:12 +00:00
..
auxv.h Add a way to bypass the PLT when calling getauxval 2017-06-09 14:36:22 -03:00
bitypes.h
cdefs.h sys/cdefs.h: export __attribute_alloc_size__ 2013-02-18 17:18:57 -05:00
dir.h
epoll.h Installed header hygiene (BZ#20366): Test of installed headers. 2016-09-23 08:43:56 -04:00
errno.h
fcntl.h
file.h Installed header hygiene (BZ#20366): Test of installed headers. 2016-09-23 08:43:56 -04:00
gmon_out.h
gmon.h Remove __bb_init_func and __bb_exit_func [BZ #21974] 2017-08-20 06:39:31 -07:00
ioctl.h Hide internal __ioctl function [BZ #18822] 2017-10-01 15:59:06 -07:00
ipc.h
mman.h Hide internal __mremap function [BZ #18822] 2017-10-01 16:02:04 -07:00
msg.h First steps to get conformtest fully working 2012-02-25 23:18:39 -05:00
param.h Split sys/param.h out into common file and sysdeps bits/param.h file. 2012-08-17 09:55:17 -07:00
poll.h Add first fixes for conformtest for POSIX2008 2012-02-26 21:32:56 -05:00
prctl.h Installed header hygiene (BZ#20366): Test of installed headers. 2016-09-23 08:43:56 -04:00
profil.h Installed header hygiene (BZ#20366): Test of installed headers. 2016-09-23 08:43:56 -04:00
queue.h
resource.h Hide internal __setrlimit function [BZ #18822] 2017-10-01 17:46:54 -07:00
select.h First steps to get conformtest fully working 2012-02-25 23:18:39 -05:00
sem.h
sendfile.h
shm.h
signal.h
socket.h Use libc_hidden_* for __cmsg_nxthdr (bug 15105). 2018-02-15 20:59:12 +00:00
stat.h Introduce NO_RTLD_HIDDEN, make hurd use it instead of NO_HIDDEN 2017-10-03 01:33:38 +02:00
statfs.h Mark internal statfs functions with attribute_hidden [BZ #18822] 2017-10-01 15:18:25 -07:00
statvfs.h Mark internal statfs functions with attribute_hidden [BZ #18822] 2017-10-01 15:18:25 -07:00
sysctl.h Installed header hygiene (BZ#20366): Test of installed headers. 2016-09-23 08:43:56 -04:00
sysinfo.h Hide internal sysinfo functions [BZ #18822] 2017-10-01 15:57:21 -07:00
syslog.h Test _ISOMAC in include/sys/syslog.h. 2012-11-02 15:41:37 +00:00
sysmacros.h Fix -Os gnu_dev_* linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-07 14:57:31 +00:00
termios.h
time.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timeb.h
times.h First steps to get conformtest fully working 2012-02-25 23:18:39 -05:00
types.h
uio.h Hide __readv and __writev [BZ #18822] 2017-10-01 15:54:10 -07:00
un.h
unistd.h
utsname.h Introduce NO_RTLD_HIDDEN, make hurd use it instead of NO_HIDDEN 2017-10-03 01:33:38 +02:00
vlimit.h
vtimes.h
wait.h Remove union wait [BZ #19613] 2016-04-14 08:54:57 +02:00
xattr.h 2005-12-29 Roland McGrath <roland@frob.com> 2005-12-29 10:38:08 +00:00