about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-02-28 14:16:21 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-02-28 14:16:21 +0000
commit000f290ff179c9910f09b7f76797bdab575abb15 (patch)
treee7e72e734cfaf808babedbad962d8f6469828a72 /ChangeLog
parent02f2fead8f702676a4691781432dff2422669dfd (diff)
downloadglibc-000f290ff179c9910f09b7f76797bdab575abb15.tar.gz
glibc-000f290ff179c9910f09b7f76797bdab575abb15.tar.xz
glibc-000f290ff179c9910f09b7f76797bdab575abb15.zip
Use libc_hidden_* for strtoumax (bug 15105).
On sparc, localplt test failures appear when building with -Os because
of a call to strtoumax from
sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c, and strtoumax
is not inlined when building with -Os.  This patch fixes those
failures by using libc_hidden_proto and libc_hidden_def for strtoumax.

Tested with build-many-glibcs.py for
sparc64-linux-gnu-disable-multi-arch, sparc64-linux-gnu,
sparcv9-linux-gnu-disable-multi-arch, sparcv9-linux-gnu that this
fixes that test failure with -Os.

	[BZ #15105]
	* sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
	libc_hidden_def.
	* sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
	* include/inttypes.h: New file.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 72f03aa396..56ef28678a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-02-28  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #15105]
+	* sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
+	libc_hidden_def.
+	* sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
+	* include/inttypes.h: New file.
+
 2018-02-27  Joseph Myers  <joseph@codesourcery.com>
 
 	* locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for