Add ColdFire math-tests.h.
[glibc.git] / ChangeLog
blobe1262c65f1dcbed3d591a3ee257d7717e30901de
1 2018-02-01  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/m68k/coldfire/math-tests.h: New file.
5         * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
6         * sysdeps/m68k/bits/fenv.h: ... here.
7         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
8         not define.
9         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
10         Likewise.
11         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
12         Likewise.
13         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
14         Likewise.
15         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16         Likewise.
17         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18         Define to 0.
19         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20         (__FE_UNDEFINED): New enum constant.
21         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22         Do not define.
23         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
24         Likewise.
25         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
26         Likewise.
27         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
28         to match generic bits/fenv.h.
29         [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
30         Do not define.
32         * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
33         packed on bits.
34         * soft-fp/extended.h (union _FP_UNION_E): Likewise.
35         * soft-fp/half.h (union _FP_UNION_H): Likewise.
36         * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
37         * soft-fp/single.h (union _FP_UNION_S): Likewise.
39 2018-02-01  Carlos O'Donell  <carlos@redhat.com>
40             Ramin Seyed-Moussavi  <lordrasmus@gmail.com>
41             Joseph Myers  <joseph@codesourcery.com>
43         [BZ #21314]
44         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
45         (__log1p): Disable -Wmaybe-uninitialized for -Os around
46         computation using c.
47         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
48         (__log1pf): Disable -Wmaybe-uninitialized for -Os around
49         computation using c.
51 2018-02-01  Dmitry V. Levin  <ldv@altlinux.org>
53         * version.h (RELEASE): Set to "development".
54         (VERSION): Set to "2.27.9000".
55         * NEWS (2.28): New section.
57         * version.h (RELEASE): Set to "stable".
58         (VERSION): Set to "2.27".
59         * include/features.h (__GLIBC_MINOR__): Set to 2.27.
61         * NEWS: Add the list of bugs fixed in 2.27.
63 2018-02-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
65         * stdlib/test-atexit-race-common.c (do_test): Check stack size
66         against PTHREAD_STACK_MIN.
68 2018-02-01  Dmitry V. Levin  <ldv@altlinux.org>
70         * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
71         New entries.
72         (Rafal Luzynski, Andreas Schwab): Update.
74 2018-02-01  Rafal Luzynski  <digitalfreak@lingonborough.com>
76         [BZ #10871]
77         * NEWS: List the languages which actually use the alternative
78         months feature in this release.  Also explain that "alt_mon" and
79         "ab_alt_mon" are optional.
81 2018-01-31  Il'ya Malakhov  <ilmalakhov@yandex.ru>
83         [BZ #22765]
84         * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
86 2018-01-31  Dmitry V. Levin  <ldv@altlinux.org>
88         * manual/install.texi (Tools for Compilation): Update the newest
89         versions of gcc, binutils, texinfo, gawk, bison, and sed.
90         * INSTALL: Regenerated.
92 2018-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94         * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
95         instead of __builtin_expect.
97 2018-01-30  Florian Weimer  <fweimer@redhat.com>
99         * nss/bug17079.c (do_test): Use nss_files only for reading passwd
100         data.
101         * nss/tst-nss-getpwent.c (do_test): Likewise.
103 2018-01-30  Rafal Luzynski  <digitalfreak@lingonborough.com>
105         [BZ #10871]
106         * localedata/locales/hr_HR (mon): Rename to...
107         (alt_mon): This.
108         (mon): Import from CLDR (genitive case).
109         (d_t_fmt): Update the comment.
111 2018-01-29  Andreas Schwab  <schwab@linux-m68k.org>
113         * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
114         _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
115         * sysdeps/posix/pathconf.c (__pathconf): Likewise.
117 2018-01-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
119         * mach/Versions: Fix version when __mach_host_self_ was added.
120         * hurd/Versions: Fix version when _hurd_exec_paths was added.
121         * sysdeps/mach/hurd/i386/ld.abilist: New file.
122         * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
123         * sysdeps/mach/hurd/i386/libanl.abilist: New file.
124         * sysdeps/mach/hurd/i386/libc.abilist: New file.
125         * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
126         * sysdeps/mach/hurd/i386/libdl.abilist: New file.
127         * sysdeps/mach/hurd/i386/libm.abilist: New file.
128         * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
129         * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
130         * sysdeps/mach/hurd/i386/librt.abilist: New file.
131         * sysdeps/mach/hurd/i386/libutil.abilist: New file.
132         * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
133         || to respect codestyle.
134         * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
135         (do_test_bz20181): Rename accordingly.
136         * malloc/malloc.c: Include <assert.h>.
137         (assert): Do not define.
138         [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
139         * bits/fcntl.h: Fix comment for FREAD and FWRITE.
140         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
141         * sysdeps/mach/hurd/hp-timing.h: New file.
142         * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
144 2018-01-29  Darius Rad  <darius@bluespec.com>
146         * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
148 2018-01-29  Palmer Dabbelt  <palmer@sifive.com>
150         * sysdeps/init_array/crti.S (.section .init_array): Add
151         PREINIT_FUNCTION when defined.
152         * manual/math.texi: RISC-V supports _Float128 and _Float64x.
153         * config.h.in: Regenerate.
154         * manual/platform.texi: Add RISC-V documenation for
155         __riscv_flush_icache.
156         * sysdeps/riscv/__longjmp.S: New file.
157         * sysdeps/riscv/backtrace.c: Likewise.
158         * sysdeps/riscv/bits/endian.h: Likewise.
159         * sysdeps/riscv/bits/setjmp.h: Likewise.
160         * sysdeps/riscv/bits/wordsize.h: Likewise.
161         * sysdeps/riscv/bsd-_setjmp.c: Likewise.
162         * sysdeps/riscv/bsd-setjmp.c: Likewise.
163         * sysdeps/riscv/dl-trampoline.S: Likewise.
164         * sysdeps/riscv/gccframe.h: Likewise.
165         * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
166         * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
167         * sysdeps/riscv/machine-gmon.h: Likewise.
168         * sysdeps/riscv/memusage.h: Likewise.
169         * sysdeps/riscv/setjmp.S: Likewise.
170         * sysdeps/riscv/sys/asm.h: Likewise.
171         * sysdeps/riscv/tls-macros.h: Likewise.
172         * sysdeps/riscv/dl-tls.h: New file.
173         * sysdeps/riscv/libc-tls.c: Likewise.
174         * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
175         * sysdeps/riscv/nptl/tls.h: Likewise.
176         * sysdeps/riscv/stackinfo.h: Likewise.
177         * sysdeps/riscv/bits/fenv.h: New file.
178         * sysdeps/riscv/e_sqrtl.c: Likewise.
179         * sysdeps/riscv/fpu_control.h: Likewise.
180         * sysdeps/riscv/math-tests.h: Likewise.
181         * sysdeps/riscv/nofpu/Implies: Likewise.
182         * sysdeps/riscv/sfp-machine.h: Likewise.
183         * sysdeps/riscv/tininess.h: Likewise.
184         * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
185         * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
186         * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
187         * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
188         * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
189         * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
190         * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
191         * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
192         * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
193         * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
194         * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
195         * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
196         * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
197         * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
198         * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
199         * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
200         * sysdeps/riscv/rvd/s_copysign.c: Likewise.
201         * sysdeps/riscv/rvd/s_finite.c: Likewise.
202         * sysdeps/riscv/rvd/s_fma.c: Likewise.
203         * sysdeps/riscv/rvd/s_fmax.c: Likewise.
204         * sysdeps/riscv/rvd/s_fmin.c: Likewise.
205         * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
206         * sysdeps/riscv/rvd/s_isinf.c: Likewise.
207         * sysdeps/riscv/rvd/s_isnan.c: Likewise.
208         * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
209         * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
210         * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
211         * sysdeps/riscv/rvf/fegetenv.c: Likewise.
212         * sysdeps/riscv/rvf/fegetmode.c: Likewise.
213         * sysdeps/riscv/rvf/fegetround.c: Likewise.
214         * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
215         * sysdeps/riscv/rvf/fesetenv.c: Likewise.
216         * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
217         * sysdeps/riscv/rvf/fesetmode.c: Likewise.
218         * sysdeps/riscv/rvf/fesetround.c: Likewise.
219         * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
220         * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
221         * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
222         * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
223         * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
224         * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
225         * sysdeps/riscv/rvf/math_private.h: Likewise.
226         * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
227         * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
228         * sysdeps/riscv/rvf/s_finitef.c: Likewise.
229         * sysdeps/riscv/rvf/s_floorf.c: Likewise.
230         * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
231         * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
232         * sysdeps/riscv/rvf/s_fminf.c: Likewise.
233         * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
234         * sysdeps/riscv/rvf/s_isinff.c: Likewise.
235         * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
236         * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
237         * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
238         * sysdeps/riscv/rvf/s_rintf.c: Likewise.
239         * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
240         * sysdeps/riscv/rvf/s_roundf.c: Likewise.
241         * sysdeps/riscv/rvf/s_truncf.c: Likewise.
242         * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
243         * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
244         * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
245         * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
246         * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
247         * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
248         * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
249         * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
250         * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
251         * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
252         * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
253         * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
254         * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
255         * sysdeps/riscv/nptl/pthread-offsets.h: New file.
256         * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
257         * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
258         * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
259         * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
260         * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
261         * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
262         * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
263         * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
264         * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
265         * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
266         * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
267         * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
268         * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
269         * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
270         * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
271         * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
272         * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
273         * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
274         * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
275         * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
276         * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
277         * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
278         * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
279         * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
280         * sysdeps/riscv/nofpu/libm-test-ulps: New file.
281         * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
282         * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
283         * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
284         * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
285         * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
286         * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
287         * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
288         * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
289         * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
290         * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
291         * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
292         * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
293         * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
294         * sysdeps/riscv/Implies: New file.
295         * sysdeps/riscv/Makefile: Likewise.
296         * sysdeps/riscv/configure: Likewise.
297         * sysdeps/riscv/configure.ac: Likewise.
298         * sysdeps/riscv/nptl/Makefile: Likewise.
299         * sysdeps/riscv/preconfigure: Likewise.
300         * sysdeps/riscv/rv64/Implies-after: Likewise.
301         * sysdeps/riscv/rv64/rvd/Implies: Likewise.
302         * sysdeps/riscv/rv64/rvf/Implies: Likewise.
303         * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
304         * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
305         * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
306         * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
307         * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
308         * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
309         * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
310         * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
311         * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
312         * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
313         (Config): Likewise.
315 2018-01-29  Florian Weimer  <fweimer@redhat.com>
317         [BZ #22701]
318         * include/rpcsvc/nislib.h (__nis_default_ttl): Add
319         libnsl_hidden_proto.
320         * include/rpcsvc/yp.h (yp_xdrall): Declare with
321         libnsl_hidden_proto.
322         * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
323         * nis/Makefile (libnsl-routines): Add nss-default only for
324         build-obsolete-nsl.
325         * nis/nis_defaults.c (__nis_default_ttl): Add
326         libnsl_hidden_nolink_def.
327         * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
328         declaration.
329         * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
330         * nis/ypclnt.c (yp_maplist): Likewise.
332 2018-01-29  Romain Naour  <romain.naour@gmail.com>  (tiny change)
334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
335         (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
337 2018-01-29  Joseph Myers  <joseph@codesourcery.com>
339         * scripts/build-many-glibcs.py (Context.git_checkout): Use git
340         clean -dxfq for git updates when replacing sources.
342         * scripts/build-many-glibcs.py (Config.build_gcc): Use
343         --disable-libcilkrts unconditionally, not just for the final GCC
344         build for Hurd.
346         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
347         version to 4.15.
349 2018-01-29  Rafal Luzynski  <digitalfreak@lingonborough.com>
351         [BZ #10871]
352         * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
353         case).
355 2018-01-29  Rafal Luzynski  <digitalfreak@lingonborough.com>
357         [BZ #10871]
358         * localedata/locales/be_BY (mon): Rename to...
359         (alt_mon): This, then synchronize with CLDR (nominative case).
360         (abmon): Rename to...
361         (ab_alt_mon): This, then synchronize with CLDR (nominative case).
362         (mon): Import from CLDR (genitive case).
363         (abmon): Likewise.
364         * localedata/locales/be_BY@latin (mon): Rename to...
365         (alt_mon): This.
366         (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
368         * localedata/locales/be_BY@latin (lang_name): Reworded to
369         "biełaruskaja mova".
371 2018-01-29  Rafal Luzynski  <digitalfreak@lingonborough.com>
373         [BZ #10871]
374         * localedata/locales/el_CY (mon): Renamed to...
375         (alt_mon): This.
376         (mon): Import from CLDR (genitive case).
377         * localedata/locales/el_GR: Likewise.
379 2018-01-29  Rafal Luzynski  <digitalfreak@lingonborough.com>
381         [BZ #10871]
382         * localedata/locales/ru_RU (mon): Rename to...
383         (alt_mon): This.
384         (abmon): Rename to...
385         (ab_alt_mon): This.
386         (mon): Import from CLDR (genitive case).
387         (abmon): Copy from the old content except the 5th month which is
388         now in the genitive case, even when abbreviated.
389         * localedata/locales/ru_UA: Likewise.
390         * time/tst-strptime.c (day_tests): Add an actual example of
391         a difference between %b and %Ob in Russian.
393 2018-01-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
395         * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
396         * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
397         a `c' variable.
398         * resolv/res-close.c: Include <stdlib.h>.
399         * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
400         <sys/wait.h>, <time.h>, <sys/uio.h>.
401         (NOT_CANCEL_H): Add inclusion guard.
402         * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
403         * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
404         __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
405         return 0.
406         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
407         vm_address_t * to ElfW(Addr) * for dl_main parameter.
408         * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
409         instead of void *.
410         * sysdeps/pthread/timer_create.c (timer_create): Do not use
411         timer_ptr2id to cast struct timer_node * to void *.
412         * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
413         --disable-libcilkrts to gcc configure.
414         (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
415         and make them the default for now.
416         * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
417         -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
418         * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
419         * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
420         * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
421         MACH_IPC_COMPAT.
422         * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
423         __task_terminate would ever return successfully.
424         * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
425         to global scope.
426         * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
427         PAGE_COPY_THRESHOLD and set to benchmarked 16384.
428         * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
429         critical section to make code simpler and avoid warning.
430         * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
431         critical section to make code simpler and avoid warning.
432         * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
433         const char * instead of char *.
434         * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
435         __hurd_file_name_split, hurd_file_name_split,
436         __hurd_directory_name_split, hurd_directory_name_split,
437         __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
438         hurd_file_name_path_lookup): Make lookup function parameter take a
439         const char *name instead of char *name.
440         * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
441         __hurd_directory_name_split): Likewise.
442         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
443         * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
444         * sysdeps/mach/hurd/check_native.c: New file.
445         * sysdeps/mach/hurd/check_pf.c: New file.
446         * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
447         (__freeifaddrs): Define macro to freeifaddrs.
448         * sysdeps/mach/hurd/libhurduser.abilist: New file.
449         * sysdeps/mach/libmachuser.abilist: New file.
450         * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
451         (do_test_bz20181): Rename accordingly.
452         * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
453         * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
454         <sys/mount.h>.
455         * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
456         version only if __USE_EXTERN_INLINES is defined.
457         * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
458         __hurd_sockfail): Likewise.
459         (_hurd_fd_get): Always declare functions, and provide inline versions
460         only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
461         * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
462         _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
463         _hurd_port_set): Always declare functions, and provide inline versions
464         only if __USE_EXTERN_INLINES and _LIBC are defined and
465         IS_IN(libc).
466         * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
467         _hurd_critical_section_unlock): Likewise.
468         * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
469         * __hurd_threadvar_location): Likewise.
470         * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
471         _hurd_userlink_clear): Likewise.
472         * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
473         __mutex_unlock, __mutex_trylock): Always declare functions, and provide
474         inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
475         * mach/mach/mig_support.h (__mig_strncpy): Likewise.
476         * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
477         __spin_lock_locked): Likewise.
478         * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
479         __spin_lock_locked): Likewise.
480         * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
481         * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
482         _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
483         __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
484         _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
485         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
486         _POSIX_NO_TRUNC): Define to 0.
487         * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
488         check size against PTHREAD_STACK_MIN.
489         * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
490         IS_IN(libpthread)]: Include <sigsetops.h>.
491         * mach/Makefile (user-interfaces): Add mach/gnumach.
492         * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
493         * sysdeps/mach/configure (mach_interface_list): Regenerate.
494         * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
495         instead of invalid -1.
496         * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
497         * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
498         * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
499         <net/ppp_defs.h>.
501 2018-01-27  Thomas Schwinge  <tschwinge@gnu.org>
503         * hurd/fcntl-internal.h: New file.
505 2018-01-27  James Clarke  <jrtc27@jrtc27.com>
507         * sysdeps/hppa/fpu/libm-test-ulps: Update.
509         * sysdeps/alpha/fpu/libm-test-ulps: Update.
511 2018-01-26  Andreas Schwab  <schwab@linux-m68k.org>
513         [BZ #22701]
514         * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
515         Build only shared objects.
517 2018-01-26  Carlos O'Donell  <carlos@redhat.com>
519         * README: Update for hppa.
521 2018-01-26  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
523         * sysdeps/sparc/fpu/libm-test-ulps: Update
524         cpow, ctan, ctanh, j0, j1, y0, yn ulps.
526 2018-01-26  Carlos O'Donell  <carlos@redhat.com>
528         Revert:
530         2017-12-19  H.J. Lu  <hongjiu.lu@intel.com>
532         [BZ #22563]
533         * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
534         * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
535         * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
536         * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
537         to feature_1.
539         2017-12-19  H.J. Lu  <hongjiu.lu@intel.com>
541         [BZ #22563]
542         * bits/types/__cancel_jmp_buf_tag.h: New file.
543         * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
544         * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
545         * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
546         * nptl/Makefile (headers): Add
547         bits/types/__cancel_jmp_buf_tag.h.
548         * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
549         (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
550         * sysdeps/nptl/pthread.h: Include
551         <bits/types/__cancel_jmp_buf_tag.h>.
552         (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
553         __cancel_jmp_buf.
554         * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
556 2018-01-25  Rafal Luzynski  <digitalfreak@lingonborough.com>
558         [BZ #10871]
559         * localedata/locales/uk_UA (mon): Renamed to...
560         (alt_mon): This.
561         (alt_digits): "0" removed and then renamed to...
562         (mon): This.
563         (date_fmt): Definition changed not to use the alternative
564         digits hack.
566 2018-01-25  Palmer Dabbelt  <palmer@sifive.com>
568         * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
569         FLAG_RISCV_FLOAT_ABI_DOUBLE.
570         * elf/elf.h (EF_RISCV_RVC): New define.
571         (EF_RISCV_FLOAT_ABI): Likewise.
572         (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
573         (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
574         (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
575         (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
576         * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
577         define.
578         (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
580 2018-01-25  Andreas Schwab  <schwab@suse.de>
582         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
583         single quotes.
584         * sysdeps/gnu/configure: Regenerate.
585         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
586         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
588         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
589         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
590         * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
591         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
592         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
594 2018-01-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
596         * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
597         URL, and run autoconf, make it the default for now.
599 2018-01-24  Joseph Myers  <joseph@codesourcery.com>
601         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
602         soft-float ColdFire configuration.
604         * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
605         * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
606         * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
608         * sysdeps/m68k/coldfire/nofpu/math_private.h: New file.  Based on
609         MicroBlaze file.
611         * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
612         ....
613         * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
614         ... here.
615         * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
616         New file.
618         * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
619         * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
620         * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
621         file.
623 2018-01-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
625         [BZ #22742]
626         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
627         Rename to __reserved and add comment.
628         * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
629         Rename to __reserved.
631 2018-01-24  Joseph Myers  <joseph@codesourcery.com>
633         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
634         i686-gnu configurations.
635         (Context.run_builds): Include mig, gnumach and hurd in components
636         considered.
637         (Context.checkout): Add mig, gnumach and hurd to components.
638         (Context.checkout_tar): Add URL mappings for mig, gnumach and
639         hurd.
640         (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
641         (Config.build): Install gnumach headers, build mig and install
642         hurd headers for 'gnu' OS.
643         (Config.install_gnumach_headers): New function.
644         (Config.install_hurd_headers): Likewise.
645         (Glibc.build_glibc): Do not use /usr for 'gnu' OS.  Specifiy MIG
646         when building for 'gnu' OS.
648 2018-01-23  Tobias Klauser  <tklauser@distanz.ch>
650         * manual/tunables.texi (Hardware Capability Tunables): Fix
651         spelling.
653 2018-01-22  Rical Jasan  <ricaljasan@pacific.net>
655         * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
656         (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
657         (ALTMON_11, ALTMON_12): Improve documentation.
658         * manual/time.texi (strftime): Likewise.
660 2018-01-22  Rafal Luzynski  <digitalfreak@lingonborough.com>
662         [BZ #10871]
663         * localedata/locales/pl_PL: Alternative month names added,
664         primary month names are genitive now.
665         * time/tst-strptime.c (day_tests): Actually use a genitive case
666         of a month name in Polish language.
668 2018-01-22  Rafal Luzynski  <digitalfreak@lingonborough.com>
670         [BZ #10871]
671         * manual/locale.texi: Document ALTMON_1..12 constants for
672         nl_langinfo.  Specify when to use ALTMON instead of MON.
673         * manual/time.texi (strftime, strptime): Document GNU extension
674         permitting O modifier with %B and %b.  Specify when to use
675         %OB instead of %B.
677 2018-01-22  Rafal Luzynski  <digitalfreak@lingonborough.com>
679         [BZ #10871]
680         * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
681         names, define them as the same as abbreviated month names explicitly.
682         * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
683         * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
684         _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
685         _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
686         _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
687         _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
688         _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
689         _NL_WABALTMON_12): New enum constants.
690         * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
691         wab_alt_mon, and ab_alt_mon_defined members.
692         (time_output): Output ab_alt_mon and wab_alt_mon members.
693         (time_read): Read them, initialize them as copies of abmon and wabmon
694         respectively if they are missing, initialize ab_alt_mon_defined.
695         * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
696         * locale/programs/locfile-kw.h: Regenerate.
697         * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
698         * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
699         and ru_RU.UTF-8.
700         * time/strftime_l.c (a_altmonth, aam_len): New macros.
701         [!COMPILE_WIDE] (ABALTMON_1): New macro.
702         (__strftime_internal): Handle %Ob and %Oh formats.
703         * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
704         (__strptime_internal): Handle %Ob and %Oh formats.
705         * time/tst-strptime.c (day_tests): Add more tests to parse different
706         forms of month names including the new %Ob format specifier.
708 2018-01-22  Rafal Luzynski  <digitalfreak@lingonborough.com>
710         [BZ #10871]
711         * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
712         define them as the same as primary full month names explicitly.
713         * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
714         * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
715         __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
716         __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
717         _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
718         _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
719         _NL_WALTMON_12): New enum constants.
720         [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
721         ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
722         macros.
723         * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
724         walt_mon, and alt_mon_defined members.
725         (time_output): Output alt_mon and walt_mon members.
726         (time_read): Read them, initialize them as copies of mon and wmon
727         respectively if they are missing, initialize alt_mon_defined.
728         * locale/programs/locfile-kw.gperf (alt_mon): Define.
729         * locale/programs/locfile-kw.h: Regenerate.
730         * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
731         * localedata/tst-langinfo.c (map): Add tests for the new constants
732         ALTMON_1 .. ALTMON_12.
733         * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
734         and pl_PL.UTF-8.
735         * time/strftime_l.c (f_altmonth): New macro.
736         (__strftime_internal): Handle %OB format.
737         * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
738         (__strptime_internal): Handle %OB format.
739         * time/tst-strptime.c (day_tests): Add tests to parse different forms
740         of month names including the new %OB format specifier.
742 2018-01-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
744         [BZ #22685]
745         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
746         from ABORT_TRANSACTION.
747         (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
748         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
749         ABORT_TRANSACTION_IMPL): Likewise.
750         * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file.  Reuse
751         Linux code, but remove the code that aborts transactions.
753 2018-01-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
755         * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
757 2018-01-19  Rafal Luzynski  <digitalfreak@lingonborough.com>
759         * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
760         in date: "2004-14-09" should be "2004-09-14".
761         * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
762         "2003-15-09" should be "2003-09-15".
764 2018-01-18  Arjun Shankar  <arjun@redhat.com>
766         [BZ #22343]
767         CVE-2018-6485
768         * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
769         after padding.
770         (_int_memalign): check for integer overflow before calling
771         _int_malloc.
772         * malloc/tst-malloc-too-large.c: New test.
773         * malloc/Makefile: Add tst-malloc-too-large.
775 2018-01-18  Rafal Luzynski  <digitalfreak@lingonborough.com>
777         * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
778         in date: "2017-24-07" should be "2017-07-24".
779         * localedata/locales/mai_IN: Likewise.
780         * localedata/locales/mai_NP: Likewise.
782 2018-01-17  Dmitry V. Levin  <ldv@altlinux.org>
784         * po/ru.po: Update translations.
786 2018-01-17  Joseph Myers  <joseph@codesourcery.com>
788         [BZ #22719]
789         * sysdeps/hppa/backtrace.c: New file.
791 2018-01-17  H.J. Lu  <hongjiu.lu@intel.com>
793         [BZ #22715]
794         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
795         align La_x86_64_retval to VEC_SIZE.
797 2018-01-16  Joseph Myers  <joseph@codesourcery.com>
799         * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
800         (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
802 2018-01-16  Florian Weimer  <fweimer@redhat.com>
804         * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
805         Move tst-thread-exit-clobber ...
806         [$(CXX)] (tests-unsupported): ... to here.
808 2018-01-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
810         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
811         (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
812         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
813         (_dl_aarch64_cap_flags): Update.
814         (_DL_HWCAP_COUNT): Update.
816 2018-01-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
818         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
819         (_DL_HWCAP_LAST): Remove.
820         (_DL_HWCAP_COUNT): Move to ...
821         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
822         (_DL_HWCAP_COUNT): ... here.
824 2018-01-16  Florian Weimer  <fweimer@redhat.com>
826         * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
827         mode with GNU extensions.
829 2018-01-15  Alan Hayward  <alan.hayward@arm.com>
831         * elf/elf.h (NT_ARM_SVE): Define.
833 2018-01-15  Florian Weimer  <fweimer@redhat.com>
835         [BZ #22636]
836         * nptl/tst-minstack-throw.cc: New file.
837         * nptl/Makefile (tests): Add tst-minstack-throw.
838         (LDLIBS-tst-minstack-throw): Link with libstdc++.
839         [!CXX] (tests-unsupported): Add tst-minstack-throw.
841 2018-01-15  Joseph Myers  <joseph@codesourcery.com>
843         * scripts/build-many-glibcs.py (Context.checkout): Default
844         binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
845         version to 1.1.0.
847 2018-01-13  Carlos O'Donell  <carlos@redhat.com>
849         [BZ #22707]
850         * elf/elf.h (DF_1_STUB): Define.
851         (DF_1_PIE): Define.
853 2018-01-12  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
855         [BZ #22697]
856         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
857         Do not add 0.5 to integer or out-of-range arguments.
859 2018-01-12  Dmitry V. Levin  <ldv@altlinux.org>
861         * po/bg.po: Update translations.
862         * po/cs.po: Likewise.
863         * po/de.po: Likewise.
864         * po/ko.po: Likewise.
865         * po/pl.po: Likewise.
866         * po/sv.po: Likewise.
867         * po/uk.po: Likewise.
868         * po/vi.po: Likewise.
870 2018-01-12  Szabolcs Nagy  <szabolcs.nagy@arm.com>
872         * aarch64/start.S (_start): Use __wrap_main.
873         (__wrap_main): New local symbol.
875 2018-01-12  Dmitry V. Levin  <ldv@altlinux.org>
877         [BZ #22679]
878         CVE-2018-1000001
879         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
880         generic_getcwd if the path returned by getcwd syscall is not absolute.
881         * io/tst-getcwd-abspath.c: New test.
882         * io/Makefile (tests): Add tst-getcwd-abspath.
884 2018-01-12  Istvan Kurucsai  <pistukem@gmail.com>
886         * malloc/malloc.c (malloc_consolidate): Add size check.
888 2018-01-12  Florian Weimer  <fweimer@redhat.com>
890         * support/write_message.c (write_message): Preserve errno.
891         * support/check.c (print_failure): Likewise.
892         * support/support_test_verify_impl.c (support_test_verify_impl):
893         Likewise.
894         * support/support_test_compare_failure.c
895         (support_test_compare_failure): Likewise.
897 2018-01-12  Florian Weimer  <fweimer@redhat.com>
899         [BZ #22701]
900         * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
901         Prevent installation of libnsl.so.
902         (libnsl-inhibit-o): Do not build (or install) static libraries.
904 2018-01-12  Egmont Koblinger  <egmont@gmail.com>
906         [BZ #22657]
907         * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
908         before the day number which may produce a double space.
909         (date_fmt): Likewise.
911 2018-01-12  Joseph Myers  <joseph@codesourcery.com>
913         * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
914         instead of fegetenv.
916 2018-01-11  Joseph Myers  <joseph@codesourcery.com>
918         [BZ #22702]
919         * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
920         comment to say exceptions are discarded.
921         (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
922         __fegetenv.
923         (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
924         be enabled.
926 2018-01-11  Florian Weimer  <fweimer@redhat.com>
928         * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
929         and error message.
931 2018-01-11  Florian Weimer  <fweimer@redhat.com>
933         [BZ #22636]
934         * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
935         * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
937 2018-01-10  Joseph Myers  <joseph@codesourcery.com>
939         [BZ #22693]
940         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
941         negative arguments in test for NaN or infinity argument.
943 2018-01-10  Dmitry V. Levin  <ldv@altlinux.org>
945         * po/libc.pot: Regenerate.
947 2018-01-10  Florian Weimer  <fweimer@redhat.com>
949         [BZ #22636]
950         * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
951         libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
953 2018-01-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
955         * hurd/hurd/fd.h: Include <fcntl.h>
956         (__hurd_at_flags): New function.
957         * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
958         with call to __hurd_at_flags.
959         * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
960         * sysdeps/mach/hurd/access.c (access_common): Move implementation to
961         __faccessat
962         (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
963         (__access_noerrno): Use __faccessat_common instead of access_common.
964         (__access): Likewise.
965         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
966         with a call to __faccessat.
967         * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
968         (__faccessat_common): ... this. Move implementation of __access into it when
969         AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
970         reauthenticate_cwdir_at helper to implement AT mechanism.
971         (__faccessat_noerrno): New function, just calls __faccessat_common.
972         (__faccessat): New function, just calls __faccessat_common.
973         (faccessat): Define weak alias.
975 2018-01-10  Joseph Myers  <joseph@codesourcery.com>
977         [BZ #22691]
978         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
979         (CFLAGS-s_fmaxmagl.c): New variable.
980         [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
982         [BZ #22690]
983         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
984         long int for arguments of possibly overflowing addition or
985         subtraction.
986         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
988 2018-01-09  Joseph Myers  <joseph@codesourcery.com>
990         [BZ #22688]
991         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
992         (CFLAGS-e_remainderl.c): New variable.
994         [BZ #22687]
995         * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
996         variable.
997         (CFLAGS-s_cacoshl.c): Likewise.
998         (CFLAGS-s_casinhl.c): Likewise.
999         (CFLAGS-s_catanl.c): Likewise.
1000         (CFLAGS-s_catanhl.c): Likewise.
1001         (CFLAGS-s_cexpl.c): Likewise.
1002         (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
1003         (CFLAGS-s_csinhl.c): Likewise.
1004         (CFLAGS-s_clogl.c): Likewise.
1005         (CFLAGS-s_clog10l.c): Likewise.
1006         (CFLAGS-s_csinl.c): Likewise.
1007         (CFLAGS-s_csqrtl.c): Likewise.
1009 2017-01-09  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1010 2017-01-09  Svante Signell  <svante.signell@gmail.com>
1012         * hurd/hurdexec.c (_hurd_exec): Deprecate function.
1013         (_hurd_exec_paths): New function.
1014         * hurd/hurd.h (_hurd_exec): Deprecate function.
1015         (_hurd_exec_paths): Declare function.
1016         * hurd/Versions: Export _hurd_exec_paths.
1017         * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
1018         (__execve): Use __getcwd to build absolute path, and use
1019         _hurd_exec_paths instead of _hurd_exec.
1020         * sysdeps/mach/hurd/spawni.c: Likewise.
1021         * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
1022         _hurd_exec.
1024 2018-01-08  Dmitry V. Levin  <ldv@altlinux.org>
1026         * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
1027         test instead of failing in case of ENOENT returned by posix_openpt.
1029 2018-01-08  Florian Weimer  <fweimer@redhat.com>
1031         resolv: Support binary labels in test framework.
1032         * support/resolv_test.c (struct to_be_freed): Remove.
1033         (struct compressed_name): New.
1034         (allocate_compressed_name, ascii_tolower)
1035         (compare_compressed_name): New functions.
1036         (struct resolv_response_builder): Update type of
1037         compression_offsets for use with tsearch.  Rempve to_be_freed.
1038         (response_push_pointer_to_free): Remove function.
1039         (resolv_response_add_name): Rewrite using struct compressed_name
1040         and tsearch instead of hsearch_r.
1041         (response_builder_allocate): Remove initialization of
1042         compression_offsets.
1043         (response_builder_free): Update for removal of to_be_freed.  Use
1044         tdestroy instead of hdestroy_r.
1045         * resolv/Makefile (tests): Add tst-resolv-binary.
1046         (tst-resolv-binary): Link with -lresolv -lpthread.
1048 2018-01-08  Florian Weimer  <fweimer@redhat.com>
1050         * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
1051         time.  Pass positive flag instead of negative flag to
1052         support_test_compare_failure.
1053         (support_test_compare_failure): Change negative parameter to
1054         positive.
1055         * support/support_test_compare_failure.c (report)
1056         (support_test_compare_failure): Likewise.
1057         * support/tst-test_compare.c (return_ssize_t, return_int): New.
1058         (do_test): Check int/size_t, ssize_t/size_t comparisons.
1060 2018-01-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1062         [BZ #22637]
1063         * nptl/descr.h (stackblock, stackblock_size): Update comments.
1064         * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
1065         * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
1066         stacksize.
1067         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1069 2018-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1071         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1072         Add s_sincosf-sse2 and s_sincosf-fma.
1073         (CFLAGS-s_sincosf-fma.c): New.
1074         * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
1075         * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1076         * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
1077         * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
1078         __sincosf is defined.
1080 2018-01-08  Florian Weimer  <fweimer@redhat.com>
1082         * nptl/tst-thread-exit-clobber.cc: New file.
1083         * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
1084         C++11 mode.
1085         (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
1086         (tests): Add tst-thread-exit-clobber.
1087         [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
1089 2018-01-08  Florian Weimer  <fweimer@redhat.com>
1091         * support/check.h (support_static_assert): Define.
1092         (TEST_COMPARE): Use it.
1094 2018-01-07  Aurelien Jarno  <aurelien@aurel32.net>
1096         * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
1097         [!__RLIM_T_MATCHES_RLIM64_T]
1098         [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
1099         __getrlimit64. Add libc_hidden_weak.
1101 2018-01-06  Palmer Dabbelt  <palmer@sifive.com>
1103         * elf/elf.h (R_RISCV_NONE): New define.
1104         (R_RISCV_32): Likewise.
1105         (R_RISCV_64): Likewise.
1106         (R_RISCV_RELATIVE): Likewise.
1107         (R_RISCV_COPY): Likewise.
1108         (R_RISCV_JUMP_SLOT): Likewise.
1109         (R_RISCV_TLS_DTPMOD32): Likewise.
1110         (R_RISCV_TLS_DTPMOD64): Likewise.
1111         (R_RISCV_TLS_DTPREL32): Likewise.
1112         (R_RISCV_TLS_DTPREL64): Likewise.
1113         (R_RISCV_TLS_TPREL32): Likewise.
1114         (R_RISCV_TLS_TPREL64): Likewise.
1115         * Makerules (make-link-multidir): Make directories before linking into
1116         them.
1117         * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
1118         define.
1119         (VDSO_HASH_LINUX_4_15): Likewise.
1120         * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
1121         in subdirectories of lib.
1122         * nptl/Makefile (/librt.so): Always depend on
1123         "$(shared-thread-library)".
1125 2018-01-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1127         * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
1128         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
1129         JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
1130         (___tls_get_addr).
1131         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
1132         * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
1133         "-O2 -march=i686".
1134         * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
1135         * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
1136         (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
1137         * sysdeps/gnu/glob-lstat-compat.c: New file.
1138         * sysdeps/gnu/glob64-lstat-compat.c: New file.
1139         * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
1141 2018-01-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1143         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
1144         Reserve 16 chars to reloc_addr before calling _itoa_word.
1146 2018-01-05  Aurelien Jarno  <aurelien@aurel32.net>
1148         [BZ #22678]
1149         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
1150         old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
1152         * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
1153         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
1155         * resource/tst-getrlimit.c: Add copyright header.
1157 2018-01-05  Aurelien Jarno  <aurelien@aurel32.net>
1158             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1160         * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
1161         define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
1162         Define __GI_getrlimit64 as weak alias of __getrlimit64.
1163         [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
1164         instead.
1165         * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
1166         define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
1167         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
1168         RLIM64_INFINITY): Fix values to match the kernel ones.
1169         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
1170         USE_VERSIONED_RLIMIT.  Rename __getrlimit64 into __old_getrlimit64 and
1171         provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1.  Add a
1172         __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
1173         getrlimit64@@GLIBC_2_27.
1174         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
1175         and setrlimit64.
1176         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
1177         getrlimit, setrlimit, getrlimit64 and setrlimit64.
1178         * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
1179         setrlimit, getrlimit64 and setrlimit64.
1181 2018-01-05  Aurelien Jarno  <aurelien@aurel32.net>
1183         [BZ #22648]
1184         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
1185         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
1187 2018-01-04  Joseph Myers  <joseph@codesourcery.com>
1189         * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
1190         * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
1191         * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
1193 2018-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1195         [BZ #15479]
1196         [BZ #22666]
1197         * sysdeps/alpha/fpu/s_trunc.c: Remove file.
1198         * sysdeps/alpha/fpu/s_truncf.c: Likewise.
1200         [BZ #15479]
1201         [BZ #22665]
1202         * sysdeps/alpha/fpu/s_ceil.c: Remove file.
1203         * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1204         * sysdeps/alpha/fpu/s_floor.c: Likewise.
1205         * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1207 2018-01-04  Florian Weimer  <fweimer@redhat.com>
1209         [BZ #22667]
1210         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1211         Align the stack before calling exit.
1212         * stdlib/tst-makecontext-align.c: New file.
1213         * stdlib/Makefile (tests): Add tst-makecontext-align.
1215 2018-01-04  Florian Weimer  <fweimer@redhat.com>
1217         Add support for calling dlvsym from libc.so.
1218         * include/dlfcn.h (__libc_dlvsym): Declare.
1219         * elf/Makefile (tests-static-internal): Add
1220         tst-libc_dlvsym-static.
1221         (tests-internal): Add tst-libc_dlvsym.
1222         (modules-names): Add tst-libc_dlvsym-dso.
1223         (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
1224         (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
1225         (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
1226         object tst-libc_dlvsym-dso.so needs to be built before running
1227         these tests.
1228         (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
1229         * elf/Versions: Export __libc_dlvsym.
1230         * elf/dl-libc.c (struct do_dlvsym_args): New.
1231         (do_dlvsym, __libc_dlvsym): New functions.
1232         (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
1233         (_dl_open_hook2): New variable.
1234         (__libc_register_dl_open_hook): Set it.
1235         * elf/tst-libc_dlvsym-dso.c: New file.
1236         * elf/tst-libc_dlvsym-static.c: Likewise.
1237         * elf/tst-libc_dlvsym.c: Likewise.
1238         * elf/tst-libc_dlvsym.h: Likewise.
1240 2018-01-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1242         * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
1243         include <sys/mount.h>.
1245 2018-01-02  Wilco Dijkstra  <wdijkstr@arm.com>
1247         * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
1248         Add __NO_MATH_ERRNO__ check.
1250 2018-01-02  Joseph Myers  <joseph@codesourcery.com>
1252         * sysdeps/mips/mips32/libm-test-ulps: Update.
1253         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1255 2018-01-02  Florian Weimer  <fweimer@redhat.com>
1257         * misc/tst-pselect.c: Add copyright header.
1259 2018-01-02  Aurelien Jarno  <aurelien@aurel32.net>
1261         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
1262         comment.
1263         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
1264         comment.
1265         (settrlimit): Rename into setrlimit.
1266         (__sttrlimit): Rename into __setrlimit.
1268         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
1269         Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
1270         never defined in that case.
1272 2018-01-02  Joseph Myers  <joseph@codesourcery.com>
1274         * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1276         * sysdeps/arm/libm-test-ulps: Update.
1278         * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
1279         (regen-ulps): Use $(libm-tests) not $^ in shell loop.
1281 2018-01-02  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1283         * NEWS: Add cosf and sincosf to list of optimized functions.
1285 2018-01-02  Aurelien Jarno  <aurelien@aurel32.net>
1287         [BZ #22660]
1288         * sysdeps/alpha/fpu/s_fmax.S: Remove file.
1289         * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
1290         * sysdeps/alpha/fpu/s_fmin.S: Likewise.
1291         * sysdeps/alpha/fpu/s_fminf.S: Likewise.
1293 2018-01-01  Dmitry V. Levin  <ldv@altlinux.org>
1295         [BZ #22433]
1296         * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
1298         * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
1299         making a copy of it.
1301 2018-01-01  Joseph Myers  <joseph@codesourcery.com>
1303         * manual/texinfo.tex: Update to version 2017-12-26.21 with
1304         trailing whitespace removed.
1305         * scripts/config.guess: Update to version 2018-01-01.
1306         * scripts/config.sub: Update to version 2018-01-01.
1307         * scripts/move-if-change: Update from gnulib.
1309         * NEWS: Update copyright dates.
1310         * catgets/gencat.c (print_version): Likewise.
1311         * csu/version.c (banner): Likewise.
1312         * debug/catchsegv.sh: Likewise.
1313         * debug/pcprofiledump.c (print_version): Likewise.
1314         * debug/xtrace.sh (do_version): Likewise.
1315         * elf/ldconfig.c (print_version): Likewise.
1316         * elf/ldd.bash.in: Likewise.
1317         * elf/pldd.c (print_version): Likewise.
1318         * elf/sotruss.sh: Likewise.
1319         * elf/sprof.c (print_version): Likewise.
1320         * iconv/iconv_prog.c (print_version): Likewise.
1321         * iconv/iconvconfig.c (print_version): Likewise.
1322         * locale/programs/locale.c (print_version): Likewise.
1323         * locale/programs/localedef.c (print_version): Likewise.
1324         * login/programs/pt_chown.c (print_version): Likewise.
1325         * malloc/memusage.sh (do_version): Likewise.
1326         * malloc/memusagestat.c (print_version): Likewise.
1327         * malloc/mtrace.pl: Likewise.
1328         * manual/libc.texinfo: Likewise.
1329         * nptl/version.c (banner): Likewise.
1330         * nscd/nscd.c (print_version): Likewise.
1331         * nss/getent.c (print_version): Likewise.
1332         * nss/makedb.c (print_version): Likewise.
1333         * posix/getconf.c (main): Likewise.
1334         * scripts/test-installation.pl: Likewise.
1335         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1337         * All files with FSF copyright notices: Update copyright dates
1338         using scripts/update-copyrights.
1339         * locale/programs/charmap-kw.h: Regenerated.
1340         * locale/programs/locfile-kw.h: Likewise.
1342 2017-12-31  Zack Weinberg  <zackw@panix.com>
1344         * libio/bits/libio-ldbl.h: Correct check for improper
1345         inclusion.  Add own multiple include guard.
1347 2017-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1348             Dmitry V. Levin  <ldv@altlinux.org>
1350         [BZ #22625]
1351         CVE-2017-16997
1352         * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
1353         string token expansion. Check for NULL pointer or empty string possibly
1354         returned by expand_dynamic_string_token.
1355         (decompose_rpath): Check for empty path after dynamic string
1356         token expansion.
1358 2017-12-29  Dmitry V. Levin  <ldv@altlinux.org>
1360         [BZ #22433]
1361         * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
1363         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
1364         about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
1365         PTRACE_SECCOMP_GET_FILTER.  Update comments about PTRACE_SINGLESTEP
1366         and PTRACE_SYSCALL.
1367         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
1368         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1369         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1370         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1371         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1372         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1374         * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
1375         (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
1376         __ptrace_peeksiginfo_flags, ptrace): Move to ...
1377         * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
1378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1379         bits/ptrace-shared.h.
1380         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
1381         <bits/ptrace-shared.h>.
1382         (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
1383         __ptrace_peeksiginfo_flags, ptrace): Remove.
1384         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1385         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1386         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1388         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1390 2017-12-29  Aurelien Jarno  <aurelien@aurel32.net>
1392         [BZ #17804]
1393         * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
1394         end of the loop. Improve comments.
1396 2017-12-29  Zack Weinberg  <zackw@panix.com>
1398         [BZ #22615]
1399         * manual/errno.texi (Checking for Errors): Explicitly say that errno
1400         might be set on success.
1402 2017-12-29  Aurelien Jarno  <aurelien@aurel32.net>
1404         [BZ #22611]
1405         * malloc/tst-realloc.c (do_test): Remove the test checking that errno
1406         is unchanged on success.
1408 2017-12-27  Dmitry V. Levin  <ldv@altlinux.org>
1410         * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
1411         updated.
1412         * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
1413         expand_dynamic_string_token): Likewise.
1414         * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
1415         is_path argument.
1417         * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
1418         contains ':'.
1420         * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
1421         is set and name contains ':', and all code depending on these checks.
1423 2017-12-24  Zack Weinberg  <zackw@panix.com>
1425         * libio/libio.h, libio/_G_config.h: New stub headers which issue a
1426         deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
1427         respectively.
1428         * libio/libio.h: Rename the original version of this file to
1429         libio/bits/libio.h.  Error out if not included by stdio.h or the
1430         stub libio.h.
1431         * include/libio.h: Move to include/bits.  Forward to libio/bits/libio.h.
1432         * sysdeps/generic/_G_config.h: Move to top-level bits/.  Error out
1433         if not included by bits/libio.h or the stub _G_config.h.
1434         * sysdeps/unix/sysv/linux/_G_config.h: Move to
1435         sysdeps/unix/sysv/linux/bits.  Error out if not included by
1436         bits/libio.h or the stub _G_config.h.
1437         * libio/stdio.h: Include bits/libio.h, not libio.h.
1438         * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
1439         well as libio.h and _G_config.h.
1441         * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
1442         * libio/strfile.h, stdio-common/vfscanf.c
1443         * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
1444         Include stdio.h, not _G_config.h nor libio.h.
1445         * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
1446         * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
1448         * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
1450 2017-12-23  Dmitry V. Levin  <ldv@altlinux.org>
1452         [BZ #22347]
1453         * stdlib/getrandom.c (getrandom): Fix comment.
1454         * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
1456 2017-12-23  Aurelien Jarno  <aurelien@aurel32.net>
1458         [BZ #21161]
1459         * manual/arith.texi (strtoul): Fix a typo.
1461         [BZ #22596]
1462         * manual/arith.texi (finite): Fix the description of the return
1463         value.
1465 2017-12-22  Eric Blake  <ebb9@byu.net>
1467         Avoid gcc warnings on cygwin
1468         * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
1469         * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
1470         Avoid unused variable.
1472 2017-12-22  Florian Weimer  <fweimer@redhat.com>
1474         * io/Makefile (routines): Add copy_file_range.
1475         (tests): Add tst-copy_file_range.
1476         (tests-static, tests-internal): Add tst-copy_file_range-compat.
1477         * io/Versions (GLIBC_2.27): Export copy_file_range.
1478         * io/copy_file_range-compat.c: New file.
1479         * io/copy_file_range.c: Likewise.
1480         * io/tst-copy_file_range-compat.c: Likewise.
1481         * io/tst-copy_file_range.c: Likewise.
1482         * manual/llio.texi (Copying File Data): New section.
1483         * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
1484         * support/Makefile (libsupport-routines): Add support-xfstat,
1485         xftruncate, xlseek.
1486         * support/support-xfstat.c: New file.
1487         * support/xftruncate.c: Likewise.
1488         * support/xlseek.c: Likewise.
1489         * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
1490         * sysdeps/unix/sysv/linux/**.abilist: Update.
1491         * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
1493 2017-12-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1495         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1496         disable-multi-arch variant to aarch64-linux-gnu.
1498 2017-12-20  Joseph Myers  <joseph@codesourcery.com>
1500         * manual/texinfo.tex: Update to version 2017-12-18.20 with
1501         trailing whitespace removed.
1502         * scripts/config.guess: Update to version 2017-12-17.
1503         * scripts/config.sub: Update to version 2017-11-23.
1504         * scripts/install-sh: Update to version 2017-09-23.17.
1505         * scripts/move-if-change: Update to version 2017-09-13 06:45.
1507 2017-12-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1509         * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
1510         * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
1511         * sysdeps/tile/_mcount.S (__mcount): Likewise.
1512         * sysdeps/tile/crti.S (_init, _fini): Likewise.
1513         * sysdeps/tile/crtn.S: Likewise.
1514         * sysdeps/tile/dl-start.S (_start): Likewise.
1515         * sysdeps/tile/dl-trampoline.S: Likewise.
1516         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
1517         * sysdeps/tile/start.S (_start): Likewise.
1518         * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
1519         * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
1520         * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
1521         * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
1522         * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
1523         * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
1524         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
1526         * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
1527         comment.
1528         * sysdeps/tile/preconfigure: Remove tilegx folder.
1529         * sysdeps/tile/tilegx/Implies: Move definitions to ...
1530         * sysdeps/tile/Implies: ... here.
1531         * sysdeps/tile/tilegx/Makefile: Move rules to ...
1532         * sysdeps/tile/Makefile: ... here.
1533         * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
1534         * sysdeps/tile/atomic-machine.h: ... here.  Add include guards.
1535         * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
1536         * sysdeps/tile/bits/wordsize.h: ... here.
1537         * sysdeps/tile/tilegx/*: Move to ...
1538         * sysdeps/tile/*: ... here.
1539         * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
1540         * sysdeps/tile/tilegx32/Implies: ... here.
1541         * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
1542         * sysdeps/tile/tilegx64/Implies: ... here.
1543         * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
1544         to ...
1545         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1546         * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
1547         * sysdeps/unix/sysv/linux/tile/*: ... here.
1548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
1549         * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
1550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
1551         * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
1553         * README: Remove tilepro-*-linux-gnu from supported architecture.
1554         * scripts/build-many-glibcs.py: Likewise.
1555         * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
1556         * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
1557         * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
1558         elf_machine_matches_host, elf_machine_dynamic,
1559         elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
1560         howto, elf_machine_rela): Likewise.
1561         * sysdeps/tile/dl-start.S (_start): Likewise.
1562         * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
1563         * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
1564         MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
1565         * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
1566         * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
1567         * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1568         Likewise.
1569         * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
1570         * sysdeps/tile/preconfigure: Likewise.
1571         * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
1572         POINTER_CHK_GUARD): Likewise.
1573         * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
1574         * sysdeps/tile/start.S (_start): Likewise.
1575         * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
1576         Likewise.
1577         * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
1578         (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
1579         CMOVNEZ): Remove.
1580         * sysdeps/unix/sysv/linux/tile/bits/environments.h
1581         (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
1582         __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
1583         Likewise.
1584         * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
1585         * sysdeps/tile/tilepro/Implies: Remove file.
1586         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1587         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1588         * sysdeps/tile/tilepro/memchr.c: Likewise.
1589         * sysdeps/tile/tilepro/memcpy.S: Likewise.
1590         * sysdeps/tile/tilepro/memset.c: Likewise.
1591         * sysdeps/tile/tilepro/memusage.h: Likewise.
1592         * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
1593         * sysdeps/tile/tilepro/strchr.c: Likewise.
1594         * sysdeps/tile/tilepro/strchrnul.c: Likewise.
1595         * sysdeps/tile/tilepro/strlen.c: Likewise.
1596         * sysdeps/tile/tilepro/strrchr.c: Likewise.
1597         * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
1598         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
1599         * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
1600         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1601         * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
1602         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1603         Likewise.
1604         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
1605         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1606         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
1607         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
1608         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1609         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
1610         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
1611         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
1612         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
1613         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
1614         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
1615         * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
1616         * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
1617         tilepro mention in comment.
1619         * nptl/Makefile (libpthread-routines): Add pthread_join_common.
1620         * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
1621         * nptl/pthread_join_common.c: New file: common function used on
1622         pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
1623         * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
1624         * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
1625         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1626         (cleanup): Move definition to pthread_join_common.c.
1627         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
1628         Remove superflous checks.
1629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
1630         Likewise.
1632 2017-12-20  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1634         * sysdeps/aarch64/libm-test-ulps: Update.
1636 2017-12-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1638         * sysdeps/aarch64/memset.S (MEMSET): Define.
1640 2017-12-20  Florian Weimer  <fweimer@redhat.com>
1642         [BZ #22635]
1643         nptl: Provide full implementation of pthread_self in libc.so.
1644         * nptl/Makefile (routines): Add pthread_self.
1645         (libpthread-routines): Replace pthread_self with
1646         compat-pthread_self.
1647         * nptl/forward.c (pthread_self): Remove.
1648         * nptl/nptl-init.c (pthread_functions): Do not initialize
1649         ptr_pthread_self.
1650         * nptl/pthread_self.c (pthread_self): Remove weak alias.
1651         * nptl/compat-pthread_self.c: New file.
1652         * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1653         Remove ptr_pthread_self.
1655 2017-12-19  Arnold D. Robbins  <arnold@skeeve.com>
1657         * posix/regcomp.c: Fix spelling in comments.
1658         * posix/regex.h: Likewise.
1659         * posix/regex_internal.c: Likewise.
1660         * posix/regexec.c: Likewise.
1662 2017-12-19  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
1664         [BZ #22377]
1665         * math/Makefile [C++] (tests): Add test for iseqsig.
1666         * math/math.h [C++] (iseqsig): New implementation, which does
1667         not rely on __MATH_TG/__builtin_types_compatible_p.
1668         * math/test-math-iseqsig.cc: New file.
1669         * sysdeps/powerpc/powerpc64le/Makefile
1670         (CFLAGS-test-math-iseqsig.cc): New variable.
1672 2017-12-19  Dmitry V. Levin  <ldv@altlinux.org>
1674         * elf/dl-load.c (is_trusted_path): Remove.
1675         (fillin_rpath): Remove check_trusted argument and its use,
1676         all callers changed.
1678 2017-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1680         [BZ #22630]
1681         * Makeconfig (link-pie-before-libc): Replace -pie with
1682         $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
1683         * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
1684         (tst-dlopen-aout-no-pie): New.
1685         (LDFLAGS-tst-prelink): Removed.
1686         (tst-prelink-no-pie): New.
1687         (LDFLAGS-tst-main1): Removed.
1688         (tst-main1-no-pie): New.
1689         * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
1690         (tst-gmon-no-pie): New.
1692 2017-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1694         * manual/install.texi: Document that --enable-static-pie
1695         implies PIE.
1696         * INSTALL: Regenerated.
1698 2017-12-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1700         [BZ #21309]
1701         * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
1702         unsigned.
1704 2017-12-19  Joseph Myers  <joseph@codesourcery.com>
1706         Revert:
1708         2017-12-19  Joseph Myers  <joseph@codesourcery.com>
1710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1712         2017-12-19  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1714         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1715         <errno.h>.  Include "eexp.tbl".
1716         (half): New constant.
1717         (one): Likewise.
1718         (__ieee754_exp): Rewrite.
1719         (__slowexp): Remove prototype.
1720         * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1721         * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1722         * sysdeps/i386/fpu/slowexp.c: Likewise.
1723         * sysdeps/ia64/fpu/slowexp.c: Likewise.
1724         * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1725         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1726         * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1727         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1728         * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1729         * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1730         comment.
1731         * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1732         (CPPFLAGS-slowexp.c): Remove variable.
1733         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1734         Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1735         (CFLAGS-slowexp-fma.c): Remove variable.
1736         (CFLAGS-slowexp-fma4.c): Likewise.
1737         (CFLAGS-slowexp-avx.c): Likewise.
1738         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1739         define as macro.
1740         * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1741         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1742         * math/Makefile (type-double-routines): Remove slowexp.
1743         * manual/probes.texi (slowexp_p6): Remove.
1744         (slowexp_p32): Likewise.
1746 2017-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1748         * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
1749         arithmetic.
1751         * lib/glob.c (glob): Do not pass NULL to mempcpy.
1753 2017-12-19  Joseph Myers  <joseph@codesourcery.com>
1755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1757 2017-12-19  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
1759         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1760         <errno.h>.  Include "eexp.tbl".
1761         (half): New constant.
1762         (one): Likewise.
1763         (__ieee754_exp): Rewrite.
1764         (__slowexp): Remove prototype.
1765         * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1766         * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1767         * sysdeps/i386/fpu/slowexp.c: Likewise.
1768         * sysdeps/ia64/fpu/slowexp.c: Likewise.
1769         * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1770         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1771         * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1772         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1773         * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1774         * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1775         comment.
1776         * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1777         (CPPFLAGS-slowexp.c): Remove variable.
1778         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1779         Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1780         (CFLAGS-slowexp-fma.c): Remove variable.
1781         (CFLAGS-slowexp-fma4.c): Likewise.
1782         (CFLAGS-slowexp-avx.c): Likewise.
1783         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1784         define as macro.
1785         * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1786         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1787         * math/Makefile (type-double-routines): Remove slowexp.
1788         * manual/probes.texi (slowexp_p6): Remove.
1789         (slowexp_p32): Likewise.
1791 2017-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1792             James Clarke <jrtc27@jrtc27.com>
1794         [BZ #22603]
1795         * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
1796         addition.
1798 2017-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1800         [BZ #22605]
1801         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
1802         code.
1804 2017-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1806         [BZ #22563]
1807         * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1808         * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
1809         * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1810         * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
1811         to feature_1.
1813 2017-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1815         [BZ #22563]
1816         * bits/types/__cancel_jmp_buf_tag.h: New file.
1817         * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
1818         * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
1819         * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
1820         * nptl/Makefile (headers): Add
1821         bits/types/__cancel_jmp_buf_tag.h.
1822         * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
1823         (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
1824         * sysdeps/nptl/pthread.h: Include
1825         <bits/types/__cancel_jmp_buf_tag.h>.
1826         (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
1827         __cancel_jmp_buf.
1828         * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
1830 2017-12-18  H.J. Lu  <hongjiu.lu@intel.com>
1832         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1833         --enable-static-pie variants to x86_64, x32 and i686.
1835 2017-12-19  Joseph Myers  <joseph@codesourcery.com>
1837         [BZ #22631]
1838         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
1839         argument for attrubutes.  All callers changed.
1840         (__inline_mathop1): Likewise.  All callers changed.
1841         (__inline_mathop): Likewise.  All callers changed.
1842         [__USE_MISC] (scalbn): Use __inline_forward instead of
1843         __inline_forward_c.
1844         [__USE_ISOC99] (scalbln): Likewise.
1845         [__USE_ISOC99] (nearbyint): Likewise.
1846         [__USE_ISOC99] (lrint): Likewise.
1847         [__USE_MISC] (scalbnf): Likewise.
1848         [__USE_ISOC99] (scalblnf): Likewise.
1849         [__USE_ISOC99] (nearbyintf): Likewise.
1850         [__USE_ISOC99] (lrintf): Likewise.
1851         [__USE_MISC] (scalbnl): Likewise.
1852         [__USE_ISOC99] (scalblnl): Likewise.
1853         [__USE_ISOC99] (nearbyintl): Likewise.
1854         [__USE_ISOC99] (lrintl): Likewise.
1855         * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
1856         __inline_mathop and __m81_defun changed.
1858         * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
1859         CPU or FPU for ARM hard-float configurations.
1861 2017-12-18  Joseph Myers  <joseph@codesourcery.com>
1863         * nptl/tst-attr3.c: Include <libc-diag.h>.
1864         (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
1866         * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
1868         * string/tester.c (test_strncat): Also disable -Warray-bounds
1869         warnings for two tests.
1871 2017-12-18  H.J. Lu  <hongjiu.lu@intel.com>
1873         [BZ #22614]
1874         * Makeconfig (no-pie-ldflag): Set to -no-pie only if
1875         $(cc-pie-default) == yes.
1876         * config.make.in (cc-pie-default): New.
1877         * configure.ac (libc_cv_pie_default): Renamed to ...
1878         (libc_cv_cc_pie_default): This.
1879         (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
1880         * configure: Regenerated.
1882 2017-12-18  Florian Weimer  <fweimer@redhat.com>
1884         [BZ #20204]
1885         ld.so: Harden dl-libc/libdl hooks.
1886         * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
1887         (rtld_active): New function.
1888         * dlfcn/dladdr.c (__dladdr): Call it.
1889         * dlfcn/dladdr1.c (__dladdr1): Likewise.
1890         * dlfcn/dlclose.c (__dlcose): Likewise.
1891         * dlfcn/dlerror.c (__dlerror): Likewise.
1892         * dlfcn/dlinfo.c (__dlinfo): Likewise.
1893         * dlfcn/dlmopen.c (__dlmopen): Likewise.
1894         * dlfcn/dlopen.c (__dlopen): Likewise.
1895         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1896         * dlfcn/dlsym.c (__dlsym): Likewise.
1897         * dlfcn/dlvsym.c (__dlvsym): Likewise.
1898         * libio/vtables.c (_IO_vtable_check): Likewise.
1899         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
1900         (__libc_dlclose): Likewise.
1901         * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
1902         assignment.
1904 2017-12-18  Joseph Myers  <joseph@codesourcery.com>
1906         [BZ #22446]
1907         * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
1908         buffers for readlink input and output.
1910 2017-12-18  Sergei Trofimovich  <slyfox@gentoo.org>
1912         [BZ #22624]
1913         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
1914         inhibit_stack_protector.
1916         [BZ #22624]
1917         * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
1918         inhibit_stack_protector.
1920 2017-12-18  Dmitry V. Levin  <ldv@altlinux.org>
1922         [BZ #22627]
1923         * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
1924         code and invocation.
1926 2017-12-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1928         * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
1930 2017-12-16  Aurelien Jarno  <aurelien@aurel32.net>
1932         [BZ #22505]
1933         * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
1935 2017-12-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1937         * sysdeps/s390/fpu/libm-test-ulps: Update.
1939 2017-12-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1943 2017-12-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1945         * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
1946         constants to s_sincosf.h file.
1947         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1948         * sysdeps/ieee754/flt-32/s_sincosf.c: New
1949         implementation.
1950         * sysdeps/ieee754/flt-32/s_sincosf.h:
1951         New file.
1953 2017-12-12  Carlos O'Donell  <carlos@redhat.com>
1955         [BZ #14681]
1956         * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
1957         before mtrace.
1959 2017-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1961         [BZ #19574]
1962         * INSTALL: Regenerated.
1963         * Makeconfig (real-static-start-installed-name): New.
1964         (pic-default): Updated for --enable-static-pie.
1965         (pie-default): New for --enable-static-pie.
1966         (default-pie-ldflag): Likewise.
1967         (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
1968         with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
1969         Replace $(static-start-installed-name) with
1970         $(real-static-start-installed-name).
1971         (+prectorT): Updated for --enable-static-pie.
1972         (+postctorT): Likewise.
1973         (CFLAGS-.o): Add $(pie-default).
1974         (CFLAGS-.op): Likewise.
1975         * NEWS: Mention --enable-static-pie.
1976         * config.h.in (ENABLE_STATIC_PIE): New.
1977         * configure.ac (--enable-static-pie): New configure option.
1978         (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
1979         (have-static-pie): Likewise.
1980         Enable static PIE if linker supports --no-dynamic-linker.
1981         (ENABLE_STATIC_PIE): New AC_DEFINE.
1982         (enable-static-pie): New LIBC_CONFIG_VAR.
1983         * configure: Regenerated.
1984         * csu/Makefile (omit-deps): Add r$(start-installed-name) and
1985         gr$(start-installed-name) for --enable-static-pie.
1986         (extra-objs): Likewise.
1987         (install-lib): Likewise.
1988         (extra-objs): Add static-reloc.o and static-reloc.os
1989         ($(objpfx)$(start-installed-name)): Also depend on
1990         $(objpfx)static-reloc.o.
1991         ($(objpfx)r$(start-installed-name)): New.
1992         ($(objpfx)g$(start-installed-name)): Also depend on
1993         $(objpfx)static-reloc.os.
1994         ($(objpfx)gr$(start-installed-name)): New.
1995         * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
1996         in libc.a.
1997         * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
1998         initimage.
1999         * csu/static-reloc.c: New file.
2000         * elf/Makefile (routines): Add dl-reloc-static-pie.
2001         (elide-routines.os): Likewise.
2002         (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
2003         (tst-tls1-static-non-pie-no-pie): New.
2004         * elf/dl-reloc-static-pie.c: New file.
2005         * elf/dl-support.c (_dl_get_dl_main_map): New function.
2006         * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
2007         STATIC_PIE_BOOTSTRAP.
2008         * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2009         * gmon/Makefile (tests): Add tst-gmon-static-pie.
2010         (tests-static): Likewise.
2011         (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
2012         (tst-gmon-static-no-pie): New.
2013         (CFLAGS-tst-gmon-static-pie.c): Likewise.
2014         (CRT-tst-gmon-static-pie): Likewise.
2015         (tst-gmon-static-pie-ENV): Likewise.
2016         (tests-special): Likewise.
2017         ($(objpfx)tst-gmon-static-pie.out): Likewise.
2018         (clean-tst-gmon-static-pie-data): Likewise.
2019         ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
2020         * gmon/tst-gmon-static-pie.c: New file.
2021         * manual/install.texi: Document --enable-static-pie.
2022         * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
2023         (_dl_get_dl_main_map): Likewise.
2024         * sysdeps/i386/configure.ac: Check if linker supports static PIE.
2025         * sysdeps/x86_64/configure.ac: Likewise.
2026         * sysdeps/i386/configure: Regenerated.
2027         * sysdeps/x86_64/configure: Likewise.
2028         * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
2029         (ASFLAGS-.op): Likewise.
2031 2017-12-15  Joseph Myers  <joseph@codesourcery.com>
2033         * io/Makefile (tst-open-tmpfile-ARGS): New variable.
2034         * posix/tst-mmap-offset.c (fname): Use /tmp.
2035         * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
2037 2017-12-15  Steve Ellcey  <sellcey@cavium.com>
2039         * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
2041 2017-12-15  Thomas Schwinge  <thomas@codesourcery.com>
2043         * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
2044         errno.
2046 2017-12-15  Joseph Myers  <joseph@codesourcery.com>
2048         * scripts/build-many-glibcs.py (Context.add_all_configs): Use
2049         --with-float=hard for arm-linux-gnueabihf configurations.
2051         [BZ #14121]
2052         * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
2053         (%.mo): Change to $(objpfx)%.mo.  Use $(make-target-directory).
2054         ($(mo-installed)): Use $(objpfx)%.mo.
2055         (realclean): Remove rule.
2057         * po/Makefile (linguas): Remove rule and dependencies.
2058         (linguas.mo): Likewise.
2059         (.PHONY): Do not depend on linguas and linguas.mo.
2060         (podir): Remove variable.
2061         (pofiles): Likewise.
2062         [$(pofiles)] (%.po): Remove rule.
2064         * sysdeps/sparc/sparc32/Makefile
2065         ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
2066         start-of-line whitespace in argument of echo.
2067         * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
2068         with whitespace.  Generate __wrap_.udiv alias.
2069         * sysdeps/sparc/sparc32/rem.S: Regenerated.
2070         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2071         * sysdeps/sparc/sparc32/udiv.S: Likewise.
2072         * sysdeps/sparc/sparc32/urem.S: Likewise.
2074 2017-12-15  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2076         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
2077         for aligned inputs.
2079 2017-12-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2081         * benchtests/bench-strcmp.c: Print output in JSON format.
2083         * elf/dl-tunables.list: Remove redundant SXID_ERASE.
2085 2017-12-14  Florian Weimer  <fweimer@redhat.com>
2087         [BZ #22607]
2088         CVE-2017-1000409
2089         * elf/dl-load.c (_dl_init_paths): Compute number of components in
2090         the expanded path string.
2092 2017-12-14  Florian Weimer  <fweimer@redhat.com>
2094         [BZ #22606]
2095         CVE-2017-1000408
2096         * elf/dl-load.c (system_dirs): Update comment.
2097         (nsystem_dirs_len): Use array_length.
2098         (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
2100 2017-12-14  Florian Weimer  <fweimer@redhat.com>
2102         Simplify compiling most of support/ outside of glibc.
2103         * support/check_addrinfo.c: Include <string.h>.
2104         * support/check_dns_packet.c: Likewise.
2105         * support/check_hostent.c: Likewise.
2106         * support/support_can_chroot.c: Include <support/xunistd.h>.
2107         * support/support_format_addrinfo.c: Include <stdlib.h>
2108         * support/support_format_dns_packet.c: Include <stdbool.h>.
2109         * support/support_format_hostent.c: Include <stdlib.h>.
2110         * support/support_format_netent.c: Likewise.
2111         * support/support_write_string.c: Include <support/xunistd.h>.
2112         * support/xdlfcn.c: Include <stddef.h>.
2114 2017-12-14  H.J. Lu  <hongjiu.lu@intel.com>
2116         * sysdeps/x86_64/fpu/s_cosf.S: Removed.
2118 2017-12-14  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
2119             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2121         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2122         (sysdeps_routines): Add memset-niagara7.
2123         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
2124         Likewise.
2125         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
2126         file.
2127         * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
2128         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
2129         (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
2130         * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
2131         Add niagara7 option.
2132         * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
2133         memset.
2135         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2136         (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
2137         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
2138         Likewise.
2139         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
2140         New file.
2141         * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
2142         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
2143         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
2144         (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
2145         and __memmove_niagara7.
2146         * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
2147         Add niagara7 option.
2148         * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
2149         * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
2150         * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
2151         * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
2152         * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
2154 2017-12-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
2156         * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
2157         * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
2158         * sysdeps/sparc/sparc64/memmove.S: Likewise.
2159         * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
2161         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
2162         * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
2163         _dl_sparc_cap_flags array.
2164         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
2166 2017-12-13  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2168         * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
2169         time whenever possible.
2171 2017-12-12  Carlos O'Donell  <carlos@redhat.com>
2173         * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
2174         (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
2176 2017-12-12  Joseph Myers  <joseph@codesourcery.com>
2178         * soft-fp/fmadf4.c: Move to ....
2179         * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
2180         * soft-fp/fmasf4.c: Move to ....
2181         * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
2182         * soft-fp/fmatf4.c: Move to ....
2183         * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
2184         * sysdeps/ieee754/soft-fp/Makefile: New file.
2185         * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
2186         * sysdeps/arm/preconfigure: Regenerated.
2187         * sysdeps/arm/nofpu/Implies: New file.
2188         * sysdeps/arm/s_fma.c: Remove file.
2189         * sysdeps/arm/s_fmaf.c: Likewise.
2190         * sysdeps/m68k/coldfire/nofpu/Implies: New file.
2191         * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
2192         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2193         * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
2194         * sysdeps/microblaze/s_fma.c: Remove file.
2195         * sysdeps/microblaze/s_fmaf.c: Likewise.
2196         * sysdeps/mips/mips32/nofpu/Implies: New file.
2197         * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
2198         * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
2199         * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
2200         * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
2201         * sysdeps/mips/ieee754/s_fma.c: Remove file.
2202         * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
2203         * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
2204         implementation.
2205         * sysdeps/nios2/Implies: Add ieee754/soft-fp.
2206         * sysdeps/nios2/s_fma.c: Remove file.
2207         * sysdeps/nios2/s_fmaf.c: Likewise.
2208         * sysdeps/sh/nofpu/Implies: New file.
2209         * sysdeps/sh/s_fma.c: Remove file.
2210         * sysdeps/sh/s_fmaf.c: Likewise.
2211         * sysdeps/tile/Implies: Add ieee754/soft-fp.
2212         * sysdeps/tile/s_fma.c: Remove file.
2213         * sysdeps/tile/s_fmaf.c: Likewise.
2215 2017-12-12  H.J. Lu  <hongjiu.lu@intel.com>
2217         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2218         Add s_cosf-sse2 and s_cosf-fma.
2219         (CFLAGS-s_cosf-fma.c): New.
2220         * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
2221         * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
2222         * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
2224 2017-12-12  Steve Ellcey  <sellcey@cavium.com>
2226         * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
2228 2017-12-12  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2230         * libio/Makefile (tests): Add tst-bz22415.
2231         (tst-bz22415-ENV): New rule.
2232         (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
2233         (tests-special): Add tst-bz22415-mem.out.
2234         ($(objpfx)tst-bz22415-mem.out): New rule.
2235         * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
2236         in case of a successful seek operation.
2237         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2238         (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
2239         buffer is required.
2240         * libio/tst-bz22415.c: New test.
2242         * sysdeps/ia64/fpu/libm-test-ulps: Update.
2244 2017-12-12  James Clarke  <jrtc27@jrtc27.com>
2246         * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
2247         __IPC_64 to 0 to avoid IPC_64 being set.
2249 2017-12-12  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2251         [BZ #22593]
2252         * math/bits/mathcalls.h (nextafter): Remove const.
2253         (nexttoward): Likewise.
2255 2017-12-12  Joseph Myers  <joseph@codesourcery.com>
2257         * configure.ac (--with-fp): Remove configure option.
2258         (with_fp_cond): New variable.
2259         (libc_cv_with_fp): New configure test.  Use this variable instead
2260         of with_fp.
2261         * configure: Regenerated.
2262         * config.make.in (with-fp): Use @libc_cv_with_fp@.
2263         * manual/install.texi (Configuring and compiling): Remove
2264         --without-fp.
2265         * INSTALL: Regenerated.
2266         * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
2267         * sysdeps/mips/preconfigure (with_fp_cond): Define.
2268         * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
2269         * sysdeps/sh/preconfigure (with_fp_cond): Define.
2270         * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
2271         use --without-fp to configure glibc.
2273 2017-12-12  Rical Jasan  <ricaljasan@pacific.net>
2275         * manual/locale.texi (nl_langinfo): Fix a typo.
2277 2017-12-12  Aurelien Jarno  <aurelien@aurel32.net>
2279         [BZ #22588]
2280         * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
2282 2017-12-11  H.J. Lu  <hongjiu.lu@intel.com>
2284         * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
2285         (CFLAGS-argp-parse.c): Likewise.
2286         (CFLAGS-argp-fmtstream.c): Likewise.
2287         * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
2288         (CPPFLAGS-sha512-crypt.c): Likewise.
2289         (CPPFLAGS-md5-crypt.c): Likewise.
2290         * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
2291         (CFLAGS-stack_chk_fail_local.c): Likewise.
2292         (CFLAGS-backtrace.c): Likewise.
2293         (CFLAGS-sprintf_chk.c): Likewise.
2294         (CFLAGS-snprintf_chk.c): Likewise.
2295         (CFLAGS-vsprintf_chk.c): Likewise.
2296         (CFLAGS-vsnprintf_chk.c): Likewise.
2297         (CFLAGS-asprintf_chk.c): Likewise.
2298         (CFLAGS-vasprintf_chk.c): Likewise.
2299         (CFLAGS-obprintf_chk.c): Likewise.
2300         (CFLAGS-dprintf_chk.c): Likewise.
2301         (CFLAGS-vdprintf_chk.c): Likewise.
2302         (CFLAGS-printf_chk.c): Likewise.
2303         (CFLAGS-fprintf_chk.c): Likewise.
2304         (CFLAGS-vprintf_chk.c): Likewise.
2305         (CFLAGS-vfprintf_chk.c): Likewise.
2306         (CFLAGS-gets_chk.c): Likewise.
2307         (CFLAGS-fgets_chk.c): Likewise.
2308         (CFLAGS-fgets_u_chk.c): Likewise.
2309         (CFLAGS-fread_chk.c): Likewise.
2310         (CFLAGS-fread_u_chk.c): Likewise.
2311         (CFLAGS-swprintf_chk.c): Likewise.
2312         (CFLAGS-vswprintf_chk.c): Likewise.
2313         (CFLAGS-wprintf_chk.c): Likewise.
2314         (CFLAGS-fwprintf_chk.c): Likewise.
2315         (CFLAGS-vwprintf_chk.c): Likewise.
2316         (CFLAGS-vfwprintf_chk.c): Likewise.
2317         (CFLAGS-fgetws_chk.c): Likewise.
2318         (CFLAGS-fgetws_u_chk.c): Likewise.
2319         (CFLAGS-read_chk.c): Likewise.
2320         (CFLAGS-pread_chk.c): Likewise.
2321         (CFLAGS-pread64_chk.c): Likewise.
2322         (CFLAGS-recv_chk.c): Likewise.
2323         (CFLAGS-recvfrom_chk.c): Likewise.
2324         (CFLAGS-tst-longjmp_chk.c): Likewise.
2325         (CPPFLAGS-tst-longjmp_chk.c): Likewise.
2326         (CFLAGS-tst-longjmp_chk2.c): Likewise.
2327         (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
2328         (CFLAGS-tst-longjmp_chk3.c): Likewise.
2329         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
2330         (CFLAGS-tst-chk1.c): Likewise.
2331         (CFLAGS-tst-chk2.c): Likewise.
2332         (CFLAGS-tst-chk3.c): Likewise.
2333         (CFLAGS-tst-chk4.cc): Likewise.
2334         (CFLAGS-tst-chk5.cc): Likewise.
2335         (CFLAGS-tst-chk6.cc): Likewise.
2336         (CFLAGS-tst-lfschk1.c): Likewise.
2337         (CFLAGS-tst-lfschk2.c): Likewise.
2338         (CFLAGS-tst-lfschk3.c): Likewise.
2339         (CFLAGS-tst-lfschk4.cc): Likewise.
2340         (CFLAGS-tst-lfschk5.cc): Likewise.
2341         (CFLAGS-tst-lfschk6.cc): Likewise.
2342         (CFLAGS-tst-ssp-1.c): Likewise.
2343         * dirent/Makefile (CFLAGS-scandir.c): Likewise.
2344         (CFLAGS-scandir64.c): Likewise.
2345         (CFLAGS-scandir-tail.c): Likewise.
2346         (CFLAGS-scandir64-tail.c): Likewise.
2347         * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
2348         (CFLAGS-dl-tunables.c): Likewise.
2349         (CFLAGS-dl-runtime.c): Likewise.
2350         (CFLAGS-dl-lookup.c): Likewise.
2351         (CFLAGS-dl-iterate-phdr.c): Likewise.
2352         (CFLAGS-vismain.c): Likewise.
2353         (CFLAGS-tst-linkall-static.c): Likewise.
2354         (CFLAGS-tst-linkall-static.c): Likewise.
2355         (CPPFLAGS-dl-load.c): Likewise.
2356         (CFLAGS-ldconfig.c): Likewise.
2357         (CFLAGS-dl-cache.c): Likewise.
2358         (CFLAGS-cache.c): Likewise.
2359         (CFLAGS-rtld.c): Likewise.
2360         (CFLAGS-multiload.c): Likewise.
2361         (CFLAGS-filtmod1.c): Likewise.
2362         (CFLAGS-tst-align.c): Likewise.
2363         (CFLAGS-tst-align2.c): Likewise.
2364         (CFLAGS-tst-alignmod.c): Likewise.
2365         (CFLAGS-tst-alignmod2.c): Likewise.
2366         (CPPFLAGS-tst-execstack.c): Likewise.
2367         (CFLAGS-tst-ptrguard1-static.c): Likewise.
2368         (CFLAGS-tst-latepthreadmod.c): Likewise.
2369         * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
2370         (CFLAGS-getgrnam_r.c): Likewise.
2371         (CFLAGS-getgrent_r.c): Likewise.
2372         (CFLAGS-getgrent.c): Likewise.
2373         (CFLAGS-fgetgrent.c): Likewise.
2374         (CFLAGS-fgetgrent_r.c): Likewise.
2375         (CFLAGS-putgrent.c): Likewise.
2376         (CFLAGS-initgroups.c): Likewise.
2377         (CFLAGS-getgrgid.c): Likewise.
2378         * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
2379         (CFLAGS-getsgent.c): Likewise.
2380         (CFLAGS-fgetsgent.c): Likewise.
2381         (CFLAGS-fgetsgent_r.c): Likewise.
2382         (CFLAGS-putsgent.c): Likewise.
2383         (CFLAGS-getsgnam.c): Likewise.
2384         (CFLAGS-getsgnam_r.c): Likewise.
2385         * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
2386         (CFLAGS-iconv_charmap.c): Likewise.
2387         (CFLAGS-dummy-repertoire.c): Likewise.
2388         (CFLAGS-charmap.c): Likewise.
2389         (CFLAGS-linereader.c): Likewise.
2390         (CFLAGS-simple-hash.c): Likewise.
2391         (CFLAGS-gconv_conf.c): Likewise.
2392         (CFLAGS-iconvconfig.c): Likewise.
2393         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2394         (CFLAGS-gethstbyad.c): Likewise.
2395         (CFLAGS-gethstbynm_r.c): Likewise.
2396         (CFLAGS-gethstbynm.c): Likewise.
2397         (CFLAGS-gethstbynm2_r.c): Likewise.
2398         (CFLAGS-gethstbynm2.c): Likewise.
2399         (CFLAGS-gethstent_r.c): Likewise.
2400         (CFLAGS-gethstent.c): Likewise.
2401         (CFLAGS-rcmd.c): Likewise.
2402         (CFLAGS-getnetbynm_r.c): Likewise.
2403         (CFLAGS-getnetbynm.c): Likewise.
2404         (CFLAGS-getnetbyad_r.c): Likewise.
2405         (CFLAGS-getnetbyad.c): Likewise.
2406         (CFLAGS-getnetent_r.c): Likewise.
2407         (CFLAGS-getnetent.c): Likewise.
2408         (CFLAGS-getaliasent_r.c): Likewise.
2409         (CFLAGS-getaliasent.c): Likewise.
2410         (CFLAGS-getrpcent_r.c): Likewise.
2411         (CFLAGS-getrpcent.c): Likewise.
2412         (CFLAGS-getservent_r.c): Likewise.
2413         (CFLAGS-getservent.c): Likewise.
2414         (CFLAGS-getprtent_r.c): Likewise.
2415         (CFLAGS-getprtent.c): Likewise.
2416         (CFLAGS-either_ntoh.c): Likewise.
2417         (CFLAGS-either_hton.c): Likewise.
2418         (CFLAGS-getnetgrent.c): Likewise.
2419         (CFLAGS-getnetgrent_r.c): Likewise.
2420         (CFLAGS-tst-checks-posix.c): Likewise.
2421         (CFLAGS-tst-sockaddr.c): Likewise.
2422         * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
2423         (CFLAGS-tst-translit.c): Likewise.
2424         (CFLAGS-tst-gettext2.c): Likewise.
2425         (CFLAGS-tst-codeset.c): Likewise.
2426         (CFLAGS-tst-gettext3.c): Likewise.
2427         (CFLAGS-tst-gettext4.c): Likewise.
2428         (CFLAGS-tst-gettext5.c): Likewise.
2429         (CFLAGS-tst-gettext6.c): Likewise.
2430         * io/Makefile (CFLAGS-open.c): Likewise.
2431         (CFLAGS-open64.c): Likewise.
2432         (CFLAGS-creat.c): Likewise.
2433         (CFLAGS-creat64.c): Likewise.
2434         (CFLAGS-fcntl.c): Likewise.
2435         (CFLAGS-poll.c): Likewise.
2436         (CFLAGS-ppoll.c): Likewise.
2437         (CFLAGS-lockf.c): Likewise.
2438         (CFLAGS-statfs.c): Likewise.
2439         (CFLAGS-fstatfs.c): Likewise.
2440         (CFLAGS-statvfs.c): Likewise.
2441         (CFLAGS-fstatvfs.c): Likewise.
2442         (CFLAGS-fts.c): Likewise.
2443         (CFLAGS-fts64.c): Likewise.
2444         (CFLAGS-ftw.c): Likewise.
2445         (CFLAGS-ftw64.c): Likewise.
2446         (CFLAGS-lockf.c): Likewise.
2447         (CFLAGS-posix_fallocate.c): Likewise.
2448         (CFLAGS-posix_fallocate64.c): Likewise.
2449         (CFLAGS-fallocate.c): Likewise.
2450         (CFLAGS-fallocate64.c): Likewise.
2451         (CFLAGS-read.c): Likewise.
2452         (CFLAGS-write.c): Likewise.
2453         (CFLAGS-test-stat.c): Likewise.
2454         (CFLAGS-test-lfs.c): Likewise.
2455         * libio/Makefile (CFLAGS-fileops.c): Likewise.
2456         (CFLAGS-fputc.c): Likewise.
2457         (CFLAGS-fputwc.c): Likewise.
2458         (CFLAGS-freopen64.c): Likewise.
2459         (CFLAGS-freopen.c): Likewise.
2460         (CFLAGS-fseek.c): Likewise.
2461         (CFLAGS-fseeko64.c): Likewise.
2462         (CFLAGS-fseeko.c): Likewise.
2463         (CFLAGS-ftello64.c): Likewise.
2464         (CFLAGS-ftello.c): Likewise.
2465         (CFLAGS-fwide.c): Likewise.
2466         (CFLAGS-genops.c): Likewise.
2467         (CFLAGS-getc.c): Likewise.
2468         (CFLAGS-getchar.c): Likewise.
2469         (CFLAGS-getwc.c): Likewise.
2470         (CFLAGS-getwchar.c): Likewise.
2471         (CFLAGS-iofclose.c): Likewise.
2472         (CFLAGS-iofflush.c): Likewise.
2473         (CFLAGS-iofgetpos64.c): Likewise.
2474         (CFLAGS-iofgetpos.c): Likewise.
2475         (CFLAGS-iofgets.c): Likewise.
2476         (CFLAGS-iofgetws.c): Likewise.
2477         (CFLAGS-iofputs.c): Likewise.
2478         (CFLAGS-iofputws.c): Likewise.
2479         (CFLAGS-iofread.c): Likewise.
2480         (CFLAGS-iofsetpos64.c): Likewise.
2481         (CFLAGS-iofsetpos.c): Likewise.
2482         (CFLAGS-ioftell.c): Likewise.
2483         (CFLAGS-iofwrite.c): Likewise.
2484         (CFLAGS-iogetdelim.c): Likewise.
2485         (CFLAGS-iogetline.c): Likewise.
2486         (CFLAGS-iogets.c): Likewise.
2487         (CFLAGS-iogetwline.c): Likewise.
2488         (CFLAGS-ioputs.c): Likewise.
2489         (CFLAGS-ioseekoff.c): Likewise.
2490         (CFLAGS-ioseekpos.c): Likewise.
2491         (CFLAGS-iosetbuffer.c): Likewise.
2492         (CFLAGS-iosetvbuf.c): Likewise.
2493         (CFLAGS-ioungetc.c): Likewise.
2494         (CFLAGS-ioungetwc.c): Likewise.
2495         (CFLAGS-oldfileops.c): Likewise.
2496         (CFLAGS-oldiofclose.c): Likewise.
2497         (CFLAGS-oldiofgetpos64.c): Likewise.
2498         (CFLAGS-oldiofgetpos.c): Likewise.
2499         (CFLAGS-oldiofsetpos64.c): Likewise.
2500         (CFLAGS-oldiofsetpos.c): Likewise.
2501         (CFLAGS-peekc.c): Likewise.
2502         (CFLAGS-putc.c): Likewise.
2503         (CFLAGS-putchar.c): Likewise.
2504         (CFLAGS-putwc.c): Likewise.
2505         (CFLAGS-putwchar.c): Likewise.
2506         (CFLAGS-rewind.c): Likewise.
2507         (CFLAGS-wfileops.c): Likewise.
2508         (CFLAGS-wgenops.c): Likewise.
2509         (CFLAGS-oldiofopen.c): Likewise.
2510         (CFLAGS-iofopen.c): Likewise.
2511         (CFLAGS-iofopen64.c): Likewise.
2512         (CFLAGS-oldtmpfile.c): Likewise.
2513         (CFLAGS-tst_putwc.c): Likewise.
2514         * locale/Makefile (CFLAGS-md5.c): Likewise.
2515         (CFLAGS-charmap.c): Likewise.
2516         (CFLAGS-locfile.c): Likewise.
2517         (CFLAGS-charmap-dir.c): Likewise.
2518         * login/Makefile (CFLAGS-grantpt.c): Likewise.
2519         (CFLAGS-getpt.c): Likewise.
2520         (CFLAGS-pt_chown.c): Likewise.
2521         * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
2522         (CFLAGS-obstack.c): Likewise.
2523         * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
2524         (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
2525         (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
2526         (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
2527         (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
2528         (CFLAGS-test-tgmath.c): Likewise.
2529         (CFLAGS-test-tgmath2.c): Likewise.
2530         (CFLAGS-test-tgmath-ret.c): Likewise.
2531         (CFLAGS-test-powl.c): Likewise.
2532         (CFLAGS-test-snan.c): Likewise.
2533         (CFLAGS-test-signgam-finite.c): Likewise.
2534         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2535         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2536         (CFLAGS-test-signgam-uchar.c): Likewise.
2537         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2538         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2539         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2540         (CFLAGS-test-signgam-uint.c): Likewise.
2541         (CFLAGS-test-signgam-uint-init.c): Likewise.
2542         (CFLAGS-test-signgam-uint-static.c): Likewise.
2543         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2544         (CFLAGS-test-signgam-ullong.c): Likewise.
2545         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2546         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2547         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2548         (CFLAGS-test-math-cxx11.cc): Likewise.
2549         (CFLAGS-test-math-isinff.cc): Likewise.
2550         (CFLAGS-test-math-iszero.cc): Likewise.
2551         (CFLAGS-test-math-issignaling.cc): Likewise.
2552         (CFLAGS-test-math-iscanonical.cc): Likewise.
2553         (CFLAGS-test-iszero-excess-precision.c): Likewise.
2554         (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
2555         (CFLAGS-test-flt-eval-method.c): Likewise.
2556         (CFLAGS-test-fe-snans-always-signal.c): Likewise.
2557         (CFLAGS-test-finite-macros.c): Likewise.
2558         * misc/Makefile (CFLAGS-select.c): Likewise.
2559         (CFLAGS-tsearch.c): Likewise.
2560         (CFLAGS-lsearch.c): Likewise.
2561         (CFLAGS-pselect.c): Likewise.
2562         (CFLAGS-readv.c): Likewise.
2563         (CFLAGS-writev.c): Likewise.
2564         (CFLAGS-preadv.c): Likewise.
2565         (CFLAGS-preadv64.c): Likewise.
2566         (CFLAGS-pwritev.c): Likewise.
2567         (CFLAGS-pwritev64.c): Likewise.
2568         (CFLAGS-preadv2.c): Likewise.
2569         (CFLAGS-preadv64v2.c): Likewise.
2570         (CFLAGS-pwritev2.c): Likewise.
2571         (CFLAGS-pwritev64v2.c): Likewise.
2572         (CFLAGS-usleep.c): Likewise.
2573         (CFLAGS-syslog.c): Likewise.
2574         (CFLAGS-error.c): Likewise.
2575         (CFLAGS-getpass.c): Likewise.
2576         (CFLAGS-mkstemp.c): Likewise.
2577         (CFLAGS-mkstemp64.c): Likewise.
2578         (CFLAGS-getsysstats.c): Likewise.
2579         (CFLAGS-getusershell.c): Likewise.
2580         (CFLAGS-err.c): Likewise.
2581         (CFLAGS-tst-tsearch.c): Likewise.
2582         (CFLAGS-msync.c): Likewise.
2583         (CFLAGS-fdatasync.c): Likewise.
2584         (CFLAGS-fsync.c): Likewise.
2585         * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
2586         (CFLAGS-unwind.c): Likewise.
2587         (CFLAGS-unwind-forcedunwind.c): Likewise.
2588         (CFLAGS-pthread_cancel.c): Likewise.
2589         (CFLAGS-pthread_setcancelstate.c): Likewise.
2590         (CFLAGS-pthread_setcanceltype.c): Likewise.
2591         (CFLAGS-cancellation.c): Likewise.
2592         (CFLAGS-libc-cancellation.c): Likewise.
2593         (CFLAGS-pthread_exit.c): Likewise.
2594         (CFLAGS-forward.c): Likewise.
2595         (CFLAGS-pthread_testcancel.c): Likewise.
2596         (CFLAGS-pthread_join.c): Likewise.
2597         (CFLAGS-pthread_timedjoin.c): Likewise.
2598         (CFLAGS-pthread_once.c): Likewise.
2599         (CFLAGS-pthread_cond_wait.c): Likewise.
2600         (CFLAGS-sem_wait.c): Likewise.
2601         (CFLAGS-sem_timedwait.c): Likewise.
2602         (CFLAGS-fcntl.c): Likewise.
2603         (CFLAGS-lockf.c): Likewise.
2604         (CFLAGS-pread.c): Likewise.
2605         (CFLAGS-pread64.c): Likewise.
2606         (CFLAGS-pwrite.c): Likewise.
2607         (CFLAGS-pwrite64.c): Likewise.
2608         (CFLAGS-wait.c): Likewise.
2609         (CFLAGS-waitpid.c): Likewise.
2610         (CFLAGS-sigwait.c): Likewise.
2611         (CFLAGS-msgrcv.c): Likewise.
2612         (CFLAGS-msgsnd.c): Likewise.
2613         (CFLAGS-tcdrain.c): Likewise.
2614         (CFLAGS-open.c): Likewise.
2615         (CFLAGS-open64.c): Likewise.
2616         (CFLAGS-pause.c): Likewise.
2617         (CFLAGS-recv.c): Likewise.
2618         (CFLAGS-send.c): Likewise.
2619         (CFLAGS-accept.c): Likewise.
2620         (CFLAGS-sendto.c): Likewise.
2621         (CFLAGS-connect.c): Likewise.
2622         (CFLAGS-recvfrom.c): Likewise.
2623         (CFLAGS-recvmsg.c): Likewise.
2624         (CFLAGS-sendmsg.c): Likewise.
2625         (CFLAGS-close.c): Likewise.
2626         (CFLAGS-read.c): Likewise.
2627         (CFLAGS-write.c): Likewise.
2628         (CFLAGS-nanosleep.c): Likewise.
2629         (CFLAGS-sigsuspend.c): Likewise.
2630         (CFLAGS-msync.c): Likewise.
2631         (CFLAGS-fdatasync.c): Likewise.
2632         (CFLAGS-fsync.c): Likewise.
2633         (CFLAGS-pt-system.c): Likewise.
2634         (CFLAGS-tst-cleanup2.c): Likewise.
2635         (CFLAGS-tst-cleanupx2.c): Likewise.
2636         (CFLAGS-flockfile.c): Likewise.
2637         (CFLAGS-ftrylockfile.c): Likewise.
2638         (CFLAGS-funlockfile.c): Likewise.
2639         (CFLAGS-tst-initializers1.c): Likewise.
2640         (CFLAGS-tst-initializers1-c89.c): Likewise.
2641         (CFLAGS-tst-initializers1-c99.c): Likewise.
2642         (CFLAGS-tst-initializers1-c11.c): Likewise.
2643         (CFLAGS-tst-initializers1-gnu89.c): Likewise.
2644         (CFLAGS-tst-initializers1-gnu99.c): Likewise.
2645         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2646         * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
2647         (CFLAGS-nscd_getgr_r.c): Likewise.
2648         (CFLAGS-nscd_gethst_r.c): Likewise.
2649         (CFLAGS-nscd_getai.c): Likewise.
2650         (CFLAGS-nscd_initgroups.c): Likewise.
2651         * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
2652         (CFLAGS-pause.c): Likewise.
2653         (CFLAGS-pread.c): Likewise.
2654         (CFLAGS-pread64.c): Likewise.
2655         (CFLAGS-pwrite.c): Likewise.
2656         (CFLAGS-pwrite64.c): Likewise.
2657         (CFLAGS-sleep.c): Likewise.
2658         (CFLAGS-wait.c): Likewise.
2659         (CFLAGS-waitid.c): Likewise.
2660         (CFLAGS-waitpid.c): Likewise.
2661         (CFLAGS-getopt.c): Likewise.
2662         (CFLAGS-wordexp.c): Likewise.
2663         (CFLAGS-sysconf.c): Likewise.
2664         (CFLAGS-pathconf.c): Likewise.
2665         (CFLAGS-fpathconf.c): Likewise.
2666         (CFLAGS-spawn.c): Likewise.
2667         (CFLAGS-spawnp.c): Likewise.
2668         (CFLAGS-spawni.c): Likewise.
2669         (CFLAGS-glob.c): Likewise.
2670         (CFLAGS-glob64.c): Likewise.
2671         (CFLAGS-getconf.c): Likewise.
2672         (CFLAGS-nanosleep.c): Likewise.
2673         * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
2674         (CFLAGS-getpwent.c): Likewise.
2675         (CFLAGS-getpw.c): Likewise.
2676         (CFLAGS-fgetpwent_r.c): Likewise.
2677         * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
2678         * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
2679         (CFLAGS-mq_timedreceive.c): Likewise.
2680         (CFLAGS-mq_timedsend.c): Likewise.
2681         (CFLAGS-clock_nanosleep.c): Likewise.
2682         (CFLAGS-librt-cancellation.c): Likewise.
2683         * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
2684         (CFLAGS-getspent.c): Likewise.
2685         (CFLAGS-fgetspent.c): Likewise.
2686         (CFLAGS-fgetspent_r.c): Likewise.
2687         (CFLAGS-putspent.c): Likewise.
2688         (CFLAGS-getspnam.c): Likewise.
2689         (CFLAGS-getspnam_r.c): Likewise.
2690         * signal/Makefile (CFLAGS-sigpause.c): Likewise.
2691         (CFLAGS-sigsuspend.c): Likewise.
2692         (CFLAGS-sigtimedwait.c): Likewise.
2693         (CFLAGS-sigwait.c): Likewise.
2694         (CFLAGS-sigwaitinfo.c): Likewise.
2695         (CFLAGS-sigreturn.c): Likewise.
2696         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2697         (CFLAGS-vfwprintf.c): Likewise.
2698         (CFLAGS-tmpfile.c): Likewise.
2699         (CFLAGS-tmpfile64.c): Likewise.
2700         (CFLAGS-tempname.c): Likewise.
2701         (CFLAGS-psignal.c): Likewise.
2702         (CFLAGS-vprintf.c): Likewise.
2703         (CFLAGS-cuserid.c): Likewise.
2704         (CFLAGS-errlist.c): Likewise.
2705         (CFLAGS-siglist.c): Likewise.
2706         (CFLAGS-scanf15.c): Likewise.
2707         (CFLAGS-scanf17.c): Likewise.
2708         * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
2709         (CFLAGS-msort.c): Likewise.
2710         (CFLAGS-qsort.c): Likewise.
2711         (CFLAGS-system.c): Likewise.
2712         (CFLAGS-fmtmsg.c): Likewise.
2713         (CFLAGS-strfmon.c): Likewise.
2714         (CFLAGS-strfmon_l.c): Likewise.
2715         (CFLAGS-strfromd.c): Likewise.
2716         (CFLAGS-strfromf.c): Likewise.
2717         (CFLAGS-strfroml.c): Likewise.
2718         (CFLAGS-tst-bsearch.c): Likewise.
2719         (CFLAGS-tst-qsort.c): Likewise.
2720         (CFLAGS-tst-makecontext2.c): Likewise.
2721         * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
2722         (CFLAGS-xnlm_prot.c): Likewise.
2723         (CFLAGS-xrstat.c): Likewise.
2724         (CFLAGS-xyppasswd.c): Likewise.
2725         (CFLAGS-xklm_prot.c): Likewise.
2726         (CFLAGS-xrex.c): Likewise.
2727         (CFLAGS-xsm_inter.c): Likewise.
2728         (CFLAGS-xmount.c): Likewise.
2729         (CFLAGS-xrusers.c): Likewise.
2730         (CFLAGS-xspray.c): Likewise.
2731         (CFLAGS-xnfs_prot.c): Likewise.
2732         (CFLAGS-xrquota.c): Likewise.
2733         (CFLAGS-xkey_prot.c): Likewise.
2734         (CFLAGS-auth_unix.c): Likewise.
2735         (CFLAGS-key_call.c): Likewise.
2736         (CFLAGS-pmap_rmt.c): Likewise.
2737         (CFLAGS-clnt_perr.c): Likewise.
2738         (CFLAGS-openchild.c): Likewise.
2739         * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
2740         (CFLAGS-msgsnd.c): Likewise.
2741         * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
2742         * time/Makefile (CFLAGS-tzfile.c): Likewise.
2743         (CFLAGS-tzset.c): Likewise.
2744         (CFLAGS-getdate.c): Likewise.
2745         (CFLAGS-test_time.c): Likewise.
2746         (CPPFLAGS-tst-tzname.c): Likewise.
2747         * timezone/Makefile (CFLAGS-zdump.c): Likewise.
2748         (CFLAGS-zic.c): Likewise.
2749         * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
2750         (CFLAGS-wcswidth.c): Likewise.
2751         (CFLAGS-wcstol.c): Likewise.
2752         (CFLAGS-wcstoul.c): Likewise.
2753         (CFLAGS-wcstoll.c): Likewise.
2754         (CFLAGS-wcstoull.c): Likewise.
2755         (CFLAGS-wcstod.c): Likewise.
2756         (CFLAGS-wcstold.c): Likewise.
2757         (CFLAGS-wcstof128.c): Likewise.
2758         (CFLAGS-wcstof.c): Likewise.
2759         (CFLAGS-wcstol_l.c): Likewise.
2760         (CFLAGS-wcstoul_l.c): Likewise.
2761         (CFLAGS-wcstoll_l.c): Likewise.
2762         (CFLAGS-wcstoull_l.c): Likewise.
2763         (CFLAGS-wcstod_l.c): Likewise.
2764         (CFLAGS-wcstold_l.c): Likewise.
2765         (CFLAGS-wcstof128_l.c): Likewise.
2766         (CFLAGS-wcstof_l.c): Likewise.
2767         (CPPFLAGS-tst-wchar-h.c): Likewise.
2768         (CPPFLAGS-wcstold_l.c): Likewise.
2770 2017-12-11  Paul A. Clarke  <pc@us.ibm.com>
2772         * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
2774 2017-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2775             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2777         * manual/tunables.texi (Hardware Capability Tunables): Document
2778         glibc.tune.cached_memopt.
2779         * sysdeps/powerpc/cpu-features.c: New file.
2780         * sysdeps/powerpc/cpu-features.h: New file.
2781         * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
2782         _dl_powerpc_cpu_features.
2783         * sysdeps/powerpc/dl-tunables.list: New file.
2784         * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
2785         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
2786         (INIT_ARCH): Initialize use_aligned_memopt.
2787         * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
2788         IS_IN(rtld))]: Restrict dl_platform_init availability and
2789         initialize CPU features used by tunables.
2790         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
2791         Add memcpy-power8-cached.
2792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
2793         __memcpy_power8_cached.
2794         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2795         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
2796         New file.
2798 2017-12-11  H.J. Lu  <hongjiu.lu@intel.com>
2800         * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
2801         (CFLAGS-noinl-tester.c): Likewise.
2802         (CFLAGS-tst-strlen.c): Likewise.
2803         (CFLAGS-stratcliff.c): Likewise.
2804         (CFLAGS-test-ffs.c): Likewise.
2805         (CFLAGS-tst-inlcall.c): Likewise.
2806         (CFLAGS-tst-xbzero-opt.c): Likewise.
2807         (CFLAGS-memcpy.c): Likewise.
2808         (CFLAGS-wordcopy.c): Likewise.
2810 2017-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2812         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
2813         Store r15 on stack and add cfi rule.
2814         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2815         Likewise.
2817 2017-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2819         [BZ #22577]
2820         * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
2821         call.
2823 2017-12-07  H.J. Lu  <hongjiu.lu@intel.com>
2825         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2826         Add s_sinf-sse2 and s_sinf-fma.
2827         (CFLAGS-s_sinf-fma.c): New.
2828         * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
2829         * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
2830         * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
2832 2017-12-07  H.J. Lu  <hongjiu.lu@intel.com>
2834         * sysdeps/x86_64/fpu/s_sinf.S: Removed.
2836 2017-12-07  Joseph Myers  <joseph@codesourcery.com>
2838         [BZ #22568]
2839         * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
2840         part of result to imaginary part of argument if it is zero and the
2841         real part of the argument is not finite.
2842         * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
2843         of result to real part of argument if it is zero and the imaginary
2844         part of the argument is not finite.
2846 2017-12-07  Mike FABIAN  <mfabian@redhat.com>
2848         [BZ #22524]
2849         * localedata/Makefile: Add lt_LT.UTF-8 to test-input
2850         and to the list of locales to be built for testing.
2851         * localedata/lt_LT.UTF-8.in: New file for testing the collation.
2852         * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
2853         and build the collation rules upon that.
2855 2017-12-07  Joseph Myers  <joseph@codesourcery.com>
2857         * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
2858         * manual/math.texi (Mathematics): Document support for _Float32.
2859         * math/Makefile (test-types): Add float32.
2860         * math/Versions (GLIBC_2.27): Add _Float32 functions.
2861         * stdlib/Versions (GLIBC_2.27): Likewise.
2862         * wcsmbs/Versions (GLIBC_2.27): Likewise.
2863         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2864         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2865         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2866         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2867         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2868         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2869         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2870         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2871         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2872         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2873         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2874         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2875         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2876         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2877         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2878         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2879         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2880         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2881         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2882         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2883         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2886         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2887         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2888         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2889         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2891         Likewise.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2893         Likewise.
2894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2895         Likewise.
2896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2897         Likewise.
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2900         Likewise.
2901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2902         Likewise.
2903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2904         Likewise.
2905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2906         Likewise.
2907         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2908         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2909         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2910         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2911         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2912         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2913         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2915         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2916         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2918         Likewise.
2919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2920         Likewise.
2921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2922         Likewise.
2923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2924         Likewise.
2925         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2926         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2927         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2928         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2929         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2930         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2931         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2932         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2934 2017-12-06  Joseph Myers  <joseph@codesourcery.com>
2936         * stdlib/strtof.c: Include <bits/floatn.h>
2937         [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
2938         and later undefine as macro.  Define as weak alias if
2939         [!USE_WIDE_CHAR].
2940         [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
2941         and later undefine as macro.  Define as weak alias if
2942         [USE_WIDE_CHAR].
2943         * stdlib/strtof_l.c: Include <bits/floatn.h>
2944         [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
2945         and later undefine as macro.  Define as weak alias if
2946         [!USE_WIDE_CHAR].
2947         [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
2948         and later undefine as macro.  Define as weak alias if
2949         [USE_WIDE_CHAR].
2951         * stdlib/strfromf.c: Include <bits/floatn.h>.
2952         [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
2953         and later undefine as macro and define as weak alias.
2955         * math/test-float32.h: New file.
2957         * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
2958         [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
2959         (libm_alias_float_other_r): Create f32 alias.
2960         (libm_alias_float_r): Use semicolon before call to
2961         libm_alias_float_other_r.
2963         * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
2964         second argument to libm_alias_float_other.
2965         * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
2966         second argument to libm_alias_float_other.
2967         * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
2968         argument to libm_alias_float_other.
2970         [BZ #22561]
2971         * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
2972         real part of result for argument 0 + i * NaN.
2973         * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
2974         results for tests of 0 + i * NaN.
2976 2017-12-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2978         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2980 2017-12-06  David S. Miller  <davem@davemloft.net>
2982         * sysdeps/sparc/fpu/libm-test-ulps: Update
2983         exp_{downward,towardzero,upward} ulps.
2985 2017-12-06  Joseph Myers  <joseph@codesourcery.com>
2987         * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
2988         variables static.
2990         * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
2991         (Y0_2D): Likewise.
2992         * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
2993         (Y0_2D): Likewise.
2994         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
2995         (Y0_2D): Likewise.
2996         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
2997         (Y0_2D): Likewise.
2999 2017-12-06  Mike FABIAN  <mfabian@redhat.com>
3001         [BZ #22515]
3002         * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
3003         and to the list of locales to be built for testing.
3004         * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
3005         * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
3006         and build the collation rules upon that.
3008 2017-12-06  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3010         * NEWS: Add sinf to list of optimized functions.
3012 2017-12-06  Joseph Myers  <joseph@codesourcery.com>
3014         * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
3015         (__HAVE_FLOAT32X): Likewise.
3016         * manual/math.texi (Mathematics): Document support for _Float64
3017         and _Float32x.
3018         * math/Makefile (test-types): Add float64 and float32x.
3019         * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
3020         functions.
3021         * stdlib/Versions (GLIBC_2.27): Likewise.
3022         * wcsmbs/Versions (GLIBC_2.27): Likewise.
3023         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
3024         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3025         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3026         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3027         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3028         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3029         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3030         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3032         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3033         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3034         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3044         Likewise.
3045         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3051         Likewise.
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3053         Likewise.
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3055         Likewise.
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3057         Likewise.
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3059         Likewise.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3061         Likewise.
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3063         Likewise.
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3065         Likewise.
3066         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3068         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3069         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3070         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3071         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3072         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3073         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3074         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3075         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
3077         Likewise.
3078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3079         Likewise.
3080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3081         Likewise.
3082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3083         Likewise.
3084         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3085         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3086         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3087         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3088         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3089         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3090         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3091         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3093 2017-12-05  Joseph Myers  <joseph@codesourcery.com>
3095         * bits/floatn-common.h: Include <bits/long-double.h>.
3096         [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
3097         && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
3098         [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
3099         && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
3100         [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
3101         && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
3102         [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
3103         (__builtin_huge_valf64): Use __builtin_huge_vall.
3104         [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
3105         (__builtin_inff64): Use __builtin_infl.
3106         [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
3107         (__builtin_nanf64): Use __builtin_nanl.
3108         [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
3109         (__builtin_nansf64): Use __builtin_nansl.
3111 2017-12-05  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
3112             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3113             Carlos O'Donnell <carlos@redhat.com>
3115         * elf/dl-tunables.list: Add elision parameters.
3116         * manual/tunables.texi: Add entries about elision tunable.
3117         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
3118         Add callback functions to dynamically enable/disable elision.
3119         Add multiple callbacks functions to set elision parameters.
3120         Deleted __libc_enable_secure check.
3121         * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
3122         * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
3123         * configure: Regenerated.
3124         * configure.ac: Option enable_lock_elision was deleted.
3125         * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
3126         * config.make.in: Remove references to enable_lock_elision.
3127         * manual/install.texi: Elision configure option was removed.
3128         * INSTALL: Regenerated to remove enable_lock_elision.
3129         * nptl/Makefile:
3130         Disable elision so it can verify error case for destroying a mutex.
3131         * sysdeps/powerpc/nptl/elide.h:
3132         Cleanup ENABLE_LOCK_ELISION check.
3133         Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
3134         * sysdeps/s390/configure: Regenerated.
3135         * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
3136         * nptl/tst-mutex8.c:
3137         Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
3138         * sysdeps/powerpc/powerpc32/sysdep.h:
3139         Deleted all ENABLE_LOCK_ELISION checks.
3140         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3141         * sysdeps/powerpc/sysdep.h: Likewise.
3142         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3143         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
3144         * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3145         * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3146         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3147         * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
3148         enable-lock-elision.
3150 2017-12-05  Joseph Myers  <joseph@codesourcery.com>
3152         * stdlib/strtod.c: Include <bits/floatn.h>.
3153         (BUILD_DOUBLE): New macro.
3154         [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3155         (strtof64): Define and later undefine as macro.  Define as weak
3156         alias if [!USE_WIDE_CHAR].
3157         [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3158         (wcstof64): Define and later undefine as macro.  Define as weak
3159         alias if [USE_WIDE_CHAR].
3160         [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3161         (strtof32x): Define and later undefine as macro.  Define as weak
3162         alias if [!USE_WIDE_CHAR].
3163         [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3164         (wcstof32x): Define and later undefine as macro.  Define as weak
3165         alias if [USE_WIDE_CHAR].
3166         * stdlib/strtod_l.c: Include <bits/floatn.h>.
3167         (BUILD_DOUBLE): New macro.
3168         [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3169         (strtof64_l): Define and later undefine as macro.  Define as weak
3170         alias if [!USE_WIDE_CHAR].
3171         [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3172         (wcstof64_l): Define and later undefine as macro.  Define as weak
3173         alias if [USE_WIDE_CHAR].
3174         [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3175         (strtof32x_l): Define and later undefine as macro.  Define as weak
3176         alias if [!USE_WIDE_CHAR].
3177         [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3178         (wcstof32x_l): Define and later undefine as macro.  Define as weak
3179         alias if [USE_WIDE_CHAR].
3181 2017-12-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3183         * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
3184         (reduced): Use ones as double instead of integer.
3186 2017-12-05  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3188         * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
3190 2017-12-05  Joseph Myers  <joseph@codesourcery.com>
3192         * stdlib/strfromd.c: Include <bits/floatn.h>.
3193         [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
3194         and later undefine as macro and define as weak alias.
3195         [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
3196         Likewise.
3198         * math/test-float32x.h: New file.
3199         * math/test-float64.h: Likewise.
3201         * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
3202         (libm_alias_double_other_r_f64): New macro.
3203         (libm_alias_double_other_r_f32x): Likewise.
3204         (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
3205         libm_alias_double_other_r_f32x.
3206         (libm_alias_double_r): Use semicolon before call to
3207         libm_alias_double_other_r.
3208         * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
3209         <bits/floatn.h>.
3210         (libm_alias_double_other_r_f64): New macro.
3211         (libm_alias_double_other_r_f32x): Likewise.
3212         (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
3213         libm_alias_double_other_r_f32x.
3215 2017-12-05  H.J. Lu  <hongjiu.lu@intel.com>
3217         * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
3218         int.
3219         (SINF_FUNC): Likewise.  Replace floor with simple casts.
3221 2017-12-05  Mike FABIAN  <mfabian@redhat.com>
3223         [BZ #22517]
3224         * localedata/Makefile: Add et_EE.UTF-8 to test-input
3225         and to the list of locales to be built for testing.
3226         * localedata/et_EE.UTF-8.in: New file for testing the collation.
3227         * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
3228         and build the collation rules upon that.
3230 2017-12-05  Chris Metcalf  <cmetcalf@mellanox.com>
3232         * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
3233         replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
3234         v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
3235         * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
3236         instead of __insn__xxx.
3237         * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
3238         * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
3239         * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
3240         * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
3241         * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
3242         * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
3244 2017-12-05  Florian Weimer  <fweimer@redhat.com>
3246         Linux: Implement interfaces for memory protection keys
3247         * support/Makefile (libsupport-routines): Add xraise, xsigaction,
3248         xsignal, xsysconf.
3249         * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
3250         * support/xunistd.h (xsysconf): Declare.
3251         * support/xraise.c: New file.
3252         * support/xsigaction.c: Likewise.
3253         * support/xsignal.c: Likewise.
3254         * support/xsysconf.c: Likewise.
3255         * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
3256         pkey_set, pkey_get, pkey_mprotect.
3257         [misc] (tests): Add tst-pkey.
3258         (tst-pkey): Link with -lpthread.
3259         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
3260         pkey_free, pkey_set, pkey_get, pkey_mprotect.
3261         * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
3262         (PKEY_DISABLE_WRITE): Define.
3263         (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
3264         Declare.
3265         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
3266         (SEGV_PKUERR): Add.
3267         * sysdeps/unix/sysv/linux/pkey_get.c: New file.
3268         * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
3269         * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
3270         * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
3271         Add.
3272         * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
3273         * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
3274         * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
3275         * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
3276         * sysdeps/unix/sysv/linux/**.abilist: Update.
3278 2017-12-05  Florian Weimer  <fweimer@redhat.com>
3280         * support/tst-test_compare.c (subprocess): Use long long instead
3281         of long argument for consistent type width across 32-bit and
3282         64-bit architectures.
3283         (do_test): Adjust expected output.
3285 2017-12-05  Joseph Myers  <joseph@codesourcery.com>
3287         * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
3288         (cosf): Define using libm_alias_float.
3289         * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
3290         (fabsf): Define using libm_alias_float.
3291         * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
3292         (fmaf): Define using libm_alias_float.
3293         * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
3294         (rintf): Define using libm_alias_float.
3295         * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
3296         (sinf): Define using libm_alias_float.
3297         * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
3298         <libm-alias-float.h>.
3299         (modff): Define using libm_alias_float.
3300         * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
3301         <libm-alias-float.h>.
3302         (logbf): Define using libm_alias_float.
3303         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
3304         <libm-alias-float.h>.
3305         (ceilf): Define using libm_alias_float.
3306         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
3307         <libm-alias-float.h>.
3308         (copysignf): Define using libm_alias_float.
3309         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
3310         <libm-alias-float.h>.
3311         (floorf): Define using libm_alias_float.
3312         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3313         <libm-alias-float.h>.
3314         (llrintf): Define using libm_alias_float.
3315         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3316         <libm-alias-float.h>.
3317         (llroundf): Define using libm_alias_float.
3318         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
3319         <libm-alias-float.h>.
3320         (lrintf): Define using libm_alias_float.
3321         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
3322         <libm-alias-float.h>.
3323         (lroundf): Define using libm_alias_float.
3324         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
3325         <libm-alias-float.h>.
3326         (nearbyintf): Define using libm_alias_float.
3327         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
3328         <libm-alias-float.h>.
3329         (rintf): Define using libm_alias_float.
3330         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
3331         <libm-alias-float.h>.
3332         (roundf): Define using libm_alias_float.
3333         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
3334         <libm-alias-float.h>.
3335         (truncf): Define using libm_alias_float.
3336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
3337         Include <libm-alias-float.h>.
3338         (ceilf): Define using libm_alias_float.
3339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3340         Include <libm-alias-float.h>.
3341         (copysignf): Define using libm_alias_float.
3342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
3343         Include <libm-alias-float.h>.
3344         (floorf): Define using libm_alias_float.
3345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
3346         Include <libm-alias-float.h>.
3347         (llrintf): Define using libm_alias_float.
3348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
3349         Include <libm-alias-float.h>.
3350         (llroundf): Define using libm_alias_float.
3351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
3352         Include <libm-alias-float.h>.
3353         (logbf): Define using libm_alias_float.
3354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
3355         Include <libm-alias-float.h>.
3356         (lrintf): Define using libm_alias_float.
3357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
3358         Include <libm-alias-float.h>.
3359         (lroundf): Define using libm_alias_float.
3360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
3361         Include <libm-alias-float.h>.
3362         (modff): Define using libm_alias_float.
3363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
3364         Include <libm-alias-float.h>.
3365         (roundf): Define using libm_alias_float.
3366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
3367         Include <libm-alias-float.h>.
3368         (truncf): Define using libm_alias_float.
3369         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
3370         <libm-alias-float.h>.
3371         (llrintf): Define using libm_alias_float.
3372         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3373         <libm-alias-float.h>.
3374         (llroundf): Define using libm_alias_float.
3375         * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
3376         <libm-alias-float.h>.
3377         (ceilf): Define using libm_alias_float.
3378         * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
3379         <libm-alias-float.h>.
3380         (floorf): Define using libm_alias_float.
3381         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3382         <libm-alias-float.h>.
3383         (llroundf): Define using libm_alias_float.
3384         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3385         <libm-alias-float.h>.
3386         (lroundf): Define using libm_alias_float.
3387         * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
3388         <libm-alias-float.h>.
3389         (roundf): Define using libm_alias_float.
3390         * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
3391         <libm-alias-float.h>.
3392         (truncf): Define using libm_alias_float.
3393         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3394         <libm-alias-float.h>.
3395         (copysignf): Define using libm_alias_float.
3396         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
3397         <libm-alias-float.h>.
3398         (llrintf): Define using libm_alias_float.
3399         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3400         <libm-alias-float.h>.
3401         (llroundf): Define using libm_alias_float.
3402         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3403         <libm-alias-float.h>.
3404         (lrintf): Define using libm_alias_float.
3405         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3406         <libm-alias-float.h>.
3407         (lroundf): Define using libm_alias_float.
3408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
3409         <libm-alias-float.h>.
3410         (ceilf): Define using libm_alias_float.
3411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
3412         <libm-alias-float.h>.
3413         (copysignf): Define using libm_alias_float.
3414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
3415         <libm-alias-float.h>.
3416         (cosf): Define using libm_alias_float.
3417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
3418         <libm-alias-float.h>.
3419         (floorf): Define using libm_alias_float.
3420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
3421         <libm-alias-float.h>.
3422         (llrintf): Define using libm_alias_float.
3423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
3424         <libm-alias-float.h>.
3425         (llroundf): Define using libm_alias_float.
3426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
3427         <libm-alias-float.h>.
3428         (logbf): Define using libm_alias_float.
3429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
3430         <libm-alias-float.h>.
3431         (modff): Define using libm_alias_float.
3432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
3433         <libm-alias-float.h>.
3434         (roundf): Define using libm_alias_float.
3435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
3436         <libm-alias-float.h>.
3437         (sinf): Define using libm_alias_float.
3438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
3439         <libm-alias-float.h>.
3440         (truncf): Define using libm_alias_float.
3441         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
3442         <libm-alias-float.h>.
3443         (ceilf): Define using libm_alias_float.
3444         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3445         <libm-alias-float.h>.
3446         (copysignf): Define using libm_alias_float.
3447         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
3448         <libm-alias-float.h>.
3449         (floorf): Define using libm_alias_float.
3450         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3451         <libm-alias-float.h>.
3452         (llrintf): Define using libm_alias_float.
3453         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
3454         <libm-alias-float.h>.
3455         (llroundf): Define using libm_alias_float.
3456         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
3457         <libm-alias-float.h>.
3458         (nearbyintf): Define using libm_alias_float.
3459         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
3460         <libm-alias-float.h>.
3461         (rintf): Define using libm_alias_float.
3462         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
3463         <libm-alias-float.h>.
3464         (roundf): Define using libm_alias_float.
3465         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
3466         <libm-alias-float.h>.
3467         (truncf): Define using libm_alias_float.
3468         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
3469         <libm-alias-float.h>.
3470         (ceilf): Define using libm_alias_float.
3471         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
3472         <libm-alias-float.h>.
3473         (floorf): Define using libm_alias_float.
3474         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3475         <libm-alias-float.h>.
3476         (llroundf): Define using libm_alias_float.
3477         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
3478         <libm-alias-float.h>.
3479         (roundf): Define using libm_alias_float.
3480         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
3481         <libm-alias-float.h>.
3482         (truncf): Define using libm_alias_float.
3483         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3484         <libm-alias-float.h>.
3485         (copysignf): Define using libm_alias_float.
3486         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3487         <libm-alias-float.h>.
3488         (llrintf): Define using libm_alias_float.
3489         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3490         <libm-alias-float.h>.
3491         (llroundf): Define using libm_alias_float.
3492         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
3493         <libm-alias-float.h>.
3494         (cosf): Define using libm_alias_float.
3495         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3496         <libm-alias-float.h>.
3497         (llrintf): Define using libm_alias_float.
3498         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3499         <libm-alias-float.h>.
3500         (llroundf): Define using libm_alias_float.
3501         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
3502         <libm-alias-float.h>.
3503         (sinf): Define using libm_alias_float.
3505 2017-12-04  Florian Weimer  <fweimer@redhat.com>
3507         * support/check.h (TEST_COMPARE): Define.
3508         (support_test_compare_failure): Declare.
3509         * support/Makefile (libsupport-routines): Add
3510         support_test_compare_failure.
3511         (tests): Add tst-test_compare.
3512         * support /support_test_compare_failure.c: New file.
3513         * support/tst-test_compare.c: Likewise.
3515 2017-12-04  Mike FABIAN  <mfabian@redhat.com>
3517         [BZ #22527]
3518         *  localedata/locales/tr_TR (LC_COLLATE): Base collation rules
3519         on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
3520         available, this rewrite of the collation rules does reproduce
3521         the test file in the same order.
3523 2017-12-04  Mike FABIAN  <mfabian@redhat.com>
3525         [BZ #10580]
3526         * localedata/locales/hr_HR (LC_TIME): Use two letters for the
3527         digraphs in the month and day names. Using single code points for
3528         digraphs is deprecated.  While there are dedicated Unicode
3529         codepoints, for the digraphs, these are included for backwards
3530         compatibility and modern texts use a sequence of Basic Latin
3531         characters. See: https://www.unicode.org/faq/ligature_digraph.html
3532         This makes the month and day names agree exactly with CLDR now,
3533         CLDR does not use the single code points for the digraphs either.
3535 2017-12-04  Chris Metcalf  <cmetcalf@mellanox.com>
3537         * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
3539 2017-12-04  Joseph Myers  <joseph@codesourcery.com>
3541         * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
3542         of floor.
3544 2017-12-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3546         * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
3547         Define only for libc.so.
3549 2017-12-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3551         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3552         (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
3553          CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
3554         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
3555         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3557 2017-12-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3559         [BZ #5997]
3560         * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
3562 2017-12-02  John David Anglin  <danglin@gcc.gnu.org>
3564         [BZ libc/19170]
3565         * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
3566         PREINIT_FUNCTION_WEAK is nonzero.
3567         (gmon_initializer): New function.  Put procedure label for it in
3568         .init_array section.
3569         (_init): Don't call PREINIT_FUNCTION.
3570         * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
3571         * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
3572         value when map argument is null.
3574         * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
3575         depi instruction from PIC pc-relative sequence.
3576         * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
3577         * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
3578         (elf_machine_load_address): Likewise.
3579         (elf_machine_runtime_setup): Likewise.
3581 2017-12-02  Joseph Myers  <joseph@codesourcery.com>
3583         * sysdeps/powerpc/power7/fpu/s_logb.c: Include
3584         <libm-alias-double.h>.
3585         (logb): Define using libm_alias_double.
3586         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
3587         <libm-alias-double.h>.
3588         (copysign): Define using libm_alias_double.
3589         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
3590         <libm-alias-double.h>.
3591         (llrint): Define using libm_alias_double.
3592         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
3593         <libm-alias-double.h>.
3594         (llround): Define using libm_alias_double.
3595         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
3596         <libm-alias-double.h>.
3597         (lrint): Define using libm_alias_double.
3598         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
3599         <libm-alias-double.h>.
3600         (lround): Define using libm_alias_double.
3601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3602         Include <libm-alias-double.h>.
3603         (copysign): Define using libm_alias_double.
3604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
3605         Include <libm-alias-double.h>.
3606         (llrint): Define using libm_alias_double.
3607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
3608         Include <libm-alias-double.h>.
3609         (llround): Define using libm_alias_double.
3610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
3611         <libm-alias-double.h>.
3612         (logb): Define using libm_alias_double.
3613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
3614         Include <libm-alias-double.h>.
3615         (lrint): Define using libm_alias_double.
3616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
3617         Include <libm-alias-double.h>.
3618         (lround): Define using libm_alias_double.
3619         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
3620         <libm-alias-double.h>.
3621         (llrint): Define using libm_alias_double.
3622         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3623         <libm-alias-double.h>.
3624         (llround): Define using libm_alias_double.
3625         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3626         <libm-alias-double.h>.
3627         (llround): Define using libm_alias_double.
3628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3629         <libm-alias-double.h>.
3630         (lround): Define using libm_alias_double.
3631         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3632         <libm-alias-double.h>.
3633         (copysign): Define using libm_alias_double.
3634         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
3635         <libm-alias-double.h>.
3636         (llrint): Define using libm_alias_double.
3637         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3638         <libm-alias-double.h>.
3639         (llround): Define using libm_alias_double.
3640         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3641         <libm-alias-double.h>.
3642         (lrint): Define using libm_alias_double.
3643         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3644         <libm-alias-double.h>.
3645         (lround): Define using libm_alias_double.
3646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
3647         <libm-alias-double.h>.
3648         (copysign): Define using libm_alias_double.
3649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
3650         <libm-alias-double.h>.
3651         (llrint): Define using libm_alias_double.
3652         (lrint): Likewise.
3653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
3654         <libm-alias-double.h>.
3655         (llround): Define using libm_alias_double.
3656         (lround): Likewise.
3657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
3658         <libm-alias-double.h>.
3659         (logb): Define using libm_alias_double.
3660         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3661         <libm-alias-double.h>.
3662         (copysign): Define using libm_alias_double.
3663         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3664         <libm-alias-double.h>.
3665         (llrint): Define using libm_alias_double.
3666         (lrint): Likewise.
3667         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
3668         <libm-alias-double.h>.
3669         (llround): Define using libm_alias_double.
3670         (lround): Likewise.
3671         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3672         <libm-alias-double.h>.
3673         (llround): Define using libm_alias_double.
3674         (lround): Likewise.
3675         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3676         <libm-alias-double.h>.
3677         (copysign): Define using libm_alias_double.
3678         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3679         <libm-alias-double.h>.
3680         (llrint): Define using libm_alias_double.
3681         (lrint): Likewise.
3682         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3683         <libm-alias-double.h>.
3684         (llround): Define using libm_alias_double.
3685         (lround): Likewise.
3686         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3687         <libm-alias-double.h>.
3688         (llrint): Define using libm_alias_double.
3689         (lrint): Likewise.
3690         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3691         <libm-alias-double.h>.
3692         (llround): Define using libm_alias_double.
3693         (lround): Likewise.
3695 2017-12-01  Joseph Myers  <joseph@codesourcery.com>
3697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3698         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
3699         compat symbol based on llround.
3701         * sysdeps/powerpc/power7/fpu/s_logb.c
3702         [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
3703         symbol based on __logb, not on logb.
3704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
3705         [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
3707         [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3709         * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
3710         (rint): Define using libm_alias_double.
3711         * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
3712         <libm-alias-double.h>.
3713         (modf): Define using libm_alias_double.
3714         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
3715         <libm-alias-double.h>.
3716         (ceil): Define using libm_alias_double.
3717         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
3718         <libm-alias-double.h>.
3719         (floor): Define using libm_alias_double.
3720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
3721         <libm-alias-double.h>.
3722         (nearbyint): Define using libm_alias_double.
3723         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
3724         <libm-alias-double.h>.
3725         (rint): Define using libm_alias_double.
3726         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
3727         <libm-alias-double.h>.
3728         (round): Define using libm_alias_double.
3729         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
3730         <libm-alias-double.h>.
3731         (trunc): Define using libm_alias_double.
3732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
3733         <libm-alias-double.h>.
3734         (ceil): Define using libm_alias_double.
3735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
3736         Include <libm-alias-double.h>.
3737         (floor): Define using libm_alias_double.
3738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
3739         <libm-alias-double.h>.
3740         (modf): Define using libm_alias_double.
3741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
3742         Include <libm-alias-double.h>.
3743         (round): Define using libm_alias_double.
3744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
3745         Include <libm-alias-double.h>.
3746         (trunc): Define using libm_alias_double.
3747         * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
3748         <libm-alias-double.h>.
3749         (ceil): Define using libm_alias_double.
3750         * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
3751         <libm-alias-double.h>.
3752         (floor): Define using libm_alias_double.
3753         * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
3754         <libm-alias-double.h>.
3755         (round): Define using libm_alias_double.
3756         * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
3757         <libm-alias-double.h>.
3758         (trunc): Define using libm_alias_double.
3759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
3760         <libm-alias-double.h>.
3761         (ceil): Define using libm_alias_double.
3762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
3763         <libm-alias-double.h>.
3764         (floor): Define using libm_alias_double.
3765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
3766         <libm-alias-double.h>.
3767         (modf): Define using libm_alias_double.
3768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
3769         <libm-alias-double.h>.
3770         (round): Define using libm_alias_double.
3771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
3772         <libm-alias-double.h>.
3773         (trunc): Define using libm_alias_double.
3774         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
3775         <libm-alias-double.h>.
3776         (ceil): Define using libm_alias_double.
3777         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
3778         <libm-alias-double.h>.
3779         (floor): Define using libm_alias_double.
3780         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
3781         <libm-alias-double.h>.
3782         (nearbyint): Define using libm_alias_double.
3783         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
3784         <libm-alias-double.h>.
3785         (rint): Define using libm_alias_double.
3786         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
3787         <libm-alias-double.h>.
3788         (round): Define using libm_alias_double.
3789         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
3790         <libm-alias-double.h>.
3791         (trunc): Define using libm_alias_double.
3792         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
3793         <libm-alias-double.h>.
3794         (ceil): Define using libm_alias_double.
3795         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
3796         <libm-alias-double.h>.
3797         (floor): Define using libm_alias_double.
3798         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
3799         <libm-alias-double.h>.
3800         (round): Define using libm_alias_double.
3801         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
3802         <libm-alias-double.h>.
3803         (trunc): Define using libm_alias_double.
3805         * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
3806         (fabs): Define using libm_alias_double.
3807         * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
3808         (fma): Define using libm_alias_double.
3809         * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
3810         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
3811         * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
3812         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
3814 2017-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3816         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
3818         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
3819         SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
3820         SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
3822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
3823         due redirect macro.
3825 2017-12-01  Andreas Schwab  <schwab@linux-m68k.org>
3827         * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
3829 2017-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3831         * sysdeps/sparc/sparc64/cpu_relax.c: New file.
3832         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
3833         * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
3834         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
3836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3837         (libm-sysdep_routines): Add s_nearbyintf-generic and
3838         s_nearbyint-generic.
3839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
3840         New file.
3841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
3842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
3843         Likewise.
3844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
3845         Likewise.
3846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
3847         file.
3848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
3849         Likewise.
3851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3852         (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
3853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
3854         file.
3855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
3857         Likewise.
3858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
3860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3863         (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
3864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
3865         file.
3866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
3867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
3868         Likewise.
3869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
3870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
3871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
3873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3874         (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
3875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
3876         file.
3877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
3878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
3879         Likewise.
3880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
3881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
3882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3885         (sysdep_calls): New rule.
3886         (sysdep_routines): Use sysdep_calls as base.
3887         (libm-sysdep_routines): Add generic rule for symbols shared with
3888         libc.  Add s_copysign-generic and s_copysign-generic objects.
3889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
3890         New file.
3891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
3892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
3893         Likewise.
3894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
3895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
3896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
3898 2017-12-01  Mike FABIAN  <mfabian@redhat.com>
3900         [BZ #22519]
3901         * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
3902         the list of locales to be built for testing.
3903         * localedata/is_IS.UTF-8.in: New file.
3904         * localedata/locales/is_IS (LC_COLLATE): Base collation rules
3905         on iso14651_t1.
3907 2017-12-01  Joseph Myers  <joseph@codesourcery.com>
3909         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
3910         <libm-alias-float.h>.
3911         (fabsf): Define using libm_alias_float.
3913 2017-11-30  H.J. Lu  <hongjiu.lu@intel.com>
3915         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
3917 2017-11-30  Joseph Myers  <joseph@codesourcery.com>
3919         * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
3920         <libm-alias-float.h>.
3921         (fabsf): Define using libm_alias_float.
3922         * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
3923         <libm-alias-float.h>.
3924         (lrintf): Define using libm_alias_float.
3925         * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
3926         <libm-alias-float.h>.
3927         (rintf): Define using libm_alias_float.
3929         * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
3930         <libm-alias-double.h>.
3931         (fabs): Define using libm_alias_double.
3932         * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
3933         <libm-alias-double.h>.
3934         (lrint): Define using libm_alias_double.
3935         * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
3936         <libm-alias-double.h>.
3937         (rint): Define using libm_alias_double.
3939         * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
3940         * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3941         * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
3942         * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
3943         * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
3944         * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3945         * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
3946         * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
3947         * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
3948         * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
3949         * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
3950         * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
3951         * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
3952         * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
3953         * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
3954         * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
3955         * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3956         * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
3957         s_atan_template.c.
3958         * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
3959         * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
3960         * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
3961         s_ceil_template.c.
3962         * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
3963         * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
3964         * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
3965         s_cos_template.c.
3966         * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
3967         * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
3968         * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
3969         s_expm1_template.c.
3970         * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
3971         * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
3972         * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
3973         s_fabs_template.c.
3974         * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
3975         * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
3976         * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
3977         s_floor_template.c.
3978         * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
3979         * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
3980         * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
3981         s_frexp_template.c.
3982         * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
3983         * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
3984         s_lrint_template.c.
3985         * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
3986         * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
3987         * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
3988         s_modf_template.c.
3989         * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
3990         * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
3991         * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
3992         s_nearbyint_template.c.
3993         * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
3994         * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
3995         * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
3996         s_remquo_template.c.
3997         * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
3998         * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
3999         * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
4000         s_rint_template.c.
4001         * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
4002         * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
4003         * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
4004         s_sin_template.c.
4005         * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
4006         * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
4007         * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
4008         s_sincos_template.c.
4009         * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
4010         * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
4011         * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
4012         s_tan_template.c.
4013         * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
4014         * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
4015         * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
4016         s_tanh_template.c.
4017         * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
4018         * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
4019         * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
4020         s_trunc_template.c.
4021         * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
4022         * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
4023         * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
4024         s_atan.c instead of including s_atan.c.
4025         * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
4026         s_atanf.c instead of including s_atanf.c.
4027         * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
4028         s_atanl.c instead of including s_atanl.c.
4029         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
4030         instead of s_atan.c.
4031         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
4032         instead of s_atanf.c.
4033         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
4034         instead of s_atanl.c.
4036         * scripts/update-copyrights: Do not handle intl/plural.c
4037         specially.
4039 2017-11-30  Juro Bystricky  <juro.bystricky@linux.intel.com>
4041         [BZ #22432]
4042         * configure.ac (BISON): Require to be present.
4043         * configure: Regenerated.
4044         * intl/Makefile (generated): Add plural.c.
4045         [$(BISON) != no]: Make code unconditional.
4046         (plural.c): Change rule to $(objpfx)plural.c.
4047         ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
4048         * intl/plural.c: Remove.
4049         * manual/install.texi (Tools for Compilation): Document bison as
4050         required.
4051         * INSTALL: Regenerated.
4053 2017-11-30  Joseph Myers  <joseph@codesourcery.com>
4055         * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
4056         <libm-alias-double.h>.
4057         (llrint): Define using libm_alias_double.
4058         * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
4059         <libm-alias-float.h>.
4060         (llrintf): Define using libm_alias_float.
4061         * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
4062         <libm-alias-ldouble.h>.
4063         (llrintl): Define using libm_alias_ldouble.
4065         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
4066         declare_mgen_alias instead of weak_alias.
4067         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
4068         * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
4069         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
4071 2017-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4073         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
4074         Add add_n-generic.
4075         * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
4076         * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
4077         * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
4079         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
4080         Add submul_1-generic.
4081         * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
4082         * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
4083         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
4085         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
4086         Add addmul_1-generic.
4087         * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
4088         * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
4089         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
4091         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
4092         Add sub_n-generic.
4093         * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
4094         * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
4095         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
4097         * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
4098         Add mul_1-generic.
4099         * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
4100         * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
4101         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
4103 2017-11-30  Mike FABIAN  <mfabian@redhat.com>
4105         According to CLDR, collation rules for Serbian and Bosnian
4106         should be the same as for Croatian.
4108         [BZ #22534]
4109         * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
4110         and to the list of locales to be built for testing.
4111         * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
4112         * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
4113         * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
4114         * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
4116 2017-11-30  Mike FABIAN  <mfabian@redhat.com>
4118         * localedata/locales/hr_HR (LC_COLLATE): Fix collation
4119         to make test case pass.
4120         * localedata/hr_HR.UTF-8.in: Add more test strings.
4122 2017-11-30  Mike FABIAN  <mfabian@redhat.com>
4124         * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
4126 2017-11-30  Dragan Stanojević - Nevidljivi  <invisible@hidden-city.net>
4128         * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
4129         the list of locales to built for testing.
4130         * localedata/hr_HR.UTF-8.in: New file.
4132 2017-11-30  Dragan Stanojević - Nevidljivi  <invisible@hidden-city.net>
4134         [BZ #10580]
4135         * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
4136         iso14651_t1.
4137         * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
4138         CLDR (except use ligatures for the digraphs, CLDR does not use
4139         the ligatures), add first_workday, some fixes in the date and time
4140         formats.
4141         * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
4142         for Đ and đ.
4143         * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
4144         lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
4145         Add int_p_cs_precedes and int_n_cs_precedes.
4146         * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
4147         "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
4148         LC_MONETARY now).
4149         * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
4150         * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
4151         name_miss.
4152         * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
4153         and lang_lib. Change postal_fmt.
4155 2017-11-30  H.J. Lu  <hongjiu.lu@intel.com>
4157         * debug/longjmp_chk.c: Include <setjmpP.h> instead of
4158         <setjmp.h>.
4159         * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
4160         (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
4161         * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
4162         (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
4163         * sysdeps/generic/setjmpP.h: New file.
4164         * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
4165         * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
4166         * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
4167         * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
4168         Add jmp_buf-ssp.sym.
4169         (tests): Add tst-saved_mask-1.
4171 2017-11-30  Arjun Shankar  <arjun@redhat.com>
4173         [BZ #22375]
4174         CVE-2017-17426
4175         * malloc/malloc.c (__libc_malloc): Use checked_request2size
4176         instead of request2size.
4178 2017-11-30  Joseph Myers  <joseph@codesourcery.com>
4180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
4181         (__lllrint): Remove alias.
4182         (lllrint): Likewise.
4183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
4184         (__lllrintf): Likewise.
4185         (lllrintf): Likewise.
4187         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
4188         <libm-alias-float.h>.
4189         (copysignf): Define using libm_alias_float.
4190         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
4191         <libm-alias-float.h>.
4192         (fabsf): Define using libm_alias_float.
4193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4194         Include <libm-alias-float.h>.
4195         (copysignf): Define using libm_alias_float.
4196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
4197         <libm-alias-float.h>.
4198         (fabsf): Define using libm_alias_float.
4199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
4200         <libm-alias-float.h>.
4201         (fdimf): Define using libm_alias_float.
4202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
4203         <libm-alias-float.h>.
4204         (fmaf): Define using libm_alias_float.
4205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
4206         <libm-alias-float.h>.
4207         (llrintf): Define using libm_alias_float.
4208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
4209         Include <libm-alias-float.h>.
4210         (nearbyintf): Define using libm_alias_float.
4211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
4212         <libm-alias-float.h>.
4213         (rintf): Define using libm_alias_float.
4214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
4215         <libm-alias-float.h>.
4216         (llrintf): Define using libm_alias_float.
4217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
4218         <libm-alias-float.h>.
4219         (lrintf): Define using libm_alias_float.
4220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
4221         <libm-alias-float.h>.
4222         (nearbyintf): Define using libm_alias_float.
4223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
4224         <libm-alias-float.h>.
4225         (rintf): Define using libm_alias_float.
4226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
4227         <libm-alias-float.h>.
4228         (ceilf): Define using libm_alias_float.
4229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
4230         <libm-alias-float.h>.
4231         (floorf): Define using libm_alias_float.
4232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
4233         <libm-alias-float.h>.
4234         (fmaf): Define using libm_alias_float.
4235         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
4236         <libm-alias-float.h>.
4237         (lrintf): Define using libm_alias_float.
4238         (llrintf): Likewise.
4239         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
4240         <libm-alias-float.h>.
4241         (nearbyintf): Define using libm_alias_float.
4242         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
4243         <libm-alias-float.h>.
4244         (rintf): Define using libm_alias_float.
4245         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
4246         <libm-alias-float.h>.
4247         (truncf): Define using libm_alias_float.
4248         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
4249         <libm-alias-float.h>.
4250         (copysignf): Define using libm_alias_float.
4251         * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
4252         <libm-alias-float.h>.
4253         (fabsf): Define using libm_alias_float.
4254         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
4255         <libm-alias-float.h>.
4256         (lrintf): Define using libm_alias_float.
4257         (llrintf): Likewise.
4258         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
4259         <libm-alias-float.h>.
4260         (nearbyintf): Define using libm_alias_float.
4261         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
4262         <libm-alias-float.h>.
4263         (rintf): Define using libm_alias_float.
4265 2017-11-29  Joseph Myers  <joseph@codesourcery.com>
4267         * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
4268         <libm-alias-double.h>.
4269         (copysign): Define using libm_alias_double.
4270         * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
4271         <libm-alias-double.h>.
4272         (fabs): Define using libm_alias_double.
4273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4274         Include <libm-alias-double.h>.
4275         (copysign): Define using libm_alias_double.
4276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
4277         <libm-alias-double.h>.
4278         (fabs): Define using libm_alias_double.
4279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
4280         <libm-alias-double.h>.
4281         (fdim): Define using libm_alias_double.
4282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
4283         <libm-alias-double.h>.
4284         (fma): Define using libm_alias_double.
4285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
4286         <libm-alias-double.h>.
4287         (llrint): Define using libm_alias_double.
4288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
4289         Include <libm-alias-double.h>.
4290         (nearbyint): Define using libm_alias_double.
4291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
4292         <libm-alias-double.h>.
4293         (rint): Define using libm_alias_double.
4294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
4295         <libm-alias-double.h>.
4296         (fabs): Define using libm_alias_double.
4297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
4298         <libm-alias-double.h>.
4299         (llrint): Define using libm_alias_double.
4300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
4301         <libm-alias-double.h>.
4302         (nearbyint): Define using libm_alias_double.
4303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
4304         <libm-alias-double.h>.
4305         (rint): Define using libm_alias_double.
4306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
4307         <libm-alias-double.h>.
4308         (ceil): Define using libm_alias_double.
4309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
4310         <libm-alias-double.h>.
4311         (floor): Define using libm_alias_double.
4312         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
4313         <libm-alias-double.h>.
4314         (fma): Define using libm_alias_double.
4315         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
4316         <libm-alias-double.h>.
4317         (lrint): Define using libm_alias_double.
4318         (llrint): Likewise.
4319         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
4320         <libm-alias-double.h>.
4321         (nearbyint): Define using libm_alias_double.
4322         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
4323         <libm-alias-double.h>.
4324         (rint): Define using libm_alias_double.
4325         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
4326         <libm-alias-double.h>.
4327         (trunc): Define using libm_alias_double.
4328         * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
4329         <libm-alias-double.h>.
4330         (copysign): Define using libm_alias_double.
4331         * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
4332         <libm-alias-double.h>.
4333         (fabs): Define using libm_alias_double.
4334         * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
4335         <libm-alias-double.h>.
4336         (lrint): Define using libm_alias_double.
4337         (llrint): Likewise.
4338         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
4339         <libm-alias-double.h>.
4340         (nearbyint): Define using libm_alias_double.
4341         * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
4342         <libm-alias-double.h>.
4343         (rint): Define using libm_alias_double.
4345         [BZ #22229]
4346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
4347         <math_ldbl_opt.h>.
4348         (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
4350         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4351         SPARC --disable-multi-arch glibc variants.
4353         * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
4354         <libm-alias-float.h>.
4355         (exp2f): Define using libm_alias_float, or libm_alias_float_other
4356         if [SHARED].
4357         * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
4358         <libm-alias-float.h>.
4359         (exp2f): Define using libm_alias_float, or libm_alias_float_other
4360         if [SHARED].
4361         * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
4362         <libm-alias-float.h>.
4363         (exp2f): Define using libm_alias_float, or libm_alias_float_other
4364         if [SHARED].
4365         * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
4366         <libm-alias-float.h>.
4367         (exp2f): Define using libm_alias_float, or libm_alias_float_other
4368         if [SHARED].
4369         * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
4370         <libm-alias-float.h>.
4371         (exp2f): Define using libm_alias_float, or libm_alias_float_other
4372         if [SHARED].
4373         * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
4374         <libm-alias-float.h>.
4375         (ceilf): Define using libm_alias_float.
4376         * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
4377         <libm-alias-float.h>.
4378         (floorf): Define using libm_alias_float.
4379         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
4380         <libm-alias-float.h>.
4381         (fmaf): Define using libm_alias_float.
4382         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
4383         <libm-alias-float.h>.
4384         (nearbyintf): Define using libm_alias_float.
4385         * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
4386         <libm-alias-float.h>.
4387         (rintf): Define using libm_alias_float.
4388         * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
4389         <libm-alias-float.h>.
4390         (truncf): Define using libm_alias_float.
4391         * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4392         (copysignf): Define using libm_alias_float.
4393         * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
4394         (cosf): Define using libm_alias_float.
4395         * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4396         (fabsf): Define using libm_alias_float.
4397         * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4398         (fmaxf): Define using libm_alias_float.
4399         * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
4400         (fminf): Define using libm_alias_float.
4401         * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4402         (llrintf): Define using libm_alias_float.
4403         [!__ILP32__] (lrintf): Likewise.
4404         * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
4405         (sincosf): Define using libm_alias_float.
4406         * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
4407         (sinf): Define using libm_alias_float.
4408         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4409         (lrintf): Define using libm_alias_float.
4411         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
4412         <libm-alias-double.h>.
4413         (atan): Define using libm_alias_double.
4414         * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
4415         <libm-alias-double.h>.
4416         (ceil): Define using libm_alias_double.
4417         * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
4418         <libm-alias-double.h>.
4419         (floor): Define using libm_alias_double.
4420         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
4421         <libm-alias-double.h>.
4422         (fma): Define using libm_alias_double.
4423         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
4424         <libm-alias-double.h>.
4425         (nearbyint): Define using libm_alias_double.
4426         * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
4427         <libm-alias-double.h>.
4428         (rint): Define using libm_alias_double.
4429         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
4430         <libm-alias-double.h>.
4431         (sin): Define using libm_alias_double.
4432         (cos): Likewise.
4433         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
4434         <libm-alias-double.h>.
4435         (tan): Define using libm_alias_double.
4436         * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
4437         <libm-alias-double.h>.
4438         (trunc): Define using libm_alias_double.
4439         * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
4440         (copysign): Define using libm_alias_double.
4441         * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
4442         (fabs): Define using libm_alias_double.
4443         * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
4444         (fmax): Define using libm_alias_double.
4445         * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
4446         (fmin): Define using libm_alias_double.
4447         * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
4448         (llrint): Define using libm_alias_double.
4449         [!__ILP32__] (lrint): Likewise.
4450         * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
4451         (lrint): Define using libm_alias_double.
4453 2017-11-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4455         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4456         (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
4457         objects.
4458         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
4459         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4460         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
4461         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4462         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
4463         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4465         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4466         (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
4467         objects.
4468         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
4469         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
4470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
4471         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
4472         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
4473         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4475         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4476         (libm-sysdep_routines): Add s_nearbyint-generic and
4477         s_nearbyintf-generic objects.
4478         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
4479         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
4480         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
4481         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
4482         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
4483         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
4485         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4486         Add s_finitef-generic and s_finite-generic objects.
4487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
4488         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
4489         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
4490         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
4491         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
4492         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
4494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4495         Add s_isinff-generic and s_isinf-generic objects.
4496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
4497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
4498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
4499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
4500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
4501         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4503         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4504         Add s_isnanf-generic and s_isnan-generic objects.
4505         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
4506         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
4507         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
4508         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
4509         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
4510         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4512         * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
4513         macro.
4514         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
4515         rule.
4516         (sysdep_routines): Use sysdep_calls as base.
4517         (libm-sysdep_routines): Add generic rule for symbols shared with
4518         libc.  Add s_signbit-generic and s_signbitf-generic objects.
4519         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
4520         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
4521         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
4522         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
4523         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
4524         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4526 2017-11-29  Joseph Myers  <joseph@codesourcery.com>
4528         * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
4529         * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
4530         * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
4531         * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
4532         * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
4533         * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
4534         * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
4535         * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
4536         * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
4537         * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
4538         * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
4539         * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
4540         * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
4541         libm_alias_float_r.
4542         * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
4543         * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
4544         (logf): Likewise.
4545         * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
4546         * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
4547         * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
4548         * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
4549         * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
4550         * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
4551         * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
4552         * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
4553         * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
4554         * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
4555         libm_alias_float.
4556         * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
4557         (cosf): Likewise.
4558         * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
4559         * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
4560         * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
4561         * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
4562         * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
4563         * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
4564         * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
4565         * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
4566         * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
4567         * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
4568         * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
4569         * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
4570         * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
4571         * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
4572         * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
4573         * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
4574         * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
4575         * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
4576         * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
4577         libm_alias_float.
4578         * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
4579         * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
4580         * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
4581         * sysdeps/ia64/fpu/w_lgammaf_main.c
4582         [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
4583         * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
4585 2017-11-28  Mike FABIAN  <mfabian@redhat.com>
4586             Alexandre Oliva  <aoliva@redhat.com>
4588         [BZ #17750]
4589         * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
4590         * localedata/fr_CA.UTF-8.in: New file with test data for backward
4591         accents sorting.
4592         * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
4593         sorting.
4594         * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
4595         * localedata/locales/de_DE (LC_COLLATE): Likewise.
4596         * localedata/locales/hu_HU (LC_COLLATE): Likewise.
4597         * localedata/locales/lb_LU (LC_COLLATE): Likewise.
4598         * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
4599         * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
4600         * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
4601         instead of “ifdef DIACRIT_BACKWARD”.
4603 2017-11-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4605         * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
4606         * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
4607         * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4608         * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
4609         * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
4610         * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
4611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4615         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
4616         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
4617         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4618         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4619         * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
4620         (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
4621         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
4622         (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
4623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4624         ($(have-as-vis3) == yes): Remove conditional.
4625         * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
4626         Likewise.
4627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
4628         file.
4629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
4630         file.
4631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
4632         file.
4633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
4634         file.
4635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
4636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
4637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
4638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
4639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
4640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
4641         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
4642         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
4644 2017-11-29  Joseph Myers  <joseph@codesourcery.com>
4646         * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
4647         * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
4648         * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
4649         * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
4650         * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
4651         * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
4652         * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
4653         * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
4654         * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
4655         * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
4656         * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
4657         * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
4658         * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
4659         libm_alias_double_r.
4660         * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
4661         (log): Likewise.
4662         * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
4663         * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
4664         * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
4665         * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
4666         * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
4667         * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
4668         * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
4669         * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
4670         * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
4671         * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
4672         * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
4673         libm_alias_double.
4674         * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
4675         (cos): Likewise.
4676         * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
4677         * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
4678         * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
4679         * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
4680         * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
4681         * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
4682         * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
4683         * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
4684         * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
4685         * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
4686         * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
4687         * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
4688         * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
4689         * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
4690         * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
4691         * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
4692         * sysdeps/ia64/fpu/s_round.S (round): Likewise.
4693         * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
4694         libm_alias_double.
4695         * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
4696         * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
4697         * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
4698         * sysdeps/ia64/fpu/w_lgamma_main.c
4699         [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
4700         * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
4702 2017-11-28  John David Anglin  <danglin@gcc.gnu.org>
4704         * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED.  Load
4705         address of $global$ into %dp register earlier.  Use pc-relative
4706         instruction sequence for PIC case.
4708 2017-11-28  Joseph Myers  <joseph@codesourcery.com>
4710         * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
4711         (asinhf): Define using libm_alias_float.
4712         * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
4713         (atanf): Define using libm_alias_float.
4714         * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
4715         (cbrtf): Define using libm_alias_float.
4716         * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
4717         (ceilf): Define using libm_alias_float.
4718         * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4719         (copysignf): Define using libm_alias_float.
4720         * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
4721         (expm1f): Define using libm_alias_float.
4722         * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
4723         (fabsf): Define using libm_alias_float.
4724         * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
4725         (floorf): Define using libm_alias_float.
4726         * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4727         (fmaxf): Define using libm_alias_float.
4728         * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
4729         (fminf): Define using libm_alias_float.
4730         * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
4731         (frexpf): Define using libm_alias_float.
4732         * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4733         (llrintf): Define using libm_alias_float.
4734         * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
4735         (logbf): Define using libm_alias_float.
4736         * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4737         (lrintf): Define using libm_alias_float.
4738         * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
4739         (nearbyintf): Define using libm_alias_float.
4740         * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
4741         (remquof): Define using libm_alias_float.
4742         * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
4743         (rintf): Define using libm_alias_float.
4744         * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
4745         (truncf): Define using libm_alias_float.
4746         * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
4747         <libm-alias-float.h>.
4748         (exp2f): Define using libm_alias_float, or libm_alias_float_other
4749         if [SHARED].
4750         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
4751         <libm-alias-float.h>.
4752         (expf): Define using libm_alias_float, or libm_alias_float_other
4753         if [SHARED].
4754         * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
4755         <libm-alias-float.h>.
4756         (log2f): Define using libm_alias_float, or libm_alias_float_other
4757         if [SHARED].
4758         * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
4759         <libm-alias-float.h>.
4760         (logf): Define using libm_alias_float, or libm_alias_float_other
4761         if [SHARED].
4762         * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
4763         <libm-alias-float.h>.
4764         (powf): Define using libm_alias_float, or libm_alias_float_other
4765         if [SHARED].
4766         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
4767         <libm-alias-float.h>.
4768         (cosf): Define using libm_alias_float.
4769         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
4770         <libm-alias-float.h>.
4771         (sincosf): Define using libm_alias_float.
4772         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
4773         <libm-alias-float.h>.
4774         (sinf): Define using libm_alias_float.
4775         * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4776         (fmaxf): Define using libm_alias_float.
4777         * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
4778         (fminf): Define using libm_alias_float.
4779         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4780         <libm-alias-float.h>.
4781         (fmaf): Define using libm_alias_float.
4783         * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
4784         (asinh): Define using libm_alias_double.
4785         * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
4786         (atan): Define using libm_alias_double.
4787         * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
4788         (cbrt): Define using libm_alias_double.
4789         * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
4790         (ceil): Define using libm_alias_double.
4791         * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
4792         (copysign): Define using libm_alias_double.
4793         * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
4794         (expm1): Define using libm_alias_double.
4795         * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
4796         (fabs): Define using libm_alias_double.
4797         * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
4798         (fdim): Define using libm_alias_double.
4799         * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
4800         (floor): Define using libm_alias_double.
4801         * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
4802         (fmax): Define using libm_alias_double.
4803         * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
4804         (fmin): Define using libm_alias_double.
4805         * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
4806         (frexp): Define using libm_alias_double.
4807         * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
4808         (llrint): Define using libm_alias_double.
4809         * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
4810         (logb): Define using libm_alias_double.
4811         * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
4812         (lrint): Define using libm_alias_double.
4813         * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
4814         (nearbyint): Define using libm_alias_double.
4815         * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
4816         (remquo): Define using libm_alias_double.
4817         * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
4818         (rint): Define using libm_alias_double.
4819         * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
4820         (trunc): Define using libm_alias_double.
4821         * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
4822         (fmax): Define using libm_alias_double.
4823         * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
4824         (fmin): Define using libm_alias_double.
4825         * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
4826         (fma): Define using libm_alias_double.
4828 2017-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4830         [BZ #22370]
4831         * elf/dl-hwcaps.c (ROUND): Removed.
4832         (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
4833         and ELF_NOTE_NEXT_OFFSET.
4834         * elf/dl-load.c (ROUND): Removed.
4835         (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4836         * elf/readelflib.c (ROUND): Removed.
4837         (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4838         * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
4839         [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
4840         [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
4842 2017-11-28  Joseph Myers  <joseph@codesourcery.com>
4844         * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4845         [!__fmaf] (fmaf): Define using libm_alias_float.
4847         * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
4848         [!__fma] (fma): Define using libm_alias_double.
4849         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
4851 2017-11-28  Mike FABIAN  <mfabian@redhat.com>
4853         [BZ #22336]
4854         * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
4855         and implement the collation rules for cs from CLDR on top of that.
4856         * Makefile: Add cs_CZ.UTF-8 to test-input.
4857         * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
4859 2017-11-28  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4861         * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
4863 2017-11-28  Victor Rodriguez  <victor.rodriguez.bahena@intel.com>
4864             Icarus Sparry  <icarus.w.sparry@intel.com>
4866         * benchtests/Makefile:Add BENCHSET to allow subsets of
4867         benchmarks to be run.
4868         * benchtests/README: Add documentation for: Running subsets of
4869         benchmarks.
4871 2017-11-28  Victor Rodriguez  <victor.rodriguez.bahena@intel.com>
4873         * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
4874         range of tests names.
4876         * benchtests/scripts/benchout.schema.json: Add throughput as accepted
4877         result from property and remove "max", min" and "mean" from
4878         required properties based on benchtests/bench-skeleton.c.
4880 2017-11-28  Florian Weimer  <fweimer@redhat.com>
4882         [BZ #20826]
4883         Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
4884         due to Internet requirement.
4885         * posix/Makefile (tests): Remove tst-getaddrinfo4,
4886         tst-getaddrinfo5.
4887         (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
4889 2017-11-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4891         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4892         [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
4893         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4894         (sysdep_routines): Add memset-ultra1.
4895         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
4896         file.
4897         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
4898         * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
4899         * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
4900         * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
4901         * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
4902         * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
4903         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
4904         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4906         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
4907         file.
4908         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
4909         * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
4910         * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
4911         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
4912         * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
4913         * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
4914         * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
4915         macro.
4916         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4917         [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
4918         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4919         (sysdep_routines): Add memcpy-ultra1.
4920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
4921         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
4923 2017-11-28  Joseph Myers  <joseph@codesourcery.com>
4925         * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
4926         (cfloat_versions): Take function argument without trailing 'f'.
4927         Call libm_alias_float_other.
4928         * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
4929         * sysdeps/alpha/fpu/cargf.c: Likewise.
4930         * sysdeps/alpha/fpu/cimagf.c: Likewise.
4931         * sysdeps/alpha/fpu/conjf.c: Likewise.
4932         * sysdeps/alpha/fpu/crealf.c: Likewise.
4933         * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
4934         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4935         * sysdeps/alpha/fpu/s_casinf.c: Likewise.
4936         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4937         * sysdeps/alpha/fpu/s_catanf.c: Likewise.
4938         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4939         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4940         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4941         * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
4942         * sysdeps/alpha/fpu/s_clogf.c: Likewise.
4943         * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
4944         * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
4945         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4946         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4947         * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
4948         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4949         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4950         * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
4951         (clog10f): Use libm_alias_float_other.
4952         * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4953         (ceilf): Define using libm_alias_float.
4954         * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
4955         (copysignf): Define using libm_alias_float.
4956         * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4957         (fabsf): Define using libm_alias_float.
4958         * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
4959         (floorf): Define using libm_alias_float.
4960         * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
4961         (fmaxf): Define using libm_alias_float.
4962         * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
4963         (fminf): Define using libm_alias_float.
4964         * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4965         (lrintf): Define using libm_alias_float.
4966         (llrintf): Likewise.
4967         * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4968         (lroundf): Define using libm_alias_float.
4969         (llroundf): Likewise.
4970         * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
4971         (rintf): Define using libm_alias_float.
4972         * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
4973         (truncf): Define using libm_alias_float.
4975         * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4976         (ceilf): Define using libm_alias_float.
4977         * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
4978         (floorf): Define using libm_alias_float.
4979         * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4980         (fmaf): Define using libm_alias_float.
4981         * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
4982         (fmaxf): Define using libm_alias_float.
4983         * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
4984         (fminf): Define using libm_alias_float.
4985         * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
4986         (llrintf): Define using libm_alias_float.
4987         * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
4988         (llroundf): Define using libm_alias_float.
4989         * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4990         (lrintf): Define using libm_alias_float.
4991         * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4992         (lroundf): Define using libm_alias_float.
4993         * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
4994         <libm-alias-float.h>.
4995         (nearbyintf): Define using libm_alias_float.
4996         * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
4997         (rintf): Define using libm_alias_float.
4998         * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
4999         (roundf): Define using libm_alias_float.
5000         * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
5001         (truncf): Define using libm_alias_float.
5003         * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
5004         (ceil): Define using libm_alias_double.
5005         * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
5006         (copysign): Define using libm_alias_double.
5007         * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
5008         (fabs): Define using libm_alias_double.
5009         * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
5010         (floor): Define using libm_alias_double.
5011         * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
5012         (fmax): Define using libm_alias_double.
5013         * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
5014         (fmin): Define using libm_alias_double.
5015         * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
5016         (lrint): Define using libm_alias_double.
5017         (llrint): Likewise.
5018         * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
5019         (lround): Define using libm_alias_double.
5020         (llround): Likewise.
5021         * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
5022         (rint): Define using libm_alias_double.
5023         * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
5024         (trunc): Define using libm_alias_double.
5026         * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
5027         (libm_alias_double_r): Add semicolon after weak_alias call.
5029 2017-11-27  Joseph Myers  <joseph@codesourcery.com>
5031         * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
5032         (ceil): Define using libm_alias_double.
5033         * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
5034         (floor): Define using libm_alias_double.
5035         * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
5036         (fma): Define using libm_alias_double.
5037         * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
5038         (fmax): Define using libm_alias_double.
5039         * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
5040         (fmin): Define using libm_alias_double.
5041         * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
5042         (llrint): Define using libm_alias_double.
5043         * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
5044         (llround): Define using libm_alias_double.
5045         * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
5046         (lrint): Define using libm_alias_double.
5047         * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
5048         (lround): Define using libm_alias_double.
5049         * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
5050         (nearbyint): Define using libm_alias_double.
5051         * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
5052         (rint): Define using libm_alias_double.
5053         * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
5054         (round): Define using libm_alias_double.
5055         * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
5056         (trunc): Define using libm_alias_double.
5058 2017-11-27  Florian Weimer  <fweimer@redhat.com>
5060         * sysdeps/unix/sysv/linux/mlock2.c: New file.
5061         * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
5062         * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
5063         (tests): Add tst-mlock2.
5064         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
5065         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
5066         [__LINUX_KERNEL_VERSION >= 4.4]: Define.
5067         * sysdeps/unix/sysv/linux/libc**.abilist: Update.
5068         * manual/memory.texi (Page Lock Functions): Move @end deftypefun
5069         for mlock.  Document mlock2.
5071 2017-11-27  Joseph Myers  <joseph@codesourcery.com>
5073         * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
5074         * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
5075         Likewise.
5076         * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
5077         Likewise.
5078         * sysdeps/x86/Makeconfig: New file.
5079         * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
5080         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5081         * bits/floatn.h (__HAVE_FLOAT64X): New macro.
5082         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5083         * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
5084         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5085         * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
5086         Likewise.
5087         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5088         * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
5089         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5090         * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
5091         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5092         * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
5093         (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5094         * manual/math.texi (Mathematics): Document support for _Float64x.
5095         * math/Versions (GLIBC_2.27): Add _Float64x functions.
5096         * stdlib/Versions (GLIBC_2.27): Likewise.
5097         * wcsmbs/Versions (GLIBC_2.27): Likewise.
5098         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5099         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5100         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5101         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5102         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5103         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5104         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5105         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5106         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5107         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5110         Likewise.
5111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5112         Likewise.
5113         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5114         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5115         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5116         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5117         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5118         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5119         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5120         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5121         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5122         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5123         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5124         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5125         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5126         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5128 2017-11-27  Andreas Schwab  <schwab@suse.de>
5130         * elf/Makefile (dl-routines): Add dl-sort-maps.
5131         * elf/dl-sort-maps.c: New file.
5132         * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
5133         (_dl_sort_maps): Declare.
5134         * elf/dl-fini.c (_dl_sort_fini): Remove.
5135         (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
5136         * elf/dl-close.c (_dl_close_worker): Likewise.
5137         * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
5138         open-coding it.
5139         * elf/dl-open.c (dl_open_worker): Likewise.
5141 2017-11-24  Joseph Myers  <joseph@codesourcery.com>
5143         * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
5144         using libm_alias_float128.
5145         * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
5146         Likewise.
5147         * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
5148         Likewise.
5149         * sysdeps/ieee754/float128/s_setpayloadsigf128.c
5150         (setpayloadsigf128): Likewise.
5151         * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
5152         Likewise.
5153         * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
5154         Likewise.
5156         * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
5157         suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
5158         -mfloat128 to CFLAGS.
5159         ($(foreach
5160         suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
5161         Likewise.
5162         (CFLAGS-libm-test-support-float64x.c): New variable.
5163         ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
5164         $(f128-loader-link) to gnulib-tests.
5166         * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
5167         (libm_alias_float128_other_r): If
5168         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
5169         alias.
5170         (libm_alias_float128_r): Add semicolon after weak_alias call.
5171         * sysdeps/generic/libm-alias-ldouble.h
5172         (libm_alias_ldouble_other_r_f128): New macro.
5173         (libm_alias_ldouble_other_r_f64x): Likewise.
5174         (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
5175         and libm_alias_ldouble_other_r_f64x.
5176         (libm_alias_ldouble_r): Add semicolon after weak_alias call.
5177         * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
5178         (libm_alias_ldouble_other_r_f128): New macro.
5179         (libm_alias_ldouble_other_r_f64x): Likewise.
5180         (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
5181         and libm_alias_ldouble_other_r_f64x.
5183         * stdlib/strfroml.c: Always include <stdlib.h>.
5184         [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
5185         undefine as macro and define as weak alias.
5186         * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
5187         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
5188         <stdlib.h>.
5189         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
5190         Define and later undefine as macro and define as weak alias.
5192         * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
5193         Define and later undefine as macro.  Define as weak alias if
5194         [!USE_WIDE_CHAR].
5195         [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
5196         undefine as macro.  Define as weak alias if [USE_WIDE_CHAR].
5197         * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
5198         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
5199         Define and later undefine as macro.  Define as weak alias if
5200         [!USE_WIDE_CHAR].
5201         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
5202         Define and later undefine as macro.  Define as weak alias if
5203         [USE_WIDE_CHAR].
5204         * sysdeps/ieee754/float128/strtof128_l.c
5205         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
5206         Define and later undefine as macro.  Define as weak alias if
5207         [!USE_WIDE_CHAR].
5208         [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
5209         Define and later undefine as macro.  Define as weak alias if
5210         [USE_WIDE_CHAR].
5211         * sysdeps/ieee754/ldbl-128/strtold_l.c
5212         [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5213         undefine as macro.  Define as weak alias if [!USE_WIDE_CHAR].
5214         [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5215         undefine as macro.  Define as weak alias if [USE_WIDE_CHAR].
5216         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
5217         [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5218         undefine as macro.  Define as weak alias if [!USE_WIDE_CHAR].
5219         [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5220         undefine as macro.  Define as weak alias if [USE_WIDE_CHAR].
5221         * sysdeps/ieee754/ldbl-96/strtold_l.c
5222         [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5223         undefine as macro.  Define as weak alias if [!USE_WIDE_CHAR].
5224         [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5225         undefine as macro.  Define as weak alias if [USE_WIDE_CHAR].
5227         * math/test-float64x.h: New file.
5228         * math/Makefile (type-float64x-yes): New variable.
5229         (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
5231         * sysdeps/generic/math_private.h (min_of_type_f): Make into a
5232         function-like macro.
5233         (min_of_type_): Likewise.
5234         (min_of_type_l): Likewise.
5235         (min_of_type_f128): Likewise.
5236         (min_of_type): Pass () as last argument of __MATH_TG.
5238         * stdlib/tst-strtod-round-skeleton.c
5239         (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
5240         headers.
5242         * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
5243         for combinations of long double with _Float64 and _Float64x.
5245         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
5246         (__DECL_SIMD_cosf32): Likewise.
5247         (__DECL_SIMD_cosf64): Likewise.
5248         (__DECL_SIMD_cosf32x): Likewise.
5249         (__DECL_SIMD_cosf64x): Likewise.
5250         (__DECL_SIMD_cosf128x): Likewise.
5251         (__DECL_SIMD_sinf16): Likewise.
5252         (__DECL_SIMD_sinf32): Likewise.
5253         (__DECL_SIMD_sinf64): Likewise.
5254         (__DECL_SIMD_sinf32x): Likewise.
5255         (__DECL_SIMD_sinf64x): Likewise.
5256         (__DECL_SIMD_sinf128x): Likewise.
5257         (__DECL_SIMD_sincosf16): Likewise.
5258         (__DECL_SIMD_sincosf32): Likewise.
5259         (__DECL_SIMD_sincosf64): Likewise.
5260         (__DECL_SIMD_sincosf32x): Likewise.
5261         (__DECL_SIMD_sincosf64x): Likewise.
5262         (__DECL_SIMD_sincosf128x): Likewise.
5263         (__DECL_SIMD_logf16): Likewise.
5264         (__DECL_SIMD_logf32): Likewise.
5265         (__DECL_SIMD_logf64): Likewise.
5266         (__DECL_SIMD_logf32x): Likewise.
5267         (__DECL_SIMD_logf64x): Likewise.
5268         (__DECL_SIMD_logf128x): Likewise.
5269         (__DECL_SIMD_expf16): Likewise.
5270         (__DECL_SIMD_expf32): Likewise.
5271         (__DECL_SIMD_expf64): Likewise.
5272         (__DECL_SIMD_expf32x): Likewise.
5273         (__DECL_SIMD_expf64x): Likewise.
5274         (__DECL_SIMD_expf128x): Likewise.
5275         (__DECL_SIMD_powf16): Likewise.
5276         (__DECL_SIMD_powf32): Likewise.
5277         (__DECL_SIMD_powf64): Likewise.
5278         (__DECL_SIMD_powf32x): Likewise.
5279         (__DECL_SIMD_powf64x): Likewise.
5280         (__DECL_SIMD_powf128x): Likewise.
5282         * stdlib/Versions (libc): Move entries for wcstof128 and
5283         wcstof128_l to ....
5284         * wcsmbs/Versions (libc): ... here.
5285         Include <float128-abi.h>.
5287 2017-11-24  Florian Weimer  <fweimer@redhat.com>
5289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5290         bits/mman-shared.h.
5291         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
5292         <bits/mman-shared.h>.
5293         (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
5294         to ...
5295         * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
5296         Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
5297         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5298         <bits/mman-shared.h>.
5300 2017-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5302         [BZ #22457]
5303         * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
5304         posix_memalign/free.
5305         * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
5307 2017-11-22  Mike FABIAN  <mfabian@redhat.com>
5309         [BZ #22469]
5310         * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
5311         and implement the collation rules for pl from CLDR on top of that.
5312         * Makefile: Add pl_PL.UTF-8 to test-input and to the list
5313         of locales to be built for testing.
5314         * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
5316 2017-11-23  Joseph Myers  <joseph@codesourcery.com>
5318         * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
5319         * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
5320         libm_alias_ldouble_other.
5321         * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
5322         * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
5323         * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
5324         * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
5325         * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
5326         * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
5327         * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
5328         * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
5329         * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
5330         libm_alias_ldouble_r.
5331         * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
5332         libm_alias_ldouble_other.
5333         * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
5334         (log10l): Likewise.
5335         * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
5336         * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
5337         * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
5338         * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
5339         * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
5340         * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
5341         * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
5342         (atan2l): Likewise.
5343         * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
5344         * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
5345         * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
5346         libm_alias_ldouble.
5347         * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
5348         (cosl): Likewise.
5349         * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
5350         * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
5351         * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
5352         (expl): Likewise.
5353         * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
5354         * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
5355         * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
5356         * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
5357         * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
5358         * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
5359         * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
5360         * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
5361         * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
5362         * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
5363         * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
5364         libm_alias_ldouble.
5365         * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
5366         libm_alias_ldouble_other.
5367         * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
5368         * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
5369         * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
5370         libm_alias_ldouble.
5371         * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
5372         libm_alias_ldouble_other.
5373         * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
5374         * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
5375         * sysdeps/ia64/fpu/w_lgammal_main.c
5376         [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
5377         * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
5379 2017-11-23  Florian Weimer  <fweimer@redhat.com>
5381         * malloc/malloc.c (tcache_thread_shutdown): Rename from
5382         tcache_thread_freeres.  Define for USE_TCACHE and !USE_TCACHE
5383         alike.  Remove freeres marker.
5384         * malloc/arena.c (arena_thread_freeres): Call
5385         tcache_thread_shutdown.
5387 2017-11-23  Florian Weimer  <fweimer@redhat.com>
5389         [BZ #22459]
5390         Export nscd hash function as __nss_hash.
5391         * include/nss.h (__nss_hash): Declare.
5392         * nis/nis_hash.c (__nis_hash): Call __nss_hash.  Turn into compat
5393         symbol.
5394         * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
5395         * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
5396         of __nscd_hash.
5397         * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
5398         * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
5399         * nss/Makefiles (routines): Add nss_hash.
5400         * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
5401         * nss/nss_hash.c: Rename from nis/nis_hash.c.
5402         (__nss_hash): Rename from __nis_hash.  Define hidden alias.
5403         * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
5405 2017-11-23  Florian Weimer  <fweimer@redhat.com>
5407         [BZ #22478]
5408         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
5409         Return error code, not -1.
5410         * signal/tst-sigwait-eintr.c: New file.
5411         * signal/Makefile (tests): Add tst-sigwait-eintr.
5413 2017-11-23  Florian Weimer  <fweimer@redhat.com>
5415         Linux: Add memfd_create system call wrapper
5416         * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
5417         tst-memfd_create.
5418         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5419         (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
5420         [__USE_GNU] (memfd_create): Declare.
5421         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
5422         * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
5423         * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
5424         * sysdeps/unix/sysv/linux/**.abilist: Update.
5425         * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
5427 2017-11-22  Joseph Myers  <joseph@codesourcery.com>
5429         * localedata/gen-locale.sh: Fix typo in variable name.
5431         * resolv/res_debug.c (p_secstodate): Condition definition on
5432         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)].  Define
5433         directly as __p_secstodate, and as a compat symbol.  Do not use
5434         libresolv_hidden_def.
5435         * resolv/resolv.h (p_secstodate): Remove macro and function
5436         declaration.
5437         * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
5438         using p_secstodate.
5439         * include/resolv.h (__p_secstodate): Do not use
5440         libresolv_hidden_proto.
5441         * resolv/Makefile (tests): Move tst-p_secstodate to ....
5442         (tests-internal): ... here.
5443         * resolv/tst-p_secstodate.c: Include <shlib-compat.h>.  Condition
5444         all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
5445         and declare and use __p_secstodate and use compat_symbol_reference
5446         in that case.
5447         [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
5448         implementation returning 77.
5450         [BZ #22463]
5451         * resolv/res_debug.c: Include <libc-diag.h>.
5452         (p_secstodate): Assert time_t at least as wide as u_long.  On
5453         overflow, use integer seconds since the epoch as output, or use
5454         "<overflow>" as output and set errno to EOVERFLOW if integer
5455         seconds since the epoch would be 14 or more characters.
5456         (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
5457         for sprintf call.
5458         * resolv/tst-p_secstodate.c: New file.
5459         * resolv/Makefile (tests): Add tst-p_secstodate.
5460         ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
5462         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
5463         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5464         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
5466 2017-11-22  Paul Eggert  <eggert@cs.ucla.edu>
5468         * posix/regcomp.c (init_word_char): Add comments.
5470 2017-11-22  Joseph Myers  <joseph@codesourcery.com>
5472         [BZ #22447]
5473         * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
5474         strlen to compute length of ut_user and set trailing NUL byte of
5475         result explicitly.
5477 2017-11-21  Mike FABIAN  <mfabian@redhat.com>
5479         [BZ #15537]
5480         * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
5481         using “copy "iso14651_t1"” and then implementing the
5482         collation rules for lv from CLDR on top of that.
5483         * Makefile: Add lv_LV.UTF-8 to test-input and to the list
5484         of locales to be built for testing.
5485         * lv_LV.UTF-8.in: New file with test data to test the Latvian
5486         sorting.
5488 2017-11-21  Joseph Myers  <joseph@codesourcery.com>
5490         * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5491         [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
5492         [__USE_MISC] (MADV_VPS_PURGE): Likewise.
5493         [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
5494         [__USE_MISC] (MADV_HWPOISON): New macro.
5495         [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
5497 2017-11-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5499         * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
5500         -Wmissing-braces on GCC 4.9.
5502 2017-11-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5504         * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
5505         * sysdeps/s390/s390-32/start.S (_start): Likewise
5506         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
5507         (thread_start): Likewise.
5508         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
5509         (thread_start): Likewise.
5510         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
5511         (__makecontext_ret): Likewise.
5512         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
5513         (__makecontext_ret): Likewise.
5515 2017-11-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5517         * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
5518         __wcschrnul): Remove attribute_hidden.
5520 2017-11-20  Paul Eggert  <eggert@cs.ucla.edu>
5522         regex: don't assume uint64_t or uint32_t
5523         This avoids -Werror=overflow errors for 32-bit systems in
5524         the 64-bit case.  Problem reported by Joseph Myers in:
5525         https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
5526         Also, when this code is used in Gnulib it ports to platforms
5527         that lack uint64_t and uint32_t.  The C standard doesn't guarantee
5528         them, and on some 32-bit compilers there is no uint64_t.
5529         Problem reported by Gianluigi Tiesi in:
5530         http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
5531         * posix/regcomp.c (init_word_char): Don't assume that the types
5532         uint64_t and uint32_t exist.  Adapted from Gnulib patch
5533         2012-05-27T06:40:00!eggert@cs.ucla.edu.  See:
5534         https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
5536 2017-11-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5538         * sysdeps/aarch64/memset-reg.h: New file.
5539         * sysdeps/aarch64/memset.S: Use it.
5540         (__memset): Rename to MEMSET macro.
5541         [ZVA_MACRO]: Use zva_macro.
5542         * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5543         Add memset_generic and memset_falkor.
5544         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5545         (__libc_ifunc_impl_list): Add memset ifuncs.
5546         * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
5547         local variable zva_size.
5548         * sysdeps/aarch64/multiarch/memset.c: New file.
5549         * sysdeps/aarch64/multiarch/memset_generic.S: New file.
5550         * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
5551         * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
5552         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
5553         (DCZID_DZP_MASK): New macro.
5554         (DCZID_BS_MASK): Likewise.
5555         (init_cpu_features): Read and set zva_size.
5556         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
5557         (struct cpu_features): New member zva_size.
5559         * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
5560         * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
5561         * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
5563         * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
5564         backwards.  Fix timing computation.
5565         * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
5566         * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
5567         on memset by N at a time.  Fix timing computation.
5569 2017-11-20  Florian Weimer  <fweimer@redhat.com>
5571         * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
5572         MADV_HUGEPAGE, MADV_NOHUGEPAGE.
5574 2017-11-19  Florian Weimer  <fweimer@redhat.com>
5576         manual: Document mprotect
5577         * manual/memory.texi (Memory Protection): New section.
5578         * manual/llio.texi (Memory-mapped I/O): Remove duplicate
5579         documentation of PROT_* flags and reference the Memory Protection
5580         section instead.
5582 2017-11-19  Florian Weimer  <fweimer@redhat.com>
5584         * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
5585         pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
5586         (Scatter-Gather): ... to here.  Remove misleading comment.
5588 2017-11-18  Christian Brauner  <christian.brauner@ubuntu.com>
5590         * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
5591         style.
5593         * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
5594         when /proc/<pid>/setgroups does not exist.
5596 2017-11-18  Florian Weimer  <fweimer@redhat.com>
5598         * sysdeps/unix/sysv/linux/tst-ttyname.c
5599         (become_root_in_mount_ns): Remove.
5600         (do_in_chroot_1): Call support_enter_mount_namespace.
5601         (do_in_chroot_2): Likewise.
5602         (do_test): Call support_become_root early.
5604 2017-11-18  Florian Weimer  <fweimer@redhat.com>
5606         * support/namespace.h (support_enter_mount_namespace): Declare.
5607         * support/support_enter_mount_namespace.c: New file.
5608         * support/Makefile (libsupport-routines): Add
5609         support_enter_mount_namespace.
5611 2017-11-18  Florian Weimer  <fweimer@redhat.com>
5613         * support/temp_file.c (support_create_temp_directory): Use
5614         test_dir and do not rely on the presence of the XXXXXX suffix.
5615         * support/temp_file.h (support_create_temp_directory): Update
5616         comment.
5617         * support/tst-xreadlink.c (do_test): Adjust.
5618         * support/support_chroot.c (support_chroot_create): Likewise.
5620 2017-11-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5622         * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
5623         macro.
5624         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
5625         htm-no-suspend.
5627 2017-11-17  Joseph Myers  <joseph@codesourcery.com>
5629         * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5630         [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5631         * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5632         (ceill): Define using libm_alias_ldouble.
5633         * sysdeps/x86_64/fpu/s_copysignl.S: Include
5634         <libm-alias-ldouble.h>.
5635         (copysignl): Define using libm_alias_ldouble.
5636         * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5637         (fabsl): Define using libm_alias_ldouble.
5638         * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5639         (floorl): Define using libm_alias_ldouble.
5640         * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5641         (fmaxl): Define using libm_alias_ldouble.
5642         * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5643         (fminl): Define using libm_alias_ldouble.
5644         * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5645         (llrintl): Define using libm_alias_ldouble.
5646         (lrintl): Likewise.
5647         * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
5648         <libm-alias-ldouble.h>.
5649         (nearbyintl): Define using libm_alias_ldouble.
5650         * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5651         (truncl): Define using libm_alias_ldouble.
5652         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
5653         <libm-alias-ldouble.h>.
5654         (lrintl): Define using libm_alias_ldouble.
5656         * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5657         [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5658         * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
5659         (asinhl): Define using libm_alias_ldouble.
5660         * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
5661         (atanl): Define using libm_alias_ldouble.
5662         * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
5663         (cbrtl): Define using libm_alias_ldouble.
5664         * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5665         (ceill): Define using libm_alias_ldouble.
5666         * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
5667         (copysignl): Define using libm_alias_ldouble.
5668         * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5669         (fabsl): Define using libm_alias_ldouble.
5670         * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5671         (floorl): Define using libm_alias_ldouble.
5672         * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5673         (fmaxl): Define using libm_alias_ldouble.
5674         * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5675         (fminl): Define using libm_alias_ldouble.
5676         * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
5677         (frexpl): Define using libm_alias_ldouble.
5678         * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5679         (llrintl): Define using libm_alias_ldouble.
5680         * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
5681         (logbl): Define using libm_alias_ldouble.
5682         * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
5683         (lrintl): Define using libm_alias_ldouble.
5684         * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
5685         (nearbyintl): Define using libm_alias_ldouble.
5686         * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
5687         (nextafterl): Define using libm_alias_ldouble.
5688         * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
5689         (remquol): Define using libm_alias_ldouble.
5690         * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
5691         (rintl): Define using libm_alias_ldouble.
5692         * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5693         (truncl): Define using libm_alias_ldouble.
5694         * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5695         (fmaxl): Define using libm_alias_ldouble.
5696         * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5697         (fminl): Define using libm_alias_ldouble.
5699         * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
5700         to C syntax instead of availability and properties of types.
5701         * bits/floatn.h [!__ASSEMBLER]: Likewise.
5702         * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
5703         * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
5704         * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
5705         * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
5706         * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
5708 2017-11-17  Florian Weimer  <fweimer@redhat.com>
5710         support_become_root: Enable file creation in namespaces.
5711         * support/support_become_root.c (setup_mapping): New function.
5712         (support_become_root): Call it.
5714 2017-11-17  Joseph Myers  <joseph@codesourcery.com>
5716         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
5717         macro.
5719 2017-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5721         * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
5722         CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
5724 2017-11-16  Joseph Myers  <joseph@codesourcery.com>
5726         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
5728         * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5729         version to 4.14.
5731 2017-11-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5733         * INSTALL: Fix botched up regeneration.
5735         * NEWS: Update sourceare link to https.
5736         * configure.ac: Likewise.
5737         * crypt/md5test-giant.c: Likewise.
5738         * dlfcn/bug-atexit1.c: Likewise.
5739         * dlfcn/bug-atexit2.c: Likewise.
5740         * localedata/README: Likewise.
5741         * malloc/tst-mallocfork.c: Likewise.
5742         * manual/install.texi: Likewise.
5743         * nptl/tst-pthread-getattr.c: Likewise.
5744         * stdio-common/tst-fgets.c: Likewise.
5745         * stdio-common/tst-fwrite.c: Likewise.
5746         * sunrpc/Makefile: Likewise.
5747         * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
5748         * wcsmbs/tst-mbrtowc2.c: Likewise.
5749         * configure: Regenerate.
5750         * INSTALL: Regenerate.
5752 2017-11-15  Martin Sebor  <msebor@redhat.com>
5754         * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
5755         * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
5756         * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
5758 2017-11-15  Luke Shumaker  <lukeshu@parabola.nu>
5760         [BZ #22145]
5761         * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
5762         * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
5764         [BZ #22145]
5765         * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
5766         Defer is_pty check until end of the function.
5767         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5769         [BZ #22145]
5770         * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
5771         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
5772         (ttyname): Likewise.
5773         * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5774         (__ttyname_r): Likewise.
5776         * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
5777         int to bool.
5779         * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
5781         * manual/terminal.texi (Is It a Terminal):
5782         Mention ENODEV for ttyname and ttyname_r.
5784 2017-11-15  Joseph Myers  <joseph@codesourcery.com>
5786         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
5787         constant and macro.
5789         * sysdeps/unix/sysv/linux/bits/mman-linux.h
5790         [__USE_MISC] (MADV_WIPEONFORK): New macro.
5791         [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5792         * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5793         [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5794         [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5796 2017-11-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5798         * signal/sigrelse.c (sigrelse): Optimize implementation.
5800         * sysdeps/posix/sigpause.c (do_sigpause): Remove.
5801         (__sigpause): Rely on __sigsuspend to implement single thread
5802         optimization.  Add LIBC_CANCEL_HANDLED for cancellation marking.
5804 2017-11-15  Joseph Myers  <joseph@codesourcery.com>
5806         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5807         kernel version to 4.14.
5809 2017-11-15  Steve Ellcey  <sellcey@cavium.com>
5811         [BZ #22442]
5812         * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
5813         Check if ifname is too long.
5815 2017-11-15  Luke Shumaker  <lukeshu@parabola.nu>
5817         * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
5819 2017-11-15  Mike FABIAN  <mfabian@redhat.com>
5821         * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
5822         was accidentally lost.
5824 2017-11-15  Mike FABIAN  <mfabian@redhat.com>
5826         * localedata/locales/az_IR: Add standard copyright header.
5828 2017-11-15  Florian Weimer  <fweimer@redhat.com>
5830         [BZ #22439]
5831         * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
5832         not just the top one.  Output a new "subheaps" statistic.
5834 2017-11-15  Florian Weimer  <fweimer@redhat.com>
5836         [BZ #22408]
5837         * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
5838         under the per-arena lock.
5839         * malloc/Makefile (tests): Add tst-malloc_info.
5840         (tst-malloc_info): Link with libpthread.
5841         * malloc/tst-malloc_info.c: New file.
5843 2017-11-15  Joseph Myers  <joseph@codesourcery.com>
5845         [BZ #21660]
5846         * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
5847         [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
5848         [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
5849         [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
5850         [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
5851         [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
5852         [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
5853         [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
5854         [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
5855         [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
5856         [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
5857         [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
5858         [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
5859         [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
5860         [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
5861         [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
5862         (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
5863         (__floating_type): Likewise.
5864         (__real_integer_type): Likewise.
5865         (__complex_integer_type): Likewise.
5866         (__expr_is_real): Likewise.
5867         (__tgmath_real_type_sub): Likewise.
5868         (__tgmath_real_type): Likewise.
5869         (__tgmath_complex_type_sub): Likewise.
5870         (__tgmath_complex_type): Likewise.
5871         (__TGMATH_F128): Likewise.
5872         (__TGMATH_CF128): Likewise.
5873         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
5874         new macros.
5875         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5876         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
5877         Likewise.
5878         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
5879         Likewise.
5880         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
5881         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5882         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5883         [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
5884         Likewise.
5885         [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5886         [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
5887         Likewise.
5888         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
5889         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
5890         [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
5891         Likewise.
5892         [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
5893         (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
5894         (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
5895         (cimag): Likewise.
5896         (creal): Likewise.
5898 2017-11-14  Joseph Myers  <joseph@codesourcery.com>
5900         * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
5901         for stpncpy calls for GCC 8.
5902         (test_strncat): Disable -Wstringop-truncation warning for strncat
5903         calls for GCC 8.  Disable -Wstringop-overflow= warning for one
5904         strncat call for GCC 7.
5905         (test_strncpy): Disable -Wstringop-truncation warning for strncpy
5906         calls for GCC 8.
5907         (test_memcmp): Use memcpy instead of strncpy for calls not copying
5908         trailing NUL.
5910         * string/bug-strncat1.c: Include <libc-diag.h>.
5911         (main): Disable -Wstringop-truncation for strncat call for GCC 8.
5913 2017-11-13  Claude Paroz  <claude@2xlibre.net>
5915         [BZ #22387]
5916         * localedata/locales/aa_DJ: Improved readibility by replacing
5917         <Uxxxx> sequences in the ASCII printable range by their ASCII
5918         character equivalents.
5919         * localedata/locales/aa_ER: Likewise.
5920         * localedata/locales/aa_ER@saaho: Likewise.
5921         * localedata/locales/aa_ET: Likewise.
5922         * localedata/locales/af_ZA: Likewise.
5923         * localedata/locales/agr_PE: Likewise.
5924         * localedata/locales/ak_GH: Likewise.
5925         * localedata/locales/am_ET: Likewise.
5926         * localedata/locales/anp_IN: Likewise.
5927         * localedata/locales/ar_AE: Likewise.
5928         * localedata/locales/ar_BH: Likewise.
5929         * localedata/locales/ar_DZ: Likewise.
5930         * localedata/locales/ar_EG: Likewise.
5931         * localedata/locales/ar_IN: Likewise.
5932         * localedata/locales/ar_IQ: Likewise.
5933         * localedata/locales/ar_JO: Likewise.
5934         * localedata/locales/ar_KW: Likewise.
5935         * localedata/locales/ar_LB: Likewise.
5936         * localedata/locales/ar_LY: Likewise.
5937         * localedata/locales/ar_MA: Likewise.
5938         * localedata/locales/ar_OM: Likewise.
5939         * localedata/locales/ar_QA: Likewise.
5940         * localedata/locales/ar_SA: Likewise.
5941         * localedata/locales/ar_SD: Likewise.
5942         * localedata/locales/ar_SS: Likewise.
5943         * localedata/locales/ar_SY: Likewise.
5944         * localedata/locales/ar_TN: Likewise.
5945         * localedata/locales/ar_YE: Likewise.
5946         * localedata/locales/as_IN: Likewise.
5947         * localedata/locales/ast_ES: Likewise.
5948         * localedata/locales/ayc_PE: Likewise.
5949         * localedata/locales/az_AZ: Likewise.
5950         * localedata/locales/az_IR: Likewise.
5951         * localedata/locales/be_BY: Likewise.
5952         * localedata/locales/be_BY@latin: Likewise.
5953         * localedata/locales/bem_ZM: Likewise.
5954         * localedata/locales/ber_DZ: Likewise.
5955         * localedata/locales/ber_MA: Likewise.
5956         * localedata/locales/bg_BG: Likewise.
5957         * localedata/locales/bhb_IN: Likewise.
5958         * localedata/locales/bho_IN: Likewise.
5959         * localedata/locales/bi_VU: Likewise.
5960         * localedata/locales/bn_BD: Likewise.
5961         * localedata/locales/bn_IN: Likewise.
5962         * localedata/locales/bo_CN: Likewise.
5963         * localedata/locales/bo_IN: Likewise.
5964         * localedata/locales/br_FR: Likewise.
5965         * localedata/locales/brx_IN: Likewise.
5966         * localedata/locales/bs_BA: Likewise.
5967         * localedata/locales/byn_ER: Likewise.
5968         * localedata/locales/ca_AD: Likewise.
5969         * localedata/locales/ca_ES: Likewise.
5970         * localedata/locales/ca_FR: Likewise.
5971         * localedata/locales/ca_IT: Likewise.
5972         * localedata/locales/ce_RU: Likewise.
5973         * localedata/locales/chr_US: Likewise.
5974         * localedata/locales/cmn_TW: Likewise.
5975         * localedata/locales/crh_UA: Likewise.
5976         * localedata/locales/cs_CZ: Likewise.
5977         * localedata/locales/csb_PL: Likewise.
5978         * localedata/locales/cv_RU: Likewise.
5979         * localedata/locales/cy_GB: Likewise.
5980         * localedata/locales/da_DK: Likewise.
5981         * localedata/locales/de_AT: Likewise.
5982         * localedata/locales/de_BE: Likewise.
5983         * localedata/locales/de_CH: Likewise.
5984         * localedata/locales/de_DE: Likewise.
5985         * localedata/locales/de_IT: Likewise.
5986         * localedata/locales/de_LI: Likewise.
5987         * localedata/locales/de_LU: Likewise.
5988         * localedata/locales/doi_IN: Likewise.
5989         * localedata/locales/dv_MV: Likewise.
5990         * localedata/locales/dz_BT: Likewise.
5991         * localedata/locales/el_CY: Likewise.
5992         * localedata/locales/el_GR: Likewise.
5993         * localedata/locales/en_AG: Likewise.
5994         * localedata/locales/en_AU: Likewise.
5995         * localedata/locales/en_BW: Likewise.
5996         * localedata/locales/en_CA: Likewise.
5997         * localedata/locales/en_DK: Likewise.
5998         * localedata/locales/en_GB: Likewise.
5999         * localedata/locales/en_HK: Likewise.
6000         * localedata/locales/en_IE: Likewise.
6001         * localedata/locales/en_IL: Likewise.
6002         * localedata/locales/en_IN: Likewise.
6003         * localedata/locales/en_NG: Likewise.
6004         * localedata/locales/en_NZ: Likewise.
6005         * localedata/locales/en_PH: Likewise.
6006         * localedata/locales/en_SG: Likewise.
6007         * localedata/locales/en_US: Likewise.
6008         * localedata/locales/en_ZA: Likewise.
6009         * localedata/locales/en_ZM: Likewise.
6010         * localedata/locales/en_ZW: Likewise.
6011         * localedata/locales/eo: Likewise.
6012         * localedata/locales/es_AR: Likewise.
6013         * localedata/locales/es_BO: Likewise.
6014         * localedata/locales/es_CL: Likewise.
6015         * localedata/locales/es_CO: Likewise.
6016         * localedata/locales/es_CR: Likewise.
6017         * localedata/locales/es_CU: Likewise.
6018         * localedata/locales/es_DO: Likewise.
6019         * localedata/locales/es_EC: Likewise.
6020         * localedata/locales/es_ES: Likewise.
6021         * localedata/locales/es_GT: Likewise.
6022         * localedata/locales/es_HN: Likewise.
6023         * localedata/locales/es_MX: Likewise.
6024         * localedata/locales/es_NI: Likewise.
6025         * localedata/locales/es_PA: Likewise.
6026         * localedata/locales/es_PE: Likewise.
6027         * localedata/locales/es_PR: Likewise.
6028         * localedata/locales/es_PY: Likewise.
6029         * localedata/locales/es_SV: Likewise.
6030         * localedata/locales/es_US: Likewise.
6031         * localedata/locales/es_UY: Likewise.
6032         * localedata/locales/es_VE: Likewise.
6033         * localedata/locales/et_EE: Likewise.
6034         * localedata/locales/eu_ES: Likewise.
6035         * localedata/locales/eu_ES@euro: Likewise.
6036         * localedata/locales/fa_IR: Likewise.
6037         * localedata/locales/ff_SN: Likewise.
6038         * localedata/locales/fi_FI: Likewise.
6039         * localedata/locales/fil_PH: Likewise.
6040         * localedata/locales/fo_FO: Likewise.
6041         * localedata/locales/fr_BE: Likewise.
6042         * localedata/locales/fr_CA: Likewise.
6043         * localedata/locales/fr_CH: Likewise.
6044         * localedata/locales/fr_FR: Likewise.
6045         * localedata/locales/fr_LU: Likewise.
6046         * localedata/locales/fur_IT: Likewise.
6047         * localedata/locales/fy_DE: Likewise.
6048         * localedata/locales/fy_NL: Likewise.
6049         * localedata/locales/ga_IE: Likewise.
6050         * localedata/locales/gd_GB: Likewise.
6051         * localedata/locales/gez_ER: Likewise.
6052         * localedata/locales/gez_ET: Likewise.
6053         * localedata/locales/gl_ES: Likewise.
6054         * localedata/locales/gu_IN: Likewise.
6055         * localedata/locales/gv_GB: Likewise.
6056         * localedata/locales/ha_NG: Likewise.
6057         * localedata/locales/hak_TW: Likewise.
6058         * localedata/locales/he_IL: Likewise.
6059         * localedata/locales/hi_IN: Likewise.
6060         * localedata/locales/hif_FJ: Likewise.
6061         * localedata/locales/hne_IN: Likewise.
6062         * localedata/locales/hr_HR: Likewise.
6063         * localedata/locales/hsb_DE: Likewise.
6064         * localedata/locales/ht_HT: Likewise.
6065         * localedata/locales/hu_HU: Likewise.
6066         * localedata/locales/hy_AM: Likewise.
6067         * localedata/locales/i18n: Likewise.
6068         * localedata/locales/ia_FR: Likewise.
6069         * localedata/locales/id_ID: Likewise.
6070         * localedata/locales/ig_NG: Likewise.
6071         * localedata/locales/ik_CA: Likewise.
6072         * localedata/locales/is_IS: Likewise.
6073         * localedata/locales/it_CH: Likewise.
6074         * localedata/locales/it_IT: Likewise.
6075         * localedata/locales/iu_CA: Likewise.
6076         * localedata/locales/ja_JP: Likewise.
6077         * localedata/locales/ka_GE: Likewise.
6078         * localedata/locales/kk_KZ: Likewise.
6079         * localedata/locales/kl_GL: Likewise.
6080         * localedata/locales/kn_IN: Likewise.
6081         * localedata/locales/ko_KR: Likewise.
6082         * localedata/locales/kok_IN: Likewise.
6083         * localedata/locales/ks_IN: Likewise.
6084         * localedata/locales/ks_IN@devanagari: Likewise.
6085         * localedata/locales/ku_TR: Likewise.
6086         * localedata/locales/kw_GB: Likewise.
6087         * localedata/locales/ky_KG: Likewise.
6088         * localedata/locales/lb_LU: Likewise.
6089         * localedata/locales/lg_UG: Likewise.
6090         * localedata/locales/li_BE: Likewise.
6091         * localedata/locales/li_NL: Likewise.
6092         * localedata/locales/lij_IT: Likewise.
6093         * localedata/locales/ln_CD: Likewise.
6094         * localedata/locales/lo_LA: Likewise.
6095         * localedata/locales/lt_LT: Likewise.
6096         * localedata/locales/lv_LV: Likewise.
6097         * localedata/locales/lzh_TW: Likewise.
6098         * localedata/locales/mag_IN: Likewise.
6099         * localedata/locales/mai_IN: Likewise.
6100         * localedata/locales/mg_MG: Likewise.
6101         * localedata/locales/mhr_RU: Likewise.
6102         * localedata/locales/mi_NZ: Likewise.
6103         * localedata/locales/mk_MK: Likewise.
6104         * localedata/locales/ml_IN: Likewise.
6105         * localedata/locales/mn_MN: Likewise.
6106         * localedata/locales/mni_IN: Likewise.
6107         * localedata/locales/mr_IN: Likewise.
6108         * localedata/locales/ms_MY: Likewise.
6109         * localedata/locales/mt_MT: Likewise.
6110         * localedata/locales/my_MM: Likewise.
6111         * localedata/locales/nan_TW: Likewise.
6112         * localedata/locales/nan_TW@latin: Likewise.
6113         * localedata/locales/nb_NO: Likewise.
6114         * localedata/locales/nds_DE: Likewise.
6115         * localedata/locales/nds_NL: Likewise.
6116         * localedata/locales/ne_NP: Likewise.
6117         * localedata/locales/nhn_MX: Likewise.
6118         * localedata/locales/niu_NU: Likewise.
6119         * localedata/locales/niu_NZ: Likewise.
6120         * localedata/locales/nl_AW: Likewise.
6121         * localedata/locales/nl_BE: Likewise.
6122         * localedata/locales/nl_NL: Likewise.
6123         * localedata/locales/nn_NO: Likewise.
6124         * localedata/locales/nr_ZA: Likewise.
6125         * localedata/locales/nso_ZA: Likewise.
6126         * localedata/locales/oc_FR: Likewise.
6127         * localedata/locales/om_ET: Likewise.
6128         * localedata/locales/om_KE: Likewise.
6129         * localedata/locales/or_IN: Likewise.
6130         * localedata/locales/os_RU: Likewise.
6131         * localedata/locales/pa_IN: Likewise.
6132         * localedata/locales/pa_PK: Likewise.
6133         * localedata/locales/pap_AW: Likewise.
6134         * localedata/locales/pap_CW: Likewise.
6135         * localedata/locales/pl_PL: Likewise.
6136         * localedata/locales/ps_AF: Likewise.
6137         * localedata/locales/pt_BR: Likewise.
6138         * localedata/locales/pt_PT: Likewise.
6139         * localedata/locales/quz_PE: Likewise.
6140         * localedata/locales/raj_IN: Likewise.
6141         * localedata/locales/ro_RO: Likewise.
6142         * localedata/locales/ru_RU: Likewise.
6143         * localedata/locales/ru_UA: Likewise.
6144         * localedata/locales/rw_RW: Likewise.
6145         * localedata/locales/sa_IN: Likewise.
6146         * localedata/locales/sat_IN: Likewise.
6147         * localedata/locales/sc_IT: Likewise.
6148         * localedata/locales/sd_IN: Likewise.
6149         * localedata/locales/sd_IN@devanagari: Likewise.
6150         * localedata/locales/se_NO: Likewise.
6151         * localedata/locales/sgs_LT: Likewise.
6152         * localedata/locales/shs_CA: Likewise.
6153         * localedata/locales/si_LK: Likewise.
6154         * localedata/locales/sid_ET: Likewise.
6155         * localedata/locales/sk_SK: Likewise.
6156         * localedata/locales/sl_SI: Likewise.
6157         * localedata/locales/sm_WS: Likewise.
6158         * localedata/locales/so_DJ: Likewise.
6159         * localedata/locales/so_ET: Likewise.
6160         * localedata/locales/so_KE: Likewise.
6161         * localedata/locales/so_SO: Likewise.
6162         * localedata/locales/sq_AL: Likewise.
6163         * localedata/locales/sq_MK: Likewise.
6164         * localedata/locales/sr_ME: Likewise.
6165         * localedata/locales/sr_RS: Likewise.
6166         * localedata/locales/sr_RS@latin: Likewise.
6167         * localedata/locales/ss_ZA: Likewise.
6168         * localedata/locales/st_ZA: Likewise.
6169         * localedata/locales/sv_FI: Likewise.
6170         * localedata/locales/sv_SE: Likewise.
6171         * localedata/locales/sw_KE: Likewise.
6172         * localedata/locales/sw_TZ: Likewise.
6173         * localedata/locales/szl_PL: Likewise.
6174         * localedata/locales/ta_IN: Likewise.
6175         * localedata/locales/ta_LK: Likewise.
6176         * localedata/locales/tcy_IN: Likewise.
6177         * localedata/locales/te_IN: Likewise.
6178         * localedata/locales/tg_TJ: Likewise.
6179         * localedata/locales/th_TH: Likewise.
6180         * localedata/locales/the_NP: Likewise.
6181         * localedata/locales/ti_ER: Likewise.
6182         * localedata/locales/ti_ET: Likewise.
6183         * localedata/locales/tig_ER: Likewise.
6184         * localedata/locales/tk_TM: Likewise.
6185         * localedata/locales/tl_PH: Likewise.
6186         * localedata/locales/tn_ZA: Likewise.
6187         * localedata/locales/to_TO: Likewise.
6188         * localedata/locales/tpi_PG: Likewise.
6189         * localedata/locales/tr_CY: Likewise.
6190         * localedata/locales/tr_TR: Likewise.
6191         * localedata/locales/ts_ZA: Likewise.
6192         * localedata/locales/tt_RU: Likewise.
6193         * localedata/locales/tt_RU@iqtelif: Likewise.
6194         * localedata/locales/ug_CN: Likewise.
6195         * localedata/locales/uk_UA: Likewise.
6196         * localedata/locales/unm_US: Likewise.
6197         * localedata/locales/ur_IN: Likewise.
6198         * localedata/locales/ur_PK: Likewise.
6199         * localedata/locales/uz_UZ: Likewise.
6200         * localedata/locales/uz_UZ@cyrillic: Likewise.
6201         * localedata/locales/ve_ZA: Likewise.
6202         * localedata/locales/vi_VN: Likewise.
6203         * localedata/locales/wa_BE: Likewise.
6204         * localedata/locales/wae_CH: Likewise.
6205         * localedata/locales/wal_ET: Likewise.
6206         * localedata/locales/wo_SN: Likewise.
6207         * localedata/locales/xh_ZA: Likewise.
6208         * localedata/locales/yi_US: Likewise.
6209         * localedata/locales/yo_NG: Likewise.
6210         * localedata/locales/yue_HK: Likewise.
6211         * localedata/locales/yuw_PG: Likewise.
6212         * localedata/locales/zh_CN: Likewise.
6213         * localedata/locales/zh_HK: Likewise.
6214         * localedata/locales/zh_SG: Likewise.
6215         * localedata/locales/zh_TW: Likewise.
6216         * localedata/locales/zu_ZA: Likewise.
6218 2017-11-13  Florian Weimer  <fweimer@redhat.com>
6220         * support/next_to_fault.h, support/next_to_fault.c: New files.
6221         * support/Makefile (libsupport-routines): Add next_to_fault.
6222         * resolv/tst-inet_pton.c (struct next_to_fault)
6223         (next_to_fault_allocate, next_to_fault_free): Remove.
6224         (run_one_test): Switch to <support/next_to_fault.h> interfaces.
6226 2017-11-13  H.J. Lu  <hongjiu.lu@intel.com>
6228         * elf/dl-support.c: Include <dl-procruntime.c>.
6229         * include/link.h: Include <link_map.h>.
6230         * sysdeps/generic/dl-procruntime.c: New file.
6231         * sysdeps/generic/link_map.h: Likewise.
6232         * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
6233         the writable ld.so namespace.
6235 2017-11-12  Paul Eggert  <eggert@cs.ucla.edu>
6237         timezone: pacify GCC -Wstringop-truncation
6238         Problem reported by Martin Sebor in:
6239         https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
6240         * timezone/zic.c (writezone): Use memcpy, not strncpy.
6242 2017-11-12  Florian Weimer  <fweimer@redhat.com>
6244         * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
6245         tst-xreadlink.
6246         (tests): Add tst-xreadlink.
6247         * support/support.h (xstrndup): Declare.
6248         * support/xunistd.h (xunlink, xreadlink): Declare.
6249         * support/temp_file.h (support_create_temp_directory): Declare.
6250         * support/temp_file.c (support_create_temp_directory): New function.
6251         * support/support_chroot.c (support_chroot_create): Use it.
6252         * support/xreadlink.c: New file.
6253         * support/xstrndup.c: Likewise.
6254         * support/xunlink.c: Likewise.
6255         * support/tst-xreadlink.c: Likewise.
6257 2017-11-11  John David Anglin  <danglin@gcc.gnu.org>
6259         * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
6261 2017-11-11  Florian Weimer  <fweimer@redhat.com>
6263         [BZ #22409]
6264         [BZ #22412]
6265         * resolv/res_comp.c (printable_string, binary_hnok)
6266         (binary_leading_dash): New functions.
6267         (res_hnok): Reimplement using these functions and ns_name_pton.
6268         (res_ownok): Likewise.
6269         (res_mailok): Reimplement using printable_string, ns_name_pton and
6270         binary_hnok.
6271         (res_dnok): Reimplement using printable_string and ns_name_pton.
6272         * resolv/tst-res_hnok.c (tests): Add additional tests.
6273         (LETTERDIGITS, PRINTABLE): Define.
6274         (do_test): Adjust one_char results.
6276 2017-11-11  Florian Weimer  <fweimer@redhat.com>
6278         [BZ #22413]
6279         * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
6280         * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
6282 2017-11-11  Florian Weimer  <fweimer@redhat.com>
6284         * resolv/tst-ns_name_pton.c: New file.
6285         * resolv/Makefile (tests): Add tst-ns_name_pton.
6286         (tst-ns_name_pton): Link against libresolv.
6288 2017-11-11  Florian Weimer  <fweimer@redhat.com>
6290         * resolv/tst-res_hnok.c: New file.
6291         * resolv/Makefile (tests): Add tst-res_hnok.
6292         (tst-res_hnok): Link against libresolv.
6294 2017-11-11  Florian Weimer  <fweimer@redhat.com>
6296         * resolv/tst-resolv-network.c: Use test framework instead explicit
6297         main function.
6299 2017-11-09  H.J. Lu  <hongjiu.lu@intel.com>
6301         * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
6302         <jmp_buf-macros.h>.
6303         [!_ISOMAC] (STR_HELPER): New.
6304         [!_ISOMAC] (STR): Likewise.
6305         [!_ISOMAC] (TEST_SIZE): Likewise.
6306         [!_ISOMAC] (TEST_ALIGN): Likewise.
6307         [!_ISOMAC] (TEST_OFFSET): Likewise.
6308         [!_ISOMAC] Add _Static_assert to check sizes, alignments and
6309         field offsets of jmp_buf as well as sigjmp_buf.
6310         * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
6311         * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
6312         * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
6313         * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
6314         * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
6315         * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
6316         * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
6317         * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
6318         * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
6319         * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
6320         Likewise.
6321         * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
6322         Likewise.
6323         * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
6324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
6325         Likewise.
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
6327         Likewise.
6328         * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
6329         * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
6330         * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
6331         * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
6332         * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
6333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
6334         Likewise.
6335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
6336         Likewise.
6337         * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
6338         * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
6339         * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
6341 2017-11-07  Joseph Myers  <joseph@codesourcery.com>
6343         * include/float.h
6344         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6345         && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
6346         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6347         && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
6348         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6349         && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
6350         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6351         && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
6352         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6353         && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
6354         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6355         && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
6356         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6357         && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
6358         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6359         && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
6360         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6361         && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
6362         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6363         && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
6364         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6365         && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
6366         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6367         && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
6368         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6369         && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
6370         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6371         && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
6372         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6373         && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
6374         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6375         && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
6376         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6377         && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
6378         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6379         && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
6380         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6381         && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
6382         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6383         && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
6384         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6385         && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
6386         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6387         && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
6388         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6389         && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
6390         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6391         && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
6392         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6393         && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
6394         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6395         && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
6396         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6397         && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
6398         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6399         && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
6400         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6401         && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
6402         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6403         && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
6404         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6405         && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
6406         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6407         && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
6408         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6409         && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
6410         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6411         && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
6412         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6413         && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
6414         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6415         && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
6416         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6417         && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
6418         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6419         && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
6420         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6421         && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
6422         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6423         && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
6424         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6425         && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
6426         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6427         && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
6428         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6429         && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
6430         [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6431         && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
6433         * stdlib/tst-strtod.h (F16): New macro.
6434         (F32): Likewise.
6435         (F64): Likewise.
6436         (F32X): Likewise.
6437         (F64X): Likewise.
6438         (F128X): Likewise.
6439         (IF_FLOAT16): Likewise.
6440         (IF_FLOAT32): Likewise.
6441         (IF_FLOAT64): Likewise.
6442         (IF_FLOAT32X): Likewise.
6443         (IF_FLOAT64X): Likewise.
6444         (IF_FLOAT128X): Likewise.
6445         (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
6446         _Float32, _Float64, _Float32x, _Float64x and _Float128x.
6447         (STRTOD_TEST_FOREACH): Likewise.
6448         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
6449         (CHOOSE_f64): Likewise.
6450         (CHOOSE_f32x): Likewise.
6451         (CHOOSE_f64x): Likewise.
6453 2017-11-07  Andreas Schwab  <schwab@suse.de>
6455         * nptl/Makefile (tests-internal): Remove tst-typesizes.
6457 2017-11-07  Mike FABIAN  <mfabian@redhat.com>
6459         [BZ #22403]
6460         * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
6461         to be escaped.
6462         * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
6463         to be escaped.
6465 2017-11-07  Claude Paroz  <claude@2xlibre.net>
6467         [BZ #22403]
6468         * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
6469         to be escaped.
6470         * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
6471         to be escaped.
6472         * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
6473         to be escaped.
6475 2017-11-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6477         [BZ #22298]
6478         * nptl/allocatestack.c (allocate_stack): Check if
6479         __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
6480         __PTHREAD_MUTEX_HAVE_PREV is defined.
6481         * nptl/descr.h (pthread): Likewise.
6482         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6483         Likewise.
6484         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6485         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6486         * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
6487         * sysdeps/nptl/bits/thread-shared-types.h
6488         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
6489         defines.
6490         (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
6491         of __WORDSIZE for internal layout.
6492         (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
6493         of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
6494         instead of __WORDSIZE whether to use an union for __spins and __list
6495         fields.
6496         (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
6497         case.
6498         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
6499         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
6500         defines.
6501         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
6502         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6503         Likewise.
6504         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
6505         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6506         Likewise.
6507         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
6508         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6509         Likewise.
6510         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
6511         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6512         Likewise.
6513         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
6514         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6515         Likewise.
6516         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
6517         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6518         Likewise.
6519         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
6520         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6521         Likewise.
6522         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
6523         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6524         Likewise.
6525         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
6526         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6527         Likewise.
6528         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
6529         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6530         Likewise.
6531         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
6532         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6533         Likewise.
6534         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
6535         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6536         Likewise.
6537         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
6538         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6539         Likewise.
6540         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
6541         (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6542         Likewise.
6544         * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
6545         New macros.
6546         * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
6547         checks for expected input type size.
6548         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6549         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6550         Likewise.
6551         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6552         * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
6553         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6554         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
6555         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6556         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
6557         * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
6558         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
6559         superflous runtime assert check.
6560         * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
6561         Likewise.
6562         * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
6563         Likewise.
6564         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6565         Likewise.
6566         * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
6567         Likewise.
6568         * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
6569         Likewise.
6570         * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
6571         Likewise.
6572         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
6573         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
6574         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6575         Likewise.
6576         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6577         Likewise.
6578         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6579         Likewise.
6580         * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
6581         Likewise.
6582         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6583         Likewise.
6584         * nptl/pthread_attr_setinheritsched.c
6585         (__pthread_attr_setinheritsched): Likewise.
6586         * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
6587         Likewise.
6588         * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
6589         Likewise.
6590         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
6591         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
6592         __old_pthread_attr_setstack): Likewise.
6593         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6594         Likewise.
6595         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6596         Likewise.
6597         * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
6598         Likewise.
6599         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6600         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6601         Likewise.
6602         * nptl/tst-typesizes.c: Remove file.
6604         * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
6605         ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
6606         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
6607         checks for internal pthread_mutex_t offsets.
6608         * sysdeps/aarch64/nptl/pthread-offsets.h
6609         (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
6610         __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
6611         __PTHREAD_MUTEX_LIST_OFFSET): New macro.
6612         * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
6613         * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
6614         * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
6615         * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
6616         * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
6617         * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
6618         * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
6619         * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
6620         * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
6621         * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
6622         * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
6623         * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
6624         * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
6625         * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
6626         * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
6628 2017-11-07  Florian Weimer  <fweimer@redhat.com>
6630         * bits/mman-linux.h: Move ...
6631         * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here.  Update
6632         comment.
6633         * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
6634         outdated comment.
6636 2017-11-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6638         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
6639         Redefine STRNLEN as __strnlen_power8.
6641 2017-11-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6643         * signal/sighold.c (sighold): Optimize implementation.
6645         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
6646         __NR_rt_sigqueueinfo.
6648         * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6649         __sigtimedwait.
6650         * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
6651         assume __NR_rt_sigtimedwait.
6652         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
6653         and add LIBC_CANCEL_HANDLED for cancellation marking.
6654         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6656         * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6657         (sysdeps_routines): Add memchr_noneon.
6658         * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
6659         * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
6660         * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
6661         * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
6662         * sysdeps/arm/armv7/multiarch/memchr.c: New file.
6663         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
6664         * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
6666         * sysdeps/arm/arm-ifunc.h: New file.
6667         * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
6668         * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
6669         * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
6670         * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
6671         * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
6672         (__memcpy_neon): Avoid create hidden alias.
6673         * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
6674         (__memcpy_vfp): Likewise.
6675         * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6676         (sysdep_routines): Add memcpy_arm.
6677         * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
6679 2017-11-06  H.J. Lu  <hongjiu.lu@intel.com>
6681         [BZ #22362]
6682         * Makerules (make-link-multidir): New.
6683         * config.make.in (multidir): New.
6684         * configure.ac (libc_cv_multidir): New.  AC_SUBST.
6685         * configure: Regenerated.
6686         * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
6687         [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
6688         [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
6689         New target.
6691 2017-11-06  Joseph Myers  <joseph@codesourcery.com>
6693         [BZ #22402]
6694         * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
6695         [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
6697 2017-11-04  Mike FABIAN  <mfabian@redhat.com>
6699         * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
6700         to be escaped.
6702 2017-11-04  Florian Weimer  <fweimer@redhat.com>
6704         * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
6706 2017-11-03  Joseph Myers  <joseph@codesourcery.com>
6708         * math/math.h [__HAVE_DISTINCT_FLOAT16
6709         || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6710         || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6711         || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6712         [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
6713         [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
6714         && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
6715         [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6716         (__MATH_TG_F32): New macro.
6717         [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6718         (__MATH_TG_F64X): Likewise.
6719         [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6720         (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
6722 2017-11-03  Dmitry V. Levin  <ldv@altlinux.org>
6724         * po/de.po: Update translations.
6725         * po/ru.po: Likewise.
6727 2017-11-03  Florian Weimer  <fweimer@redhat.com>
6729         * manual/filesys.texi (Hard Links): Document linkat.
6731 2017-11-03  Joseph Myers  <joseph@codesourcery.com>
6733         * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
6734         || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6735         || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6736         || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6737         [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6738         && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6739         && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
6740         the same as _Float128.
6741         [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6742         && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6743         && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
6745         * stdlib/stdlib.h
6746         [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
6747         Declare.
6748         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
6749         Likewise.
6750         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
6751         Likewise.
6752         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6753         (strtof32x): Likewise.
6754         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6755         (strtof64x): Likewise.
6756         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6757         (strtof128x): Likewise.
6758         [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6759         (strfromf16): Likewise.
6760         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6761         (strfromf32): Likewise.
6762         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6763         (strfromf64): Likewise.
6764         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6765         (strfromf32x): Likewise.
6766         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6767         (strfromf64x): Likewise.
6768         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6769         (strfromf128x): Likewise.
6770         [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
6771         [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
6772         [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
6773         [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
6774         [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
6775         [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
6777 2017-11-03  Richard Henderson  <rth@twiddle.net>
6779         * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
6781 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6783         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
6785 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6787         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
6788         DT_TLSDESC_GOT initialization.
6789         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
6790         (_dl_tlsdesc_resolve_hold): Likewise.
6791         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
6792         (_dl_tlsdesc_resolve_hold): Likewise.
6793         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
6794         (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6796 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6798         * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
6800 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6802         [BZ #18572]
6803         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
6804         non-lazily for R_ARM_TLS_DESC.
6806 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6808         [BZ #17078]
6809         * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
6810         R_ARM_TLS_DESC case.
6811         (elf_machine_lazy_rel): Remove the prelink check.
6813 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6815         * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
6816         DT_TLSDESC_GOT initialization.
6817         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
6818         (_dl_tlsdesc_resolve_rela): Likewise.
6819         (_dl_tlsdesc_resolve_hold): Likewise.
6820         (_dl_tlsdesc_undefweak): Remove ldar.
6821         (_dl_tlsdesc_dynamic): Likewise.
6822         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
6823         (_dl_tlsdesc_resolve_rela): Likewise.
6824         (_dl_tlsdesc_resolve_hold): Likewise.
6825         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
6826         (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6827         (_dl_tlsdesc_resolve_rela): Likewise.
6828         (_dl_tlsdesc_resolve_hold): Likewise.
6830 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6832         * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
6833         binding and initialization non-lazily for R_AARCH64_TLSDESC.
6835 2017-11-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6837         * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
6838         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6840 2017-11-02  Joseph Myers  <joseph@codesourcery.com>
6842         * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
6843         Declare.
6844         [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
6845         [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
6846         [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
6847         [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
6848         [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
6849         [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
6850         [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
6851         [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
6852         [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
6853         [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
6854         [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
6856 2017-11-02  Mike FABIAN  <mfabian@redhat.com>
6858         [BZ #22382]
6859         * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
6860         * localedata/locales/tpi_PG: Add standard header.
6862 2017-11-02  Florian Weimer  <fweimer@redhat.com>
6864         test-errno-linux: quotactl can fail with EPERM in containers.
6865         * sysdeps/unix/sysv/linux/test-errno-linux.c
6866         (LIST, LIST_FORWARD): New macros.
6867         (check_error_in_list): New function.
6868         (test_wrp_rv): Accept list of permitted error codes.
6869         (test_wrp_rv2): Remove.
6870         (test_wrp): Call test_wrp_rv with list of error codes.
6871         (test_wrp2): Accept list of error codes.
6872         (do_test): Adjust.  Allow EPERM for quotactl.
6874 2017-11-02  Florian Weimer  <fweimer@redhat.com>
6876         * stdio-common/bug16.c (do_test): Use array_length.
6877         * stdio-common/errlist.c (_sys_nerr): Likewise.
6878         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
6879         * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
6880         * stdio-common/psiginfo.c (psiginfo): Use array_length.
6881         * stdio-common/test-vfprintf.c (nlocs): Remove definition.
6882         (do_test): Use array_length.
6883         * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
6884         * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
6885         * stdio-common/tst-printf-round.c (do_test): Likewise.
6886         * stdio-common/tst-swprintf.c (nbuf): Remove definition.
6887         (CHECK): Use array_length.
6888         * stdio-common/tstdiomisc.c (t3, F): Likewise.
6889         * stdio-common/tstscanf.c (main): Likewise.
6890         * stdio-common/vfprintf.c (process_string_arg): Likewise.
6892 2017-11-02  Florian Weimer  <fweimer@redhat.com>
6894         Add array_length and array_end macros.
6895         * include/array_length.h: New file.
6897 2017-11-02  Florian Weimer  <fweimer@redhat.com>
6899         [BZ #22332]
6900         * posix/tst-glob-tilde.c (do_noescape): New variable.
6901         (one_test): Process it.
6902         (do_test): Set do_noescape.  Add unescaping test case.
6904 2017-11-01  Joseph Myers  <joseph@codesourcery.com>
6906         * math/complex.h
6907         [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
6908         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
6909         with appropriate macros defined and undefined.
6910         [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
6911         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6912         [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
6913         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6914         [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
6915         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6916         [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
6917         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6918         [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
6919         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6921         * math/complex.h
6922         [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
6923         && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
6924         that for long double.  Do not condition define and undefine of
6925         _Mdouble_complex_ on [__CFLOAT128].
6927 2017-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6929         * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6930         of <sysdeps/generic/sysdep.h>.
6931         (ALIGNARG): Removed.
6932         (ASM_SIZE_DIRECTIVE): Likewise.
6933         (ENTRY): Likewise.
6934         (END): Likewise.
6935         (ENTRY_CHK): Likewise.
6936         (END_CHK): Likewise.
6937         (syscall_error): Likewise.
6938         (mcount): Likewise.
6939         (PSEUDO_END): Likewise.
6940         (L): Likewise.
6941         (atom_text_section): Likewise.
6942         * sysdeps/x86/sysdep.h: New file.
6943         * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6944         of <sysdeps/generic/sysdep.h>.
6945         (ALIGNARG): Removed.
6946         (ASM_SIZE_DIRECTIVE): Likewise.
6947         (ENTRY): Likewise.
6948         (END): Likewise.
6949         (ENTRY_CHK): Likewise.
6950         (END_CHK): Likewise.
6951         (syscall_error): Likewise.
6952         (mcount): Likewise.
6953         (PSEUDO_END): Likewise.
6954         (L): Likewise.
6955         (atom_text_section): Likewise.
6957 2017-10-31  Rafal Luzynski  <digitalfreak@lingonborough.com>
6959         * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
6960         category of LC_CTYPE set to "i18n:2012".
6961         * localedata/locales/i18n_ctype: Regenerate.
6963 2017-10-31  Yury Norov  <ynorov@caviumnetworks.com>
6965         * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
6966         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6967         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6968         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6970         * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
6971         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
6972         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6973         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
6975 2017-10-31  Joseph Myers  <joseph@codesourcery.com>
6977         * math/complex.h
6978         [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
6979         New macro.
6980         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
6981         Likewise.
6982         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
6983         Likewise.
6984         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6985         (CMPLXF32X): Likewise.
6986         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6987         (CMPLXF64X): Likewise.
6988         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6989         (CMPLXF128X): Likewise.
6991         * math/math.h
6992         [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
6993         (__MATH_EVAL_FMT2): Define to add 0.0f.
6995 2017-10-31  Alan Modra  <amodra@gmail.com>
6997         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
6998         include sysdep.h.
6999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
7000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
7001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
7004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
7005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
7006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
7007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
7008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
7009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
7012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
7013         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
7014         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
7015         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
7016         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
7017         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
7018         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
7019         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
7020         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
7021         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
7022         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
7023         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7024         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
7025         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
7026         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
7027         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
7028         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
7029         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7030         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7031         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
7032         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
7033         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
7034         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
7035         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
7036         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
7037         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
7038         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7039         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
7040         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
7041         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
7042         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
7043         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
7044         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
7045         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
7046         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
7047         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
7048         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7049         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
7050         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
7051         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
7052         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
7053         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7054         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7055         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
7056         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
7057         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
7058         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
7059         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7060         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
7061         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
7062         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7063         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
7064         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
7065         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
7066         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
7067         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
7069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
7070         include sysdep.h and math_ldbl_opt.h.
7072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
7073         include sysdep.h and math_ldbl_opt.h.  Include shlib-compat.h.
7074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
7075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
7076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
7077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
7078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
7079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
7080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
7081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
7082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
7083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
7084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
7085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
7086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
7087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
7088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
7089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
7090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
7091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
7092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
7093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
7094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
7095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
7096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
7097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
7099 2017-10-31  Alan Modra  <amodra@gmail.com>
7101         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
7102         string/strncase_l.c, not string/strncase.c.
7103         (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
7104         (libc_hidden_def): Redefine.
7106 2017-10-31  Alan Modra  <amodra@gmail.com>
7108         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
7109         (__STRCMP, STRCMP, __strcasecmp_l): Define.
7110         (__strcasecmp): Don't define.
7112 2017-10-31  Alan Modra  <amodra@gmail.com>
7114         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
7115         IS_IN (libc).
7116         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
7117         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
7118         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
7120 2017-10-31  Alan Modra  <amodra@gmail.com>
7122         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
7123         USE_AS_STPNCPY.
7125 2017-10-31  Alan Modra  <amodra@gmail.com>
7127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
7128         Redefine only when SHARED.
7130 2017-10-30  Joseph Myers  <joseph@codesourcery.com>
7132         * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
7133         Include <bits/math-finite.h> with appropriate macros defined and
7134         undefined.
7135         [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
7136         [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
7137         [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
7138         [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
7139         [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
7141         * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
7142         [!_Mlong_double_] (_Mlong_double_): Likewise.
7143         [!_Mfloat16_] (_Mfloat16_): Likewise.
7144         [!_Mfloat32_] (_Mfloat32_): Likewise.
7145         [!_Mfloat64_] (_Mfloat64_): Likewise.
7146         [!_Mfloat128_] (_Mfloat128_): Likewise.
7147         [!_Mfloat32x_] (_Mfloat32x_): Likewise.
7148         [!_Mfloat64x_] (_Mfloat64x_): Likewise.
7149         [!_Mfloat128x_] (_Mfloat128x_): Likewise.
7150         (_Mdouble_): Define without indirection through those macros.
7151         * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
7152         [!_Mfloat128_] (_Mfloat128_): Likewise.
7153         [_Mlong_double_] (_Mlong_double_): Likewise.
7154         (_Mdouble_): Define without indirection through those macros.
7155         * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
7156         not add -D_Mlong_double_=double.
7157         * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
7158         * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
7160 2017-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7162         * sysdeps/x86/libc-start.c: Add /* !SHARED */.
7164 2017-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7166         * sysdeps/x86/libc-start.c: Reformat.
7168 2017-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7170         [BZ #22353]
7171         * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
7172         (1): Renamed to ...
7173         (L(Src0)): This.
7174         (L(Src1)): New.
7175         (L(Src2)): Likewise.
7176         (L(1)): Renamed to ...
7177         (L(Src3)): This.
7179 2017-10-30  Joseph Myers  <joseph@codesourcery.com>
7181         * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
7182         [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
7183         [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
7184         [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
7185         [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
7186         [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
7187         [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
7188         [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
7189         [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
7190         [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
7191         [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
7192         [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
7193         [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
7194         [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
7195         [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
7196         [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
7197         [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
7198         [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
7199         [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
7200         [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
7201         [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
7202         [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
7203         [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
7204         [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
7205         [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
7206         [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
7207         [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
7208         [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
7209         [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
7210         [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
7211         [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
7212         [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
7213         [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
7214         [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
7215         [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
7216         [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
7217         [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
7218         [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
7219         [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
7220         [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
7221         [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
7222         [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
7223         [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
7224         [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
7225         [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
7226         [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
7227         [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
7228         [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
7229         [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
7230         [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
7231         [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
7232         [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
7233         [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
7234         [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
7235         [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
7236         [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
7237         [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
7238         [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
7239         [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
7240         [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
7241         [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
7242         [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
7243         [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
7244         [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
7245         [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
7246         [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
7248 2017-10-30  Florian Weimer  <fweimer@redhat.com>
7250         * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
7251         always defined.
7252         * io/tst-mkdirat.c (do_test): Likewise.
7253         * io/tst-mkfifoat.c (do_test): Likewise.
7254         * io/tst-mknodat.c (do_test): Likewise.
7255         * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
7256         * locale/programs/locale.c (select_dirs): Likewise.
7257         * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
7258         * posix/bug-glob2.c (my_readdir): Likewise.
7259         * posix/tst-dir.c (main): Likewise.
7260         * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
7261         * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
7263 2017-10-30  Florian Weimer  <fweimer@redhat.com>
7265         * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
7266         just __USE_GNU.
7268 2017-10-30  Florian Weimer  <fweimer@redhat.com>
7270         * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
7271         Convert to support/test-driver.c.
7272         (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
7273         New macro parameters.
7274         (PRINTF): Remove macro.  Use test_verbose conditionals instead.
7275         * posix/tst-gnuglob.c: New file.
7276         * posix/tst-gnuglob64.c: Likewise.
7277         * posix/Makefile (tests): Add tst-gnuglob64.
7279 2017-10-30  Michal Ostrowski  <ostrowski.michal@gmail.com>
7281         [BZ #19485]
7282         * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
7283         and use a better translation for March in “mon”.
7284         * localedata/locales/csb_PL: Use more ASCII to improve the
7285         readability of the source.
7287 2017-10-30  Mike FABIAN  <mfabian@redhat.com>
7289         [BZ #13953]
7290         * localedata/locales/km_KH: Use ASCII as much
7291         as possible for better readability of the source and
7292         remove useless comments.
7293         * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
7294         was commented out and apparently wrong anyway because it was
7295         using Lao characters. If Buddhist era should be used
7296         for km_KH, a native speaker should write the correct formaat
7297         for Khmer.
7298         * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
7299         (According to CLDR, the first weekday for Cambodia is Sunday).
7300         * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
7301         (These were using Lao characters which must be wrong. If we get
7302         the correct data from a native speaker, we could add it back, until
7303         then it is better not to have name_mr and name_mrs at all than
7304         having it wrong).
7306 2017-10-27  Rafal Luzynski  <digitalfreak@lingonborough.com>
7308         * locale/loadlocale.c: Correct size of
7309         _nl_value_type_LC_<category> arrays.
7311 2017-10-27  Joseph Myers  <joseph@codesourcery.com>
7313         * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
7314         Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
7315         with appropriate macros defined and undefined.
7316         [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
7317         [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
7318         [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
7319         [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
7320         [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
7322 2017-10-27  H.J. Lu  <hongjiu.lu@intel.com>
7324         * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
7325         "-O2 -march=i586".
7327 2017-10-27  Mike FABIAN  <mfabian@redhat.com>
7329         * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
7330         with lowercase letters to make it agree with CLDR.
7332 2017-10-27  Mike FABIAN  <mfabian@redhat.com>
7334         [BZ #15260]
7335         * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
7336         first letters of yesstr and nostr in yesexpr and noexpr,
7337         not for the full words.
7338         * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
7339         * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
7340         * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
7341         * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
7342         * localedata/locales/km_KH (LC_MESSAGES): Match also for the
7343         first letters of yesstr and nostr in yesexpr and noexpr,
7344         until now only English was matched in yesexpr and noexpr.
7345         * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
7346         instead of “copy "en_US"”. CLDR has yesstr and nostr data for
7347         fil but not for tl. As tl and fil are very similar, using fil
7348         is probably better than using English.
7350 2017-10-27  Thierry Vignaud  <thierry.vignaud@gmail.com>
7352         [BZ #21706]
7353         * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
7354         in yesstr and nostr.
7356 2017-10-26  Joseph Myers  <joseph@codesourcery.com>
7358         * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
7359         (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
7360         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
7361         Likewise.
7362         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
7363         Likewise.
7364         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
7365         Likewise.
7366         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
7367         Likewise.
7368         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7369         (SNANF128X): Likewise.
7371         * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
7372         (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
7373         [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7374         (HUGE_VAL_F32): Likewise.
7375         [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7376         (HUGE_VAL_F64): Likewise.
7377         [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7378         (HUGE_VAL_F32X): Likewise.
7379         [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7380         (HUGE_VAL_F64X): Likewise.
7381         [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7382         (HUGE_VAL_F128X): Likewise.
7384 2017-10-26  Thierry Vignaud  <thierry.vignaud@gmail.com>
7386         * localedata/locales/br_FR (LC_IDENTIFICATON): Add
7387         Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
7388         for the br_FR locale.
7390 2017-10-26  Thierry Vignaud  <thierry.vignaud@gmail.com>
7392         [BZ #21706]
7393         * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
7395 2017-10-25  Carlos O'Donell  <carlos@redhat.com>
7397         * locale/programs/record-status.h: Define globals, and function
7398         prototypes. Move function bodies...
7399         * locale/programs/record-status.c: ... to here. New file.
7400         * iconv/Makefile (iconv_prog-modules): Add record-status.
7401         * locale/Makefile (lib-modules): Likewise.
7402         * iconv/iconv_prog.c: Remove verbose.
7403         * iconv/iconv_prog.h: Include record-status.h (defines verbose).
7404         * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
7405         record a warning about ASCII compatibility.
7406         * locale/programs/ld-monetary.c (monetary_finish): If
7407         warn_int_curr_symbol is true then record a warning about the symbol
7408         not being in our ISO 4217 list.
7409         * locale/programs/locale.c: Include record-status.h. Remove verbose.
7410         * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
7411         verbose, recorded_warning_count, recorded_error_count, and be_quiet.
7412         (OPT_NO_WARN): Define.
7413         (OPT_WARN): Define.
7414         (options): Add entry for --no-warnings, and --warnings.
7415         (set_warnings): New function to enable/disable warnings.
7416         (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
7417         * locale/programs/localedef.h: Remove warn_int_curr_symbol.
7418         * localedata/gen-locale.sh: Default flags to `--quiet -c'.
7419         Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
7420         Pass flags to generate_locale.
7421         (generate_locale): Accept new flag argument and pass it to localedef
7422         invocation.
7423         * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
7424         --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
7426         * localedata/Makefile (test-input-data): Use full file name.
7427         * localedata/da_DK.in: Rename to...
7428         * localedata/da_DK.ISO-8859-1.in: ...this.
7429         * localedata/de_DE.in: Rename to...
7430         * localedata/de_DE.ISO-8859-1.in: ...this.
7431         * localedata/en_US.in: Rename to...
7432         * localedata/en_US.ISO-8859-1.in: ...this.
7433         * localedata/fr_FR.in: Rename to...
7434         * localedata/fr_FR.UTF-8.in: ... this.
7435         * localedata/hr_HR.in: Rename to...
7436         * localedata/hr_HR.ISO-8859-2.in: ...this.
7437         * localedata/hu_HU.in: Rename to...
7438         * localedata/hu_HU.UTF-8.in: ...this.
7439         * localedata/si_LK.in: Rename to...
7440         * localedata/si_LK.UTF-8.in: ...this.
7441         * localedata/sv_SE.in: Rename to...
7442         * localedata/sv_SE.ISO-8859-1.in: ...this.
7443         * localedata/tr_TR.in: Rename to...
7444         * localedata/tr_TR.UTF-8.in: ...this.
7445         * localedata/uk_UA.in: Rename to...
7446         * localedata/uk_UA.UTF-8.in: ...this.
7447         * localedata/sort-test.sh: Test file is locale name with the
7448         suffix.
7450         * localedata/unicode-gen/Makefile (check_i18n): Rename to
7451         check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
7452         file.
7453         * localedata/locales/i18n_ctype: Regenerate.
7454         * localedata/locales/tr_TR: Likewise.
7455         * localedata/locales/translit_circle: Likewise.
7456         * localedata/locales/translit_cjk_compat: Likewise.
7457         * localedata/locales/translit_combining: Likewise.
7458         * localedata/locales/translit_compat: Likewise.
7459         * localedata/locales/translit_font: Likewise.
7460         * localedata/locales/translit_fraction: Likewise.
7462 2017-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7464         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
7465         lxvd2x/stxvd2x with lvx/stvx.
7466         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
7468 2017-10-25  H.J. Lu  <hongjiu.lu@intel.com>
7470         * include/alloc_buffer.h: Replace "if if " with "if " in
7471         comments.
7472         * sysdeps/mips/memcpy.S: Likkewise.
7473         * sysdeps/mips/memset.S: Likewise.
7474         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7475         Likewise.
7476         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
7477         Likewise.
7478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
7479         Likewise.
7481 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7483         [BZ #15261]
7484         * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
7485         yesexpr and noexpr.
7486         * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7487         * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7488         * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7489         * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7490         * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7491         * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7492         * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7494 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7496         * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
7497         * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
7498         * localedata/locales/el_GR (LC_MESSAGES): Likewise.
7499         * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7500         * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7501         * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
7502         * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7503         * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7504         * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7505         * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7506         * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7507         * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7509 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7511         * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
7512         as possible for better readability of the source.
7513         * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
7514         * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
7515         * localedata/locales/am_ET (LC_MESSAGES): Likewise.
7516         * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
7517         * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
7518         * localedata/locales/as_IN (LC_MESSAGES): Likewise.
7519         * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
7520         * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
7521         * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
7522         * localedata/locales/az_IR (LC_MESSAGES): Likewise.
7523         * localedata/locales/be_BY (LC_MESSAGES): Likewise.
7524         * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
7525         * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
7526         * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
7527         * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
7528         * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
7529         * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
7530         * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
7531         * localedata/locales/br_FR (LC_MESSAGES): Likewise.
7532         * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
7533         * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
7534         * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
7535         * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
7536         * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
7537         * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
7538         * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
7539         * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
7540         * localedata/locales/da_DK (LC_MESSAGES): Likewise.
7541         * localedata/locales/de_DE (LC_MESSAGES): Likewise.
7542         * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
7543         * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
7544         * localedata/locales/el_GR (LC_MESSAGES): Likewise.
7545         * localedata/locales/en_CA (LC_MESSAGES): Likewise.
7546         * localedata/locales/en_US (LC_MESSAGES): Likewise.
7547         * localedata/locales/es_ES (LC_MESSAGES): Likewise.
7548         * localedata/locales/et_EE (LC_MESSAGES): Likewise.
7549         * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
7550         * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
7551         * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
7552         * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
7553         * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
7554         * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
7555         * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
7556         * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
7557         * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
7558         * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
7559         * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
7560         * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
7561         * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
7562         * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
7563         * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
7564         * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
7565         * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
7566         * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7567         * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7568         * localedata/locales/he_IL (LC_MESSAGES): Likewise.
7569         * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
7570         * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
7571         * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
7572         * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
7573         * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
7574         * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
7575         * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
7576         * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
7577         * localedata/locales/id_ID (LC_MESSAGES): Likewise.
7578         * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
7579         * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
7580         * localedata/locales/is_IS (LC_MESSAGES): Likewise.
7581         * localedata/locales/it_CH (LC_MESSAGES): Likewise.
7582         * localedata/locales/it_IT (LC_MESSAGES): Likewise.
7583         * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
7584         * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
7585         * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
7586         * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
7587         * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7588         * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
7589         * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
7590         * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
7591         * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
7592         * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
7593         * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
7594         * localedata/locales/li_NL (LC_MESSAGES): Likewise.
7595         * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
7596         * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7597         * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
7598         * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
7599         * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
7600         * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7601         * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
7602         * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
7603         * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
7604         * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
7605         * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7606         * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
7607         * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
7608         * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7609         * localedata/locales/my_MM (LC_MESSAGES): Likewise.
7610         * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7611         * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
7612         * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
7613         * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
7614         * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
7615         * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
7616         * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
7617         * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
7618         * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
7619         * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
7620         * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
7621         * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
7622         * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
7623         * localedata/locales/om_ET (LC_MESSAGES): Likewise.
7624         * localedata/locales/or_IN (LC_MESSAGES): Likewise.
7625         * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7626         * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
7627         * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
7628         * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
7629         * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
7630         * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
7631         * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
7632         * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
7633         * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
7634         * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
7635         * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
7636         * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
7637         * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
7638         * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
7639         * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
7640         * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
7641         * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
7642         * localedata/locales/se_NO (LC_MESSAGES): Likewise.
7643         * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
7644         * localedata/locales/si_LK (LC_MESSAGES): Likewise.
7645         * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
7646         * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
7647         * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
7648         * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
7649         * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
7650         * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
7651         * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
7652         * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
7653         * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
7654         * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
7655         * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
7656         * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
7657         * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
7658         * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7659         * localedata/locales/th_TH (LC_MESSAGES): Likewise.
7660         * localedata/locales/the_NP (LC_MESSAGES): Likewise.
7661         * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
7662         * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
7663         * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
7664         * localedata/locales/to_TO (LC_MESSAGES): Likewise.
7665         * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
7666         * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
7667         * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7668         * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
7669         * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
7670         * localedata/locales/unm_US (LC_MESSAGES): Likewise.
7671         * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
7672         * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
7673         * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
7674         * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
7675         * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
7676         * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
7677         * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
7678         * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7679         * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
7680         * localedata/locales/yi_US (LC_MESSAGES): Likewise.
7681         * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
7682         * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
7683         * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7684         * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7685         * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7686         * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
7688 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7690         * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
7691         (Use first letters of yesstr and nostr correctly instead of using
7692         full words).
7694 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7696         * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
7697         (Use first letters of yesstr and nostr correctly).
7699 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7701         * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
7702         also check for the first characters of yesstr and nostr.
7703         * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
7704         * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
7706 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7708         * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
7709         also check for Chinese characters.
7711 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7713         * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
7714         match also for the contents of yesstr and nostr. As the first letter
7715         of yesstr and nostr is equal, checking only for the first letter
7716         is not enough.
7718 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7720         * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
7721         it is the same according to  Belkacem Mohammed <belkacem77@gmail.com>.
7723 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7725         * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
7726         of main contributor.
7728 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7730         * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
7731         instead of using English.
7733 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7735         * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
7736         by including the first letters of nostr and yesexpr in the regexp.
7737         Also make it more readable by using ASCII where possible.
7739 2017-10-25  Mike FABIAN  <mfabian@redhat.com>
7741         * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
7742         the first letter of nostr in the regexp. It agrees with CLDR now.
7743         Also make it more readable by using ASCII where possible.
7745 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
7747         * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
7748         The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
7749         these strings contain a U+17D6 (which somewhat looks like a colon)
7750         instead of a real colon to separate the full words for “yes”
7751         and “no” from the single letter responses.
7753 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
7755         * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
7756         it agree with CLDR (include the first letter of yesstr).
7757         Also make it more readable by using ASCII where possible.
7759 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
7761         * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
7762         and improve yesexpr and noexpr. The yesstr and nostr apparently
7763         came from CLDR. And CLDR has a bug there: these strings contain
7764         a U+0903 (which looks like a colon) instead of a real colon
7765         to separate the full words for “yes” and “no” from the single
7766         letter responses.
7768 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
7770         * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
7771         letters of the full yesstr and nostr in yesexpr and noexpr.
7773 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
7775         * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
7776         * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
7777         * localedata/locales/an_ES: Make source more readable by using ASCII
7778         where possible.
7780 2017-10-24  Mike FABIAN  <mfabian@redhat.com>
7782         [BZ #20952]
7783         * localedata/locales/yuw_PG: New file.
7784         * localedata/SUPPORTED: Add yuw_PG/UTF-8.
7785         * locale/iso-639.def: Add Yau (Uruwa).
7787 2017-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7789         * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
7791 2017-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7793         * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
7794         (__libc_realloc): Likewise.
7795         (_mid_memalign): Likewise.
7796         (__libc_calloc): Likewise.
7798 2017-10-23  Mike FABIAN  <mfabian@redhat.com>
7800         * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
7801         by adding the generic +1 and -0 as in all other locales.
7802         * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
7803         day names and make it more readable by using ASCII where possible.
7805 2017-10-24  Joseph Myers  <joseph@codesourcery.com>
7807         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
7808         (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
7810 2017-10-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7812         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
7813         WNOHANG in waitpid call.
7815 2017-10-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7817         * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
7818         _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
7820         * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
7821         _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
7822         _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
7823         _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
7824         _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
7825         _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
7826         _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
7827         _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
7828         variables.
7830 2017-10-23  Michael Collison  <michael.collison@arm.com>
7832         * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
7833         with __builtin_sqrt.
7834         * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
7835         with __builtin_sqrtf.
7836         * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
7837         with __builtin_ceil.
7838         * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
7839         with __builtin_ceilf.
7840         * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
7841         with __builtin_floor.
7842         * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
7843         with __builtin_floorf.
7844         * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
7845         with __builtin_fma.
7846         * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
7847         with __builtin_fmaf.
7848         * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
7849         with __builtin_fmax.
7850         * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
7851         with __builtin_fmaxf.
7852         * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
7853         with __builtin_fmin.
7854         * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
7855         with __builtin_fminf.
7856         * sysdeps/aarch64/fpu/s_frint.c: Delete file.
7857         * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
7858         * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
7859         with builtin_rint and conversion to int.
7860         * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
7861         * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
7862         with builtin_llround.
7863         * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
7864         * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
7865         with builtin_rint and conversion to long int.
7866         * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
7867         * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
7868         with builtin_lround.
7869         * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
7870         with builtin_lroundf.
7871         * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
7872         statements with __builtin_nearbyint.
7873         * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
7874         statements with __builtin_nearbyintf.
7875         * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
7876         with __builtin_rint.
7877         * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
7878         with __builtin_rintf.
7879         * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
7880         with __builtin_round.
7881         * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
7882         with __builtin_roundf.
7883         * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
7884         with __builtin_trunc.
7885         * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
7886         with __builtin_truncf.
7887         * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
7888         and s_l[l]round[f].c too.
7890 2017-10-23  Alan Modra  <amodra@gmail.com>
7892         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
7893         Adjust stack after restoring regs.  Add missing LR cfi_restore.
7895 2017-10-23  Alan Modra  <amodra@gmail.com>
7897         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
7898         Move LR save and frame setup/teardown and LR restore to
7899         immediately around memset call.  Provide cfi.
7901 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7903         * sysdeps/i386/fpu/e_powf.S: Removed.
7904         * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
7905         * sysdeps/i386/fpu/w_powf.c: Likewise.
7906         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
7907         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7908         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7909         Add e_powf-sse2.
7910         (CFLAGS-e_powf-sse2.c): New.
7911         * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
7912         * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
7914 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7916         * sysdeps/i386/fpu/e_log2f.S: Removed.
7917         * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
7918         * sysdeps/i386/fpu/w_log2f.c: Likewise.
7919         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
7920         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7921         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7922         Add e_log2f-sse2.
7923         (CFLAGS-e_log2f-sse2.c): New.
7924         * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
7925         * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
7927 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7929         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7930         Add e_powf-fma.
7931         (CFLAGS-e_powf-fma.c): New.
7932         * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
7933         * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
7935 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7937         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7938         Add e_log2f-fma.
7939         (CFLAGS-e_log2f-fma.c): New.
7940         * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
7941         * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
7943 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7945         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7946         Add e_logf-fma.
7947         (CFLAGS-e_logf-fma.c): New.
7948         * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
7949         * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
7951 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7953         * sysdeps/i386/fpu/e_logf.S: Removed.
7954         * sysdeps/i386/fpu/e_logf_data.c: Likewise.
7955         * sysdeps/i386/fpu/w_logf.c: Likewise.
7956         * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
7957         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
7958         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7959         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7960         Add e_logf-sse2.
7961         (CFLAGS-e_logf-sse2.c): New.
7962         * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
7963         * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
7965 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7967         * sysdeps/i386/fpu/e_exp2f.S: Removed.
7968         * sysdeps/i386/fpu/w_exp2f.c: Likewise.
7969         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
7970         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7971         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7972         Add e_exp2f-sse2.
7973         (CFLAGS-e_exp2f-sse2.c): New.
7974         * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
7975         * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
7977 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7979         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7980         Add e_exp2f-fma.
7981         (CFLAGS-e_exp2f-fma.c): New.
7982         * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
7983         * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
7985 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
7987         * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
7988         * sysdeps/i386/fpu/e_expf.S: Likewise.
7989         * sysdeps/i386/fpu/math_errf.c: Likewise.
7990         * sysdeps/i386/fpu/w_expf.c: Likewise.
7991         * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
7992         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7993         * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
7994         * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
7995         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7996         * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7997         Remove e_expf-ia32.
7998         (CFLAGS-e_expf-sse2.c): New.
7999         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
8000         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
8002 2017-10-22  H.J. Lu  <hongjiu.lu@intel.com>
8004         * sysdeps/x86_64/fpu/e_expf.S: Removed.
8005         * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
8006         * sysdeps/x86_64/fpu/w_expf.c: Likewise.
8007         * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
8008         e_expf.c.
8009         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
8010         New.
8011         * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
8012         * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
8013         Renamed to ...
8014         (__redirect_expf): This.
8015         (SYMBOL_NAME): Changed to expf.
8016         (__ieee754_expf): Renamed to ...
8017         (__expf): This.
8018         (__GI___expf): This.
8019         (__ieee754_expf): Add strong_alias.
8020         (__expf_finite): Likewise.
8021         (__expf): New.
8022         Include <sysdeps/ieee754/flt-32/e_expf.c>.
8024 2017-10-22  Paul Eggert  <eggert@cs.ucla.edu>
8026         [BZ #22332]
8027         * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
8028         unescaping.
8030 2017-10-21  Florian Weimer  <fweimer@redhat.com>
8032         * posix/Makefile (tests): Add tst-glob-tilde.
8033         (tests-special): Add tst-glob-tilde-mem.out
8034         (tst-glob-tilde-ENV): Set MALLOC_TRACE.
8035         (tst-glob-tilde-mem.out): Add mtrace check.
8036         * posix/tst-glob-tilde.c: New file.
8038 2017-10-20  Joseph Myers  <joseph@codesourcery.com>
8040         * bits/floatn-common.h: New file.
8041         * math/Makefile (headers): Add bits/floatn-common.h.
8042         * bits/floatn.h: Include <bits/floatn-common.h>.
8043         * sysdeps/ia64/bits/floatn.h: Likewise.
8044         * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
8045         * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
8046         * sysdeps/powerpc/bits/floatn.h: Likewise.
8047         * sysdeps/x86/bits/floatn.h: Likewise.
8049 2017-10-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8051         * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
8052         indicates whether compiler emits an warning for alias for
8053         functions with incompatible types.
8055         [BZ #22273]
8056         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
8057         the auxiliary process is terminated by a signal before calling _exit
8058         or execve.
8060 2017-10-20  H.J. Lu  <hongjiu.lu@intel.com>
8062         [BZ #21265]
8063         * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
8064         New.
8065         * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
8066         (get_common_indeces): Set xsave_state_size, xsave_state_full_size
8067         and bit_arch_XSAVEC_Usable if needed.
8068         (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
8069         and bit_arch_Use_dl_runtime_resolve_opt.
8070         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8071         Removed.
8072         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8073         (bit_arch_Prefer_No_AVX512): Updated.
8074         (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
8075         (bit_arch_XSAVEC_Usable): New.
8076         (STATE_SAVE_OFFSET): Likewise.
8077         (STATE_SAVE_MASK): Likewise.
8078         [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
8079         (cpu_features): Add xsave_state_size and xsave_state_full_size.
8080         (index_arch_Use_dl_runtime_resolve_opt): Removed.
8081         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8082         (index_arch_XSAVEC_Usable): New.
8083         * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
8084         Support XSAVEC_Usable.  Remove Use_dl_runtime_resolve_slow.
8085         * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
8086         is enabled.
8087         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
8088         Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
8089         _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
8090         _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
8091         with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
8092         _dl_runtime_resolve_xsavec.
8093         * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
8094         Removed.
8095         (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
8096         instead of VEC_SIZE.
8097         (REGISTER_SAVE_BND0): Removed.
8098         (REGISTER_SAVE_BND1): Likewise.
8099         (REGISTER_SAVE_BND3): Likewise.
8100         (REGISTER_SAVE_RAX): Always defined to 0.
8101         (VMOV): Removed.
8102         (_dl_runtime_resolve_avx): Likewise.
8103         (_dl_runtime_resolve_avx_slow): Likewise.
8104         (_dl_runtime_resolve_avx_opt): Likewise.
8105         (_dl_runtime_resolve_avx512): Likewise.
8106         (_dl_runtime_resolve_avx512_opt): Likewise.
8107         (_dl_runtime_resolve_sse): Likewise.
8108         (_dl_runtime_resolve_sse_vex): Likewise.
8109         (USE_FXSAVE): New.
8110         (_dl_runtime_resolve_fxsave): Likewise.
8111         (USE_XSAVE): Likewise.
8112         (_dl_runtime_resolve_xsave): Likewise.
8113         (USE_XSAVEC): Likewise.
8114         (_dl_runtime_resolve_xsavec): Likewise.
8115         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
8116         Removed.
8117         (_dl_runtime_resolve_avx512_opt): Likewise.
8118         (_dl_runtime_resolve_avx): Likewise.
8119         (_dl_runtime_resolve_avx_opt): Likewise.
8120         (_dl_runtime_resolve_sse): Likewise.
8121         (_dl_runtime_resolve_sse_vex): Likewise.
8122         (_dl_runtime_resolve_fxsave): New.
8123         (_dl_runtime_resolve_xsave): Likewise.
8124         (_dl_runtime_resolve_xsavec): Likewise.
8126 2017-10-20  Paul Eggert  <eggert@cs.ucla.edu>
8128         [BZ #22320]
8129         CVE-2017-15670
8130         * posix/glob.c (__glob): Fix one-byte overflow.
8132 2017-10-20  Wilco Dijkstra  <wdijkstr@arm.com>
8134         * malloc/malloc.c (sysdep-cancel.h): Add include.
8136 2017-10-20  Wilco Dijkstra  <wdijkstr@arm.com>
8138         * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
8140 2017-10-20  Will Hawkins  <hawkinsw@borlaugic.com>
8142         * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
8143         (tests): Remove $(objpfx)ga_test depdendency.
8144         * resolv/ga_test.c: Remove file.
8146 2017-10-20  Mike FABIAN  <mfabian@redhat.com>
8148         [BZ #18812]
8149         * localedata/SUPPORTED: Add kab_DZ/UTF-8.
8150         * localedata/locales/kab_DZ: New file.
8152 2017-10-20  H.J. Lu  <hongjiu.lu@intel.com>
8154         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
8155         _dl_relocate_static_pie instead of _dl_start to compute load
8156         address in static PIE.
8158 2017-10-20  H.J. Lu  <hongjiu.lu@intel.com>
8160         * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
8162 2017-10-20  Mike FABIAN  <mfabian@redhat.com>
8164         [BZ #13605]
8165         * localedata/SUPPORTED: Add shn_MM/UTF-8.
8166         * localedata/locales/shn_MM: New file.
8168 2017-10-20  Florian Weimer  <fweimer@redhat.com>
8170         [BZ #22321]
8171         sysconf: Fix missing definition of UIO_MAXIOV on Linux.
8172         * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
8173         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
8174         (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
8175         * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
8176         * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
8178 2017-10-19  H.J. Lu  <hongjiu.lu@intel.com>
8180         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8182 2017-10-19  Joseph Myers  <joseph@codesourcery.com>
8184         * sysdeps/mips/ieee754/bits/floatn.h: New file.
8186         [BZ #22322]
8187         * sysdeps/mips/bits/long-double.h: Move to ....
8188         * sysdeps/mips/ieee754/bits/long-double.h: ... here.
8190 2017-10-19  Wilco Dijkstra  <wdijkstr@arm.com>
8192         * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
8194 2017-10-19  Valery Reznic  <valery_reznic@yahoo.com>
8195             H.J. Lu  <hongjiu.lu@intel.com>
8197         [BZ #22299]
8198         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8199         GLRO(dl_platform) to NULL.
8200         * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
8201         (modules-names): Add tst-platformmod-1 and
8202         x86_64/tst-platformmod-2.
8203         (CFLAGS-tst-platform-1.c): New.
8204         (CFLAGS-tst-platformmod-1.c): Likewise.
8205         (CFLAGS-tst-platformmod-2.c): Likewise.
8206         (LDFLAGS-tst-platformmod-2.so): Likewise.
8207         ($(objpfx)tst-platform-1): Likewise.
8208         ($(objpfx)tst-platform-1.out): Likewise.
8209         (tst-platform-1-ENV): Likewise.
8210         ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
8211         * sysdeps/x86_64/tst-platform-1.c: New file.
8212         * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
8213         * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
8215 2017-10-19  Mike FABIAN  <mfabian@redhat.com>
8217         [BZ #13994]
8218         * locale/iso-639.def: Add Karbi.
8219         * localedata/SUPPORTED: Add mjw_IN/UTF-8.
8220         * localedata/locales/mjw_IN: New file.
8222 2017-10-18  Joseph Myers  <joseph@codesourcery.com>
8224         * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
8225         * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
8226         * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
8227         * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
8228         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
8229         (libm_alias_ldouble_other_r): Also create _Float128 alias.
8230         * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
8231         <bits/floatn.h>.
8232         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
8233         (libm_alias_ldouble_other_r): Also create _Float128 alias.
8234         * manual/math.texi (Mathematics): Document additional architecture
8235         support for _Float128.
8236         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
8237         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8241         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8243         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8249         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8250         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8252 2017-10-18  Renlin Li  <renlin.li@arm.com>
8254         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
8255         _DYNAMIC symbol to calculate load address.
8257 2017-10-18  Paul A. Clarke  <pc@us.ibm.com>
8259         * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
8260         (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
8261         summary bits.
8262         (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
8263         (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
8265 2017-10-18  Mike FABIAN  <mfabian@redhat.com>
8267         [BZ #16777]
8268         * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
8269         and improve readability by using more ASCII.
8270         * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
8271         and improve readability by using more ASCII.
8273 2017-10-18  Wilco Dijkstra  <wdijkstr@arm.com>
8275         * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
8276         not all targets support atomics on bool.
8278 2017-10-17  Joseph Myers  <joseph@codesourcery.com>
8280         * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
8281         __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
8282         __f128.
8283         [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8284         (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
8285         [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8286         (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
8287         [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8288         (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
8290 2017-10-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8292         * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
8293         defines.
8295 2017-10-17  Wilco Dijkstra  <wdijkstr@arm.com>
8297         [BZ #22159]
8298         * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
8299         * malloc/malloc.c (do_check_free_chunk): Fix build bug.
8300         (do_check_remalloced_chunk): Fix build bug.
8301         (do_check_malloc_state): Add assert that checks arena->top.
8302         (malloc_consolidate): Remove initialization.
8303         (int_mallinfo): Remove call to malloc_consolidate.
8304          (__libc_mallopt): Clarify why malloc_consolidate is needed.
8306 2017-10-17  Wilco Dijkstra  <wdijkstr@arm.com>
8308         * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
8309         (have_fastchunks): Remove.
8310         (clear_fastchunks): Remove.
8311         (set_fastchunks): Remove.
8312         (malloc_state): Add have_fastchunks.
8313         (malloc_init_state): Use have_fastchunks.
8314         (do_check_malloc_state): Remove incorrect invariant checks.
8315         (_int_malloc): Use have_fastchunks.
8316         (_int_free): Likewise.
8317         (malloc_consolidate): Likewise.
8319 2017-10-17  Wilco Dijkstra  <wdijkstr@arm.com>
8321         * malloc/malloc.c (tcache_put): Inline.
8322         (tcache_get): Inline.
8324 2017-10-17  Jordi Mallach  <jordi@gnu.org>
8326         Aurelien Jarno  <aurelien@aurel32.net>
8327         [BZ #2522]
8328         * localedata/locales/ca_ES@valencia: New file.
8329         * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
8331 2017-10-17  Romain Naour  <romain.naour@gmail.com>  (tiny change)
8333         [BZ #22296]
8334         * math/math.h: Let signbit use the builtin in C++ mode with gcc
8335         < 6.x
8337 2017-10-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8339         * scripts/build-many-glibcs.py (Context.add_all_configs):
8340         Add arm-linux-gnueabihf multiarch extra_glibcs.
8342         * sysdeps/generic/ifunc-init.h: New file.
8343         * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
8345 2017-10-17  Mike FABIAN  <mfabian@redhat.com>
8347         [BZ #22019]
8348         * localedata/locales/el_GR: Set n_cs_precedes to 0.
8349         * localedata/locales/el_CY: copy "el_GR" because it is identical.
8350         * stdlib/tst-strfmon_l.c: adapt test case.
8352 2017-10-16  Joseph Myers  <joseph@codesourcery.com>
8354         * sysdeps/generic/float128-abi.h: New file.
8355         * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
8356         non-__prefixed symbols to ....
8357         * math/Versions: ... here.  Include <float128-abi.h>.
8358         * stdlib/Versions ... and here.  Include <float128-abi.h>
8360 2017-10-16  Florian Weimer  <fweimer@redhat.com>
8362         * version.h (VERSION): Switch to ".9000" as the development
8363         version suffix.
8365 2017-10-16  Florian Weimer  <fweimer@redhat.com>
8367         [BZ #22050]
8368         * malloc/mcheck-init.c (__malloc_initialize_hook): Use
8369         compat_symbol_reference to access non-default version.
8371 2017-10-16  Florian Weimer  <fweimer@redhat.com>
8373         * malloc/Makefile (others-extras): Set to mcheck-init.o.
8375 2017-10-16  Carlos O'Donell  <carlos@redhat.com>
8377         * include/shlib-compat.h (compat_symbol_reference): Update
8378         comment.
8380 2017-10-16  Joseph Myers  <joseph@codesourcery.com>
8382         * math/Makefile (test-types): Add
8383         $(type-float128-$(float128-alias-fcts)).
8384         * math/test-float128.h (TYPE_STR): Define conditional on
8385         [FLT128_MANT_DIG == LDBL_MANT_DIG].
8386         (ULP_IDX): Likewise.
8387         (ULP_I_IDX): Likewise.
8389         * stdlib/strtold.c: Include <bits/floatn.h>
8390         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
8391         and later undefine as macro.  Define as weak alias if
8392         [!USE_WIDE_CHAR].
8393         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
8394         and later undefine as macro.  Define as weak alias if
8395         [USE_WIDE_CHAR].
8396         * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
8397         !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
8398         undefine as macro.  Define as weak alias if [!USE_WIDE_CHAR].
8399         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
8400         Define and later undefine as macro.  Define as weak alias if
8401         [USE_WIDE_CHAR].
8402         * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
8403         <bits/floatn.h>.
8404         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
8405         Define and later undefine as macro.  Define as weak alias if
8406         [!USE_WIDE_CHAR].
8407         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
8408         Define and later undefine as macro.  Define as weak alias if
8409         [USE_WIDE_CHAR].
8411 2017-10-15  Carlos O'Donell  <carlos@redhat.com>
8413         * localedata/collate-test.c (allocate_arrays): Don't use \n in
8414         record_verbose messages.
8416 2017-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8418         [BZ #22052]
8419         * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
8420         to silence -O3 -Wall warning with GCC 7.
8422 2017-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8424         * Makeconfig (+link-static-before-libc): Use the first of
8425         $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
8426         * gmon/Makefile (tests): Add tst-gmon-static.
8427         (tests-static): Likewise.
8428         (CFLAGS-tst-gmon-static.c): New.
8429         (CRT-tst-gmon-static): Likewise.
8430         (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
8431         (tst-gmon-static-ENV): Likewise.
8432         (tests-special): Likewise.
8433         ($(objpfx)tst-gmon-static.out): Likewise.
8434         (clean-tst-gmon-static-data): Likewise.
8435         ($(objpfx)tst-gmon-static-gprof.out): Likewise.
8436         * gmon/tst-gmon-static-gprof.sh: New file.
8437         * gmon/tst-gmon-static.c: Likewise.
8439 2017-10-13  Carlos O'Donell  <carlos@redhat.com>
8441         [BZ #22295]
8442         * locale/programs/linereader.c (get_string): Don't warn on
8443         non-symbolic character.
8445         [BZ #22294]
8446         * locale/programs/ld-monetary.c (monetary_finish): Allow ""
8447         int_curr_symbol.
8449         [BZ #22292]
8450         * locale/programs/record-status.h: New file
8451         * locale/programs/locale.c: Add comment.
8452         * locale/programs/charmap-dir.c: Don't include error.h.
8453         (charmap_opendir): Use record_error.
8454         * locale/programs/charmap.c: Don't include error.h.
8455         (charmap_read): Use record_error, and record_warning.
8456         (parse_charmap): Likewise.
8457         * locale/programs/ld-address.c: Don't include error.h.
8458         (address_finish): Use record_error, and record_warning.
8459         * locale/programs/ld-collate.c: Don't include error.h.
8460         (collate_finish): Use record_error, and record_error_at_line.
8461         * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
8462         (ctype_class_new): Likewise.
8463         (ctype_map_new): Likewise.
8464         (set_one_default): Likewise.
8465         (set_class_defaults): Likewise.
8466         (translit_flatten): Likewise.
8467         (allocate_arrays): Use record_error, and record_verbose.
8468         * locale/programs/ld-identification.c: Don't include error.h.
8469         (indentation_finish): Use record_error and record_warning.
8470         * locale/programs/ld-measurement.c: Don't include error.h.
8471         (measurement_finish): Use record_error.
8472         * locale/programs/ld-messages.c
8473         (message_finish): Likewise.
8474         * locale/programs/ld-monetary.c
8475         (monetary_finish): Likewise.
8476         * locale/programs/ld-name.c (name_finish): Use record_error
8477         and record_warning.
8478         * locale/programs/ld-numeric.c
8479         (numeric_finish): Use record_error.
8480         * locale/programs/ld-paper.c: Don't include error.h.
8481         (paper_finish): Use record_error.
8482         * locale/programs/ld-telephone.c: Don't include error.h.
8483         (telephone_finish): Use record_error.
8484         * locale/programs/ld-time.c (time_finish): Likewise.
8485         * locale/programs/linereader.h (lr_error): Make inline func.
8486         * locale/programs/localedef.c: Define recorded_warning_count,
8487         and recorded_error_count.
8488         (main): Use record_error. Use recorded_error_count and
8489         recorded_warning_count to issue correct error returns.
8490         (add_to_readlist): Use record_error.
8491         (find_locale): Likewise.
8492         (load_locale): Likewise.
8493         * locale/programs/localedef.h: Remove be_quiet
8494         and WITH_CUR_LOCALE.
8495         * locale/programs/locarchive.c (compare_from_file): Use
8496         record_error.
8497         * locale/programs/locfile.c (write_locale_data): Use
8498         record_error.
8499         * locale/programs/repertoire.c: Dont include error.h.
8500         (repertoire_complain): Use record_error.
8501         * localedata/tst-fmon.sh: Expect failures from localedef.
8502         * localedata/tst-locale.sh: Likewise.
8503         * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
8505         * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
8506         (REPORTS): Likewise.
8507         (check): Likewise.
8508         (i18n): Rename to...
8509         (i18n_ctype): ...this.
8510         (i18n-report): Rename to...
8511         (i18n_ctype-report): ...this.
8512         * localedata/locales/i18n_ctype: Regenerate.
8513         * localedata/locales/i18n: copy i18n_ctype.
8515 2017-10-13  Joseph Myers  <joseph@codesourcery.com>
8517         * stdlib/strfroml.c: Include <bits/floatn.h>.
8518         [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
8519         Define before include of <stdlib.h> and undefine afterwards, then
8520         define as weak alias.
8522         * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
8523         Undefine and restore default definition.  Use
8524         libm_alias_ldouble_other.
8526 2017-10-13  Peter Zelezny  <peter.zelezny@dektech.com.au>
8528         [BZ #22153]
8529         * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
8530         in coredumps.
8532 2017-10-13  James Clarke  <jrtc27@jrtc27.com>
8534         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8535         Assign sym_map to be map for local symbols, as TLS relocations
8536         use sym_map to determine whether the symbol is defined and to
8537         extract the TLS information.
8538         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8541 2017-10-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8543         [BZ #22189]
8544         * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
8545         (math_force_eval): Add powerpc version.
8547         [BZ #22142]
8548         * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
8549         -DBL_MAX.
8550         (do_test): Likewise.
8551         * stdio-common/tst-printf.sh: Likewise.
8552         * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
8553         ifdef clause in order to set the carry bit right.  Replace r0 by
8554         0 without changing the behavior.
8556 2017-10-13  Joseph Myers  <joseph@codesourcery.com>
8558         * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
8559         <libm-alias-ldouble.h>.
8560         (fabsl): Define using libm_alias_ldouble.
8561         * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
8562         <libm-alias-ldouble.h>.
8563         (fabsl): Define using libm_alias_ldouble.
8565         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
8566         Remove conditional code.
8568         * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
8569         Rename to __clog10_internal_l.
8570         (__clog10_internal_l): Define aliases using
8571         libm_alias_ldouble_other instead of using libm_alias_ldouble_other
8572         with __clog10.
8574 2017-10-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8576         * benchtests/Makefile (bench-math):  Add sinf, cosf and sincosf.
8577         * benchtests/sincosf-inputs: New file.
8578         * benchtests/cosf-inputs: New file.
8579         * benchtests/sinf-inputs: New file.
8581 2017-10-12  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8583         * posix/tst-spawn.c (do_test): Wait for both children.
8585 2017-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8587         [BZ #22284]
8588         * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
8589         tests-pie): Add tst-gmon-pie.
8590         (CFLAGS-tst-gmon-pie.c): New.
8591         (CRT-tst-gmon-pie): Likewise.
8592         (tst-gmon-pie-ENV): Likewise.
8593         [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
8594         ($(objpfx)tst-gmon-pie.out): Likewise.
8595         (clean-tst-gmon-pie-data): Likewise.
8596         ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
8597         * gmon/gmon.c [PIC]: Include <link.h>.
8598         [PIC] (callback): New function.
8599         (write_hist): Add an argument for load address.  Subtract load
8600         address from PCs.
8601         (write_call_graph): Likewise.
8602         (write_gmon): Call __dl_iterate_phdr to get load address, pass
8603         it to write_hist and write_call_graph.
8604         * gmon/tst-gmon-pie.c: New file.
8606 2017-10-11  Joseph Myers  <joseph@codesourcery.com>
8608         * math/Makefile (test-types-basic): New variable.
8609         (test-types): Likewise.
8610         (libm-test-support): Use $(test-types) instead of $(types).
8611         (libm-tests-base-normal): Likewise.
8612         (libm-tests-base-finite): Likewise.
8613         (libm-tests-base-inline): Likewise.
8614         (generated): Likewise.
8615         ($(objpfx)libm-test-support-$(t).c): Likewise.
8616         (libm-tests-for-type iterator): Likewise.
8617         (libm-test-support iterator): Likewise.
8618         * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
8619         (ulp_idx): Use ULP_IDX.
8620         * math/test-ldouble.h: Include <float.h>.
8621         (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
8622         (ULP_IDX): New macro.
8623         (ULP_I_IDX): Likewise.
8624         * math/test-double.h (ULP_IDX): Likewise.
8625         (ULP_I_IDX): Likewise.
8626         * math/test-float.h (ULP_IDX): Likewise.
8627         (ULP_I_IDX): Likewise.
8628         * math/test-float128.h (ULP_IDX): Likewise.
8629         (ULP_I_IDX): Likewise.
8631 2017-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8633         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
8634         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8635         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8636         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
8637         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8638         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
8639         * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
8640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8642         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8643         * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
8644         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8645         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8647         (SINGLE_THREAD_BY_GLOBAL): Define.
8648         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8649         Likewise.
8650         * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8653         Likewise.
8654         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8655         Likewise.
8656         * sysdeps/unix/sysv/linux/microblaze/sysdep.h
8657         (SINGLE_THREAD_BY_GLOBAL): Likewise.
8658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8659         Likewise.
8661 2017-10-11  Andreas Schwab  <schwab@suse.de>
8663         * nis/Makefile (aux): Remove.
8664         * nscd/Makefile (aux): Add nscd_hash.
8665         (nscd-modules): Likewise.
8666         ($(objpfx)nscd): Don't depend on libnsl.
8667         * nscd/nscd_hash.c: New file.
8668         * nscd/nscd_hash.h: Likewise.
8669         * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
8670         (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
8671         * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
8672         instead of <nis/rpcsvc/nis.h>.
8673         (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
8675 2017-10-11  Florian Weimer  <fweimer@redhat.com>
8677         [BZ #22078]
8678         Avoid large NSS buffers with many addresses, aliases.
8679         * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
8680         using dynarrays and struct alloc_buffer.
8681         * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
8682         (tst-nss-files-hosts-multi): Link with -ldl.
8683         * nss/tst-nss-files-hosts-multi.c: New file.
8685 2017-10-11  Florian Weimer  <fweimer@redhat.com>
8687         [BZ #18023]
8688         * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
8689         scratch_buffer.  Eliminate gotos.
8691 2017-10-11  Joseph Myers  <joseph@codesourcery.com>
8693         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
8694         libm_alias_ldouble_other.
8695         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
8696         undefine and redefine.
8697         [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
8698         (exp10l): Do not define here.
8699         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
8700         (weak_alias): Undefine and redefine.
8701         [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
8702         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
8703         [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
8704         [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
8706         * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
8707         [!__fma] (fma): Define using libm_alias_double.
8708         * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
8709         [!__fmaf] (fmaf): Define using libm_alias_float.
8710         * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
8711         (fmal): Define using libm_alias_ldouble.
8713 2017-10-10  Joseph Myers  <joseph@codesourcery.com>
8715         * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
8716         New macro.
8717         (libm_alias_double_other): Likewise.
8718         (libm_alias_double_r): Use libm_alias_double_other_r.
8719         * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
8720         New macro.
8721         (libm_alias_float_other): Likewise.
8722         (libm_alias_float_r): Use libm_alias_float_other_r.
8723         * sysdeps/generic/libm-alias-float128.h
8724         (libm_alias_float128_other_r): New macro.
8725         (libm_alias_float128_other): Likewise.
8726         (libm_alias_float128_r): Use libm_alias_float128_other_r.
8727         * sysdeps/generic/libm-alias-ldouble.h
8728         (libm_alias_ldouble_other_r): New macro.
8729         (libm_alias_ldouble_other): Likewise.
8730         (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8731         * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
8732         (libm_alias_double_other_r): New macro.
8733         (libm_alias_double_other): Likewise.
8734         (libm_alias_double_r): Use libm_alias_double_other_r.
8735         * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
8736         (libm_alias_ldouble_other_r): New macro.
8737         (libm_alias_ldouble_other): Likewise.
8738         (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8739         * math/w_lgamma_main.c: Include <libm-alias-double.h>.
8740         [!USE_AS_COMPAT]: Use libm_alias_double_other.
8741         * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
8742         [!USE_AS_COMPAT]: Use libm_alias_float_other.
8743         * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
8744         [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
8745         * math/w_exp2f.c: Use libm_alias_float_other.
8746         * math/w_expf.c: Likewise.
8747         * math/w_log2f.c: Likewise.
8748         * math/w_logf.c: Likewise.
8749         * math/w_powf.c: Likewise.
8750         * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
8751         [!__exp2f]: Use libm_alias_float_other.
8752         * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
8753         [!__expf]: Use libm_alias_float_other.
8754         * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
8755         [!__log2f]: Use libm_alias_float_other.
8756         * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
8757         [!__logf]: Use libm_alias_float_other.
8758         * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
8759         [!__powf]: Use libm_alias_float_other.
8761 2017-10-10  Florian Weimer  <fweimer@redhat.com>
8763         * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
8764         function.
8765         (_nss_files_gethostbyname3_r): Call it.
8767 2017-10-09  Joseph Myers  <joseph@codesourcery.com>
8769         * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
8770         error.  Remove default definition of declare_mgen_alias.
8771         [!declare_mgen_alias_r]: Likewise.
8772         * sysdeps/generic/math-type-macros-double.h
8773         [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
8774         * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
8775         (declare_mgen_alias_r): Likewise.
8776         * sysdeps/generic/math-type-macros-float128.h
8777         [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8778         * sysdeps/generic/math-type-macros-ldouble.h
8779         [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8780         * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
8781         macro.
8782         (declare_mgen_alias_r_s): Likewise.
8783         (declare_mgen_alias_r): Likewise.
8784         * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
8785         (lgamma_r): Define using libm_alias_double_r.
8786         * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
8787         (lgammaf_r): Define using libm_alias_float_r.
8788         * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
8789         (lgammal_r): Define using libm_alias_ldouble_r.
8790         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
8791         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8793 2017-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8795         * lib/glob.c (__glob_pattern_type): Remove now-spurious
8796         extern declaration.
8798 2017-10-09  Joseph Myers  <joseph@codesourcery.com>
8800         * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
8802 2017-10-09  Jonathan Wakely  <jwakely@redhat.com>
8804         [BZ #21326]
8805         * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
8806         [__cplusplus >= 201103] (__USE_ISOC99): Define.
8807         * math/Makefile (test-math-cxx11): New test.
8808         * math/test-math-cxx11.cc: New file.
8810 2017-10-08  Christian Brauner  <christian.brauner@ubuntu.com>
8812         * login/openpty.c (openpty): Close slave pty file descriptor on error.
8814         * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
8815         call to allocate the slave pty file descriptor.
8817 2017-10-06  Joseph Myers  <joseph@codesourcery.com>
8819         * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
8820         [!__fma] (fma): Define using libm_alias_double.
8821         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
8822         [!__fma] (fma): Define using libm_alias_double.
8824         * sysdeps/ieee754/float128/float128_private.h: Include
8825         <libm-alias-ldouble.h> and <libm-alias-float128.h>.
8826         (libm_alias_ldouble_r): Undefine and redefine.
8827         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
8828         <libm-alias-ldouble.h>.
8829         (asinhl): Define using libm_alias_ldouble.
8830         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
8831         <libm-alias-ldouble.h>.
8832         (atanl): Define using libm_alias_ldouble.
8833         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
8834         <libm-alias-ldouble.h>.
8835         (cbrtl): Define using libm_alias_ldouble.
8836         * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
8837         <libm-alias-ldouble.h>.
8838         (ceill): Define using libm_alias_ldouble.
8839         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
8840         <libm-alias-ldouble.h>.
8841         (copysignl): Define using libm_alias_ldouble.
8842         * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
8843         <libm-alias-ldouble.h>.
8844         (cosl): Define using libm_alias_ldouble.
8845         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
8846         <libm-alias-ldouble.h>.
8847         (erfl): Define using libm_alias_ldouble.
8848         (erfcl): Likewise.
8849         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
8850         <libm-alias-ldouble.h>.
8851         (expm1l): Define using libm_alias_ldouble.
8852         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
8853         <libm-alias-ldouble.h>.
8854         (fabsl): Define using libm_alias_ldouble.
8855         * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
8856         <libm-alias-ldouble.h>.
8857         (floorl): Define using libm_alias_ldouble.
8858         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
8859         <libm-alias-ldouble.h>.
8860         (fmal): Define using libm_alias_ldouble.
8861         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
8862         <libm-alias-ldouble.h>.
8863         (frexpl): Define using libm_alias_ldouble.
8864         * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
8865         libm_alias_ldouble.
8866         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
8867         <libm-alias-ldouble.h>.
8868         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
8869         libm_alias_ldouble.
8870         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
8871         <libm-alias-ldouble.h>.
8872         (getpayloadl): Define using libm_alias_ldouble.
8873         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
8874         <libm-alias-ldouble.h>.
8875         (llrintl): Define using libm_alias_ldouble.
8876         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
8877         <libm-alias-ldouble.h>.
8878         (llroundl): Define using libm_alias_ldouble.
8879         * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
8880         <libm-alias-ldouble.h>.
8881         (logbl): Define using libm_alias_ldouble.
8882         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
8883         <libm-alias-ldouble.h>.
8884         (lrintl): Define using libm_alias_ldouble.
8885         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
8886         <libm-alias-ldouble.h>.
8887         (lroundl): Define using libm_alias_ldouble.
8888         * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
8889         <libm-alias-ldouble.h>.
8890         (modfl): Define using libm_alias_ldouble.
8891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
8892         <libm-alias-ldouble.h>.
8893         (nearbyintl): Define using libm_alias_ldouble.
8894         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
8895         <libm-alias-ldouble.h>.
8896         (nextafterl): Define using libm_alias_ldouble.
8897         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
8898         <libm-alias-ldouble.h>.
8899         (nextupl): Define using libm_alias_ldouble.
8900         * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
8901         <libm-alias-ldouble.h>.
8902         (remquol): Define using libm_alias_ldouble.
8903         * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
8904         <libm-alias-ldouble.h>.
8905         (rintl): Define using libm_alias_ldouble.
8906         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
8907         <libm-alias-ldouble.h>.
8908         (roundevenl): Define using libm_alias_ldouble.
8909         * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
8910         <libm-alias-ldouble.h>.
8911         (roundl): Define using libm_alias_ldouble.
8912         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
8913         using libm_alias_ldouble.
8914         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
8915         <libm-alias-ldouble.h>.
8916         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
8917         Define using libm_alias_ldouble.
8918         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
8919         <libm-alias-ldouble.h>.
8920         (sincosl): Define using libm_alias_ldouble.
8921         * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
8922         <libm-alias-ldouble.h>.
8923         (sinl): Define using libm_alias_ldouble.
8924         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
8925         <libm-alias-ldouble.h>.
8926         (tanhl): Define using libm_alias_ldouble.
8927         * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
8928         <libm-alias-ldouble.h>.
8929         (tanl): Define using libm_alias_ldouble.
8930         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8931         <libm-alias-ldouble.h>.
8932         (totalorderl): Define using libm_alias_ldouble.
8933         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8934         <libm-alias-ldouble.h>.
8935         (totalordermagl): Define using libm_alias_ldouble.
8936         * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
8937         <libm-alias-ldouble.h>.
8938         (truncl): Define using libm_alias_ldouble.
8939         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
8940         libm_alias_ldouble.
8941         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
8942         libm_alias_ldouble.
8943         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
8944         <libm-alias-ldouble.h>.
8945         (weak_alias): Do not undefine and redefine.
8946         [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8947         (copysignl): Define with long_double_symbol only if [IS_IN
8948         (libc)].
8949         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
8950         <libm-alias-ldouble.h>.
8951         (weak_alias): Do not undefine and redefine.
8952         [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8953         (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
8954         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
8955         <libm-alias-ldouble.h>.
8956         (weak_alias): Do not undefine and redefine.
8957         [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8958         (modfl): Define with long_double_symbol only if [IS_IN (libc)].
8959         * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
8960         * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
8961         * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
8962         * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
8963         * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
8964         * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
8965         * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
8966         * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
8967         * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
8968         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
8969         * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
8970         * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
8971         * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
8972         * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
8973         * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
8974         * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
8975         * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
8976         * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
8977         * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
8978         * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
8979         * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
8980         * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
8981         * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
8982         * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
8984 2017-10-06  Carlos O'Donell  <carlos@redhat.com>
8986         [BZ #22111]
8987         * malloc/malloc.c (tcache_shutting_down): Use bool type.
8988         (tcache_thread_freeres): Set tcache_shutting_down before
8989         freeing the tcache.
8990         * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
8991         * malloc/tst-malloc-tcache-leak.c: New file.
8993 2017-10-06  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8995         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
8996         back to powerpc32 file.
8997         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
8998         (memrchr): Add __memrchr_power8 to ifunc list.
8999         * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
9000         extra bytes for unaligned inputs.
9002 2017-10-06  Joseph Myers  <joseph@codesourcery.com>
9004         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
9005         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
9006         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
9007         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9008         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9010 2017-10-05  Joseph Myers  <joseph@codesourcery.com>
9012         * sysdeps/arm/libm-test-ulps: Update.
9014         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
9015         <libm-alias-ldouble.h>.
9016         (asinhl): Define using libm_alias_ldouble.
9017         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
9018         <libm-alias-ldouble.h>.
9019         (cbrtl): Define using libm_alias_ldouble.
9020         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
9021         <libm-alias-ldouble.h>.
9022         (copysignl): Define using libm_alias_ldouble.
9023         * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
9024         <libm-alias-ldouble.h>.
9025         (cosl): Define using libm_alias_ldouble.
9026         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
9027         <libm-alias-ldouble.h>.
9028         (erfl): Define using libm_alias_ldouble.
9029         (erfcl): Likewise.
9030         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
9031         <libm-alias-ldouble.h>.
9032         (fmal): Define using libm_alias_ldouble.
9033         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
9034         <libm-alias-ldouble.h>.
9035         (frexpl): Define using libm_alias_ldouble.
9036         * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
9037         libm_alias_ldouble.
9038         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
9039         <libm-alias-ldouble.h>.
9040         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
9041         libm_alias_ldouble.
9042         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
9043         <libm-alias-ldouble.h>.
9044         (getpayloadl): Define using libm_alias_ldouble.
9045         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
9046         <libm-alias-ldouble.h>.
9047         (llrintl): Define using libm_alias_ldouble.
9048         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
9049         <libm-alias-ldouble.h>.
9050         (llroundl): Define using libm_alias_ldouble.
9051         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
9052         <libm-alias-ldouble.h>.
9053         (lrintl): Define using libm_alias_ldouble.
9054         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
9055         <libm-alias-ldouble.h>.
9056         (lroundl): Define using libm_alias_ldouble.
9057         * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
9058         <libm-alias-ldouble.h>.
9059         (modfl): Define using libm_alias_ldouble.
9060         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
9061         <libm-alias-ldouble.h>.
9062         (nextupl): Define using libm_alias_ldouble.
9063         * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
9064         <libm-alias-ldouble.h>.
9065         (remquol): Define using libm_alias_ldouble.
9066         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
9067         <libm-alias-ldouble.h>.
9068         (roundevenl): Define using libm_alias_ldouble.
9069         * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
9070         <libm-alias-ldouble.h>.
9071         (roundl): Define using libm_alias_ldouble.
9072         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
9073         using libm_alias_ldouble.
9074         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
9075         <libm-alias-ldouble.h>.
9076         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
9077         <libm-alias-ldouble.h>.
9078         (setpayloadsigl): Define using libm_alias_ldouble.
9079         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
9080         <libm-alias-ldouble.h>.
9081         (sincosl): Define using libm_alias_ldouble.
9082         * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
9083         <libm-alias-ldouble.h>.
9084         (sinl): Define using libm_alias_ldouble.
9085         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
9086         <libm-alias-ldouble.h>.
9087         (tanhl): Define using libm_alias_ldouble.
9088         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
9089         <libm-alias-ldouble.h>.
9090         (tanl): Define using libm_alias_ldouble.
9091         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9092         <libm-alias-ldouble.h>.
9093         (totalorderl): Define using libm_alias_ldouble.
9094         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9095         <libm-alias-ldouble.h>.
9096         (totalordermagl): Define using libm_alias_ldouble.
9097         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
9098         libm_alias_ldouble.
9099         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
9100         libm_alias_ldouble.
9102 2017-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9104         * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9105         memmove_falkor.
9106         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9107         (__libc_ifunc_impl_list): Likewise.
9108         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
9109         * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
9111         * benchtests/bench-memmove-walk.c: New file.
9112         * benchtests/Makefile (string-benchset): Add it.
9114         * benchtests/bench-memset-walk.c: New file.
9115         * benchtests/Makefile (string-benchset): Add it.
9117         * benchtests/bench-memcpy-walk.c: New file.
9118         * benchtests/Makefile (string-benchset): Add it.
9120 2017-10-05  Florian Weimer  <fweimer@redhat.com>
9122         nscd: Eliminate compilation time dependency in the build output.
9123         * nscd/nscd_stat.c (STATDATA_VERSION)
9124         (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
9125         (STATDATA_VERSION_FULL): New macro definitions.
9126         (compilation): Remove.
9127         (struct statdata): Adjust version member.
9128         (send_stats): Set version from STATDATA_VERSION_FULL.
9129         (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
9131 2017-10-05  Joseph Myers  <joseph@codesourcery.com>
9133         * configure.ac (--enable-add-ons): Remove option.
9134         (machine): Do not mention add-ons in comment.
9135         (LIBC_PRECONFIGURE): Likewise.
9136         (add_ons): Remove variable and sanity checks and logic to locate
9137         add-ons.
9138         (add_ons_automatic): Remove variable.
9139         (configured_add_ons): Likewise.
9140         (add_ons_sfx): Likewise.
9141         (add_ons_pfx): Likewise.
9142         (add_on_subdirs): Likewise.
9143         (sysnames_add_ons): Likewise.  Remove loop over add-ons and
9144         consideration of add-ons in Implies handling.
9145         (sysdeps_add_ons): Likewise.
9146         * configure: Regenerated.
9147         * libidn/configure.ac: Remove.
9148         * libidn/configure: Likewise.
9149         * sysdeps/unix/inet/configure.ac: New file.
9150         * sysdeps/unix/inet/configure: New generated file.
9151         * sysdeps/unix/inet/Subdirs: Add libidn.
9152         * Makeconfig (sysdeps-srcdirs): Remove variable.
9153         (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
9154         ($(common-objpfx)config.status): Do not depend on add-on files.
9155         ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
9156         comment.
9157         (all-subdirs): Do not include $(add-on-subdirs).
9158         * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
9159         * config.make.in (add-ons): Remove variable.
9160         (add-on-subdirs): Likewise.
9161         (sysdeps-add-ons): Likewise.
9162         * manual/Makefile (add-chapters): Remove.
9163         ($(objpfx)texis): Do not depend on $(add-chapters).
9164         (nonexamples): Do not handle $(add-chapters).
9165         (examples): Do not handle $(add-ons).
9166         (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
9167         libc-texinfo.sh.
9168         * manual/install.texi (Installation): Do not mention add-ons.
9169         (--enable-add-ons): Do not document configure option.
9170         * INSTALL: Regenerated.
9171         * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
9172         * manual/maint.texi (Hierarchy Conventions): Do not mention
9173         add-ons.
9174         * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
9175         --enable-add-ons.
9176         * scripts/gen-sorted.awk: Do not handle Subdirs files from
9177         add-ons.
9178         * scripts/test-installation.pl: Do not handle glibc-compat add-on.
9179         * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
9181 2017-10-05  Andreas Schwab  <schwab@suse.de>
9183         [BZ #15142]
9184         * libio/genops.c (_IO_list_all_stamp): Delete.  All uses removed.
9185         (_IO_flush_all_lockp): Always lock list_all_lock.
9186         (_IO_flush_all_linebuffered): Likewise.
9187         (_IO_unbuffer_all): Likewise.
9189 2017-10-05  Florian Weimer  <fweimer@redhat.com>
9191         [BZ #15436]
9192         Do not flush stdio streams on abort.
9193         * stdlib/abort.c (fflush): Remove macro definition.
9194         (abort): Remove stages related to stdio flushing.
9196 2017-10-05  Florian Weimer  <fweimer@redhat.com>
9198         * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
9200 2017-10-05  Stefan Liebler  <stli@linux.vnet.ibm.com>
9202         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9204 2017-10-05  Florian Weimer  <fweimer@redhat.com>
9206         * support/support_format_hostent.c (support_format_hostent): Add
9207         more error information for NETDB_INTERNAL.
9209 2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
9211         * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
9212         * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
9213         for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
9214         * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
9215         AC_DEFINE if multi-arch is enabled.
9216         * sysdeps/i386/configure: Regenerated.
9218 2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
9220         * Makeconfig (+link-static-before-libc): Use
9221         $(DEFAULT-LDFLAGS-$(@F)).
9222         * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
9223         (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
9224         (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
9226 2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
9228         * elf/Makefile (tests): Add tst-main1.
9229         (modules-names): Add tst-main1mod.
9230         ($(objpfx)tst-main1): New.
9231         (CRT-tst-main1): Likewise.
9232         (LDFLAGS-tst-main1): Likewise.
9233         (LDLIBS-tst-main1): Likewise.
9234         (tst-main1mod.so-no-z-defs): Likewise.
9235         * elf/tst-main1.c: New file.
9236         * elf/tst-main1mod.c: Likewise.
9238 2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
9240         * math/test-math-iscanonical.cc (do_test): Return errors != 0.
9242 2017-10-04  Joseph Myers  <joseph@codesourcery.com>
9244         * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
9245         (fma): Define using libm_alias_double.
9246         * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
9247         * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
9248         <math_ldbl_opt.h>.
9249         (fmal): Do not define as compat symbol here.
9250         * sysdeps/alpha/fpu/s_fma.c: New file.
9252 2017-10-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9254         * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
9256 2017-10-04  Joseph Myers  <joseph@codesourcery.com>
9258         [BZ #22229]
9259         * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
9260         <math_ldbl_opt.h>
9261         (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
9262         and libc.
9263         * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
9264         (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
9265         * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
9266         (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
9267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9268         Include <math_ldbl_opt.h>
9269         (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
9270         and libc.
9271         (compat_symbol): Undefine and redefine.
9272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
9273         <math_ldbl_opt.h>
9274         (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
9275         (compat_symbol): Undefine and redefine.
9276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
9277         [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
9278         [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
9279         GLIBC_2_1 for libm.
9280         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
9281         GLIBC_2.0 copysignl symbol.
9282         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9283         GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
9285         * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
9287 2017-10-04  Florian Weimer  <fweimer@redhat.com>
9289         * scripts/check-local-headers.sh: Ignore nspr4 header file
9290         directory in addition to nspr.
9292 2017-10-04  Guido Trentalancia  <guido@trentalancia.net>
9294         [BZ #17956]
9295         * configure.ac (--enable-nss-crypt): Use NSPR include directory.
9296         * configure: Regenerate.
9297         * crypt/Makefile (nss-cpp-flags): New variable.
9298         (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
9299         (CPPFLAGS-md5-crypt.c): Use it.
9300         * scripts/check-local-headers.sh: Ignore nspr header file
9301         directory.
9303 2017-10-04  Andreas Schwab  <schwab@suse.de>
9305         * nis/Makefile (services): Remove compat.
9306         (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
9307         ($(objpfx)libnss_compat.so): Remove rule.
9308         * nis/Versions (libnss_compat): Remove.
9309         * nss/Makefile (services): Add compat.
9310         (libnss_compat-routines, libnss_compat-inhibit-o): Define.
9311         * nss/Versions (libnss_compat): Define.
9312         * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
9313         Don't include <rpc/types.h>.  Replace bool_t by bool.
9314         * nss/nss_compat/compat-initgroups.c: Likewise.
9315         * nss/nss_compat/compat-pwd.c: Likewise.  Include "nisdomain.h"
9316         instead of <rpcsrv/ypclnt.h>.
9317         (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
9318         yp_get_default_domain.
9319         * nss/nss_compat/compat-pwd.c: Likewise.
9320         (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
9321         yp_get_default_domain.
9322         * nss/nss_compat/nisdomain.c: New file.
9323         * nss/nss_compat/nisdomain.h: Likewise.
9325 2017-10-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9327         [BZ #22244]
9328         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
9329         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9331 2017-10-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9333         [BZ #22243]
9334         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
9335         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
9337 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
9339         * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
9340         "movl main@GOTOFF(%ebx), %eax".
9342 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
9344         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
9345         allow undefined _DYNAMIC in PIE libc.a.
9346         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
9347         Likewse.
9349 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
9351         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
9352         check _DYNAMIC.
9354 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
9356         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
9357         check _DYNAMIC.
9359 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
9361         * math/test-math-iscanonical.cc (error): Replace bool with int.
9363 2017-10-03  Joseph Myers  <joseph@codesourcery.com>
9365         * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
9366         (modf): Define using libm_alias_double, only if [!__modf].
9367         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
9368         <libm-alias-double.h>.
9369         (modf): Define using libm_alias_double, only if [!__modf].
9370         * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
9371         compat symbol here.
9372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
9373         (weak_alias): Do not undefine and redefine.
9374         (strong_alias): Likewise.
9375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
9376         (weak_alias): Likewise.
9377         (strong_alias): Likewise.
9379         * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
9380         (logb): Define using libm_alias_double, only if [!__logb].
9381         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
9382         <libm-alias-double.h>.
9383         (logb): Define using libm_alias_double, only if [!__logb].
9384         * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
9385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
9386         (weak_alias): Do not undefine and redefine.
9387         (strong_alias): Likewise.
9388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
9389         (weak_alias): Likewise.
9390         (strong_alias): Likewise.
9392 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
9394         * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
9395         Check SHARED instead PIC.
9397 2017-10-03  Joseph Myers  <joseph@codesourcery.com>
9399         * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
9400         [!__fmaf] (fmaf): Define using libm_alias_float.
9402         * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
9403         (frexp): Define using libm_alias_double.
9404         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
9405         <libm-alias-double.h>.
9406         (frexp): Define using libm_alias_double.
9407         * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
9408         compat symbol here.
9410 2017-10-03  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
9412         [BZ #22235]
9413         * math/math.h: Trivial fix for unbalanced parentheses in comment.
9414         * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
9415         (CFLAGS-test-math-iscanonical.cc): New variable.
9416         * math/test-math-iscanonical.cc: New file.
9417         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
9418         Provide a C++ implementation based on function overloading,
9419         rather than using __MATH_TG, which uses C-only builtins.
9420         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
9421         Likewise.
9422         * sysdeps/powerpc/powerpc64le/Makefile
9423         (CFLAGS-test-math-iscanonical.cc): New variable.
9425 2017-10-03  Joseph Myers  <joseph@codesourcery.com>
9427         * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
9428         (ceil): Define using libm_alias_double.
9429         * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
9430         (floor): Define using libm_alias_double.
9431         * sysdeps/ieee754/dbl-64/s_llround.c: Include
9432         <libm-alias-double.h>.
9433         (llround): Define using libm_alias_double.
9434         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9435         <libm-alias-double.h>.
9436         (lround): Define using libm_alias_double.
9437         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
9438         <libm-alias-double.h>.
9439         (nearbyint): Define using libm_alias_double.
9440         * sysdeps/ieee754/dbl-64/s_remquo.c: Include
9441         <libm-alias-double.h>.
9442         (remquo): Define using libm_alias_double.
9443         * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
9444         (rint): Define using libm_alias_double.
9445         * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
9446         (round): Define using libm_alias_double.
9447         * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
9448         (trunc): Define using libm_alias_double.
9449         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
9450         <libm-alias-double.h>.
9451         (ceil): Define using libm_alias_double.
9452         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
9453         <libm-alias-double.h>.
9454         (floor): Define using libm_alias_double.
9455         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
9456         <libm-alias-double.h>.
9457         (llround): Define using libm_alias_double.
9458         [_LP64] (lround): Likewise.
9459         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
9460         <libm-alias-double.h>.
9461         [!_LP64] (lround): Define using libm_alias_double.
9462         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
9463         <libm-alias-double.h>.
9464         (nearbyint): Define using libm_alias_double.
9465         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
9466         <libm-alias-double.h>.
9467         (remquo): Define using libm_alias_double.
9468         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
9469         <libm-alias-double.h>.
9470         (rint): Define using libm_alias_double.
9471         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
9472         <libm-alias-double.h>.
9473         (round): Define using libm_alias_double.
9474         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
9475         <libm-alias-double.h>.
9476         (trunc): Define using libm_alias_double.
9477         * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
9478         * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
9479         * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
9480         * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
9481         * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
9482         * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
9483         * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
9484         * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
9485         * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
9487 2017-10-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9489         * math/w_remainder.c: New file.
9490         * math/w_remainderf.c: New file.
9491         * math/w_remainderl.c: New file.
9493 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
9495         * elf/rtld.c (BOOTSTRAP_MAP): New.
9496         (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
9497         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9498         Likewise.
9499         * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9500         Likewise.
9501         * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9502         Likewise.
9504 2017-10-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9506         * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
9507         rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
9508         rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
9509         rtld_hidden_data_ver): Define to empty.
9510         * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
9511         __assert_perror_fail): Likewise.
9512         * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9513         (__rewinddir): Likewise.
9514         * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9515         (__profile_frequency): Likewise.
9516         * include/setjmp.h (__sigsetjmp): Likewise.
9517         * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
9518         __libc_sigaction): Likewise.
9519         * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
9520         not set hidden attribute.
9521         * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
9522         __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
9523         rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
9524         * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
9525         __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
9526         __fxstatat64): Likewise.
9527         * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9528         (__uname): Likewise.
9529         * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9530         (_itoa_upper_digits, _itoa_lower_digits): Likewise.
9531         * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
9532         (NO_RTLD_HIDDEN): Set.
9533         * sysdeps/mach/hurd/configure: Refresh.
9534         * config.h.in: Refresh.
9536 2017-10-02  Joseph Myers  <joseph@codesourcery.com>
9538         * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
9539         (atan): Define using libm_alias_double.
9540         * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
9541         (tan): Define using libm_alias_double.
9542         * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
9543         * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
9545         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
9546         define as weak alias of __atan.  Do not define any aliases if
9547         [__atan].
9548         [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
9549         [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
9550         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
9551         as weak alias of __tan.  Do not define any aliases if [__tan].
9552         [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
9553         [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
9554         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
9555         __atan.
9556         * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
9557         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
9558         * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
9559         and define as weak alias of __atan.
9560         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
9561         __atan.
9562         * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
9563         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
9564         * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
9565         define as weak alias of __tan.
9567 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9569         * math/w_lgamma.c: New file.
9570         * math/w_lgammaf.c: New file.
9571         * math/w_lgammal.c: New file.
9573 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9575         * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
9576         * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
9577         * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
9578         * sysdeps/ieee754/flt-32/w_log2f.c: New file.
9579         * sysdeps/ieee754/flt-32/w_logf.c: New file.
9580         * sysdeps/ieee754/flt-32/w_powf.c: New file.
9581         * sysdeps/i386/fpu/w_log2f.c: New file.
9582         * sysdeps/i386/fpu/w_logf.c: New file.
9583         * sysdeps/i386/fpu/w_powf.c: New file.
9584         * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
9585         * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
9586         * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
9588 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9589             H.J. Lu  <hongjiu.lu@intel.com>
9591         * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
9592         * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
9593         * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
9594         * sysdeps/ieee754/flt-32/w_expf.c: New file.
9595         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
9596         the new expf code.
9597         * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
9598         * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
9599         * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
9600         * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
9601         * sysdeps/i386/fpu/w_exp2f.c: New file.
9602         * sysdeps/i386/fpu/w_expf.c: New file.
9603         * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
9604         * sysdeps/x86_64/fpu/w_expf.c: New file.
9606 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9608         * math/Versions (logf): New libm symbol at GLIBC_2.27.
9609         (log2f): Likewise.
9610         (powf): Likewise.
9611         * math/w_log2f.c: New file.
9612         * math/w_logf.c: New file.
9613         * math/w_powf.c: New file.
9614         * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
9615         * math/w_logf_compat.c (__logf_compat): Likewise.
9616         * math/w_powf_compat.c (__powf_compat): Likewise.
9617         * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
9618         * sysdeps/ia64/fpu/e_logf.S: Likewise.
9619         * sysdeps/ia64/fpu/e_powf.S: Likewise.
9620         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9621         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9622         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9623         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9624         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9625         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9626         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9627         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9628         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9629         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9630         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9631         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9633         Likewise.
9634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9635         Likewise.
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9637         Likewise.
9638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9639         Likewise.
9640         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9641         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9642         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9643         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9644         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9646         Likewise.
9647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9648         Likewise.
9649         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9650         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9651         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9653 2017-10-02  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9655         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9656         (sysdep_routines): Add memrchr_power8.
9657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9658         (memrchr): Add __memrchr_power8 to list of memrchr functions.
9659         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
9660         New file.
9661         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
9662         (memrchr): Add __memrchr_power8 to ifunc list.
9663         * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
9665 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9667         [BZ #18822]
9668         * sysdeps/unix/sysv/linux/posix_fadvise64.c
9669         (__posix_fadvise64_l64): Add Add libc_hidden_proto and
9670         libc_hidden_def.
9671         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9672         (__posix_fallocate64_l64): Likewise.
9674 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9676         [BZ #18822]
9677         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9678         (__sched_setaffinity_new): Add libc_hidden_proto and
9679         libc_hidden_def.
9681 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9683         [BZ #18822]
9684         * include/glob.h (__glob64): Add libc_hidden_proto.
9685         * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
9686         libc_hidden_def.
9688 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9690         [BZ #18822]
9691         * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
9692         attribute_hidden.
9694 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9696         [BZ #18822]
9697         * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
9699 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9701         [BZ #18822]
9702         * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
9703         libc_hidden_def.
9705 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9707         [BZ #18822]
9708         * csu/version.c (__libc_print_version): Add attribute_hidden.
9710 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9712         [BZ #18822]
9713         * include/libc-internal.h (__init_misc): Add attribute_hidden.
9715 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9717         [BZ #18822]
9718         * include/fpu_control.h (__setfpucw): Add attribute_hidden.
9720 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9722         [BZ #18822]
9723         * nscd/nscd_helper.c (__nis_hash): New prototype.
9725 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9727         [BZ #18822]
9728         * include/termios.h (__tcgetattr): Add libc_hidden_proto.
9729         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
9730         libc_hidden_def.
9731         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9732         * termios/tcgetattr.c (__tcgetattr): Likewise.
9734 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9736         [BZ #18822]
9737         * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
9738         * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
9739         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
9740         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
9741         * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
9743 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9745         [BZ #18822]
9746         * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
9748 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9750         [BZ #18822]
9751         * include/sched.h (__sched_setparam): Add libc_hidden_proto.
9752         * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
9754 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9756         [BZ #18822]
9757         * intl/hash-string.h (__hash_string): Add attribute_hidden.
9759 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9761         [BZ #18822]
9762         * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
9763         * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
9765 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9767         [BZ #18822]
9768         * include/ifreq.h: New file.
9769         * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
9770         (__ifreq): Likewise.
9771         * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
9772         (__ifreq): Likewise.
9774 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9776         [BZ #18822]
9777         * include/idna.h: New file.
9778         * inet/getnameinfo.c: Include <idna.h> instead of
9779         <libidn/idna.h>.
9780         (__idna_to_unicode_lzlz): Removed.
9781         * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
9782         <libidn/idna.h>.
9783         (__idna_to_ascii_lz): Removed.
9784         (__idna_to_unicode_lzlz): Likewise.
9786 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9788         [BZ #18822]
9789         * include/plural-exp.h: New file.
9790         * intl/plural-exp.c: Include <plural-exp.h> instead of
9791         "plural-exp.h".
9793 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9795         [BZ #18822]
9796         * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
9797         "getsourcefilter.h".
9798         * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
9799         * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
9800         "getsourcefilter.h".
9801         (__get_sol): Removed.
9803 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9805         [BZ #18822]
9806         * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
9807         to ...
9808         * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
9810 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9812         [BZ #18822]
9813         * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
9814         attribute_hidden.
9816 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9818         [BZ #18822]
9819         * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
9821 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9823         [BZ #18822]
9824         * include/search.h (__tdestroy): Add libc_hidden_proto.
9825         * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
9827 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9829         [BZ #18822]
9830         * include/assert.h (__assert_fail_base): Add attribute_hidden.
9832 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9834         [BZ #18822]
9835         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
9836         attribute_hidden.
9838 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9840         [BZ #18822]
9841         * include/signal.h (__kill): Add libc_hidden_proto.
9842         (__sigblock): Likewise.
9843         (__sigprocmask): Likewise.
9844         (__sigaltstack): Likewise.
9845         * signal/kill.c (__kill): Add libc_hidden_def.
9846         * signal/sigblock.c (__sigblock): Likewise.
9847         * signal/sigprocmask.c (__sigprocmask): Likewise.
9848         * sysdeps/mach/hurd/kill.c (__kill): Likewise.
9849         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9850         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9851         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9852         * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
9853         Likewise.
9854         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9855         Likewise.
9856         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9857         (__sigprocmask): Likewise.
9858         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
9859         Likewise.
9860         * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9861         (__sigprocmask): Likewise.
9862         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9863         Likewise.
9865 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9867         [BZ #18822]
9868         * include/string.h (__strsep): Add libc_hidden_proto.
9869         * string/strsep.c (__strsep): Add libc_hidden_def.
9871 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9873         [BZ #18822]
9874         * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
9875         attribute_hidden.
9876         (__spawni): Likewise.
9878 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9880         [BZ #18822]
9881         * include/sys/mman.h (__mremap): Add libc_hidden_proto.
9882         * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
9883         libc_hidden_def.
9885 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9887         [BZ #18822]
9888         * include/malloc.h (__malloc_check_init): Add attribute_hidden.
9890 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9892         [BZ #18822]
9893         * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
9894         * misc/ioctl.c (__ioctl): Add libc_hidden_def.
9895         * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
9896         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
9897         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
9898         Likewise.
9899         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
9900         * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
9902 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9904         [BZ #18822]
9905         * intl/gettextP.h (__dcngettext): Add attribute_hidden.
9906         (__dcigettext): Likewise.
9908 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9910         [BZ #18822]
9911         * include/sys/sysinfo.h (__get_nprocs_conf): Add
9912         libc_hidden_proto.
9913         (__get_nprocs): Likewise.
9914         (__get_phys_pages): Likewise.
9915         (__get_avphys_pages): Likewise.
9916         (__get_child_max): Add attribute_hidden.
9917         * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
9918         (__get_nprocs): Likewise.
9919         (__get_phys_pages): Likewise.
9920         (__get_avphys_pages): Likewise.
9921         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
9922         libc_hidden_def.
9923         (__get_nprocs): Likewise.
9924         (__get_phys_pages): Likewise.
9925         (__get_avphys_pages): Likewise.
9926         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
9927         libc_hidden_def.
9928         (__get_nprocs_conf): Likewise.
9929         (__get_phys_pages): Likewise.
9930         (__get_avphys_pages): Likewise.
9932 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9934         [BZ #18822]
9935         * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
9936         attribute_hidden.
9937         (__netlink_close): Likewise.
9938         (__netlink_free_handle): Likewise.
9939         (__netlink_request): Likewise.
9941 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9943         [BZ #18822]
9944         * include/rpc/rpc.h (__rpc_thread_variables): Add
9945         attribute_hidden.
9946         (__rpc_thread_svc_cleanup): Likewise.
9947         (__rpc_thread_clnt_cleanup): Likewise.
9948         (__rpc_thread_key_cleanup): Likewise.
9950 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9952         [BZ #18822]
9953         * include/sys/uio.h (__readv): Add libc_hidden_proto.
9954         (__writev): Likewise.
9955         * misc/readv.c (__readv): Add libc_hidden_def.
9956         * misc/writev.c (__writev): Likewise.
9957         * sysdeps/posix/readv.c (__readv): Likewise.
9958         * sysdeps/posix/writev.c (__writev): Likewise.
9959         * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
9960         (__readv): Likewise.
9961         * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
9962         (__writev): Likewise.
9964 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9966         [BZ #18822]
9967         * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
9968         (__regcomp): Add libc_hidden_proto.
9969         (__regexec): Likewise.
9970         (__regfree): Likewise.
9971         * posix/regcomp.c (__regcomp): Add libc_hidden_def.
9972         (__regfree): Likewise.
9973         * posix/regexec.c (__regexec): Likewise.
9975 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9977         [BZ #18822]
9978         * include/utmp.h (__updwtmp): Add libc_hidden_proto.
9979         (__getutent): Likewise.
9980         (__getutid): Likewise.
9981         (__getutline): Likewise.
9982         (__pututline): Likewise.
9983         (__getutent_r): Likewise.
9984         (__getutid_r): Likewise.
9985         (__getutline_r): Likewise.
9986         (__utmpname): Add attribute_hidden.
9987         (__setutent): Likewise.
9988         (__endutent): Likewise.
9989         * login/getutent.c (__getutent): Add libc_hidden_def.
9990         * login/getutent_r.c (__getutent_r): Likewise.
9991         (__pututline): Likewise.
9992         * login/getutid.c (__getutid): Likewise.
9993         * login/getutid_r.c (__getutid_r): Likewise.
9994         * login/getutline.c (__getutline): Likewise.
9995         * login/getutline_r.c (__getutline_r): Likewise.
9996         * login/updwtmp.c (__updwtmp): Likewise.
9998 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10000         [BZ #18822]
10001         * include/dirent.h (__opendir): Always add attribute_hidden.
10002         (__fdopendir): Likewise.
10003         (__closedir): Likewise.
10004         (__readdir): Likewise.
10005         (__readdir64): Add libc_hidden_proto.
10006         * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
10007         * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
10008         * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
10009         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
10010         New alias.
10012 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10014         [BZ #18822]
10015         * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
10016         * include/netdb.h (__gethostbyaddr_r): Likewise.
10017         (__gethostbyname_r): Likewise.
10018         (__gethostbyname2_r): Likewise.
10019         (__getnetbyaddr_r): Likewise.
10020         (__getnetbyname_r): Likewise.
10021         (__getservbyname_r): Likewise.
10022         (__getservbyport_r): Likewise.
10023         (__getprotobyname_r): Likewise.
10024         (__getprotobynumber_r): Likewise.
10025         (__getnetgrent_r): Likewise.
10026         * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
10027         (__getrpcbynumber_r): Likewise.
10028         * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
10030 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10032         [BZ #18822]
10033         * include/stdio.h (__fcloseall): Add attribute_hidden.
10034         (__getline): Likewise.
10035         (__path_search): Likewise.
10036         (__gen_tempname): Likewise.
10037         (__libc_message): Likewise.
10038         (__flockfile): Likewise.
10039         (__funlockfile): Likewise.
10040         (__fxprintf): Likewise.
10041         (__fxprintf_nocancel): Likewise.
10043 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10045         [BZ #18822]
10046         * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
10047         (__sgetsgent_r): Likewise.
10049 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10051         [BZ #18822]
10052         * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
10053         (__statfs64): Likewise.
10054         (__fstatfs64): Likewise.
10055         * include/sys/statvfs.h (__statvfs64): Likewise.
10056         (__fstatvfs64): Likewise.
10057         * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
10058         (__statfs_filesize_max): Likewise.
10059         (__statfs_symlinks): Likewise.
10060         (__statfs_chown_restricted): Likewise.
10062 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10064         [BZ #18822]
10065         * include/time.h (__tzstring): Add attribute_hidden.
10066         (__tzfile_read): Likewise.
10067         (__tzfile_compute): Likewise.
10068         (__tzfile_default): Likewise.
10069         (__tzset_parse_tz): Likewise.
10070         (__offtime): Likewise.
10071         (__asctime_r): Likewise.
10072         (__tzset): Likewise.
10073         (__tz_convert): Likewise.
10074         (__getdate_r): Likewise.
10075         (__getclktck): Likewise.
10077 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10079         [BZ #18822]
10080         * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
10081         (__nscd_unmap): Likewise.
10082         (__nscd_cache_search): Likewise.
10083         (__nscd_get_nl_timestamp): Likewise.
10084         (__nscd_getpwnam_r): Likewise.
10085         (__nscd_getpwuid_r): Likewise.
10086         (__nscd_getgrnam_r): Likewise.
10087         (__nscd_getgrgid_r): Likewise.
10088         (__nscd_gethostbyname_r): Likewise.
10089         (__nscd_gethostbyname2_r): Likewise.
10090         (__nscd_gethostbyaddr_r): Likewise.
10091         (__nscd_getai): Likewise.
10092         (__nscd_getgrouplist): Likewise.
10093         (__nscd_getservbyname_r): Likewise.
10094         (__nscd_getservbyport_r): Likewise.
10095         (__nscd_innetgr): Likewise.
10096         (__nscd_setnetgrent): Likewise.
10098 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10100         [BZ #18822]
10101         * include/gmp.h: Declare internal functions only if _ISOMAC is
10102         undefined.
10103         (__mpn_extract_double): Add attribute_hidden.
10104         (__mpn_extract_long_double): Likewise.
10105         (__mpn_extract_float128): Likewise.
10106         (__mpn_construct_float): Likewise.
10107         (__mpn_construct_double): Likewise.
10108         (__mpn_construct_long_double): Likewise.
10109         (__mpn_construct_float128): Likewise.
10110         (mpn_add_1): Likewise.
10111         (mpn_addmul_1): Likewise.
10112         (mpn_add_n): Likewise.
10113         (mpn_cmp): Likewise.
10114         (mpn_divrem): Likewise.
10115         (mpn_lshift): Likewise.
10116         (mpn_mul): Likewise.
10117         (mpn_mul_1): Likewise.
10118         (mpn_rshift): Likewise.
10119         (mpn_sub_1): Likewise.
10120         (mpn_submul_1): Likewise.
10121         (mpn_sub_n): Likewise.
10123 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10125         [BZ #18822]
10126         * include/wchar.h (__wcsnlen): Add attribute_hidden.
10127         (__wcscat): Likewise.
10128         (__btowc): Likewise.
10129         (__wcrtomb): Likewise.
10130         (__mbsrtowcs): Likewise.
10131         (__wcsrtombs): Likewise.
10132         (__mbsnrtowcs): Likewise.
10133         (__wcsnrtombs): Likewise.
10134         (__wcsncpy): Likewise.
10135         (__wcpncpy): Likewise.
10136         (__wmemcpy): Likewise.
10137         (__wmempcpy): Likewise.
10138         (__wmemmove): Likewise.
10139         (__wcschrnul): Likewise.
10140         (__vfwscanf): Likewise.
10141         (__vswprintf): Likewise.
10142         (__fwprintf): Likewise.
10143         (__vfwprintf): Likewise.
10145 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10147         [BZ #18822]
10148         * include/grp.h (__fgetgrent_r): Add attribute_hidden.
10149         (__getgrgid_r): Likewise.
10150         (__getgrnam_r): Likewise.
10151         * include/pwd.h (__getpwuid_r): Likewise.
10152         (__getpwnam_r): Likewise.
10153         (__fgetpwent_r): Likewise.
10154         * include/shadow.h (__getspnam_r): Likewise.
10155         (__sgetspent_r): Likewise.
10156         (__fgetspent_r): Likewise.
10158 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10160         [BZ #18822]
10161         * include/unistd.h (__access): Add attribute_hidden.
10162         (__lseek64): Likewise.
10163         (__libc_pread64): Likewise.
10164         (__pipe2): Likewise.
10165         (__sleep): Likewise.
10166         (__chdir): Likewise.
10167         (__fchdir): Likewise.
10168         (__getcwd): Likewise.
10169         (__rmdir): Likewise.
10170         (__execvpe): Likewise.
10171         (__execve): Likewise.
10172         (__setsid): Likewise.
10173         (__getuid): Likewise.
10174         (__geteuid): Likewise.
10175         (__getgid): Likewise.
10176         (__getegid): Likewise.
10177         (__getgroups): Likewise.
10178         (__group_member): Likewise.
10179         (__ttyname_r): Likewise.
10180         (__isatty): Likewise.
10181         (__readlink): Likewise.
10182         (__unlink): Likewise.
10183         (__gethostname): Likewise.
10184         (__profil): Likewise.
10185         (__getdtablesize): Likewise.
10186         (__brk): Likewise.
10187         (__ftruncate): Likewise.
10188         (__ftruncate64): Likewise.
10190 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10192         [BZ #18822]
10193         * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
10194         * argp/argp-fs-xinl.c: Likewise.
10195         * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
10196         * argp/argp-parse.c: Include <argp.h>.
10197         * argp/argp-xinl.c: Likewise.
10198         * include/argp-fmtstream.h: New file.
10199         * include/argp.h (__argp_error): Add attribute_hidden.
10200         (__argp_failure): Likewise.
10201         (__argp_input): Likewise.
10202         (__argp_state_help): Likewise.
10204 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10206         [BZ #18822]
10207         * include/wchar.h (____wcstof_l_internal): New prototype.
10208         (____wcstod_l_internal): Likewise.
10209         (____wcstold_l_internal): Likewise.
10210         (____wcstol_l_internal): Likewise.
10211         (____wcstoul_l_internal): Likewise.
10212         (____wcstoll_l_internal): Likewise.
10213         (____wcstoull_l_internal): Likewise.
10214         (____wcstof128_l_internal): Likewise.
10215         * sysdeps/ieee754/float128/wcstof128.c
10216         (____wcstof128_l_internal): Removed.
10217         * sysdeps/ieee754/float128/wcstof128_l.c
10218         (____wcstof128_l_internal): Likewise.
10219         * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
10220         * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
10221         * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
10222         * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
10223         * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
10224         * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
10225         * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
10226         * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
10227         * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
10228         * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
10230 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10232         [BZ #18822]
10233         * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
10234         instead of <sys/statvfs.h>.
10235         (__internal_statvfs): Removed.
10236         * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
10237         instead of <sys/statvfs.h>.
10238         (__internal_statvfs64): Removed.
10239         * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
10240         "internal_statvfs.h" instead of <sys/statvfs.h>.
10241         * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
10242         * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
10243         instead of <sys/statvfs.h>.
10244         (__internal_statvfs): Removed.
10245         * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
10246         instead of <sys/statvfs.h>.
10247         (__internal_statvfs64): Removed.
10249 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10251         [BZ #18822]
10252         * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
10253         (__gconv_close): Likewise.
10254         (__gconv): Likewise.
10255         (__gconv_find_transform): Likewise.
10256         (__gconv_lookup_cache): Likewise.
10257         (__gconv_compare_alias_cache): Likewise.
10258         (__gconv_load_cache): Likewise.
10259         (__gconv_get_path): Likewise.
10260         (__gconv_close_transform): Likewise.
10261         (__gconv_release_cache): Likewise.
10262         (__gconv_find_shlib): Likewise.
10263         (__gconv_release_shlib): Likewise.
10264         (__gconv_get_builtin_trans): Likewise.
10265         (__gconv_compare_alias): Likewise.
10266         * include/dlfcn.h (_dlerror_run): Likewise.
10267         * include/stdio.h (__fortify_fail_abort): Likewise.
10268         * include/time.h (__tz_compute): Likewise.
10269         (__strptime_internal): Likewise.
10270         * intl/gettextP.h (_nl_find_domain): Likewise.
10271         (_nl_load_domain): Likewise.
10272         (_nl_find_msg): Likewise.
10273         * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
10274         (EXTRACT_PLURAL_EXPRESSION): Likewise.
10275         * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
10276         * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
10277         (__gai_find_request): Likewise.
10278         (__gai_remove_request): Likewise.
10279         (__gai_notify): Likewise.
10280         (__gai_notify_only): Likewise.
10281         * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
10282         * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
10283         (_dl_non_dynamic_init): Likewise.
10284         (_dl_aux_init): Likewise.
10285         * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
10286         * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
10287         Likewise.
10288         * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
10289         (__wcsmbs_clone_conv): Likewise.
10290         (__wcsmbs_named_conv): Likewise.
10292 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10294         [BZ #18822]
10295         * include/stdlib.h (__random): Add attribute_hidden.
10296         (__random_r): Likewise.
10297         (__srandom_r): Likewise.
10298         (__initstate_r): Likewise.
10299         (__setstate_r): Likewise.
10300         (__erand48_r): Likewise.
10301         (__nrand48_r): Likewise.
10302         (__jrand48_r): Likewise.
10303         (__srand48_r): Likewise.
10304         (__seed48_r): Likewise.
10305         (__lcong48_r): Likewise.
10306         (__drand48_iterate): Likewise.
10307         (__setenv): Likewise.
10308         (__unsetenv): Likewise.
10309         (__clearenv): Likewise.
10310         (__ptsname_r): Likewise.
10311         (__posix_openpt): Likewise.
10312         (__add_to_environ): Likewise.
10313         (__realpath): Add libc_hidden_proto.
10314         (__ecvt_r): Likewise.
10315         (__fcvt_r): Likewise.
10316         (__qecvt_r): Likewise.
10317         (__qfcvt_r): Likewise.
10318         * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
10319         * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
10321 2017-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10323         [BZ #18822]
10324         * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
10325         * include/time.h (__mktime_internal): Likewise.
10326         * libio/iolibio.h (__fopen_internal): Likewise.
10328 2017-10-01  John David Anglin  <danglin@gcc.gnu.org>
10330         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
10331         pointer in frame.
10332         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
10333         Correct offset used to restore PIC register.
10335 2017-09-30  John David Anglin  <danglin@gcc.gnu.org>
10337         [BZ libc/22165]
10338         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
10339         code to load address of __getcontext_ret when generating PIC code.
10341 2017-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10343         * elf/Makefile (tests-static-internal): Add
10344         tst-tls1-static-non-pie.
10345         (LDFLAGS-tst-tls1-static-non-pie): New.
10346         * elf/tst-tls1-static-non-pie.c: New file.
10348 2017-09-29  Joseph Myers  <joseph@codesourcery.com>
10350         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
10351         (asinh): Define using libm_alias_double.
10352         * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
10353         (cbrt): Define using libm_alias_double.
10354         * sysdeps/ieee754/dbl-64/s_copysign.c: Include
10355         <libm-alias-double.h>.
10356         (copysign): Define using libm_alias_double.
10357         * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
10358         (erf): Define using libm_alias_double.
10359         (erfc): Likewise.
10360         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
10361         (expm1): Define using libm_alias_double.
10362         * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
10363         (fabs): Define using libm_alias_double.
10364         * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
10365         libm_alias_double.
10366         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
10367         <libm-alias-double.h>.
10368         * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
10369         libm_alias_double.
10370         * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
10371         <libm-alias-double.h>.
10372         (getpayload): Define using libm_alias_double.
10373         * sysdeps/ieee754/dbl-64/s_llrint.c: Include
10374         <libm-alias-double.h>.
10375         (llrint): Define using libm_alias_double.
10376         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
10377         (lrint): Define using libm_alias_double.
10378         * sysdeps/ieee754/dbl-64/s_nextup.c: Include
10379         <libm-alias-double.h>.
10380         (nextup): Define using libm_alias_double.
10381         * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
10382         <libm-alias-double.h>.
10383         (roundeven): Define using libm_alias_double.
10384         * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
10385         libm_alias_double.
10386         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
10387         <libm-alias-double.h>.
10388         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
10389         using libm_alias_double.
10390         * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
10391         (cos): Define using libm_alias_double.
10392         (sin): Likewise.
10393         * sysdeps/ieee754/dbl-64/s_sincos.c: Include
10394         <libm-alias-double.h>.
10395         (sincos): Define using libm_alias_double.
10396         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
10397         (tanh): Define using libm_alias_double.
10398         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10399         <libm-alias-double.h>.
10400         (totalorder): Define using libm_alias_double.
10401         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10402         <libm-alias-double.h>.
10403         (totalordermag): Define using libm_alias_double.
10404         * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
10405         libm_alias_double.
10406         * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
10407         libm_alias_double.
10408         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
10409         <libm-alias-double.h>.
10410         (getpayload): Define using libm_alias_double.
10411         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
10412         <libm-alias-double.h>.
10413         (roundeven): Define using libm_alias_double.
10414         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
10415         <libm-alias-double.h>.
10416         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10417         <libm-alias-double.h>.
10418         (totalorder): Define using libm_alias_double.
10419         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10420         <libm-alias-double.h>.
10421         (totalordermag): Define using libm_alias_double.
10422         * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
10423         libc compat symbol here.
10424         * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
10425         * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
10426         * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
10427         * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
10428         * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
10429         * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
10430         * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
10431         * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
10432         * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
10433         * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
10435 2017-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10437         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
10438         _dl_relocate_static_pie instead of _dl_start to compute load
10439         address in static PIE.  Return 0 if _DYNAMIC is undefined for
10440         static executable.
10442 2017-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10444         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
10445         _DYNAMIC is undefined for static executable.
10447 2017-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10449         * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
10451 2017-09-29  Joseph Myers  <joseph@codesourcery.com>
10453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10455 2017-09-29  Wilco Dijkstra  <wdijkstr@arm.com>
10457         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10458         (__ieee754_lgamma_r): Use fabs rather than __fabs.
10459         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10460         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10461         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10462         (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
10463         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10464         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
10465         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
10466         (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
10467         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
10468         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10469         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10470         (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
10471         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10472         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10473         * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
10475 2017-09-29  Wilco Dijkstra  <wdijkstr@arm.com>
10477         * math/bits/cmathcalls.h (cimag): Remove inline.
10478         (creal): Remove inline.
10479         (conj): Remove inline.
10481 2017-09-29  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10483         * math/Makefile (type-float-routines): Add e_powf_log2_data.
10484         * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
10485         * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
10486         * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
10487         (issignalingf_inline): Likewise.
10488         (POWF_LOG2_TABLE_BITS): Likewise.
10489         (POWF_LOG2_POLY_ORDER): Likewise.
10490         (POWF_SCALE_BITS): Likewise.
10491         (POWF_SCALE): Likewise.
10492         * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
10493         * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
10494         * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
10496 2017-09-29  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10498         * math/Makefile (type-float-routines): Add e_log2f_data.
10499         * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
10500         * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
10501         * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
10502         (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
10503         * sysdeps/i386/fpu/e_log2f_data.c: New file.
10504         * sysdeps/ia64/fpu/e_log2f_data.c: New file.
10505         * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
10507 2017-09-29  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10509         * math/Makefile (type-float-routines): Add e_logf_data.
10510         * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
10511         * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
10512         * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
10513         (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
10514         * sysdeps/i386/fpu/e_logf_data.c: New file.
10515         * sysdeps/ia64/fpu/e_logf_data.c: New file.
10516         * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
10518 2017-09-28  H.J. Lu  <hongjiu.lu@intel.com>
10520         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
10521         undefined _DYNAMIC in PIE libc.a.
10522         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
10523         Likewse.
10525 2017-09-28  Wilco Dijkstra  <wdijkstr@arm.com>
10527         * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
10528         * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
10529         * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
10530         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
10531         (__signbit): Remove.
10532         (__signbitl): Remove.
10533         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
10534         (__signbit): Remove.
10535         (__signbitl): Remove.
10536         * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
10537         (__signbit): Remove.
10538         (__signbitl): Remove.
10539         * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
10540         (__signbit): Remove.
10541         (__signbitl): Remove.
10542         * sysdeps/tile/bits/mathinline.h: Delete file.
10543         * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
10544         (__signbit): Remove.
10545         (__signbitl): Remove.
10547 2017-09-28  Wilco Dijkstra  <wdijkstr@arm.com>
10549         * math/math.h: Improve handling of C99 isgreater macros.
10550         * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
10551         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
10552         * sysdeps/powerpc/bits/mathinline.h: Likewise.
10553         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10554         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
10556 2017-09-28  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10558         * sysdeps/aarch64/libm-test-ulps: Update.
10560 2017-09-28  Joseph Myers  <joseph@codesourcery.com>
10562         [BZ #22225]
10563         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10564         math_opt_barrier on argument when doing arithmetic on it.
10565         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10566         Likewise.  Use math_force_eval not math_opt_barrier after
10567         arithmetic.
10568         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
10569         math_opt_barrier on argument when doing arithmetic on it.
10570         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10571         Likewise.
10573 2017-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10575         * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
10576         libc_hidden_def.
10577         (__freeifaddrs): Likewise.
10579 2017-09-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10581         * include/dirent.h (__dirfd): New declaration.
10582         * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
10583         alias.
10584         * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
10585         * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
10586         * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
10587         * include/unistd.h (__revoke): New declaration.
10588         * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
10589         alias.
10590         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10591         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
10592         revoke.
10593         * include/dirent.h (__seekdir): New declaration.
10594         * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
10595         redefine as weak alias.
10596         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
10597         of seekdir.
10598         * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
10599         and use libc_hidden_def on them.
10600         * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
10601         them.
10602         * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
10603         * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
10604         instead of getifaddrs and freeifaddrs.
10606 2017-09-26  H.J. Lu  <hongjiu.lu@intel.com>
10608         [BZ #18822]
10609         * dlfcn/modatexit.c (foo): Remove __dso_handle check.
10610         * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
10611         (__dso_handle): Remove declaration.
10612         * dlfcn/tstatexit.c (__dso_handle): Removed.
10613         (main): Don't check __dso_handle.
10614         * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
10615         (main): Don't check __dso_handle.
10616         * include/dso_handle.h: New file.
10617         * malloc/mtrace.c: Include <dso_handle.h>.
10618         (mtrace): Pass __dso_handle directly.
10619         * nptl/pthread_atfork.c: Include <dso_handle.h>.
10620         (__dso_handle): Remove declaration.
10621         (__pthread_atfork): Pass __dso_handle directly.
10622         * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
10623         (__dso_handle): Removed.
10624         * posix/wordexp-test.c: Include <dso_handle.h>.
10625         (__dso_handle): Remove declaration.
10626         (__app_register_atfork): Pass __dso_handle directly.
10627         * stdlib/at_quick_exit.c: Include <dso_handle.h>.
10628         (__dso_handle): Remove declaration.
10629         (at_quick_exit): Pass __dso_handle directly.
10630         * stdlib/atexit.c: Include <dso_handle.h>.
10631         (__dso_handle): Remove declaration.
10632         (atexit): Pass __dso_handle directly.
10633         * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
10634         (__dso_handle): Removed.
10636 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
10638         * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
10639         using VDSO.
10641 2017-09-26  Alexey Makhalov  <amakhalov@vmware.com>
10643         * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
10644         * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
10645         values to correct default value for given type.
10647 2017-09-26  H.J. Lu  <hongjiu.lu@intel.com>
10649         [BZ #22101]
10650         * elf/Makefile (tests): Add tst-debug1.
10651         ($(objpfx)tst-debug1): New.
10652         ($(objpfx)tst-debug1.out): Likewise.
10653         ($(objpfx)tst-debug1mod1.so): Likewise.
10654         * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
10655         with p_filesz == 0.
10656         * elf/tst-debug1.c: New file.
10658 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
10660         * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
10661         Define using __ifunc.
10663 2017-09-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10665         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
10666         exp2f() values.
10668 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
10670         [BZ #22156]
10671         * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
10673 2017-09-26  Florian Weimer  <fweimer@redhat.com>
10675         * resolv/Makefile (tests-internal): Fix typo in comment.
10677 2017-09-26  Florian Weimer  <fweimer@redhat.com>
10679         * resolv/nss_dns/dns-host.c: Fix typo in comment.
10681 2017-09-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10683         * lib/malloc/scratch_buffer.h (struct scratch_buffer):
10684         Use an union instead of a max_align_t array for __space,
10685         so that __space is the same size on all platforms.
10686         * malloc/scratch_buffer_grow_preserve.c
10687         (__libc_scratch_buffer_grow_preserve): Likewise.
10689         [BZ #22183]
10690         * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
10691         version to 2.
10692         * posix/Makefile (routines): Add glob-lstat-compat and
10693         glob64-lstat-compat.
10694         * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
10695         * posix/glob-lstat-compat.c: New file.
10696         * posix/glob64-lstat-compat.c: Likewise.
10697         * posix/tst-glob_lstat_compat.c: Likewise.
10698         * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
10699         * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
10700         * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
10701         * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
10702         Likewise.
10703         * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
10704         * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
10705         * posix/glob.c (glob_lstat): New function.
10706         (glob): Rename to __glob and add versioned symbol to 2.27.
10707         (glob_in_dir): Use glob_lstat.
10708         * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
10709         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10710         * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
10711         2.27.
10712         * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
10713         * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
10714         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
10715         gl_lstat on glob call.
10716         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
10717         and glob64 symbols.
10718         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10719         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10720         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10721         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10722         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10723         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10724         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10725         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10726         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10727         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10728         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10729         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10731         Likewise.
10732         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10735         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10736         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10737         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10738         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10741         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10742         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10743         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10745 2017-09-25  H.J. Lu  <hongjiu.lu@intel.com>
10747         * configure.ac (AS): Require binutils 2.25 or later.
10748         * configure: Regenerated.
10750 2017-09-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10752         [BZ #22207]
10753         * stdlib/test-atexit-race-common.c (do_test): Minimize required
10754         VM size.
10756 2017-09-25  DJ Delorie  <dj@redhat.com>
10758         [BZ #22161]
10759         * nscd/netgroupcache.c (addinnetgrX): Release read lock after
10760         resetting timeout.
10762 2017-09-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10764         * sysdeps/ieee754/dbl-64/sincos32.h
10765         [SINCCOS32_H]: Remove define.
10766         [SINCOS32_H]: Define.
10768 2017-09-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10770         * math/Versions (expf): New libm symbol at GLIBC_2.27.
10771         (exp2f): Likewise.
10772         * math/w_exp2f.c: New file.
10773         * math/w_expf.c: New file.
10774         * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
10775         * math/w_expf_compat.c (__expf_compat): Likewise.
10776         * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
10777         * sysdeps/ia64/fpu/e_expf.S: Likewise.
10778         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10779         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10780         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10781         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10782         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10783         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10784         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10785         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10786         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10787         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10788         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10789         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10791         Likewise.
10792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10793         Likewise.
10794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10795         Likewise.
10796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10797         Likewise.
10798         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10799         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10800         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10801         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10802         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10804         Likewise.
10805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10806         Likewise.
10807         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10808         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10809         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10811 2017-09-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10813         * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
10814         * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
10815         (roundtoint, converttoint): Likewise.
10816         * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
10817         * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
10818         * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
10819         * sysdeps/ieee754/flt-32/math_config.h: New file.
10820         * sysdeps/ieee754/flt-32/math_errf.c: New file.
10821         * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
10822         * sysdeps/i386/fpu/e_exp2f_data.c: New file.
10823         * sysdeps/i386/fpu/math_errf.c: New file.
10824         * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
10825         * sysdeps/ia64/fpu/math_errf.c: New file.
10826         * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
10827         * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
10829 2017-09-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10831         * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
10832         (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
10833         __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
10834         __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
10835         to make sure that these symbols are defined.
10836         * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
10837         of <limits.h>
10838         (__need_NULL): Do not define.
10839         (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
10840         alignment.
10841         [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
10842         CMGROUP_MAX, cmsgcred): Do not define.
10843         (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
10844         NULL.
10845         * bits/socket.h: Likewise.
10846         * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
10847         __gettimeofday instead of gettimeofday.
10848         * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
10849         instead of settimeofday.
10851 2017-09-22  Joseph Myers  <joseph@codesourcery.com>
10853         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
10854         (asinhf): Define using libm_alias_float.
10855         * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
10856         (atanf): Define using libm_alias_float.
10857         * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
10858         (cbrtf): Define using libm_alias_float.
10859         * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
10860         (ceilf): Define using libm_alias_float.
10861         * sysdeps/ieee754/flt-32/s_copysignf.c: Include
10862         <libm-alias-float.h>.
10863         (copysignf): Define using libm_alias_float.
10864         * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
10865         (cosf): Define using libm_alias_float.
10866         * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
10867         (erff): Define using libm_alias_float.
10868         (erfcf): Likewise.
10869         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
10870         (expm1f): Define using libm_alias_float.
10871         * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
10872         (fabsf): Define using libm_alias_float.
10873         * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
10874         (floorf): Define using libm_alias_float.
10875         * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
10876         (frexpf): Define using libm_alias_float.
10877         * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
10878         libm_alias_float.
10879         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
10880         <libm-alias-float.h>.
10881         * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
10882         libm_alias_float.
10883         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
10884         <libm-alias-float.h>.
10885         (getpayloadf): Define using libm_alias_float.
10886         * sysdeps/ieee754/flt-32/s_llrintf.c: Include
10887         <libm-alias-float.h>.
10888         (llrintf): Define using libm_alias_float.
10889         * sysdeps/ieee754/flt-32/s_llroundf.c: Include
10890         <libm-alias-float.h>.
10891         (llroundf): Define using libm_alias_float.
10892         * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
10893         (logbf): Define using libm_alias_float.
10894         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
10895         (lrintf): Define using libm_alias_float.
10896         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
10897         (lroundf): Define using libm_alias_float.
10898         * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
10899         (modff): Define using libm_alias_float.
10900         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
10901         <libm-alias-float.h>.
10902         (nearbyintf): Define using libm_alias_float.
10903         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
10904         <libm-alias-float.h>.
10905         (nextafterf): Define using libm_alias_float.
10906         * sysdeps/ieee754/flt-32/s_nextupf.c: Include
10907         <libm-alias-float.h>.
10908         (nextupf): Define using libm_alias_float.
10909         * sysdeps/ieee754/flt-32/s_remquof.c: Include
10910         <libm-alias-float.h>.
10911         (remquof): Define using libm_alias_float.
10912         * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
10913         (rintf): Define using libm_alias_float.
10914         * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
10915         <libm-alias-float.h>.
10916         (roundevenf): Define using libm_alias_float.
10917         * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
10918         (roundf): Define using libm_alias_float.
10919         * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
10920         using libm_alias_float.
10921         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
10922         <libm-alias-float.h>.
10923         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
10924         Define using libm_alias_float.
10925         * sysdeps/ieee754/flt-32/s_sincosf.c: Include
10926         <libm-alias-float.h>.
10927         (sincosf): Define using libm_alias_float.
10928         * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
10929         (sinf): Define using libm_alias_float.
10930         * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
10931         (tanf): Define using libm_alias_float.
10932         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
10933         (tanhf): Define using libm_alias_float.
10934         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10935         <libm-alias-float.h>.
10936         (totalorderf): Define using libm_alias_float.
10937         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10938         <libm-alias-float.h>.
10939         (totalordermagf): Define using libm_alias_float.
10940         * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
10941         (truncf): Define using libm_alias_float.
10942         * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
10943         libm_alias_float.
10944         * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
10945         libm_alias_float.
10947 2017-09-22  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
10949         [BZ #22146]
10950         math/math.h: Let fpclassify use the builtin in C++ mode, even
10951         when optimazing for size.
10953 2017-09-22  Joseph Myers  <joseph@codesourcery.com>
10955         * csu/Makefile (generated): Do not add version-info.h.
10956         (before-compile): Likewise.
10957         (all-Banner-files): Remove variable.
10958         ($(objpfx)version-info.h): Remove rule.
10959         * csu/version.c (banner): Do not include "version-info.h".
10960         * libidn/Banner: Remove.
10961         * manual/contrib.texi (Simon Josefsson): New entry.
10963 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
10965         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10966         Remove conditionals on LDBL_MANT_DIG.
10967         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10968         (__ieee754_lgammal_r): Likewise.
10970 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
10972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
10973         _Float128 and L().
10974         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
10975         _Float128 and L(). Replace _Float128 with long double and L(x)
10976         with xL, throughout the file.
10977         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10978         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10979         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10980         * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10982 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
10984         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
10985         sysdeps/ieee754/ldbl-128ibm.
10986         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
10987         equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
10988         of including it.  Keep _Float128 and L() intact.  These will be
10989         reviewed by a separate patch.
10990         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10991         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10992         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10993         * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10995 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
10997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
10998         (__finitef128): Define to __redirect___finitef128.
10999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
11000         (__isinff128): Define to __redirect___isinff128.
11001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
11002         (__isnanf128): Define to __redirect___isnanf128.
11004 2017-09-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
11006         * sysdeps/powerpc/powerpc64le/Makefile
11007         (CFLAGS-tst-strtod-nan-locale.c): New variable.
11008         (CFLAGS-tst-wcstod-nan-locale.c): New variable.
11010 2017-09-21  Paul Pluzhnikov  <ppluzhnikov@google.com>
11011             Carlos O'Donell  <carlos@redhat.com>
11013         [BZ #22180]
11014         * stdlib/Makefile (tests): Add test-dlclose-exit-race.
11015         * stdlib/test-dlclose-exit-race.c: New file.
11016         * stdlib/test-dlclose-exit-race-helper.c: New file.
11017         * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
11019 2017-09-21  Joseph Myers  <joseph@codesourcery.com>
11021         * crypt/Banner: Remove file.
11022         * nptl/Banner: Likewise.
11023         * resolv/Banner: Likewise.
11024         * soft-fp/Banner: Likewise.
11025         * nptl/Makefile ($(objpfx)banner.h): Remove rule.
11026         ($(objpfx)version.d): Remove dependency on banner.h.
11027         ($(objpfx)version.os): Likewise.
11028         * nptl/version.c (banner): Do not include banner.h.
11029         * manual/contrib.texi: Update entries for Richard Henderson, Jakub
11030         Jelinek and BIND code.
11032 2017-09-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11033             Carlos O'Donell  <carlos@redhat.com>
11035         * support/xdlfcn.h: New file.
11036         * support/xdlfcn.c: New file.
11037         * support/Makefile (libsupport-routines): Add xdlfcn.
11038         * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
11040 2017-09-20  Joseph Myers  <joseph@codesourcery.com>
11042         [BZ #20142]
11043         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11044         Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
11045         * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
11046         * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
11047         * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11048         * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
11049         * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
11050         * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11052 2017-09-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11053             Ricky Zhou  <rickyz@google.com>
11054             Anoop V Chakkalakkal  <anoop.vijayan@in.ibm.com>
11056         [BZ #14333]
11057         * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
11058         Remove atomics.
11059         (__new_exitfn): Fail registration when we finished at_exit processing.
11060         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11061         * stdlib/on_exit.c (__on_exit): Likewise.
11062         * stdlib/exit.c (__exit_funcs_done): New variable.
11063         (__run_exit_handlers): Use __exit_funcs_lock.
11064         * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
11065         declarations.
11066         * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
11067         (test-cxa_atexit-race, test-on_exit-race): New tests.
11068         * stdlib/test-atexit-race-common.c: New file.
11069         * stdlib/test-atexit-race.c: New file.
11070         * stdlib/test-at_quick_exit-race.c: New file.
11071         * stdlib/test-cxa_atexit-race.c: New file.
11072         * stdlib/test-on_exit-race.c: New file.
11074 2017-09-20  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11076         * benchtests/Makefile: Add exp2f and log2f benchmarks.
11077         * benchtests/exp2f-inputs: Copy of expf-inputs.
11078         * benchtests/log2f-inputs: Copy of logf-inputs.
11080 2017-09-19  Joseph Myers  <joseph@codesourcery.com>
11082         * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
11083         Explicitly take address of first element of array arguments in
11084         call to INLINE_SYSCALL.
11086 2017-09-19  Andreas Schwab  <schwab@suse.de>
11088         [BZ #22134]
11089         * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
11090         execveat first.
11091         [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
11092         unimplemented.
11093         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
11094         [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
11095         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11096         (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
11097         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11098         (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
11099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11100         (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
11101         * posix/Makefile (tests): Add tst-fexecve.
11102         * posix/tst-fexecve.c: New file.
11104 2017-09-19  Wilco Dijkstra  <wdijkstr@arm.com>
11106         * benchtests/Makefile: Add logf benchmark.
11107         * benchtests/logf-inputs: Add reduced trace from wrf_r.
11109 2017-09-19  Wilco Dijkstra  <wdijkstr@arm.com>
11111         * benchtests/Makefile: Add expf benchmark.
11112         * benchtests/expf-inputs: Add reduced trace from wrf_r.
11114 2017-09-19  Wilco Dijkstra  <wdijkstr@arm.com>
11116         * csu/Makefile: Add -funwind-tables to libc-start.c.
11117         * debug/Makefile: Add -funwind-tables to backtrace.c.
11118         * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
11119         * sysdeps/arm/Makefile: Likewise.
11120         * sysdeps/i386/Makefile: Likewise.
11121         * sysdeps/m68k/Makefile: Likewise.
11122         * sysdeps/mips/Makefile: Likewise.
11123         * sysdeps/nios2/Makefile: Likewise.
11124         * sysdeps/sh/Makefile: Likewise.
11125         * sysdeps/sparc/Makefile: Likewise.
11127 2017-09-19  Joseph Myers  <joseph@codesourcery.com>
11129         * benchtests/Makefile (bench-math): Add trunc and truncf.
11130         (CFLAGS-bench-trunc.c): New variable.
11131         (CFLAGS-bench-truncf.c): Likewise.
11132         * benchtests/trunc-inputs: New file.
11133         * benchtests/truncf-inputs: Likewise.
11135 2017-09-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11137         * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
11139 2017-09-18  Joseph Myers  <joseph@codesourcery.com>
11141         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
11142         !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
11143         redefine.
11144         [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
11145         (exp10l): Define as weak alias.
11146         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
11147         && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
11148         and redefine.
11149         [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
11150         (remainderl): Define as weak alias.
11152         * math/s_fmal.c: Include <libm-alias-ldouble.h>.
11153         (fmal): Define using libm_alias_ldouble.
11154         * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
11155         (acoshl): Define using libm_alias_ldouble.
11156         * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
11157         (acosl): Define using libm_alias_ldouble.
11158         * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
11159         (asinl): Define using libm_alias_ldouble.
11160         * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
11161         (atan2l): Define using libm_alias_ldouble.
11162         * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
11163         (atanhl): Define using libm_alias_ldouble.
11164         * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
11165         (coshl): Define using libm_alias_ldouble.
11166         * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
11167         (exp10l): Define using libm_alias_ldouble.
11168         * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
11169         (exp2l): Define using libm_alias_ldouble.
11170         * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
11171         (expl): Define using libm_alias_ldouble.
11172         * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
11173         (fmodl): Define using libm_alias_ldouble.
11174         * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
11175         (hypotl): Define using libm_alias_ldouble.
11176         * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
11177         (j0l): Define using libm_alias_ldouble.
11178         (y0l): Likewise.
11179         * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
11180         (j1l): Define using libm_alias_ldouble.
11181         (y1l): Likewise.
11182         * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
11183         (jnl): Define using libm_alias_ldouble.
11184         (ynl): Likewise.
11185         * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
11186         (log10l): Define using libm_alias_ldouble.
11187         * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
11188         (log2l): Define using libm_alias_ldouble.
11189         * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
11190         (logl): Define using libm_alias_ldouble.
11191         * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
11192         (powl): Define using libm_alias_ldouble.
11193         * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
11194         (remainderl): Define using libm_alias_ldouble.
11195         * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
11196         (sinhl): Define using libm_alias_ldouble.
11197         * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
11198         (sqrtl): Define using libm_alias_ldouble.
11199         * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
11200         (tgammal): Define using libm_alias_ldouble.
11201         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
11202         (exp10l): Do not use long_double_symbol here.
11203         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
11204         [LIBM_SVID_COMPAT] (remainderl): Likewise.
11205         * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
11206         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11207         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11208         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11209         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11210         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11211         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11212         * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
11213         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11214         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11215         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11216         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11217         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11218         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11219         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11220         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11221         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11222         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11223         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11224         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11226 2017-09-18  Wang Boshi  <wangboshi@huawei.com>  (tiny change)
11228         * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
11229         * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
11231 2017-09-17  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11233         * io/read.c (read): Add libc_hidden_weak.
11234         * sysdeps/mach/hurd/read.c (read): Likewise.
11235         * io/write.c (write): Likewise.
11236         * sysdeps/mach/hurd/write.c (write): Likewise.
11237         * io/pread64.c (__pread64): Likewise.
11238         * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
11239         * posix/pread64.c (__pread64): Add libc_hidden_def.
11241 2017-09-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11243         * benchtests/scripts/compare_strings.py: New option -g.
11244         (draw_graph): Print a message that a graph is being generated.
11245         (process_results): Generate graph only if -g is passed.
11246         (main): Process option -g.
11248         * benchtests/scripts/compare_strings.py (process_results):
11249         Better spacing for output.
11251         * benchtests/scripts/compare_strings.py: Use argparse.
11252         * benchtests/README: Document existence of compare_strings.py.
11254 2017-09-15  Joseph Myers  <joseph@codesourcery.com>
11256         * math/s_fma.c: Include <libm-alias-double.h>.
11257         (fma): Define using libm_alias_double.
11258         * math/s_nextafter.c: Include <libm-alias-double.h>.
11259         (nextafter): Define using libm_alias_double.
11260         * math/w_acos_compat.c: Include <libm-alias-double.h>.
11261         (acos): Define using libm_alias_double.
11262         * math/w_acosh_compat.c: Include <libm-alias-double.h>.
11263         (aocsh): Define using libm_alias_double.
11264         * math/w_asin_compat.c: Include <libm-alias-double.h>.
11265         (asin): Define using libm_alias_double.
11266         * math/w_atan2_compat.c: Include <libm-alias-double.h>.
11267         (atan2): Define using libm_alias_double.
11268         * math/w_atanh_compat.c: Include <libm-alias-double.h>.
11269         (atanh): Define using libm_alias_double.
11270         * math/w_cosh_compat.c: Include <libm-alias-double.h>.
11271         (cosh): Define using libm_alias_double.
11272         * math/w_exp10_compat.c: Include <libm-alias-double.h>.
11273         (exp10): Define using libm_alias_double.
11274         * math/w_exp2_compat.c: Include <libm-alias-double.h>.
11275         (exp2): Define using libm_alias_double.
11276         * math/w_exp_compat.c: Include <libm-alias-double.h>.
11277         (exp): Define using libm_alias_double.
11278         * math/w_fmod_compat.c: Include <libm-alias-double.h>.
11279         (fmod): Define using libm_alias_double.
11280         * math/w_hypot_compat.c: Include <libm-alias-double.h>.
11281         (hypot): Define using libm_alias_double.
11282         * math/w_j0_compat.c: Include <libm-alias-double.h>.
11283         (j0): Define using libm_alias_double.
11284         (y0): Likewise.
11285         * math/w_j1_compat.c: Include <libm-alias-double.h>.
11286         (j1): Define using libm_alias_double.
11287         (y1): Likewise.
11288         * math/w_jn_compat.c: Include <libm-alias-double.h>.
11289         (jn): Define using libm_alias_double.
11290         (yn): Likewise.
11291         * math/w_log10_compat.c: Include <libm-alias-double.h>.
11292         (log10): Define using libm_alias_double.
11293         * math/w_log2_compat.c: Include <libm-alias-double.h>.
11294         (log2): Define using libm_alias_double.
11295         * math/w_log_compat.c: Include <libm-alias-double.h>.
11296         (log): Define using libm_alias_double.
11297         * math/w_pow_compat.c: Include <libm-alias-double.h>.
11298         (pow): Define using libm_alias_double.
11299         * math/w_remainder_compat.c: Include <libm-alias-double.h>.
11300         (remainder): Define using libm_alias_double.
11301         * math/w_sinh_compat.c: Include <libm-alias-double.h>.
11302         (sinh): Define using libm_alias_double.
11303         * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
11304         (sqrt): Define using libm_alias_double.
11305         * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
11306         (tgamma): Define using libm_alias_double.
11307         * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
11308         GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
11309         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
11310         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
11311         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
11312         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
11313         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
11314         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11315         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11316         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11317         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11318         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11319         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
11320         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11321         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11322         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11323         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11324         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11325         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11326         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11327         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11328         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11329         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11330         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11331         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11333         * math/e_acoshl.c: Remove.
11334         * math/e_acosl.c: Likewise.
11335         * math/e_asinl.c: Likewise.
11336         * math/e_atan2l.c: Likewise.
11337         * math/e_atanhl.c: Likewise.
11338         * math/e_coshl.c: Likewise.
11339         * math/e_expl.c: Likewise.
11340         * math/e_fmodl.c: Likewise.
11341         * math/e_gammal_r.c: Likewise.
11342         * math/e_hypotl.c: Likewise.
11343         * math/e_j0l.c: Likewise.
11344         * math/e_j1l.c: Likewise.
11345         * math/e_jnl.c: Likewise.
11346         * math/e_lgammal_r.c: Likewise.
11347         * math/e_log10l.c: Likewise.
11348         * math/e_log2l.c: Likewise.
11349         * math/e_logl.c: Likewise.
11350         * math/e_powl.c: Likewise.
11351         * math/e_rem_pio2l.c: Likewise.
11352         * math/e_sinhl.c: Likewise.
11353         * math/e_sqrtf128.c: Likewise.
11354         * math/e_sqrtl.c: Likewise.
11355         * math/k_cosl.c: Likewise.
11356         * math/k_sinl.c: Likewise.
11357         * math/k_tanl.c: Likewise.
11358         * math/s_asinhl.c: Likewise.
11359         * math/s_atanl.c: Likewise.
11360         * math/s_cbrtl.c: Likewise.
11361         * math/s_erfl.c: Likewise.
11362         * math/s_expm1l.c: Likewise.
11363         * math/s_log1pl.c: Likewise.
11364         * math/s_tanhl.c: Likewise.
11366 2017-09-15  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11368         [BZ #21745]
11369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
11370         [$(subdir) = math] (sysdep_calls): New variable.  Has the
11371         previous contents of sysdep_routines, but re-sorted..
11372         [$(subdir) = math] (sysdep_routines): Re-use the contents from
11373         sysdep_calls.
11374         [$(subdir) = math] (libm-sysdep_routines): Remove the functions
11375         defined in sysdep_calls and replace by the respective m_* names.
11376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
11377         (compat_symbol): Undefine to avoid duplicated compat symbols in
11378         libc.
11380 2017-09-15  Joseph Myers  <joseph@codesourcery.com>
11382         * math/s_fmaf.c: Include <libm-alias-float.h>.
11383         (fmaf): Define using libm_alias_float.
11384         * math/w_acosf_compat.c: Include <libm-alias-float.h>.
11385         (acosf): Define using libm_alias_float.
11386         * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
11387         (acoshf): Define using libm_alias_float.
11388         * math/w_asinf_compat.c: Include <libm-alias-float.h>.
11389         (asinf): Define using libm_alias_float.
11390         * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
11391         (atan2f): Define using libm_alias_float.
11392         * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
11393         (atanhf): Define using libm_alias_float.
11394         * math/w_coshf_compat.c: Include <libm-alias-float.h>.
11395         (coshf): Define using libm_alias_float.
11396         * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
11397         (exp10f): Define using libm_alias_float.
11398         * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
11399         (fmodf): Define using libm_alias_float.
11400         * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
11401         (hypotf): Define using libm_alias_float.
11402         * math/w_j0f_compat.c: Include <libm-alias-float.h>.
11403         (j0f): Define using libm_alias_float.
11404         (y0f): Likewise.
11405         * math/w_j1f_compat.c: Include <libm-alias-float.h>.
11406         (j1f): Define using libm_alias_float.
11407         (y1f): Likewise.
11408         * math/w_jnf_compat.c: Include <libm-alias-float.h>.
11409         (jnf): Define using libm_alias_float.
11410         (ynf): Likewise.
11411         * math/w_log10f_compat.c: Include <libm-alias-float.h>.
11412         (log10f): Define using libm_alias_float.
11413         * math/w_log2f_compat.c: Include <libm-alias-float.h>.
11414         (log2f): Define using libm_alias_float.
11415         * math/w_logf_compat.c: Include <libm-alias-float.h>.
11416         (logf): Define using libm_alias_float.
11417         * math/w_powf_compat.c: Include <libm-alias-float.h>.
11418         (powf): Define using libm_alias_float.
11419         * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
11420         (remainderf): Define using libm_alias_float.
11421         * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
11422         (sinhf): Define using libm_alias_float.
11423         * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
11424         (sqrtf): Define using libm_alias_float.
11425         * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
11426         (tgammaf): Define using libm_alias_float.
11428 2017-09-14  Joseph Myers  <joseph@codesourcery.com>
11430         * include/math.h (roundeven): Change hidden_proto call to
11431         __roundeven.
11432         * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
11433         alias.
11434         [NO_LONG_DOUBLE] (__j0l): New strong alias.
11435         (y0): Rename to __y0 and define as weak alias.
11436         [NO_LONG_DOUBLE] (__y0l): New strong alias.
11437         * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
11438         alias.
11439         (y0f): Rename to __y0f and define as weak alias.
11440         * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
11441         alias.
11442         [NO_LONG_DOUBLE] (__j1l): New strong alias.
11443         (y1): Rename to __y1 and define as weak alias.
11444         [NO_LONG_DOUBLE] (__y1l): New strong alias.
11445         * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
11446         alias.
11447         (y1f): Rename to __y1f and define as weak alias.
11448         * math/w_jn_compat.c (jn): Rename to __jn and define as weak
11449         alias.
11450         [NO_LONG_DOUBLE] (__jnl): New strong alias.
11451         (yn): Rename to __yn and define as weak alias.
11452         [NO_LONG_DOUBLE] (__ynl): New strong alias.
11453         * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
11454         alias.
11455         (ynf): Rename to __ynf and define as weak alias.
11456         * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
11457         (fromfp): Define as weak alias.
11458         [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
11459         * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
11460         (fromfpx): Define as weak alias.
11461         [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
11462         * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
11463         __getpayload and define as weak alias.
11464         [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
11465         * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
11466         __roundeven and define as weak alias.
11467         [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
11468         * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
11469         __setpayload.
11470         (setpayload): Define as weak alias.
11471         [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
11472         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
11473         __setpayloadsig.
11474         (setpayloadsig): Define as weak alias.
11475         [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
11476         * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
11477         __totalorder and define as weak alias.
11478         [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
11479         * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
11480         to __totalordermag and define as weak alias.
11481         [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
11482         * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
11483         (ufromfp): Define as weak alias.
11484         [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
11485         * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
11486         __ufromfpx.
11487         (ufromfpx): Define as weak alias.
11488         [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
11489         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
11490         Rename to __getpayload and define as weak alias.
11491         [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
11492         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
11493         Rename to __roundeven and define as weak alias.
11494         [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
11495         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
11496         Rename to __totalorder and define as weak alias.
11497         [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
11498         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
11499         (totalordermag): Rename to __totalordermag and define as weak
11500         alias.
11501         [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
11502         * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
11503         macro.
11504         (__roundevenl): Likewise.
11505         (__totalorderl): Likewise.
11506         (__totalordermagl): Likewise
11507         * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
11508         __fromfpf128.
11509         (fromfpf128): Define as weak alias.
11510         * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
11511         __fromfpxf128.
11512         (fromfpxf128): Define as weak alias.
11513         * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
11514         __setpayloadf128.
11515         (setpayloadf128): Define as weak alias.
11516         * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
11517         __setpayloadsigf128.
11518         (setpayloadsigf128): Define as weak alias.
11519         * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
11520         __ufromfpf128.
11521         (ufromfpf128): Define as weak alias.
11522         * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
11523         __ufromfpxf128.
11524         (ufromfpxf128): Define as weak alias.
11525         * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
11526         (fromfpf): Define as weak alias.
11527         * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
11528         __fromfpxf.
11529         (fromfpxf): Define as weak alias.
11530         * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
11531         __getpayloadf and define as weak alias.
11532         * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
11533         __roundevenf and define as weak alias.
11534         * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
11535         __setpayloadf.
11536         (setpayloadf): Define as weak alias.
11537         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
11538         __setpayloadsigf.
11539         (setpayloadsigf): Define as weak alias.
11540         * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
11541         __totalorderf and define as weak alias.
11542         * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
11543         Rename to __totalordermagf and define as weak alias.
11544         * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
11545         __ufromfpf.
11546         (ufromfpf): Define as weak alias.
11547         * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
11548         __ufromfpxf.
11549         (ufromfpxf): Define as weak alias.
11550         * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
11551         __fromfpl.
11552         (fromfpl): Define as weak alias.
11553         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
11554         __fromfpxl.
11555         (fromfpxl): Define as weak alias.
11556         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
11557         to __getpayloadl and define as weak alias.
11558         * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
11559         __roundevenl and define as weak alias.
11560         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
11561         __setpayloadl.
11562         (setpayloadl): Define as weak alias.
11563         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
11564         __setpayloadsigl.
11565         (setpayloadsigl): Define as weak alias.
11566         * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
11567         to __totalorderl and define as weak alias.
11568         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
11569         Rename to __totalordermagl and define as weak alias.
11570         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
11571         __ufromfpl.
11572         (ufromfpl): Define as weak alias.
11573         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
11574         __ufromfpxl.
11575         (ufromfpxl): Define as weak alias.
11576         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
11577         __fromfpl.
11578         (fromfpl): Define as weak alias.
11579         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
11580         __fromfpxl.
11581         (fromfpxl): Define as weak alias.
11582         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
11583         Rename to __getpayloadl and define as weak alias.
11584         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
11585         to __roundevenl and define as weak alias.  Call __roundeven
11586         instead of roundeven.
11587         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
11588         __setpayloadl.
11589         (setpayloadl): Define as weak alias.
11590         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
11591         __setpayloadsigl.
11592         (setpayloadsigl): Define as weak alias.
11593         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
11594         Rename to __totalorderl and define as weak alias.
11595         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
11596         Rename to __totalordermagl and define as weak alias.
11597         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
11598         __ufromfpl.
11599         (ufromfpl): Define as weak alias.
11600         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
11601         __ufromfpxl.
11602         (ufromfpxl): Define as weak alias.
11603         * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
11604         __fromfpl.
11605         (fromfpl): Define as weak alias.
11606         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
11607         __fromfpxl.
11608         (fromfpxl): Define as weak alias.
11609         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
11610         __getpayloadl and define as weak alias.
11611         * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
11612         __roundevenl and define as weak alias.
11613         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
11614         __setpayloadl.
11615         (setpayloadl): Define as weak alias.
11616         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
11617         __setpayloadsigl.
11618         (setpayloadsigl): Define as weak alias.
11619         * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
11620         __totalorderl and define as weak alias.
11621         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
11622         Rename to __totalordermagl and define as weak alias.
11623         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
11624         __ufromfpl.
11625         (ufromfpl): Define as weak alias.
11626         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
11627         __ufromfpxl.
11628         (ufromfpxl): Define as weak alias.
11630 2017-09-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11632         * benchtests/bench-string.h (realloc_bufs): New function.
11633         (test_init): Call it.
11634         * benchtests/bench-memset-large.c (do_test): Likewise.
11635         * benchtests/bench-memset.c (do_test): Likewise.
11637         * benchtests/bench-memset-large.c: Print output in JSON
11638         format.
11639         * benchtests/bench-memset.c: Likewise.
11641 2017-09-14  Mike FABIAN  <mfabian@redhat.com>
11643         [BZ #21084]
11644         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
11645         * iconvdata/Makefile: Add IBM858.
11646         * iconvdata/gconv-modules: Likewise.
11647         * iconvdata/tst-tables.sh: Likewise.
11648         * iconvdata/ibm858.c: New file.
11649         * localedata/charmaps/IBM858: Likewise.
11651 2017-09-14  Akhilesh Kumar  <akhilesh.k@samsung.com>
11653         [BZ #22023]
11654         * locales/niu_NZ (LC_TIME): copy "niu_NU".
11655         * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
11657 2017-09-14  Mike FABIAN  <mfabian@redhat.com>
11659         [BZ #22112]
11660         * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
11661         and add tel_int_fmt.
11663 2017-09-14  Joseph Myers  <joseph@codesourcery.com>
11665         * sysdeps/generic/libm-alias-float128.h: New file.
11666         * sysdeps/generic/math-type-macros-float128.h: Include
11667         <libm-alias-float128.h>.
11668         [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11670 2017-09-13  Joseph Myers  <joseph@codesourcery.com>
11672         * sysdeps/generic/libm-alias-ldouble.h: New file.
11673         * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
11674         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
11675         * sysdeps/generic/math-type-macros-ldouble.h: Include
11676         <libm-alias-ldouble.h>.
11677         [!declare_mgen_alias] (declare_mgen_alias): Define to use
11678         libm_alias_ldouble.
11680 2017-09-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11682         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
11683         * math/w_exp_compat.c: ... here.
11684         * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
11685         * math/w_expf_compat.c: ... here.
11686         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
11687         * math/w_expl_compat.c: ... here.
11688         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
11689         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
11690         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
11691         * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
11693 2017-09-13  Joseph Myers  <joseph@codesourcery.com>
11695         * math/w_scalbln_template.c (strong_alias): Do not undefine and
11696         redefine.
11697         * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
11698         macro.
11699         (ldexpl): Only define as compat symbol for libc, not libm.
11700         (scalbnl): Define as compat symbol for libc here.
11701         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
11702         define for [IS_IN (libc)].
11703         (__ldexpl_2): Remove alias.
11704         (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
11705         (scalbnl): Likewise.  Use __wrap_scalbnl not __ldexpl_2 as base
11706         name in long_double_symbol call.
11707         * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
11708         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11709         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11710         * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
11711         * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
11712         Remove macro.
11713         [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
11714         Define as compat symbol.
11716 2017-09-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11718         * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
11719         * sysdeps/unix/sysv/linux/alpha/Makefile
11720         [$(subdir) = csu] (sysdep_routines): Remove rule.
11722 2017-09-13  Joseph Myers  <joseph@codesourcery.com>
11724         * sysdeps/generic/libm-alias-double.h: New file.
11725         * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
11726         * sysdeps/generic/math-type-macros-double.h: Include
11727         <libm-alias-double.h>.
11728         [declare_mgen_alias] (declare_mgen_alias): Define to use
11729         libm_alias_double.
11730         * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
11731         (M_LIBM_NEED_COMPAT): Remove macro.
11732         [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
11733         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
11734         * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
11735         code.
11736         * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11737         * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11738         * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11739         * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11740         * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11741         * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11742         * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11743         * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11744         * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11745         * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11746         * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11747         * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11748         * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11749         * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11750         * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11751         * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11752         * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11753         * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11754         * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11755         * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11756         * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11757         * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11758         * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11759         * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11760         * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11761         * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11762         * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11763         * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
11764         * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
11765         macro.
11766         (declare_mgen_alias): New macro.
11767         * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
11768         * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
11769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
11770         (M_LIBM_NEED_COMPAT): Remove macro.
11771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
11772         [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
11773         <first-versions.h>.
11774         [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
11775         FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
11777 2017-09-12  Joseph Myers  <joseph@codesourcery.com>
11779         * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
11780         (declare_mgen_alias_2): Remove.
11781         * sysdeps/generic/math-type-macros-double.h
11782         [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
11783         Likewise.
11784         * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
11785         alias.
11786         (ldexp): Define with declare_mgen_alias.
11787         (scalbn): Likewise.
11789 2017-09-12  Steve Ellcey  <sellcey@cavium.com>
11791         * grp/initgroups.c: Include config.h.
11792         (DEFAULT_CONFIG): New macro.
11793         (internal_getgrouplist): Use DEFAULT_CONFIG.
11794         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11795         * nss/nsswitch.c (__nss_disable_nscd): Likewise.
11796         (DEFAULT_DEFCONFIG): New macro.
11797         (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
11798         * nss/grp-lookup.c: Include config.h
11799         (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
11800         * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
11801         * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
11802         * manual/nss.texi: Update default values section.
11804 2017-09-12  H.J. Lu  <hongjiu.lu@intel.com>
11806         [BZ #21967]
11807         * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
11808         New.
11809         (index_arch_MathVec_Prefer_No_AVX512): Likewise.
11810         * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11811         Handle MathVec_Prefer_No_AVX512.
11812         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
11813         (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
11814         is set.
11816 2017-09-12  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11818         * posix/sched_primax.c (__sched_get_priority_max): Add
11819         libc_hidden_def.
11820         * posix/sched_primin.c (__sched_get_priority_min): Likewise.
11821         * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
11822         * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
11823         * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
11824         * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
11825         * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
11826         __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
11827         __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
11828         Add aliases.
11830 2017-09-11  Joseph Myers  <joseph@codesourcery.com>
11832         * sysdeps/generic/libm-alias-float.h: New file.
11833         * sysdeps/generic/math-type-macros-float.h: Include
11834         <libm-alias-float.h>.
11835         [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11837 2017-09-11  H.J. Lu  <hongjiu.lu@intel.com>
11839         [BZ #22093]
11840         * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
11841         GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
11842         * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
11843         (HWCAP_IMPORTANT): Likewise.
11844         (HWCAP_X86_64): New enum.
11845         (HWCAP_X86_AVX512_1): Updated.
11846         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
11847         * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
11848         (modules-names): Add x86_64/tst-x86_64mod-1.
11849         (LDFLAGS-tst-x86_64mod-1.so): New.
11850         ($(objpfx)tst-x86_64-1): Likewise.
11851         ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
11852         (tst-x86_64-1-clean): Likewise.
11853         * sysdeps/x86_64/tst-x86_64-1.c: New file.
11854         * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
11856 2017-09-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11858         * po/sv.po: Update translations.
11859         * po/fr.po: Likewise.
11861 2017-09-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11863         * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
11864         seconds.
11865         * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
11866         seconds.
11867         * elf/rtld-Rules: Fix $(error) use.
11869 2017-09-09  Mike FABIAN  <mfabian@redhat.com>
11871         [BZ #14925]
11872         * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
11873         * locale/iso-639.def: Change “Bengali” to “Bangla”.
11874         * localedata/locales/bn_BD: “Bengali” was still used in some
11875         comments. Change it to “Bangla”.
11877 2017-09-08  Markus Trippelsdorf  <markus@trippelsdorf.de>
11879         * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
11881 2017-09-08  Steve Ellcey  <sellcey@cavium.com>
11883         * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
11884         thunderx2t99p1 to list of cpu names.
11885         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
11886         Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
11888 2017-09-08  Steve Ellcey  <sellcey@cavium.com>
11890         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
11891         Use strcmp instead of tunable_is_name.
11893 2017-09-08  Joseph Myers  <joseph@codesourcery.com>
11895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11896         (F_GET_RW_HINT): New macro.
11897         [__USE_GNU] (F_SET_RW_HINT): Likewise.
11898         [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
11899         [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
11900         [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
11901         [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
11902         [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
11903         [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
11904         [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
11905         [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
11907         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11908         (F_ADD_SEALS): New macro.
11909         [__USE_GNU] (F_GET_SEALS): Likewise.
11910         [__USE_GNU] (F_SEAL_SEAL): Likewise.
11911         [__USE_GNU] (F_SEAL_SHRINK): Likewise.
11912         [__USE_GNU] (F_SEAL_GROW): Likewise.
11913         [__USE_GNU] (F_SEAL_WRITE): Likewise.
11915 2017-09-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11917         * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
11918         (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
11919         * posix/glob_internal.h (__glob_pattern_type):
11920         * posix/glob.c (glob):
11921         * posix/glob_pattern_p.c (__glob_pattern_p):
11922         Use them.
11924         * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
11925         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11926         * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
11927         * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
11928         * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
11930         * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
11931         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
11932         * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11933         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11934         * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11935         * sysdeps/wordsize-64/glob.c: Likewise.
11936         * sysdeps/wordsize-64/glob64.c: Likewise.
11937         * sysdeps/wordsize-64/globfree.c: Likewise.
11938         * sysdeps/wordsize-64/globfree64.c: Likewise.
11939         * sysdeps/unix/sysv/linux/glob.c: New file.
11940         * sysdeps/unix/sysv/linux/glob64.c: Likewise.
11941         * sysdeps/unix/sysv/linux/globfree.c: Likewise.
11942         * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
11943         * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
11944         * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
11945         adds !GLOB_NO_OLD_VERSION as an extra condition.
11946         * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
11947         using relative path instead of absolute one.
11948         * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11949         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11950         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11951         * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11952         * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
11953         * sysdeps/unix/sysv/linux//olddirent.h: ... here.
11955         [BZ #1062]
11956         * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
11957         (glob): Use the same scratch buffer for both getlogin_r and
11958         getpwnam_r.  Don’t require preallocation of the login name.  This
11959         simplifies storage allocation, and corrects the handling of
11960         long login names.
11962         [BZ #1062]
11963         * posix/glob.c (glob): Port recent patches to platforms
11964         lacking getpwnam_r.
11965         (glob): Fix longstanding misuse of errno after getpwnam_r, which
11966         returns an error number rather than setting errno.
11968         * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
11969         instead of GCC extension.
11970         * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
11971         * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
11972         * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
11974         [BZ #866]
11975         [BZ #1062]
11976         * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
11977         * posix/bug-glob1.c: Remove file.
11978         * posix/tst-glob_symlinks.c: New file.
11979         * posix/glob.c (__lstat64): New macro.
11980         (is_dir): New function.
11981         (glob, glob_in_dir): Match symlinks even if they are dangling.
11982         (link_stat, link_exists_p): Remove.  All uses removed.
11984         [BZ #1062]
11985         [BZ #19971]
11986         * posix/glob.c (struct readdir_result): Remove skip_entry member.
11987         (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
11988         All uses removed.
11990         [BZ #1062]
11991         CVE-2017-15671
11992         * posix/Makefile (routines): Add globfree, globfree64, and
11993         glob_pattern_p.
11994         * posix/flexmember.h: New file.
11995         * posix/glob_internal.h: Likewise.
11996         * posix/glob_pattern_p.c: Likewise.
11997         * posix/globfree.c: Likewise.
11998         * posix/globfree64.c: Likewise.
11999         * sysdeps/gnu/globfree64.c: Likewise.
12000         * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
12001         * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
12002         * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
12003         * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
12004         * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
12005         * sysdeps/wordsize-64/globfree.c: Likewise.
12006         * sysdeps/wordsize-64/globfree64.c: Likewise.
12007         * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
12008         [NDEBUG): Remove comments.
12009         (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
12010         (dirent_type): New type.  Use uint_fast8_t not
12011         uint8_t, as C99 does not require uint8_t.
12012         (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
12013         (struct readdir_result): Use dirent_type.  Do not define skip_entry
12014         unless it is needed; this saves a byte on platforms lacking d_ino.
12015         (readdir_result_type, readdir_result_skip_entry):
12016         New functions, replacing ...
12017         (readdir_result_might_be_symlink, readdir_result_might_be_dir):
12018          these functions, which were removed.  This makes the callers
12019         easier to read.  All callers changed.
12020         (D_INO_TO_RESULT): Now empty if there is no d_ino.
12021         (size_add_wrapv, glob_use_alloca): New static functions.
12022         (glob, glob_in_dir): Check for size_t overflow in several places,
12023         and fix some size_t checks that were not quite right.
12024         Remove old code using SHELL since Bash no longer
12025         uses this.
12026         (glob, prefix_array): Separate MS code better.
12027         (glob_in_dir): Remove old Amiga and VMS code.
12028         (globfree, __glob_pattern_type, __glob_pattern_p): Move to
12029         separate files.
12030         (glob_in_dir): Do not rely on undefined behavior in accessing
12031         struct members beyond their bounds.  Use a flexible array member
12032         instead
12033         (link_stat): Rename from link_exists2_p and return -1/0 instead of
12034         0/1.  Caller changed.
12035         (glob): Fix memory leaks.
12036         * posix/glob64 (globfree64): Move to separate file.
12037         * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
12038         (globfree64): Remove hidden alias.
12039         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
12040         oldglob.
12041         * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
12042         separate file.
12043         * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
12044         define.
12045         Move compat code to separate file.
12046         * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
12047         separate file.
12049 2017-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12051         * resolv/tst-resolv-qtypes.c (domain): Changed to
12052         "const char domain[] =".
12054 2017-09-07  Joseph Myers  <joseph@codesourcery.com>
12056         * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
12057         version to 3.1.6.
12059         * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
12060         (TCP_MD5SIG_EXT): Likewise.
12061         (TCP_MD5SIG_FLAG_PREFIX): Likewise.
12062         (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
12063         tcpm_prefixlen.  Rename __tcpm_pad2 to __tcpm_pad.
12065         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
12067 2017-09-07  Mike FABIAN  <mfabian@redhat.com>
12069         * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
12071 2017-09-07  Akhilesh Kumar  <akhilesh.k@samsung.com>
12073         [BZ #22100]
12074         * localedata/locales/om_KE (LC_TIME): copy "om_ET".
12076 2017-09-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12078         * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
12079         before assuming that the file is empty.  Avoid testing buffer content
12080         when nread == 0.
12082 2017-09-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12084         [BZ #18858]
12085         * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
12086         Remove define.
12087         * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
12088         Likewise.
12089         * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
12090         Likewise.
12091         * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
12092         Likewise.
12093         * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
12094         Likewise.
12095         * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
12096         Likewise.
12097         * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
12098         Likewise.
12100 2017-09-06  Florian Weimer  <fweimer@redhat.com>
12102         * malloc/dynarray_emplace_enlarge.c
12103         (__libc_dynarray_emplace_enlarge): Add missing else.
12105 2017-09-06  Florian Weimer  <fweimer@redhat.com>
12107         [BZ #22096]
12108         * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
12109         case of failure to obtain the global conf object.
12111 2017-09-06  Florian Weimer  <fweimer@redhat.com>
12113         [BZ #22095]
12114         * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
12115         dynarray allocation failure.
12117 2017-09-06  Florian Weimer  <fweimer@redhat.com>
12119         Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
12120         * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
12121         * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
12122         New functions.
12123         (response): Call them.  Add 'p', '6' flag processing.
12124         (test_reverse): New function.
12125         (test_get2_any): Call it.
12126         (test_no_inet6): Add 'p' test.
12127         (test_inet6): Likewise.
12129 2017-09-06  Florian Weimer  <fweimer@redhat.com>
12131         Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
12132         * resolv/tst-res_use_inet6.c (response): Process flags embedded in
12133         the QNAME.
12134         (test_gai): Adjust query names.  Add additional tests.
12135         (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
12136         test_get2.  Adjust query names.  Add additional tests.
12137         (test_no_inet6): New function, extracted from threadfunc.
12138         (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
12139         Add additional tests.
12141 2017-09-06  Mike FABIAN  <mfabian@redhat.com>
12143         [BZ #22070]
12144         * localedata/unicode-gen/utf8_gen.py: Set the width for
12145         characters with Prepended_Concatenation_Mark property to 1
12146         * localedata/charmaps/UTF-8: Updated using the improved script.
12148 2017-09-06  Mike FABIAN  <mfabian@redhat.com>
12150         [BZ #21750]
12151         * localedata/unicode-gen/utf8_gen.py: Improve the script to
12152         use the range notation for all ranges of neighbouring characters
12153         with the same width.
12155 2017-09-05  Joseph Myers  <joseph@codesourcery.com>
12157         * sysdeps/generic/math-type-macros-double.h: Include
12158         <math-svid-compat.h>.
12159         (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12160         * sysdeps/generic/math-type-macros-float.h: Include
12161         <math-svid-compat.h>.
12162         (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12163         * sysdeps/generic/math-type-macros-ldouble.h: Include
12164         <math-svid-compat.h>.
12165         (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12166         * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
12167         condition.
12168         * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
12169         * math/w_acosf_compat.c: Likewise.
12170         * math/w_acosh_compat.c: Likewise.
12171         * math/w_acoshf_compat.c: Likewise.
12172         * math/w_acoshl_compat.c: Likewise.
12173         * math/w_acosl_compat.c: Likewise.
12174         * math/w_asin_compat.c: Likewise.
12175         * math/w_asinf_compat.c: Likewise.
12176         * math/w_asinl_compat.c: Likewise.
12177         * math/w_atan2_compat.c: Likewise.
12178         * math/w_atan2f_compat.c: Likewise.
12179         * math/w_atan2l_compat.c: Likewise.
12180         * math/w_atanh_compat.c: Likewise.
12181         * math/w_atanhf_compat.c: Likewise.
12182         * math/w_atanhl_compat.c: Likewise.
12183         * math/w_cosh_compat.c: Likewise.
12184         * math/w_coshf_compat.c: Likewise.
12185         * math/w_coshl_compat.c: Likewise.
12186         * math/w_exp10_compat.c: Likewise.
12187         * math/w_exp10f_compat.c: Likewise.
12188         * math/w_exp10l_compat.c: Likewise.
12189         * math/w_exp2_compat.c: Likewise.
12190         * math/w_exp2f_compat.c: Likewise.
12191         * math/w_exp2l_compat.c: Likewise.
12192         * math/w_fmod_compat.c: Likewise.
12193         * math/w_fmodf_compat.c: Likewise.
12194         * math/w_fmodl_compat.c: Likewise.
12195         * math/w_hypot_compat.c: Likewise.
12196         * math/w_hypotf_compat.c: Likewise.
12197         * math/w_hypotl_compat.c: Likewise.
12198         * math/w_j0_compat.c: Likewise.
12199         * math/w_j0f_compat.c: Likewise.
12200         * math/w_j0l_compat.c: Likewise.
12201         * math/w_j1_compat.c: Likewise.
12202         * math/w_j1f_compat.c: Likewise.
12203         * math/w_j1l_compat.c: Likewise.
12204         * math/w_jn_compat.c: Likewise.
12205         * math/w_jnf_compat.c: Likewise.
12206         * math/w_jnl_compat.c: Likewise.
12207         * math/w_lgamma_r_compat.c: Likewise.
12208         * math/w_lgammaf_r_compat.c: Likewise.
12209         * math/w_lgammal_r_compat.c: Likewise.
12210         * math/w_log10_compat.c: Likewise.
12211         * math/w_log10f_compat.c: Likewise.
12212         * math/w_log10l_compat.c: Likewise.
12213         * math/w_log2_compat.c: Likewise.
12214         * math/w_log2f_compat.c: Likewise.
12215         * math/w_log2l_compat.c: Likewise.
12216         * math/w_log_compat.c: Likewise.
12217         * math/w_logf_compat.c: Likewise.
12218         * math/w_logl_compat.c: Likewise.
12219         * math/w_pow_compat.c: Likewise.
12220         * math/w_powf_compat.c: Likewise.
12221         * math/w_powl_compat.c: Likewise.
12222         * math/w_remainder_compat.c: Likewise.
12223         * math/w_remainderf_compat.c: Likewise.
12224         * math/w_remainderl_compat.c: Likewise.
12225         * math/w_sinh_compat.c: Likewise.
12226         * math/w_sinhf_compat.c: Likewise.
12227         * math/w_sinhl_compat.c: Likewise.
12228         * math/w_sqrt_compat.c: Likewise.
12229         * math/w_sqrtf_compat.c: Likewise.
12230         * math/w_sqrtl_compat.c: Likewise.
12231         * math/w_tgamma_compat.c: Likewise.
12232         * math/w_tgammaf_compat.c: Likewise.
12233         * math/w_tgammal_compat.c: Likewise.
12234         * math/w_scalb_compat.c (sysv_scalb): Condition definition on
12235         [LIBM_SVID_COMPAT].
12236         (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
12237         * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
12238         [LIBM_SVID_COMPAT].
12239         (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
12240         * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
12241         [LIBM_SVID_COMPAT].
12242         (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
12243         * sysdeps/i386/fpu/w_sqrt.c: New file.
12244         * sysdeps/ia64/fpu/w_acos.c: Likewise.
12245         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
12246         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
12247         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
12248         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
12249         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
12250         * sysdeps/ia64/fpu/w_asin.c: Likewise.
12251         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
12252         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
12253         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
12254         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
12255         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
12256         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
12257         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
12258         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
12259         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
12260         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
12261         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
12262         * sysdeps/ia64/fpu/w_exp.c: Likewise.
12263         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
12264         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
12265         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
12266         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
12267         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
12268         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
12269         * sysdeps/ia64/fpu/w_expf.c: Likewise.
12270         * sysdeps/ia64/fpu/w_expl.c: Likewise.
12271         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
12272         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
12273         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
12274         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
12275         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
12276         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
12277         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
12278         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
12279         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
12280         * sysdeps/ia64/fpu/w_log.c: Likewise.
12281         * sysdeps/ia64/fpu/w_log10.c: Likewise.
12282         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
12283         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
12284         * sysdeps/ia64/fpu/w_log2.c: Likewise.
12285         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
12286         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
12287         * sysdeps/ia64/fpu/w_logf.c: Likewise.
12288         * sysdeps/ia64/fpu/w_logl.c: Likewise.
12289         * sysdeps/ia64/fpu/w_pow.c: Likewise.
12290         * sysdeps/ia64/fpu/w_powf.c: Likewise.
12291         * sysdeps/ia64/fpu/w_powl.c: Likewise.
12292         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
12293         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
12294         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
12295         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
12296         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
12297         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
12298         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
12299         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
12300         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
12301         * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
12302         * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
12303         * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
12304         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
12305         [LIBM_SVID_COMPAT].
12306         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
12307         * sysdeps/ieee754/k_standard.c: Likewise.
12308         * sysdeps/ieee754/k_standardf.c: Likewise.
12309         * sysdeps/ieee754/k_standardl.c: Likewise.
12310         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
12311         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
12312         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
12313         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
12314         long_double_symbol call on [LIBM_SVID_COMPAT].
12315         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
12316         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
12317         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
12318         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
12319         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
12320         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
12321         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
12322         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
12323         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
12324         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
12325         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
12326         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
12327         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
12328         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
12329         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
12330         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
12331         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
12332         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
12333         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
12334         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
12335         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
12336         long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
12338 2017-09-05  Steve Ellcey  <sellcey@cavium.com>
12340         * include/shlib-compat.h (TEST_COMPAT): New Macro.
12341         * malloc/tst-mallocstate.c: Convert from test-skeleton
12342         to test-driver.  Ifdef code using TEST_COMPAT macro.
12343         * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
12344         * math/test-matherr.c: Likewise.
12346 2017-09-05  Joseph Myers  <joseph@codesourcery.com>
12348         [BZ #22086]
12349         * debug/pcprofiledump.c (main): Use byte-swapped mask when
12350         comparing word with byte-swapped constant.
12352 2017-09-05  Chris Leonard  <cjlhomeaddress@gmail.com>
12354         [BZ #20498]
12355         * locale/iso-639.def: add Miskito.
12356         * localedata/SUPPORTED: Add miq_NI/UTF-8.
12357         * localedata/locales/miq_NI: New file.
12359 2017-09-04  H.J. Lu  <hongjiu.lu@intel.com>
12361         [BZ #18822]
12362         * include/sys/stat.h (__chmod): Add libc_hidden_proto.
12363         (__mkdir): Likewise.
12364         * io/chmod.c (__chmod): Add libc_hidden_def.
12365         * io/mkdir.c (__mkdir): Likewise.
12366         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12367         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12368         * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
12369         * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
12371 2017-09-04  Joseph Myers  <joseph@codesourcery.com>
12373         * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12374         version to 4.13.
12376         [BZ #22082]
12377         * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
12378         (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12380 2017-09-04  Florian Weimer  <fweimer@redhat.com>
12382         * math/math.h: Issue warning if log is defined.
12384 2017-09-04  Joseph Myers  <joseph@codesourcery.com>
12386         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12387         kernel version to 4.13.
12389 2017-09-03  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12391         * sysdeps/generic/sigsetops.h: Remove spurious #endif.
12392         (__sigismember, __sigaddset, __sigdelset): Fix referencing set
12393         parameter.
12394         * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
12395         just <bits/types.h>.
12396         * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
12397         * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
12398         * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
12399         * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
12400         * misc/preadv2.c: Include <errno.h>.
12401         * misc/preadv64v2.c: Include <errno.h>.
12402         * misc/pwritev2.c: Include <errno.h>.
12403         * misc/pwritev64v2.c: Include <errno.h>.
12404         * sysdeps/posix/preadv2.c: Include <errno.h>.
12405         * sysdeps/posix/preadv64v2.c: Include <errno.h>.
12406         Fix <unistd.h> inclusion.
12407         * sysdeps/posix/pwritev2.c: Include <errno.h>.
12408         * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
12409         * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
12410         __strtoul_internal): New functions.
12411         * sysdeps/posix/pause.c: Include <sigsetops.h>.
12412         * sysdeps/posix/system.c: Include <sigsetops.h>.
12413         * sysdeps/mach/hurd/i386/Makefile
12414         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
12415         [$(subdir) = csu] (sysdep-only-routines): Likewise.
12416         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
12417         * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
12418         __feraiseexcept_renamed to feraiseexcept instead of
12419         __GI_feraiseexcept.
12420         * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
12421         * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
12422         * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
12423         RWF_NOWAIT): Define to 0 if undefined already.
12424         (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
12425         boils down to 0.
12426         * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
12427         [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
12429 2017-09-01  Joseph Myers  <joseph@codesourcery.com>
12431         * manual/math.texi (pow10): Do not document.
12432         (pow10f): Likewise.
12433         (pow10l): Likewise.
12434         * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
12435         * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
12436         * math/libm-test-exp10.inc (pow10_test): Remove.
12437         (do_test): Do not call pow10.
12438         * math/w_exp10_compat.c (pow10): Make into compat symbol.
12439         [NO_LONG_DOUBLE] (pow10l): Likewise.
12440         * math/w_exp10f_compat.c (pow10f): Likewise.
12441         * math/w_exp10l_compat.c (pow10l): Likewise.
12442         * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
12443         (pow10): Make into compat symbol.
12444         * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
12445         (pow10f): Make into compat symbol.
12446         * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
12447         (pow10l): Make into compat symbol.
12448         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
12449         pow10.
12450         (CFLAGS-nldbl-pow10.c): Remove variable..
12451         * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
12452         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
12453         [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
12454         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
12455         Undefine and redefine.
12456         (pow10l): Make into compat symbol.
12457         * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
12458         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12459         * sysdeps/arm/libm-test-ulps: Likewise.
12460         * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
12461         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12462         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12463         * sysdeps/microblaze/libm-test-ulps: Likewise.
12464         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12465         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12466         * sysdeps/nios2/libm-test-ulps: Likewise.
12467         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12468         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12469         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12470         * sysdeps/sh/libm-test-ulps: Likewise.
12471         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12472         * sysdeps/tile/libm-test-ulps: Likewise.
12473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12475 2017-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12477         * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
12479 2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
12481         * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
12482         "../ChangeLog.old/ChangeLog.8".
12483         * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
12484         "../ChangeLog.old/ChangeLog.14".
12486 2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
12488         * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
12489         Threads Library.
12491 2017-09-01  Joseph Myers  <joseph@codesourcery.com>
12493         * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
12495 2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
12497         * csu/version.c (banner): Remove "by Roland McGrath et al.".
12498         * nptl/Banner: Remove "by Ulrich Drepper et al.".
12500 2017-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12502         * stdlib/tst-atexit-common.c (do_test): Test support for at least
12503         32 atexit handlers.
12505 2017-09-01  Zack Weinberg  <zackw@panix.com>
12507         * math/math.h (HUGE_VAL): Improve commentary.
12509 2017-09-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12510             Andreas Schwab  <schwab@suse.de>
12512         [BZ #21530]
12513         * include/stdio.h (__gen_tempfd): New function.
12514         * stdio-common/Makefile (routines): Add gentempfd.
12515         * stdio-common/gentempfd.c: New file.
12516         * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
12517         * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
12518         unnamed file first.
12520 2017-09-01  Florian Weimer  <fweimer@redhat.com>
12522         [BZ #21915]
12523         [BZ #21922]
12524         * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
12525         result to determine success or failure, not the errno value.
12526         * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
12527         (tst-nss-files-hosts-erange): Link with -ldl.
12528         * nss/tst-nss-files-hosts-erange.c: New file.
12529         * nss/tst-resolv-basic.c (response): Handle nodata.example.
12530         (do_test): Add NO_DATA tests.
12531         * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
12532         (do_test): Call it.
12534 2017-09-01  Florian Weimer  <fweimer@redhat.com>
12536         [BZ #21922]
12537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
12538         coming from gethostbyname2_r.
12540 2017-09-01  Florian Weimer  <fweimer@redhat.com>
12542         * support/namespace.h (struct support_chroot_configuration): Add
12543         hosts, host_conf.
12544         (struct support_chroot): Add path_hosts, path_host_conf.
12545         * support/support_chroot.c (write_file): New function.
12546         (support_chroot_create): Call it to process /etc/resolv.conf,
12547         /etc/hosts, /etc/host.conf.
12548         (support_chroot_free): Update.
12550 2017-09-01  Florian Weimer  <fweimer@redhat.com>
12552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
12553         status indicates it is set.
12555 2017-09-01  Florian Weimer  <fweimer@redhat.com>
12557         [BZ #20532]
12558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
12559         function lookup failures more reliable.
12561 2017-09-01  Florian Weimer  <fweimer@redhat.com>
12563         * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
12564         (getcanonname): Likewise.
12565         (gaih_inet): Likewise.
12567 2017-09-01  Florian Weimer  <fweimer@redhat.com>
12569         * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
12570         (getcanonname): Likewise.
12571         (gaih_inet): Likewise.
12573 2017-08-31  Steve Ellcey  <sellcey@cavium.com>
12574             Richard Henderson <rth@twiddle.net>
12576         * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
12577         * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
12578         * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
12579         (IREG_SIZE, OREG_SIZE): New macros.
12580         * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
12581         (IREG_SIZE, OREG_SIZE): New macros.
12582         * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
12583         (IREG_SIZE): New macro.
12584         * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
12585         (IREG_SIZE): New macro.
12586         * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
12587         New includes.
12588         (IREG_SIZE, OREG_SIZE): Initialize if not already set.
12589         (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12590         (__CONCATX): Handle exceptions correctly on large values that may
12591         set FE_INVALID.
12592         * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
12593         Initialize if not already set.
12594         (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12596 2017-08-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12598         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
12599         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
12600         Likewise.
12601         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
12602         Likewise.
12603         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
12604         Likewise.
12605         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
12606         Likewise.
12607         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
12608         Likewise.
12609         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
12610         Likewise.
12611         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
12612         Likewise.
12613         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
12614         (NO_CANCELLATION): Likewise.
12615         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
12616         Likewise.
12617         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
12618         Likewise.
12619         * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
12620         Likewise.
12621         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
12622         (NO_CANCELLATION): Likewise.
12623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
12624         (NO_CANCELLATION): Likewise.
12625         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
12626         Likewise
12627         * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
12628         Likewise.
12629         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
12632         Likewise.
12633         * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
12634         hidden prototype.
12635         * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
12636         for !IS_IN (rtld) and remove NO_CANCELLATION usage.
12638 2017-08-31  Steve Ellcey  <sellcey@cavium.com>
12640         * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
12641         in resolver call.
12643 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12645         * include/libc-symbols.h (internal_function): Remove.
12647 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12649         * stdlib/fmtmsg.c (internal_addseverity): Remove
12650         internal_function.
12652 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12654         * stdio-common/printf_fp.c (group_number): Remove
12655         internal_function.
12656         * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
12658 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12660         * posix/fnmatch.c (internal_function): Remove definition.
12661         * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
12662         * posix/regcomp.c (peek_token, init_word_char)
12663         (duplicate_node_closure, fetch_token, peek_token)
12664         (peek_token_bracket, build_range_exp, build_collating_symbol):
12665         Likewise.
12666         * posix/regex_internal.c (re_string_construct_common)
12667         (create_ci_newstate, create_cd_newstate, re_string_allocate)
12668         (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
12669         (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
12670         (re_string_translate_buffer, re_string_reconstruct)
12671         (re_string_peek_byte_case, re_string_fetch_byte_case)
12672         (re_string_destruct, re_string_context_at, re_node_set_alloc)
12673         (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
12674         (re_node_set_add_intersect, re_node_set_init_union)
12675         (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
12676         (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
12677         (re_dfa_add_node, calc_state_hash, re_acquire_state)
12678         (re_acquire_state_context): Likewise.
12679         * posix/regex_internal.h (internal_function): Remove definition.
12680         (re_string_realloc_buffers, build_wcs_buffer)
12681         (build_wcs_upper_buffer, build_upper_buffer)
12682         (re_string_translate_buffer, re_string_context_at)
12683         (re_string_char_size_at, re_string_wchar_at)
12684         (re_string_elem_size_at): Likewise.
12685         * posix/regexec.c (match_ctx_init, match_ctx_clean)
12686         (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
12687         (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
12688         (re_search_internal, re_search_2_stub, re_search_stub)
12689         (re_copy_regs, prune_impossible_nodes, check_matching)
12690         (check_halt_state_context, update_regs, push_fail_stack, set_regs)
12691         (free_fail_stack_return, sift_states_iter_mb)
12692         (sift_states_backward, build_sifted_states)
12693         (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
12694         (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
12695         (check_subexp_limits, sift_states_bkref, merge_state_array)
12696         (find_recover_state, transit_state, merge_state_with_log)
12697         (check_subexp_matching_top, transit_state_sb, transit_state_sb)
12698         (transit_state_mb, transit_state_bkref, get_subexp)
12699         (get_subexp_sub, find_subexp_node, check_arrival)
12700         (check_arrival_add_next_nodes, check_arrival_expand_ecl)
12701         (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
12702         (check_node_accept_bytes, find_collation_sequence_value)
12703         (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
12704         (acquire_init_state_context, check_halt_node_context)
12705         (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
12706         (sub_epsilon_src_nodes): Likewise.
12707         * posix/spawn_int.h (__spawn_valid_fd): Likewise.
12708         * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
12709         * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
12710         (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
12711         (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
12712         (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
12713         (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
12714         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12715         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12716         * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
12717         (PREADV): Likewise.
12718         * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
12719         (PREADV): Likewise.
12720         * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
12721         (PWRITEV): Likewise.
12722         * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
12723         (PWRITEV): Likewise.
12724         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
12725         * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
12727 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12729         * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
12730         (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
12731         Remove internal_function.
12732         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12733         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
12734         * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
12735         (__deallocate_stack, __libc_pthread_init)
12736         (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
12737         (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
12738         (__libc_disable_asynccancel, __librt_disable_asynccancel):
12739         Likewise.
12740         * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
12741         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
12742         * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
12743         Likewise.
12744         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
12745         (__pthread_mutex_unlock_usercnt): Likewise.
12747 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12749         * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
12750         (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
12751         (fts_safe_changedir): Remove internal_function.
12752         * io/ftw.c (internal_function): Remove definition.
12753         (ftw_dir, process_entry, ftw_startup): Remove internal_function.
12755 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12757         * inet/deadline.c (__deadline_current_time)
12758         (__deadline_from_timeval, __deadline_to_ms): Remove
12759         internal_function.
12760         * inet/getnameinfo.c (nrl_domainname): Likewise.
12761         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
12762         * inet/inet6_option.c (add_pad): Likewise.
12763         * inet/net-internal.h (__deadline_current_time)
12764         (__deadline_from_timeval, __deadline_to_ms): Likewise.
12765         * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
12766         * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
12767         * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
12769 2017-08-31  Joseph Myers  <joseph@codesourcery.com>
12771         *  math/math.h [__USE_ISOC99] (NAN): Define directly here.  Do not
12772         include <bits/nan.h>.
12773         * math/Makefile (headers): Remove bits/nan.h.
12774         * bits/nan.h: Remove.
12775         * sysdeps/ieee754/bits/nan.h: Likewise.
12776         * sysdeps/mips/bits/nan.h: Likewise.
12778         * math/math.h [__USE_ISOC99] (INFINITY): Define directly here.  Do
12779         not include <bits/inf.h>.
12780         * math/Makefile (headers): Remove bits/inf.h.
12781         * bits/inf.h: Remove.
12782         * sysdeps/ieee754/bits/inf.h: Likewise.
12784         * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
12785         bits/huge_vall.h or bits/huge_val_flt128.h.
12786         (HUGE_VAL): Define directly here.
12787         [__USE_ISOC99] (HUGE_VALF): Likewise.
12788         [__USE_ISOC99] (HUGE_VALL): Likewise.
12789         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12790         (HUGE_VAL_F128): Likewise.
12791         * math/Makefile (headers): Remove bits/huge_val.h,
12792         bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
12793         * bits/huge_val.h: Remove.
12794         * bits/huge_val_flt128.h: Likewise.
12795         * bits/huge_valf.h: Likewise.
12796         * bits/huge_vall.h: Likewise.
12797         * sysdeps/ia64/bits/huge_vall.h: Likewise.
12798         * sysdeps/ieee754/bits/huge_val.h: Likewise.
12799         * sysdeps/ieee754/bits/huge_valf.h: Likewise.
12800         * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
12801         * sysdeps/sh/bits/huge_val.h: Likewise.
12802         * sysdeps/sparc/bits/huge_vall.h: Likewise.
12803         * sysdeps/x86/bits/huge_vall.h: Likewise.
12805 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12807         * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
12808         internal_function.
12809         * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
12810         Likewise.
12811         * elf/dl-debug.c (_dl_debug_initialize): Likewise.
12812         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12813         * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
12814         * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
12815         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12816         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12817         * elf/dl-libc.c (dlerror_run): Likewise.
12818         * elf/dl-load.c (add_name_to_object, decompose_rpath)
12819         (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
12820         * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
12821         (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
12822         Likewise.
12823         * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
12824         (_dl_higher_prime_number, _dl_strtoul): Likewise.
12825         * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
12826         * elf/dl-profile.c (_dl_start_profile): Likewise.
12827         * elf/dl-reloc.c (_dl_try_allocate_static_tls)
12828         (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
12829         Likewise.
12830         * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
12831         * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
12832         * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
12833         * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
12834         (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
12835         (_dl_allocate_tls_storage): Likewise.
12836         * elf/dl-version.c (match_symbol, _dl_check_map_versions)
12837         (_dl_check_all_versions): Likewise.
12838         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12839         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
12840         * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
12841         * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12842         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
12843         * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
12844         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
12845         internal_function from __dl_start.
12846         * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
12847         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12848         * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
12849         (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
12850         (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
12851         (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
12852         (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
12853         (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
12854         (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
12855         (_dl_next_ld_env_entry, _dl_important_hwcaps)
12856         (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
12857         (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
12858         (_dl_determine_tlsoffset, _dl_get_tls_static_info)
12859         (_dl_allocate_static_tls, _dl_allocate_tls_storage)
12860         (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
12861         Likewise.
12862         (struct rtld_global_ro): Remove internal_function from the
12863         _dl_lookup_symbol_x member.
12864         (_dl_symbol_value): Remove.  No longer defined anywhere.
12865         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
12866         internal_function.
12867         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12868         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12869         * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
12870         * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
12871         * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
12872         * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
12873         * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
12874         * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
12875         * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
12876         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12877         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12878         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12880 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12882         * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
12883         Remove internal_function.
12884         * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12885         Likewise.
12886         * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12887         Likewise.
12889 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12891         * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
12892         * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
12893         * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
12895 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12897         * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
12898         (__gai_enqueue_request): Remove internal_function.
12899         * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
12900         (__gai_remove_request, __gai_notify, __gai_notify_only)
12901         (__gai_sigqueue): Likewise.
12902         * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
12903         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12904         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
12905         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12906         Likewise.
12908 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12910         * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
12911         * include/dirent.h (__opendirat, __getdents, __getdents64)
12912         (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
12913         * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
12914         * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12915         * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12916         Likewise.
12917         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
12919 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12921         * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
12922         internal_function.
12923         (GETCWD_RETURN_TYPE): Likewise.
12925 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12927         * include/time.h (__tz_compute, __strptime_internal): Remove
12928         internal_function.
12929         * time/strptime_l.c (__strptime_internal): Likewise.
12930         * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
12932 2017-08-31  Florian Weimer  <fweimer@redhat.com>
12934         * iconv/gconv.c (__gconv): Remove internal_function.
12935         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
12936         * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
12937         (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
12938         (__gconv_release_cache): Likewise.
12939         * iconv/gconv_close.c (__gconv_close): Likewise.
12940         * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
12941         (read_conf_file, __gconv_get_path): Likewise.
12942         * iconv/gconv_db.c (derivation_lookup, add_derivation)
12943         (__gconv_release_step, gen_steps, increment_counter)
12944         (find_derivation, __gconv_compare_alias, __gconv_find_transform)
12945         (__gconv_close_transform, free_modules_db): Likewise.
12946         * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
12947         Likewise.
12948         * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
12949         (__gconv_find_transform, __gconv_lookup_cache)
12950         (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
12951         (__gconv_close_transform, __gconv_release_cache)
12952         (__gconv_loaded_object, __gconv_release_shlib)
12953         (__gconv_compare_alias): Likewise.
12954         * iconv/gconv_open.c (__gconv_open): Likewise.
12955         * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
12956         * iconv/iconvconfig.c (add_module): Likewise.
12957         * intl/dcigettext.c (plural_lookup, guess_category_value)
12958         (category_to_name, get_output_charset, _nl_find_msg): Likewise.
12959         * intl/eval-plural.h (plural_eval): Likewise.
12960         * intl/finddomain.c (_nl_find_domain): Likewise.
12961         * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
12962         (_nl_load_domain, _nl_find_msg): Likewise.
12963         (internal_function): Remove definition.
12964         * intl/loadinfo.h (internal_function): Likewise.
12965         * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
12966         internal_function.
12967         * intl/localealias.c (internal_function): Remove definition.
12968         (read_alias_file): Remove internal_function.
12969         * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
12970         * intl/plural-exp.h (internal_function): Remove definition.
12971         (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
12972         internal_function.
12973         * intl/plural.c: Regenerate.
12974         * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
12975         * locale/coll-lookup.c (__collidx_table_lookup)
12976         (__collseq_table_lookup): Likewise.
12977         * locale/coll-lookup.h (__collidx_table_lookup)
12978         (__collseq_table_lookup): Likewise.
12979         * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
12980         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12981         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
12982         (_nl_unload_locale): Likewise.
12983         * locale/localeinfo.h (struct __locale_data): Remove
12984         internal_function from cleanup member.
12985         (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
12986         (_nl_remove_locale, _nl_load_locale_from_archive)
12987         (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
12988         (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
12989         (_nl_cleanup_time): Remove internal_function.
12990         * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
12991         (_nl_parse_alt_digit): Likewise.
12992         * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
12993         (_nl_select_era_entry): Likewise.
12994         * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
12995         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12996         (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12997         * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12998         (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
13000 2017-08-31  Florian Weimer  <fweimer@redhat.com>
13002         * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
13003         * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
13004         * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
13005         (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
13006         Likewise.
13007         * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
13008         (__aio_find_req, __aio_find_req_fd, __aio_free_request)
13009         (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
13010         * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
13011         Likewise.
13012         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
13014 2017-08-31  Florian Weimer  <fweimer@redhat.com>
13016         * misc/getttyent.c (skip, value): Remove internal_function.
13017         * misc/syslog.c (openlog_internal): Likewise.
13018         * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
13020 2017-08-31  Florian Weimer  <fweimer@redhat.com>
13022         * include/nss.h (__nss_valid_field, __nss_valid_list_field)
13023         (__nss_rewrite_field): Remove internal_function.
13024         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13025         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
13026         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13027         * nss/nsswitch.c (nss_parse_file, nss_getline)
13028         (nss_parse_service_list, nss_new_service): Likewise.
13029         * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
13030         * nss/valid_field.c (__nss_valid_field): Likewise.
13031         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13033 2017-08-31  Florian Weimer  <fweimer@redhat.com>
13035         * malloc/arena.c (__malloc_fork_lock_parent)
13036         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
13037         (next_env_entry, new_heap, heap_trim, arena_get2): Remove
13038         internal_function from defintions.
13039         * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
13040         * malloc/malloc-internal.h (__malloc_fork_lock_parent)
13041         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
13042         internal_function from declarations.
13043         * malloc/malloc.c (internal_function): Do not define.
13044         (mem2mem_check): Remove internal_function from declaration.
13045         (munmap_chunk, mremap_chunk): Remove internal_function.
13046         * malloc/mtrace.c (tr_where): Likewise.
13048 2017-08-31  Florian Weimer  <fweimer@redhat.com>
13050         * include/rpc/pmap_clnt.h (__get_socket): Remove
13051         internal_function.
13052         * sunrpc/auth_des.c (synchronize): Likewise.
13053         * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
13054         * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
13055         * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
13056         * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
13057         (key_call): Likewise.
13058         * sunrpc/pm_getport.c (__get_socket): Likewise.
13059         * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
13060         * sunrpc/svc_unix.c (makefd_xprt): Likewise.
13061         * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
13062         * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
13063         (invalidate): Likewise.
13064         * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
13065         * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
13066         (set_input_fragment, get_input_bytes): Likewise.
13068 2017-08-31  Florian Weimer  <fweimer@redhat.com>
13070         * malloc/malloc.c (_int_free): Remove locked variable and related
13071         asserts.
13073 2017-08-31  H.J. Lu  <hongjiu.lu@intel.com>
13075         [BZ #22051]
13076         * Makerules (build-module-helper-objlist): Filter out
13077         $(elf-objpfx)sofini.os.
13078         (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
13079         needed.
13081 2017-08-31  Florian Weimer  <fweimer@redhat.com>
13083         * libio/fcloseall.c: Assume weak_alias is defined.
13084         * libio/feof.c: Likewise.
13085         * libio/fileno.c: Likewise.
13086         * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
13087         (_POSIX_SOURCE, open, lseek, read, write): Remove macro
13088         definitions.
13089         (_IO_file_open): Call __open directly.
13090         (_IO_new_file_sync): Assume ESPIPE is defined.
13091         (_IO_file_seekoff_maybe_mmap): Call __read directly.
13092         (_IO_new_file_write): Call __write directly.
13093         * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
13094         * libio/ftello64.c (__ftello64): Assume EIO is defined.
13095         * libio/genops.c: Assume _LIBC is defined.
13096         (save_for_backup): Remove internal_function.
13097         * libio/getc.c: Assume weak_alias is defined.
13098         * libio/getwc.c: Likewise.
13099         * libio/iofclose.c: Assume _LIBC is defined.
13100         * libio/iofdopen.c: Likewise.
13101         (_IO_fcntl): Remove macro definition.
13102         (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
13103         Call __fcntl directly.
13104         * libio/iofflush.c: Assume weak_alias is defined.
13105         * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
13106         defined.
13107         * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
13108         * libio/iofgets.c: Likewise.
13109         * libio/iofopen.c: Assume _LIBC is defined.
13110         * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
13111         * libio/iofputs.c: Assume weak_alias is defined.
13112         * libio/iofread.c: Likewise.
13113         * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
13114         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13115         * libio/ioftell.c: Assume weak_alias is defined.
13116         (_IO_ftell): Assume EIO, EOVERFLOW are defined.
13117         * libio/iofwide.c: Assume _LIBC is defined.
13118         (_IO_fwide): Drop SHARED conditional because it is implied by
13119         SHLIB_COMPAT.
13120         * libio/iofwrite.c: Assume weak_alias is defined.
13121         * libio/iogetdelim.c: Likewise.
13122         * libio/iogets.c: Assume _LIBC, weak_alias are defined.
13123         * libio/iogetwline.c (wmemcpy): Remove macro definition.
13124         (_IO_getwline): Call __wmemcpy directly.
13125         * libio/iopopen.c: Assume _LIBC is defined.
13126         (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
13127         (_IO_close): Remove macro definitions.
13128         (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
13129         _exit directly.
13130         (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
13131         directly.
13132         * libio/ioputs.c: Assume weak_alias is defined.
13133         * libio/ioseekoff.c: Assume errno, __set_errno are defined.
13134         * libio/iosetbuffer.c: Assume weak_alias is defined.
13135         * libio/iosetvbuf.c: Likewise.
13136         * libio/ioungetc.c: Likewise.
13137         * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
13138         libc_hidden_def, libc_hidden_weak, NULL are defined.
13139         (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
13140         * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
13141         defined.
13142         (_POSIX_SOURCE, open, lseek, read, write): Remove macro
13143         definitions.
13144         (_IO_old_file_init_internal): Drop SHARED conditional because it
13145         is implied by SHLIB_COMPAT.
13146         (_IO_old_file_fopen): Call __open directly.
13147         (_IO_old_file_sync): Assume ESPIPE is defined.
13148         (_IO_old_file_write): Call __write directly.
13149         * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
13150         (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
13151         Call __fcntl directly.
13152         * libio/oldiofgetpos.c: Assume weak_alias is defined.
13153         (_IO_old_fgetpos): Assume EIO is defined.
13154         * libio/oldiofgetpos64.c: Assume weak_alias is defined.
13155         (_IO_old_fgetpos64): Assume EIO is defined.
13156         * libio/oldiofsetpos.c: Assume weak_alias is defined.
13157         (_IO_old_fsetpos): Assume EIO is defined.
13158         * libio/oldiofsetpos64.c: Assume weak_alias is defined.
13159         (_IO_old_fsetpos64): Assume EIO is defined.
13160         * libio/oldiopopen.c:  Assume _LIBC is defined.
13161         (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
13162         (_IO_close): Remove macro definitions.
13163         (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
13164         directly.
13165         (_IO_old_proc_close): Call __close, __waitpid directly.
13166         * libio/put.c: Assume weak_alias is defined.
13167         * libio/stdfiles.c: Assume _LIBC is defined.
13168         * libio/stdio.c: Likewise.
13169         * libio/wfileops.c: Likewise.
13170         (_IO_wfile_sync): Assume ESPIPE is defined.
13171         * libio/wgenops.c: Assume _LIBC is defined.
13172         (save_for_wbackup): Remove internal_function.
13174 2017-08-31  Florian Weimer  <fweimer@redhat.com>
13176         * malloc/malloc.c (top_check): Change return type to void.  Remove
13177         internal_function.
13178         * malloc/hooks.c (top_check): Likewise.
13179         (malloc_check, realloc_check, memalign_check): Adjust.
13181 2017-08-30  Joseph Myers  <joseph@codesourcery.com>
13183         [BZ #21457]
13184         * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
13185         * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
13186         sigcontext and namespace requirements.
13187         * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
13188         * sysdeps/m68k/sys/ucontext.h: Likewise.
13189         * sysdeps/mips/sys/ucontext.h: Likewise.  Include <bits/types.h>.
13190         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
13191         <bits/sigcontext.h>.
13192         (__ctx): Define earlier.
13193         (mcontext_t): Define structure contents rather than using struct
13194         sigcontext.
13195         * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
13196         __glibc_reserved1 instead of __reserved.
13197         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
13198         <bits/sigcontext.h>.
13199         (__ctx): Define earlier.
13200         (mcontext_t): Define structure contents rather than using struct
13201         sigcontext.
13202         * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
13203         mcontext_t instead of struct sigcontext.
13204         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
13205         <bits/sigcontext.h>.
13206         (__ctx): Define earlier.
13207         (mcontext_t): Define structure contents rather than using struct
13208         sigcontext.
13209         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
13210         <bits/sigcontext.h>.
13211         (__ctx): Define earlier.
13212         (mcontext_t): Define structure contents rather than using struct
13213         sigcontext.
13214         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
13215         mcontext_t instead of struct sigcontext.
13216         * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
13217         mcontext_t instead of struct sigcontext.
13218         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
13219         <bits/sigcontext.h>.
13220         (__ctx): New macro.
13221         (struct __ia64_fpreg_mcontext): New type.
13222         (mcontext_t): Define structure contents rather than using struct
13223         sigcontext.
13224         (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
13225         (uc_sigmask): Define using __ctx.
13226         (uc_stack): Likewise.
13227         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
13228         <bits/sigcontext.h>.
13229         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13230         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
13231         <bits/sigcontext.h>.
13232         * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
13233         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
13234         <bits/sigcontext.h>.
13235         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
13236         <bits/sigcontext.h>.
13237         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
13238         <bits/sigcontext.h>.
13239         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
13240         <bits/sigcontext.h>.
13241         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
13242         <bits/sigcontext.h>.
13243         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
13244         <bits/sigcontext.h>.
13245         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
13246         <bits/sigcontext.h>.
13247         (__ctx): Define earlier.
13248         (mcontext_t): Define structure contents rather than using struct
13249         sigcontext.
13250         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
13251         <bits/sigcontext.h>.  Include <bits/types.h>.
13252         * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
13253         (test-xfail-XPG42/sys/wait.h/conform): Likewise.
13254         (test-xfail-XPG42/ucontext.h/conform): Likewise.
13255         (test-xfail-UNIX98/signal.h/conform): Likewise.
13256         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13257         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13258         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13259         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13260         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13261         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13262         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13263         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13264         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13266 2017-08-30  Florian Weimer  <fweimer@redhat.com>
13268         * malloc/dynarray_emplace_enlarge.c
13269         (__libc_dynarray_emplace_enlarge): Set errno on overflow.
13270         * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
13271         * malloc/tst-dynarray.c (test_long_overflow): New function.
13272         (do_test): Call it.
13274 2017-08-30  Florian Weimer  <fweimer@redhat.com>
13276         * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
13277         (set_arena_corrupt): Remove definitions.
13278         (mtrim): Do not check for corrupt arena.
13279         * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
13280         Likewise.
13282 2017-08-30  Florian Weimer  <fweimer@redhat.com>
13284         [BZ #21754]
13285         * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
13286         check_action.
13287         (ptmalloc_init): Do not set or use check_action.
13288         * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
13289         call to malloc_printerr.  Remove return statement.
13290         (free_check): Likewise.  Remove arena unlock.
13291         (top_check): Update comment.  Adjust call to malloc_printerr.
13292         Remove heap repair code.
13293         * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
13294         (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
13295         (sysmalloc): Adjust call to malloc_printerr.
13296         (munmap_chunk, __libc_realloc): Likewise.  Remove return
13297         statement.
13298         (_int_malloc, int_realloc): Likewise.  Remove errstr variable.
13299         Remove errout label and corresponding gotos.
13300         (_int_free): Likewise.  Remove arena unlock.
13301         (do_set_mallopt_check): Do not set check_action.
13302         (malloc_printerr): Adjust parameter list.  Do not mark arena as
13303         corrupt.
13304         * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
13305         comment.
13306         * manual/probes.texi (Memory Allocation Probes): Remove
13307         memory_mallopt_check_action.
13309 2017-08-30  Steve Ellcey  <sellcey@cavium.com>
13311         * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
13312         Use pointer to uint64_t instead of long int for sp.
13314 2017-08-30  Florian Weimer  <fweimer@redhat.com>
13316         [BZ #21754]
13317         * malloc/malloc.c (malloc_printerr): Always terminate the process,
13318         without printing a backtrace.  Do not leak any information in the
13319         error message.
13320         * manual/memory.texi (Heap Consistency Checking): Update.
13321         * manual/tunables.texi (Memory Allocation Tunables): Likewise.
13323 2017-08-30  Florian Weimer  <fweimer@redhat.com>
13325         Do not scale NPTL tests with available number of CPUs.
13326         * nptl/tst-cond16.c (count): Set to constant value of 8.
13327         * nptl/tst-cond18.c (count): Likewise.
13329 2017-08-29  Joseph Myers  <joseph@codesourcery.com>
13331         [BZ #22035]
13332         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
13333         Define to take a second argument that is a macro that
13334         concatentates a suffix, not the suffix itself.
13335         (__CONCAT_d): New macro.
13336         (__CONCAT_f): Likewise.
13337         (__CONCAT_l): Likewise.
13339 2017-08-29  Paul Pluzhnikov  <ppluzhnikov@google.com>
13341         * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
13342         by child.
13344 2017-08-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13345             Aurelien Jarno  <aurelien@aurel32.net>
13346             Maciej W. Rozycki  <macro@imgtec.com>
13348         [BZ #21956]
13349         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
13350         [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
13351         `mips16-syscall6' and `mips16-syscall7'.
13352         (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
13353         (CFLAGS-mips16-syscall7.c): Remove.
13354         * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
13355         Remove `__mips16_syscall5', `__mips16_syscall6' and
13356         `__mips16_syscall7'.
13357         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
13358         (__mips16_syscall0): Rename `__mips16_syscall_return' to
13359         `__mips_syscall_return'.
13360         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
13361         (__mips16_syscall1): Likewise.
13362         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
13363         (__mips16_syscall2): Likewise.
13364         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
13365         (__mips16_syscall3): Likewise.
13366         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
13367         (__mips16_syscall4): Likewise.
13368         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
13369         Remove.
13370         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
13371         Remove.
13372         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
13373         Remove.
13374         * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
13375         (__mips16_syscall5): Expand to `__mips_syscall5' rather than
13376         `__mips16_syscall5'.  Remove prototype.
13377         (__mips16_syscall6): Expand to `__mips_syscall6' rather than
13378         `__mips16_syscall6'.  Remove prototype.
13379         (__mips16_syscall7): Expand to `__mips_syscall7' rather than
13380         `__mips16_syscall7'.  Remove prototype.
13381         (__nomips16, __mips16_syscall_return): Move to...
13382         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
13383         (__nomips16, __mips_syscall_return): ... here.
13384         [__mips16] (INTERNAL_SYSCALL_NCS): Rename
13385         `__mips16_syscall_return' to `__mips_syscall_return'.
13386         [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
13387         `internal_syscall##nr'.
13388         [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
13389         `internal_syscall##nr'.
13390         (FORCE_FRAME_POINTER): Remove.
13391         (__mips_syscall5): New prototype.
13392         (internal_syscall5): Rewrite to call `__mips_syscall5'.
13393         (__mips_syscall6): New prototype.
13394         (internal_syscall6): Rewrite to call `__mips_syscall6'.
13395         (__mips_syscall7): New prototype.
13396         (internal_syscall7): Rewrite to call `__mips_syscall7'.
13397         * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
13398         * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
13399         * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
13400         * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
13401         (sysdep_routines): Add libc-do-syscall.
13402         * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
13403         `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
13405 2017-08-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13407         [BZ #21672]
13408         * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
13409         Set to use !NEED_SEPARATE_REGISTER_STACK as well.
13410         (advise_stack_range): New function.
13411         * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
13412         stack non required to advise_stack_range at allocatestack.c
13414 2017-08-29  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13416         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
13418 2017-08-29  Florian Weimer  <fweimer@redhat.com>
13420         [BZ #22026]
13421         * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
13422         __end_fct.  Mangle __end_fct after setting it to NULL.
13423         * iconv/Makefile (tests): Add tst-gconv-init-failure.
13424         (modules-names, modules-names-tests): Add
13425         tst-gconv-init-failure-mod.
13426         (gconv-modules): New target.
13427         (tst-gconv-init-failure-mod.so): Link against libsupport.
13428         (tst-gconv-init-failure): Depend on gconv-modules,
13429         tst-gconv-init-failure-mod.so.
13430         * iconv/tst-gconv-init-failure-mod.c: New file.
13431         * iconv/tst-gconv-init-failure.c: Likewise.
13432         * iconv/test-gconv-modules: Likewise.
13434 2017-08-29  Florian Weimer  <fweimer@redhat.com>
13436         [BZ #22025]
13437         * iconv/gconv_db.c (free_derivation): Remove redundant
13438         parentheses.
13439         (gen_steps): Unconditionally mangle __btowc_fct after
13440         initialization.
13441         (increment_counter): Likewise.  Do not call init_fct for internal
13442         modules.
13444 2017-08-29  Joseph Myers  <joseph@codesourcery.com>
13446         [BZ #22028]
13447         * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
13448         (_MSUF_): Remove macro.
13449         [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
13450         Likewise.
13451         [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
13452         (__REDIRFROM_X): New macro.
13453         [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
13454         Likewise.
13455         * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
13456         (__REDIRTO_X): Likewise.
13457         (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
13458         arguments.
13459         (__MATH_REDIRCALL_2): Likewise.
13460         (__MATH_REDIRCALL_INTERNAL): Likewise.
13461         (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13462         (__REDIRFROM (gamma, , _MSUF_)): Likweise.
13463         (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
13464         (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13465         * math/test-finite-macros.c: New file.
13466         * math/Makefile (tests): Add test-finite-macros.
13467         (CFLAGS-test-finite-macros.c): New variable.
13469 2017-08-29  Patsy Franklin  <pfrankli@redhat.com>
13470             Jeff Law  <law@redhat.com>
13472         [BZ #22025]
13473         Mangle NULL pointers in iconv/gconv.
13474         * iconv/gconv_cache.c (find_module): Demangle init_fct before
13475         checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
13476         * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
13477         is non-NULL before demangling the end_fct.  Check for NULL
13478         end_fct after demangling.
13479         (__gconv_release_step): Demangle the end_fct before checking
13480         it for NULL.   Remove assert on __shlibc_handle != NULL.
13481         (gen_steps): Don't check btowc_fct for NULL before mangling.
13482         Demangle init_fct before checking for NULL.
13483         (increment_counter): Likewise.
13484         * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
13485         end_fct for NULL before mangling.
13486         * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
13487         for NULL.
13489 2017-08-29  Akhilesh Kumar  <akhilesh.k@samsung.com>
13491         [BZ #21971]
13492         * locale/iso-639.def: add Morisyen.
13494 2017-08-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13496         [BZ #21930]
13497         * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
13498         (iszero): New C++ implementation that does not use
13499         fpclassify/__MATH_TG/__builtin_types_compatible_p, when
13500         signaling nans are enabled, since __builtin_types_compatible_p
13501         is a C-only feature.
13502         * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
13503         defined, include ieee754_float128.h for access to the union and
13504         member ieee854_float128.ieee.
13505         [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
13506         [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
13507         * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
13508         (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
13509         options of test-math-zero on powerpc64le.
13511 2017-08-28  H.J. Lu  <hongjiu.lu@intel.com>
13513         * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
13514         Change double to float.
13516 2017-08-28  Joseph Myers  <joseph@codesourcery.com>
13518         * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
13519         unconditional.
13520         * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
13521         conditional code; define contents only for [LIBM_SVID_COMPAT].
13523 2017-08-28  Florian Weimer  <fweimer@redhat.com>
13525         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
13526         (abi-lp64_be-options): Remove.
13527         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
13528         (abi-hard-options): Likewise.
13529         * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
13530         (abi-o32_hard-options, abi-o32_soft_2008-options)
13531         (abi-o32_hard_2008-options, abi-n32_soft-options)
13532         (abi-n32_hard-options, abi-n32_soft_2008-options)
13533         (abi-n32_hard_2008-options, abi-n64_soft-options)
13534         (abi-n64_hard-options, abi-n64_soft_2008-options)
13535         (abi-n64_hard_2008-options): Likewise.
13536         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
13537         (abi-64-v1-options, abi-64-v2-options): Likewise.
13538         * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
13539         (abi-64-options): Likewise.
13540         * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
13541         (abi-64-options): Likewise.
13542         * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
13543         (abi-64-options): Likewise.
13544         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
13545         (abi-64-options, abi-x32-options): Likewise.
13547 2017-08-28  Florian Weimer  <fweimer@redhat.com>
13549         Store supported list of SYS_* system calls in the source tree.
13550         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
13551         (bits/syscall.h): Generate from list file.
13552         [$(subdir) = misc] (before-compile): Add bits/syscall.h.
13553         [$(subdir) = misc] (tests): Add tst-syscall-list.
13554         [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
13555         [$(subdir) = misc] (tst-syscall-list-macros.list)
13556         [$(subdir) = misc] (tst-syscall-list-nr.list)
13557         (tst-syscall-list-sys.list): Helper targets for new
13558         tst-syscall-list test.
13559         [$(subdir) = misc] (tst-syscall-list.out): Run test script
13560         tst-syscall-list.sh.
13561         [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
13562         target. Do not include bits/syscall.d.
13563         [$(subdir) = misc] (generated): Do not update.
13564         * sysdeps/unix/sysv/linux/syscall-names.list: New file.
13565         * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
13566         * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
13567         * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
13569 2017-08-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13571         * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
13572         (tst-cxa_atexit, tst-on_exit): Likewise.
13573         * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
13574         tst-cxa_atexit, and tst-on_exit.
13575         * stdlib/tst-atexit-common.c: New file.
13576         * stdlib/tst-atexit.c: New file.
13577         * stdlib/tst-at_quick_exit.c: New file.
13578         * stdlib/tst-cxa_atexit.c: New file.
13579         * stdlib/tst-on_exit.c: New file.
13581 2017-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13583         * sysdeps/mach/hurd/bits/sysmacros.h: New file.
13584         * mach/stack_chk_fail_local.c: New file.
13585         * hurd/stack_chk_fail_local.c: New file.
13586         * mach/Machrules ($(interface-library)-routines): Add
13587         stack_chk_fail_local.
13588         * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
13589         CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
13590         CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
13591         CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
13592         * hurd/Makefile (CFLAGS-hurdstartup.o,
13593         CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
13595 2017-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13597         * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13598         (index_cpu_*, index_arch_*): Removed.
13600 2017-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13602         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
13603         Use uint64_t instead of unsigned long.
13605 2017-08-25  Joseph Myers  <joseph@codesourcery.com>
13607         * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
13608         [__HAVE_DISTINCT_FLOAT128].
13610         * math/math.h (_MSUFTO_): Define and undefine for each inclusion
13611         of <bits/math-finite.h>.
13612         (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
13613         inclusion of <bits/math-finite.h>.
13614         * math/bits/math-finite.h (__REDIRTO_X): Do not define
13615         conditionally on [__MATH_DECLARING_LDOUBLE && defined
13616         __NO_LONG_DOUBLE_MATH].
13617         (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
13618         (__MATH_REDIRCALL_2): Likewise.
13619         (__MATH_REDIRCALL_INTERNAL): Likewise.
13620         (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13621         (__REDIRFROM (gamma, , _MSUF_)): Likewise.
13622         (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
13625         Remove file.
13626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
13627         Likewise.
13628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
13629         Likewise.
13630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
13631         Likewise.
13632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
13633         Likewise.
13634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
13635         Likewise.
13636         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
13637         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
13638         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
13639         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
13640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13641         (libm-sysdep-routines): Remove w_sqrt_compat-power5,
13642         w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
13643         w_sqrtf_compat-ppc32.
13645 2017-08-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13647         * math/math.h [defined __cplusplus] (issignaling): In the long
13648         double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
13649         is not defined.  Call __issignaling, otherwise.
13651 2017-08-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13653         * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
13654         syscall definitions and replace __builtin_expect with __glibc_likely.
13655         * sysdeps/unix/syscall-template.S: Update comment about cancellable
13656         syscall.
13657          (SYSCALL_CANCELLABLE): Removedefinition
13658         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
13659         definition.
13660         (PSEUDO_END): Likewise.
13661         [IS_IN (libpthread)] (CENABLE): Likewise.
13662         [IS_IN (libpthread)] (CDISABLE): Likewise.
13663         [IS_IN (libc)] (CENABLE): Likewise.
13664         [IS_IN (libc)] (CENABLE): Likewise.
13665         [IS_IN (librt)] (CDISABLE): Likewise.
13666         [IS_IN (librt)] (CDISABLE): Likewise.
13667         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13668         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
13669         definition.
13670         (PSEUDO_END): Likewise.
13671         [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
13672         [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
13673         [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13674         [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13675         [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13676         [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13677         (CENABLE): Likewise.
13678         (CDISABLE): Likewise.
13679         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13680         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
13681         defintion.
13682         (PSEUDO_END): Likewise.
13683         [IS_IN (libpthread)] (CENABLE): Likewise.
13684         [IS_IN (libpthread)] (CDISABLE): Likewise.
13685         [IS_IN (libc)] (CENABLE): Likewise.
13686         [IS_IN (libc)] (CENABLE): Likewise.
13687         [IS_IN (librt)] (CDISABLE): Likewise.
13688         [IS_IN (librt)] (CDISABLE): Likewise.
13689         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13690         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
13691         definition.
13692         (PSEUDO_END): Likewise.
13693         [IS_IN (libpthread)] (CENABLE): Likewise.
13694         [IS_IN (libpthread)] (CDISABLE): Likewise.
13695         [IS_IN (libc)] (CENABLE): Likewise.
13696         [IS_IN (libc)] (CENABLE): Likewise.
13697         [IS_IN (librt)] (CDISABLE): Likewise.
13698         [IS_IN (librt)] (CDISABLE): Likewise.
13699         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13700         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
13701         definition.
13702         (PSEUDO_END): Likewise.
13703         [IS_IN (libpthread)] (CENABLE): Likewise.
13704         [IS_IN (libpthread)] (CDISABLE): Likewise.
13705         [IS_IN (libc)] (CENABLE): Likewise.
13706         [IS_IN (libc)] (CENABLE): Likewise.
13707         [IS_IN (librt)] (CDISABLE): Likewise.
13708         [IS_IN (librt)] (CDISABLE): Likewise.
13709         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13710         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
13711         definition.
13712         (PSEUDO_END): Likewise.
13713         [IS_IN (libpthread)] (CENABLE): Likewise.
13714         [IS_IN (libpthread)] (CDISABLE): Likewise.
13715         [IS_IN (libc)] (CENABLE): Likewise.
13716         [IS_IN (libc)] (CENABLE): Likewise.
13717         [IS_IN (librt)] (CDISABLE): Likewise.
13718         [IS_IN (librt)] (CDISABLE): Likewise.
13719         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13720         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
13721         definition.
13722         (PSEUDO_END): Likewise.
13723         [IS_IN (libpthread)] (CENABLE): Likewise.
13724         [IS_IN (libpthread)] (CDISABLE): Likewise.
13725         [IS_IN (libc)] (CENABLE): Likewise.
13726         [IS_IN (libc)] (CENABLE): Likewise.
13727         [IS_IN (librt)] (CDISABLE): Likewise.
13728         [IS_IN (librt)] (CDISABLE): Likewise.
13729         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13730         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
13731         definition.
13732         (PSEUDO_END): Likewise.
13733         [IS_IN (libpthread)] (CENABLE): Likewise.
13734         [IS_IN (libpthread)] (CDISABLE): Likewise.
13735         [IS_IN (libc)] (CENABLE): Likewise.
13736         [IS_IN (libc)] (CENABLE): Likewise.
13737         [IS_IN (librt)] (CDISABLE): Likewise.
13738         [IS_IN (librt)] (CDISABLE): Likewise.
13739         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13740         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
13741         Remove definition.
13742         (PSEUDO_END): Likewise.
13743         [IS_IN (libpthread)] (CENABLE): Likewise.
13744         [IS_IN (libpthread)] (CDISABLE): Likewise.
13745         [IS_IN (libc)] (CENABLE): Likewise.
13746         [IS_IN (libc)] (CENABLE): Likewise.
13747         [IS_IN (librt)] (CDISABLE): Likewise.
13748         [IS_IN (librt)] (CDISABLE): Likewise.
13749         (SINGLE_THREAD_P): Likewise.
13750         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
13751         definition.
13752         (PSEUDO_END): Likewise.
13753         [IS_IN (libpthread)] (CENABLE): Likewise.
13754         [IS_IN (libpthread)] (CDISABLE): Likewise.
13755         [IS_IN (libc)] (CENABLE): Likewise.
13756         [IS_IN (libc)] (CENABLE): Likewise.
13757         [IS_IN (librt)] (CDISABLE): Likewise.
13758         [IS_IN (librt)] (CDISABLE): Likewise.
13759         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13760         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
13761         definition.
13762         (PSEUDO_END): Likewise.
13763         [IS_IN (libpthread)] (CENABLE): Likewise.
13764         [IS_IN (libpthread)] (CDISABLE): Likewise.
13765         [IS_IN (libc)] (CENABLE): Likewise.
13766         [IS_IN (libc)] (CENABLE): Likewise.
13767         [IS_IN (librt)] (CDISABLE): Likewise.
13768         [IS_IN (librt)] (CDISABLE): Likewise.
13769         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13770         * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
13771         * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13772         * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
13773         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
13774         definition.
13775         (PSEUDO_END): Likewise.
13776         [IS_IN (libpthread)] (CENABLE): Likewise.
13777         [IS_IN (libpthread)] (CDISABLE): Likewise.
13778         [IS_IN (libc)] (CENABLE): Likewise.
13779         [IS_IN (libc)] (CENABLE): Likewise.
13780         [IS_IN (librt)] (CDISABLE): Likewise.
13781         [IS_IN (librt)] (CDISABLE): Likewise.
13782         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
13784         definition.
13785         (PSEUDO_END): Likewise.
13786         [IS_IN (libpthread)] (CENABLE): Likewise.
13787         [IS_IN (libpthread)] (CDISABLE): Likewise.
13788         [IS_IN (libc)] (CENABLE): Likewise.
13789         [IS_IN (libc)] (CENABLE): Likewise.
13790         [IS_IN (librt)] (CDISABLE): Likewise.
13791         [IS_IN (librt)] (CDISABLE): Likewise.
13792         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13793         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
13794         definition.
13795         (PSEUDO_END): Likewise.
13796         [IS_IN (libpthread)] (CENABLE): Likewise.
13797         [IS_IN (libpthread)] (CDISABLE): Likewise.
13798         [IS_IN (libc)] (CENABLE): Likewise.
13799         [IS_IN (libc)] (CENABLE): Likewise.
13800         [IS_IN (librt)] (CDISABLE): Likewise.
13801         [IS_IN (librt)] (CDISABLE): Likewise.
13802         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13803         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
13804         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13805         * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
13806         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
13807         definition.
13808         (PSEUDO_END): Likewise.
13809         [IS_IN (libpthread)] (CENABLE): Likewise.
13810         [IS_IN (libpthread)] (CDISABLE): Likewise.
13811         [IS_IN (libc)] (CENABLE): Likewise.
13812         [IS_IN (libc)] (CENABLE): Likewise.
13813         [IS_IN (librt)] (CDISABLE): Likewise.
13814         [IS_IN (librt)] (CDISABLE): Likewise.
13815         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13816         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
13817         definition.
13818         (PSEUDO_END): Likewise.
13819         [IS_IN (libpthread)] (CENABLE): Likewise.
13820         [IS_IN (libpthread)] (CDISABLE): Likewise.
13821         [IS_IN (libc)] (CENABLE): Likewise.
13822         [IS_IN (libc)] (CENABLE): Likewise.
13823         [IS_IN (librt)] (CDISABLE): Likewise.
13824         [IS_IN (librt)] (CDISABLE): Likewise.
13825         [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13827 2017-08-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13829         * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
13831 2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
13833         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13835 2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
13837         [BZ #21982]
13838         * string/stratcliff.c (do_test): Declare size, nchars, inner,
13839         middle and outer with size_t instead of int.  Repleace %d and
13840         %Zd with %zu in printf.  Update "MAX (0, nchars - 128)" and
13841         "MAX (outer, nchars - 64)" to support unsigned outer and
13842         nchars.  Also exit loop when outer == 0.
13844 2017-08-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13846         * include/fcntl.h (__fcntl_nocancel): Remove definition.
13847         * include/signal.h (__sigsuspend_nocancel): Likewise.
13848         * include/time.h (__nanosleep_nocancel): Likewise.
13849         * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
13850         * login/utmp_file.c: Include non cancellable syscall header.
13851         * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
13852         prototype.
13854 2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
13856         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
13857         .byte sequences with AVX512F instructions.
13858         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
13859         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13860         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13861         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
13862         Likewise.
13863         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13864         Likewise.
13866 2017-08-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13867             Steve Ellcey  <sellcey@cavium.com>
13869         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
13870         Use PTR_REG macro in cmp instruction.
13872 2017-08-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13874         * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
13875         Change the return type of the ifunc resolver to match the return
13876         type of the target function.
13878 2017-08-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13880         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
13881         (preadv64): Likewise.
13882         (pwrite64(: Likewise.
13883         (pwritev64): Likewise.
13885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13886         (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
13887         (LOAD_ARGS_0): Likewise.
13888         (LOAD_ARGS_1): Likewise.
13889         (LOAD_ARGS_2): Likewise.
13890         (LOAD_ARGS_3): Likewise.
13891         (LOAD_ARGS_4): Likewise.
13892         (LOAD_ARGS_5): Likewise.
13893         (LOAD_ARGS_6): Likewise.
13894         (LOAD_REGS_0): Likewise.
13895         (LOAD_REGS_1): Likewise.
13896         (LOAD_REGS_2): Likewise.
13897         (LOAD_REGS_3): Likewise.
13898         (LOAD_REGS_4): Likewise.
13899         (LOAD_REGS_5): Likewise.
13900         (LOAD_REGS_6): Likewise.
13901         (ASM_ARGS_0): Likewise.
13902         (ASM_ARGS_1): Likewise.
13903         (ASM_ARGS_2): Likewise.
13904         (ASM_ARGS_3): Likewise.
13905         (ASM_ARGS_4): Likewise.
13906         (ASM_ARGS_5): Likewise.
13907         (ASM_ARGS_6): Likewise.
13908         (LOAD_ARGS_TYPES_1): Likewise.
13909         (LOAD_ARGS_TYPES_2): Likewise.
13910         (LOAD_ARGS_TYPES_3): Likewise.
13911         (LOAD_ARGS_TYPES_4): Likewise.
13912         (LOAD_ARGS_TYPES_5): Likewise.
13913         (LOAD_ARGS_TYPES_6): Likewise.
13914         (LOAD_REGS_TYPES_1): Likewise.
13915         (LOAD_REGS_TYPES_2): Likewise.
13916         (LOAD_REGS_TYPES_3): Likewise.
13917         (LOAD_REGS_TYPES_4): Likewise.
13918         (LOAD_REGS_TYPES_5): Likewise.
13919         (LOAD_REGS_TYPES_6): Likewise.
13920         (TYPEFY): New define.
13921         (ARGIFY): Likewise.
13922         (internal_syscall0): Likewise.
13923         (internal_syscall1): Likewise.
13924         (internal_syscall2): Likewise.
13925         (internal_syscall3): Likewise.
13926         (internal_syscall4): Likewise.
13927         (internal_syscall5): Likewise.
13928         (internal_syscall6): Likewise.
13929         * sysdeps/unix/sysv/linux/x86_64/x32/times.c
13930         (INTERNAL_SYSCALL_NCS): Remove define.
13931         (internal_syscall1): Add define.
13933 2017-08-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13935         * math/w_remainder_compat.c: Remove duplicate inclusion of
13936         math-svid-compat.h.
13937         * math/w_remainderf_compat.c: Likewise.
13938         * math/w_remainderl_compat.c: Likewise.
13940 2017-08-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13944 2017-08-22  Joseph Myers  <joseph@codesourcery.com>
13946         [BZ #21684]
13947         * math/tgmath.h (__floating_type): Simplify definitions.
13948         (__real_integer_type): New macro.
13949         (__complex_integer_type): Likewise.
13950         (__expr_is_real): Likewise.
13951         (__tgmath_real_type_sub): Update comment to describe handling of
13952         complex types.
13953         (__tgmath_complex_type_sub): New macro.
13954         (__tgmath_complex_type): Likewise.
13955         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13956         (__TGMATH_CF128): Use __expr_is_real.
13957         (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
13958         __expr_is_real.
13959         (__TGMATH_BINARY_REAL_IMAG): Likewise.
13960         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
13961         * math/gen-tgmath-tests.py (Type.create_type): Create complex
13962         integer types.
13964 2017-08-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13966         * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
13967         macro.
13968         * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
13969         alias.
13970         * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
13971         Likewise.
13973         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
13974         nanosleep_not_cancel with __nanosleep_nocancel.
13975         * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
13976         (__nanosleep_nocancel): New macro.
13977         * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
13978         function.
13979         * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
13980         macro.
13981         (__nanosleep_nocancel): New prototype.
13983         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
13984         pause_not_cancel with __pause_nocancel.
13985         * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
13986         (__pause_nocancel): New macro.
13987         * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
13988         macro.
13989         (__pause_nocancel): New prototype.
13990         * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
13992 2017-08-22  Martin Sebor  <msebor@redhat.com>
13994         * include/libc-symbols.h (__ifunc_resolver): Declare resolver
13995         to return a pointer to the same type as the target function.
13997 2017-08-22  H.J. Lu  <hongjiu.lu@intel.com>
13999         [BZ #18822]
14000         [BZ #21986]
14001         * include/printf.h (__printf_fphex): Add attribute_hidden.
14002         (__guess_grouping): New prototype.
14003         * stdio-common/printf_fp.c (__guess_grouping): Removed.
14004         * stdio-common/reg-printf.c (__register_printf_specifier): Add
14005         libc_hidden_proto and libc_hidden_def.
14006         * stdlib/strfmon_l.c (__guess_grouping): Removed.
14007         (__vstrfmon_l): Remove the third argument passed to
14008         __guess_grouping.
14010 2017-08-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14012         * math/math.h [defined __cplusplus] (issignaling): Provide a C++
14013         definition for issignaling that does not rely on __MATH_TG,
14014         since __MATH_TG uses __builtin_types_compatible_p, which is only
14015         available in C mode.
14016         (CFLAGS-test-math-issignaling.cc): New variable.
14017         * math/Makefile [CXX] (tests): Add test-math-issignaling.
14018         * math/test-math-issignaling.cc: New test for C++ implementation
14019         of type-generic issignaling.
14020         * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
14021         (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
14022         options of test-math-issignaling on powerpc64le.
14024 2017-08-22  H.J. Lu  <hongjiu.lu@intel.com>
14026         * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
14027         building libc.a.
14028         (hidden_proto): Likewise.
14029         (hidden_tls_proto): Likewise.
14030         (__hidden_proto): Likewise.
14032 2017-08-22  Florian Weimer  <fweimer@redhat.com>
14034         math: Statically link tests of internal functionality.
14035         * math/Makefile (tests): Remove atest-exp, atest-sincos,
14036         atest-exp2.
14037         (tests-static): Add atest-exp, atest-sincos, atest-exp2.
14038         (gmp-objs): Remove assignment.
14039         (atest-exp, atest-sincos, atest-exp2): Remove targets.
14041 2017-08-22  Joseph Myers  <joseph@codesourcery.com>
14043         [BZ #21987]
14044         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
14045         and copy to ...
14046         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
14047         ... here.
14048         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
14049         ... and here.
14051         * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
14052         variable definitions above inclusion of ../Rules.
14054 2017-08-21  Joseph Myers  <joseph@codesourcery.com>
14056         * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
14057         case calling __builtin_unreachable.
14059 2017-08-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14061         * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
14062         __waitpid_nocancel.
14063         * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
14064         (__waitpid_nocancel): New macro.
14065         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
14066         macro.
14067         (__waitpid_nocancel): Replace macro with a function.
14068         * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
14069         function.
14071         * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
14072         __fcntl_nocancel.
14073         * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
14074         * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
14076         * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
14077         __writev_nocancel_nostatus.
14078         (write_call_graph): Likewise.
14079         (write_bb_counts): Likewise.
14080         * resolv/herror.c (herror): Likewise.
14081         * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
14082         macro.
14083         (__writev_nocancel_nostatus): New macro.
14084         * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
14085         Remove macro.
14086         (__writev_nocancel_nostatus): New function.
14088 2017-08-21  Joseph Myers  <joseph@codesourcery.com>
14090         Revert:
14091         2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
14093         * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
14094         building libc.a.
14095         (hidden_proto): Likewise.
14096         (hidden_tls_proto): Likewise.
14097         (__hidden_proto): Likewise.
14099         [BZ #21973]
14100         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
14101         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
14102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
14103         Likewise.
14104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
14105         Likewise.
14106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
14107         Likewise.
14108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
14109         Likewise.
14110         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
14111         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
14112         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
14113         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
14114         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14115         GLIBC_2.0 sqrtl symbol.
14117         * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
14118         [__USE_MISC] (_LIB_VERSION): Likewise.
14119         [__USE_MISC] (struct exception): Likewise.
14120         [__USE_MISC] (matherr): Likewise.
14121         [__USE_MISC] (DOMAIN): Likewise.
14122         [__USE_MISC] (SING): Likewise.
14123         [__USE_MISC] (OVERFLOW): Likewise.
14124         [__USE_MISC] (UNDERFLOW): Likewise.
14125         [__USE_MISC] (TLOSS): Likewise.
14126         [__USE_MISC] (PLOSS): Likewise.
14127         [__USE_MISC] (HUGE): Likewise.
14128         [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
14129         * math/math-svid-compat.h: New file.
14130         * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
14131         and matherrl.
14132         * include/math.h [!_ISOMAC] (__matherr): Remove.
14133         * manual/arith.texi (FP Exceptions): Do not document matherr.
14134         * math/Makefile (tests): Change test-matherr to test-matherr-3.
14135         (tests-internal): New variable.
14136         (install-lib): Do not add libieee.a.
14137         (non-lib.a): Likewise.
14138         (extra-objs): Do not add libieee.a and ieee-math.o.
14139         (CPPFLAGS-s_lib_version.c): Remove variable.
14140         ($(objpfx)libieee.a): Remove rule.
14141         ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
14142         * math/ieee-math.c: Remove.
14143         * math/libm-test-support.c (matherr): Remove.
14144         * math/test-matherr.c: Use <support/test-driver.c>.  Add copyright
14145         and license notices.  Include <math-svid-compat.h> and
14146         <shlib-compat.h>.
14147         (matherr): Undefine as macro.  Use compat_symbol_reference.
14148         (_LIB_VERSION): Likewise.
14149         * math/test-matherr-2.c: New file.
14150         * math/test-matherr-3.c: Likewise.
14151         * sysdeps/generic/math_private.h (__kernel_standard): Remove
14152         declaration.
14153         (__kernel_standard_f): Likewise.
14154         (__kernel_standard_l): Likewise.
14155         * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
14156         <math_private.h>.  Include <math-svid-compat.h>.
14157         (_LIB_VERSION): Undefine as macro.
14158         (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_.  Define
14159         only if [LIBM_SVID_COMPAT || !defined SHARED].  If
14160         [LIBM_SVID_COMPAT], use compat_symbol.
14161         * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
14162         <math_private.h>.  Include <math-svid-compat.h>.
14163         (matherr): Undefine as macro.
14164         (__matherr): Define only if [LIBM_SVID_COMPAT].  Use
14165         compat_symbol.
14166         * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
14167         [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
14168         compat_symbol_reference.
14169         [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
14170         [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
14171         [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
14172         * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
14173         (MATHERR_D): Remove declaration.
14174         [!_LIBC] (_LIB_VERSION_TYPE): Likewise
14175         [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
14176         [LIBM_BUILD] (pmatherrf): Likewise.
14177         [LIBM_BUILD] (pmatherr): Likewise.
14178         [LIBM_BUILD] (pmatherrl): Likewise.
14179         (DOMAIN): Likewise.
14180         (SING): Likewise.
14181         (OVERFLOW): Likewise.
14182         (UNDERFLOW): Likewise.
14183         (TLOSS): Likewise.
14184         (PLOSS): Likewise.
14185         * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
14186         (__matherrf): Define only if [LIBM_SVID_COMPAT].  Use
14187         compat_symbol.
14188         * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
14189         (__matherrl): Define only if [LIBM_SVID_COMPAT].  Use
14190         compat_symbol.
14191         * math/lgamma-compat.h: Include <math-svid-compat.h>.
14192         * math/w_acos_compat.c: Likewise.
14193         * math/w_acosf_compat.c: Likewise.
14194         * math/w_acosh_compat.c: Likewise.
14195         * math/w_acoshf_compat.c: Likewise.
14196         * math/w_acoshl_compat.c: Likewise.
14197         * math/w_acosl_compat.c: Likewise.
14198         * math/w_asin_compat.c: Likewise.
14199         * math/w_asinf_compat.c: Likewise.
14200         * math/w_asinl_compat.c: Likewise.
14201         * math/w_atan2_compat.c: Likewise.
14202         * math/w_atan2f_compat.c: Likewise.
14203         * math/w_atan2l_compat.c: Likewise.
14204         * math/w_atanh_compat.c: Likewise.
14205         * math/w_atanhf_compat.c: Likewise.
14206         * math/w_atanhl_compat.c: Likewise.
14207         * math/w_cosh_compat.c: Likewise.
14208         * math/w_coshf_compat.c: Likewise.
14209         * math/w_coshl_compat.c: Likewise.
14210         * math/w_exp10_compat.c: Likewise.
14211         * math/w_exp10f_compat.c: Likewise.
14212         * math/w_exp10l_compat.c: Likewise.
14213         * math/w_exp2_compat.c: Likewise.
14214         * math/w_exp2f_compat.c: Likewise.
14215         * math/w_exp2l_compat.c: Likewise.
14216         * math/w_fmod_compat.c: Likewise.
14217         * math/w_fmodf_compat.c: Likewise.
14218         * math/w_fmodl_compat.c: Likewise.
14219         * math/w_hypot_compat.c: Likewise.
14220         * math/w_hypotf_compat.c: Likewise.
14221         * math/w_hypotl_compat.c: Likewise.
14222         * math/w_j0_compat.c: Likewise.
14223         * math/w_j0f_compat.c: Likewise.
14224         * math/w_j0l_compat.c: Likewise.
14225         * math/w_j1_compat.c: Likewise.
14226         * math/w_j1f_compat.c: Likewise.
14227         * math/w_j1l_compat.c: Likewise.
14228         * math/w_jn_compat.c: Likewise.
14229         * math/w_jnf_compat.c: Likewise.
14230         * math/w_jnl_compat.c: Likewise.
14231         * math/w_lgamma_main.c: Likewise.
14232         * math/w_lgamma_r_compat.c: Likewise.
14233         * math/w_lgammaf_main.c: Likewise.
14234         * math/w_lgammaf_r_compat.c: Likewise.
14235         * math/w_lgammal_main.c: Likewise.
14236         * math/w_lgammal_r_compat.c: Likewise.
14237         * math/w_log10_compat.c: Likewise.
14238         * math/w_log10f_compat.c: Likewise.
14239         * math/w_log10l_compat.c: Likewise.
14240         * math/w_log2_compat.c: Likewise.
14241         * math/w_log2f_compat.c: Likewise.
14242         * math/w_log2l_compat.c: Likewise.
14243         * math/w_log_compat.c: Likewise.
14244         * math/w_logf_compat.c: Likewise.
14245         * math/w_logl_compat.c: Likewise.
14246         * math/w_pow_compat.c: Likewise.
14247         * math/w_powf_compat.c: Likewise.
14248         * math/w_powl_compat.c: Likewise.
14249         * math/w_remainder_compat.c: Likewise.
14250         * math/w_remainderf_compat.c: Likewise.
14251         * math/w_remainderl_compat.c: Likewise.
14252         * math/w_scalb_compat.c: Likewise.
14253         * math/w_scalbf_compat.c: Likewise.
14254         * math/w_scalbl_compat.c: Likewise.
14255         * math/w_sinh_compat.c: Likewise.
14256         * math/w_sinhf_compat.c: Likewise.
14257         * math/w_sinhl_compat.c: Likewise.
14258         * math/w_sqrt_compat.c: Likewise.
14259         * math/w_sqrtf_compat.c: Likewise.
14260         * math/w_sqrtl_compat.c: Likewise.
14261         * math/w_tgamma_compat.c: Likewise.
14262         * math/w_tgammaf_compat.c: Likewise.
14263         * math/w_tgammal_compat.c: Likewise.
14264         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
14265         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
14266         * sysdeps/ieee754/k_standard.c: Likewise.
14267         * sysdeps/ieee754/k_standardf.c: Likewise.
14268         * sysdeps/ieee754/k_standardl.c: Likewise.
14269         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
14270         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
14271         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
14272         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
14273         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
14274         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
14275         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
14276         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
14277         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
14278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
14279         Likewise.
14280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
14281         Likewise.
14282         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
14283         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
14284         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
14285         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
14287 2017-08-21  Florian Weimer  <fweimer@redhat.com>
14289         [BZ #21864]
14290         Do not compile benchmark helper objects with -DMODULE_NAME=libc.
14291         * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
14292         Move before inclusion of ../Rules.
14294 2017-08-21  Florian Weimer  <fweimer@redhat.com>
14296         [BZ #21972]
14297         * assert/assert.h (assert): Use static_cast (bool) for C++.
14298         Use the ternary operator in the warning branch for GNU C.
14299         * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
14300         (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
14301         (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
14302         (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
14303         * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
14305 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
14307         [BZ #18822]
14308         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14309         (__syscall_clock_gettime): Add attribute_hidden.
14310         * sysdeps/unix/sysv/linux/x86_64/makecontext.c
14311         (__start_context): Likewise.
14313 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
14315         * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
14316         building libc.a.
14317         (hidden_proto): Likewise.
14318         (hidden_tls_proto): Likewise.
14319         (__hidden_proto): Likewise.
14321 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
14323         * include/libc-symbols.h (attribute_hidden): Enable hidden
14324         visibility in libc.a compiled with PIE.
14326 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
14328         [BZ #18822]
14329         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
14330         Add attribute_hidden.
14332 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
14334         [BZ #21864]
14335         * Makerules (all-nonlib): Add $(others-extras).
14336         * catgets/Makefile (others-extras): New.
14337         * elf/Makefile (others-extras): Likewise.
14338         * nss/Makefile (others-extras): Likewise.
14340 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
14342         [BZ #18822]
14343         * csu/libc-start.c (__libc_multiple_libcs): Removed.
14344         * elf/dl-open.c: Include <libc-internal.h>.
14345         (__libc_multiple_libcs): Removed.
14346         * elf/dl-sysdep.c: Include <libc-internal.h> instead of
14347         <hp-timing.h>.
14348         * include/libc-internal.h (__libc_multiple_libcs): New.
14349         * misc/sbrk.c: Include <libc-internal.h>.
14350         (__libc_multiple_libcs): Removed.
14352 2017-08-21  H.J. Lu  <hongjiu.lu@intel.com>
14354         [BZ #18822]
14355         * grp/initgroups.c (__nss_group_database): Removed.
14356         (__nss_initgroups_database): Likewise.
14357         * nscd/gai.c (__nss_hosts_database): Likewise.
14358         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
14359         * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14360         * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14361         * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14362         * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
14363         * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
14364         attribute_hidden.
14365         * nss/nsswitch.c (__nss_database_custom): Define only if
14366         USE_NSCD is defined.
14367         (__nss_configure_lookup): Use __nss_database_custom only if
14368         USE_NSCD is defined.
14369         * nss/nsswitch.h (__nss_database_custom): Declare only if
14370         USE_NSCD is defined.  Add attribute_hidden.
14371         (__nss_setent): Add attribute_hidden.
14372         (__nss_endent): Likewise.
14373         (__nss_getent_r): Likewise.
14374         (__nss_getent): Likewise.
14375         (DEFINE_DATABASE): Declare __nss_##arg##_database.
14377 2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14379         [BZ #18822]
14380         * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
14381         libc_hidden_proto and libc_hidden_def.
14383 2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14385         [BZ #18822]
14386         * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
14387         Add libc_hidden_proto.
14388         * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
14389         Add libc_hidden_def.
14391 2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14393         [BZ #21974]
14394         * gmon/Makefile (routines): Remove bb_init_func and
14395         bb_exit_func.
14396         (elide-routines.os): Removed.
14397         * gmon/bb_exit_func.c: Likewise.
14398         * gmon/bb_init_func.c: Likewise.
14399         * include/sys/gmon.h (__bb): Likewise.
14400         (__bb_init_func): Likewise.
14401         (__bb_exit_func): Likewise.
14402         * sysdeps/alpha/bb_init_func.S: Likewise.
14404 2017-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14406         * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
14407         * include/setjmp.h (____longjmp_chk): Here.  Add
14408         attribute_hidden.
14410 2017-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14412         [BZ #18822]
14413         * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
14414         attribute_hidden.
14415         (__strspn_sse2): Likewise.
14417 2017-08-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14419         * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
14420         (close_not_cancel_no_status): Likewise.
14421         (__close_nocancel): New macro.
14422         (__close_nocancel_nostatus): Likewise.
14423         * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
14424         macro.
14425         (close_not_cancel): Likewise.
14426         (close_not_cancel_no_status): Likewise.
14427         (__close_nocancel): New prototype.
14428         (__close_nocancel_nostatus): New function.
14429         * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
14430         * catgets/open_catalog.c (__open_catalog): Replace
14431         close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
14432         * gmon/gmon.c (write_gmon): Likewise.
14433         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14434         * intl/loadmsgcat.c (close): Likewise.
14435         * io/ftw.c (open_dir_stream): Likewise.
14436         (ftw_startup): Likewise.
14437         * libio/fileops.c (_IO_file_open): Likewise.
14438         (_IO_file_close_mmap): Likewise.
14439         (_IO_file_close): Likewise.
14440         * libio/iopopen.c (_IO_dup2): Likewise.
14441         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14442         * locale/loadlocale.c (_nl_load_locale): Likewise.
14443         * login/utmp_file.c (pututline_file): Likewise.
14444         (endutent_file): Likewise.
14445         * misc/daemon.c (daemon): Likewise.
14446         * nscd/nscd_getai.c (__nscd_getai): Likewise.
14447         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14448         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
14449         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14450         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14451         * nscd/nscd_helper.c (open_socket): Likewise.
14452         (__nscd_open_socket): Likewise.
14453         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14454         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
14455         (__nscd_innetgr): Likewise.
14456         * nss/nss_db/db-open.c (internal_setent): Likewise.
14457         * resolv/res-close.c (__res_iclose): Likewise.
14458         * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
14459         * sysdeps/posix/closedir.c (__closedir): Likewise.
14460         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
14461         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14462         * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14463         (opendir_tail): Likewise.
14464         * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14465         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
14466         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14467         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14468         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14469         (gethostid): Likewise.
14470         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14471         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14472         Likewise.
14473         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14474         * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
14475         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14476         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14477         Likewise.
14478         * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
14479         * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
14480         * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14481         Likewise.
14482         * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
14483         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14484         Likewise.
14485         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14486         Likewise.
14487         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14488         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14489         * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14490         __close_nocancel.
14492         * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
14493         (openat_not_cancel_3): Likewise.
14494         (openat64_not_cancel_3): Likewise).
14495         (openat_not_cancel_3): Likewise).
14496         * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
14497         macro.
14498         (openat_not_cancel_3): Likewise.
14499         (openat64_not_cancel): Likewise.
14500         (openat64_not_cancel_3): Likewise.
14501         * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
14502         * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
14503         * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
14504         __open{64}_nocancel.
14505         * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14506         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14507         * sysdeps/posix/opendir.c (__opendirat): Likewise.
14509 2017-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14511         [BZ #18822]
14512         * include/argz.h (__argz_create_sep): New function prototype.
14513         (__argz_append): Likewise.
14514         (__argz_add): Likewise.
14515         (__argz_add_sep): Likewise.
14516         (__argz_delete): Likewise.
14517         (__argz_insert): Likewise.
14518         (__argz_replace): Likewise.
14519         * string/argz.h (__argz_create_sep): Removed.
14520         (__argz_append): Likewise.
14521         (__argz_add): Likewise.
14522         (__argz_add_sep): Likewise.
14523         (__argz_delete): Likewise.
14524         (__argz_insert): Likewise.
14525         (__argz_replace): Likewise.
14527 2017-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14529         * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
14530         (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
14531         (GNU_PROPERTY_STACK_SIZE): Likewie.
14532         (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
14533         (GNU_PROPERTY_LOPROC): Likewise.
14534         (GNU_PROPERTY_HIPROC): Likewise.
14535         (GNU_PROPERTY_LOUSER): Likewise.
14536         (GNU_PROPERTY_HIUSER): Likewise.
14537         (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
14538         (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
14539         (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
14540         (GNU_PROPERTY_X86_ISA_1_486): Likwise.
14541         (GNU_PROPERTY_X86_ISA_1_586): Likwise.
14542         (GNU_PROPERTY_X86_ISA_1_686): Likwise.
14543         (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
14544         (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
14545         (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
14546         (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
14547         (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
14548         (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
14549         (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
14550         (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
14551         (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
14552         (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
14553         (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
14554         (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
14555         (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
14556         (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
14557         (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
14558         (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
14559         (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
14561 2017-08-18  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14563         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
14564         in C++ mode.
14566 2017-08-18  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14568         [BZ #21930]
14569         * math/math.h (isinf): Check if in C or C++ mode before using
14570         __builtin_types_compatible_p, since this is a C mode feature.
14572 2017-08-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14574         * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
14575         (__write_nocancel): New macro.
14576         * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
14577         Rewrite as a function prototype.
14578         (write_not_cancel): Remove macro.
14579         * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
14580         * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
14581         (write_gmon): Likewise.
14582         * libio/fileops.c (_IO_new_file_write): Likewise.
14583         * login/utmp_file.c (pututline_file): Likewise.
14584         (updwtmp_file): Likewise.
14585         * stdio-common/psiginfo.c (psiginfo): Likewise.
14586         * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14587         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14588         * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14589         Likewise.
14590         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14591         Likewise.
14593         * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
14594         (__read_nocancel): New macro.
14595         * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14596         __read_nocancel.
14597         * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
14598         macro.
14599         (__read_nocancel): New prototype.
14600         * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
14601         * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
14602         with __read_nocancel.
14603         * intl/loadmsgcat.c (read): Likewise.
14604         * libio/fileops.c (_IO_file_read): Likewise.
14605         * locale/loadlocale.c (_nl_load_locale): Likewise.
14606         * login/utmp_file.c (getutent_r_file): Likewise.
14607         (internal_getut_r): Likewise.
14608         (getutline_r_file): Likewise.
14609         * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14610         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14611         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14612         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14613         Likewise.
14614         * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
14615         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14616         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14617         Likewise.
14618         * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14619         Likewise.
14620         * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14621         Likewise.
14622         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14623         Likewise.
14624         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14626 2017-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14628         [BZ #21966]
14629         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
14630         (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
14631         usable.
14633 2017-08-17  DJ Delorie  <dj@redhat.com>
14635         * bug17079.c: Update to new test harness.
14636         * test-digits-dots.c: Likewise.
14637         * test-netdb.c: Likewise.
14638         * tst-field.c: Likewise.
14639         * tst-nss-getpwent.c: Likewise.
14640         * tst-nss-static.c: Likewise.
14641         * tst-nss-test1.c: Likewise.
14642         * tst-nss-test2.c: Likewise.
14643         * tst-nss-test3.c: Likewise.
14644         * tst-nss-test4.c: Likewise.
14645         * tst-nss-test5.c: Likewise.
14647 2017-08-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14649         * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
14650         (open_not_cancel_2): Likewise.
14651         (open_nocancel): New macro.
14652         (open64_nocancel): Likewise.
14653         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
14654         (open_not_cancel_2): Likewise.
14655         (__open_nocancel): New prototype.
14656         (__open64_nocancel): Likewise.
14657         * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14658         __open_nocancel.
14659         * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
14660         * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
14661         * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
14662         with __open_nocancel.
14663         * csu/check_fds.c (check_one_fd): Likewise.
14664         * gmon/gmon.c (write_gmon): Likewise.
14665         * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
14666         * intl/loadmsgcat.c (open): Likewise.
14667         * libio/fileops.c (_IO_file_open): Likewise.
14668         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14669         * locale/loadlocale.c (_nl_load_locale): Likewise.
14670         * login/utmp_file.c (setutent_file): Likewise.
14671         * misc/daemon.c (daemon): Likewise.
14672         * nss/nss_db/db-open.c (internal_setent): Likewise.
14673         * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14674         * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
14675         * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14676         (__opendir): Likewise.
14677         * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14678         * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14679         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14680         (gethostid): Likewise.
14681         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14682         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14683         Likewise.
14684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14685         * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
14686         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14687         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14688         Likewise.
14689         * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14690         Likewise.
14691         * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14692         Likewise.
14693         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14694         Likewise.
14695         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14696         Likewise.
14697         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14698         Likewise.
14699         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14700         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14702 2017-08-17  Wilco Dijkstra  <wdijkstr@arm.com>
14704         * benchtests/bench-skeleton.c (main): Add support for
14705         latency benchmarking.
14706         * benchtests/scripts/bench.py: Add support for latency benchmarking.
14708 2017-08-17  H.J. Lu  <hongjiu.lu@intel.com>
14710         * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
14711         the startup object.
14713 2017-08-17  Florian Weimer  <fweimer@redhat.com>
14715         * include/sys/socket.h (__opensock): Remove internal_function.
14716         * socket/opensock.c (__opensock): Likewise.
14717         * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
14719 2017-08-16  Joseph Myers  <joseph@codesourcery.com>
14721         [BZ #21944]
14722         * signal/bits/types/__sigval_t.h: New file.
14723         * signal/Makefile (headers): Add bits/types/__sigval_t.h.
14724         * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
14725         and define sigval_t using __sigval_t.
14726         * include/bits/types/__sigval_t.h: New file.
14727         * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
14728         instead of <bits/types/__sigval_t.h>.
14729         (struct sigevent): Use __sigval_t instead of sigval_t.
14730         * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
14731         instead of <bits/types/__sigval_t.h>.
14732         (siginfo_t): Use __sigval_t instead of sigval_t.
14733         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
14734         <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14735         (struct sigevent): Use __sigval_t instead of sigval_t.
14736         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
14737         <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14738         (siginfo_t): Use __sigval_t instead of sigval_t.
14739         * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
14741 2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
14743         * NEWS: Remove "[Add new features here]" for 2.27.
14745 2017-08-16  Joseph Myers  <joseph@codesourcery.com>
14747         * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
14748         libc.so.
14750 2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
14752         * NEWS: Mention x86-64 FMA optimization.
14754 2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
14756         [BZ #21912]
14757         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14758         Add e_expf-fma.
14759         * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
14760         * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
14761         * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
14763 2017-08-16  Andreas Schwab  <schwab@suse.de>
14765         [BZ #16750]
14766         CVE-2009-5064
14767         * elf/ldd.bash.in: Never run file directly.
14769 2017-08-15  H.J. Lu  <hongjiu.lu@intel.com>
14771         [BZ #21955]
14772         * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
14773         (L(SP_INF_0)): Likewise.
14775 2017-08-15  Florian Weimer  <fweimer@redhat.com>
14777         * gmon/Makefile (tests-special): Add tst-gmon-prof only if
14778         run-built-tests.
14780 2017-08-15  Florian Weimer  <fweimer@redhat.com>
14782         Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
14783         * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
14784         BROKEN_THREAD_SIGNALS code.
14785         * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
14786         request_list): Remove caller_pid member used for
14787         BROKEN_THREAD_SIGNALS.
14788         [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
14789         * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
14790         Remove BROKEN_THREAD_SIGNALS support.
14791         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14792         * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
14794 2017-08-15  Florian Weimer  <fweimer@redhat.com>
14796         * gmon/Makefile (tests): Add tst-gmon.
14797         (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
14798         Set.
14799         (tests-special): Add tst-gmon-prof.out.
14800         (tst-gmon.out): Depend on clean-tst-gmon-data.
14801         (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
14802         * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
14803         * Makeconfig (+link-before-libc): Add CRT-* hook to override the
14804         startup object.
14805         * aclocal.m4 (GPROF): Set and substitute.
14806         * config.amke.in (GPROF): Set.
14807         * configure: Regenerate.
14809 2017-08-15  Gustavo Romero  <gromero@linux.vnet.ibm.com>
14811         * elf/elf.h A (NT_PPC_TAR): New macro.
14812         (NT_PPC_PPR): Likewise.
14813         (NT_PPC_DSCR): Likewise.
14814         (NT_PPC_EBB): Likewise.
14815         (NT_PPC_PMU): Likewise.
14816         (NT_PPC_TM_CGPR): Likewise.
14817         (NT_PPC_TM_CFPR): Likewise.
14818         (NT_PPC_TM_CVMX): Likewise.
14819         (NT_PPC_TM_CVSX): Likewise.
14820         (NT_PPC_TM_SPR): Likewise.
14821         (NT_PPC_TM_CTAR): Likewise.
14822         (NT_PPC_TM_CPPR): Likewise.
14823         (NT_PPC_TM_CDSCR): Likewise.
14825 2017-08-15  Florian Weimer  <fweimer@redhat.com>
14827         * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
14828         regparm (2) instead of internal_function.
14829         (_MCOUNT_DECL): Adjust.
14831 2017-08-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14833         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
14834         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14836 2017-08-14  Joseph Myers  <joseph@codesourcery.com>
14838         * conform/data/sys/wait.h-data (si_value): Do not expect for
14839         XPG42.
14841 2017-08-14  Florian Weimer  <fweimer@redhat.com>
14843         [BZ #21962]
14844         NSS: Create stubs for accidentally exported lookup functions.
14845         * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
14846         Remove declaration.
14847         * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
14848         (ether_hostton): Call __nss_ethers_lookup2 instead.
14849         * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
14850         (ether_ntohost): Call __nss_ethers_lookup2 instead.
14851         * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
14852         (setup): Call __nss_netgroup_lookup2 instead.
14853         * nss/Makefile (routines): Add compat-lookup.
14854         * nss/Versions (GLIBC_2.27): Add symbol version.
14855         * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration.  Now provided by <nsswitch.h>.
14856         (DB_COMPAT_FCT): Remove.
14857         * nss/compat-lookup.c: New file.
14858         * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
14859         from databases.def.
14860         * nss/service-lookup.c (NO_COMPAT): Remove definition.
14861         * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
14862         (netname2user): Call __nss_publickey_lookup2 instead.
14863         * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
14864         (getpublickey, getsecretkey): Call __nss_publickey_lookup2
14865         instead.
14867 2017-08-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14868             Sergei Trofimovich  <slyfox@inbox.ru>
14870         [BZ #21908]
14871         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
14872         Rename to MMAP2_PAGE_UNIT.
14873         * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
14874         __OFF_T_MATCHES_OFF64_T is not defined.
14875         * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
14876         uint64_t.
14877         (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
14878         (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
14880 2017-08-14  Florian Weimer  <fweimer@redhat.com>
14882         i386: Do not set internal_function.
14883         * config.h.in (USE_REGPARMS, internal_function): Remove.
14884         * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
14885         * sysdeps/i386/configure (USE_REGPARMS): Likewise.
14887 2017-08-14  Florian Weimer  <fweimer@redhat.com>
14889         * elf/dl-init.c (_dl_init): Remove internal_function.
14890         * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
14891         * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
14893 2017-08-14  Florian Weimer  <fweimer@redhat.com>
14895         * elf/rtld.c (_dl_start): Remove internal_function.
14896         * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
14897         _dl_start.
14899 2017-08-14  Florian Weimer  <fweimer@redhat.com>
14901         * elf/dl-fini.c (_dl_fini): Remove internal_function
14902         * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
14904 2017-08-14  H.J. Lu  <hongjiu.lu@intel.com>
14906         * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
14907         (bit_cpu_SHSTK): Likewise.
14908         (index_cpu_IBT): Likewise.
14909         (index_cpu_SHSTK): Likewise.
14910         (reg_IBT): Likewise.
14911         (reg_SHSTK): Likewise.
14912         * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14913         Handle index_cpu_IBT and index_cpu_SHSTK.
14915 2017-08-14  Mike FABIAN  <mfabian@redhat.com>
14917         [BZ #19982]
14918         * po/fr.po: Fix spelling mistake.
14920 2017-08-13  Florian Weimer  <fweimer@redhat.com>
14922         * elf/dl-addr.c (_dl_addr): Remove internal_function.
14923         * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
14924         (_dl_catch_error, _dl_receive_error): Likewise.
14925         * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
14926         * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
14927         (_dl_deallocate_tls): Likewise.
14928         * include/dlfcn.h (_dl_addr): Likewise.
14929         * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
14930         (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
14931         (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
14932         Likewise.
14934 2017-08-13  Florian Weimer  <fweimer@redhat.com>
14936         * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
14937         (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
14938         internal_function.
14939         * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
14941 2017-08-13  Florian Weimer  <fweimer@redhat.com>
14943         * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
14944         internal_function.
14945         * nptl/allocatestack.c (__make_stacks_executable): Likewise.
14946         * nptl/pthreadP.h (__make_stacks_executable): Likewise.
14947         * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
14948         internal_function from _dl_make_stack_executable_hook member.
14949         (_dl_make_stack_executable): Remove internal_function.
14950         * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
14951         Likewise.
14952         * sysdeps/unix/sysv/linux/dl-execstack.c
14953         (_dl_make_stack_executable): Likewise.
14955 2017-08-13  Florian Weimer  <fweimer@redhat.com>
14957         * sysdeps/unix/sysv/linux/netlinkaccess.h
14958         (__netlink_assert_response): Remove internal_function.
14959         * sysdeps/unix/sysv/linux/netlink_assert_response.c
14960         (__netlink_assert_response): Likewise.
14962 2017-08-13  Florian Weimer  <fweimer@redhat.com>
14964         * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
14965         internal_function.
14966         * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
14968 2017-08-13  Florian Weimer  <fweimer@redhat.com>
14970         * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
14971         internal_function.
14972         * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
14973         * inet/netgroup.h (__internal_setnetgrent)
14974         (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14975         * inet/getnetgrent_r.c (__internal_setnetgrent)
14976         (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14977         * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
14978         * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
14979         * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
14980         * nss/nsswitch.h (db_lookup_function): Likewise.
14982 2017-08-13  Florian Weimer  <fweimer@redhat.com>
14984         * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
14985         Remove internal_function.
14986         * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
14987         * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
14988         message argument on the stack.
14989         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
14990         Likeweise.
14992 2017-08-12  Mike FABIAN  <mfabian@redhat.com>
14994         Adapt test case data to the changes in the thousands
14995         separators.
14997         [BZ #20756]
14998         * localedata/tst-langinfo.sh: Adapt test case data.
14999         * stdlib/tst-strfmon_l.c: Likewise.
15000         * stdlib/tst-strtod4.c: Likewise.
15001         * stdlib/tst-strtod5i.c: Likewise.
15003 2017-08-11  Florian Weimer  <fweimer@redhat.com>
15005         [BZ #21242]
15006         * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
15007         Suppress pedantic warning resulting from statement expression.
15008         (__ASSERT_FUNCTION): Add missing __extension__.
15010 2017-08-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15012         * benchtests/bench-memmove-large.c: Print output in JSON
15013         format.
15014         * benchtests/bench-memmove.c: Likewise.
15016         * benchtests/bench-memccpy.c (do_one_test): Remove checks.
15017         * benchtests/bench-memchr.c (do_one_test): Likewise.
15018         * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
15019         * benchtests/bench-memcpy.c (do_one_test): Likewise.
15020         * benchtests/bench-memmove-large.c (do_one_test): Likewise.
15021         * benchtests/bench-memmove.c (do_one_test): Likewise.
15022         * benchtests/bench-memset-large.c (do_one_test): Likewise.
15023         * benchtests/bench-memset.c (do_one_test): Likewise.
15024         * benchtests/bench-string.h (test_init): Remove memsets.
15026 2017-08-10  Rical Jasan  <ricaljasan@pacific.net>
15028         * manual/lang.texi
15029         (Computing the Width of an Integer Data Type): Rename section to
15030         "Width of an Integer Type".  Remove inaccurate statement regarding
15031         lack of C language facilities for determining width of integer
15032         types, and reorder content to improve flow and context of
15033         discussion.
15035 2017-08-10  Rical Jasan  <ricaljasan@pacific.net>
15037         * lang.texi (va_copy): Change standard from ISO to C99.
15038         (__va_copy): Add standard and header annotation.
15039         Update description for clarity of origins and current use.
15041 2017-08-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15043         [BZ #21941]
15044         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
15045         xssqrtqp requires operands to be in Vector Registers
15046         (Altivec/VMX), replace the register constraint 'wq' with 'v'.
15047         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
15048         (__ieee754_sqrtf128): Likewise.
15050 2017-08-10  Wilco Dijkstra  <wdijkstr@arm.com>
15052         * sysdeps/aarch64/memcmp.S (memcmp):
15053         Rewrite of optimized memcmp.
15055 2017-08-10  Florian Weimer  <fweimer@redhat.com>
15057         Introduce ld.so exceptions.
15058         * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
15059         (_dl_exception_create, _dl_exception_create_format)
15060         (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
15061         (_dl_catch_exception): Declare.
15062         (_dl_catch_error): Update comment.
15063         * elf/dl-error-skeleton.c (struct catch): Replace objname,
15064         errstring, malloced members with exception member.
15065         (_dl_out_of_memory): Remove.
15066         (fatal_error): New function, extracted from _dl_signal_error.
15067         (_dl_signal_exception, _dl_signal_cexception): New functions.
15068         (_dl_signal_error): Call _dl_exception_create to allocate an
15069         exception object.
15070         (_dl_catch_exception): New function, based on _dl_catch_error.
15071         (_dl_catch_error): Implement using _dl_catch_exception.
15072         * elf/dl-exception.c: New file.
15073         * elf/Makefile (dl-routines): Add dl-exception.
15074         (elide-routines.os): Likewise.
15075         * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
15076         _dl_exception_create_format, _dl_exception_free.
15077         * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
15078         _dl_signal_exception.
15079         * elf/dl-lookup.c (make_string): Remove.
15080         (_dl_lookup_symbol_x): Use _dl_exception_create_format,
15081         _dl_signal_cexception, _dl_exception_free.
15082         * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
15083         _dl_signal_exception.
15084         * elf/dl-sym.c (do_sym): Likewise.
15085         * elf/dl-version.c (make_string): Remove.
15086         (match_symbol): Use _dl_exception_create_format,
15087         _dl_signal_cexception, _dl_exception_free.
15088         (_dl_check_map_versions): Likewise.
15089         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
15090         _dl_catch_exception.
15091         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
15092         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
15093         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
15094         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
15095         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
15096         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
15097         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
15098         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
15099         Likewise.
15100         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
15102         (ld.so): Likewise.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
15104         (ld.so): Likewise.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
15106         Likewise.
15107         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
15108         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
15109         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
15110         Likewise.
15111         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
15112         Likewise.
15113         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
15115 2017-08-10  Florian Weimer  <fweimer@redhat.com>
15117         * inet/net-internal.h (__inet6_scopeid_pton): Remove
15118         attribute_hidden, internal_function.
15119         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
15120         internal_function.
15122 2017-08-10  Florian Weimer  <fweimer@redhat.com>
15124         * malloc/malloc.c (get_max_fast): Reimplement as an inline
15125         function which calls __builtin_unreachable.
15127 2017-08-10  Mike FABIAN  <mfabian@redhat.com>
15129         * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
15130         Indian monetary formatting
15131         * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
15132         test cases.
15134 2017-08-09  Dmitry V. Levin  <ldv@altlinux.org>
15136         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
15137         Fix typo in comment.
15139         [BZ #21928]
15140         * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
15141         PTRACE_SEIZE_DEVEL): Remove.
15142         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
15143         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15144         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15145         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15146         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15148 2017-08-09  Joseph Myers  <joseph@codesourcery.com>
15150         * posix/bits/types.h (__qaddr_t): Remove.
15152         [BZ #21457]
15153         * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
15154         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
15155         __glibc_reserved1.
15156         * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
15157         (ucontext_t): Use __ctx with uc_flags.
15158         * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
15159         (__ctxt): Likewise.
15160         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
15161         __glibc_reserved1.
15162         * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
15163         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
15164         __glibc_reserved1.
15165         * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
15166         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
15167         __glibc_reserved1.
15168         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
15169         macro.
15170         (ucontext_t): Use __ctx with uc_flags.
15171         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
15172         (ucontext_t): Use __ctx with uc_flags.
15173         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
15174         (ucontext_t): Use __ctx with uc_flags and uc_regspace.
15175         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
15176         (ucontext_t): Use __ctx with uc_flags.
15177         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
15178         undefine further down.
15179         (ucontext_t): Use __ctx with uc_flags.  Rename uc_filler to
15180         __glibc_reserved1.
15181         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
15182         undefine further down.
15183         (ucontext_t): Use __ctx with uc_flags.
15184         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
15185         undefine further down.
15186         (ucontext_t): Use __ctx with uc_flags.
15187         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
15188         __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
15189         Rename uc_pad to __glibc_reserved1.
15190         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
15191         undefine further down.
15192         (ucontext_t): Use __ctx with uc_flags.
15193         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
15194         further down.
15195         (ucontext_t): Use __ctx with uc_flags.
15196         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
15197         __ctx with uc_flags.
15198         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
15199         (ucontext_t): Use __ctx with uc_flags.
15200         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
15201         __ctx with uc_flags.
15203 2017-08-09  Florian Weimer  <fweimer@redhat.com>
15205         [BZ #21932]
15206         * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
15207         before early return.
15209 2017-08-09  Andreas Schwab  <schwab@suse.de>
15211         [BZ #21041]
15212         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
15213         renamed alias.
15215         [BZ #21041]
15216         * nptl/Makefile (tests) [$(build-shared) = yes]: Add
15217         tst-compat-forwarder.
15218         (modules-names): Add tst-compat-forwarder-mod.
15219         ($(objpfx)tst-compat-forwarder): Depend on
15220         $(objpfx)tst-compat-forwarder-mod.so.
15221         * nptl/tst-compat-forwarder.c: New file.
15222         * nptl/tst-compat-forwarder-mod.c: New file.
15224 2017-08-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15226         * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
15227         comments.
15229         * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
15230         * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
15231         memcpy_falkor.
15232         * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15233         Bump.
15234         (__libc_ifunc_impl_list): Add __memcpy_falkor.
15235         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
15236         * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
15237         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
15238         Add falkor.
15239         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
15240         New macro.
15242 2017-08-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15244         [BZ #759]
15245         * manual/setjmp.texi (getcontex): Document uc_stack value
15246         compatibility differences.
15248 2017-08-08  Joseph Myers  <joseph@codesourcery.com>
15250         * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
15251         (old_malloc_hook): Likewise.
15252         (old_memalign_hook): Likewise.
15253         (old_realloc_hook): Likewise.
15254         (struct hdr): Likewise.
15255         (flood): Likewise.
15256         (freehook): Likewise.
15257         (mallochook): Likewise.
15258         (memalignhook): Likewise.
15259         (reallochook): Likewise.
15260         (mprobe): Likewise.
15261         * malloc/mtrace.c (mallwatch): Likewise.
15262         (tr_old_free_hook): Likewise.
15263         (tr_old_malloc_hook): Likewise.
15264         (tr_old_realloc_hook): Likewise.
15265         (tr_old_memalign_hook): Likewise.
15266         (tr_where): Likewise.
15267         (lock_and_info): Likewise.
15268         (tr_freehook): Likewise.
15269         (tr_mallochook): Likewise.
15270         (tr_reallochook): Likewise.
15271         (tr_memalignhook): Likewise.
15272         * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
15273         * misc/mmap.c (__mmap): Likewise.
15274         * misc/mmap64.c (__mmap64): Likewise.
15275         * misc/mprotect.c (__mprotect): Likewise.
15276         * misc/msync.c (msync): Likewise.
15277         * misc/munmap.c (__munmap): Likewise.
15278         * posix/posix_madvise.c (posix_madvise): Likewise.
15279         * socket/send.c (__send): Likewise.
15280         * socket/sendto.c (__sendto): Likewise.
15281         * socket/setsockopt.c (__setsockopt): Likewise.
15282         * string/memcmp.c (__ptr_t): Remove macro.
15283         (MEMCMP): Use void * instead of ptr_t.
15284         * string/memrchr.c (__ptr_t): Remove macro.
15285         (__memrchr): Use void * instead of ptr_t.
15286         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
15287         * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
15288         * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
15289         * sysdeps/mach/mprotect.c (__mprotect): Likewise.
15290         * sysdeps/mach/msync.c (msync): Likewise.
15291         * sysdeps/mach/munmap.c (__munmap): Likewise.
15292         * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
15293         Likewise.
15294         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15295         * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
15296         * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
15297         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
15298         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15299         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15300         * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
15301         * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
15302         Likewise.
15303         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15304         * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
15305         * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
15306         * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
15307         * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
15308         * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
15309         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
15310         * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
15311         * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
15312         Likewise.
15313         * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
15314         * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
15315         * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
15316         (MEMCMP): Use void * instead of ptr_t.
15317         * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
15318         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
15320 2017-08-08  Florian Weimer  <fweimer@redhat.com>
15322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
15323         return statement.
15325 2017-08-08  H.J. Lu  <hongjiu.lu@intel.com>
15327         [BZ #21913]
15328         * csu/libc-tls.c: Include <startup.h> first.
15329         (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
15330         * elf/dl-tunables.c: Include <startup.h> first.
15331         * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
15332         * sysdeps/generic/startup.h: New file.
15333         * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
15334         * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
15335         (I386_USE_SYSENTER): New.  Defined to 0.
15337 2017-08-08  Andreas Schwab  <schwab@suse.de>
15339         [BZ #21041]
15340         * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
15341         * nptl/pt-system.c (system): Likewise.
15343 2017-08-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15345         [BZ #21780]
15346         * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
15347         EOPNOTSUPP.
15348         * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15349         * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15350         * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
15351         * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15352         * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15353         * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15354         * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
15356 2017-08-07  Joseph Myers  <joseph@codesourcery.com>
15358         [BZ #21899]
15359         * bits/sigaction.h (struct sigaction): Define sa_handler and
15360         sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
15361         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15362         [__USE_XOPEN_EXTENDED].
15363         (SA_RESTART): Likewise.
15364         (SA_NODEFER): Likewise.
15365         (SA_RESETHAND): Likewise.
15366         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
15367         (struct sigaction): Define sa_handler and sa_sigaction using union
15368         also for [__USE_XOPEN_EXTENDED].
15369         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15370         [__USE_XOPEN_EXTENDED].
15371         (SA_RESTART): Likewise.
15372         (SA_NODEFER): Likewise.
15373         (SA_RESETHAND): Likewise.
15374         * sysdeps/unix/sysv/linux/bits/sigaction.h
15375         (struct sigaction): Define sa_handler and sa_sigaction using union
15376         also for [__USE_XOPEN_EXTENDED].
15377         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15378         [__USE_XOPEN_EXTENDED].
15379         (SA_RESTART): Likewise.
15380         (SA_NODEFER): Likewise.
15381         (SA_RESETHAND): Likewise.
15382         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
15383         (struct sigaction): Define sa_handler and sa_sigaction using union
15384         also for [__USE_XOPEN_EXTENDED].
15385         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15386         [__USE_XOPEN_EXTENDED].
15387         (SA_RESTART): Likewise.
15388         (SA_NODEFER): Likewise.
15389         (SA_RESETHAND): Likewise.
15390         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
15391         (struct sigaction): Define sa_handler and sa_sigaction using union
15392         also for [__USE_XOPEN_EXTENDED].
15393         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15394         [__USE_XOPEN_EXTENDED].
15395         (SA_RESTART): Likewise.
15396         (SA_NODEFER): Likewise.
15397         (SA_RESETHAND): Likewise.
15398         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15399         (struct sigaction): Define sa_handler and sa_sigaction using union
15400         also for [__USE_XOPEN_EXTENDED].
15401         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15402         [__USE_XOPEN_EXTENDED].
15403         (SA_RESTART): Likewise.
15404         (SA_NODEFER): Likewise.
15405         (SA_RESETHAND): Likewise.
15406         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15407         (struct sigaction): Define sa_handler and sa_sigaction using union
15408         also for [__USE_XOPEN_EXTENDED].
15409         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15410         [__USE_XOPEN_EXTENDED].
15411         (SA_RESTART): Likewise.
15412         (SA_NODEFER): Likewise.
15413         (SA_RESETHAND): Likewise.
15414         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15415         (struct sigaction): Define sa_handler and sa_sigaction using union
15416         also for [__USE_XOPEN_EXTENDED].
15417         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15418         [__USE_XOPEN_EXTENDED].
15419         (SA_RESTART): Likewise.
15420         (SA_NODEFER): Likewise.  Define directly rather than as alias.
15421         (SA_RESETHAND): Likewise.
15422         (SA_INTERRUPT): Define only for [__USE_MISC].
15423         (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
15424         (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
15425         [__USE_MISC].
15426         (SA_STACK): Define only for [__USE_MISC].
15427         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
15428         (struct sigaction): Define sa_handler and sa_sigaction using union
15429         also for [__USE_XOPEN_EXTENDED].
15430         (SA_ONSTACK): Change [__USE_UNIX98] condition to
15431         [__USE_XOPEN_EXTENDED].
15432         (SA_RESTART): Likewise.
15433         (SA_NODEFER): Likewise.
15434         (SA_RESETHAND): Likewise.
15435         (SA_NOPTRACE): Define only for [__USE_MISC].
15437         * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
15438         * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
15439         (struct catalog_info): Likewise.
15440         * inet/htontest.c (lo): Likewise.
15441         (foo): Likewise.
15442         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15443         * inet/inet_net.c (inet_network): Likewise.
15444         * inet/inet_netof.c (inet_netof): Likewise.
15445         * inet/rcmd.c (__ivaliduser): Likewise.
15446         (iruserok): Likewise.
15447         * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
15448         * locale/programs/locale-spec.c (locale_special): Likewise.
15449         * nis/nis_findserv.c (struct findserv_req): Likewise.
15450         (__nis_findfastest_with_timeout): Likewise.
15451         * nss/test-netdb.c (test_network): Likewise.
15452         * resolv/inet_neta.c (inet_neta): Likewise.
15453         * resolv/ns_date.c (ns_datetosecs): Likewise.
15454         (SECS_PER_DAY): Likewise.
15455         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
15456         Likewise.
15457         * resolv/res_comp.c (__putlong): Likewise.
15458         (__putshort): Likewise.
15459         (_getlong): Likewise.
15460         (_getshort): Likewise.
15461         * resolv/res_debug.c (p_time): Likewise.
15462         (precsize_ntoa): Likewise.
15463         (precsize_aton): Likewise.
15464         (latlon2ul): Likewise.
15465         (loc_aton): Likewise.
15466         (loc_ntoa): Likewise.
15467         * resolv/res_hconf.c (struct netaddr): Likewise.
15468         (_res_hconf_reorder_addrs): Likewise.
15469         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15470         (clnttcp_control): Likewise.
15471         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15472         (clntudp_control): Likewise.
15473         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15474         (clntunix_control): Likewise.
15475         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
15476         * sunrpc/rpc/auth.h (union des_block): Likewise.
15477         * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
15478         * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
15479         (xdrrec_create): Likewise.
15480         (xdrrec_endofrecord): Likewise.
15481         (flush_out): Likewise.
15482         * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
15483         (xdrstdio_putlong): Likewise.
15484         * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
15485         Likewise.
15487         * misc/sys/cdefs.h (__long_double_t): Remove.
15488         * stdio-common/printf_fp.c (__printf_fp_l): Use long double
15489         instead of __long_double_t,
15490         * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
15492 2017-08-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15494         * benchtests/scripts/compare_strings.py: Avoid display error when
15495         running on a text terminal.
15497         * benchtests/scripts/compare_strings.py (main): Add an
15498         optional -base option.
15499         (process_results): New argument base_func.
15501         * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
15502         hardcoding memcpy.
15503         * benchtests/bench-memcpy-large.c (test_name): Likewise.
15504         * benchtests/bench-memcpy-random.c (test_name): Likewise.
15506 2017-08-07  Andreas Schwab  <schwab@suse.de>
15508         * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
15509         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15510         * intl/Makefile ($(objpfx)tst-gettext.out)
15511         ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
15512         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
15513         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15514         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15515         * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
15516         * posix/Makefile ($(objpfx)globtest.out)
15517         ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
15518         * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
15519         ($(objpfx)tst-printf.out): Likewise.
15520         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
15521         ($(objpfx)tst-setcontext3.out): Likewise.
15523 2017-08-07  H.J. Lu  <hongjiu.lu@intel.com>
15525         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15526         Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
15527         e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
15528         slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
15529         halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
15530         and mptan-fma.
15531         (CFLAGS-doasin-fma.c): New.
15532         (CFLAGS-dosincos-fma.c): Likewise.
15533         (CFLAGS-e_asin-fma.c): Likewise.
15534         (CFLAGS-e_atan2-fma.c): Likewise.
15535         (CFLAGS-e_exp-fma.c): Likewise.
15536         (CFLAGS-e_log-fma.c): Likewise.
15537         (CFLAGS-e_pow-fma.c): Likewise.
15538         (CFLAGS-halfulp-fma.c): Likewise.
15539         (CFLAGS-mpa-fma.c): Likewise.
15540         (CFLAGS-mpatan-fma.c): Likewise.
15541         (CFLAGS-mpatan2-fma.c): Likewise.
15542         (CFLAGS-mpexp-fma.c): Likewise.
15543         (CFLAGS-mplog-fma.c): Likewise.
15544         (CFLAGS-mpsqrt-fma.c): Likewise.
15545         (CFLAGS-mptan-fma.c): Likewise.
15546         (CFLAGS-s_atan-fma.c): Likewise.
15547         (CFLAGS-sincos32-fma.c): Likewise.
15548         (CFLAGS-slowexp-fma.c): Likewise.
15549         (CFLAGS-slowpow-fma.c): Likewise.
15550         (CFLAGS-s_sin-fma.c): Likewise.
15551         (CFLAGS-s_tan-fma.c): Likewise.
15552         * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
15553         * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
15554         * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
15555         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
15556         * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
15557         * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15558         * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
15559         * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
15560         * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
15561         * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
15562         * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
15563         * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
15564         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
15565         * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15566         * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15567         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
15568         * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
15569         * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
15570         * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
15571         * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
15572         * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
15573         * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15574         * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15575         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
15576         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15577         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15578         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15579         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15580         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15581         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15582         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15584 2017-08-04  Joseph Myers  <joseph@codesourcery.com>
15586         * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
15587         (min_of_type_f): New macro.
15588         (min_of_type_): Likewise.
15589         (min_of_type_l): Likewise.
15590         (min_of_type_f128): Likewise.
15591         (min_of_type): Define using __MATH_TG and taking an expression
15592         argument.
15593         (math_check_force_underflow): Pass expression instead of type to
15594         min_of_type.
15595         (math_check_force_underflow_nonneg): Likewise.
15597 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
15599         * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
15600         (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
15601         HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
15603 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
15605         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15606         bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
15607         memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
15608         memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
15609         strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
15610         strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
15611         memcpy_chk-nonshared, mempcpy_chk-nonshared,
15612         memmove_chk-nonshared and memset_chk-nonshared
15613         * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
15614         * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
15615         * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
15616         * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
15617         * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
15618         * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
15619         * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
15620         * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
15621         * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
15622         * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
15623         * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
15624         * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
15625         * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
15626         * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
15627         * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
15628         * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
15629         * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
15630         * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
15631         * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
15632         * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
15633         * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
15634         * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
15635         * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
15636         * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
15637         * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
15638         * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
15639         * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
15640         * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
15641         * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
15642         * sysdeps/i386/i686/multiarch/memset.c: Likewise.
15643         * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
15644         * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
15645         * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
15646         * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15647         * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15648         * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
15649         * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
15650         * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
15651         * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
15652         * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
15653         * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
15654         * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
15655         * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
15656         * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
15657         * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
15658         * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
15659         * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
15660         * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
15661         * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
15662         * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
15663         * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
15664         * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
15665         * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
15666         * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
15667         * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
15668         * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
15669         * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
15670         * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
15671         * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
15672         * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
15673         * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
15674         * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
15675         * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
15676         * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
15677         * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
15678         * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
15679         * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
15680         * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
15681         * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
15682         * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
15683         * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
15684         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15685         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15686         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15687         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15688         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15689         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15690         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15691         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15692         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15693         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15694         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15695         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15696         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15697         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15698         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15699         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15700         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15701         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15702         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15703         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15704         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15705         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15706         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15707         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15708         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15709         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15710         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15711         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15712         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15713         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15714         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15715         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15716         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15717         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15718         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15719         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15720         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15722 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
15724         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
15725         Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
15726         svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
15727         svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
15728         svml_d_log2_core-sse2, svml_d_log4_core-sse,
15729         svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
15730         svml_d_pow4_core-sse, svml_d_pow8_core-avx2
15731         svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
15732         svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
15733         svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
15734         svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
15735         svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
15736         svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
15737         svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
15738         svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
15739         svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
15740         svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
15741         svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
15742         svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
15743         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
15744         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
15745         * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
15746         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
15747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
15748         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
15749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
15750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
15751         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
15752         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
15753         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
15754         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
15755         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
15756         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
15757         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
15758         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
15759         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
15760         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
15761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
15762         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
15763         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
15764         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
15765         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
15766         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
15767         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
15768         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
15769         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
15770         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
15771         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
15772         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
15773         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
15774         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
15775         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
15776         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
15777         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
15778         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
15779         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
15780         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
15781         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
15782         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S:  Renamed to
15783         ...
15784         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
15785         Don't include <sysdep.h> nor <init-arch.h>.
15786         (_ZGVbN2v_cos): Removed.
15787         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S:  Renamed to
15788         ...
15789         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
15790         Don't include <sysdep.h> nor <init-arch.h>.
15791         (_ZGVdN4v_cos): Removed.
15792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S:  Renamed to
15793         ...
15794         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
15795         Don't include <sysdep.h> nor <init-arch.h>.
15796         (_ZGVeN8v_cos): Removed.
15797         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S:  Renamed to
15798         ...
15799         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
15800         Don't include <sysdep.h> nor <init-arch.h>.
15801         (_ZGVbN2v_exp): Removed.
15802         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S:  Renamed to
15803         ...
15804         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
15805         Don't include <sysdep.h> nor <init-arch.h>.
15806         (_ZGVdN4v_exp): Removed.
15807         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S:  Renamed to
15808         ...
15809         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
15810         Don't include <sysdep.h> nor <init-arch.h>.
15811         (_ZGVeN8v_exp): Removed.
15812         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S:  Renamed to
15813         ...
15814         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
15815         Don't include <sysdep.h> nor <init-arch.h>.
15816         (_ZGVbN2v_log): Removed.
15817         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S:  Renamed to
15818         ...
15819         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
15820         Don't include <sysdep.h> nor <init-arch.h>.
15821         (_ZGVdN4v_log): Removed.
15822         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S:  Renamed to
15823         ...
15824         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
15825         Don't include <sysdep.h> nor <init-arch.h>.
15826         (_ZGVeN8v_log): Removed.
15827         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S:  Renamed to
15828         ...
15829         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
15830         Don't include <sysdep.h> nor <init-arch.h>.
15831         (_ZGVbN2vv_pow): Removed.
15832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S:  Renamed to
15833         ...
15834         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
15835         Don't include <sysdep.h> nor <init-arch.h>.
15836         (_ZGVdN4vv_pow): Removed.
15837         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S:  Renamed to
15838         ...
15839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
15840         Don't include <sysdep.h> nor <init-arch.h>.
15841         (_ZGVeN8vv_pow): Removed.
15842         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S:  Renamed to
15843         ...
15844         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
15845         Don't include <sysdep.h> nor <init-arch.h>.
15846         (_ZGVbN2v_sin): Removed.
15847         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S:  Renamed to
15848         ...
15849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
15850         Don't include <sysdep.h> nor <init-arch.h>.
15851         (_ZGVbN4v_sin): Removed.
15852         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S:  Renamed to
15853         ...
15854         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
15855         Don't include <sysdep.h> nor <init-arch.h>.
15856         (_ZGVbN8v_sin): Removed.
15857         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S:  Renamed to
15858         ...
15859         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
15860         Don't include <sysdep.h> nor <init-arch.h>.
15861         (_ZGVbN2vvv_sincos): Removed.
15862         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S:  Renamed to
15863         ...
15864         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
15865         Don't include <sysdep.h> nor <init-arch.h>.
15866         (_ZGVdN4vvv_sincos): Removed.
15867         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S:  Renamed to
15868         ...
15869         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
15870         Don't include <sysdep.h> nor <init-arch.h>.
15871         (_ZGVeN8vvv_sincos): Removed.
15872         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S:  Renamed to
15873         ...
15874         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
15875         Don't include <sysdep.h> nor <init-arch.h>.
15876         (_ZGVeN16v_cosf): Removed.
15877         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S:  Renamed to
15878         ...
15879         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
15880         Don't include <sysdep.h> nor <init-arch.h>.
15881         (_ZGVbN4v_cosf): Removed.
15882         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S:  Renamed to
15883         ...
15884         * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
15885         Don't include <sysdep.h> nor <init-arch.h>.
15886         (_ZGVdN8v_cosf): Removed.
15887         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S:  Renamed to
15888         ...
15889         * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
15890         Don't include <sysdep.h> nor <init-arch.h>.
15891         (_ZGVeN16v_expf): Removed.
15892         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S:  Renamed to
15893         ...
15894         * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
15895         Don't include <sysdep.h> nor <init-arch.h>.
15896         (_ZGVbN4v_expf): Removed.
15897         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S:  Renamed to
15898         ...
15899         * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
15900         Don't include <sysdep.h> nor <init-arch.h>.
15901         (_ZGVdN8v_expf): Removed.
15902         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S:  Renamed to
15903         ...
15904         * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
15905         Don't include <sysdep.h> nor <init-arch.h>.
15906         (_ZGVeN16v_logf): Removed.
15907         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S:  Renamed to
15908         ...
15909         * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
15910         Don't include <sysdep.h> nor <init-arch.h>.
15911         (_ZGVbN4v_logf): Removed.
15912         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S:  Renamed to
15913         ...
15914         * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
15915         Don't include <sysdep.h> nor <init-arch.h>.
15916         (_ZGVdN8v_logf): Removed.
15917         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S:  Renamed to
15918         ...
15919         * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
15920         Don't include <sysdep.h> nor <init-arch.h>.
15921         (_ZGVeN16vv_powf): Removed.
15922         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S:  Renamed to
15923         ...
15924         * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
15925         Don't include <sysdep.h> nor <init-arch.h>.
15926         (_ZGVbN4vv_powf): Removed.
15927         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S:  Renamed to
15928         ...
15929         * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
15930         Don't include <sysdep.h> nor <init-arch.h>.
15931         (_ZGVdN8vv_powf): Removed.
15932         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S:  Renamed to
15933         ...
15934         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
15935         Don't include <sysdep.h> nor <init-arch.h>.
15936         (_ZGVeN16vvv_sincosf): Removed.
15937         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S:  Renamed to
15938         ...
15939         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
15940         Don't include <sysdep.h> nor <init-arch.h>.
15941         (_ZGVbN4vvv_sincosf): Removed.
15942         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S:  Renamed to
15943         ...
15944         * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
15945         Don't include <sysdep.h> nor <init-arch.h>.
15946         (_ZGVdN8vvv_sincosf): Removed.
15947         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S:  Renamed to
15948         ...
15949         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
15950         Don't include <sysdep.h> nor <init-arch.h>.
15951         (_ZGVeN16v_sinf): Removed.
15952         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S:  Renamed to
15953         ...
15954         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
15955         Don't include <sysdep.h> nor <init-arch.h>.
15956         (_ZGVbN4v_sinf): Removed.
15957         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S:  Renamed to
15958         ...
15959         * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
15960         Don't include <sysdep.h> nor <init-arch.h>.
15961         (_ZGVdN8v_sinf): Removed.
15963 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
15965         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15966         Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
15967         s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
15968         s_rint-sse4_1 and s_rintf-sse4_1.
15969         * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
15970         * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
15971         * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
15972         * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
15973         * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
15974         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
15975         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
15976         * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
15977         * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
15978         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
15979         * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This.  Don't
15980         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
15981         (__ceil): Removed.
15982         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
15983         * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This.  Don't
15984         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
15985         (__ceilf): Removed.
15986         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
15987         * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This.  Don't
15988         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
15989         (__floor): Removed.
15990         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
15991         * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This.  Don't
15992         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
15993         (__floorf): Removed.
15994         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
15995         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This.  Don't
15996         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
15997         (__nearbyint): Removed.
15998         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
15999         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This.  Don't
16000         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
16001         (__nearbyintf): Removed.
16002         * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
16003         * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This.  Don't
16004         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
16005         (__rint): Removed.
16006         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
16007         * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This.  Don't
16008         include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
16009         (__rintf): Removed.
16011 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
16013         * sysdeps/i386/start.S (_start): Check Check PIC instead of
16014         SHARED.  Avoid dynamic relocation against main in static PIE.
16016 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
16018         [BZ #21815]
16019         * elf/Makefile (CFLAGS-tst-prelink.c): New.
16020         (LDFLAGS-tst-prelink): Likewise.
16022 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
16024         * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
16025         Define to I386_USE_SYSENTER to 0 or 1 if not defined.
16026         (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
16027         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16028         (INTERNAL_SYSCALL_NCS): Likewise.
16029         (LOADARGS_1): Likewise.
16030         (LOADARGS_5): Likewise.
16031         (RESTOREARGS_1): Likewise.
16032         (RESTOREARGS_5): Likewise.
16034 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
16036         * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
16037         (MEMPCPY_SYMBOL): Likewise.
16038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16039         (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
16040         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
16041         in libc.a.
16042         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16043         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
16044         Likewise.
16045         * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
16046         (__hidden_ver1): Don't use in libc.a.
16047         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16048         (__mempcpy): Don't create a weak alias in libc.a.
16049         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
16050         libc.a.
16051         * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
16052         (__hidden_ver1): Don't use in libc.a.
16054 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
16056         * config.make.in (have-insert): New.
16057         * configure.ac (libc_cv_insert): New.  Set to yes if linker
16058         supports INSERT in linker script.
16059         (AC_SUBST(libc_cv_insert): New.
16060         * configure: Regenerated.
16061         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
16062         if $(have-insert) == yes.
16064 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
16066         * elf/Makefile (tests): Add vismain only if
16067         $(have-protected-data) == yes.
16068         (tests-pie): Likewise.
16070 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
16072         [BZ #21871]
16073         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16074         bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
16076 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
16078         [BZ #21790]
16079         * sysdeps/i386/i586/memset.S
16080         (__memset_zero_constant_len_parameter): Removed.
16081         * sysdeps/i386/i686/memset.S
16082         (__memset_zero_constant_len_parameter): Likewise.
16083         * sysdeps/i386/i686/multiarch/memset_chk.S
16084         (__memset_zero_constant_len_parameter): Likewise.
16085         * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
16086         Likewise.
16088 2017-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16090         * stdlib/getentropy.c (getentropy): Change return type to int.
16092 2017-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16094         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16096 2017-08-03  Joseph Myers  <joseph@codesourcery.com>
16098         * math/s_nextafter.c (__nextafter): Use uintN_t instead of
16099         u_intN_t.
16100         * math/s_nexttowardf.c (__nexttowardf): Likewise.
16101         * sysdeps/generic/math_private.h (ieee_double_shape_type):
16102         Likewise.
16103         (ieee_float_shape_type): Likewise.
16104         * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
16105         * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
16106         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16107         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16108         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16109         * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
16110         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
16111         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16112         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16113         Likewise.
16114         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16115         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16116         (__ieee754_yn): Likewise.
16117         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16118         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16119         * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
16120         Likewise.
16121         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16122         * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
16123         * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
16124         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
16125         (__erfc): Likewise.
16126         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16127         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
16128         * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
16129         * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
16130         * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
16131         * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
16132         Likewise.
16133         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16134         * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
16135         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16136         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
16137         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16138         * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
16139         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
16140         * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
16141         * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
16142         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16143         (__issignaling): Likewise.
16144         * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
16145         * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
16146         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16147         Likewise.
16148         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16149         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
16150         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16151         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
16152         Likewise.
16153         * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
16154         Likewise.
16155         * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
16156         * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
16157         * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
16158         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16159         (__erfcf): Likewise.
16160         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16161         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16162         * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
16163         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
16164         Likewise.
16165         * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
16166         * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
16167         Likewise.
16168         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16169         * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
16170         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16171         * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
16172         * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
16173         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16174         * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
16175         * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
16176         Likewise.
16177         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
16178         Likewise.
16179         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16180         Likewise.
16181         * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
16182         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16183         Likewise.
16184         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16185         Likewise.
16186         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16187         (__ieee754_ynl): Likewise.
16188         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16189         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
16190         Likewise.
16191         * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
16192         Likewise.
16193         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16194         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
16195         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16196         Likewise.
16197         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16198         * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
16199         * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
16200         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
16201         * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
16202         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16203         * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
16204         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
16205         Likewise.
16206         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16207         * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
16208         * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
16209         Likewise.
16210         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
16211         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
16212         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16213         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16214         * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
16215         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16216         Likewise.
16217         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16218         Likewise.
16219         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16220         Likewise.
16221         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16222         Likewise.
16223         * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
16224         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16225         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16226         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
16227         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16228         * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
16229         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
16230         Likewise.
16231         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16232         Likewise.
16233         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16234         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16235         Likewise.
16236         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16237         (__ieee754_remainderl): Likewise.
16238         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16239         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16240         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16241         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16242         Likewise.
16243         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16244         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16245         Likewise.
16246         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16247         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
16248         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16249         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16250         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16251         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16252         Likewise.
16253         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16254         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16255         (__ieee754_y0l): Likewise.
16256         (pzero): Likewise.
16257         (qzero): Likewise.
16258         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16259         (__ieee754_y1l): Likewise.
16260         (pone): Likewise.
16261         (qone): Likewise.
16262         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16263         (__ieee754_ynl): Likewise.
16264         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
16265         (__ieee754_lgammal_r): Likewise.
16266         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
16267         Likewise.
16268         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16269         * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
16270         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16271         (__erfcl): Likewise.
16272         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16273         * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
16274         Likewise.
16275         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
16276         * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
16277         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16278         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
16279         * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
16280         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16281         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16282         Likewise.
16283         * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
16284         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16285         * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
16286         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
16287         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16288         Likewise.
16289         * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
16290         * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
16291         Likewise.
16292         * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
16293         * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
16294         * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
16295         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16296         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
16298 2017-08-03  Florian Weimer  <fweimer@redhat.com>
16300         [BZ #21885]
16301         * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
16302         on memory allocation failure.
16304 2017-08-03  Alan Modra  <amodra@gmail.com>
16306         * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
16307         tst-tlsopt-powerpc.c with function name change and no test harness.
16308         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
16309         Call tls_get_addr_opt_test.
16310         * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
16311         (modules-names): Add mod-tlsopt-powerpc.
16312         (mod-tlsopt-powerpc.so-no-z-defs): Define.
16313         (tst-tlsopt-powerpc): Depend on .so.
16314         * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
16315         define.  Expand use in TLS_GD and TLS_LD.
16317 2017-08-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16319         * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
16320         function.
16321         * sysdeps/posix/shm_open.c: Include <pthread.h>.
16323 2017-08-02  Joseph Myers  <joseph@codesourcery.com>
16325         [BZ #21686]
16326         * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
16327         comparing size with that of double.
16328         (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
16329         (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
16330         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
16331         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
16332         (__TGMATH_BINARY_REAL_IMAG): Likewise.
16333         * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
16334         unsigned __int128 types.
16336 2017-08-02  Steve Ellcey  <sellcey@cavium.com>
16338         * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
16339         CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
16340         CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
16341         CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
16342         CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
16344 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
16346         * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
16348 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
16350         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
16351         of SHARED.
16352         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16353         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16354         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16355         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16356         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16357         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16358         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16360 2017-08-02  Joseph Myers  <joseph@codesourcery.com>
16362         [BZ #21685]
16363         * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
16364         bit-field expressions passed to sizeof or typeof.
16365         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16366         (__TGMATH_F128): Likewise.
16367         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16368         (__TGMATH_CF128): Likewise.
16369         (__TGMATH_UNARY_REAL_ONLY): Likewise.
16370         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
16371         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
16372         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
16373         (__TGMATH_BINARY_REAL_ONLY): Likewise.
16374         (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
16375         (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
16376         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
16377         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
16378         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
16379         (__TGMATH_UNARY_REAL_IMAG): Likewise.
16380         (__TGMATH_UNARY_IMAG): Likewise.
16381         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
16382         (__TGMATH_BINARY_REAL_IMAG): Likewise.
16383         * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
16384         type.
16385         (define_vars_for_type): Handle bit_field type specially.
16386         (Tests.__init__): Declare structure with bit-field element.
16388 2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
16390         [BZ #21791]
16391         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
16392         (MEMCPY_CHK): Define only if SHARED is defined.
16393         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
16394         Likewise.
16395         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
16396         Likewise.
16398 See ChangeLog.18 for earlier changes.