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
..
2018-02-15 12:41:06 +00:00
2018-01-27 13:31:38 +01:00
2018-02-12 11:33:33 +00:00
2018-01-27 13:32:36 +01:00
2018-02-15 12:41:05 +00:00
2018-02-15 12:41:05 +00:00
2018-02-15 12:41:05 +00:00
2018-02-15 12:41:05 +00:00
2018-02-10 02:08:43 +00:00
2018-02-12 13:23:03 -02:00
2018-01-29 10:43:15 -08:00
2018-02-15 09:06:18 +01:00
2018-02-14 14:03:40 -02:00
2018-02-15 12:41:05 +00:00