glibc/ctype
Joseph Myers 98fa83a2a8 Use libc_hidden_* for tolower, toupper (bug 15105).
Continuing the fixes for localplt test failures with -Os arising from
functions not being inlined in that case, this patch fixes such
failures for tolower and toupper by using libc_hidden_proto and
libc_hidden_def.

Tested for x86_64 (both that it removes this particular localplt
failure for -Os, and that the testsuite continues to pass without
-Os).

2018-02-22  Joseph Myers  <joseph@codesourcery.com>

	[BZ #15105]
	* ctype/ctype.c (tolower): Use libc_hidden_def.
	(toupper): Likewise.
	* include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
	[!_ISOMAC] (toupper): Likewise.

(cherry picked from commit 54412d2061)
2021-11-19 13:20:26 -08:00
..
ctype_l.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ctype-c99_l.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ctype-c99.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ctype-extn.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ctype-info.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ctype.c Use libc_hidden_* for tolower, toupper (bug 15105). 2021-11-19 13:20:26 -08:00
ctype.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
isctype.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
test_ctype.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Versions Optimize access to isXYZ and toXYZ tables 2011-10-15 16:27:08 -04:00