Joseph Myers 055ac2a7ee Use libc_hidden_* for argz_next, __argz_next (bug 15105).
Among other localplt test failures when building with -Os, there are
libc.so PLT references for argz_next and __argz_next.  This is a
simple case of functions that are inlined for -O2 but not for -Os;
this patch adds libc_hidden_proto / libc_hidden_def for them to avoid
localplt failures even when not inlined.

Tested for x86_64 (both that it removes these particular localplt
failures 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/argz.h (argz_next): Use libc_hidden_proto.
	(__argz_next): Likewise.
	* string-argz-next.c (__argz_next): Use libc_hidden_def.
	(argz_next): Use libc_hidden_weak.
2018-02-15 21:00:02 +00:00
..
2016-10-28 22:40:16 -04:00
2018-01-04 18:46:24 +01:00
1997-06-21 02:59:26 +00:00
2018-02-01 16:17:18 +00:00
2017-04-07 07:45:53 -04:00
2017-10-30 20:58:51 +00:00
1997-12-22 20:53:38 +00:00
2017-11-22 22:21:10 +00:00
2017-11-09 05:10:03 -08:00