]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix posix/tst-regex by using UTF-8 and own test input
[thirdparty/glibc.git] / ChangeLog
1 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
2
3 Fix posix/tst-regex by using UTF-8 and own test input
4 Problem reported by Stefan Liebler in:
5 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
6 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
7 (do_test, test_expr): Adjust to the fact that this source file,
8 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
9 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
10 so that it is now UTF-8.
11
12 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
13
14 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
15 (fegetenv_status): Generate 'mffsl' unconditionally.
16
17 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
18
19 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
20 FPSCR read.
21 (_FPU_MASK_ALL): Delete.
22
23 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
24
25 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
26 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
27 if possible.
28 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
29 with simpler required steps, set fewer FPSCR bits if possible.
30
31 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
32
33 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
34 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
35 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
36 weight access to FPSCR; remove unnecessary second FPSCR read and
37 validate.
38 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
40 access to FPSCR; Use macros in fenv_libc.h in favor of local.
41
42 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
43
44 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
45 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
46 (fenv_exceptions_to_reg): New.
47 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
48 operation with call to fenv_exceptions_to_reg().
49 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
50
51 2019-08-28 Florian Weimer <fweimer@redhat.com>
52
53 * misc/mntent.c (struct mntent_buffer): Define.
54 (mntent_buffer): Adjust type to void *.
55 (allocate): Adjust for allocate_once.
56 (deallocate): New function.
57 (getmntent): Call allocate_once.
58
59 2019-08-28 Florian Weimer <fweimer@redhat.com>
60
61 nptl: Move pthread_attr_setdetachstate implementation into libc.
62 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
63 (libpthread-routines): Remove pthread_attr_setdetachstate.
64 * nptl/Versions (libpthread GLIBC_2.0): Remove
65 pthread_attr_setdetachstate.
66 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
67 * nptl/nptl-init.c (pthread_functions): Remove initializer for
68 ptr_pthread_attr_setdetachstate.
69 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
70 Remove ptr_pthread_attr_setdetachstate member.
71 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
72 Remove pthread_attr_setdetachstate.
73 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
74 Likewise.
75 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
76 Likewise.
77 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
78 Likewise.
79 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
80 Likewise.
81 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
82 Likewise.
83 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
84 Likewise.
85 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
86 (GLIBC_2.4): Likewise.
87 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
88 (GLIBC_2.0): Likewise.
89 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
90 (GLIBC_2.18): Likewise.
91 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
92 (GLIBC_2.0): Likewise.
93 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
94 (GLIBC_2.0): Likewise.
95 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
96 Likewise.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
98 (GLIBC_2.0): Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
100 (GLIBC_2.3): Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
102 (GLIBC_2.17): Likewise.
103 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
104 (GLIBC_2.27): Likewise.
105 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
106 (GLIBC_2.0): Likewise.
107 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
108 (GLIBC_2.2): Likewise.
109 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
110 Likewise.
111 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
112 (GLIBC_2.0): Likewise.
113 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
114 (GLIBC_2.2): Likewise.
115 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
116 (GLIBC_2.2.5): Likewise.
117 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
118 (GLIBC_2.16): Likewise.
119
120 2019-08-28 Florian Weimer <fweimer@redhat.com>
121
122 [BZ #24902]
123 * login/Makefile (tests): Add tst-pututxline-lockfail.
124 (tst-pututxline-lockfail): Link with -lpthread.
125 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
126 (__libc_getutid_r): Adjust.
127 (__libc_pututline): Likewise. Check for file_offset == -1.
128 * login/tst-pututxline-lockfail.c: New file.
129
130 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
131
132 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
133 * posix/tst-regex.input: New file.
134
135 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
136
137 [BZ #24916]
138 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
139 tst-undefined-weak.
140 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
141 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
142 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
143 * sysdeps/mips/tst-undefined-weak.c: Likewise.
144 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
145 Increment highest valid ABIVERSION value.
146
147 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
148
149 * sysdeps/unix/sysv/linux/mips/Makefile
150 (test-xfail-check-execstack):
151 Move under mips-has-gnustack != yes.
152 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
153 Apply -Wa,-execstack if mips-force-execstack == yes.
154 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
155 * sysdeps/unix/sysv/linux/mips/configure.ac
156 (mips-force-execstack): New var.
157 Set to yes for hard-float builds with minimum_kernel < 4.8.0
158 or minimum_kernel not set at all.
159 (mips-has-gnustack): New var.
160 Use value of libc_cv_as_noexecstack
161 if mips-force-execstack != yes, otherwise set to no.
162
163 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
164 Florian Weimer <fweimer@redhat.com>
165
166 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
167 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
168 Make a compat_symbol.
169 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
170 (__profil_counter_global): Likewise.
171
172 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
173 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
174 uintptr_t.
175 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
176 sigcontext_get_pc and return aligned cast to uintptr_t.
177 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
178 * sysdeps/posix/profil.c (profil_count): Change PC argument to
179 uintptr_t.
180 (__profil): Use SA_SIGINFO.
181 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
182 uintptr_t.
183 (__sprofil): Use SA_SIGINFO.
184 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
185 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
186 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
187 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
188 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
189 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
190 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
191 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
192 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
194 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
195 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
196 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
197 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
198 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
199 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
200 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
201 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
202 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
203 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
204 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
205 GET_PC, __sigaction, sigaction): Remove defines.
206 (sigcontext_get_pc): New function.
207 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
208 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
209 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
210 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
211 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
212 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
213 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
214 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
215 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
216 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
217 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
218 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
219 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
220 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
221 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
222 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
223 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
224 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
225 Handle CTX argument as ucontext_t.
226 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
227 Likewise.
228 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
229 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
230 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
231 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
232 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
233 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
234 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
235 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
236 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
237 tst-sigcontextinfo-get_pc.
238 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
239 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
240
241 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
242
243 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
244 definition.
245
246 2019-08-23 Rafal Luzynski <digitalfreak@lingonborough.com>
247
248 [BZ #24682]
249 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
250 * localedata/locales/ug_CN (first_weekday): Likewise.
251 * localedata/locales/zh_CN (first_weekday): Likewise.
252
253 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
254
255 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
256 field name in mcontext_t struct.
257
258 2019-08-22 Joseph Myers <joseph@codesourcery.com>
259
260 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
261 unsupported with libidn2 before 2.0.5.
262 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
263
264 * manual/time.texi (strftime): Document %Ob and %OB as C2X
265 features.
266
267 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
268
269 Remove dead regex code
270 * posix/regex_internal.c (re_node_set_insert):
271 Remove unnecessary assignment. Reported by Tim Rühsen in:
272 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
273
274 Fix bad pointer / leak in regex code
275 This was found by Coverity (CID 1484201). [BZ#24844]
276 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
277 pointer and/or memory leak when storage is exhausted.
278
279 2019-08-21 Zack Weinberg <zackw@panix.com>
280
281 * misc/syslog.c (__vsyslog_internal)
282 * time/getdate.c (__getdate_r)
283 * time/tst_wcsftime.c (main):
284 Use return value of time, not its argument.
285
286 * string/strfry.c (strfry)
287 * sysdeps/mach/sleep.c (__sleep):
288 Remove unnecessary casts of NULL in calls to time.
289
290 2019-08-21 Joseph Myers <joseph@codesourcery.com>
291
292 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
293 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
294 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
295 (__TGMATH_2_NARROW_F): Likewise.
296 (__TGMATH_2_NARROW_D): New macro.
297 (__TGMATH_2_NARROW_F16): Likewise.
298 (__TGMATH_2_NARROW_F32): Likewise.
299 (__TGMATH_2_NARROW_F64): Likewise.
300 (__TGMATH_2_NARROW_F32X): Likewise.
301 (__TGMATH_2_NARROW_F64X): Likewise.
302 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
303 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
304 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
305 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
306 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
307 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
308 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
309 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
310 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
311 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
312 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
313 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
314 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
315 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
316 Likewise.
317 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
318 Likewise.
319 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
320 Likewise.
321 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
322 Likewise.
323 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
324 Likewise.
325 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
326 Likewise.
327 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
328 Likewise.
329 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
330 Likewise.
331 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
332 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
333 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
334 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
335 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
336 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
337 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
338 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
339 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
340 Likewise.
341 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
342 Likewise.
343 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
344 Likewise.
345 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
346 Likewise.
347 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
348 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
349 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
350 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
351 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
352 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
353 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
354 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
355 * math/gen-tgmath-tests.py (Type): Add members
356 non_standard_real_argument_types_list, long_double_type,
357 complex_float64_type and float32x_ext_type.
358 (Type.__init__): Set the new members.
359 (Type.floating_type): Add new argument floatn.
360 (Type.real_floating_type): Likewise.
361 (Type.can_combine_types): Likewise.
362 (Type.combine_types): Likewise.
363 (Type.init_types): Create internal Float32x_ext type.
364 (Tests.__init__): Define Float32x_ext in generated C code.
365 (Tests.add_tests): Handle narrowing functions.
366 (Tests.add_all_tests): Likewise.
367 (Tests.tests_text): Allow variation in mant_dig for narrowing
368 functions with compilers before GCC 8.
369 * math/Makefile (tgmath3-narrow-types): New variable.
370 (tgmath3-narrow-macros): Likewise.
371 (tgmath3-macros): Add $(tgmath3-narrow-macros).
372
373 2019-08-20 Andreas Schwab <schwab@suse.de>
374
375 * sysdeps/i386/fpu/libm-test-ulps: Update.
376
377 2019-08-19 Carlos O'Donell <carlos@redhat.com>
378
379 * nscd/nscd.conf: Add warning and comment about shared option.
380
381 2019-08-19 Carlos O'Donell <carlos@redhat.com>
382
383 * nss/nsswitch.conf: Expand comments, and simplify defaults.
384 * manual/nss.texi (NSS Basics): List all known databases.
385 (Services in the NSS configuration): Mention automount.
386
387 2019-08-19 Florian Weimer <fweimer@redhat.com>
388
389 Do not print backtraces on fatal errors.
390 * debug/fortify_fail.c (__libc_argv): Remove declaration.
391 (__fortify_fail_abort): Remove definition.
392 (__fortify_fail): Call __libc_message directly.
393 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
394 (__stack_chk_fail): Call __fortify_fail instead of
395 __fortify_fail_abort.
396 * include/stdio.h (__fortify_fail_abort): Remove declaration.
397 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
398 definitions.
399 (__libc_message): Do not handle do_backtrace. Do not call
400 BEFORE_ABORT.
401 (__libc_fatal): Do not pass do_backtrace to __libc_message.
402 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
403 (before_abort): Remove definitions.
404
405 2019-08-16 Florian Weimer <fweimer@redhat.com>
406
407 nptl: Move pthread_attr_getdetachstate implementation into libc.
408 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
409 (libpthread-routines): Remove pthread_attr_getdetachstate.
410 * nptl/Versions (libpthread GLIBC_2.0): Remove
411 pthread_attr_getdetachstate.
412 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
413 * nptl/nptl-init.c (pthread_functions): Remove initializer for
414 ptr_pthread_attr_getdetachstate.
415 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
416 Remove ptr_pthread_attr_getdetachstate member.
417 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
418 Remove pthread_attr_getdetachstate.
419 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
420 Likewise.
421 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
422 Likewise.
423 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
424 Likewise.
425 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
426 Likewise.
427 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
428 Likewise.
429 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
430 Likewise.
431 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
432 (GLIBC_2.4): Likewise.
433 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
434 (GLIBC_2.0): Likewise.
435 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
436 (GLIBC_2.18): Likewise.
437 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
438 (GLIBC_2.0): Likewise.
439 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
440 (GLIBC_2.0): Likewise.
441 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
442 Likewise.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
444 (GLIBC_2.0): Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
446 (GLIBC_2.3): Likewise.
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
448 (GLIBC_2.17): Likewise.
449 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
450 (GLIBC_2.27): Likewise.
451 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
452 (GLIBC_2.0): Likewise.
453 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
454 (GLIBC_2.2): Likewise.
455 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
456 Likewise.
457 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
458 (GLIBC_2.0): Likewise.
459 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
460 (GLIBC_2.2): Likewise.
461 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
462 (GLIBC_2.2.5): Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
464 (GLIBC_2.16): Likewise.
465
466 2019-08-16 Joseph Myers <joseph@codesourcery.com>
467
468 * math/libm-test-compat_totalorder.inc (do_test)
469 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
470 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
471 * math/libm-test-compat_totalordermag.inc (do_test)
472 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
473
474 2019-08-15 Florian Weimer <fweimer@redhat.com>
475
476 nptl: Move pthread_attr_init implementation into libc.
477 * nptl/Makefile (routines): Add pthread_attr_init.
478 (libpthread-routines): Remove pthread_attr_init.
479 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
480 (libpthread GLIBC_2.0): Likewise.
481 * nptl/pthread_attr_init.c: Check for libc compat version instead
482 of libpthread compat version.
483 * nptl/forward.c (__pthread_attr_init_2_0)
484 (__pthread_attr_init_2_1): Remove definitions.
485 * nptl/nptl-init.c (pthread_functions): Remove initializers for
486 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
487 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
488 Remove members ptr___pthread_attr_init_2_0,
489 ptr___pthread_attr_init_2_1.
490 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
491 Remove pthread_attr_init.
492 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
493 Likewise.
494 (GLIBC_2.1): Likewise.
495 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
496 Likewise.
497 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
498 Likewise.
499 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
500 Likewise.
501 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
502 Likewise.
503 (GLIBC_2.1): Likewise.
504 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
505 Likewise.
506 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
507 (GLIBC_2.4): Likewise.
508 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
509 (GLIBC_2.0): Likewise.
510 (GLIBC_2.1): Likewise.
511 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
512 (GLIBC_2.18): Likewise.
513 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
514 (GLIBC_2.0): Likewise.
515 (GLIBC_2.1): Likewise.
516 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
517 (GLIBC_2.0): Likewise.
518 (GLIBC_2.1): Likewise.
519 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
520 Likewise.
521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
522 (GLIBC_2.0): Likewise.
523 (GLIBC_2.1): Likewise.
524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
525 (GLIBC_2.3): Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
527 (GLIBC_2.17): Likewise.
528 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
529 (GLIBC_2.27): Likewise.
530 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
531 (GLIBC_2.0): Likewise.
532 (GLIBC_2.1): Likewise.
533 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
534 (GLIBC_2.2): Likewise.
535 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
536 Likewise.
537 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
538 (GLIBC_2.0): Likewise.
539 (GLIBC_2.1): Likewise.
540 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
541 (GLIBC_2.2): Likewise.
542 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
543 (GLIBC_2.2.5): Likewise.
544 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
545 (GLIBC_2.16): Likewise.
546
547 2019-08-15 Florian Weimer <fweimer@redhat.com>
548
549 [BZ #24900]
550 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
551 new object in __RTLD_OPENEXEC mode (except for the origin).
552 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
553 check for the error message.
554 (do_test): Call it. Add check using relative path.
555 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
556 (tst-dlopen-aout-container): Link with libpthread.
557 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
558
559 2019-08-15 Joseph Myers <joseph@codesourcery.com>
560
561 * math/bits/mathcalls.h
562 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
563 (totalorder): Take pointer arguments.
564 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
565 (totalordermag): Likewise.
566 * manual/arith.texi (totalorder): Likewise.
567 (totalorderf): Likewise.
568 (totalorderl): Likewise.
569 (totalorderfN): Likewise.
570 (totalorderfNx): Likewise.
571 (totalordermag): Likewise.
572 (totalordermagf): Likewise.
573 (totalordermagl): Likewise.
574 (totalordermagfN): Likewise.
575 (totalordermagfNx): Likewise.
576 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
577 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
578 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
579 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
580 totalorderl, totalordermag, totalordermagf, totalordermagl,
581 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
582 totalordermagf64, totalordermagf32x, totalorderf64x,
583 totalordermagf64x, totalorderf128 and totalordermagf128.
584 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
585 and compat_totalordermag.
586 (libm-test-funcs-compat): New variable.
587 (libm-tests-compat): Likewise.
588 (tests): Do not include compat tests.
589 (tests-internal): Add compat tests.
590 ($(foreach t,$(libm-tests-base),
591 $(objpfx)$(t)-compat_totalorder.o)): Depend
592 on $(objpfx)libm-test-totalorder.c.
593 ($(foreach t,$(libm-tests-base),
594 $(objpfx)$(t)-compat_totalordermag.o): Depend on
595 $(objpfx)libm-test-totalordermag.c.
596 (tgmath3-macros): Remove totalorder and totalordermag.
597 * math/libm-test-compat_totalorder.inc: New file.
598 * math/libm-test-compat_totalordermag.inc: Likewise.
599 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
600 (RUN_TEST_fpfp_b): New macro.
601 (RUN_TEST_LOOP_fpfp_b): Likewise.
602 * math/libm-test-totalorder.inc (totalorder_test_data): Use
603 TEST_fpfp_b.
604 (totalorder_test): Condition on [!COMPAT_TEST].
605 (do_test): Likewise.
606 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
607 TEST_fpfp_b.
608 (totalordermag_test): Condition on [!COMPAT_TEST].
609 (do_test): Likewise.
610 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
611 totalorder and totalordermag.
612 * math/test-tgmath.c (NCALLS): Change to 132.
613 (F(compile_test)): Do not call totalorder or totalordermag.
614 (F(totalorder)): Remove.
615 (F(totalordermag)): Likewise.
616 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
617 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
618 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
619 SJSTR_HELPER.
620 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
621 [!_ISOMAC] (TEST_SIZE): Update call to STR.
622 [!_ISOMAC] (TEST_ALIGN): Likewise.
623 [!_ISOMAC] (TEST_OFFSET): Likewise.
624 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
625 and <first-versions.h>.
626 (__totalorder): Take pointer arguments. Add symbol versions and
627 compat symbols.
628 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
629 <shlib-compat.h> and <first-versions.h>.
630 (__totalordermag): Take pointer arguments. Add symbol versions
631 and compat symbols.
632 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
633 <shlib-compat.h> and <first-versions.h>.
634 (__totalorder): Take pointer arguments. Add symbol versions and
635 compat symbols.
636 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
637 <shlib-compat.h> and <first-versions.h>.
638 (__totalordermag): Take pointer arguments. Add symbol versions
639 and compat symbols.
640 * sysdeps/ieee754/float128/float128_private.h
641 (__totalorder_compatl): New macro.
642 (__totalordermag_compatl): Likewise.
643 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
644 and <first-versions.h>.
645 (__totalorderf): Take pointer arguments. Add symbol versions and
646 compat symbols.
647 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
648 <shlib-compat.h> and <first-versions.h>.
649 (__totalordermagf): Take pointer arguments. Add symbol versions
650 and compat symbols.
651 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
652 <shlib-compat.h> and <first-versions.h>.
653 (__totalorderl): Take pointer arguments. Add symbol versions and
654 compat symbols.
655 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
656 <shlib-compat.h> and <first-versions.h>.
657 (__totalordermagl): Take pointer arguments. Add symbol versions
658 and compat symbols.
659 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
660 <shlib-compat.h>.
661 (__totalorderl): Take pointer arguments. Add symbol versions and
662 compat symbols.
663 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
664 <shlib-compat.h>.
665 (__totalordermagl): Take pointer arguments. Add symbol versions
666 and compat symbols.
667 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
668 <shlib-compat.h> and <first-versions.h>.
669 (__totalorderl): Take pointer arguments. Add symbol versions and
670 compat symbols.
671 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
672 <shlib-compat.h> and <first-versions.h>.
673 (__totalordermagl): Take pointer arguments. Add symbol versions
674 and compat symbols.
675 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
676 pointer arguments.
677 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
678 Likewise.
679 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
680 (do_test): Update calls to totalorderl and totalordermagl.
681 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
682 Update calls to totalorderl and totalordermagl.
683 * sysdeps/mach/hurd/i386/libm.abilist: Update.
684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
685 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
686 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
687 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
688 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
689 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
690 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
691 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
692 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
693 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
694 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
695 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
696 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
698 Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
700 Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
702 Likewise.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
704 Likewise.
705 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
706 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
707 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
708 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
709 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
710 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
711 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
712 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
713
714 2019-08-15 Florian Weimer <fweimer@redhat.com>
715
716 [BZ #24899]
717 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
718 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
719 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
720 Likewise.
721 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
722 __attribute_nonstring__ to ut_id.
723 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
724 Likewise.
725
726 2019-08-15 Florian Weimer <fweimer@redhat.com>
727
728 [BZ #24880]
729 * login/utmp_file.c (file_locking_failed): Use struct flock64.
730 (file_locking_unlock): Likewise.
731
732 2019-08-15 Florian Weimer <fweimer@redhat.com>
733
734 [BZ #24879]
735 login: Disarm timer after utmp lock acquisition.
736 * login/utmp_file.c (struct file_locking): Remove.
737 (try_file_lock): Adjust.
738 (file_lock_restore): Remove function.
739 (__libc_getutent_r): .
740 (internal_getut_r): Likewise.
741 (__libc_getutline_r): Likewise.
742 (__libc_pututline): Likewise.
743 (__libc_updwtmp): Likewise.
744
745 2019-08-15 Florian Weimer <fweimer@redhat.com>
746
747 nptl: Remove pthread_self compatibility symbol from libpthread.
748 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
749 pthread_equal.
750 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
751 * nptl/compat-pthread_self.c: Remove file.
752 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
753 Remove pthread_self.
754 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
755 Likewise.
756 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
757 Likewise.
758 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
759 Likewise.
760 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
761 Likewise.
762 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
763 Likewise.
764 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
765 (GLIBC_2.4): Likewise.
766 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
767 (GLIBC_2.0): Likewise.
768 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
769 (GLIBC_2.18): Likewise.
770 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
771 (GLIBC_2.0): Likewise.
772 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
773 (GLIBC_2.0): Likewise.
774 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
775 Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
777 (GLIBC_2.0): Likewise.
778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
779 (GLIBC_2.3): Likewise.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
781 (GLIBC_2.17): Likewise.
782 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
783 (GLIBC_2.0): Likewise.
784 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
785 (GLIBC_2.2): Likewise.
786 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
787 Likewise.
788 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
789 (GLIBC_2.0): Likewise.
790 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
791 (GLIBC_2.2): Likewise.
792 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
793 (GLIBC_2.2.5): Likewise.
794 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
795 (GLIBC_2.16): Likewise.
796
797 2019-08-15 Florian Weimer <fweimer@redhat.com>
798
799 nptl: Move pthread_attr_destroy implementation into libc.
800 * nptl/Makefile (routines): Add pthread_attr_destroy.
801 (libpthread-routines): Remove pthread_attr_destroy.
802 * nptl/Versions (libpthread GLIBC_2.0): Remove
803 pthread_attr_destroy.
804 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
805 libc compat version instead of libpthread compat version.
806 * nptl/forward.c (pthread_attr_destroy): Remove definition.
807 * nptl/nptl-init.c (pthread_functions): Remove initializer for
808 ptr_pthread_attr_destroy.
809 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
810 Remove ptr_pthread_attr_destroy member.
811 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
812 Remove pthread_attr_destroy.
813 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
814 Likewise.
815 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
816 Likewise.
817 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
818 Likewise.
819 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
820 Likewise.
821 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
822 Likewise.
823 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
824 Likewise.
825 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
826 (GLIBC_2.4): Likewise.
827 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
828 (GLIBC_2.0): Likewise.
829 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
830 (GLIBC_2.18): Likewise.
831 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
832 (GLIBC_2.0): Likewise.
833 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
834 (GLIBC_2.0): Likewise.
835 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
836 Likewise.
837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
838 (GLIBC_2.0): Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
840 (GLIBC_2.3): Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
842 (GLIBC_2.17): Likewise.
843 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
844 (GLIBC_2.27): Likewise.
845 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
846 (GLIBC_2.0): Likewise.
847 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
848 (GLIBC_2.2): Likewise.
849 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
850 Likewise.
851 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
852 (GLIBC_2.0): Likewise.
853 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
854 (GLIBC_2.2): Likewise.
855 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
856 (GLIBC_2.2.5): Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
858 (GLIBC_2.16): Likewise.
859
860 2019-08-15 Andreas Schwab <schwab@suse.de>
861
862 * sysdeps/i386/fpu/libm-test-ulps: Update.
863
864 2019-08-15 Florian Weimer <fweimer@redhat.com>
865
866 * malloc/Makefile (tests): Only add tst-mxfast for
867 $(have-tunables).
868 * malloc/tst-mxfast.c: Fix copyright year.
869 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
870 assert for checks.
871
872 2019-08-15 Florian Weimer <fweimer@redhat.com>
873
874 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
875 descriptor.
876 * login/Makefile (tests): Add tst-updwtmpx.
877 * login/tst-updwtmpx.c: New file.
878
879 2019-08-15 Florian Weimer <fweimer@redhat.com>
880
881 nptl: Move pthread_equal implementation into libc.
882 * nptl/Makefile (routines): Add pthread_equal.
883 * nptl/forward.c (pthread_equal): Remove definition.
884 * nptl/nptl-init.c (pthread_functions): Remove initializer for
885 ptr_pthread_equal.
886 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
887 Remove ptr_pthread_equal member.
888 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
889 Remove pthread_equal.
890 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
891 Likewise.
892 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
893 Likewise.
894 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
895 Likewise.
896 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
897 Likewise.
898 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
899 Likewise.
900 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
901 Likewise.
902 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
903 (GLIBC_2.4): Likewise.
904 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
905 (GLIBC_2.0): Likewise.
906 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
907 (GLIBC_2.18): Likewise.
908 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
909 (GLIBC_2.0): Likewise.
910 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
911 (GLIBC_2.0): Likewise.
912 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
913 Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
915 (GLIBC_2.0): Likewise.
916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
917 (GLIBC_2.3): Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
919 (GLIBC_2.17): Likewise.
920 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
921 (GLIBC_2.27): Likewise.
922 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
923 (GLIBC_2.0): Likewise.
924 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
925 (GLIBC_2.2): Likewise.
926 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
927 Likewise.
928 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
929 (GLIBC_2.0): Likewise.
930 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
931 (GLIBC_2.2): Likewise.
932 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
933 (GLIBC_2.2.5): Likewise.
934 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
935 (GLIBC_2.16): Likewise.
936
937 2019-08-14 Florian Weimer <fweimer@redhat.com>
938
939 * support/support_descriptors.c: Include <support/descriptors.h>.
940
941 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
942
943 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
944 Disable DC ZVA code if this macro is defined as zero.
945 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
946 Change to zero to disable using DC ZVA.
947
948 2019-08-13 Joseph Myers <joseph@codesourcery.com>
949
950 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
951 Update comment.
952 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
953 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
954 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
955 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
956 Likewise.
957
958 2019-08-13 Florian Weimer <fweimer@redhat.com>
959
960 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
961 Remove macros.
962 (struct file_locking): New.
963 (try_file_lock, file_unlock, file_lock_restore): New functions.
964 (__libc_getutent_r): Use the new functions.
965 (internal_getut_r): Likewise.
966 (__libc_getutline_r): Likewise.
967 (__libc_pututline): Likewise.
968 (__libc_updwtmp): Likewise.
969
970 2019-08-13 Joseph Myers <joseph@codesourcery.com>
971
972 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
973 comment.
974 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
975 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
976 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
977 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
978 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
979 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
980 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
981 Likewise.
982 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
983 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
984 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
985 Likewise.
986 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
987 Likewise.
988 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
989 Likewise.
990 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
991 Likewise.
992 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
993 Likewise.
994 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
995 Likewise.
996 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
997 Likewise.
998 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
999 (IEC_60559_BFP_EXT)]: Likewise.
1000 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1001 Likewise.
1002 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1003 Likewise.
1004 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1005 Likewise.
1006 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1007 Likewise.
1008 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1009 Likewise.
1010 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1011 Likewise.
1012 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1013 Likewise.
1014 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1015 Likewise.
1016 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1017 Likewise, except for totalorder, totalordermag, getpayload,
1018 setpayload and setpayloadsig.
1019 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1020 except for totalorder and totalordermag.
1021
1022 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1023 (strdup): Likewise.
1024 (strndup): Likewise.
1025
1026 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1027 Undefine and define to 1 if [_GNU_SOURCE].
1028 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1029 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1030 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1031 (__USE_ISOC99): Likewise.
1032 (__USE_ISOC95): Likewise.
1033 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1034
1035 2019-08-13 Florian Weimer <fweimer@redhat.com>
1036
1037 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1038 are always true.
1039 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1040 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1041 * login/getutmpx.c (getutmpx): Likewise.
1042 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1043 true.
1044 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1045 _HAVE_UT_TV are always true.
1046 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1047 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1048 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1049 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1050 are always true.
1051 (internal_getut_r): _HAVE_UT_TYPE is always true.
1052 (__libc_pututline): Likewise.
1053 * login/programs/utmpdump.c (print_entry): Assume that
1054 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1055 _HAVE_UT_TV are always true.
1056 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1057 _HAVE_UT_ID are always true.
1058 * sysdeps/gnu/bits/utmp.h: Move to ...
1059 * bits/utmp.h: ... here, replacing the old file.
1060
1061 2019-08-12 Florian Weimer <fweimer@redhat.com>
1062
1063 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1064 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1065 not set.
1066 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1067 (do_test): Open the executable using an absolute path. Print
1068 error message to standard output.
1069
1070 2019-08-09 DJ Delorie <dj@redhat.com>
1071
1072 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1073 * manual/tunables.texi: Document it.
1074 * malloc/malloc.c (do_set_mxfast): New.
1075 (__libc_mallopt): Call it.
1076 * malloc/arena.c: Add mxfast tunable.
1077 * malloc/tst-mxfast.c: New.
1078 * malloc/Makefile: Add it.
1079
1080 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1081 Carlos O'Donell <carlos@redhat.com>
1082
1083 [BZ #24026]
1084 * malloc/malloc.c (__malloc_info): Account for top chunk.
1085
1086 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1087
1088 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1089 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1090
1091 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1092
1093 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1094
1095 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1096
1097 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1098
1099 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1100
1101 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1102 New macro.
1103
1104 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1105
1106 [BZ #19767]
1107 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1108 Remove definition.
1109 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1110 Likewise.
1111 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1112 Likewise.
1113 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1114 Likewise.
1115 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1116 (ALWAYS_USE_VSYSCALL): Likewise.
1117 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1118 (ALWAYS_USE_VSYSCALL): Likewise.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1120 (ALWAYS_USE_VSYSCALL): Likewise.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1122 (ALWAYS_USE_VSYSCALL): Likewise.
1123 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1124 Likewise.
1125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1126 (ALWAYS_USE_VSYSCALL): Likewise.
1127 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1128 (ALWAYS_USE_VSYSCALL): Likewise.
1129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1130 Likewise.
1131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1132 Likewise.
1133 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1134 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1135 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1136 USE_VSYSCALL): Remove defitions.
1137
1138 [BZ #19767]
1139 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1140 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1142 Define.
1143
1144 [BZ #19767]
1145 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1146 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1148 (ALWAYS_USE_VSYSCALL): Define.
1149 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1150 (ALWAYS_USE_VSYSCALL): Likewise.
1151
1152 [BZ #19767]
1153 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1154 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1155 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1156 Define.
1157
1158 * sysdeps/sh/libm-test-ulps: Update.
1159
1160 2019-08-05 Florian Weimer <fweimer@redhat.com>
1161
1162 [BZ #23518]
1163 * login/uptmp-private.h (struct ufuncs): Remove definition.
1164 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1165 (__libc_utmp_jump_table): Remove declarations.
1166 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1167 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1168 (__libc_updwtmp): Declare.
1169 * login/getutent_r.c (__libc_utmp_unknown_functions)
1170 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1171 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1172 (endutent_unknown): Remove definitions.
1173 (__setutent): Call __libc_setutent.
1174 (__getutent_r): Call __libc_getutent_r.
1175 (__pututline): Call __libc_pututline.
1176 (__endutent): Call __libc_endutent.
1177 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1178 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1179 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1180 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1181 (__libc_setutent): Rename from stetutent_file. Drop static.
1182 (maybe_setutent): New function.
1183 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1184 Check for initialization.
1185 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1186 Check for initialization.
1187 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1188 Check for initialization.
1189 (__libc_pututline): Rename from pututline_file. Drop static.
1190 Check for initialization.
1191 (__libc_endutent): Rename from endutent_file. Drop static. Check
1192 for initialization.
1193 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1194 * login/utmpname.c (__utmpname): Call __libc_endutent.
1195 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1196 __libc_getutlien_r, __libc_endutent.
1197 * manual/users.texi (Who Logged In, Manipulating the Database):
1198 Adjust.
1199
1200 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
1201
1202 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1203
1204 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1205
1206 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1207
1208 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1209 kernel version number to 5.2.
1210
1211 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1212
1213 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1214 mnemonics and set .machine power8.
1215 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1217 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1219 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1221 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1222 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1223 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1224 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1225
1226 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1227
1228 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1229
1230 2019-08-01 Florian Weimer <fweimer@redhat.com>
1231
1232 [BZ #24867]
1233 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1234 whitespace.
1235
1236 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1237
1238 [BZ #15813]
1239 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1240 attempt.
1241
1242 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1243
1244 * version.h (RELEASE): Set to "stable".
1245 (VERSION): Set to "2.30".
1246 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1247
1248 * manual/install.texi: Update component versions.
1249 * INSTALL: Regenerate.
1250 * NEWS: Update.
1251
1252 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1253
1254 * po/be.po: Update translations.
1255 * po/bg.po: Likewise.
1256 * po/ca.po: Likewise.
1257 * po/cs.po: Likewise.
1258 * po/da.po: Likewise.
1259 * po/de.po: Likewise.
1260 * po/el.po: Likewise.
1261 * po/eo.po: Likewise.
1262 * po/es.po: Likewise.
1263 * po/fi.po: Likewise.
1264 * po/fr.po: Likewise.
1265 * po/gl.po: Likewise.
1266 * po/hr.po: Likewise.
1267 * po/hu.po: Likewise.
1268 * po/ia.po: Likewise.
1269 * po/id.po: Likewise.
1270 * po/it.po: Likewise.
1271 * po/ja.po: Likewise.
1272 * po/ko.po: Likewise.
1273 * po/lt.po: Likewise.
1274 * po/nb.po: Likewise.
1275 * po/nl.po: Likewise.
1276 * po/pl.po: Likewise.
1277 * po/pt_BR.po: Likewise.
1278 * po/ru.po: Likewise.
1279 * po/rw.po: Likewise.
1280 * po/sk.po: Likewise.
1281 * po/sl.po: Likewise.
1282 * po/sv.po: Likewise.
1283 * po/tr.po: Likewise.
1284 * po/uk.po: Likewise.
1285 * po/vi.po: Likewise.
1286 * po/zh_CN.po: Likewise.
1287 * po/zh_TW.po: Likewise.
1288
1289 2019-07-31 Florian Weimer <fweimer@redhat.com>
1290
1291 [BZ #24583]
1292 [BZ #24677]
1293 iconv, libio: Revert reference counting changes.
1294 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1295 free the steps array.
1296 * libio/Makefile (tests): Remove tst-wfile-gconv.
1297 (tests-container): Do not add tst-wfile-ascii.
1298 (tst-wfile-gconv-ENV): Do not set.
1299 (generated): Do not add tst-wfile-gconv.mtrace,
1300 tst-wfile-gconv.check.
1301 [($run-built-tests)] (tests-special): Do not add
1302 tst-wfile-gconv-mem.out.
1303 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1304 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1305 instead of __wcsmbs_clone_conv.
1306 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1307 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1308
1309 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1310
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1312 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1313
1314 2019-07-30 Florian Weimer <fweimer@redhat.com>
1315
1316 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1317 type to uintptr_t. Update comment.
1318 (check_stack_top): Adjust.
1319
1320 2019-07-29 Florian Weimer <fweimer@redhat.com>
1321
1322 Linux: Move declaration of getdents64 to <dirent.h>.
1323 * bits/dirent_ext.h: New file.
1324 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1325 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1326 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1327 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1328 declaration.
1329 * manual/filesys.texi (Low-level Directory Access): Update header
1330 to dirent.h.
1331
1332 2019-07-29 DJ Delorie <dj@redhat.com>
1333 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1334
1335 [BZ #24794]
1336 * Makeconfig (all-subdirs): Improved source comments.
1337 * Makefile (testroot.pristine/install.stamp): Pass
1338 subdirs='$(sorted-subdirs)' to make install.
1339
1340 2019-07-25 Florian Weimer <fweimer@redhat.com>
1341
1342 [BZ #24677]
1343 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1344 counter before freeing array.
1345
1346 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1347
1348 [BZ #24603]
1349 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1350 works.
1351 * sysdeps/x86_64/configure: Regenerated.
1352 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1353 to -mprefer-vector-width=128 if supported.
1354
1355 2019-07-24 Florian Weimer <fweimer@redhat.com>
1356
1357 * scripts/build-many-glibcs.py (Context.checkout): Default to
1358 Linux 5.2.
1359
1360 2019-07-24 Florian Weimer <fweimer@redhat.com>
1361
1362 [BZ #24532]
1363 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1364 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1365 (sysdep_headers): Add bits/socket-constants.h.
1366 (tests-special): Add tst-socket-consts.out.
1367 (tst-socket-consts.out): New target.
1368 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1369 around <asm/unistd.h>.
1370 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1371 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1372 <asm/socket.h>.
1373 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1374 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1375 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1376 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1377 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1381
1382 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1383
1384 [BZ #24794]
1385 * Makefile (testroot.pristine/install.stamp): Pass
1386 subdirs='$(all-subdirs)' to make install.
1387
1388 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1389 the same arguments used in all tests.
1390
1391 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1392
1393 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1394
1395 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1396
1397 [BZ #2872]
1398 * locale/C-translit.h.in: Add Cyrillic transliteration.
1399
1400 2019-07-19 Florian Weimer <fweimer@redhat.com>
1401
1402 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1403 from Linux 5.2.
1404 (fsconfig): Add system call name.
1405 (fsmount): Likewise.
1406 (fsopen): Likewise.
1407 (fspick): Likewise.
1408 (move_mount): Likewise.
1409 (open_tree): Likewise.
1410
1411 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1412
1413 * po/libc.pot: Regenerate.
1414
1415 2019-07-18 Mike Crowe <mac@mcrowe.com>
1416
1417 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1418 functions recently added to sysdeps/nptl/pthread.h:
1419 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1420 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1421
1422 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1423 pthread_cond_clockwait forwarding functions. There are no internal
1424 users, so it is unnecessary to expose these functions in libc.so.
1425 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1426 unnecessary ptr___pthread_cond_clockwait member.
1427 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1428 removed member.
1429
1430 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1431
1432 [BZ #21897]
1433 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1434 begin with an uppercase letter now.
1435 (abmon): Likewise.
1436 (mon): Update from CLDR, reword February from "Kudo" to
1437 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1438 and August from "Liiqen" to "Leqeeni".
1439 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1440 April from "Agda Baxisso" to "Agda Baxis" and August from
1441 "Leqeeni" to "Liiqen".
1442 * localedata/locales/aa_ER@saaho (mon): Likewise.
1443 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1444 abbreviated February from "Kud" to "Nah".
1445 (mon): Update from CLDR, reword February from "Kudo" to
1446 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1447
1448 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1449
1450 [BZ #23996]
1451 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1452
1453 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1454
1455 [BZ #23996]
1456 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1457 name_mrs, name_miss, and name_ms.
1458 * localedata/locales/nl_NL (LC_NAME): Likewise.
1459
1460 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1461
1462 [BZ #24200]
1463 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1464 * localedata/locales/en_IE (first_weekday): Likewise.
1465
1466 2019-07-12 Mike Crowe <mac@mcrowe.com>
1467
1468 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1469 that is only useful if futex_supports_exact_relative_timeouts ()
1470 returns false.
1471 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1472 Likewise.
1473 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1474 timeouts potentially being imprecise since it's no longer true.
1475 Remove declaration of futex_supports_exact_relative_timeouts.
1476 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1477 of futex_supports_exact_relative_timeouts.
1478
1479 * NEWS: Mention recently-added pthread_cond_clockwait,
1480 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1481 sem_clockwait functions.
1482
1483 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1484 works like pthread_mutex_timedlock but takes a clockid parameter to
1485 measure the abstime parameter against.
1486 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1487 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1488 * nptl/pthread_mutex_timedlock.c
1489 (__pthread_mutex_clocklock_common): Rename from
1490 __pthread_mutex_timedlock and add clockid parameter. Pass this
1491 parameter to lll_clocklock and lll_clocklock_elision in place of
1492 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1493 LIBC_PROBE and validate clockid parameter before calling
1494 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1495 implementation to add LIBC_PROBE and calls
1496 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1497 clockid.
1498 * nptl/Makefile: Add tst-mutex11.c.
1499 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1500 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1501 clockid parameters to pthread_mutex_clocklock.
1502 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1503 clockid parameter to indicate which clock to be used. Call
1504 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1505 (do_test): Call do_test_clock to separately test
1506 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1507 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1508 * nptl/tst-mutex9.c: Likewise.
1509 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1510 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1511 Likewise.
1512 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1513 Likewise.
1514 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1515 Likewise.
1516 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1517 Likewise.
1518 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1519 Likewise.
1520 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1521 Likewise.
1522 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1523 Likewise.
1524 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1525 (GLIBC_2.30): Likewise.
1526 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1527 (GLIBC_2.30): Likewise.
1528 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1529 (GLIBC_2.30): Likewise.
1530 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1531 (GLIBC_2.30): Likewise.
1532 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1533 (GLIBC_2.30): Likewise.
1534 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1535 Likewise.
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1537 (GLIBC_2.30): Likewise.
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1539 (GLIBC_2.30): Likewise.
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1541 (GLIBC_2.30): Likewise.
1542 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1543 (GLIBC_2.30): Likewise.
1544 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1545 (GLIBC_2.30): Likewise.
1546 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1547 (GLIBC_2.30): Likewise.
1548 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1551 (GLIBC_2.30): Likewise.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1553 (GLIBC_2.30): Likewise.
1554 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1555 (GLIBC_2.30): Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1557 (GLIBC_2.30): Likewise.
1558
1559 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1560 parameter to indicate the clock that the abstime parameter should
1561 be measured against in preparation for adding
1562 pthread_mutex_clocklock.
1563 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1564 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1565 from __lll_timedlock and add clockid parameter.
1566 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1567 Likewise.
1568 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1569 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1570 rather than __gettimeofday so that clockid can be used. This means
1571 that conversion from struct timeval is no longer required.
1572 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1573 Likewise.
1574 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1575 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1576 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1577 from lll_timedlock_elision, add clockid parameter and use
1578 meaningful names for other parameters. (__pthread_mutex_timedlock):
1579 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1580 lll_clocklock_elision.
1581 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1582 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1583 clockid parameter. (__lll_clocklock_elision): Rename from
1584 __lll_timedlock_elision and add clockid parameter.
1585 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1586 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1587 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1588 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1589 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1590 (LLL_LOCK): Likewise.
1591 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1592 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1593
1594 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1595 pthread_rwlock_clockwrlock which behave like
1596 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1597 respectively, except they always measure abstime against the
1598 supplied clockid. The functions currently support CLOCK_REALTIME
1599 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1600 specified.
1601 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1602 pthread_wrlock_clockwrlock.
1603 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1604 pthread_rwlock_clockwrlock.c.
1605 * nptl/pthread_rwlock_clockrdlock.c: Implement
1606 pthread_rwlock_clockrdlock.
1607 * nptl/pthread_rwlock_clockwrlock.c: Implement
1608 pthread_rwlock_clockwrlock.
1609 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1610 clockid parameter and verify that it indicates a supported clock on
1611 entry so that we fail even if it doesn't end up being used. Pass
1612 that clock on to futex_abstimed_wait when necessary.
1613 (__pthread_rwlock_wrlock_full): Likewise.
1614 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1615 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1616 be used because there's no timeout.
1617 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1618 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1619 be used because there is no timeout.
1620 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1621 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1622 uses that clock.
1623 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1624 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1625 uses that clock.
1626 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1627 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1628 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1629 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1630 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1631 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1632 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1633 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1634 (GLIBC_2.30): Likewise.
1635 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1636 (GLIBC_2.30): Likewise.
1637 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1638 (GLIBC_2.30): Likewise.
1639 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1640 (GLIBC_2.30): Likewise.
1641 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1642 (GLIBC_2.30): Likewise.
1643 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1645 (GLIBC_2.30): Likewise.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1647 (GLIBC_2.30): Likewise.
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1649 (GLIBC_2.30): Likewise.
1650 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1651 (GLIBC_2.30): Likewise.
1652 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1653 (GLIBC_2.30): Likewise.
1654 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1655 (GLIBC_2.30): Likewise.
1656 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1657 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1658 (GLIBC_2.30): Likewise.
1659 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1660 (GLIBC_2.30): Likewise.
1661 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1662 (GLIBC_2.30): Likewise.
1663 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1664 (GLIBC_2.30): Likewise.
1665 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1666 pthread_rwlock_clockwrlock timeout tests to match the existing
1667 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1668 * nptl/tst-rwlock14.c (do_test): Likewise.
1669 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1670 ancillary output throughout. (tf): Accept thread_args structure so
1671 that rwlock, a clockid and function name can be passed to the
1672 thread. (do_test_clock): Rename from do_test. Accept clockid
1673 parameter to specify test clock. Use the magic clockid value of
1674 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1675 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1676 specified clockid to pthread_rwlock_clockrdlock and
1677 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1678 (do_test): Call do_test_clock to test each clockid in turn.
1679 * nptl/tst-rwlock7.c: Likewise.
1680 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1681 thread_args structure so that the (now int) thread number, the
1682 clockid and the function name can be passed to the thread.
1683 (do_test_clock): Renamed from do_test. Pass the necessary
1684 thread_args when creating the reader and writer threads. Use
1685 xpthread_create and xpthread_join.
1686 (do_test): Call do_test_clock to test each clockid in turn.
1687 * manual/threads.texi: Add documentation for
1688 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1689
1690 nptl: pthread_rwlock: Move timeout validation into _full functions
1691 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1692 Check validity of abstime parameter.
1693 (__pthread_rwlock_rwlock_full): Likewise.
1694 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1695 Remove check for validity of abstime parameter.
1696 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1697 Likewise.
1698
1699 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1700 like pthread_cond_timedwait except it always measures abstime
1701 against the supplied clockid.
1702 * nptl/Makefile: Add tst-cond26 and tst-cond27
1703 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1704 * sysdeps/nptl/pthread.h: Likewise
1705 * nptl/forward.c: Add __pthread_cond_clockwait
1706 * nptl/forward.c: Likewise
1707 * nptl/pthreadP.h: Likewise
1708 * sysdeps/nptl/pthread-functions.h: Likewise
1709 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1710 clockid parameter and comment describing why we don't need to check
1711 its value. Use that value when calling
1712 futex_abstimed_wait_cancelable rather than reading the clock from
1713 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1714 (__pthread_cond_timedwait): Read clock from flags and pass it to
1715 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1716 function with weak alias from pthread_cond_clockwait.
1717 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1718 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1719 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1720 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1721 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1722 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1723 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1724 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1725 (GLIBC_2.30): Likewise.
1726 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1727 (GLIBC_2.30): Likewise.
1728 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1729 (GLIBC_2.30): Likewise.
1730 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1731 (GLIBC_2.30): Likewise.
1732 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1733 (GLIBC_2.30): Likewise.
1734 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1736 (GLIBC_2.30): Likewise.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1738 (GLIBC_2.30): Likewise.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1740 (GLIBC_2.30): Likewise.
1741 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1742 (GLIBC_2.30): Likewise.
1743 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1744 (GLIBC_2.30): Likewise.
1745 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1746 (GLIBC_2.30): Likewise.
1747 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1748 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1749 (GLIBC_2.30): Likewise.
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1751 (GLIBC_2.30): Likewise.
1752 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1753 (GLIBC_2.30): Likewise.
1754 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1755 (GLIBC_2.30): Likewise.
1756 * nptl/tst-cond11.c (run_test): Support testing
1757 pthread_cond_clockwait too by using a special magic
1758 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1759 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1760 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1761 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1762 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1763 clocks to pthread_cond_clockwait.
1764 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1765 struct timespec and pthread_cond_clockwait.
1766 * manual/threads.texi: Document pthread_cond_clockwait.
1767
1768 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1769 sem_timedwait, but measures abstime against the specified clock.
1770 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1771 clockid parameters to indicate the clock which abstime should be
1772 measured against.
1773 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1774 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1775 __new_sem_wait_slow.
1776 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1777 on sem_timedwait.c.
1778 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1779 sem_clockwait.c to match those used for sem_timedwait.c.
1780 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1781 * nptl/Versions (GLIBC_2.30): Likewise.
1782 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1783 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1784 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1785 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1786 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1787 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1788 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1789 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1790 (GLIBC_2.30): Likewise.
1791 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1792 (GLIBC_2.30): Likewise.
1793 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1794 (GLIBC_2.30): Likewise.
1795 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1796 (GLIBC_2.30): Likewise.
1797 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1798 (GLIBC_2.30): Likewise.
1799 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1801 (GLIBC_2.30): Likewise.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1803 (GLIBC_2.30): Likewise.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1805 (GLIBC_2.30): Likewise.
1806 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1807 (GLIBC_2.30): Likewise.
1808 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1809 (GLIBC_2.30): Likewise.
1810 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1811 (GLIBC_2.30): Likewise.
1812 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1813 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1814 (GLIBC_2.30): Likewise.
1815 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1816 (GLIBC_2.30): Likewise.
1817 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1818 (GLIBC_2.30): Likewise.
1819 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1820 (GLIBC_2.30): Likewise.
1821 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1822 sem_clockwait.
1823 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1824 tests to also test sem_clockwait.
1825 * manual/threads.texi: Document sem_clockwait.
1826
1827 nptl: Add clockid parameter to futex timed wait calls
1828 * sysdeps/nptl/lowlevellock-futex.h,
1829 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1830 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1831 takes a clockid rather than a special clockbit.
1832 * sysdeps/nptl/lowlevellock-futex.h: Add
1833 lll_futex_supported_clockid so that client functions can check
1834 whether their clockid parameter is valid even if they don't
1835 ultimately end up calling lll_futex_clock_wait_bitset.
1836 * sysdeps/nptl/futex-internal.h,
1837 sysdeps/unix/sysv/linux/futex-internal.h
1838 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1839 clockid_t parameter to indicate which clock the absolute time
1840 passed should be measured against. Pass that clockid onto
1841 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1842 returning -EINVAL.
1843 * sysdeps/nptl/futex-internal.h,
1844 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1845 futex_abstimed_supported_clockid so that client functions can check
1846 whether their clockid parameter is valid even if they don't
1847 ultimately end up calling futex_abstimed_wait.
1848 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1849 code to calculate relative timeout for
1850 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1851 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1852 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1853 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1854 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1855 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1856 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1857
1858 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1859
1860 [BZ #24699]
1861 * posix/tst-mmap-offset.c: Mention BZ #24699.
1862 (do_test_bz21270): Rename to do_test_large_offset and use
1863 mmap64_maximum_offset to check for maximum expected offset value.
1864 * sysdeps/generic/mmap_info.h: New file.
1865 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1866 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1867 __NR_mmap2 is used.
1868
1869 2019-07-10 DJ Delorie <dj@redhat.com>
1870 Sergei Trofimovich <slyfox@inbox.ru>
1871
1872 [BZ #24696]
1873 [BZ #24695]
1874 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1875 mappings.
1876 * nss/tst-nss-db-endgrent.c: New.
1877 * nss/tst-nss-db-endgrent.root: New.
1878 * nss/tst-nss-db-endpwent.c: New.
1879 * nss/tst-nss-db-endpwent.root: New.
1880 * nss/Makefile: Add new tests.
1881 * support/links-dso-program-c.c: Add selinux dependency.
1882 * support/links-dso-program.cc: Add selinux dependency.
1883 * support/Makefile: Build those with -lselinux if enabled.
1884
1885 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1886
1887 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1888 DT_AARCH64_VARIANT_PCS check.
1889 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1890 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1891 variant_pcs.
1892
1893 2019-07-10 Andreas Schwab <schwab@suse.de>
1894
1895 [BZ #23352]
1896 * malloc/malloc.h (__malloc_check_init): Don't declare.
1897 * include/malloc.h (__malloc_check_init): Likewise.
1898 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1899 * manual/memory.texi (__malloc_check_init): Don't mention it.
1900
1901 2019-07-10 Mao Han <han_mao@c-sky.com>
1902
1903 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1904
1905 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
1906
1907 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1908 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1909
1910 2019-07-08 DJ Delorie <dj@redhat.com>
1911
1912 [BZ #23501]
1913 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1914 * io/tst-ftw-lnk.c: New test.
1915 * io/Makefile: Run it.
1916
1917 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1918
1919 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1920 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1921 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1922 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1923 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1924 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1926 Adjust implementation path.
1927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1928 Adjust implementation path.
1929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1930 Adjust implementation path.
1931 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1932 (libm-sysdep_routines): Add s_log* objects.
1933 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1934 CFLAGS-s_logb-power7.c): New fule.
1935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
1936 to ...
1937 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
1938 ... here.
1939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
1940 to ...
1941 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
1942 ... here.
1943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
1944 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
1945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1946 to ...
1947 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1948 ... here.
1949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1950 to ...
1951 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1952 ... here.
1953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1954 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1956 to ...
1957 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1958 ... here.
1959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1960 to ...
1961 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1962 ... here.
1963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1964 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1966 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1968 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1969
1970 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1971 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1972 powerpc32 integer 0 converting to -0.
1973
1974 * benchtests/Makefile (bench-math): Add logb.
1975 * benchtests/logb-inputs: New file.
1976 * benchtests/logbf-inputs: New file.
1977
1978 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1979 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1980 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1981 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1983 Adjust include.
1984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1985 Likewise.
1986 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1987 sysdep_routines): Add s_modf* objects.
1988 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1989 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1991 to ...
1992 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1993 ... here.
1994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1995 to ...
1996 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1997 ... here.
1998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1999 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2001 to ...
2002 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2003 ... here.
2004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2005 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2006 ... here.
2007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2008 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2009
2010 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2011 twoM500, twoM600, two60factor, pdnum): Remove.
2012 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2013 (__ieee754_hypot): Replace static variables with inline definition,
2014 remove ununsed branches.
2015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2016 (libm-sysdep_routines): Remove e_hypot-* objects.
2017 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2018 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2019 file.
2020 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2025
2026 * benchtests/Makefile (bench-math): Add hypot.
2027 * benchtests/hypot-inputs: New file.
2028
2029 2019-07-08 Vincent Chen <vincentc@andestech.com>
2030
2031 * sysdeps/unix/sysv/linux/dl-vdso.h
2032 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2033
2034 2019-07-04 Andreas Schwab <schwab@suse.de>
2035
2036 [BZ #24484]
2037 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2038
2039 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2040
2041 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2042 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2043 * sysdeps/aarch64/sys/ifunc.h: New file.
2044 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2045 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2046
2047 2019-07-01 Florian Weimer <fweimer@redhat.com>
2048
2049 [BZ #20188]
2050 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2051 Replace __vfork with __libpthread_version_placeholder for
2052 GLIBC_2.1.2.
2053 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2054 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2055 libpthread-compat.
2056 * nptl/pt-vfork.c: Remove file.
2057 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2058 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2059 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2060 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2061 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2062 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2063 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2064 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2065 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2066 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2067 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2068 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2070 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2071 Remove vfork, __vfork.
2072 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2073 Remove vfork.
2074 (GLIBC_2.1.2): Replace __vfork with
2075 __libpthread_version_placeholder.
2076 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2077 Remove vfork, __vfork.
2078 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2079 Likewise.
2080 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2081 Remove vfork.
2082 (GLIBC_2.1.2): Replace __vfork with
2083 __libpthread_version_placeholder.
2084 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2085 Remove vfork.
2086 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2087 (GLIBC_2.4): Remove vfork, __vfork.
2088 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2089 (GLIBC_2.0): Remove vfork.
2090 (GLIBC_2.1.2): Replace __vfork with
2091 __libpthread_version_placeholder.
2092 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2093 (GLIBC_2.18): Remove vfork, __vfork.
2094 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2095 (GLIBC_2.0): Remove vfork.
2096 (GLIBC_2.2): Remove __vfork.
2097 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2098 (GLIBC_2.2): Remove vfork, __vfork.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2100 (GLIBC_2.0): Remove vfork.
2101 (GLIBC_2.1.2): Replace __vfork with
2102 __libpthread_version_placeholder.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2104 (GLIBC_2.3): Remove vfork, __vfork.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2106 (GLIBC_2.17): Likewise.
2107 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2108 (GLIBC_2.0): Remove vfork.
2109 (GLIBC_2.1.2): Replace __vfork with
2110 __libpthread_version_placeholder.
2111 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2112 (GLIBC_2.2): Remove vfork, __vfork.
2113 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2114 Likewise.
2115 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2116 (GLIBC_2.0): Remove vfork.
2117 (GLIBC_2.1.2): Replace __vfork with
2118 __libpthread_version_placeholder.
2119 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2120 (GLIBC_2.2): Remove vfork, __vfork.
2121 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2122 (GLIBC_2.2.5): Likewise.
2123 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2124 (GLIBC_2.16): Likewise.
2125 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2126 Remove __errno_location.
2127
2128 2019-07-02 Florian Weimer <fweimer@redhat.com>
2129
2130 [BZ #24757]
2131 * malloc/Depend: Add nptl and htl, due to potential indirect
2132 libpthread dependency of memusagestat.
2133
2134 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2135
2136 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2137 warning.
2138
2139 2019-07-01 Florian Weimer <fweimer@redhat.com>
2140
2141 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2142 variant for arm-linux-gnueabi.
2143
2144 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2145
2146 [BZ #24259]
2147 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2148 relocation.
2149 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2150 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2151 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2152 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2153 and tst-cet-legacy-mod-6c.
2154 (CFLAGS-tst-cet-legacy-5a.c): New.
2155 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2156 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2157 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2158 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2159 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2160 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2161 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2162 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2163 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2164 ($(objpfx)tst-cet-legacy-5a): Likewise.
2165 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2166 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2167 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2168 ($(objpfx)tst-cet-legacy-5b): Likewise.
2169 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2170 (tst-cet-legacy-5b-ENV): Likewise.
2171 ($(objpfx)tst-cet-legacy-6a): Likewise.
2172 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2173 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2174 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2175 ($(objpfx)tst-cet-legacy-6b): Likewise.
2176 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2177 (tst-cet-legacy-6b-ENV): Likewise.
2178 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2179 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2180 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2181 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2182 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2183 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2184 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2185 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2186 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2187 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2188 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2189 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2190 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2191 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2192
2193 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2194
2195 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2196 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2197 (__fegetround_ISA300) New.
2198 (__fegetround_ISA2) New.
2199 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2200 (_FPU_MFFS): Move implementation...
2201 (_FPU_GETCW): Here.
2202 (_FPU_MFFSL): Move implementation....
2203 (_FPU_GET_RC_ISA300): Here. New.
2204 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2205 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2206 (fegetenv_status): New.
2207 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2208 instead of fegetenv_register().
2209 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2210
2211 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2212
2213 * benchtests/bench-math-inlines.c: Increase iterations.
2214 * benchtests/bench-memcmp.c: Likewise.
2215 * benchtests/bench-rawmemchr.c: Likewise.
2216 * benchtests/bench-strcmp.c: Likewise.
2217 * benchtests/bench-strcpy_chk.c: Likewise.
2218 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2219 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2220 (INNER_LOOP_ITERS_SMALL): Likewise.
2221 * benchtests/bench-strncat.c: Increase iterations.
2222 * benchtests/bench-strncmp.c: Increase iterations.
2223 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2224 * benchtests/bench-strrchr.c: Increase iterations.
2225 * benchtests/bench-strstr.c: Keep iterations unchanged.
2226 * benchtests/bench-strtod.c: Increase iterations.
2227
2228 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2229
2230 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2231 with INNER_LOOP_ITERS_LARGE.
2232 * benchtests/bench-memchr.c: Likewise.
2233 * benchtests/bench-rawmemchr.c: Likewise.
2234 * benchtests/bench-strcat.c: Likewise.
2235 * benchtests/bench-strchr.c: Likewise.
2236 * benchtests/bench-string.h: Likewise.
2237 * benchtests/bench-strlen.c: Likewise.
2238 * benchtests/bench-strncpy.c: Likewise.
2239 * benchtests/bench-strnlen.c: Likewise.
2240
2241 2019-06-28 Florian Weimer <fweimer@redhat.com>
2242
2243 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2244 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2245 entire allocated memory range.
2246
2247 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2248
2249 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2250 (prepare_version_base): New helper inline function.
2251 (prepare_version): New macro replacing PREPARE_VERSION.
2252 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2253
2254 2019-06-28 Florian Weimer <fweimer@redhat.com>
2255
2256 [BZ #24741]
2257 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2258 mismatch in a versioned symbol reference.
2259 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2260 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2261 tst-sonamemove-dlopen.
2262 (module-names): Add tst-sonamemove-linkmod1,
2263 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2264 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2265 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2266 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2267 (tst-sonamemove-runmod1.so): Link against
2268 tst-sonamemove-runmod2.so.
2269 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2270 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2271 tst-sonamemove-runmod2.so.
2272 (tst-sonamemove-dlopen): Link with -ldl.
2273 (tst-sonamemove-dlopen.out): Likewise.
2274 * elf/tst-sonamemove-link.c: New file.
2275 * elf/tst-sonamemove-dlopen.c: Likewise.
2276 * elf/tst-sonamemove-linkmod1.c: Likewise.
2277 * elf/tst-sonamemove-linkmod1.map: Likewise.
2278 * elf/tst-sonamemove-runmod1.c: Likewise.
2279 * elf/tst-sonamemove-runmod1.map: Likewise.
2280 * elf/tst-sonamemove-runmod2.c: Likewise.
2281 * elf/tst-sonamemove-runmod2.map: Likewise.
2282
2283 2019-06-28 Florian Weimer <fweimer@redhat.com>
2284
2285 * support/xdlfcn.h (xdlvsym): Declare function.
2286 * support/xdlfcn.c (xdlvsym): Define funciton.
2287
2288 2019-06-28 Florian Weimer <fweimer@redhat.com>
2289
2290 [BZ #24744]
2291 io: Remove the copy_file_range emulation.
2292 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2293 not define and call copy_file_range_compat.
2294 * io/Makefile (tests-static, tests-internal): Do not add
2295 tst-copy_file_range-compat.
2296 * io/copy_file_range-compat.c: Remove file.
2297 * io/copy_file_range.c (copy_file_range): Define as stub.
2298 * io/tst-copy_file_range-compat.c: Remove file.
2299 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2300 (typical_sizes): Update comment. Remove 16K sizes.
2301 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2302 Remove variables.
2303 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2304 (delayed_write_failure_beginning, delayed_write_failure_end)
2305 (cross_device_failure, enospc_failure_1, enospc_failure)
2306 (oappend_failure): Remove functions.
2307 (tests): Adjust test case list.
2308 (do_test): Remove file system search code. Check for ENOSYS from
2309 copy_file_range. Do not free xdevfile.
2310 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2311 copy_file_range. Do not document the EXDEV error, which future
2312 kernels may not report. Update the wording to reflect that
2313 further errors are possible.
2314 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2315 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2316 not undefine.
2317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2318 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2319 Likewise.
2320 * sysdeps/unix/sysv/linux/kernel-features.h
2321 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2322 Remove definition.
2323 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2324 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2325 not undefine.
2326 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2327 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2328 Likewise.
2329
2330 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2331
2332 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2333 used as a mask for the mode argument of __vfprintf_internal.
2334 * stdio-common/printf-parse.h (printf_arg): New union member:
2335 pa_float128.
2336 * stdio-common/vfprintf-internal.c
2337 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2338 (PARSE_FLOAT_VA_ARG): Likewise.
2339 (SETUP_FLOAT128_INFO): Likewise.
2340 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2341 SETUP_FLOAT128_INFO.
2342 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2343 floating-point value to the new union member, pa_float128.
2344 (printf_positional): Zero-initialize args_value[cnt] with memset.
2345
2346 2019-06-27 Florian Weimer <fweimer@redhat.com>
2347
2348 [BZ #24740]
2349 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2350 buffer size if necessary.
2351 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2352 Likewise.
2353 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2354 New function.
2355 (large_buffer_checks): Likewise.
2356 (do_test): Call large_buffer_checks.
2357
2358 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2361 * sysdeps/x86/dl-lookupcfg.h: Here.
2362 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2363
2364 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2365
2366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2367 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2368 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2369 file.
2370 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2371 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2372 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2373 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2374 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2375
2376 * sysdeps/powerpc/powerpc32/fpu/Makefile
2377 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2378 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2379 and fctidz optimization.
2380 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2381 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2383 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2384 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2385 CFLAGS-s_lround-power5+.c): New rule.
2386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2387 New file.
2388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2389 Likewise.
2390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2391 Likewise.
2392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2393 Likewise.
2394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2395 Likewise.
2396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2397 Remove file.
2398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2399 Likewise.
2400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2401 Likewise.
2402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2403 Likewise.
2404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2405 Likewise.
2406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2407 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2409 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2413
2414 2019-06-26 Vincent Chen <vincentc@andestech.com>
2415
2416 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2417 specific system calls, fp_udfiex_crtl and udftrap.
2418
2419 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2420
2421 * nptl/tst-eintr1.c (tf1): Add return statement.
2422 (do_test): Remove unused th variable.
2423
2424 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2425
2426 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2427 Return error if get_character fails.
2428
2429 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2430
2431 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2432
2433 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
2434
2435 [BZ #24652]
2436 * localedata/locales/szl_PL (day): Use the correct Unicode
2437 sequences instead of non-ASCII characters.
2438
2439 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2440
2441 [BZ #24652]
2442 * localedata/locales/szl_PL (abday): Spelling corrections.
2443 (day): Likewise.
2444 (abmon): Likewise.
2445 (mon): Rename to...
2446 (alt_mon): This, then apply spelling corrections.
2447 (mon): New entry, month names in the genitive case.
2448
2449 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2450
2451 [BZ #23831]
2452 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2453 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2454 (thousands_sep): Likewise.
2455 (grouping): Set to 3;3.
2456
2457 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2458
2459 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2460 PREPARE_VERSION_KNOWN.
2461 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2462 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2463 define.
2464 (VDSO_HASH_LINUX_2_6_39): Likewise.
2465 (VDSO_NAME_LINUX_4_9): Likewise.
2466 (VDSO_HASH_LINUX_4_9): Likewise.
2467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2468 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2469 (_libc_vdso_platform_setup): Likewise.
2470 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2471 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2472 Likewise.
2473 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2474 Likewise.
2475
2476 2019-06-20 Mike Crowe <mac@mcrowe.com>
2477
2478 * nptl/eintr.c: Use libsupport.
2479 * nptl/tst-eintr1.c: Likewise.
2480 * nptl/tst-eintr2.c: Likewise.
2481 * nptl/tst-eintr3.c: Likewise.
2482 * nptl/tst-eintr4.c: Likewise.
2483 * nptl/tst-eintr5.c: Likewise.
2484 * nptl/tst-mutex-errorcheck.c: Likewise.
2485 * nptl/tst-mutex5.c: Likewise.
2486
2487 * support/test-driver.h: Add verbose_printf macro.
2488
2489 * support/xtime.h: Add xclock_now() helper function.
2490
2491 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2492 Florian Weimer <fweimer@redhat.com>
2493
2494 [BZ #24228]
2495 * libio/genops.c (_IO_unbuffer_all)
2496 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2497 buffers and access _IO_FILE_complete members of legacy libio streams.
2498 * libio/tst-bz24228.c: New file.
2499 * libio/tst-bz24228.map: Likewise.
2500 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2501 [build-shared] (generated): Add tst-bz24228.mtrace and
2502 tst-bz24228.check.
2503 [run-built-tests && build-shared] (tests-special): Add
2504 $(objpfx)tst-bz24228-mem.out.
2505 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2506 ($(objpfx)tst-bz24228-mem.out): New rule.
2507
2508 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2509
2510 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2511 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2512 (__FPU_MFFSL): Likewise.
2513 (_FPU_SETCW): Likewise.
2514
2515 2019-06-19 Stan Shebs <stanshebs@google.com>
2516 Raoni Fassina Firmino <raoni@linux.ibm.com>
2517
2518 [BZ #24640]
2519 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2520 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2521 static-linking version.
2522 * sysdeps/unix/sysv/linux/powerpc/Makefile
2523 (tests-static): Add test-gettimebasefreq-static.
2524 (tests): Likewise.
2525 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2526 New file.
2527
2528 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
2529
2530 [BZ #24614]
2531 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2532 between the currency symbol and the minus sign).
2533 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2534
2535 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2536
2537 [BZ #24556]
2538 * string/test-strcasestr.c (check_result): Add NULL check.
2539 * nss/tst-field.c (check_rewrite): Likewise.
2540 * benchtests/bench-strstr.c (do_one_test): Likewise.
2541 * string/test-strstr.c (check_result): Likewise.
2542 * argp/argp-test.c (popt): Increase size of buf to 12.
2543 * benchtests/bench-malloc-simple.c (bench):
2544 Do not initialize tests array out of bounds.
2545
2546 2019-06-19 Florian Weimer <fweimer@redhat.com>
2547
2548 [BZ #24166]
2549 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2550 dls_serpath field.
2551
2552 2019-06-18 Florian Weimer <fweimer@redhat.com>
2553
2554 [BZ #24323]
2555 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2556 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2557 fail when called from dlopen.
2558 * elf/Makefile [have-fpie && build-shared] (tests): Add
2559 tst-dlopen-pie.
2560 (tst-dlopen-pie): Link with -ldl.
2561 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2562 * elf/tst-dlopen-pie.c (do_test): New file.
2563
2564 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
2565
2566 [BZ #24614]
2567 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2568 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2569 between the currency symbol and the minus sign).
2570 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2571 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2572
2573 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2574
2575 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2576 sysdep-rtld-routines): Remove rules.
2577 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2578 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2579 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2580 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2581 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2582 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2583 vDSO path for SHARED.
2584 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2585 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2586 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2587 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2588 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2589 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2590
2591 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2592 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2593 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2594 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2595 CFLAGS-s_llround-power5+.c): New rule.
2596 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2597 New file.
2598 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2599 Likewise.
2600 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2601 Likewise.
2602 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2603 Likewise.
2604 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2605 Likewise.
2606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2607 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2609 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2611 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2612 * sysdeps/powerpc/powerpc64/fpu/Makefile
2613 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2615 (libm-sysdep_routines): Remove s_llround-* objects.
2616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2617 file.
2618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2619 Likewise.
2620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2621 Likewise.
2622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2623 Likewise.
2624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2625 Likewise.
2626 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2627 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2628 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2630 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2631 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2632 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2633 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2634 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2635 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2636 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2637 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2640
2641 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2642 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2643 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2644 * sysdeps/powerpc/powerpc32/fpu/Makefile
2645 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2646 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2647 optimization.
2648 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2649 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2650 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2652 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2653 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2654 CFLAGS-s_lrint-ppc32.c): New rule.
2655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2656 Remove file.
2657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2658 Likewise.
2659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2660 Likewise.
2661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2662 Likewise.
2663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2664 Likewise.
2665 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2666 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2667 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2670 New file.
2671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2672 Likewise.
2673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2674 Likewise.
2675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2676 Likewise.
2677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2678 Likewise.
2679
2680 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2681 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2682 s_llrint-ppc64.
2683 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2684 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2685 file.
2686 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2687 Likewise.
2688 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2689 Likewise.
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2691 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2693 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2695 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2696 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2697 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2699 (libm-sysdep_routines): Remove s_llrint-* objects.
2700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2701 file.
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2703 Likewise.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2705 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2706 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2707 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2708 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2709 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2710 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2711 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2712 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2713 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2714
2715 2019-06-14 Florian Weimer <fweimer@redhat.com>
2716
2717 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2718 argument to __glibc_has_include to inhibit macro expansion.
2719
2720 2019-06-14 Florian Weimer <fweimer@redhat.com>
2721
2722 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2723 function-like macro, so that __has_include can inhibit expansion
2724 of its argument.
2725
2726 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2727
2728 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2729 New macro.
2730
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2732 Allow memset in libc.so.
2733
2734 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2735
2736 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2737 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2738 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2739 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2740 symbols at load time.
2741 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2742
2743 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2744
2745 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2746 (DT_AARCH64_VARIANT_PCS): Define.
2747
2748 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2749
2750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2751 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2752 objects.
2753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2754 Remove file.
2755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2756 Likewise.
2757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2759 Likewise.
2760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2761 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2762 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2764 Remove s_finite* objects.
2765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2771 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2772 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2773 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2774 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2775
2776 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2777 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2778
2779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2780 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2781 objects.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2783 Remove file.
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2785 Likewise.
2786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2788 Likewise.
2789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2790 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2791 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2793 Remove s_isinf* and s_isinf* objects.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2800 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2801 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2802 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2804
2805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2806 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2807
2808 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2809 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2810 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2812 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2813 s_isnanf-* objects.
2814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2815 Remove file
2816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2817 Likewise.
2818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2819 Likewise.
2820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2821 Likewise.
2822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2824 Likewise.
2825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2826 Likewise.
2827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2828 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2829 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2830 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2831 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2832 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2833 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2835 Remove s_isnan-* and s_isnanf-* objects.
2836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2839 Likewise.
2840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2845 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2846 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2847 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2848 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2849 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2850 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2852 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2853
2854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2855 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2856
2857 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2858 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2859 CFLAGS-bench-isfinite.c): New rule.
2860 * benchtests/isnan-input: New file.
2861 * benchtests/isinf-input: New file.
2862 * benchtests/isfinite-input: New file.
2863
2864 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2865 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2866 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2867 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2869 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2870 s_copysign-ppc32.
2871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2872 Remove file.
2873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2874 Likewise.
2875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2876 Likewise.
2877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2878 Likewise.
2879 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2880 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2882 Remove s_copysign-power6 s_copysign-ppc64.
2883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2884 Remove file.
2885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2886 Likewise.
2887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2889 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2890 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2892 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2893
2894 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2895 round_to_integer_float, round_mode): Add RINT handling.
2896 (reset_fenv_mode): New symbol.
2897 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2898 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2899 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2900 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2901 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2902 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2903
2904 2019-06-12 Florian Weimer <fweimer@redhat.com>
2905
2906 [BZ #24632]
2907 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2908 * libio/freopen.c (freopen): Use it.
2909
2910 2019-06-12 Florian Weimer <fweimer@redhat.com>
2911
2912 Linux: Deprecate sysctl.
2913 * include/sysctl.h (__sysctl): Remove declaration.
2914 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2915 check.
2916 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2917 (sysctl): Add deprecation attribute.
2918 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2919 directly, to avoid the deprecation warning. Do not include
2920 <string.h>.
2921 (__sysctl): Remove hidden alias.
2922
2923 2019-06-12 Florian Weimer <fweimer@redhat.com>
2924
2925 Linux: Use kernel headers for statx definitions if available.
2926 * include/bits/statx-generic.h: New file.
2927 * include/bits/types/struct_statx.h: Likewise.
2928 * include/bits/types/struct_statx_timestamp.h: Likewise.
2929 * io/Makefile (headers): Add bits/statx-generic.h.
2930 * io/bits/statx-generic.h: New file. Partly copied from
2931 io/bits/statx.h.
2932 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2933 define original_statx.
2934 * io/bits/types/struct_statx.h: Likewise.
2935 * io/bits/types/struct_statx_timestamp.h: Likewise.
2936 (statx_generic): Use original_statx.
2937 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
2938 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
2939
2940 2019-06-12 Florian Weimer <fweimer@redhat.com>
2941
2942 * misc/sys/cdefs.h (__glibc_has_include): Define.
2943
2944 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2945
2946 * string/memmem.c (__memmem): Rewrite to improve performance.
2947
2948 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2949
2950 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2951 warning.
2952 (two_way_long_needle): Block inlining.
2953 * string/strstr.c (strstr2): Add new function.
2954 (strstr3): Likewise.
2955 (STRSTR): Completely rewrite strstr to improve performance.
2956
2957 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2958
2959 * benchtests/bench-strstr.c (test_hard_needle): New function.
2960
2961 2019-06-10 Joseph Myers <joseph@codesourcery.com>
2962
2963 * malloc/tst-calloc.c: Include <libc-diag.h>.
2964 (null_test): Ignore -Wunused-result around calls to calloc.
2965 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2966 (do_test): Ignore -Wunused-result around call to malloc.
2967
2968 2019-06-07 Florian Weimer <fweimer@redhat.com>
2969
2970 Linux: Add getdents64 system call.
2971 * include/dirnent.h (getdents): Add comment and change buffer
2972 argument type to void *.
2973 (getdents64): Likewise. Add hidden prototype.
2974 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2975 getdents64.
2976 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2977 Add tst-getdents64.
2978 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2979 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2980 argument type to void *.
2981 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2982 Add hidden definition and getdents64 alias.
2983 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2984 Likewise.
2985 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2986 * manual/filesys.texi (Accessing Directories): Add Low-level
2987 Directory Access node reference.
2988 (Opening a Directory): Cross-reference it.
2989 (Low-level Directory Access): New node.
2990 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2991 getdents64.
2992 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2993 Likewise.
2994 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2995 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2996 Likewise.
2997 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2998 Likewise.
2999 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3000 Likewise.
3001 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3002 Likewise.
3003 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3004 Likewise.
3005 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3006 Likewise.
3007 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3008 Likewise.
3009 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3010 (GLIBC_2.30): Likewise.
3011 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3012 (GLIBC_2.30): Likewise.
3013 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3014 (GLIBC_2.30): Likewise.
3015 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3016 (GLIBC_2.30): Likewise.
3017 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3018 Likewise.
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3020 (GLIBC_2.30): Likewise.
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3022 (GLIBC_2.30): Likewise.
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3024 (GLIBC_2.30): Likewise.
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3026 (GLIBC_2.30): Likewise.
3027 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3028 Likewise.
3029 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3030 Likewise.
3031 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3035 Likewise.
3036 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3037 Likewise.
3038 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3039 Likewise.
3040 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3041 Likewise.
3042
3043 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3044
3045 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3046 (__FPU_MFFS): New.
3047 (__FPU_MFFSL): New.
3048 (_FPU_GET_RC): New.
3049 (_FPU_GETCW): Use __FPU_MFFS().
3050 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3051
3052 2019-06-06 Florian Weimer <fweimer@redhat.com>
3053
3054 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3055 internal GCC preprocessor identifier __has_include__.
3056
3057 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3058
3059 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3060 with call to equivalent function.
3061
3062 2019-06-04 Florian Weimer <fweimer@redhat.com>
3063
3064 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3065 (do_release_shlib): Adjust for __twalk_r.
3066 (__gconv_release_shlib): Call __twalk_r.
3067
3068 2019-06-04 Andreas Schwab <schwab@suse.de>
3069
3070 [BZ #18830]
3071 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3072 no irreversible characters occurred.
3073 * iconv/gconv_simple.c (internal_ucs4_loop)
3074 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3075 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3076 (ucs4_internal_loop_single, internal_ucs4le_loop)
3077 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3078 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3079 (ucs4le_internal_loop_single): Add const to outend.
3080 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3081 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3082 * iconv/Makefile (tests): Add tst-iconv7.
3083 * iconv/tst-iconv7.c: New file.
3084
3085 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3086
3087 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3088
3089 2019-06-01 Florian Weimer <fweimer@redhat.com>
3090
3091 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3092 * sysdeps/unix/sysv/linux/arm/Makefile
3093 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3094 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3095 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3096 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3097 compatibility symbols.
3098
3099 2019-05-31 Florian Weimer <fweimer@redhat.com>
3100
3101 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3102 system calls for the arm architecture: breakpoint, get_tls,
3103 set_tls, usr26, usr32.
3104
3105 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3106
3107 * sysdeps/powerpc/Makefile
3108 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3109 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3110 Declare '.machine power7' to get support for ldbrx.
3111 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3112 directive based on the directory of the file.
3113 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3114 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3115 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3116 '.machine' directive.
3117 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3118 (VADDUQM_V7_V8): Remove.
3119 (__STRCASECMP): Replace macros with actual instructions.
3120 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3121 '.machine' directive.
3122 (VCLZD_V8_v7): Remove.
3123 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3124
3125 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3126
3127 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3128 Remove file.
3129 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3130
3131 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3132
3133 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3134 NEARBYINT handling.
3135 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3136 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3137 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3138 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3140 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3141
3142 2019-05-28 mansayk <6688000@gmail.com>
3143
3144 [BZ #24370]
3145 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3146
3147 2019-05-28 mansayk <6688000@gmail.com>
3148
3149 [BZ #24369]
3150 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3151 (abmon): Likewise, but remove the trailing dots.
3152
3153 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3154
3155 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3156
3157 2019-05-27 Florian Weimer <fweimer@redhat.com>
3158
3159 * nptl/nptl-init.c: Add comment.
3160
3161 2019-05-24 Florian Weimer <fweimer@redhat.com>
3162
3163 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3164 struct in_addr/struct in6_addr alignment.
3165
3166 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3167
3168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3169 (F_SEAL_FUTURE_WRITE): New macro.
3170
3171 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
3172
3173 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3174 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3175 * elf/tst-ldconfig_aux-cache.root: New directory.
3176 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3177 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3178 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3179
3180 2019-05-22 Zack Weinberg <zackw@panix.com>
3181
3182 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3183 host type.
3184 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3185 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3186
3187 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3190 Delete.
3191
3192 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3193 Issue an #error if used with a compiler in SPE-float mode.
3194 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3195 * sysdeps/powerpc/powerpc32/setjmp_common.S
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3202 Remove code to preserve SPE register state.
3203
3204 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3205 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3206 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3207 Remove __SPE__ ifndefs.
3208
3209 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3210
3211 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3212 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3213 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3214 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3215 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3216 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3217 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3218 (INNER_LOOP_ITERS_MEDIUM): New define.
3219 (INNER_LOOP_ITERS_SMALL): New define.
3220 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3221 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3222 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3223 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3224 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3225
3226 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3227
3228 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3229 New define.
3230 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3231 (SEMTIMEDOP_IPC_ARGS): Likewise.
3232
3233 2019-05-21 Florian Weimer <fweimer@redhat.com>
3234
3235 [BZ #24584]
3236 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3237 before updating __counter field and release it afterwards. Add
3238 overflow check.
3239 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3240 requirement for __counter member.
3241
3242 2019-05-21 Florian Weimer <fweimer@redhat.com>
3243
3244 [BZ #24583]
3245 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3246 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3247 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3248 instead of __gconv_release_step.
3249 * libio/Makefile (tests): Add tst-wfile-gconv.
3250 (tests-container): Add tst-wfile-ascii.
3251 (tst-wfile-gconv-ENV): Enable mtrace.
3252 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3253 (tests-special): Add tst-wfile-gconv-mem.out.
3254 (tst-wfile-gconv.out): Depend on locales.
3255 (tst-wfile-gconv-mem.out): Add mtrace rule.
3256 * libio/tst-wfile-ascii.c: New file.
3257 * libio/tst-wfile-gconv.c: Likewise.
3258
3259 2019-05-20 Florian Weimer <fweimer@redhat.com>
3260
3261 [BZ #24588]
3262 libio: Remove codecvt vtable.
3263 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3264 __libio_codecvt.
3265 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3266 __libio_codecvt_encoding.
3267 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3268 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3269 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3270 * libio/iofwide.c (__libio_codecvt): Remove variable.
3271 (_IO_fwide): Do not copy __libio_codecvt.
3272 (__libio_codecvt_out): Rename from do_out and export.
3273 (do_unshift): Remove function.
3274 (__libio_codecvt_in): Rename from do_in and export.
3275 (__libio_codecvt_encoding): Rename from do_encoding and export.
3276 (do_always_noconv): Remove function.
3277 (__libio_codecvt_length): Rename from do_length and export.
3278 (do_max_length): Remove function.
3279 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3280 to libioP.h.
3281 (struct _IO_codecvt): Remove fields __codecvt_destr,
3282 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3283 __codecvt_do_encoding, __codecvt_do_always_noconv,
3284 __codecvt_do_length, __codecvt_do_max_length.
3285 * libio/libioP.h (enum __codecvt_result): Define; moved from
3286 libio.h.
3287 (__libio_codecvt_out, __libio_codecvt_in)
3288 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3289 functions.
3290 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3291 (_IO_wfile_underflow): Call __libio_codecvt_in.
3292 (_IO_wfile_underflow): Likewise.
3293 (_IO_wfile_underflow_mmap): Likewise.
3294 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3295 __libio_codecvt_length.
3296 (adjust_wide_data): Call __libio_codecvt_encoding,
3297 __libio_codecvt_in.
3298 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3299 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3300 __libio_codecvt_length.
3301
3302 2019-05-20 Florian Weimer <fweimer@redhat.com>
3303
3304 * support/support.h (support_sbindir_prefix): Declare.
3305 (support_install_rootsbindir): Update comment.
3306 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3307 * support/support_paths.c (support_sbindir_prefix): Define.
3308
3309 2019-05-20 Mike Crowe <mac@mcrowe.com>
3310
3311 * support/timespec.c: Add backslash to correct newline in failure
3312 message.
3313
3314 * support/timespec.h: Correct confusing comment.
3315
3316 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3317
3318 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3319 define.
3320 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3321 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3322 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3323 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3324
3325 [BZ #24570]
3326 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3327 usage.
3328
3329 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3330
3331 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3332 (NT_ARM_PACG_KEYS): Likewise.
3333
3334 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3335
3336 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3337 (tcache_put): Remove redundant assert.
3338 (tcache_get): Remove redundant asserts.
3339 (__libc_malloc): Check tcache count is not zero.
3340 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3341
3342 2019-05-17 Florian Weimer <fweimer@redhat.com>
3343
3344 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3345
3346 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3347
3348 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3349 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3350 0x050100].
3351 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3352 Likewise.
3353 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3354 (__ASSUME_STATX): Likewise.
3355
3356 2019-05-16 Florian Weimer <fweimer@redhat.com>
3357
3358 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3359 flags argument.
3360 (LINE_PARSER): Do not map IPv4 addresses.
3361 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3362 to parse_line.
3363 (_nss_nis_gethostent_r): Always pass AF_INET to
3364 internal_nis_gethostent_r.
3365 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3366 to parse_line.
3367 (_nss_nis_gethostbyname2_r): Adjust call to
3368 internal_nis_gethostent_r.
3369 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3370 call to internal_nis_gethostent_r.
3371 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3372 from parse_line.
3373 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3374 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3375 Remove flags argument. Do not map IPv4 addresses.
3376 (internal_nisplus_gethostent_r): Adjust call to
3377 _nss_nisplus_parse_hostent.
3378 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3379 to _nss_nisplus_parse_hostent.
3380 (_nss_nisplus_gethostbyname2_r): Adjust call to
3381 internal_gethostbyname2_r.
3382 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3383 Adjust call to internal_gethostbyname2_r.
3384 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3385 _nss_nisplus_parse_hostent.
3386 (_nss_nisplus_gethostbyname4_r): Adjust call to
3387 internal_gethostbyname2_r.
3388
3389 2019-05-16 Florian Weimer <fweimer@redhat.com>
3390
3391 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3392 Remove flags.
3393 (LINE_PARSER): Remove address mapping.
3394 (EXTRA_ARGS_VALUE): Remove flags argument.
3395 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3396 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3397 gethostbyname3_multi.
3398 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3399 _nss_files_gethostbyname3_r.
3400 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3401
3402 2019-05-16 Florian Weimer <fweimer@redhat.com>
3403
3404 * support/support_test_compare_blob.c (report_blob): Report
3405 incorrect NULL blobs.
3406
3407 2019-05-15 Mark Wielaard <mark@klomp.org>
3408
3409 [BZ# 24476]
3410 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3411 __libc_once_get (once) and static_buf == NULL.
3412 (__dlerror): Check we have a valid key, set result to static_buf
3413 otherwise.
3414
3415 2019-05-15 Andreas Schwab <schwab@suse.de>
3416
3417 [BZ #20568]
3418 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3419 __codecvt_do_length.
3420 * libio/Makefile (tests): Add tst-wfile-sync.
3421 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3422 * libio/tst-wfile-sync.c: New file.
3423 * libio/tst-wfile-sync.input: New file.
3424
3425 2019-05-15 Florian Weimer <fweimer@redhat.com>
3426
3427 nss: Turn __nss_database_lookup into a compatibility symbol.
3428 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3429 __nss_database_lookup.
3430 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3431 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3432 __nss_database_lookup.
3433 (__nss_next): Move to …
3434 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3435 unconditionally.
3436 (__nss_database_lookup): New function.
3437 * nss/Versions (GLIBC_2.0): Update comment.
3438 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3439 * grp/initgroups.c (internal_getgrouplist): Call
3440 __nss_database_lookup2 instead of __nss_database_lookup.
3441 * nscd/aicache.c (addhstaiX): Likewise.
3442 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3443 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3444 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3445 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3446 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3447 Likewise.
3448 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3449 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3451
3452 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
3453
3454 * support/support.h (support_install_rootsbindir): New variable.
3455 * support/support_paths.c: Likewise.
3456 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3457
3458 2019-05-15 Florian Weimer <fweimer@redhat.com>
3459
3460 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3461 * iconv/gconv_int.h (__gconv_transliterate): … here.
3462 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3463 * iconv/skeleton.c: Likewise.
3464
3465 2019-05-14 Florian Weimer <fweimer@redhat.com>
3466
3467 Linux: Add the tgkill function.
3468 * bits/signal_ext.h: New file.
3469 * manual/signal.texi (Signaling Another Process): Document tgkill.
3470 * signal/Makefile (headers): Add bits/signal_ext.h.
3471 * signal/signal.h: Include <bits/signal_ext.h>.
3472 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3473 (tst-tgkill): Link with libpthread.
3474 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3475 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3476 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3477 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3478 tgkill.
3479 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3480 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3481 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3482 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3483 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3484 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3485 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3486 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3487 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3488 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3489 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3490 Likewise.
3491 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3492 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3493 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3495 Likewise.
3496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3497 Likewise.
3498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3499 Likewise.
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3501 Likewise.
3502 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3503 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3504 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3505 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3506 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3507 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3510
3511 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3512
3513 * manual/search.texi (Tree Search Function): Adjust twalk_r
3514 documentation.
3515
3516 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3517
3518 [BZ #24544]
3519 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3520 pre-defined value.
3521
3522 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3523 * support/support.h (support_bindir_prefix): New variable.
3524 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3525
3526 * config.make.in (bindir): New variable.
3527
3528 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3529 (lll_trylock): Call __lll_trylock.
3530 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3531 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3532 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3533 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3534 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3535 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3536 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3538 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3539 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3540 lowlevellock-futex.h.
3541
3542 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3543 initialization for LLL_LOCK_INITIALIZER different than 0.
3544 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3545 Assume LLL_LOCK_INITIALIZER being 0.
3546 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3547 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3548 Likewise.
3549 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3550 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3551
3552 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3553 Optimize futex call and add systemtap probe.
3554
3555 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3556 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3557 __libc_disable_asynccancel, __librt_enable_asynccancel,
3558 __libc_disable_asynccancel, __librt_enable_asynccancel,
3559 __librt_disable_asynccancel): Move to ...
3560 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3561 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3562 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3563 * sysdeps/generic/single-thread.h: New file.
3564 * sysdeps/unix/sysdep.h: Include single-thread.h.
3565 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3566 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3567
3568 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3569
3570 [BZ #24535]
3571 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3572 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3573 Unicode 12.1.0.
3574 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3575 * localedata/unicode-gen/PropList.txt: Likewise.
3576 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3577 * localedata/charmaps/UTF-8: Regenerate.
3578 * localedata/locales/i18n_ctype: Likewise.
3579 * localedata/locales/tr_TR: Likewise.
3580 * localedata/locales/translit_circle: Likewise.
3581 * localedata/locales/translit_cjk_compat: Likewise.
3582 * localedata/locales/translit_combining: Likewise.
3583 * localedata/locales/translit_compat: Likewise.
3584 * localedata/locales/translit_font: Likewise.
3585 * localedata/locales/translit_fraction: Likewise.
3586
3587 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3588
3589 [BZ #24531]
3590 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3591 (do_set_tcache_count): Only update if count is small enough.
3592 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3593
3594 2019-05-10 Florian Weimer <fweimer@redhat.com>
3595
3596 * nptl/sem_close.c (struct walk_closure): Define.
3597 (walker): Adjust for __twalk_r.
3598 (sem_close): Call __twalk_r.
3599
3600 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3601
3602 * support/timespec.c (test_timespec_before_impl,
3603 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3604 insted of long int.
3605
3606 2019-05-09 Mike Crowe <mac@mcrowe.com>
3607
3608 * nptl/tst-abstime.c: Use libsupport.
3609
3610 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3611 small bug where only tv.tv_usec was checked which could cause an
3612 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3613 than a second.
3614
3615 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3616 libsupport.
3617
3618 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3619 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3620
3621 * nptl/tst-cond11.c: Use libsupport.
3622
3623 * support/timespec.h: New file. Provide timespec helper functions
3624 along with macros in the style of those in check.h.
3625 * support/timespec.c: New file. Implement check functions declared
3626 in support/timespec.h.
3627 * support/timespec-add.c: New file from gnulib containing
3628 timespec_add implementation that handles overflow.
3629 * support/timespec-sub.c: New file from gnulib containing
3630 timespec_sub implementation that handles overflow.
3631 * support/README: Mention timespec.h.
3632
3633 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3634
3635 [BZ #24537]
3636 * nptl/Makefile: Move tst-eintr1 to xtests.
3637
3638 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3639
3640 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3641 TRUNC handling.
3642 (round_mode): Add definition for TRUNC.
3643 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3644 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3645 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3646 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3647 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3648 Likewise.
3649 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3650 Likewise.
3651 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3652 Likewise.
3653 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3654 Likewise.
3655 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3656 file.
3657 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3658 Likewise.
3659 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3660 Likewise.
3661 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3662 Likewise.
3663 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3664 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3665 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3666 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3667 s_truncf-power5+, and s_truncf-ppc64.
3668 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3669 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3670 file.
3671 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3673 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3674 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3675 file.
3676 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3677 Likewise.
3678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3679 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3681 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3682 s_truncf-power5+, and s_truncf-ppc64.
3683 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3684 file.
3685 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3686 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3687 Likewise.
3688 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3689 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3690 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3691 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3692 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3693
3694 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3695 ROUND handling.
3696 (round_mode): Add definition for ROUND.
3697 (round_to_integer_float): Likewise.
3698 * sysdeps/powerpc/fpu/s_round.c: New file.
3699 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3700 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3701 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3702 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3703 Likewise.
3704 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3705 Likewise.
3706 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3707 Likewise.
3708 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3709 Likewise.
3710 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3711 file.
3712 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3713 Likewise.
3714 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3715 Likewise.
3716 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3717 Likewise.
3718 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3719 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3720 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3721 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3722 s_roundf-power5+, and s_roundf-ppc64.
3723 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3724 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3725 file.
3726 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3728 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3729 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3730 file.
3731 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3732 Likewise.
3733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3734 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3735 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3736 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3737 s_roundf-power5+, and s_roundf-ppc64.
3738 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3739 file.
3740 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3741 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3742 Likewise.
3743 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3744 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3745 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3746 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3747 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3748
3749 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3750 Add FLOOR option.
3751 (round_mode): Add definition for FLOOR.
3752 * sysdeps/powerpc/fpu/s_floor.c: New file.
3753 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3754 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3755 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3757 Remove file.
3758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3759 Likewise
3760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3761 Likewise.
3762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3763 Likewise.
3764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3765 New file.
3766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3767 Likewise.
3768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3769 Likewise.
3770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3771 Likewise.
3772 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3774 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3775 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3776 s_floorf-power5+, and s_floorf-ppc64.
3777 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3778 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3779 file.
3780 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3782 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3783 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3784 file.
3785 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3786 Likewise.
3787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3788 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3790 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3791 s_floorf-power5+, and s_floorf-ppc64.
3792 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3793 file.
3794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3795 file.
3796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3797 Likewise.
3798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3799 Likewise.
3800 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3802 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3803 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3804
3805 2019-05-08 Mike Crowe <mac@mcrowe.com>
3806
3807 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3808 clock_gettime wrapper for use in tests that fails the test rather
3809 than returning failure.
3810
3811 * support/xtime.h: New file to declare xclock_gettime.
3812
3813 * support/Makefile: Add xclock_gettime.c.
3814
3815 * support/README: Mention xtime.h.
3816
3817 2019-05-08 Florian Weimer <fweimer@redhat.com>
3818
3819 malloc/tst-mallocfork2: Use process-shared barriers.
3820 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3821 (signal_count, sigusr1_sender_pid): Remove.
3822 (iterations): Define constant.
3823 (shared): New variable.
3824 (sigusr1_received): Update comment.
3825 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3826 (signal_sender): Optional use barriers to avoid sending signals
3827 during irrelevant times.
3828 (do_it): Initialize variable shared. Use xfork for error
3829 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3830 the iteration count, independent of signal delivery. Check for
3831 deadlocks in fork. Introduce barriers for reducing signal
3832 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3833 replaced by the barriers. Count signals during fork/free/malloc
3834 and report them.
3835 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3836
3837 2019-05-07 Joseph Myers <joseph@codesourcery.com>
3838
3839 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3840 version to 5.1.
3841 (clock_adjtime64) New syscall.
3842 (clock_getres_time64) Likewise.
3843 (clock_gettime64) Likewise.
3844 (clock_nanosleep_time64) Likewise.
3845 (clock_settime64) Likewise.
3846 (futex_time64) Likewise.
3847 (io_pgetevents_time64) Likewise.
3848 (io_uring_enter) Likewise.
3849 (io_uring_register) Likewise.
3850 (io_uring_setup) Likewise.
3851 (mq_timedreceive_time64) Likewise.
3852 (mq_timedsend_time64) Likewise.
3853 (pidfd_send_signal) Likewise.
3854 (ppoll_time64) Likewise.
3855 (pselect6_time64) Likewise.
3856 (recvmmsg_time64) Likewise.
3857 (rt_sigtimedwait_time64) Likewise.
3858 (sched_rr_get_interval_time64) Likewise.
3859 (semtimedop_time64) Likewise.
3860 (timer_gettime64) Likewise.
3861 (timer_settime64) Likewise.
3862 (timerfd_gettime64) Likewise.
3863 (timerfd_settime64) Likewise.
3864 (utimensat_time64) Likewise.
3865
3866 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3867 version to 9 branch.
3868
3869 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3870
3871 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3872 __memmove_thunderx2 to the list of implementations
3873 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3874 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3875 (__memmove_thunderx2): Rewritten using SIMD ld/st
3876 (__memcpy_thunderx2): Fixed handling overlapping cases.
3877 Used ldp/stp instead of ldr/str if possible. Made loops
3878 tails branchless.
3879
3880 2019-05-03 Florian Weimer <fweimer@redhat.com>
3881
3882 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3883
3884 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3885
3886 [BZ #24506]
3887 * elf/tst-pldd.c (in_str_list): New function.
3888 (do_test): Add default names for ld and libc as one option.
3889
3890 2019-05-02 Florian Weimer <fweimer@redhat.com>
3891
3892 misc: Add twalk_r function.
3893 * include/search.h (__twalk_r): Declare.
3894 * manual/examples/twalk.c: New file.
3895 * manual/search.texi (Tree Search Function): Document twalk_r.
3896 * misc/Versions (2.30): Export twalk_r.
3897 (GLIBC_PRIVATE): Export __twalk_r.
3898 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3899 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3900 (twalk_r): Add weak alias.
3901 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3902 (walk_trace): New variable.
3903 (struct twalk_with_twalk_r_closure): Define.
3904 (twalk_with_twalk_r_action): New function.
3905 (twalk_with_twalk_r): Likewise.
3906 (walk_action): Call walk_trace_add.
3907 (walk_tree_with): Rename from walk_tree. Add walk argument.
3908 (walk_tree): New function.
3909 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3910 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3911 Likewise.
3912 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3913 Likewise.
3914 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3915 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3916 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3917 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3918 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3919 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3920 Likewise.
3921 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3922 Likewise.
3923 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3926 (GLIBC_2.30): Likewise.
3927 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3928 (GLIBC_2.30): Likewise.
3929 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3930 (GLIBC_2.30): Likewise.
3931 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3932 (GLIBC_2.30): Likewise.
3933 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3934 Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3936 (GLIBC_2.30): Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3938 (GLIBC_2.30): Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3940 (GLIBC_2.30): Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3942 (GLIBC_2.30): Likewise.
3943 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3944 Likewise.
3945 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3946 Likewise.
3947 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3948 Likewise.
3949 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3950 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3951 Likewise.
3952 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3953 Likewise.
3954 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3955 Likewise.
3956 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3957 Likewise.
3958
3959 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3960
3961 Make mktime etc. compatible with __time64_t
3962 Keep these functions compatible with Gnulib while adding
3963 __time64_t support. The basic idea is to move private API
3964 declarations from include/time.h to time/mktime-internal.h, since
3965 the former file cannot easily be shared with Gnulib whereas the
3966 latter can.
3967 Also, do some other minor cleanup while in the neighborhood.
3968 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3969 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3970 since Gnulib needs it.
3971 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3972 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3973 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3974 (in_time_t_range): New static function.
3975 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3976 so that glibc users are not tempted to use __time64_t.
3977 * time/mktime-internal.h: Rewrite so that it does both glibc
3978 and Gnulib work. Include time.h if not _LIBC.
3979 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3980 (__time64_t): New type or macro, moved here from
3981 posix/bits/types.h.
3982 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3983 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3984 from include/time.h.
3985 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3986 New macros, taken from GNulib.
3987 (__mktime_internal): New prototype, moved here from include/time.h.
3988 * time/mktime.c (mktime_min, mktime_max, convert_time)
3989 (ranged_convert, __mktime_internal, __mktime64):
3990 * time/timegm.c (__timegm64):
3991 Use __time64_t, not time_t.
3992 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3993 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3994 Rename from mktime.
3995 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3996 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3997 for libc_hidden_def.
3998 Include errno.h.
3999 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4000 Rename from timegm.
4001 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4002
4003 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4004
4005 [BZ #19444]
4006 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4007 from `-Wmaybe-uninitialized'.
4008 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4009
4010 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4011
4012 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4013 function.
4014 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4015 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4016 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4017 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4018 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4020 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4022 Remove file.
4023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4024 Likewise.
4025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4026 Likewise.
4027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4028 Likewise.
4029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4030 New file.
4031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4032 Likewise.
4033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4034 Likewise.
4035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4036 Likewise.
4037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4038 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4039 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4040 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4041 Likewise.
4042 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4043 Likewise.
4044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4045 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4046 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4047 file.
4048 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4049 Likewise.
4050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4051 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4052 * here.
4053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4054 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4055 s_ceilf-power5+, and s_ceilf-ppc64.
4056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4057 file.
4058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4061 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4062 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4063 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4065
4066 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4067 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4068 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4069
4070 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4071
4072 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4073 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4074 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4075 (sem_getvalue): Likewise.
4076
4077 2019-04-26 Florian Weimer <fweimer@redhat.com>
4078
4079 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4080 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4081
4082 2019-04-26 Florian Weimer <fweimer@redhat.com>
4083
4084 Makeconfig: Move -Wl,-rpath-link options before library references.
4085 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4086 (link-libc): Remove $(link-libc-rpath-link).
4087
4088 2019-04-25 Florian Weimer <fweimer@redhat.com>
4089
4090 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4091 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4092 (+link-static-before-libc): Remove $(CC).
4093 (+link-static, +link-static-tests): Add $(CC).
4094 (+link-before-libc): Remove $(CC).
4095 (+link, +link-pie, +link-pie-printers): Add $(CC).
4096
4097 2019-04-26 Florian Weimer <fweimer@redhat.com>
4098
4099 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4100 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4101 (+link-static-before-libc): Remove $(CC).
4102 (+link-static, +link-static-tests): Add $(CC).
4103 (+link-before-libc): Remove $(CC).
4104 (+link, +link-pie, +link-pie-printers): Add $(CC).
4105
4106 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4107
4108 [BZ#24484]
4109 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4110
4111 2019-04-25 Florian Weimer <fweimer@redhat.com>
4112
4113 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4114 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4115 (bench-link-targets): New variable.
4116 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4117
4118 2019-04-25 Florian Weimer <fweimer@redhat.com>
4119
4120 Also enable BIND_NOW for programs if --enable-bind-now.
4121 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4122 (+link-pie): Use $(link-extra-flags).
4123 (+link-static): Likewise.
4124 [! $(build-pie-default)] (+link): Likewise.
4125 * manual/install.texi (Configuring and compiling): Update
4126 --enable-bind-now description.
4127 * INSTALL: Regenerated.
4128
4129 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4130
4131 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4132 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4133
4134 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4135
4136 [BZ #18465]
4137 * malloc/Makefile (others): Add memusagestat.
4138 ($(objpfx)memusagestat): Delete rule.
4139 (LDLIBS-memusagestat): New variable.
4140
4141 2019-04-24 Florian Weimer <fweimer@redhat.com>
4142
4143 * locale/Makefile (tests-special): Guard setting by
4144 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4145 to run while cross-compiling.
4146
4147 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4148
4149 [BZ #18035]
4150 * elf/Makefile (tests-container): Add tst-pldd.
4151 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4152 (E(find_maps)): Avoid use alloca, use default read file operations
4153 instead of explicit LFS names, and fix infinite loop.
4154 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4155 (get_process_info): Use _Static_assert instead of assert, use default
4156 directory operations instead of explicit LFS names, and free some
4157 leadek pointers.
4158 * elf/tst-pldd.c: New file.
4159
4160 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4161
4162 * malloc/arena.c (do_set_mallopt_check): Removed.
4163
4164 2019-04-23 Florian Weimer <fweimer@redhat.com>
4165
4166 locale: Add LOCPATH diagnostics to the locale program.
4167 * locale/programs/locale.c (setlocale_failed): New variable.
4168 (try_setlocale): New function.
4169 (quote_string): Likewise.
4170 (setlocale_diagnostics): Likewise.
4171 (main): Call try_setlocale instead of setlocale. Call
4172 setlocale_diagnostics.
4173 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4174 (tst-locale-locpath.out): New target.
4175 * locale/tst-locale-locpath.sh: New file.
4176
4177 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4178
4179 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4180 to 2.30 notes.
4181
4182 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4183
4184 [BZ #23741]
4185 * malloc/hooks.c (malloc_check, realloc_check): Use
4186 __builtin_add_overflow on overflow check and adapt to
4187 checked_request2size change.
4188 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4189 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4190 allocation size to PTRDIFF_MAX.
4191 (REQUEST_OUT_OF_RANGE): Remove macro.
4192 (checked_request2size): Change to inline function and limit maximum
4193 requested size to PTRDIFF_MAX.
4194 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4195 maximum allocation size to PTRDIFF_MAX.
4196 (_mid_memalign): Use _int_memalign call for overflow check.
4197 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4198 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4199 limit maximum requested size to PTRDIFF_MAX.
4200 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4201 valloc, pvalloc): Add __attribute_alloc_size__.
4202 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4203 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4204 larger than PTRDIFF_MAX.
4205 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4206 around tests of malloc with negative sizes.
4207 * malloc/tst-posix_memalign.c (do_test): Likewise.
4208 * malloc/tst-pvalloc.c (do_test): Likewise.
4209 * malloc/tst-valloc.c (do_test): Likewise.
4210 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4211 with resulting size allocation larger than PTRDIFF_MAX with
4212 reallocarray_nowarn.
4213 (reallocarray_nowarn): New function.
4214 * NEWS: Mention the malloc function semantic change.
4215
4216 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4217
4218 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4219 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4220
4221 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4222 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4223 * sysdeps/powerpc/fpu/s_fma.c: New file.
4224 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4225
4226 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4227 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4228
4229 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4230 the magic flag store.
4231 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4232 Likewise.
4233 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4234 Likewise.
4235 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4236 Remove rt_sigreturn call.
4237
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4239 Remove rt_sigreturn call.
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4241 Likewise.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4244
4245 * support/Makefile (libsupport-routines): Add support_subprocess,
4246 xposix_spawn, xposix_spawn_file_actions_addclose, and
4247 xposix_spawn_file_actions_adddup2.
4248 (tst-support_capture_subprocess-ARGS): New rule.
4249 * support/capture_subprocess.h (support_capture_subprogram): New
4250 prototype.
4251 * support/support_capture_subprocess.c (support_capture_subprocess):
4252 Refactor to use support_subprocess and support_capture_poll.
4253 (support_capture_subprogram): New function.
4254 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4255 str_to_write_mode, test_common, parse_int, handle_restart,
4256 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4257 (do_test): Add support_capture_subprogram tests.
4258 * support/subprocess.h: New file.
4259 * support/support_subprocess.c: Likewise.
4260 * support/xposix_spawn.c: Likewise.
4261 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4262 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4263 * support/xspawn.h: Likewise.
4264
4265 2019-04-17 Mike Gerow <gerow@google.com>
4266
4267 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4268 groups limit.
4269
4270 2019-04-11 Florian Weimer <fweimer@redhat.com>
4271
4272 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4273 domain with empty string.
4274 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4275
4276 2019-04-11 Florian Weimer <fweimer@redhat.com>
4277
4278 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4279 comment.
4280 (alloc_buffer_next): Change return type to non-const. Update
4281 comment.
4282
4283 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4284
4285 * manual/time.texi (Formatting Calendar Time): Add missing percent
4286 sign to conversion specifier.
4287
4288 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4289 Kwok Cheung Yeung <kcy@codesourcery.com>
4290
4291 [BZ #16573]
4292 * malloc/mtrace.c: Define prototypes for all hooks.
4293 (set_default_hooks): New function.
4294 (set_trace_hooks): Likewise.
4295 (save_default_hooks): Likewise.
4296 (tr_freehook): Use new s*_hooks functions.
4297 (tr_mallochook): Likewise.
4298 (tr_reallochook): Likewise.
4299 (tr_memalignhook): Likewise.
4300 (mtrace): Likewise.
4301 (muntrace): Likewise.
4302
4303 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4304
4305 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4306 (generic_stpcpy): New function.
4307 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4308 (generic_stpncpy): New function.
4309 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4310 (generic_strcat): New function.
4311 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4312 (generic_strcpy): New function.
4313 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4314 (STUPID_STRNCAT): Remove function.
4315 (generic_strncat): New function.
4316 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4317 (STUPID_STRNCPY): Remove function.
4318 (generic_strncpy): New function.
4319 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4320 (generic_strnlen): New function.
4321 (memchr_strnlen): New function.
4322 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4323 (memchr_strlen): Likewise.
4324
4325 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4326
4327 * benchtests/bench-strstr.c (input): Add realistic input text.
4328 (stupid_strstr): Remove function.
4329 (basic_strstr): Add function.
4330 (twoway_strstr): Add function.
4331 (do_one_test): Add result checking.
4332 (do_test): Use new input text. Remove accidental early matches.
4333 (test_main): Improve range of tests, reduce unaligned cases.
4334
4335 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4336
4337 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4338 (basic_memmem): Add function.
4339 (twoway_memmem): Add function.
4340
4341 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4342
4343 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4344 * benchtests/bench-malloc-thread.c: Likewise.
4345 * benchtests/bench-skeleton.c: Likewise.
4346 * benchtests/bench-strtod.c: Likewise.
4347 * benchtests/bench-timing.h: Likewise.
4348
4349 2019-04-08 Florian Weimer <fweimer@redhat.com>
4350
4351 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4352 definitions.
4353 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4354 RES_INSECURE2 security checks.
4355 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4356 RES_INSECURE2 handling.
4357
4358 2019-04-08 Florian Weimer <fweimer@redhat.com>
4359
4360 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4361 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4362 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4363 GETHOSTBYNAME.
4364 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4365 (tests-internal): Update justification for tst-resolv-res_init,
4366 tst-resolv-res_init-thread.
4367 (tst-res_use_inet6): Remove target.
4368 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4369 * resolv/res_debug.c (p_option): Remove "inet6" support.
4370 * resolv/res_init.c (res_setoptions): Likewise.
4371 * resolv/res_use_inet6.h: Remove file.
4372 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4373 definition.
4374 (res_use_inet6): Always return false.
4375 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4376 * resolv/resolv_context.h: Adjust file comment.
4377 (struct resolv_context): Update comment on __next field.
4378 (__resolv_context_put): Update comment.
4379 * resolv/tst-res_use_inet6.c: Remove file.
4380 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4381 "inet6" support.
4382 (test_cases): Adjust test case.
4383 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4384 (thread_byname2_af_inet6): Use old byname_inet6 code.
4385 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4386 (gai): Remove do_inet6 argument.
4387 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4388 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4389 (thread_gai_unspec_inet6): Remove functions.
4390 (do_test): Adjust thread_funcs.
4391 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4392 RES_USE_INET6 flag.
4393 (gaih_inet): Do not disable RES_USE_INET6 flag.
4394
4395 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4396
4397 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4398 and remove redundant code.
4399
4400 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4401
4402 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4403 New rule.
4404 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4406 Likewise.
4407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4408 Likewise.
4409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4410 Likewise.
4411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4412 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4413 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4414 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4415 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4416 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4418 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4419 wcsrchr-power7.
4420 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4423 Remove wcsrchr optimizations.
4424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4425
4426 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4427 the loop unroll.
4428
4429 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4430 New rule.
4431 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4433 Likewise.
4434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4435 Likewise.
4436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4437 Likewise.
4438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4439 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4440 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4441 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4442 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4443 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4445 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4446 wcschr-power7.
4447 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4450 Remove wcschr optimizations.
4451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4452
4453 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4454 the loop unroll.
4455
4456 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4457 New rule.
4458 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4459 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4460 Likewise.
4461 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4462 Likewise.
4463 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4464 Likewise.
4465 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4466 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4467 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4470 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4472 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4473 wcscpy-power7.
4474 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4477 Remove wcscpy optimizations.
4478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4479
4480 * include/loop_unroll.h: New file.
4481 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4482 besides generic implementation.
4483
4484 2019-04-03 DJ Delorie <dj@redhat.com>
4485
4486 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4487 snprintf truncating output.
4488
4489 2019-04-02 DJ Delorie <dj@redhat.com>
4490
4491 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4492 warning.
4493
4494 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4495
4496 [BZ #22964]
4497 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4498 era.
4499 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4500 (mkreftable): Add rules for the new Japanese era and the new dates.
4501
4502 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4503 Rafal Luzynski <digitalfreak@lingonborough.com>
4504
4505 * time/tst-strftime2.c (date_t): Explicitly define the type.
4506 (dates): Use natural month and year numbers to express a date.
4507 (is_before): New function to compare dates.
4508 (mkreftable): Minor improvements to simplify maintenance.
4509 (do_test): Reflect the changes in dates array.
4510
4511 [BZ #24293]
4512 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4513 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4514 * time/tst-strftime2.c (locales): Likewise.
4515 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4516 2010-04-01, and 2011-04-01.
4517 (mkreftable): Add rules for the new locales and the new dates.
4518
4519 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4520
4521 * localedata/locales/ja_JP: Add comments to era entries.
4522
4523 2019-04-01 DJ Delorie <dj@redhat.com>
4524
4525 [BZ #24394]
4526 * time/strptime_l.c (%Ey): Fix fencepost error.
4527 * time/tst-strftime3.c: New.
4528 * time/Makefile (tests): Add tst-strftime3.
4529
4530 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
4531
4532 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4533 conditional branch to DIVBYZERO. Fix unwind info.
4534 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4535 excb after conditional branch to $powerof2. Add missing unop
4536 instructions and .align directives and reorder instructions to
4537 match __divqu.
4538
4539 2019-04-01 Richard Henderson <rth@twiddle.net>
4540
4541 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4542 Do not redefine.
4543 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4544 Do not redefine.
4545
4546 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4547
4548 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4549 $libc_cv_riscv_float_abi in `test' invocation.
4550 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4551
4552 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4553
4554 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4555 asm with builtin.
4556 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4557 Likewise.
4558 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4559 (_GET_SI_FPSCR): Likewise.
4560 (_SET_SI_FPSCR): Likewise.
4561
4562 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4563
4564 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4565 clang 2.8.
4566 (signbit): Use builtin for clang 3.3.
4567 (isinf): Use builtin for clang 3.7.
4568
4569 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4570
4571 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4572
4573 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4574
4575 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4576 quote in printf.
4577
4578 2019-03-25 Mike Crowe <mac@mcrowe.com>
4579
4580 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4581 pthread_rwlock_timedrdlock with calls to
4582 pthread_rwlock_timedwrlock to ensure that the latter is tested
4583 too. Use new function name in diagnostic messages too.
4584
4585 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4586 (do_test) Use libsupport test macros rather than hand-coded
4587 conditionals and error messages. Ensure that sem_init returns zero
4588 rather than not -1. Use <support/test-driver.c> rather than
4589 test-skeleton.c.
4590
4591 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4592 test macros rather than hand-coded conditionals and error messages.
4593 Use <support/test-driver.c> rather than test-skeleton.c.
4594
4595 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4596
4597 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4598
4599 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4600 (NT_MIPS_MSA): Likewise.
4601
4602 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4603
4604 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4605 * benchtests/README: Update description.
4606 * benchtests/bench-timing.h: Default to hp-timing.
4607 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4608 HP_TIMING_PRINT): Remove.
4609 (HP_TIMING_NOW): Add generic implementation.
4610 (hp_timing_t): Change to uint64_t.
4611
4612 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4613 HP_TIMING_INLINE.
4614 * nptl/descr.h: Likewise.
4615 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4616 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4617 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4618 Abstract hp-timing usage with RTLD_* macros.
4619 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4620 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4621 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4622 HP_TIMING_NONAVAIL): Likewise.
4623 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4624 Likewise.
4625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4626 HP_SMALL_TIMING_AVAIL): Likewise.
4627 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4628 HP_SMALL_TIMING_AVAIL): Likewise.
4629 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4630 HP_SMALL_TIMING_AVAIL): Likewise.
4631 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4632 HP_SMALL_TIMING_AVAIL): Likewise.
4633 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4634 Likewise.
4635 * sysdeps/generic/hp-timing-common.h: Update comment with
4636 HP_TIMING_AVAIL removal.
4637
4638 * include/random-bits.h: New file.
4639 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4640 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4641 random_bits.
4642 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4643 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4644 Likewise.
4645
4646 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4647 * rt/Makefile (clock-routines): Remove get_clockfreq.
4648 * rt/get_clockfreq.c: Remove file.
4649 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4650 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4653 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4654
4655 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4656 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4657 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4658 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4659 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4660
4661 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4662 pthread_clock_settime.
4663 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4664 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4665 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4666 * elf/rtld.c (_dl_start_final): Likewise.
4667 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4668 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4669 Remove.
4670 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4671 (_dl_cpuclock_offset): Remove.
4672 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4673 cpuclock_offset_ununsed.
4674 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4675 cpuclock_offset set.
4676 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4677 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4678 * nptl/pthread_clock_gettime.c: Remove file.
4679 * nptl/pthread_clock_settime.c: Likewise.
4680 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4681 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4682 and CLOCK_PROCESS_CPUTIME_ID support.
4683 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4684 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4685 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4686 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4687 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4688 Likewise.
4689 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4690
4691 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4692
4693 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4694 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4695 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4696 New defines.
4697 * sysdeps/s390/memmem-arch13.S: New file.
4698 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4699 if it is only used as fallback.
4700 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4701 * sysdeps/s390/multiarch/ifunc-impl-list.c
4702 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4703
4704 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4705
4706 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4707 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4708 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4709 New defines.
4710 * sysdeps/s390/multiarch/ifunc-impl-list.c
4711 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4712 * sysdeps/s390/strstr-arch13.S: New file.
4713 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4714 if it is only used as fallback.
4715 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4716
4717 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4718
4719 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4720 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4721 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4722 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4723 ifunc selector.
4724 * sysdeps/s390/multiarch/ifunc-impl-list.c
4725 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4726 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4727 S390_IS_ARCH13_MIE3): New defines.
4728
4729 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4730
4731 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4732 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4733 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4734 * sysdeps/s390/configure: Regenerated.
4735
4736 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4737
4738 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4739 Add vxe2, vxp, dflt, sort flags.
4740 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4741 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4742 capabilities.
4743 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4744 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4745 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4746 HWCAP_S390_DFLT): Define.
4747
4748 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4749
4750 [BZ #24372]
4751 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4752 of compiler warning.
4753 * locale/programs/ld-collate.c (collate_output): Likewise.
4754
4755 2019-03-21 DJ Delorie <dj@redhat.com>
4756
4757 [BZ #24372]
4758 * iconv/iconvconfig.c (write_output): Replace floating point math
4759 with integer math to avoid imprecise results.
4760 * locale/programs/ld-collate.c (collate_output): Likewise.
4761
4762 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4763
4764 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4765 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4766
4767 2019-03-20 mansayk <6688000@gmail.com>
4768
4769 [BZ #24296]
4770 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4771 (abday): Likewise, but remove the trailing dots.
4772
4773 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4774
4775 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4776 macro.
4777 (HWCAP_PACA): Likewise.
4778 (HWCAP_PACG): Likewise.
4779 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4780 Increase to 32.
4781 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4782
4783 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4784
4785 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4786 should be handled.
4787
4788 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4789
4790 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4791 version to 5.0.
4792 (old_getpagesize): New syscall.
4793
4794 2019-03-15 Felix Yan <felixonmars@archlinux.org>
4795
4796 [BZ #24293]
4797 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4798 * localedata/locales/cmn_TW (era): Likewise.
4799 * localedata/locales/hak_TW (era): Likewise.
4800 * localedata/locales/lzh_TW (era): Likewise.
4801 * localedata/locales/nan_TW (era): Likewise.
4802
4803 2019-03-14 Adam Maris <amaris@redhat.com>
4804
4805 * malloc/malloc.c (_int_malloc): Check for large bin list
4806 corruption when inserting unsorted chunk.
4807
4808 2019-03-14 Florian Weimer <fweimer@redhat.com>
4809
4810 Remove obsolete, never-implemented XSI STREAMS declarations.
4811 * manual/terminal.texi (Allocation): Remove portability note and
4812 adjust example.
4813 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4814 _SC_STREAMS.
4815 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4816 * sysdeps/unix/inet/Subdirs (streams): Remove.
4817 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4818 (conformtest-headers-UNIX98): Likewise.
4819 (conformtest-headers-XOPEN2K): Likewise.
4820 (conformtest-headers-POSIX2008): Likewise.
4821 * posix/compat-streams.c: New file.
4822 * posix/Makefile (routines): Add it.
4823 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4824 getpmsg, isastream, putmsg, putpmsg.
4825 (GLIBC_2.30): New section.
4826 * bits/stropts.h: Remove file.
4827 * bits/xtitypes.h: Likewise.
4828 * conform/data/stropts.h-data: Likewise.
4829 * include/stropts.h: Likewise.
4830 * include/sys/stropts.h: Likewise.
4831 * include/xtitypes.h: Likewise.
4832 * streams/Makefile: Likewise.
4833 * streams/fattach.c: Likewise.
4834 * streams/fdetach.c: Likewise.
4835 * streams/getmsg.c: Likewise.
4836 * streams/getpmsg.c: Likewise.
4837 * streams/isastream.c: Likewise.
4838 * streams/putmsg.c: Likewise.
4839 * streams/putpmsg.c: Likewise.
4840 * streams/stropts.h: Likewise.
4841 * streams/sys/stropts.h: Likewise.
4842 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4843 * sysdeps/s390/bits/xtitypes.h: Likewise.
4844 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4845 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4846 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4847 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4848 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4849 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4850 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4851 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4852 * sysdeps/x86/bits/xtitypes.h: Likewise.
4853
4854 2019-03-14 Florian Weimer <fweimer@redhat.com>
4855
4856 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4857 libnss_files.
4858 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4859 but not with libnss_files.
4860 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4861
4862 2019-03-14 Zack Weinberg <zackw@panix.com>
4863
4864 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4865 Specify encoding="utf-8" when opening headers to check.
4866
4867 2019-03-13 Joseph Myers <joseph@codesourcery.com>
4868
4869 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4870 version to 5.0.
4871 (Context.checkout_tar): Handle variable major version for Linux
4872 kernel.
4873
4874 2019-03-13 Florian Weimer <fweimer@redhat.com>
4875
4876 [BZ #24047]
4877 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4878
4879 2019-03-13 Zack Weinberg <zackw@panix.com>
4880
4881 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4882 Move to stdlib.
4883 * include/inttypes.h: Adjust to match.
4884 * include/stdint.h: New wrapper.
4885
4886 2019-03-13 Zack Weinberg <zackw@panix.com>
4887
4888 * scripts/check-obsolete-constructs.py: New test script.
4889 * scripts/check-installed-headers.sh: Remove tests for
4890 obsolete typedefs, superseded by check-obsolete-constructs.py.
4891 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4892 as a special test. Update commentary.
4893 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4894 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4895 Update commentary.
4896 * posix/sys/types.h (__u_intN_t): Remove.
4897 (u_int8_t): Typedef using __uint8_t.
4898 (u_int16_t): Typedef using __uint16_t.
4899 (u_int32_t): Typedef using __uint32_t.
4900 (u_int64_t): Typedef using __uint64_t.
4901
4902 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
4903
4904 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4905 call _dl_procinfo.
4906 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4907 Ignore types other than AT_HWCAP.
4908 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4909 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4910 Likewise.
4911 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4912 in the case of falling back to generic output mechanism.
4913 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4914 Likewise.
4915
4916 2019-03-12 Florian Weimer <fweimer@redhat.com>
4917
4918 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4919
4920 2019-03-12 Florian Weimer <fweimer@redhat.com>
4921
4922 [BZ #24047]
4923 resolv: Enable full ICMP errors for UDP DNS sockets
4924 * resolv/res_enable_icmp.c: New file.
4925 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4926 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4927 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4928 socket.
4929
4930 2019-03-11 Mao Han <han_mao@c-sky.com>
4931
4932 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4933 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4934
4935 2019-03-11 Mao Han <han_mao@c-sky.com>
4936
4937 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
4938 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4939 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4940
4941 2019-03-11 Mao Han <han_mao@c-sky.com>
4942
4943 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
4944 directly.
4945 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4946 definition.
4947
4948 2019-03-11 Mao Han <han_mao@c-sky.com>
4949
4950 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4951 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4952 in mcontext_t
4953
4954 2019-03-08 Mike FABIAN <mfabian@redhat.com>
4955
4956 [BZ #24307]
4957 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4958 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4959 Unicode 12.0.0.
4960 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4961 * localedata/unicode-gen/PropList.txt: Likewise.
4962 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4963 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4964 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4965 * localedata/charmaps/UTF-8: Regenerate.
4966 * localedata/locales/i18n_ctype: Likewise.
4967 * localedata/locales/tr_TR: Likewise.
4968 * localedata/locales/translit_circle: Likewise.
4969 * localedata/locales/translit_cjk_compat: Likewise.
4970 * localedata/locales/translit_combining: Likewise.
4971 * localedata/locales/translit_compat: Likewise.
4972 * localedata/locales/translit_font: Likewise.
4973 * localedata/locales/translit_fraction: Likewise.
4974
4975 2019-03-07 Joseph Myers <joseph@codesourcery.com>
4976
4977 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4978 than after operators.
4979 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4980 (setitimer_locked): Likewise.
4981 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4982 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4983 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4984 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4985 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4986 (PPC_CPU_SUPPORTED): Likewise.
4987 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4988 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4989 (stat_overflow): Likewise.
4990 (statfs_overflow): Likewise.
4991 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4992 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4993 (eq_ttyname_r): Likewise.
4994 (run_chroot_tests): Likewise.
4995
4996 2019-03-07 Florian Weimer <fweimer@redhat.com>
4997
4998 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4999 header check.
5000
5001 2019-03-07 Martin Liska <mliska@suse.cz>
5002
5003 * math/Makefile: Change location where math-vector-fortran.h is
5004 installed.
5005 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5006 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5007 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5008 * scripts/check-installed-headers.sh: Skip Fortran header files.
5009 * scripts/check-wrapper-headers.py: Likewise.
5010
5011 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5012
5013 * nptl/nptl-init.c (__have_futex_clock_realtime,
5014 __have_futex_clock_realtime): Remove definition.
5015 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5016 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5017 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5018 __ASSUME_FUTEX_CLOCK_REALTIME support.
5019 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5020 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5021 * sysdeps/unix/sysv/linux/kernel-features.h
5022 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5023 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5024 Adjust comment.
5025
5026 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5027
5028 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5029 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5030 __GI___wcscpy and wcscpy.
5031
5032 2019-03-04 Florian Weimer <fweimer@redhat.com>
5033
5034 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5035 declaration.
5036 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5037 defined.
5038
5039 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5040
5041 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5042 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5043
5044 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5045
5046 [BZ #24162]
5047 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5048 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5049
5050 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5051
5052 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5053 tests.
5054 (do_test): Likewise.
5055 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5056 (do_test_call_varg): Likewise.
5057 (do_test_call_rarg): Likewise.
5058 * sysdeps/ieee754/ldbl-opt/Makefile
5059 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5060 tst-nldbl-error.
5061 ($(objpfx)tst-nldbl-warn.c): New rule.
5062 ($(objpfx)tst-nldbl-error.c): Likewise.
5063 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5064 New variables.
5065
5066 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5067
5068 [BZ #23984]
5069 * include/bits/error-ldbl.h: New file.
5070 * include/error.h: Include stdarg.h. Declare internal functions
5071 __error_internal and __error_at_line_internal.
5072 * misc/Makefile (headers): Add bits/error-ldbl.h.
5073 * misc/bits/error-ldbl.h: New file.
5074 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5075 avoid the inclusion of bits/error.h.
5076 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5077 and __nldbl_error_at_line.
5078 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5079 (__nldbl_error, __ndlbl_error_at_line): New functions.
5080 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5081 Redirect error and error_at_line.
5082 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5084 Likewise.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5086 Likewise.
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5088 Likewise.
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5090 Likewise.
5091 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5092 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5093 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5094
5095 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5096
5097 [BZ #23984]
5098 * include/bits/err-ldbl.h: New file.
5099 * include/err.h: Add prototypes for the internal functions:
5100 __vwarnx_internal and __vwarn_internal.
5101 * misc/Makefile (headers): Add bits/err-ldbl.h.
5102 * misc/bits/err-ldbl.h: New file.
5103 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5104 defined, i.e.: when -mlong-double-64 is in use.
5105 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5106 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5107 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5108 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5109 (VA_CALL): New macro.
5110 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5111 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5112 functions.
5113 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5114 declare prototypes for the new functions.
5115 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5117 Likewise.
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5119 Likewise.
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5121 Likewise.
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5123 Likewise.
5124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5126 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5127
5128 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5129
5130 * sysdeps/ieee754/ldbl-opt/Makefile
5131 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5132 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5133 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5134
5135 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5136
5137 [BZ #23983]
5138 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5139 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5140 * argp/bits/argp-ldbl.h: New file.
5141 * include/argp.h: Include stdarg.h. Add prototypes for internal
5142 functions: __argp_error_internal and __argp_failure_internal.
5143 * include/bits/argp-ldbl.h: New file.
5144 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5145 __nldbl_argp_error and __nldbl_argp_failure.
5146 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5147 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5148 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5149 Redirect argp_error and argp_failure calls.
5150 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5152 Likewise.
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5154 Likewise.
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5156 Likewise.
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5158 Likewise.
5159 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5160 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5161 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5162
5163 2019-03-01 Florian Weimer <fweimer@redhat.com>
5164
5165 [BZ #20419]
5166 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5167 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5168 code, to avoid creating an ABI tag note.
5169 (modules-names-nobuild): Add tst-big-note-lib.
5170
5171 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5172
5173 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5174 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5175
5176 2019-03-01 Florian Weimer <fweimer@redhat.com>
5177
5178 [BZ #20271]
5179 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5180 (__netlink_assert_response): Add additional missing newlines.
5181
5182 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5183
5184 * sysdeps/powerpc/powerpc32/dl-machine.c
5185 (__elf_machine_fixup_plt): Use space before '('.
5186 (__process_machine_rela): Likewise.
5187 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5188 Likewise.
5189 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5190 Likewise.
5191 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5192 Likewise.
5193 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5194 (pattern): Likewise.
5195 (delta): Likewise.
5196 (check_result): Likewise.
5197 (check_excepts): Likewise.
5198 (check_op): Likewise.
5199 (fail_xr): Likewise.
5200 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5201 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5202 (SCNHSZ): Likewise.
5203 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5204 Likewise.
5205 (ARGS): Likewise.
5206 (__makecontext): Likewise.
5207 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5208 Likewise.
5209
5210 2019-02-28 Florian Weimer <fweimer@redhat.com>
5211
5212 [BZ #23937]
5213 elf: Add test with a local IFUNC resolver.
5214 * elf/ifuncmain9.c: New file.
5215 * elf/ifuncmain9pic.c: Likewise.
5216 * elf/ifuncmain9picstatic.c: Likewise.
5217 * elf/ifuncmain9pie.c: Likewise.
5218 * elf/ifuncmain9static.c: Likewise.
5219 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5220 ifuncmain9static, ifuncmain9picstatic.
5221 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5222 Add ifuncmain9, ifuncmain9pic.
5223 * elf/Makefile [multi-arch && build-shared && have-fpie]
5224 (ifunc-pie-tests): Add ifuncmain9pie.
5225 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5226 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5227 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5228
5229 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5230
5231 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5232 * configure: Regenerated.
5233 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5234
5235 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5236
5237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5238 symbol as __wcspcy instead of wcscpy.
5239
5240 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5241
5242 * include/stdio.h (__renameat2): New hidden prototype.
5243 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5244 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5245 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5246 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5247
5248 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5249
5250 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5251 if statement.
5252
5253 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5254 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5255 * benchtests/bench-strlen.c (do_test): Likewise.
5256 (test_main): Likewise.
5257 * catgets/gencat.c (read_old): Likewise.
5258 * elf/cache.c (load_aux_cache): Likewise.
5259 * iconvdata/bug-iconv8.c (do_test): Likewise.
5260 * math/test-tgmath-ret.c (do_test): Likewise.
5261 * nis/nis_call.c (rec_dirsearch): Likewise.
5262 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5263 * nptl/tst-audit-threads.c (do_test): Likewise.
5264 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5265 * nss/nss_test1.c (init): Likewise.
5266 * nss/test-netdb.c (test_hosts): Likewise.
5267 * posix/execvpe.c (maybe_script_execute): Likewise.
5268 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5269 * stdio-common/tst-printf.c (do_test): Likewise.
5270 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5271 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5272 * stdlib/qsort.c (STACK_SIZE): Likewise.
5273 * stdlib/test-canon.c (do_test): Likewise.
5274 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5275 * string/memcmp.c (OPSIZ): Likewise.
5276 * string/test-strcpy.c (do_test): Likewise.
5277 (do_random_tests): Likewise.
5278 * string/test-strlen.c (do_test): Likewise.
5279 (test_main): Likewise.
5280 * string/test-strrchr.c (do_test): Likewise.
5281 (do_random_tests): Likewise.
5282 * string/tester.c (test_memrchr): Likewise.
5283 (test_memchr): Likewise.
5284 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5285 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5286 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5287 (read_encoded_value_with_base): Likewise.
5288 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5289 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5290 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5291 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5292 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5293 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5294 Likewise.
5295 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5296 Likewise.
5297 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5298 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5299 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5300 Likewise.
5301 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5302 Likewise.
5303 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5304 Likewise.
5305 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5306 Likewise.
5307 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5308 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5309 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5310 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5311 * time/test_time.c (main): Likewise.
5312
5313 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5314
5315 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5316
5317 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5318 wmemcpy.
5319
5320 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5321 wmemcpy.
5322
5323 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5324
5325 * include/wchar.h (__wcscpy): New prototype.
5326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5327 (__wcscpy): Route internal symbol to generic implementation.
5328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5329 Add internal __wcscpy alias.
5330 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5331 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5332 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5333 * wcsmbs/wcscpy.c (wcscpy): Add
5334 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5335 use generic implementation.
5336 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5337
5338 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5339 wmemset.
5340
5341 * sysdeps/m68k/wcpcpy.c: Remove file.
5342 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5343
5344 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5345
5346 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5347 than after operators.
5348 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5349 * sysdeps/mach/hurd/getcwd.c
5350 (__hurd_canonicalize_directory_name_internal): Likewise.
5351 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5352 (pthread_mutex_consistent): Likewise.
5353 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5354 Likewise.
5355 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5356 (__pthread_mutex_transfer_np): Likewise.
5357 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5358 (__pthread_mutex_unlock): Likewise.
5359 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5360 (mtx_owned_p): Likewise.
5361 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5362 (pthread_mutexattr_getrobust): Likewise.
5363 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5364 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5365 Likewise.
5366 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5367 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5368 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5369 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5370 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5373 Likewise.
5374 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5375 Likewise.
5376 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5377 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5378 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5379 (____longjmp_chk): Likewise.
5380 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5381 Likewise.
5382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5383 (INTERNAL_SYSCALL): Likewise.
5384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5385 (INTERNAL_SYSCALL): Likewise.
5386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5387 (__get_clockfreq_via_cpuinfo): Likewise.
5388
5389 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5390 comments.
5391 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5392 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5393 (WORD_COPY_BWD): Likewise.
5394 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5396 Likewise.
5397 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5398 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5399 comment.
5400 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5401
5402 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5403
5404 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5405 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5406 rather than after operators.
5407 * elf/cache.c (print_cache): Likewise.
5408 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5409 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5410 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5411 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5412 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5413 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5414 (reauth_proc): Likewise.
5415 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5416 (__file_name_split_at): Likewise.
5417 (__directory_name_split_at): Likewise.
5418 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5419 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5420 * iconv/gconv_dl.c (do_print): Likewise.
5421 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5422 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5423 * locale/setlocale.c (new_composite_name): Likewise.
5424 * malloc/memusagestat.c (main): Likewise.
5425 * misc/fstab.c (fstab_convert): Likewise.
5426 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5427 Likewise.
5428 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5429 (getgrent_next_file): Likewise.
5430 (internal_getgrnam_r): Likewise.
5431 (internal_getgrgid_r): Likewise.
5432 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5433 Likewise.
5434 (internal_getgrent_r): Likewise.
5435 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5436 (getpwent_next_nss): Likewise.
5437 (getpwent_next_file): Likewise.
5438 (internal_getpwnam_r): Likewise.
5439 (internal_getpwuid_r): Likewise.
5440 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5441 Likewise.
5442 (getspent_next_nss): Likewise.
5443 (internal_getspnam_r): Likewise.
5444 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5445 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5446 * string/strchr.c (STRCHR): Likewise.
5447 * string/strchrnul.c (STRCHRNUL): Likewise.
5448 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5449 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5450 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5451 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5452 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5453 Likewise.
5454 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5455 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5456 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5457 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5458 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5459 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5460 (open_file): Likewise.
5461 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5462 (pthread_mutexattr_setprotocol): Likewise.
5463 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5464 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5465 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5466 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5467 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5468 Likewise.
5469 (elf_machine_rela): Likewise.
5470 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5471 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5472 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5473 * sysdeps/posix/rename.c (rename): Likewise.
5474 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5475 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5476 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5477 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5478 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5479 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5480 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5481 Likewise.
5482 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5483 Likewise.
5484 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5485 * time/tzfile.c (__tzfile_compute): Likewise.
5486
5487 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5488
5489 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5490 rather than after operators.
5491 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5492 * crypt/md5.c (md5_finish_ctx): Likewise.
5493 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5494 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5495 * elf/cache.c (load_aux_cache): Likewise.
5496 * elf/dl-load.c (open_verify): Likewise.
5497 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5498 * elf/readelflib.c (process_elf_file): Likewise.
5499 * elf/rtld.c (dl_main): Likewise.
5500 * elf/sprof.c (generate_call_graph): Likewise.
5501 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5502 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5503 * hurd/dtable.c (reauth_dtable): Likewise.
5504 * hurd/getdport.c (__getdport): Likewise.
5505 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5506 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5507 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5508 Likewise.
5509 * hurd/hurdioctl.c (fioctl): Likewise.
5510 * hurd/hurdselect.c (_hurd_select): Likewise.
5511 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5512 (STOPSIGS): Likewise.
5513 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5514 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5515 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5516 * hurd/msgportdemux.c (msgport_server): Likewise.
5517 * hurd/setauth.c (_hurd_setauth): Likewise.
5518 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5519 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5520 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5521 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5522 * login/tst-utmp.c (do_check): Likewise.
5523 (simulate_login): Likewise.
5524 * mach/lowlevellock.h (lll_lock): Likewise.
5525 (lll_trylock): Likewise.
5526 * math/test-fenv.c (ALL_EXC): Likewise.
5527 * math/test-fenvinline.c (ALL_EXC): Likewise.
5528 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5529 * nis/nis_call.c (__do_niscall3): Likewise.
5530 * nis/nis_callback.c (cb_prog_1): Likewise.
5531 * nis/nis_defaults.c (searchaccess): Likewise.
5532 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5533 * nis/nis_ismember.c (internal_ismember): Likewise.
5534 * nis/nis_local_names.c (nis_local_principal): Likewise.
5535 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5536 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5537 Likewise.
5538 * nis/ypclnt.c (yp_match): Likewise.
5539 (yp_first): Likewise.
5540 (yp_next): Likewise.
5541 (yp_master): Likewise.
5542 (yp_order): Likewise.
5543 * nscd/hstcache.c (cache_addhst): Likewise.
5544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5545 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5546 (internal_getpwuid_r): Likewise.
5547 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5548 * posix/glob.h (__GLOB_FLAGS): Likewise.
5549 * posix/regcomp.c (peek_token): Likewise.
5550 (peek_token_bracket): Likewise.
5551 (parse_expression): Likewise.
5552 * posix/regexec.c (sift_states_iter_mb): Likewise.
5553 (check_node_accept_bytes): Likewise.
5554 * posix/tst-spawn3.c (do_test): Likewise.
5555 * posix/wordexp-test.c (testit): Likewise.
5556 * posix/wordexp.c (parse_tilde): Likewise.
5557 (exec_comm): Likewise.
5558 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5559 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5560 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5561 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5562 * stdio-common/tst-fileno.c (do_test): Likewise.
5563 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5564 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5565 * stdlib/strtod_l.c (round_and_return): Likewise.
5566 (____STRTOF_INTERNAL): Likewise.
5567 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5568 * string/strcspn.c (STRCSPN): Likewise.
5569 * string/test-memmem.c (simple_memmem): Likewise.
5570 * termios/tcsetattr.c (tcsetattr): Likewise.
5571 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5572 * time/asctime.c (asctime_internal): Likewise.
5573 * time/strptime_l.c (__strptime_internal): Likewise.
5574 * time/sys/time.h (timercmp): Likewise.
5575 * time/tzfile.c (__tzfile_compute): Likewise.
5576
5577 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5578
5579 [BZ #21915]
5580 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5581
5582 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5583
5584 * argp/argp-help.c (__argp_error_internal): New function,
5585 renamed from __argp_error, but that takes a 'mode_flags'
5586 parameter to control the format of long double parameters.
5587 (__argp_error): Converted into a call __argp_error_internal.
5588 (__argp_failure_internal): New function, renamed from
5589 __argp_failure, but that takes a 'mode_flags' parameter.
5590 (__argp_failure): Converted into a call __argp_failure_internal.
5591 * misc/err.c (__vwarnx_internal): New function, renamed from
5592 vwarnx, but that takes a 'mode_flags' parameter.
5593 (vwarnx): Converted into a call to __vwarnx_internal.
5594 (__vwarn_internal): New function, renamed from vwarn, but that
5595 takes a 'mode_flags' parameter.
5596 (vwarn): Converted into a call to __vwarn_internal.
5597 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5598 call to __vfxprintf with 'mode_flags'.
5599 (__error_internal): New function, renamed from error, but that
5600 takes a 'mode_flags' parameter.
5601 (error): Converted into a call to __error_internal.
5602 (__error_at_line_internal): New function, renamed from
5603 error_at_line, but that takes a 'mode_flags' parameter.
5604 (error_at_line): Converted into a call to
5605 __error_at_line_internal.
5606 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5607 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5608 Likewise.
5609
5610 2019-02-20 Martin Liska <mliska@suse.cz>
5611
5612 * math/Makefile: Install math-vector-fortran.h.
5613 * bits/math-vector-fortran.h: New file.
5614 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5615
5616 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5617
5618 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5619 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5620
5621 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5622
5623 * nptl/pthread_mutex_trylock.c: Fix comment.
5624
5625 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5626
5627 * nptl/pthread_tryjoin.c: Fix comment.
5628
5629 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5630
5631 [BZ #24231]
5632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5633 after R_SPARC_H34 case.
5634
5635 2019-02-18 Florian Weimer <fweimer@redhat.com>
5636
5637 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5638 (getanswer): Do not call Dprintf.
5639 (res_gethostbyname2_context): Likewise.
5640 (res_gethostbyaddr_context): Likewise.
5641
5642 2019-02-18 Florian Weimer <fweimer@redhat.com>
5643
5644 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5645 declaration.
5646 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5647 Remove definitions.
5648 * libio/stdfiles.c: Update comment.
5649 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5650 set _IO_stdin, _IO_stdout, _IO_stderr.
5651 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5652 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5653 inline function.
5654 (_IO_deallocate_file): New inline function.
5655 * libio/iolibio.h (_IO_vprintf): Remove definition.
5656 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5657 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5658 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5659 _IO_legacy_file.
5660 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5661 __builtin_expect. Use _IO_legacy_file.
5662
5663 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5664
5665 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5666 Initialize ctid with a known value and remove update of ctid
5667 after clone.
5668 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5669 as assumed current value of ctid_ptr.
5670
5671 2019-02-16 Florian Weimer <fweimer@redhat.com>
5672
5673 Check that non-sysdeps headers have wrapper headers.
5674 * scripts/check-wrapper-headers.py: New file.
5675 * Makefile (tests-special): Add check-wrapper-headers.out.
5676 (check-wrapper-headers.out): New target.
5677 * Rules (tests-special): Add check-wrapper-headers.out.
5678 (check-wrapper-headers.out): New target.
5679
5680 2019-02-16 Florian Weimer <fweimer@redhat.com>
5681
5682 Add missing header wrappers under include/.
5683 * include/ar.h: New file.
5684 * include/bits/mqueue2.h: Likewise.
5685 * include/bits/stdio.h: Likewise.
5686 * include/bits/stdio2.h: Likewise.
5687 * include/fstab.h: Likewise.
5688 * include/fts.h: Likewise.
5689 * include/lastlog.h: Likewise.
5690 * include/netinet/icmp6.h: Likewise.
5691 * include/netinet/igmp.h: Likewise.
5692 * include/netinet/ip6.h: Likewise.
5693 * include/re_comp.h: Likewise.
5694 * include/regexp.h: Likewise.
5695 * include/rpcsvc/bootparam.h: Likewise.
5696 * include/rpcsvc/yp_prot.h: Likewise.
5697 * include/sys/random.h: Likewise.
5698 * include/sys/stropts.h: Likewise.
5699 * include/sys/ttychars.h: Likewise.
5700 * include/sys/vfs.h: Likewise.
5701 * include/wait.h: Likewise.
5702
5703 2019-02-16 Florian Weimer <fweimer@redhat.com>
5704
5705 * nptl_db/proc_service.h: Move to ...
5706 * sysdeps/nptl/proc_service.h: ... here.
5707 * nptl_db/thread_db.h: Move to ...
5708 * sysdeps/nptl/thread_db.h: ... here.
5709 * nptl/descr.h: Include <thread_db.h>.
5710
5711 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5712
5713 * io/Makefile (tests): Add tst-lockf.
5714 * io/lockf.c (lockf): Use __fcntl and only define for
5715 !__OFF_T_MATCHES_OFF64_T.
5716 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5717 __OFF_T_MATCHES_OFF64_T case.
5718 * io/tst-lockf.c: New file.
5719 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5720 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5721 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5722 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5723 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5725 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5726 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5727 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5728
5729 2019-02-15 Florian Weimer <fweimer@redhat.com>
5730
5731 [BZ #24211]
5732 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5733 pd->result after the thread descriptor has been freed.
5734
5735 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5736
5737 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5738 from function return type.
5739
5740 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5741
5742 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5743
5744 * scripts/test_printers_common.py: Set TERM to a known harmless
5745 value.
5746
5747 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5748
5749 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5750 (xdr_u_int): Likewise.
5751 (xdr_enum): Likewise.
5752 (xdr_bytes): Reword fall-through comment.
5753 (xdr_string): Likewise.
5754
5755 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5756
5757 [BZ #2421]
5758 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5759 (tests): Add tst-join8 tst-join9.
5760 * nptl/lll_timedwait_tid.c: Remove file.
5761 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5762 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5763 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5764 * nptl/pthread_join_common.c (timedwait_tid): New function.
5765 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5766 is set.
5767 * nptl/tst-join5.c (thread_join): New function.
5768 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5769 check.
5770 * nptl/tst-join8.c: New file.
5771 * nptl/tst-join9.c: Likewise.
5772 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5773 lll_futex_timed_wait_cancel): Add generic macros.
5774 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5775 Remove definitions.
5776 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5777 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5778 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5779 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5780 Remove function.
5781 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5782 Likewise.
5783 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5784 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5785 (lll_futex_timed_wait_cancel): New macro.
5786
5787 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5788
5789 * benchtests/Makefile: Add malloc-simple benchmark.
5790 * benchtests/bench-malloc-simple.c: New benchmark.
5791
5792 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5793
5794 * benchtests/bench-memmove.c (do_one_test): Remove unused
5795 ORIG_SRC.
5796 (do_test): Adjust.
5797 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5798 ORIG_SRC.
5799 (do_test): Adjust.
5800
5801 2019-01-13 Jim Wilson <jimw@sifive.com>
5802
5803 [BZ #24040]
5804 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5805 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5806 (func): New.
5807 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5808 call func directly.
5809 * nptl/Makefile (tests): Add tst-unwind-thread.
5810 (CFLAGS-tst-unwind-thread.c): Define.
5811 * nptl/tst-unwind-thread.c: New file.
5812 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5813 as undefined.
5814
5815 2019-02-13 Joseph Myers <joseph@codesourcery.com>
5816
5817 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5818 comment wording.
5819 * nis/nis_call.c (__do_niscall3): Likewise.
5820
5821 * catgets/gencat.c (normalize_line): Use braces around empty
5822 'else' body.
5823 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5824 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5825 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5826 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5827 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5828 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5829 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5830 definition.
5831
5832 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5833 execlp returns.
5834
5835 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5836
5837 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5838 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5839 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5840 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5841 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5842 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5843 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5844 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5845 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5846 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5847 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5848 * benchtests/bench-bcopy.c: Delete file.
5849 * benchtests/bench-bzero.c: Likewise.
5850 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5851 (simple_memccpy): Remove.
5852 (generic_memccpy): Add function.
5853 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5854 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5855 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5856 (generic_mempcpy): Add new function.
5857 * benchtests/bench-memset.c (simple_bzero): Remove.
5858 (builtin_bzero): Remove.
5859 (builtin_memset): Remove.
5860 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5861 (generic_rawmemchr): Add new function.
5862
5863 2019-02-12 Florian Weimer <fweimer@redhat.com>
5864
5865 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5866
5867 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5868
5869 [BZ #24122]
5870 * elf/Makefile (tests): Add tst-audit13.
5871 (modules-names): Add tst-audit13mod1.
5872 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5873 rule.
5874 * elf/tst-audit13.c: New file.
5875 * elf/tst-audit13mod1.c: Likewise.
5876
5877 2019-02-12 Florian Weimer <fweimer@redhat.com>
5878
5879 [BZ #24122]
5880 * elf/rtld.c (unload_audit_module): New function.
5881 (report_audit_module_load_error): Likewise.
5882 (load_audit_module): Likewise. Extracted from dl_main. Call
5883 _dl_close if the laversion symbol cannot be found. Use early
5884 returns for error handling. Add malloc error check. Check for a
5885 zero return value from la_version. Remove spurious comment about
5886 static TLS initialization. Remove useless casts.
5887 (notify_audit_modules_of_loaded_object): New function. Extracted
5888 from dl_main.
5889 (load_audit_module): Likewise.
5890 (dl_main): Call load_audit_modules.
5891
5892 2019-02-12 Joseph Myers <joseph@codesourcery.com>
5893
5894 * elf/dl-exception.c (_dl_exception_create_format): Add
5895 fall-through comments.
5896 * elf/ldconfig.c (parse_conf_include): Likewise.
5897 * elf/rtld.c (print_statistics): Likewise.
5898 * locale/programs/charmap.c (parse_charmap): Likewise.
5899 * misc/mntent_r.c (__getmntent_r): Likewise.
5900 * posix/wordexp.c (parse_arith): Likewise.
5901 (parse_backtick): Likewise.
5902 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5903 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5905
5906 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
5907
5908 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5909 Use float instead of double.
5910
5911 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5912
5913 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5914
5915 2019-02-08 Joseph Myers <joseph@codesourcery.com>
5916
5917 * sysdeps/powerpc/bits/mathinline.h: Remove.
5918
5919 2019-02-08 Florian Weimer <fweimer@redhat.com>
5920
5921 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5922 * math/bits/math-finite.h: Move to ...
5923 * bits/math-finite.h: ... here.
5924
5925 2019-02-08 Florian Weimer <fweimer@redhat.com>
5926
5927 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5928 * bits/unistd_ext.h: here.
5929
5930 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5931
5932 [BZ #21915]
5933 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5934 * nss/tst-nss-files-hosts-long.c: New file.
5935 * nss/tst-nss-files-hosts-long.root: New directory.
5936 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
5937 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
5938
5939 2019-02-08 Florian Weimer <fweimer@redhat.com>
5940
5941 * include/bits/unistd_ext.h: Remove file.
5942 * posix/bits/unistd_ext.h: Move to ...
5943 * sysdeps/generic/bits/unistd_ext.h: ... here.
5944
5945 2019-02-08 Florian Weimer <fweimer@redhat.com>
5946
5947 * include/bits/unistd_ext.h: New file.
5948
5949 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5950
5951 * time/tst-strftime2.c: Use array_length macros instead of magic
5952 numbers.
5953
5954 2019-02-08 Florian Weimer <fweimer@redhat.com>
5955
5956 [BZ #24161]
5957 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5958 argument.
5959 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5960 locking if the new do_locking argument is true.
5961 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5962 __run_fork_handlers.
5963
5964 2019-02-08 Florian Weimer <fweimer@redhat.com>
5965
5966 [BZ #6399]
5967 Linux: Add gettid system call wrapper.
5968 * posix/Makefile (headers): Add bits/unistd_ext.h.
5969 * posix/bits/unistd_ext.h: New file.
5970 * posix/unistd.h: Include it.
5971 * manual/process.texi (Process Identification): Document gettid.
5972 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5973 tst-gettid, tst-gettid-kill.
5974 (tst-gettid): Link with $(shared-thread-library).
5975 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5976 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5977 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5978 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5979 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5980 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5981 Add gettid.
5982 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5983 Likewise.
5984 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5985 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5986 Likewise.
5987 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5988 Likewise.
5989 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5990 Likewise.
5991 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5992 Likewise.
5993 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5994 Likewise.
5995 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5996 Likewise.
5997 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5998 Likewise.
5999 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6000 (GLIBC_2.30): Likewise.
6001 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6002 (GLIBC_2.30): Likewise.
6003 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6004 (GLIBC_2.30): Likewise.
6005 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6006 (GLIBC_2.30): Likewise.
6007 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6008 Likewise.
6009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6010 (GLIBC_2.30): Likewise.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6012 (GLIBC_2.30): Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6014 (GLIBC_2.30): Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6016 (GLIBC_2.30): Likewise.
6017 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6018 Likewise.
6019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6020 Likewise.
6021 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6022 Likewise.
6023 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6024 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6025 Likewise.
6026 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6027 Likewise.
6028 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6029 Likewise.
6030 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6031 Likewise.
6032 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6033
6034 2019-02-08 Florian Weimer <fweimer@redhat.com>
6035
6036 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6037 compatibility symbols.
6038
6039 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6040
6041 [BZ #24180]
6042 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6043 Add compiler barriers and comments.
6044
6045 2019-02-07 Florian Weimer <fweimer@redhat.com>
6046
6047 * include/array_length.h (array_length): Do not use a statement
6048 expression and _Static_assert, so that array_length can be used at
6049 file scope and as a constant expression.
6050
6051 2019-02-07 Florian Weimer <fweimer@redhat.com>
6052
6053 * support/xdlfcn.h (xdlmopen): Declare.
6054 * support/xdlmopen.c: New file.
6055 * support/Makefile (libsupport-routines): Add xdlmopen.
6056
6057 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6058
6059 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6060 before return type, without separate inline.
6061 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6062 * elf/dl-tunables.h (tunable_is_name): Likewise.
6063 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6064 (do_set_top_pad): Likewise.
6065 (do_set_mmap_threshold): Likewise.
6066 (do_set_mmaps_max): Likewise.
6067 (do_set_mallopt_check): Likewise.
6068 (do_set_perturb_byte): Likewise.
6069 (do_set_arena_test): Likewise.
6070 (do_set_arena_max): Likewise.
6071 (do_set_tcache_max): Likewise.
6072 (do_set_tcache_count): Likewise.
6073 (do_set_tcache_unsorted_limit): Likewise.
6074 * nis/nis_subr.c (count_dots): Likewise.
6075 * nptl/allocatestack.c (advise_stack_range): Likewise.
6076 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6077 (do_sin): Likewise.
6078 (reduce_sincos): Likewise.
6079 (do_sincos): Likewise.
6080 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6081 (do_set_elision_enable): Likewise.
6082 (TUNABLE_CALLBACK_FNDECL): Likewise.
6083
6084 2019-02-06 Florian Weimer <fweimer@redhat.com>
6085
6086 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6087 (xdlsym): Use dlerror to detect a NULL symbol.
6088
6089 2019-02-06 Florian Weimer <fweimer@redhat.com>
6090
6091 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6092 <stap-probe.h>.
6093 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6094
6095 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6096
6097 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6098
6099 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6100
6101 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6102 __wmemcmp and weak alias to wmemcmp.
6103
6104 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6105
6106 [BZ #23403]
6107 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6108 TLS_TCB_AT_TP tls variant.
6109 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6110 Add alignment checks.
6111 * support/Makefile (libsupport-routines): Add xposix_memalign and
6112 xpthread_setstack.
6113 * support/support.h: Add xposix_memalign.
6114 * support/xthread.h: Add xpthread_attr_setstack.
6115 * support/xposix_memalign.c: New File.
6116 * support/xpthread_attr_setstack.c: Likewise.
6117
6118 2019-02-05 Florian Weimer <fweimer@redhat.com>
6119
6120 [BZ #24164]
6121 arm: Use "nr" constraint for Systemtap probes, to avoid the
6122 compiler using memory operands for constants, due to the "o"
6123 alternative in the default "nor" constraint.
6124 * include/stap-probe.h [USE_STAP_PROBE]: Include
6125 <stap-probe-machine.h>
6126 * sysdeps/generic/stap-probe-machine.h: New file.
6127 * sysdeps/arm/stap-probe-machine.h: Likewise.
6128
6129 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6130
6131 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6132 with 0, not tcache->entries[tc_idx].
6133
6134 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6135 once.
6136
6137 2019-02-04 Andreas Schwab <schwab@suse.de>
6138
6139 [BZ #16976]
6140 [BZ #17396]
6141 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6142 looking up collating elements match against (wide) character
6143 sequence instead of name. Correct alignment adjustment.
6144 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6145 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6146 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6147 (LOCALES): Add cs_CZ.ISO-8859-2.
6148 * posix/tst-fnmatch4.c: New file.
6149 * posix/tst-fnmatch5.c: New file.
6150 * include/wchar.h (__wmemcmp): Declare.
6151 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6152 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6153 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6154 * sysdeps/s390/wmemcmp.c: Likewise.
6155
6156 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6157
6158 [BZ #24155]
6159 CVE-2019-7309
6160 * NEWS: Updated for CVE-2019-7309.
6161 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6162 upper 32 bits of RDX register for x32. Use unsigned Jcc
6163 instructions, instead of signed.
6164 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6165 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6166
6167 2019-02-04 Florian Weimer <fweimer@redhat.com>
6168
6169 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6170 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6171 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6172 Likewise.
6173 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6174 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6175 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6176 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6177 Likewise.
6178 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6179 Likewise.
6180 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6181 Likewise.
6182 (posix_spawn_file_actions_addopen): Likewise.
6183 (posix_spawn_file_actions_addclose): Likewise.
6184 (posix_spawn_file_actions_adddup2): Likewise.
6185 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6186 qualifiers.
6187 (posix_spawn_file_actions_addfchdir_np): Likewise.
6188
6189 2019-02-04 David Newall <glibc@davidnewall.com>
6190
6191 elf: Implement --preload option for the dynamic linker.
6192 * elf/rtld.c (preloadarg): New variable.
6193 (handle_preload_list): Pass through “where” argument to
6194 do_preload.
6195 (dl_main): Handle "--preload" and add second call to
6196 handle_preload_list.
6197 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6198 (tst-rtld-preload-OBJS): Set variable.
6199 (tst-rtld-preload.out): New target.
6200 * elf/tst-rtld-preload.sh: New file.
6201
6202 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6203
6204 * Makefile (testrun.sh): Exit in case of incorrect argument.
6205
6206 2019-02-04 Florian Weimer <fweimer@redhat.com>
6207
6208 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6209 alignment gaps.
6210
6211 2019-02-03 Florian Weimer <fweimer@redhat.com>
6212
6213 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6214 implicit overflow checks.
6215
6216 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6217
6218 * stdlib/isomac.c: Include <unistd.h>.
6219
6220 2019-02-03 Florian Weimer <fweimer@redhat.com>
6221
6222 * include/time.h (__tzfile_default): Use int, not long int, for
6223 the GMT offsets.
6224 * time/tzfile.c (struct ttinfo): Change type of the offset member
6225 to int.
6226 (__tzfile_read): Remove useless cast.
6227 (__tzfile_default): Adjust prototype.
6228 * time/tzset.c (tz_rule): Change type of the offset member to int.
6229 (parse_offset): Change the type of the sign variable to int.
6230
6231 2019-02-03 Florian Weimer <fweimer@redhat.com>
6232
6233 [BZ #24153]
6234 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6235 * libio/getchar.c (getchar): Likewise.
6236 * libio/getchar_u.c (getchar_unlocked): Likewise.
6237 * libio/getwchar.c (getwchar): Likewise.
6238 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6239 * libio/iogets.c (_IO_gets): Likewise.
6240 * libio/vscanf.c (_IO_vscanf): Likewise.
6241 * libio/vwscanf.c (__vwscanf): Likewise.
6242 * libio/tst-bz24153.c: New file.
6243 * libio/Makefile (tests): Add it.
6244
6245 2019-02-02 Florian Weimer <fweimer@redhat.com>
6246
6247 [BZ #14829]
6248 * manual/resource.texi (Basic Scheduling Functions): Add
6249 portability note. Change process to task throughout the section.
6250 Remove incorrect comment about sched_yield as it affects
6251 tasks/threads, not entire processes.
6252 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6253 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6254
6255 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6256
6257 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6258 * configure: Regenerated.
6259 * manual/install.texi (Tools for Compilation): Update minimum GCC
6260 version.
6261 * INSTALL: Regenerated.
6262
6263 2019-02-01 Florian Weimer <fweimer@redhat.com>
6264
6265 * support/support_test_compare_string.c
6266 (support_test_compare_string): Use "string" in error message.
6267 * support/tst-test_compare_string.c (do_test): Adjust.
6268
6269 2019-02-01 Florian Weimer <fweimer@redhat.com>
6270
6271 * support/support_format_address_family.c
6272 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6273
6274 2019-02-01 Florian Weimer <fweimer@redhat.com>
6275
6276 * manual/socket.texi (Internet Address Formats): Clarify the byte
6277 order of struct sockaddr_in, struct sockaddr_in6. Document
6278 sin6_flowinfo and sin6_scope_id.
6279
6280 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6281
6282 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6283 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6284 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6285 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6286 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6287 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6288
6289 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6290
6291 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6292 [!MEMCHR](MEMCHR): Set to __memchr.
6293 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6294 Add memchr_generic and memchr_nosimd.
6295 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6296 (__libc_ifunc_impl_list): Add memchr ifuncs.
6297 * sysdeps/aarch64/multiarch/memchr.c: New file.
6298 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6299 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6300
6301 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6302
6303 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6304 Add memset_emag.
6305 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6306 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6307 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6308 Add IS_EMAG check for ifunc dispatch.
6309 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6310 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6311
6312 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6313
6314 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6315 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6316 Add emag.
6317 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6318 New macro.
6319
6320 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6321
6322 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6323
6324 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6325
6326 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6327 syscall-template file.
6328
6329 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6330 Torvald Riegel <triegel@redhat.com>
6331 Rik Prohaska <prohaska7@gmail.com>
6332
6333 [BZ# 23844]
6334 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6335 tst-rwlock-trywrlock-stall.
6336 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6337 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6338 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6339 Set __wrphase_fute to 1 only if we started the write phase.
6340 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6341 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6342 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6343 * support/xpthread_rwlock_destroy.c: New file.
6344 * support/xthread.h: Declare xpthread_rwlock_destroy.
6345
6346 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6347
6348 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6349 version to 4.0.2.
6350
6351 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6352
6353 [BZ #24051]
6354 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6355 * libio/fileops.c (_IO_new_file_underflow): Likewise
6356 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6357 * libio/putchar.c (putchar): Likewise.
6358 * libio/putchar_u.c (putchar_unlocked): Likewise.
6359 * libio/putwchar.c (putchar): Likewise.
6360 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6361 * libio/tst-bz24051.c: New test.
6362 * libio/Makefile (tests): Add tst-bz24051
6363
6364 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6365
6366 CVE-2019-9169
6367 regex: fix read overrun [BZ #24114]
6368 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6369 https://debbugs.gnu.org/34140
6370 * posix/regexec.c (proceed_next_node):
6371 Do not read past end of input buffer.
6372
6373 2019-01-31 Florian Weimer <fweimer@redhat.com>
6374
6375 [BZ #24059]
6376 * nss/nss_files/files-alias.c (get_next_alias): Handle
6377 continuation line without newline at the end.
6378 * nss/tst-nss-files-alias-truncated.c: New file.
6379 * nss/Makefile [$(build-shared)] (tests): Add
6380 tst-nss-files-alias-truncated.
6381 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6382 * support/namespace.h (struct support_chroot_configuration): Add
6383 aliases member.
6384 (struct support_chroot): Add path_aliases member.
6385 * support/support_chroot.c (support_chroot_create): Handle
6386 aliases.
6387 (support_chroot_free): Free path_aliases.
6388
6389 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6390
6391 * version.h (RELEASE): Set to "development".
6392 (VERSION): Set to "2.29.9000".
6393 * NEWS: Add section for 2.30.
6394
6395 * version.h (RELEASE): Set to "stable".
6396 (VERSION): Set to "2.29".
6397 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6398
6399 * NEWS: Add the list of bugs fixed in 2.29.
6400 * manual/contrib.texi: Update contributors list with some more
6401 names.
6402 * manual/install.texi: Update latest versions of packages
6403 tested.
6404 * INSTALL: Regenerated.
6405
6406 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6407
6408 * po/be.po: Update translations.
6409 * po/bg.po: Likewise.
6410 * po/ca.po: Likewise.
6411 * po/cs.po: Likewise.
6412 * po/da.po: Likewise.
6413 * po/de.po: Likewise.
6414 * po/el.po: Likewise.
6415 * po/eo.po: Likewise.
6416 * po/es.po: Likewise.
6417 * po/fi.po: Likewise.
6418 * po/fr.po: Likewise.
6419 * po/gl.po: Likewise.
6420 * po/hr.po: Likewise.
6421 * po/hu.po: Likewise.
6422 * po/ia.po: Likewise.
6423 * po/id.po: Likewise.
6424 * po/it.po: Likewise.
6425 * po/ja.po: Likewise.
6426 * po/ko.po: Likewise.
6427 * po/lt.po: Likewise.
6428 * po/nb.po: Likewise.
6429 * po/nl.po: Likewise.
6430 * po/pl.po: Likewise.
6431 * po/pt_BR.po: Likewise.
6432 * po/ru.po: Likewise.
6433 * po/rw.po: Likewise.
6434 * po/sk.po: Likewise.
6435 * po/sl.po: Likewise.
6436 * po/sv.po: Likewise.
6437 * po/tr.po: Likewise.
6438 * po/uk.po: Likewise.
6439 * po/vi.po: Likewise.
6440 * po/zh_CN.po: Likewise.
6441 * po/zh_TW.po: Likewise.
6442
6443 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6444
6445 [BZ #24130]
6446 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6447 of $f3 register on $y_is_neg path.
6448
6449 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6450
6451 [BZ #24110]
6452 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6453 sigaltstack.ss_flags.
6454
6455 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6456
6457 [BZ #23758]
6458 * manual/time.texi (strftime): Document "%Ey".
6459 * time/strftime_l.c (__strftime_internal): Set the default width
6460 padding with zero of "%Ey" to 2.
6461
6462 [BZ #24096]
6463 * manual/time.texi (strftime): Document "%EC" and "%EY".
6464 * time/Makefile (tests): Add tst-strftime2.
6465 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6466 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6467 override padding for "%Ey".
6468 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6469 "%Ey" in the subformat as if decorated with that flag.
6470 * time/tst-strftime2.c: New file.
6471
6472 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6473
6474 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6475 are not defined.
6476
6477 [BZ #24122]
6478 * elf/Makefile (tests): Add tst-audit13.
6479 (modules-names): Add tst-audit13mod1.
6480 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6481 rule.
6482 * elf/rtld.c (dl_main): Handle invalid audit module version.
6483 * elf/tst-audit13.c: New file.
6484 * elf/tst-audit13mod1.c: Likewise.
6485
6486 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6487
6488 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6489 returned by __hurd_at_flags.
6490 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6491 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6492 directly instead of __hurd_file_name_lookup.
6493
6494 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6495
6496 * scripts/build-many-glibcs.py (Context.checkout): Default
6497 binutils version to 2.32 branch.
6498
6499 2019-01-21 Florian Weimer <fweimer@redhat.com>
6500
6501 [BZ #20018]
6502 CVE-2016-10739
6503 resolv: Reject trailing characters in host names
6504 * include/arpa/inet.h (__inet_aton_exact): Declare.
6505 (inet_aton): Remove hidden prototype. No longer used internally.
6506 * nscd/gai.c (__inet_aton): Do not define.
6507 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6508 * nss/digits_dots.c (__inet_aton): Likewise.
6509 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6510 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6511 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6512 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6513 (tst-resolv-trailing): Likewise.
6514 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6515 libc.
6516 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6517 Make static. Add endp parameter.
6518 (__inet_aton_exact): New function.
6519 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6520 (__inet_addr): Call inet_aton_end.
6521 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6522 not just IPv6. Call __inet_aton_exact.
6523 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6524 (tests): Make const. Add additional test cases with trailing
6525 characters.
6526 (do_test): Use array_length.
6527 * resolv/tst-inet_aton_exact.c: New file.
6528 * resolv/tst-resolv-trailing.c: Likewise.
6529 * resolv/tst-resolv-nondecimal.c: Likewise.
6530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6531
6532 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6533
6534 [BZ# 24097]
6535 CVE-2019-6488
6536 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6537 Clear the upper 32 bits of RSI register.
6538 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6539 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6540 and tst-size_t-wcsnlen.
6541 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6542 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6543
6544 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6545
6546 [BZ# 24097]
6547 CVE-2019-6488
6548 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6551 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6552 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6553
6554 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6555
6556 [BZ# 24097]
6557 CVE-2019-6488
6558 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6560 * sysdeps/x86_64/strcmp.S: Likewise.
6561 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6562 tst-size_t-strncmp and tst-size_t-wcsncmp.
6563 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6564 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6565 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6566
6567 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6568
6569 [BZ# 24097]
6570 CVE-2019-6488
6571 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6572 RDX_LP for length. Clear the upper 32 bits of RDX register.
6573 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6574 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6575 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6576 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6577
6578 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6579
6580 [BZ# 24097]
6581 CVE-2019-6488
6582 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6583 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6584 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6585 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6586
6587 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6588
6589 [BZ# 24097]
6590 CVE-2019-6488
6591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6592 length. Clear the upper 32 bits of RDX register.
6593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6594 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6595 Likewise.
6596 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6597 Likewise.
6598 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6599 tst-size_t-wmemchr.
6600 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6601
6602 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6603
6604 [BZ# 24097]
6605 CVE-2019-6488
6606 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6607 length. Clear the upper 32 bits of RDX register.
6608 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6609 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6610 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6611 tst-size_t-wmemcmp.
6612 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6613 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6614
6615 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6616
6617 [BZ# 24097]
6618 CVE-2019-6488
6619 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6620 upper 32 bits of RDX register.
6621 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6622 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6623 tst-size_t-wmemchr.
6624 * sysdeps/x86_64/x32/test-size_t.h: New file.
6625 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6626 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6627
6628 2019-01-18 Florian Weimer <fweimer@redhat.com>
6629
6630 [BZ #24112]
6631 resolv: Do not send queries for non-host-names in nss_dns.
6632 * resolv/nss_dns/dns-host.c (check_name): New function.
6633 (_nss_dns_gethostbyname2_r): Use it.
6634 (_nss_dns_gethostbyname_r): Likewise.
6635 (_nss_dns_gethostbyname4_r): Likewise.
6636
6637 2019-01-21 Florian Weimer <fweimer@redhat.com>
6638
6639 * resolv/inet_addr.c: Reformat to GNU style.
6640 (__inet_addr, __inet_aton): Update comment.
6641
6642 2019-01-18 Florian Weimer <fweimer@redhat.com>
6643
6644 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6645 ("malloc: Use current (C11-style) atomics for fastbin access").
6646 This commit introduces a substantial performance regression on
6647 POWER and Aarch64.
6648 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6649 (REMOVE_FB): Define.
6650 (_int_malloc): Use it and reindent.
6651 (_int_free): Use CAS loop with
6652 catomic_compare_and_exchange_val_rel.
6653 (malloc_consolidate): Use atomic_exchange_acq.
6654
6655
6656 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6657
6658 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6659 -Wl,-z,now.
6660 (LDFLAGS-tst-minsigstksz-2): Likewise.
6661 (LDFLAGS-tst-minsigstksz-3): Likewise.
6662 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6663 (LDFLAGS-tst-minsigstksz-4): Likewise.
6664
6665 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6666
6667 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6668 than "alternate".
6669
6670 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6671
6672 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6673
6674 2019-01-16 Zack Weinberg <zackw@panix.com>
6675
6676 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6677 (xget_sigstack_location): New test support functions.
6678 * support/xsigstack.c: New file, implementing them.
6679 * support/tst-xsigstack.c: New test for them.
6680 * support/Makefile: Update.
6681
6682 * signal/tst-minsigstksz-1.c
6683 * signal/tst-minsigstksz-2.c
6684 * signal/tst-minsigstksz-3.c
6685 * signal/tst-minsigstksz-3a.c
6686 * signal/tst-minsigstksz-4.c: New tests.
6687 * signal/Makefile: Run them.
6688
6689 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6690
6691 * po/libc.pot: Regenerate.
6692
6693 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6694
6695 * math/libm-test-fma.inc (fma_test_data): Set
6696 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6697
6698 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6699
6700 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6701 (do_test): Changed __vector __int128_t to __vector unsigned int.
6702
6703 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6704
6705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6706 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6707 stpcpy-avx2 and stpncpy-avx2.
6708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6709 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6710 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6711 and __stpncpy_avx2.
6712 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6713 ifunc-strcpy.h}: rename header for a more generic name.
6714 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6715 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6716 AVX unaligned load is fast and vzeroupper is preferred.
6717 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6718 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6719 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6720 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6721 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6722 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6723
6724 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6725
6726 * argp/argp-help.c: Fix typo in comment.
6727 * misc/sys/cdefs.h: Likewise.
6728 * posix/regexec.c (sift_states_iter_mb): Likewise.
6729 * socket/sockatmark.c: Likewise.
6730 * socket/sys/socket.h: Likewise.
6731 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6732 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6733 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6735 * sysdeps/unix/sockatmark.c: Likewise.
6736 * time/strptime_l.c: Likewise.
6737
6738 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6739
6740 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6741 missing space after the cast of "_NL_CURRENT".
6742
6743 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6744
6745 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6746 ifdef to fix read of VSCR.
6747 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6748 tst-ucontext-ppc64-vscr.c to test list.
6749 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6750
6751 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6752
6753 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6754 fall-through.
6755
6756 2019-01-09 Jim Wilson <jimw@sifive.com>
6757
6758 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6759
6760 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6761
6762 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6763 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6764 __memcpy_falkor for ares.
6765 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6766 Add new define.
6767 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6768 Add ares cpu.
6769
6770 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6771
6772 [BZ #24066]
6773 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6774 4_FP_W_TYPEs are used for IEEE quad precision.
6775 * soft-fp/extendhftf2.c: Likewise.
6776 * soft-fp/extendsftf2.c: Likewise.
6777 * soft-fp/extendxftf2.c: Likewise.
6778 * soft-fp/trunctfdf2.c: Likewise.
6779 * soft-fp/trunctfhf2.c: Likewise.
6780 * soft-fp/trunctfsf2.c: Likewise.
6781 * soft-fp/trunctfxf2.c: Likewise.
6782 * sysdeps/alpha/ots_cvttx.c: Likewise.
6783 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6784 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6785 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6786 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6787 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6788 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6789 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6790 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6791 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6792 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6793 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6794 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6795 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6796 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6797 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6798 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6799 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6800
6801 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6802
6803 [BZ #24024]
6804 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6805 code with -fmath-errno.
6806 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6807 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6808 * string/test-strerror-errno.c: New file.
6809
6810 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6811
6812 [BZ #24046]
6813 * localedata/locales/en_US (date_fmt): Add, set to
6814 "%a %d %b %Y %r %Z".
6815
6816 2019-01-07 Florian Weimer <fweimer@redhat.com>
6817
6818 [BZ #24063]
6819 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6820 instead of @var{errno}.
6821 (Parsing of Integers): Likewise.
6822 (Parsing of Floats): Likewise.
6823 * manual/filesys.texi (Working with Directory Trees): Likewise.
6824 (Temporary Files): Likewise.
6825 * manual/job.texi (Terminal Access Functions): Likewise.
6826 * manual/llio.texi (Synchronizing I/O): Likewise.
6827 * manual/math.texi (SVID Random): Likewise.
6828 * manual/message.texi (The catgets Functions): Likewise.
6829 (Translation with gettext): Likewise.
6830 (Locating gettext catalog): Likewise.
6831 (Charset conversion in gettext): Likewise.
6832 * manual/nss.texi (NSS Module Function Internals): Likewise.
6833 * manual/search.texi (Hash Search Function): Likewise.
6834 * manual/setjmp.texi (System V contexts): Likewise.
6835 * manual/time.texi (Sleeping): Likewise.
6836 * manual/users.texi (Lookup User): Likewise.
6837 (Lookup Group): Likewise.
6838
6839 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6840
6841 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6842 fix typo.
6843
6844 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
6845
6846 [BZ #19444]
6847 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6848 __builtin_unreachable for default case in switch.
6849 (__ieee754_yn): Likewise.
6850 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6851 (__ieee754_ynl): Likewise.
6852 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6853 (__ieee754_ynl): Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6855 (__ieee754_ynl): Likewise.
6856
6857 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6858
6859 * manual/maint.texi: Use @{ and @}.
6860
6861 2019-01-04 Florian Weimer <fweimer@redhat.com>
6862
6863 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6864 function.
6865 (do_in_chroot_1): Call it.
6866 (run_chroot_tests):
6867 Improve error reporting in case it is not possible to create a
6868 collision for the PTY name required by the test.
6869
6870 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6871
6872 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6873 lll_wait_tid with timeout.
6874 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6875 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6876 futex_reltimed_wait_cancelable for cancelabla mode.
6877 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6878 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6879 macros.
6880 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6881 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6882 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6883 SYSCALL_CANCEL_NCS): New macro.
6884 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6885 (lll_timedwait_tid): Remove macro.
6886 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6887 Likewise.
6888 (lll_timedwait_tid): Likewise.
6889 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6890 Likewise.
6891 (lll_timedwait_tid): Likewise.
6892 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6893 Likewise.
6894 (lll_timedwait_tid): Likewise.
6895 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6896 Use INTERNAL_SYSCALL_CANCEL.
6897 * sysdeps/unix/sysv/linux/futex-internal.h
6898 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6899 instead of __pthread_{enable,disable}_asynccancel.
6900 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6901 (lll_futex_wait_cancel): New macro.
6902
6903 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6904 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6905
6906 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6907 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6908
6909 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6910 in backtrace analysis.
6911 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6912 side-effects.
6913 (tf_send): Likewise.
6914
6915 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6916 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6917 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6918 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6919 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6920 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6921 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6922 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6923 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6924 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6925 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6926 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6927 Likewise.
6928 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6929 tst-cancel-wrappers.sh.
6930 (generated): Remove tst-cancel-wrappers.out.
6931 (tst-cancel-wrappers.out): Remove rule.
6932 * nptl/tst-cancel-wrappers.sh: Remove file.
6933
6934 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6935
6936 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
6937 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6938 Update.
6939
6940 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6941
6942 [BZ #23640]
6943 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
6944 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
6945 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
6946 close-on-exec reset for adddup2 file action.
6947 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6948
6949 2019-01-03 Zack Weinberg <zackw@panix.com>
6950
6951 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6952 parameter. Only use deprecated scanf when __USE_GNU is defined
6953 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6954 than 201103L, whichever is relevant for the language being compiled.
6955
6956 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6957 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6958 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6959 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6960 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6961
6962 * libio/iovsscanf.c
6963 * libio/fwscanf.c
6964 * libio/iovswscanf.c
6965 * libio/swscanf.c
6966 * libio/vscanf.c
6967 * libio/vwscanf.c
6968 * libio/wscanf.c
6969 * stdio-common/fscanf.c
6970 * stdio-common/scanf.c
6971 * stdio-common/vfscanf.c
6972 * stdio-common/vfwscanf.c
6973 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6974 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6975 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6976 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6977 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6978 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6979 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6980 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6981 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6982 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6983 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6984 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6985 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6986 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6987 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6988
6989 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6990 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6991 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6992 not sscanf.
6993 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6994 with a preprocessor macro.
6995
6996 * stdio-common/bug21.c, stdio-common/scanf14.c:
6997 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6998 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6999 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7000 to xscanf, xfscanf, xsscanf.
7001
7002 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7003 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7004 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7005 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7006 xfscanf, xsscanf.
7007 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7008 override feature selection macros or provide definitions of u_char etc.
7009 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7010 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7011 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7012 with -std=gnu89.
7013
7014 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7015
7016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7017 bits/termios-misc.h.
7018 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7019 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7020 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7021 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7022 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7023 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7024
7025 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7026 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7027 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7028 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7029 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7030 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7031 termios-misc.h.
7032 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7033 (sysdep_headers): Add termios-misc.h.
7034
7035 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7036 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7037 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7038
7039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7040 termios-tcflow.h.
7041 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7042 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7043 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7044 TCSAFLUSH): Move to termios-tcflow.h.
7045 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7046 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7048 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7049
7050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7051 termios-c_lflag.h.
7052 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7053 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7054 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7055 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7056 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7057 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7058 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7059 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7060 Likewise.
7061 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7062 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7063 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7064 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7065
7066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7067 termios-c_cflag.h.
7068 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7069 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7070 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7071 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7072 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7073 termios-c_cflag.h.
7074 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7075 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7076 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7077 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7078
7079 [BZ #23783]
7080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7081 termios-baud.h.
7082 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7083 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7084 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7085 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7086 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7087 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7088 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7089 __MAX_BAUD): Move to termios-baud.h.
7090 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7091 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7092 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7093 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7094 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7095
7096 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7097 termios-c_oflag.h.
7098 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7099 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7100 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7101 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7102 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7103 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7104 termios-c_oflag.h.
7105 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7106 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7107 FFR1): Likewise.
7108 [USE_MISC] (XTABS): Likewise.
7109 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7110 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7111 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7112 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7113
7114 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7115 termios-c_iflag.h.
7116 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7117 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7118 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7119 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7120 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7121 IUTF8): Move to termios-c_iflag.h.
7122 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7123 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7124 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7125 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7126
7127 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7128 termios-cc.h.
7129 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7130 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7131 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7132 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7133 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7134 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7135 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7136 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7137 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7138 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7139 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7140 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7141
7142 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7143 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7144 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7145 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7147 termios-struct.h.
7148 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7149 termios-struct.h.
7150 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7151 Likewise.
7152 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7153 Likewise.
7154 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7155 Likewise.
7156 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7157 Likewise.
7158 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7159 _HAVE_C_OSPEED): Define.
7160 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7161 _HAVE_C_OSPEED): Likewise.
7162 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7163 _HAVE_C_OSPEED): Likewise.
7164 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7165 (cfsetospeed): Check for define value instead of existence.
7166 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7167 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7168 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7169 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7170 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7171
7172 [BZ #17783]
7173 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7174 Define.
7175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7176 (TIOCSER_TEMT): Likewise.
7177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7178 (TEOCSER_TEMT): Likewise.
7179
7180 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7181
7182 [BZ #24011]
7183 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7184
7185 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7186
7187 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7188
7189 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7190
7191 * sysdeps/htl/pt-barrierattr-setpshared.c
7192 (pthread_barrierattr_setpshared): Add stub warning.
7193 * sysdeps/htl/pt-condattr-setpshared.c
7194 (pthread_condattr_setpshared): Likewise.
7195 * sysdeps/htl/pt-mutexattr-setpshared.c
7196 (pthread_mutexattr_setpshared): Likewise.
7197 * sysdeps/htl/pt-rwlockattr-setpshared.c
7198 (pthread_rwlockattr_setpshared): Likewise.
7199 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7200 (pthread_mutexattr_setpshared): Likewise.
7201
7202 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7203
7204 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7205 constants to match with Linux 4.20.
7206
7207 * sysdeps/mips/mips32/libm-test-ulps: Update.
7208 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7209
7210 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7211
7212 [BZ #24034]
7213 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7214 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7215 than __typeof (...) for the a_ptr variable.
7216
7217 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7218
7219 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7220 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7221 * libio/Makefile (tests): Add tst-sprintf-ub and
7222 tst-sprintf-chk-ub.
7223 (CFLAGS-tst-sprintf-ub.c): New variable.
7224 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7225 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7226 destination buffer and check for overflows in fortified mode.
7227 * libio/libioP.h (PRINTF_CHK): New macro.
7228 * libio/tst-sprintf-chk-ub.c: New file.
7229 * libio/tst-sprintf-ub.c: Likewise.
7230
7231 2019-01-02 Florian Weimer <fweimer@redhat.com>
7232
7233 [BZ #24018]
7234 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7235 failure.
7236
7237 2019-01-02 Florian Weimer <fweimer@redhat.com>
7238
7239 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7240
7241 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7242
7243 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7244 macro.
7245
7246 * sysdeps/unix/sysv/linux/netpacket/packet.h
7247 (PACKET_IGNORE_OUTGOING): New macro.
7248
7249 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7250 macro.
7251
7252 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7253 version to 4.20.
7254 (riscv_flush_icache): New syscall.
7255
7256 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7257 trailing whitespace removed.
7258 * scripts/config.guess: Update to version 2019-01-01.
7259 * scripts/config.sub: Update to version 2019-01-01.
7260 * scripts/move-if-change: Update from gnulib.
7261
7262 * NEWS: Update copyright dates.
7263 * catgets/gencat.c (print_version): Likewise.
7264 * csu/version.c (banner): Likewise.
7265 * debug/catchsegv.sh: Likewise.
7266 * debug/pcprofiledump.c (print_version): Likewise.
7267 * debug/xtrace.sh (do_version): Likewise.
7268 * elf/ldconfig.c (print_version): Likewise.
7269 * elf/ldd.bash.in: Likewise.
7270 * elf/pldd.c (print_version): Likewise.
7271 * elf/sotruss.sh: Likewise.
7272 * elf/sprof.c (print_version): Likewise.
7273 * iconv/iconv_prog.c (print_version): Likewise.
7274 * iconv/iconvconfig.c (print_version): Likewise.
7275 * locale/programs/locale.c (print_version): Likewise.
7276 * locale/programs/localedef.c (print_version): Likewise.
7277 * login/programs/pt_chown.c (print_version): Likewise.
7278 * malloc/memusage.sh (do_version): Likewise.
7279 * malloc/memusagestat.c (print_version): Likewise.
7280 * malloc/mtrace.pl: Likewise.
7281 * manual/libc.texinfo: Likewise.
7282 * nptl/version.c (banner): Likewise.
7283 * nscd/nscd.c (print_version): Likewise.
7284 * nss/getent.c (print_version): Likewise.
7285 * nss/makedb.c (print_version): Likewise.
7286 * posix/getconf.c (main): Likewise.
7287 * scripts/test-installation.pl: Likewise.
7288 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7289
7290 * All files with FSF copyright notices: Update copyright dates
7291 using scripts/update-copyrights.
7292 * locale/programs/charmap-kw.h: Regenerated.
7293 * locale/programs/locfile-kw.h: Likewise.
7294
7295 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7296
7297 * timezone/zdump.c: Update from tzcode 2018i.
7298 * timezone/zic.c: Likewise.
7299
7300 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7301
7302 regex: improve Gnulib port to AIX
7303 From the glibc point of view, this removes duplicate macro
7304 definitions and is obviously safe.
7305 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7306 * posix/regex_internal.h:
7307 (__attribute__, __attribute_warn_unused_result__):
7308 Remove; already defined elsewhere.
7309
7310 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7311
7312 [BZ #24027]
7313 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7314 copying operation. (ncopies had the wrong type, resulting in an
7315 integer wraparound and too few elements being copied.)
7316
7317 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7318
7319 [BZ #24022]
7320 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7321 <asm/syscalls.h> exists with __has_include__ before including it.
7322
7323 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7324
7325 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7326 version to 4.20.
7327
7328 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7329
7330 * hurd/lookup-retry: Include <unistd.h>.
7331 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7332 Release it on return. Handle "pid" magical lookup retry.
7333
7334 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7335
7336 [BZ #10496]
7337 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7338 (t_fmt_ampm): Likewise.
7339 * localedata/locales/aa_ER (t_fmt): Likewise.
7340 (t_fmt_ampm): Likewise.
7341 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7342 (t_fmt_ampm): Likewise.
7343 * localedata/locales/aa_ET (t_fmt): Likewise.
7344 (t_fmt_ampm): Likewise.
7345 * localedata/locales/am_ET (t_fmt): Likewise.
7346 (t_fmt_ampm): Likewise.
7347 * localedata/locales/byn_ER (t_fmt): Likewise.
7348 (t_fmt_ampm): Likewise.
7349 * localedata/locales/om_ET (t_fmt): Likewise.
7350 (t_fmt_ampm): Likewise.
7351 * localedata/locales/sid_ET (t_fmt): Likewise.
7352 (t_fmt_ampm): Likewise.
7353 * localedata/locales/so_DJ (t_fmt): Likewise.
7354 (t_fmt_ampm): Likewise.
7355 * localedata/locales/so_ET (t_fmt): Likewise.
7356 (t_fmt_ampm): Likewise.
7357 * localedata/locales/so_SO (t_fmt): Likewise.
7358 (t_fmt_ampm): Likewise.
7359 * localedata/locales/ti_ER (t_fmt): Likewise.
7360 (t_fmt_ampm): Likewise.
7361 * localedata/locales/ti_ET (t_fmt): Likewise.
7362 (t_fmt_ampm): Likewise.
7363 * localedata/locales/tig_ER (t_fmt): Likewise.
7364 (t_fmt_ampm): Likewise.
7365 * localedata/locales/wal_ET (t_fmt): Likewise.
7366 (t_fmt_ampm): Likewise.
7367
7368 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7369 * localedata/locales/ar_IN (t_fmt): Likewise.
7370 * localedata/locales/bhb_IN (t_fmt): Likewise.
7371 * localedata/locales/bho_IN (t_fmt): Likewise.
7372 * localedata/locales/bi_VU (t_fmt): Likewise.
7373 * localedata/locales/bn_BD (t_fmt): Likewise.
7374 * localedata/locales/bn_IN (t_fmt): Likewise.
7375 * localedata/locales/brx_IN (t_fmt): Likewise.
7376 * localedata/locales/doi_IN (t_fmt): Likewise.
7377 * localedata/locales/en_HK (t_fmt): Likewise.
7378 (t_fmt_ampm): Likewise.
7379 * localedata/locales/en_IN (t_fmt): Likewise.
7380 * localedata/locales/en_PH (t_fmt): Likewise.
7381 * localedata/locales/gu_IN (t_fmt): Likewise.
7382 * localedata/locales/hi_IN (t_fmt): Likewise.
7383 * localedata/locales/hif_FJ (t_fmt): Likewise.
7384 * localedata/locales/hne_IN (t_fmt): Likewise.
7385 * localedata/locales/kn_IN (t_fmt): Likewise.
7386 * localedata/locales/kok_IN (t_fmt): Likewise.
7387 * localedata/locales/ks_IN (t_fmt): Likewise.
7388 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7389 * localedata/locales/mag_IN (t_fmt): Likewise.
7390 * localedata/locales/mai_IN (t_fmt): Likewise.
7391 * localedata/locales/mjw_IN (t_fmt): Likewise.
7392 * localedata/locales/ml_IN (t_fmt): Likewise.
7393 * localedata/locales/mni_IN (t_fmt): Likewise.
7394 * localedata/locales/mr_IN (t_fmt): Likewise.
7395 * localedata/locales/ms_MY (t_fmt): Likewise.
7396 * localedata/locales/pa_IN (t_fmt): Likewise.
7397 * localedata/locales/raj_IN (t_fmt): Likewise.
7398 * localedata/locales/sa_IN (t_fmt): Likewise.
7399 * localedata/locales/sat_IN (t_fmt): Likewise.
7400 * localedata/locales/sd_IN (t_fmt): Likewise.
7401 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7402 * localedata/locales/tcy_IN (t_fmt): Likewise.
7403 * localedata/locales/the_NP (t_fmt): Likewise.
7404 * localedata/locales/to_TO (t_fmt): Likewise.
7405 * localedata/locales/ur_IN (t_fmt): Likewise.
7406
7407 * localedata/locales/hif_FJ (d_t_fmt): Set to
7408 "%A %d %b %Y %I:%M:%S %p".
7409 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7410
7411 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7412 * localedata/locales/ar_BH (t_fmt): Likewise.
7413 * localedata/locales/ar_DZ (t_fmt): Likewise.
7414 * localedata/locales/ar_EG (t_fmt): Likewise.
7415 * localedata/locales/ar_IQ (t_fmt): Likewise.
7416 * localedata/locales/ar_JO (t_fmt): Likewise.
7417 * localedata/locales/ar_KW (t_fmt): Likewise.
7418 * localedata/locales/ar_LB (t_fmt): Likewise.
7419 * localedata/locales/ar_LY (t_fmt): Likewise.
7420 * localedata/locales/ar_OM (t_fmt): Likewise.
7421 * localedata/locales/ar_QA (t_fmt): Likewise.
7422 * localedata/locales/ar_SD (t_fmt): Likewise.
7423 * localedata/locales/ar_SS (t_fmt): Likewise.
7424 * localedata/locales/ar_SY (t_fmt): Likewise.
7425 * localedata/locales/ar_TN (t_fmt): Likewise.
7426 * localedata/locales/ar_YE (t_fmt): Likewise.
7427
7428 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7429 (t_fmt_ampm): Likewise.
7430 * localedata/locales/gez_ET (t_fmt): Likewise.
7431 (t_fmt_ampm): Likewise.
7432
7433 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7434 (t_fmt_ampm): Likewise.
7435 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7436
7437 * localedata/locales/zh_HK (t_fmt):
7438 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7439
7440 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7441 because this locale does not use the 12-hour clock.
7442 (t_fmt): Set to "%Z %H:%M:%S".
7443 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7444
7445 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7446 because this locale does not use the 12-hour clock.
7447 (t_fmt): Set to "%H:%M:%S %Z".
7448 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7449
7450 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7451 because this locale does not use the 12-hour clock.
7452 (t_fmt): Set to "%T".
7453 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7454 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7455
7456 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7457 because this locale does not use the 12-hour clock.
7458 (t_fmt): Set to "%H:%M:%S %Z".
7459 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7460
7461 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7462 because this locale does not use the 12-hour clock.
7463 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7464 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7465
7466 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7467
7468 [BZ #10496]
7469 [BZ #23724]
7470 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7471 (t_fmt_ampm): Likewise.
7472 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7473 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7474 (d_fmt): Set to "%-d.%-m.%y".
7475
7476 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7477
7478 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7479 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7480 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7481 Likewise.
7482 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7483 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7484 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7485 function.
7486 * support/blob_repeat.c (check_mul_overflow_size_t,
7487 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7488
7489 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7490
7491 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7492
7493 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7494
7495 regex: simplify Gnulib port
7496 This simplifies the code, by removing stuff intended for porting
7497 to Gnulib but no longer needed there.
7498 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7499 uses of libc_hidden_def, weak_alias.
7500 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7501 _Restrict_ except for public-facing headers.
7502 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7503 Remove; already defined elsewhere.
7504 * posix/regex.c, posix/regex_internal.h:
7505 Use __GNUC_PREREQ instead of rolling our own.
7506 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7507
7508 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7509
7510 * benchtests/bench-strlen.c (generic_strlen): New function.
7511 (memchr_strlen): New function.
7512
7513 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7514
7515 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7516 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7517 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7518
7519 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7520
7521 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7522
7523 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7524
7525 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7526 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7527 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7528 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7529 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7530 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7531 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7532
7533 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7534
7535 [BZ #24023]
7536 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7537 PLT reference in libc.so.
7538 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7539 _Q_lltoq and _Q_qtod PLT references in libc.so.
7540
7541 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7542
7543 * benchtests/bench-memchr.c: Cleanup defines.
7544 * benchtests/bench-memcmp.c: Likewise.
7545 * benchtests/bench-memset.c: Likewise.
7546 * benchtests/bench-memset-large.c: Likewise.
7547 * benchtests/bench-memset-walk.c: Likewise.
7548 * benchtests/bench-stpcpy.c: Likewise.
7549 * benchtests/bench-stpncpy.c: Likewise.
7550 * benchtests/bench-strcat.c: Likewise.
7551 * benchtests/bench-strchr.c: Likewise.
7552 * benchtests/bench-strcmp.c: Likewise.
7553 * benchtests/bench-strcpy.c: Likewise.
7554 * benchtests/bench-strcspn.c: Likewise.
7555 * benchtests/bench-string.h: Likewise.
7556 * benchtests/bench-strlen.c: Likewise.
7557 * benchtests/bench-strncat.c: Likewise.
7558 * benchtests/bench-strncmp.c: Likewise.
7559 * benchtests/bench-strncpy.c: Likewise.
7560 * benchtests/bench-strnlen.c: Likewise.
7561 * benchtests/bench-strpbrk.c: Likewise.
7562 * benchtests/bench-strrchr.c: Likewise.
7563 * benchtests/bench-strspn.c: Likewise.
7564
7565 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7566
7567 * stdlib/longlong.h: Update from GCC.
7568
7569 [BZ #23993]
7570 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7571 * configure: Regenerated.
7572 * manual/install.texi (Tools for Compilation): Update minimum GCC
7573 version.
7574 * INSTALL: Regenerated.
7575
7576 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7577
7578 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7579
7580 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7581
7582 * malloc/malloc.c (mremap_chunk): Additional checks.
7583
7584 2018-12-21 Mao Han <han_mao@c-sky.com>
7585
7586 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7587 * scripts/build-many-glibcs.py: Add C-SKY targets.
7588 * sysdeps/csky/Implies: New file.
7589 * sysdeps/csky/Makefile: Likewise.
7590 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7591 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7592 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7593 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7594 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7595 * sysdeps/csky/abiv2/memmove.S: Likewise.
7596 * sysdeps/csky/abiv2/memset.S: Likewise.
7597 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7598 * sysdeps/csky/abiv2/start.S: Likewise.
7599 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7600 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7601 * sysdeps/csky/abiv2/strlen.S: Likewise.
7602 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7603 * sysdeps/csky/abort-instr.h: Likewise.
7604 * sysdeps/csky/atomic-machine.h: Likewise.
7605 * sysdeps/csky/bits/endian.h: Likewise.
7606 * sysdeps/csky/bits/fenv.h: Likewise.
7607 * sysdeps/csky/bits/link.h: Likewise.
7608 * sysdeps/csky/bits/setjmp.h: Likewise.
7609 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7610 * sysdeps/csky/bsd-setjmp.S: Likewise.
7611 * sysdeps/csky/configure: Likewise.
7612 * sysdeps/csky/configure.ac: Likewise.
7613 * sysdeps/csky/dl-machine.h: Likewise.
7614 * sysdeps/csky/dl-procinfo.c: Likewise.
7615 * sysdeps/csky/dl-procinfo.h: Likewise.
7616 * sysdeps/csky/dl-sysdep.h: Likewise.
7617 * sysdeps/csky/dl-tls.h: Likewise.
7618 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7619 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7620 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7621 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7622 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7623 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7624 * sysdeps/csky/fpu/fegetround.c: Likewise.
7625 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7626 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7627 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7628 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7629 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7630 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7631 * sysdeps/csky/fpu/fesetround.c: Likewise.
7632 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7633 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7634 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7635 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7636 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7637 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7638 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7639 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7640 * sysdeps/csky/fpu_control.h: Likewise.
7641 * sysdeps/csky/gccframe.h: Likewise.
7642 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7643 * sysdeps/csky/ldsodefs.h: Likewise.
7644 * sysdeps/csky/libc-tls.c: Likewise.
7645 * sysdeps/csky/linkmap.h: Likewise.
7646 * sysdeps/csky/machine-gmon.h: Likewise.
7647 * sysdeps/csky/memusage.h: Likewise.
7648 * sysdeps/csky/nofpu/Implies: Likewise.
7649 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7650 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7651 * sysdeps/csky/nptl/Makefile: Likewise.
7652 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7653 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7654 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7655 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7656 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7657 * sysdeps/csky/nptl/tls.h: Likewise.
7658 * sysdeps/csky/preconfigure: Likewise.
7659 * sysdeps/csky/sfp-machine.h: Likewise.
7660 * sysdeps/csky/sotruss-lib.c: Likewise.
7661 * sysdeps/csky/stackinfo.h: Likewise.
7662 * sysdeps/csky/sysdep.h: Likewise.
7663 * sysdeps/csky/tininess.h: Likewise.
7664 * sysdeps/csky/tst-audit.h: Likewise.
7665 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7666 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7667 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7668 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7669 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7670 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7671 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7672 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7673 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7674 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7675 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7676 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7677 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7678 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7679 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7680 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7681 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7682 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7683 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7684 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7685 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7686 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7687 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7688 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7689 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7690 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7691 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7692 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7693 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7694 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7695 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7696 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7697 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7698 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7699 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7700 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7701 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7702 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7703 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7704 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7705 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7706 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7707 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7708 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7709
7710 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7711
7712 * include/time.h (__difftime64): Add.
7713 * time/difftime.c (subtract): convert to 64-bit time.
7714 * time/difftime.c (__difftime64): Add.
7715 * time/difftime.c (__difftime): Wrap around __difftime64.
7716
7717 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 * manual/examples/add.c: Remove redundant "if not".
7720 * manual/examples/argp-ex1.c: Likewise.
7721 * manual/examples/argp-ex2.c: Likewise.
7722 * manual/examples/argp-ex3.c: Likewise.
7723 * manual/examples/argp-ex4.c: Likewise.
7724 * manual/examples/atexit.c: Likewise.
7725 * manual/examples/db.c: Likewise.
7726 * manual/examples/dir.c: Likewise.
7727 * manual/examples/dir2.c: Likewise.
7728 * manual/examples/execinfo.c: Likewise.
7729 * manual/examples/filecli.c: Likewise.
7730 * manual/examples/filesrv.c: Likewise.
7731 * manual/examples/fmtmsgexpl.c: Likewise.
7732 * manual/examples/genpass.c: Likewise.
7733 * manual/examples/inetcli.c: Likewise.
7734 * manual/examples/inetsrv.c: Likewise.
7735 * manual/examples/isockad.c: Likewise.
7736 * manual/examples/longopt.c: Likewise.
7737 * manual/examples/memopen.c: Likewise.
7738 * manual/examples/memstrm.c: Likewise.
7739 * manual/examples/mkdirent.c: Likewise.
7740 * manual/examples/mkfsock.c: Likewise.
7741 * manual/examples/mkisock.c: Likewise.
7742 * manual/examples/mygetpass.c: Likewise.
7743 * manual/examples/pipe.c: Likewise.
7744 * manual/examples/popen.c: Likewise.
7745 * manual/examples/rprintf.c: Likewise.
7746 * manual/examples/search.c: Likewise.
7747 * manual/examples/select.c: Likewise.
7748 * manual/examples/setjmp.c: Likewise.
7749 * manual/examples/sigh1.c: Likewise.
7750 * manual/examples/sigusr.c: Likewise.
7751 * manual/examples/stpcpy.c: Likewise.
7752 * manual/examples/strdupa.c: Likewise.
7753 * manual/examples/strftim.c: Likewise.
7754 * manual/examples/subopt.c: Likewise.
7755 * manual/examples/swapcontext.c: Likewise.
7756 * manual/examples/termios.c: Likewise.
7757 * manual/examples/testopt.c: Likewise.
7758 * manual/examples/testpass.c: Likewise.
7759 * manual/examples/timeval_subtract.c: Likewise.
7760
7761 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7762
7763 * sysdeps/x86/fpu/math_private.h: New file.
7764 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7765
7766 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7767 definition.
7768 (cosh): Likewise.
7769 (tanh): Likewise.
7770
7771 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7772
7773 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7774 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7775 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7776 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7777 fields.
7778 (_dl_show_auxv): Give a special treatment to
7779 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7780 and AT_L3_CACHEGEOMETRY.
7781 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7782 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7783 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7784 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7785
7786 2018-12-19 Andreas Schwab <schwab@suse.de>
7787
7788 * nscd/connections.c (check_use): Don't abort on invalid len.
7789
7790 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7791
7792 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7793 values in the 64bit value cases.
7794
7795 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7796
7797 * include/time.h
7798 (__ctime64_r): Add.
7799 * time/ctime_r.c
7800 (__ctime64_r): Add.
7801 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7802
7803 * include/time.h
7804 (__ctime64): Add.
7805 * time/gmtime.c
7806 (__ctime64): Add.
7807 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7808
7809 * include/time.h
7810 (__gmtime64_r): Add.
7811 * time/gmtime.c
7812 (__gmtime64_r): Add.
7813 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7814
7815 * include/time.h
7816 (__gmtime64): Add.
7817 * time/gmtime.c
7818 (__gmtime64): Add.
7819 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7820
7821 * include/time.h
7822 (__localtime64_r): Add.
7823 * time/localtime.c
7824 (__localtime64_r): Add.
7825 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7826
7827 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7828
7829 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7830 kernel_sigction definition.
7831
7832 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7833
7834 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7835
7836 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7837 __syscall_rt_sigaction.
7838 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7839 (kernel_sigaction): Use Linux generic defintion.
7840 (STUB): Define.
7841 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7842 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7843 (__syscall_rt_sigaction): Remove implementation.
7844 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7845 hidden.
7846 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7847 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7848 INTERNAL_SYSCALL): Remove definitions.
7849 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7850 action and signal set size.
7851 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7852 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7853
7854 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7855 James Clarke <jrtc27@jrtc27.com>
7856
7857 [BZ #23967]
7858 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7859 Define if SA_RESTORER is defined.
7860 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7861 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7862 already defined.
7863 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7864 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7865 definitions.
7866 (HAS_SA_RESTORER): Define.
7867 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7868 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7869 (HAS_SA_RESTORER): Define.
7870 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7871 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7872 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7873 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7874 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7875
7876 2018-12-18 Joseph Myers <joseph@codesourcery.com>
7877
7878 * sysdeps/unix/sysv/linux/kernel-features.h
7879 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7880 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7881 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7882 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7883 (__ASSUME_ST_INO_64_BIT): Likewise.
7884 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7885 <kernel-features.h>.
7886 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7887 Remove conditional code.
7888 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7889 <kernel-features.h>.
7890 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7891 Remove conditional code.
7892 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7893 <kernel-features.h>.
7894 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7895 Remove conditional code.
7896 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7897 <kernel-features.h>.
7898 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7899 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7900
7901 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7902
7903 * sysdeps/s390/multiarch/ifunc-resolve.h
7904 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7905 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7906 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7907 Delete macro definition.
7908 (s390_libc_ifunc_init): Rename to
7909 s390_libc_ifunc_expr_stfle_init.
7910 * sysdeps/s390/bzero: Use
7911 s390_libc_ifunc_expr_stfle_init instead of
7912 s390_libc_ifunc_init.
7913 * sysdeps/s390/memcmp.c: Likewise.
7914 * sysdeps/s390/memcpy.c: Likewise.
7915 * sysdeps/s390/mempcpy.c: Likewise.
7916 * sysdeps/s390/memset.c: Likewise.
7917
7918 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7919
7920 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7921 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7922
7923 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7924
7925 * sysdeps/s390/multiarch/Makefile
7926 (sysdep_routines): Remove wmemcmp variants.
7927 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7928 * sysdeps/s390/multiarch/ifunc-impl-list.c
7929 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7930 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7931 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7932 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7933 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7934 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7935 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
7936 * sysdeps/s390/ifunc-wmemcmp.h: New file.
7937
7938 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7939
7940 * sysdeps/s390/multiarch/Makefile
7941 (sysdep_routines): Remove wmemset variants.
7942 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
7943 * sysdeps/s390/multiarch/ifunc-impl-list.c
7944 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
7945 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
7946 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7947 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7948 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7949 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7950 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7951 * sysdeps/s390/ifunc-wmemset.h: New file.
7952
7953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7954
7955 * sysdeps/s390/multiarch/Makefile
7956 (sysdep_routines): Remove wmemchr variants.
7957 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7958 * sysdeps/s390/multiarch/ifunc-impl-list.c
7959 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7960 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7961 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7962 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7963 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7964 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7965 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7966 * sysdeps/s390/ifunc-wmemchr.h: New file.
7967
7968 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7969
7970 * sysdeps/s390/multiarch/Makefile
7971 (sysdep_routines): Remove wcscspn variants.
7972 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7973 * sysdeps/s390/multiarch/ifunc-impl-list.c
7974 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7975 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7976 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7977 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7978 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7979 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7980 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7981 * sysdeps/s390/ifunc-wcscspn.h: New file.
7982
7983 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7984
7985 * sysdeps/s390/multiarch/Makefile
7986 (sysdep_routines): Remove wcspbrk variants.
7987 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7988 * sysdeps/s390/multiarch/ifunc-impl-list.c
7989 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7990 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7991 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7992 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7993 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7994 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7995 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7996 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7997
7998 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7999
8000 * sysdeps/s390/multiarch/Makefile
8001 (sysdep_routines): Remove wcsspn variants.
8002 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8003 * sysdeps/s390/multiarch/ifunc-impl-list.c
8004 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8005 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8006 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8007 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8008 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8009 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8010 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8011 * sysdeps/s390/ifunc-wcsspn.h: New file.
8012
8013 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8014
8015 * sysdeps/s390/multiarch/Makefile
8016 (sysdep_routines): Remove wcsrchr variants.
8017 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8018 * sysdeps/s390/multiarch/ifunc-impl-list.c
8019 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8020 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8021 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8022 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8023 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8024 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8025 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8026 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8027
8028 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8029
8030 * sysdeps/s390/multiarch/Makefile
8031 (sysdep_routines): Remove wcschrnul variants.
8032 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8033 * sysdeps/s390/multiarch/ifunc-impl-list.c
8034 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8035 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8036 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8037 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8038 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8039 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8040 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8041 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8042
8043 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8044
8045 * sysdeps/s390/multiarch/Makefile
8046 (sysdep_routines): Remove wcschr variants.
8047 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8048 * sysdeps/s390/multiarch/ifunc-impl-list.c
8049 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8050 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8051 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8052 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8053 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8054 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8055 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8056 * sysdeps/s390/ifunc-wcschr.h: New file.
8057
8058 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8059
8060 * sysdeps/s390/multiarch/Makefile
8061 (sysdep_routines): Remove wcsncmp variants.
8062 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8063 * sysdeps/s390/multiarch/ifunc-impl-list.c
8064 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8065 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8066 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8067 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8068 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8069 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8070 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8071 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8072
8073 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8074
8075 * sysdeps/s390/multiarch/Makefile
8076 (sysdep_routines): Remove wcscmp variants.
8077 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8078 * sysdeps/s390/multiarch/ifunc-impl-list.c
8079 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8080 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8081 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8082 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8083 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8084 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8085 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8086 * sysdeps/s390/ifunc-wcscmp.h: New file.
8087
8088 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8089
8090 * sysdeps/s390/multiarch/Makefile
8091 (sysdep_routines): Remove wcsncat variants.
8092 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8093 * sysdeps/s390/multiarch/ifunc-impl-list.c
8094 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8095 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8096 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8097 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8098 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8099 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8100 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8101 * sysdeps/s390/ifunc-wcsncat.h: New file.
8102
8103 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8104
8105 * sysdeps/s390/multiarch/Makefile
8106 (sysdep_routines): Remove wcscat variants.
8107 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8108 * sysdeps/s390/multiarch/ifunc-impl-list.c
8109 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8110 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8111 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8112 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8113 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8114 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8115 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8116 * sysdeps/s390/ifunc-wcscat.h: New file.
8117
8118 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8119
8120 * sysdeps/s390/multiarch/Makefile
8121 (sysdep_routines): Remove wcpncpy variants.
8122 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8123 * sysdeps/s390/multiarch/ifunc-impl-list.c
8124 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8125 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8126 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8127 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8128 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8129 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8130 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8131 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8132
8133 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8134
8135 * sysdeps/s390/multiarch/Makefile
8136 (sysdep_routines): Remove wcsncpy variants.
8137 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8138 * sysdeps/s390/multiarch/ifunc-impl-list.c
8139 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8140 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8141 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8142 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8143 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8144 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8145 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8146 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8147
8148 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8149
8150 * sysdeps/s390/multiarch/Makefile
8151 (sysdep_routines): Remove wcpcpy variants.
8152 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8153 * sysdeps/s390/multiarch/ifunc-impl-list.c
8154 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8155 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8156 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8157 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8158 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8159 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8160 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8161 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8162
8163 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8164
8165 * sysdeps/s390/multiarch/Makefile
8166 (sysdep_routines): Remove wcscpy variants.
8167 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8168 * sysdeps/s390/multiarch/ifunc-impl-list.c
8169 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8170 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8171 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8172 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8173 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8174 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8175 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8176 * sysdeps/s390/ifunc-wcscpy.h: New file.
8177
8178 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8179
8180 * sysdeps/s390/multiarch/Makefile
8181 (sysdep_routines): Remove wcsnlen variants.
8182 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8183 * sysdeps/s390/multiarch/ifunc-impl-list.c
8184 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8185 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8186 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8187 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8188 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8189 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8190 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8191 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8192
8193 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8194
8195 * sysdeps/s390/multiarch/Makefile
8196 (sysdep_routines): Remove wcslen variants.
8197 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8198 * sysdeps/s390/multiarch/ifunc-impl-list.c
8199 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8200 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8201 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8202 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8203 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8204 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8205 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8206 * sysdeps/s390/ifunc-wcslen.h: New file.
8207
8208 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8209
8210 * sysdeps/s390/multiarch/Makefile
8211 (sysdep_routines): Remove memrchr variants.
8212 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8213 * sysdeps/s390/multiarch/ifunc-impl-list.c
8214 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8215 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8216 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8217 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8218 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8219 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8220 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8221 * sysdeps/s390/ifunc-memrchr.h: New file.
8222
8223 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8224
8225 * sysdeps/s390/multiarch/Makefile
8226 (sysdep_routines): Remove memccpy variants.
8227 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8228 * sysdeps/s390/multiarch/ifunc-impl-list.c
8229 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8230 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8231 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8232 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8233 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8234 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8235 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8236 * sysdeps/s390/ifunc-memccpy.h: New file.
8237
8238 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8239
8240 * sysdeps/s390/multiarch/Makefile
8241 (sysdep_routines): Remove rawmemchr variants.
8242 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8243 * sysdeps/s390/multiarch/ifunc-impl-list.c
8244 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8245 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8246 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8247 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8248 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8249 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8250 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8251 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8252
8253 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8254
8255 * sysdeps/s390/multiarch/Makefile
8256 (sysdep_routines): Remove memchr variants.
8257 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8258 * sysdeps/s390/multiarch/ifunc-impl-list.c
8259 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8260 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8261 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8262 * sysdeps/s390/multiarch/memchr.c: Move to ...
8263 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8264 * sysdeps/s390/ifunc-memchr.h: New file.
8265 * sysdeps/s390/s390-64/memchr.S: Move to ...
8266 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8267 for 31/64bit and ifunc handling.
8268 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8269 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8270 * sysdeps/s390/s390-32/memchr.S: Likewise.
8271
8272 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8273
8274 * sysdeps/s390/multiarch/Makefile
8275 (sysdep_routines): Remove strcspn variants.
8276 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8277 * sysdeps/s390/multiarch/ifunc-impl-list.c
8278 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8279 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8280 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8281 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8282 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8283 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8284 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8285 * sysdeps/s390/ifunc-strcspn.h: New file.
8286
8287 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8288
8289 * sysdeps/s390/multiarch/Makefile
8290 (sysdep_routines): Remove strpbrk variants.
8291 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8292 * sysdeps/s390/multiarch/ifunc-impl-list.c
8293 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8294 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8295 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8296 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8297 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8298 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8299 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8300 * sysdeps/s390/ifunc-strpbrk.h: New file.
8301
8302 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8303
8304 * sysdeps/s390/multiarch/Makefile
8305 (sysdep_routines): Remove strspn variants.
8306 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8307 * sysdeps/s390/multiarch/ifunc-impl-list.c
8308 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8309 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8310 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8311 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8312 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8313 * sysdeps/s390/multiarch/strspn.c: Move to ...
8314 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8315 * sysdeps/s390/ifunc-strspn.h: New file.
8316
8317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8318
8319 * sysdeps/s390/multiarch/Makefile
8320 (sysdep_routines): Remove strrchr variants.
8321 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8322 * sysdeps/s390/multiarch/ifunc-impl-list.c
8323 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8324 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8325 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8326 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8327 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8328 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8329 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8330 * sysdeps/s390/ifunc-strrchr.h: New file.
8331
8332 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8333
8334 * sysdeps/s390/multiarch/Makefile
8335 (sysdep_routines): Remove strchrnul variants.
8336 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8337 * sysdeps/s390/multiarch/ifunc-impl-list.c
8338 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8339 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8340 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8341 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8342 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8343 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8344 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8345 * sysdeps/s390/ifunc-strchrnul.h: New file.
8346
8347 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8348
8349 * sysdeps/s390/multiarch/Makefile
8350 (sysdep_routines): Remove strchr variants.
8351 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8352 * sysdeps/s390/multiarch/ifunc-impl-list.c
8353 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8354 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8355 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8356 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8357 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8358 * sysdeps/s390/multiarch/strchr.c: Move to ...
8359 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8360 * sysdeps/s390/ifunc-strchr.h: New file.
8361
8362 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8363
8364 * sysdeps/s390/multiarch/Makefile
8365 (sysdep_routines): Remove strncmp variants.
8366 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8367 * sysdeps/s390/multiarch/ifunc-impl-list.c
8368 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8369 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8370 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8371 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8372 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8373 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8374 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8375 * sysdeps/s390/ifunc-strncmp.h: New file.
8376
8377 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8378
8379 * sysdeps/s390/multiarch/Makefile
8380 (sysdep_routines): Remove strcmp variants.
8381 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8382 * sysdeps/s390/multiarch/ifunc-impl-list.c
8383 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8384 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8385 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8386 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8387 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8388 * sysdeps/s390/ifunc-strcmp.h: New file.
8389 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8390 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8391 for 31/64bit and ifunc handling.
8392 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8393 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8394 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8395
8396 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8397
8398 * sysdeps/s390/multiarch/Makefile
8399 (sysdep_routines): Remove strncat variants.
8400 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8401 * sysdeps/s390/multiarch/ifunc-impl-list.c
8402 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8403 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8404 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8405 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8406 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8407 * sysdeps/s390/multiarch/strncat.c: Move to ...
8408 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8409 * sysdeps/s390/ifunc-strncat.h: New file.
8410
8411 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8412
8413 * sysdeps/s390/multiarch/Makefile
8414 (sysdep_routines): Remove strcat variants.
8415 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8416 * sysdeps/s390/multiarch/ifunc-impl-list.c
8417 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8418 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8419 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8420 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8421 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8422 * sysdeps/s390/multiarch/strcat.c: Move to ...
8423 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8424 * sysdeps/s390/ifunc-strcat.h: New file.
8425
8426 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8427
8428 * sysdeps/s390/multiarch/Makefile
8429 (sysdep_routines): Remove stpncpy variants.
8430 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8431 * sysdeps/s390/multiarch/ifunc-impl-list.c
8432 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8433 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8434 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8435 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8436 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8437 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8438 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8439 * sysdeps/s390/ifunc-stpncpy.h: New file.
8440
8441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8442
8443 * sysdeps/s390/multiarch/Makefile
8444 (sysdep_routines): Remove strncpy variants.
8445 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8446 * sysdeps/s390/multiarch/ifunc-impl-list.c
8447 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8448 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8449 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8450 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8451 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8452 * sysdeps/s390/ifunc-strncpy.h: New file.
8453 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8454 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8455 and adjust ifunc handling.
8456 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8457 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8458 and adjust ifunc handling.
8459 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8460 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8461
8462 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8463
8464 * sysdeps/s390/multiarch/Makefile
8465 (sysdep_routines): Remove stpcpy variants.
8466 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8467 * sysdeps/s390/multiarch/ifunc-impl-list.c
8468 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8469 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8470 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8471 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8472 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8473 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8474 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8475 * sysdeps/s390/ifunc-stpcpy.h: New file.
8476
8477 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8478
8479 * sysdeps/s390/multiarch/Makefile
8480 (sysdep_routines): Remove strcpy variants.
8481 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8482 * sysdeps/s390/multiarch/ifunc-impl-list.c
8483 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8484 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8485 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8486 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8487 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8488 * sysdeps/s390/ifunc-strcpy.h: New file.
8489 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8490 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8491 for 31/64bit and ifunc handling.
8492 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8493 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8494 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8495
8496 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8497
8498 * sysdeps/s390/multiarch/Makefile
8499 (sysdep_routines): Remove strnlen variants.
8500 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8501 * sysdeps/s390/multiarch/ifunc-impl-list.c
8502 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8503 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8504 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8505 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8506 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8507 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8508 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8509 * sysdeps/s390/ifunc-strnlen.h: New file.
8510
8511 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8512
8513 * sysdeps/s390/multiarch/Makefile
8514 (sysdep_routines): Remove strlen variants.
8515 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8516 * sysdeps/s390/multiarch/ifunc-impl-list.c
8517 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8518 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8519 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8520 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8521 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8522 * sysdeps/s390/multiarch/strlen.c: Move to ...
8523 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8524 * sysdeps/s390/ifunc-strlen.h: New file.
8525
8526 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8527
8528 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8529 * sysdeps/s390/multiarch/ifunc-impl-list.c
8530 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8531 * sysdeps/s390/ifunc-memmem.h: New file.
8532 * sysdeps/s390/memmem.c: Likewise.
8533 * sysdeps/s390/memmem-c.c: Likewise.
8534 * sysdeps/s390/memmem-vx.c: Likewise.
8535
8536 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8537
8538 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8539 * sysdeps/s390/multiarch/ifunc-impl-list.c
8540 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8541 * sysdeps/s390/ifunc-strstr.h: New file.
8542 * sysdeps/s390/strstr.c: Likewise.
8543 * sysdeps/s390/strstr-c.c: Likewise.
8544 * sysdeps/s390/strstr-vx.c: Likewise.
8545
8546 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8547
8548 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8549 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8550 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8551 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8552 New defines.
8553 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8554 * sysdeps/s390/memmove-c.c: New file.
8555 * sysdeps/s390/memmove.c: Likewise.
8556 * sysdeps/s390/multiarch/ifunc-impl-list.c
8557 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8558
8559 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8560
8561 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8562 * sysdeps/s390/configure.ac: Add check for z13 support.
8563 * sysdeps/s390/configure: Regenerated.
8564
8565 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8566
8567 * sysdeps/s390/memcopy.h: New file.
8568
8569 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8570
8571 * sysdeps/s390/s390-32/bcopy.S: Remove.
8572 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8573
8574 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8575
8576 * sysdeps/s390/ifunc-memcpy.h: New File.
8577 * sysdeps/s390/memcpy.S: Move to ...
8578 * sysdeps/s390/memcpy-z900.S ... here.
8579 Move implementations from memcpy-s390x.s to here.
8580 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8581 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8582 Remove memcpy/mempcpy variants.
8583 * sysdeps/s390/Makefile (sysdep_routines):
8584 Add memcpy/mempcpy variants.
8585 * sysdeps/s390/multiarch/ifunc-impl-list.c
8586 (__libc_ifunc_impl_list): Adjust ifunc variants for
8587 memcpy and mempcpy.
8588 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8589 to ...
8590 * sysdeps/s390/memcpy.c: ... here.
8591 Adjust ifunc variants for memcpy.
8592 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8593 * sysdeps/s390/mempcpy.c: ... here.
8594 Adjust ifunc variants for mempcpy.
8595 * sysdeps/s390/mempcpy.S: Delete file.
8596
8597 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8598
8599 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8600 * sysdeps/s390/memcpy.S: ... here.
8601 Adjust to be usable for 31/64bit.
8602 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8603 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8604 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8605 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8606 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8607 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8608 Adjust to be usable for 31/64bit.
8609 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8610 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8611 * sysdeps/s390/multiarch/memcpy.c: ... here.
8612 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8613
8614 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8615
8616 * sysdeps/s390/ifunc-memcmp.h: New File.
8617 * sysdeps/s390/memcmp.S: Move to ...
8618 * sysdeps/s390/memcmp-z900.S ... here.
8619 Move implementations from memcmp-s390x.s to here.
8620 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8621 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8622 Remove memcmp variants.
8623 * sysdeps/s390/Makefile (sysdep_routines):
8624 Add memcmp variants.
8625 * sysdeps/s390/multiarch/ifunc-impl-list.c
8626 (__libc_ifunc_impl_list): Adjust ifunc variants for
8627 memcmp.
8628 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8629 to ...
8630 * sysdeps/s390/memcmp.c: ... here.
8631 Adjust ifunc variants for memcmp.
8632
8633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8634
8635 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8636 * sysdeps/s390/memcmp.S: ... here.
8637 Adjust to be usable for 31/64bit.
8638 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8639 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8640 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8641 Remove memcmp.
8642 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8643 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8644 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8645 Adjust to be usable for 31/64bit.
8646 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8647 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8648 * sysdeps/s390/multiarch/memcmp.c: ... here.
8649 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8650
8651 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8652
8653 * sysdeps/s390/s390-32/bzero.S: Delete file.
8654 * sysdeps/s390/s390-64/bzero.S: Likewise.
8655 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8656 * sysdeps/s390/bzero.c: New file.
8657 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8658 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8659 * sysdeps/s390/multiarch/ifunc-impl-list.c
8660 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8661
8662 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8663
8664 * sysdeps/s390/ifunc-memset.h: New File.
8665 * sysdeps/s390/memset.S: Move to ...
8666 * sysdeps/s390/memset-z900.S ... here.
8667 Move implementations from memset-s390x.s to here.
8668 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8669 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8670 Remove memset variants.
8671 * sysdeps/s390/Makefile (sysdep_routines):
8672 Add memset variants.
8673 * sysdeps/s390/multiarch/ifunc-impl-list.c
8674 (__libc_ifunc_impl_list): Adjust ifunc variants for
8675 memset.
8676 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8677 to ...
8678 * sysdeps/s390/memset.c: ... here.
8679 Adjust ifunc variants for memset.
8680
8681 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8682
8683 * sysdeps/s390/s390-64/memset.S: Move to ...
8684 * sysdeps/s390/memset.S: ... here.
8685 Adjust to be usable for 31/64bit.
8686 * sysdeps/s390/s390-32/memset.S: Delete File.
8687 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8688 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8689 Remove memset.
8690 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8691 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8692 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8693 Adjust to be usable for 31/64bit.
8694 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8695 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8696 * sysdeps/s390/multiarch/memset.c: ... here.
8697 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8698
8699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8700
8701 * sysdeps/s390/multiarch/ifunc-resolve.h
8702 (s390_libc_ifunc_init, s390_libc_ifunc,
8703 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8704
8705 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8706
8707 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8708 * sysdeps/s390/configure.ac: Add check for z10 support.
8709 * sysdeps/s390/configure: Regenerated.
8710
8711 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8712
8713 * sysdeps/i386/atomic-machine.h: Merged with ...
8714 * sysdeps/x86_64/atomic-machine.h: To ...
8715 * sysdeps/x86/atomic-machine.h: This. New file.
8716
8717 2018-12-18 Florian Weimer <fweimer@redhat.com>
8718
8719 Rewrite locale/gen-translit.pl in Python.
8720 * locale/Makefile (generated): Add C-translit.h.
8721 (before-compile): Add $(objpfx)C-translit.h.
8722 (C-translit.h): Move to $(objpfx). Create target directory.
8723 Build using Python script.
8724 * locale/gen-translit.py: New file.
8725 * locale/gen-translit.pl: Remove file.
8726 * locale/C-translit.h.in: Change comment character to '#' for
8727 easier parsing without a C preprocessor.
8728 * locale/C-translit.h: Remove generated file.
8729 * manual/install.texi (Tools for Compilation): Do not mention
8730 C-translit.h.
8731 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8732 Remove locale/C-translit.h.
8733 * scripts/update-copyrights: Likewise.
8734 * INSTALL: Regenerate.
8735
8736 2018-12-18 Florian Weimer <fweimer@redhat.com>
8737
8738 [BZ #23995]
8739 * localedata/locales/bi_VU: Remove executable bit from file.
8740
8741 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8742
8743 * include/time.h
8744 (__localtime64): Add.
8745 * manual/maint.texi: Document Y2038 symbol handling.
8746 * time/localtime.c
8747 (__localtime64): Add.
8748 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8749
8750 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8751
8752 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8753 Do not clobber r12.
8754
8755 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8756 to allow extra macros from first or second sources.
8757 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8758 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8759 (tests-special): Add $(objpfx)tst-mman-consts.out.
8760 ($(objpfx)tst-mman-consts.out): New makefile target.
8761
8762 2018-12-17 Mao Han <han_mao@c-sky.com>
8763
8764 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8765 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8766 without stat64 system call support.
8767 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8768 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8769 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8770 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8771 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8772 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8773 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8774 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8775 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8776 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8777 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8778
8779 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8780
8781 regex: fix storage-exhaustion error
8782 [BZ #18040]
8783 * posix/regexec.c (get_subexp):
8784 Do not continue if storage is exhausted.
8785
8786 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8787
8788 regex: fix heap-use-after-free error
8789 [BZ #18040]
8790 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8791 https://debbugs.gnu.org/32592
8792 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8793 call extend_buffers which reallocates the re_string_t internal buffer.
8794 Local variable 'buf' was not updated in such case, resulting in
8795 use-after-free.
8796 * posix/regexec.c (get_subexp): Update 'buf' after call to
8797 get_subexp_sub.
8798
8799 2018-12-15 Florian Weimer <fweimer@redhat.com>
8800
8801 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8802 (minimum_stride_size): Use it.
8803 (support_blob_repeat_allocate): Likewise.
8804
8805 2018-12-14 Joseph Myers <joseph@codesourcery.com>
8806
8807 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8808 definition.
8809 (acosh): Likewise.
8810 (atanh): Likewise.
8811
8812 2018-12-14 Florian Weimer <fweimer@redhat.com>
8813
8814 * manual/process.texi (Process Creation Concepts): Remove
8815 documentation of process (ID) lifetime. List more process
8816 creation functions. Reference Process Identification section.
8817 (Process Identification): Add information about process ID
8818 lifetime. Describe Linux thread/task IDs.
8819 * manual/signal.texi (Signaling Another Process): Mention that the
8820 signal is always sent to the process.
8821
8822 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8823
8824 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8825 and tst-ldbl-efgcvt.
8826 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8827 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8828 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8829 (fcvt_tests, output_error, output_r_error, do_test): Use the
8830 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8831 select the type of floating-point variables and arguments; to
8832 produce extra tests for double and conversion specifiers for
8833 printf; and to set the names of called functions.
8834 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8835 in tst-efgcvt-template.c.
8836 * misc/tst-ldbl-efgcvt.c: Likewise.
8837
8838 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
8839
8840 * nss/Makefile (tst-nss-test3.out): New rule.
8841
8842 2018-12-13 Joseph Myers <joseph@codesourcery.com>
8843
8844 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8845 clobber sp.
8846
8847 2018-12-13 fanjinke <fanjinke@hygon.cn>
8848
8849 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8850 "HygonGenuine".
8851
8852 2018-12-13 Andreas Schwab <schwab@suse.de>
8853
8854 [BZ #23861]
8855 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
8856 (__pthread_rwlock_rdlock_full): Update expected value for
8857 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8858 * nptl/tst-rwlock-pwn.c: New file.
8859 * nptl/Makefile (tests): Add tst-rwlock-pwn.
8860
8861 2018-12-12 Joseph Myers <joseph@codesourcery.com>
8862
8863 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8864 definition.
8865
8866 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8867
8868 * benchtests/scripts/compare_bench.py (do_compare): write to
8869 stderr in casestat is not present.
8870 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8871 stderr in case timings field is not present. Also string showing
8872 the output filename goes into the stderr.
8873
8874 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8875
8876 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8877 and ZeroDivisorError exceptions.
8878 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8879 argument to loop through user provided statistics.
8880 * benchtests/scripts/compare_bench.py (main): Include the --stats
8881 argument.
8882
8883 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8884
8885 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8886 instead of return.
8887
8888 2018-12-12 Florian Weimer <fweimer@redhat.com>
8889
8890 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8891 clause to copyright header.
8892
8893 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8894
8895 [BZ #23614]
8896 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8897 registers saved in the stack frame.
8898 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8899 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8900
8901 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8902
8903 * include/bits/monetary-ldbl.h: New file.
8904 * include/bits/printf-ldbl.h: Likewise.
8905 * include/bits/stdio-ldbl.h: Likewise.
8906 * include/bits/stdlib-ldbl.h: Likewise.
8907 * include/bits/syslog-ldbl.h: Likewise.
8908 * include/bits/wchar-ldbl.h: Likewise.
8909
8910 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8911
8912 * libio/libio.h: Remove redirection for _IO_vfprintf.
8913
8914 2018-12-11 Andreas Schwab <schwab@suse.de>
8915
8916 * Makerules: Remove all references to abilist-pattern.
8917 (update-all-abi): Simplify find expression.
8918
8919 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8920
8921 [BZ #23961]
8922 * math/auto-libm-test-in: Add new test case.
8923 * math/auto-libm-test-out-pow: Regenerated.
8924 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8925
8926 2018-12-10 DJ Delorie <dj@redhat.com>
8927
8928 [BZ #23948]
8929 * support/test-container.c: Move postclean step to before we
8930 change namespaces.
8931
8932 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8933
8934 * scripts/gen-as-const.py (main): Handle --python option.
8935 * scripts/gen-py-const.awk: Remove.
8936 * Makerules (py-const-script): Use gen-as-const.py.
8937 ($(py-const)): Likewise.
8938 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8939 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
8940 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
8941 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
8942 ~PTHREAD_MUTEX_NO_ELISION_NP.
8943 * manual/README.pretty-printers: Update reference to
8944 gen-py-const.awk.
8945
8946 * scripts/glibcextract.py: New file.
8947 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8948 or tempfile. Import glibcexctract.
8949 (compute_c_consts): Remove. Moved to glibcextract.py.
8950 (gen_test): Update reference to compute_c_consts.
8951 (main): Likewise.
8952 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8953 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8954 * sysdeps/unix/sysv/linux/Makefile
8955 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8956 Redirect stderr as well as stdout.
8957
8958 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8959
8960 [BZ #19767]
8961 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
8962 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8963 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
8964 ALWAYS_USE_VSYSCALL.
8965 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
8966 ALWAYS_USE_VSYSCALL.
8967 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8968 ALWAYS_USE_VSYSCALL.
8969
8970 2018-12-10 Florian Weimer <fweimer@redhat.com>
8971
8972 [BZ #23972]
8973 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8974 offset instead of count for clarity. Fix typo in comment.
8975 (__old_getdents64): Keep track of previous offset. Use it to call
8976 handle_overflow.
8977 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8978 that d_off is never zero.
8979
8980 2018-12-10 Andreas Schwab <schwab@suse.de>
8981
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8983 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8985 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8986 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8987
8988 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8989
8990 * timezone/private.h: Update from tzcode 2018g.
8991 * timezone/tzfile.h: Likewise.
8992 * timezone/tzselect.ksh: Likewise.
8993 * timezone/zdump.c: Likewise.
8994 * timezone/zic.c: Likewise.
8995
8996 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8997
8998 [BZ #23490]
8999 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9000 (do_test): Adjust buffer size and fix format.
9001
9002 2018-12-07 DJ Delorie <dj@redhat.com>
9003
9004 [BZ #23907]
9005 * malloc/tst-tcfree3.c: New.
9006 * malloc/Makefile: Add it.
9007
9008 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9011
9012 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9013
9014 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9015 used as a mask for the mode argument of __vfscanf_internal and
9016 __vfwscanf_internal.
9017 * stdio-common/vfscanf-internal.c
9018 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9019 (__strtof128_internal): Define to __wcstof128_internal.
9020 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9021 __strtof128_internal or __wcstof128_internal when the format of
9022 long double is the same as _Float128.
9023
9024 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9025
9026 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9027 * posix/confstr.c (confstr): Rename to __confstr.
9028 (__confstr): Add hidden def.
9029 (confstr): Add weak alias for __confstr.
9030 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9031 confstr.
9032
9033 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9034
9035 * NEWS: Mention getcpu.
9036 * include/sched.h (__getcpu): New libc_hidden_proto.
9037 * manual/resource.texi: Document getcpu.
9038 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9039 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9040 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9041 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9042 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9043 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9044 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9045 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9046 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9047 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9048 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9049 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9050 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9051 Likewise.
9052 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9053 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9054 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9056 Likewise.
9057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9058 Likewise.
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9060 Likewise.
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9062 Likewise.
9063 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9064 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9065 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9066 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9067 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9068 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9069 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9070 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9071 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9072 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9073 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9074 Also check getcpu.
9075
9076 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9077
9078 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9079 functions.
9080 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9081
9082 2018-12-07 Florian Weimer <fweimer@redhat.com>
9083
9084 [BZ #17405]
9085 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9086 * posix/Versions (GLIBC_2.29): Export
9087 posix_spawn_file_actions_addfchdir_np.
9088 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9089 * posix/spawn_faction_destroy.c
9090 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9091 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9092 and the field action.fchdir_action.
9093 * posix/tst-spawn-chdir.c (add_chdir): New function.
9094 (do_test): Add do_fchdir loop. Call add_chdir.
9095 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9096 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9097 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9098 posix_spawn_file_actions_addfchdir_np.
9099 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9100 Likewise.
9101 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9102 Likewise.
9103 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9104 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9105 Likewise.
9106 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9107 Likewise.
9108 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9109 Likewise.
9110 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9111 Likewise.
9112 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9113 Likewise.
9114 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9115 Likewise.
9116 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9117 (GLIBC_2.29): Likewise.
9118 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9119 (GLIBC_2.29): Likewise.
9120 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9121 (GLIBC_2.29): Likewise.
9122 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9123 (GLIBC_2.29): Likewise.
9124 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9125 Likewise.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9127 (GLIBC_2.29): Likewise.
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9129 (GLIBC_2.29): Likewise.
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9131 (GLIBC_2.29): Likewise.
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9133 (GLIBC_2.29): Likewise.
9134 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9135 Likewise.
9136 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9137 Likewise.
9138 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9139 Likewise.
9140 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9141 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9142 Likewise.
9143 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9144 Likewise.
9145 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9146 Likewise.
9147 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9148 Likewise.
9149
9150 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9151
9152 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9153 trailing whitespace removed.
9154 * scripts/config.guess: Update to version 2018-11-28.
9155 * scripts/config.sub: Update to version 2018-11-28.
9156 * scripts/install-sh: Update to version 2018-03-11.20.
9157 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9158 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9159
9160 2018-12-07 Florian Weimer <fweimer@redhat.com>
9161
9162 [BZ #23927]
9163 CVE-2018-19591
9164 * inet/tst-if_index-long.c: New file.
9165 * inet/Makefile (tests): Add tst-if_index-long.
9166
9167 2018-12-07 Florian Weimer <fweimer@redhat.com>
9168
9169 * support/check.h (support_record_failure_is_failed): Declare.
9170 * support/descriptors.h: New file.
9171 * support/support_descriptors.c: Likewise.
9172 * support/tst-support_descriptors.c: Likewise.
9173 * support/support_record_failure.c
9174 (support_record_failure_is_failed): New function.
9175 * support/Makefile (libsupport-routines): Add support_descriptors.
9176 (tests): Add tst-support_descriptors.
9177
9178 2018-12-05 Zack Weinberg <zackw@panix.com>
9179 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9180
9181 * stdio-common/vfprintf-internal.c
9182 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9183 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9184 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9185 and __no_long_double.
9186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9187 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9188 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9189 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9190 and __nldbl_*syslog* functions.
9191 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9192 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9193 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9194 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9195 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9196 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9197 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9198 (__nldbl_vwprintf, __nldbl_wprintf):
9199 Directly call the appropriate __v*printf_internal routine, passing
9200 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9201 variable names.
9202 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9203 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9204 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9205 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9206 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9207 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9208 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9209 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9210 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9211 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9212 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9213 (__nldbl_syslog, __nldbl_vsyslog):
9214 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9215 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9216 appropriate.
9217 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9218 appropriate.
9219
9220 2018-12-05 Zack Weinberg <zackw@panix.com>
9221 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9222
9223 [BZ #11319]
9224 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9225 Moved here from debug/vsprintf_chk.c.
9226 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9227 and completion logic for the strfile to match exactly what
9228 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9229 _IO_str_init_static_internal instead of maxlen-1.
9230 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9231 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9232 __vsprintf_internal.
9233
9234 * debug/vsprintf_chk.c (__vsprintf_chk)
9235 * debug/sprintf_chk.c (__sprintf_chk):
9236 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9237 'flags' argument is positive, and slen as maxlen. No need to lock
9238 the FILE and/or construct a temporary FILE. Minimize and normalize
9239 header inclusions and variable names. Do not libc_hidden_def anything.
9240
9241 * debug/asprintf_chk.c (__asprintf_chk)
9242 * debug/dprintf_chk.c (__dprintf_chk)
9243 * debug/fprintf_chk.c (__fprintf_chk)
9244 * debug/fwprintf_chk.c (__fwprintf_chk)
9245 * debug/printf_chk.c (__printf_chk)
9246 * debug/snprintf_chk.c (__snprintf_chk)
9247 * debug/swprintf_chk.c (__swprintf_chk)
9248 * debug/vasprintf_chk.c (__vasprintf_chk)
9249 * debug/vdprintf_chk.c (__vdprintf_chk)
9250 * debug/vfprintf_chk.c (__vfprintf_chk)
9251 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9252 * debug/vprintf_chk.c (__vprintf_chk)
9253 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9254 * debug/vswprintf_chk.c (__vswprintf_chk)
9255 * debug/vwprintf_chk.c (__vwprintf_chk)
9256 * debug/wprintf_chk.c (__wprintf_chk):
9257 Directly call the corresponding vxxprintf_internal function, passing
9258 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9259 the FILE and/or construct a temporary FILE. Minimize and normalize
9260 header inclusions and variable names. Do not libc_hidden_def anything.
9261
9262 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9263 __obstack_vprintf_internal.
9264 (__obstack_vprintf_chk): Convert into a wrapper that calls
9265 __obstack_vprintf_internal (these two functions already had the
9266 same code) and move to new file...
9267 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9268 file.
9269 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9270 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9271 * debug/Makefile (routines): Add vobprintf_chk.
9272
9273 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9274 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9275 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9276 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9277 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9278 (__nldbl___obstack_vfprintf_chk):
9279 Directly call the corresponding vxxprintf_internal function,
9280 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9281 duplicate comparison of slen with 0 or maxlen from the corresponding
9282 non-__nldbl function.
9283
9284 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9285 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9286 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9287 Remove libc_hidden_proto.
9288
9289 * stdio-common/vfprintf-internal.c
9290 (__vfprintf_internal, __vfwprintf_internal):
9291 Do not check _IO_FLAGS2_FORTIFY.
9292 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9293 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9294 a comment explaining why it has the maxlen argument.
9295 (_IO_acquire_lock_clear_flags2_fct): Remove.
9296 (_IO_acquire_lock_clear_flags2): Remove.
9297 (_IO_release_lock): Remove conditional statement which will
9298 now never execute.
9299 (_IO_acquire_lock): Remove variable which is now unused.
9300 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9301 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9302
9303 * stdio-common/Makefile (tests): Add tst-bz11319 and
9304 tst-bz11319-fortify2.
9305 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9306 * stdio-common/tst-bz11319-fortify2.c: New file.
9307 * stdio-common/tst-bz11319.c: Likewise.
9308
9309 2018-12-05 Zack Weinberg <zackw@panix.com>
9310 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9311
9312 * misc/syslog.c: Include libioP.h, not iolibio.h.
9313 (__vsyslog_internal): New function with the former body of
9314 __vsyslog_chk; takes mode_flags argument same as
9315 __v*printf_internal. Call __vfprintf_internal directly.
9316
9317 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9318 Remove libc_hidden_def.
9319 (__syslog, __syslog_chk): Use __vsyslog_internal.
9320 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9321
9322 * include/sys/syslog.h: Add multiple inclusion guard.
9323 Add prototype for __vsyslog_internal.
9324 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9325
9326 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9327 Use __vsyslog_internal.
9328
9329 2018-12-05 Zack Weinberg <zackw@panix.com>
9330 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9331
9332 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9333 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9334 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9335 New functions.
9336 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9337 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9338
9339 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9340 Include wctype.h here if COMPILE_WPRINTF is defined.
9341 Define __vfprintf_internal or __vfwprintf_internal, depending
9342 on COMPILE_WPRINTF.
9343 Temporarily, on entry to this function, update mode_flags
9344 according to the environmental settings corresponding to
9345 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9346 Throughout, check mode_flags instead of __ldbl_is_dbl and
9347 _IO_FLAGS2_FORTIFY on the destination FILE.
9348 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9349 Include vfprintf-internal.c. Don't include wctype.h.
9350 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9351 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9352 and vfprintf.
9353 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9354 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9355 and vfwprintf.
9356 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9357
9358 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9359 and add mode_flags argument; use __vfprintf_internal.
9360 (__vdprintf): New function. Alias vdprintf to this.
9361 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9362 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9363 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9364 (__obstack_printf): Use __obstack_printf_internal.
9365 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9366 public aliases __vsnprintf and vsnprintf.
9367 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9368 called internally.
9369 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9370 public aliases _IO_vsprintf and vsprintf.
9371 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9372 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9373 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9374 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9375 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9376
9377 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9378 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9379 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9380 * stdio-common/printf.c: Use __vfprintf_internal.
9381
9382 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9383 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9384 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9385
9386 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9387 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9388 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9389 __vfwprintf_internal.
9390
9391 * libio/libio.h: Remove libc_hidden_proto and declaration for
9392 _IO_vfprintf.
9393 Remove declaration of _IO_vfwprintf.
9394 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9395 _IO_vsprintf.
9396 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9397 _IO_obstack_printf.
9398 * include/stdio.h: Add prototype for __vasprintf.
9399 (__vsnprintf): Remove declaration, because there are no more
9400 internal calls.
9401 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9402 declaration, because there are no more internal calls.
9403
9404 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9405 __vsnprintf_internal, instead of _IO_vsnprintf.
9406 * argp/argp-help.c (__argp_error, __argp_failure): Use
9407 __vasprintf_internal, instead of _IO_vasprintf.
9408 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9409 redefine, because there are no more internal calls.
9410
9411 2018-12-05 Zack Weinberg <zackw@panix.com>
9412 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9413
9414 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9415 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9416 Include libio/strfile.h instead of libioP.h.
9417 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9418 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9419 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9420 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9421 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9422 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9423 necessary. Do not set __no_long_double. Normalize variable names.
9424 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9425 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9426 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9427 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9428 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9429 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9430 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9431 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9432 Do not set __no_long_double. Normalize variable names.
9433
9434 2018-12-05 Zack Weinberg <zackw@panix.com>
9435 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9436
9437 * stdio-common/isoc99_scanf.c
9438 * stdio-common/isoc99_fscanf.c
9439 * stdio-common/isoc99_sscanf.c
9440 * stdio-common/isoc99_vscanf.c
9441 * stdio-common/isoc99_vfscanf.c
9442 * stdio-common/isoc99_vsscanf.c
9443 * wcsmbs/isoc99_wscanf.c
9444 * wcsmbs/isoc99_fwscanf.c
9445 * wcsmbs/isoc99_swscanf.c
9446 * wcsmbs/isoc99_vwscanf.c
9447 * wcsmbs/isoc99_vfwscanf.c
9448 * wcsmbs/isoc99_vswscanf.c:
9449 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9450 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9451 No need to lock and unlock the FILE passed to that function.
9452
9453 * stdio-common/vfscanf-internal.c
9454 (__vfscanf_internal, __vfwscanf_internal):
9455 Don't look at _IO_FLAGS2_SCANF_STD.
9456 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9457 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9458 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9459
9460 2018-12-05 Zack Weinberg <zackw@panix.com>
9461 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9462
9463 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9464 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9465 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9466 * libio/strfile.h: Add multiple inclusion guard.
9467 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9468
9469 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9470 consistency with the other version of this file.
9471 (ldbl_compat_symbol): New macro.
9472 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9473 New macro.
9474
9475 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9476 Define __vfscanf_internal or __vfwscanf_internal, depending on
9477 COMPILE_WSCANF; don't define any other public symbols.
9478 Remove errval and code to set errp.
9479 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9480 as the mode_flags argument.
9481 (encode_error, conv_error, input_error): Don't set errval.
9482 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9483 Include vfscanf-internal.c.
9484 * stdio-common/vfscanf.c: New file defining the public entry
9485 point vfscanf, which calls __vfscanf_internal.
9486 * stdio-common/vfwscanf.c: New file defining the public entry
9487 point vfwscanf, which calls __vfwscanf_internal.
9488
9489 * stdio-common/iovfscanf.c: New file.
9490 * stdio-common/iovfwscanf.c: Likewise.
9491
9492 * stdio-common/Makefile (routines): Add vfscanf-internal,
9493 vfwscanf-internal, iovfscanf, iovfwscanf.
9494 * stdio-common/Versions: Mention GLIBC_2.29, so that
9495 it can be used in SHLIB_COMPAT expressions.
9496 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9497 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9498 Call __vfscanf_internal, instead of _IO_vfscanf.
9499 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9500 _IO_vfscanf.
9501 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9502 _IO_vfwscanf.
9503
9504 * libio/iovsscanf.c: Clean up includes, when possible. Use
9505 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9506 __vfscanf_internal or __vfwscanf_internal directly.
9507 * libio/iovswscanf.c: Likewise.
9508 * libio/swscanf.c: Likewise.
9509 * libio/vscanf.c: Likewise.
9510 * libio/vwscanf.c: Likewise.
9511 * libio/wscanf.c: Likewise.
9512 * stdio-common/isoc99_fscanf.c: Likewise.
9513 * stdio-common/isoc99_scanf.c: Likewise.
9514 * stdio-common/isoc99_sscanf.c: Likewise.
9515 * stdio-common/isoc99_vfscanf.c: Likewise.
9516 * stdio-common/isoc99_vscanf.c: Likewise.
9517 * stdio-common/isoc99_vsscanf.c: Likewise.
9518 * stdio-common/scanf.c: Likewise.
9519 * stdio-common/sscanf.c: Likewise.
9520 * wcsmbs/isoc99_fwscanf.c: Likewise.
9521 * wcsmbs/isoc99_swscanf.c: Likewise.
9522 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9523 * wcsmbs/isoc99_vswscanf.c: Likewise.
9524 * wcsmbs/isoc99_vwscanf.c: Likewise.
9525 * wcsmbs/isoc99_wscanf.c: Likewise.
9526
9527 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9528
9529 * include/time.h
9530 (__tz_compute): Replace time_t with __time64_t.
9531 (__tz_convert): Replace time_t* with __time64_t.
9532 (__offtime): Replace time_t* with __time64_t.
9533 * time/gmtime.c
9534 (__gmtime_r): Adjust call to __tz_convert.
9535 (gmtime): Likewise.
9536 * time/localtime.c
9537 (__localtime_r): Likewise.
9538 (localtime): Likewise.
9539 * time/offtime.c: Replace time_t with __time64_t.
9540 * time/tzset.c: Likewise.
9541
9542 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9543
9544 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9545 dynamic linker unless [$(run-built-tests) = yes].
9546
9547 2018-12-03 DJ Delorie <dj@delorie.com>
9548
9549 * support/test-container.c (check_for_unshare_hints): New.
9550 (main): Call it if unshare fails. Add support for "su" scriptlet
9551 command.
9552
9553 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9554
9555 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9556 'START' to indicate that start text should be output.
9557 (gen_test): Likewise.
9558 (main): Generate 'START' for first symbol or '--' line, or at end
9559 of input if not previously generated.
9560
9561 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9562
9563 [BZ #19767]
9564 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9565 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9566 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9567 ALWAYS_USE_VSYSCALL.
9568
9569 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9570
9571 [BZ #23913]
9572 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9573 new_argv by one.
9574
9575 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9576
9577 [BZ #23923]
9578 * locale/programs/localedef.c: Declare boolean hard_links default true.
9579 (options): Add --no-hard-links option.
9580 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9581 * locale/programs/localedef.h: Declare prototype for hard_links.
9582 * locale/programs/locfile.c (write_locale_data): Don't use hard
9583 links if hard_links is false.
9584
9585 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9586
9587 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9588 cpu_features_basic.
9589 (__cache_sysconf): Likewise.
9590 (init_cacheinfo): Likewise.
9591 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9592 populate COMMON_CPUID_INDEX_80000007 and
9593 COMMON_CPUID_INDEX_80000008.
9594 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9595 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9596 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9597 (init_cpu_features): Use _Static_assert on
9598 index_arch_Fast_Unaligned_Load.
9599 __get_cpuid_registers and __get_arch_feature. Updated for
9600 cpu_features_basic. Set stepping in cpu_features.
9601 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9602 (FEATURE_INDEX_2): New.
9603 (FEATURE_INDEX_MAX): Changed to enum.
9604 (COMMON_CPUID_INDEX_D_ECX_1): New.
9605 (COMMON_CPUID_INDEX_80000007): Likewise.
9606 (COMMON_CPUID_INDEX_80000008): Likewise.
9607 (cpuid_registers): Likewise.
9608 (cpu_features_basic): Likewise.
9609 (CPU_FEATURE_USABLE): Likewise.
9610 (bit_arch_XXX_Usable): Likewise.
9611 (cpu_features): Use cpuid_registers and cpu_features_basic.
9612 (bit_arch_XXX): Reweritten.
9613 (bit_cpu_XXX): Likewise.
9614 (index_cpu_XXX): Likewise.
9615 (reg_XXX): Likewise.
9616 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9617 <support/check.h>.
9618 (CHECK_CPU_FEATURE): New.
9619 (CHECK_CPU_FEATURE_USABLE): Likewise.
9620 (cpu_kinds): Likewise.
9621 (do_test): Print vendor, family, model and stepping. Check
9622 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9623 (TEST_FUNCTION): Removed.
9624 Include <support/test-driver.c> instead of
9625 "../../test-skeleton.c".
9626 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9627 Check POPCNT instead of POPCOUNT.
9628 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9629
9630 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9631
9632 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9633 there is no element in `consts'.
9634
9635 2018-12-01 Florian Weimer <fweimer@redhat.com>
9636
9637 * support/support_capture_subprocess.c
9638 (support_capture_subprocess): Check that pipe descriptors have
9639 expected values. Close original pipe descriptors in subprocess.
9640
9641 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9642
9643 [BZ #23032]
9644 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9645 attr with __pthread_default_barrierattr.
9646 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9647 attr with __pthread_default_condattr.
9648 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9649 attr with __pthread_default_mutexattr.
9650 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9651 attr with __pthread_default_rwlockattr.
9652
9653 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9654
9655 * manual/tunables.texi (POSIX Thread Tunables): New node.
9656 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9657 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9658 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9659 __pthread_tunables_init.
9660 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9661 (max_adaptive_count): Define.
9662 * nptl/pthread_mutex_conf.c: New file.
9663 * nptl/pthread_mutex_conf.h: New file.
9664 * sysdeps/generic/adaptive_spin_count.h: New file.
9665 * sysdeps/nptl/dl-tunables.list: New file.
9666 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9667 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9668 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9669 Likewise.
9670
9671 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9672
9673 [BZ #20544]
9674 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9675 * stdlib/on_exit.c (__on_exit): Likewise.
9676 * stdlib/Makefile (tests): Add tst-bz20544.
9677 * stdlib/tst-bz20544.c: New test.
9678
9679 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9680
9681 [BZ #19767]
9682 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9683 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9684 New.
9685
9686 2018-11-30 Florian Weimer <fweimer@redhat.com>
9687
9688 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9689 Extend error logging.
9690 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9691 symbol.
9692
9693 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9694
9695 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9696 __sigismember instead of sigismember.
9697 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9698 cancel_handler): New definitions.
9699 (do_system): Use posix_spawn instead of fork and execl and remove
9700 reentracy code.
9701 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9702 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9703 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9704 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9705 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9706 * sysdeps/unix/sysv/linux/system.c: Likewise.
9707
9708 [BZ #22834]
9709 [BZ #17490]
9710 * NEWS: Add new semantic for atfork with popen and system.
9711 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9712 fork and execl.
9713
9714 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9715
9716 [BZ #23690]
9717 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9718 modification order when accessing reloc_result->addr.
9719 * include/link.h (reloc_result): Add field init.
9720 * nptl/Makefile (tests): Add tst-audit-threads.
9721 (modules-names): Add tst-audit-threads-mod1 and
9722 tst-audit-threads-mod2.
9723 Add rules to build tst-audit-threads.
9724 * nptl/tst-audit-threads-mod1.c: New file.
9725 * nptl/tst-audit-threads-mod2.c: Likewise.
9726 * nptl/tst-audit-threads.c: Likewise.
9727 * nptl/tst-audit-threads.h: Likewise.
9728
9729 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9730
9731 * scripts/gen-as-const.py: New file.
9732 * scripts/gen-as-const.awk: Remove.
9733 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9734 gen-as-const.py.
9735 ($(objpfx)test-as-const-%.c): Likewise.
9736
9737 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9738
9739 * elf/dl-exception.c: Include <_itoa.h>.
9740
9741 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9742
9743 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9744 returned by __f_setlk.
9745
9746 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9747 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9748
9749 * elf/Makefile (tests-internal): Add tst-create_format1.
9750 * elf/dl-exception.c (_dl_exception_create_format): Support
9751 %x, %lx and %zx.
9752 * elf/tst-create_format1.c: New file.
9753
9754 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9755
9756 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9757 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9758 gnulib.)
9759 * argp/argp-help.c (__argp_failure): Likewise.
9760
9761 2018-11-29 Mao Han <han_mao@c-sky.com>
9762
9763 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9764 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9765 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9766 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9767 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9768 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9769 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9770 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9771 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9772 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9773 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9774 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9775 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9776 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9777 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9778 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9779 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9780 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9781 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9782 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9783 (R_CKCORE_TLS_TPOFF32): New defines.
9784
9785 2018-11-29 Florian Weimer <fweimer@redhat.com>
9786
9787 * posix/Makefile (before-compile): Remove testcases.h and
9788 ptestcases.h.
9789 (generated): Add testcases.h and ptestcases.h.
9790 (testcases.h, ptestcases.h): Move to $(objpfx).
9791 (runtests.o): Add dependency on testcases.h.
9792 (runptests.o): Add dependency on ptestcases.h.
9793 * posix/testcases.h, posix/ptestcases.h: Remove files.
9794 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9795 not touch posix/testcases.h and posix/ptestcases.h.
9796
9797 2018-11-28 Florian Weimer <fweimer@redhat.com>
9798
9799 support: Add signal support to support_capture_subprocess_check.
9800 * support/capture_subprocess.h (support_capture_subprocess_check):
9801 Adjust comment and rename parameter.
9802 * support/support_capture_subprocess_check.c
9803 (print_actual_status): New function.
9804 (support_capture_subprocess_check): Support negative
9805 status_or_signal. Call print_actual_status.
9806 * support/tst-support_capture_subprocess.c (do_test): Call
9807 support_capture_subprocess_check.
9808 * libio/tst-vtables-common.c (termination_status)
9809 (init_termination_status): Remove.
9810 (check_for_termination): Adjust support_capture_subprocess_check
9811 call.
9812 (do_test): Remove call to init_termination_status.
9813
9814 2018-11-28 Joseph Myers <joseph@codesourcery.com>
9815
9816 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9817 source directory instead of a copy.
9818 (CommandList.create_copy_dir): Remove.
9819
9820 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
9821
9822 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9823
9824 2018-11-28 Florian Weimer <fweimer@redhat.com>
9825
9826 * support/support.h (support_quote_string): Do not use str
9827 parameter name.
9828
9829 2018-11-27 Joseph Myers <joseph@codesourcery.com>
9830
9831 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9832 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9833
9834 2018-11-27 Florian Weimer <fweimer@redhat.com>
9835
9836 * support/support.h (support_quote_string): Declare.
9837 * support/support_quote_string.c: New file.
9838 * support/tst-support_quote_string.c: Likewise.
9839 * support/Makefile (libsupport-routines): Add
9840 support_quote_string.
9841 (tests): Add tst-support_quote_string.
9842
9843 2018-11-27 Florian Weimer <fweimer@redhat.com>
9844
9845 [BZ #23927]
9846 CVE-2018-19591
9847 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9848 descriptor leak in case of ENODEV error.
9849
9850 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9851
9852 [BZ #19767]
9853 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9854 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9855 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9856
9857 2018-11-26 Carlos O'Donell <carlos@redhat.com>
9858
9859 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9860 Error for unknown lines.
9861
9862 2018-11-26 Joseph Myers <joseph@codesourcery.com>
9863
9864 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9865 Touch additional files.
9866
9867 2018-11-26 Florian Weimer <fweimer@redhat.com>
9868
9869 [BZ #23907]
9870 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9871 double-frees.
9872
9873 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9874
9875 [BZ #19767]
9876 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9877 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9878 SHARED. Include sysdep.h.
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9880 ALWAYS_USE_VSYSCALL.
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9882 ALWAYS_USE_VSYSCALL.
9883
9884 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9885
9886 [BZ #19767]
9887 * nptl/Makefile (tests-static): Add tst-cond11-static.
9888 (tests): Likewise.
9889 * nptl/tst-cond11-static.c: New File.
9890 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9891 tst-affinity-static.
9892 (tests): Likewise.
9893 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9894 instead of SHARED.
9895 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9896 (USE_VSYSCALL): Likewise.
9897 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9898 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9899 instead of SHARED.
9900 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9901 SHARED.
9902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9903 New.
9904
9905 2018-11-23 Joseph Myers <joseph@codesourcery.com>
9906
9907 [BZ #23915]
9908 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9909 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9910 Undefine.
9911
9912 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9913
9914 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9915 (tst-cet-legacy-1a-ARGS): New.
9916 ($(objpfx)tst-cet-legacy-1a): New target.
9917 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9918
9919 2018-11-22 Joseph Myers <joseph@codesourcery.com>
9920
9921 * conform/conformtest.py (CompileSubTest.__init__): Set
9922 self.run_early to False.
9923 (ExecuteSubTest.__init__): Likewise.
9924 (HeaderTests.run): Try running all non-optional, non-XFAILed
9925 compilation tests in a single execution of the compiler.
9926
9927 * conform/conformtest.py (CompileSubTest): New class.
9928 (ExecuteSubTest): Likewise.
9929 (ElementTest.run): Rename to gen_subtests. Append tests to
9930 self.subtests instead of running them.
9931 (ConstantTest.run): Likewise.
9932 (SymbolTest.run): Likewise.
9933 (TypeTest.run): Likewise.
9934 (TagTest.run): Likewise.
9935 (FunctionTest.run): Likewise.
9936 (VariableTest.run): Likewise.
9937 (MacroFunctionTest.run): Likewise.
9938 (MacroStrTest.run): Likewise.
9939 (HeaderTests.handle_test_line): Generate subtests for tests.
9940 (HeaderTests.run): Run subtests for tests.
9941
9942 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9943
9944 * math/Versions (GLIBC_2.29): Add pow.
9945 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9946 symbol.
9947 * math/w_pow.c: New file.
9948 * sysdeps/i386/fpu/w_pow.c: New file.
9949 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9951 and add necessary aliases.
9952 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9953 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9954 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9955 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9956 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9957 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9958 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9959 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9960 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9961 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9962 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9963 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9964 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9965 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9966 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9971 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9972 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9973 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9974 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9975 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9976 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9977 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9978 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9979 __pow.
9980 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9981 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9982 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9983
9984 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9985
9986 * math/Versions (GLIBC_2.29): Add log2.
9987 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9988 symbol.
9989 * math/w_log2.c: New file.
9990 * sysdeps/i386/fpu/w_log2.c: New file.
9991 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9992 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9993 and add necessary aliases.
9994 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9995 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9996 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9997 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9998 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9999 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10000 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10001 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10003 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10004 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10005 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10006 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10007 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10008 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10013 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10014 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10015 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10016 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10017 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10018 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10019 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10020
10021 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10022
10023 * math/Versions (GLIBC_2.29): Add log.
10024 * math/w_log_compat.c (__log_compat): Change to versioned compat
10025 symbol.
10026 * math/w_log.c: New file.
10027 * sysdeps/i386/fpu/w_log.c: New file.
10028 * sysdeps/ia64/fpu/e_log.S: Update.
10029 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10030 and add necessary aliases.
10031 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10032 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10033 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10034 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10035 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10036 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10037 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10038 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10039 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10040 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10041 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10042 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10043 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10044 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10045 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10050 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10051 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10052 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10053 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10054 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10055 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10056 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10057 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10058 __log.
10059 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10060 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10061 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10062 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10063
10064 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10065
10066 * math/Versions (GLIBC_2.29): Add exp and exp2.
10067 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10068 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10069 * math/w_exp_compat.c (__exp_compat): Likewise.
10070 * math/w_exp.c: New file.
10071 * math/w_exp2.c: New file.
10072 * sysdeps/i386/fpu/w_exp.c: New file.
10073 * sysdeps/i386/fpu/w_exp2.c: New file.
10074 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10075 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10076 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10077 and add necessary aliases.
10078 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10079 and add necessary aliases.
10080 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10081 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10082 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10083 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10084 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10085 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10087 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10088 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10089 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10090 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10091 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10092 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10093 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10094 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10095 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10096 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10101 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10102 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10103 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10104 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10105 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10106 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10107 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10108 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10109 (__ieee754_exp): Rename to __exp.
10110 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10111 (__ieee754_exp): Rename to __exp.
10112 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10113 (__ieee754_exp): Rename to __exp.
10114 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10115 __exp.
10116 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10117
10118 2018-11-20 DJ Delorie <dj@redhat.com>
10119
10120 * malloc/malloc.c (tcache_entry): Add key field.
10121 (tcache_put): Set it.
10122 (tcache_get): Likewise.
10123 (_int_free): Check for double free in tcache.
10124 * malloc/tst-tcfree1.c: New.
10125 * malloc/tst-tcfree2.c: New.
10126 * malloc/Makefile: Run the new tests.
10127 * manual/probes.texi: Document memory_tcache_double_free probe.
10128
10129 * dlfcn/dlerror.c (check_free): Prevent double frees.
10130
10131 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10132
10133 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10134
10135 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10136
10137 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10138 in tests. Use names for format arguments.
10139 (ConstantTest.run): Likewise.
10140 (SymbolTest.run): Likewise.
10141 (TypeTest.run): Likewise.
10142 (TagTest.run): Likewise.
10143 (FunctionTest.run): Likewise.
10144 (VariableTest.run): Likewise.
10145 (MacroFunctionTest.run): Likewise.
10146 (MacroStrTest.run): Likewise.
10147 (HeaderTests.__init__): Set self.num_tests.
10148 (HeaderTests.handle_test_line): Set test.num. Increment
10149 self.num_tests.
10150
10151 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10152
10153 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10154 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10155 SEEK_SET.
10156
10157 2018-11-19 Mao Han <han_mao@c-sky.com>
10158
10159 * scripts/config.guess: Update to version 2018-08-29.
10160 * scripts/config.sub: Update to version 2018-08-29.
10161
10162 2018-11-19 Florian Weimer <fweimer@redhat.com>
10163
10164 support: Print timestamps in timeout handler.
10165 * support/support_test_main.c (print_timestamp): New function.
10166 (signal_handler): Use it to print the termination time and the
10167 time of the last write to standard output.
10168
10169 2018-11-16 Zack Weinberg <zackw@panix.com>
10170 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10171
10172 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10173 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10174 argument.
10175 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10176 and add flags argument. Check flags instead of __ldbl_is_dbl when
10177 deciding whether to set is_long_double.
10178 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10179 passing zero for flags argument.
10180 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10181
10182 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10183 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10184 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10185 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10186 variable names. Remove libc_hidden_def/libc_hidden_proto from
10187 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10188 longer called from within the library.
10189 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10190 for __nldbl___vstrfmon_l, declare it explicitly.
10191
10192 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10193
10194 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10195
10196 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10197 macros
10198 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10199 F_SETLK64, F_SETLKW64, respectively.
10200 * sysdeps/mach/hurd/f_setlk.c: New file.
10201 * sysdeps/mach/hurd/f_setlk.h: New file.
10202 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10203 f_setlk.
10204 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10205 (__libc_fcntl): Move non-flock operations to...
10206 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10207 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10208
10209 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10210
10211 mktime: DEBUG_MKTIME cleanup
10212 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10213 And it’s no longer needed now that glibc and Gnulib both have
10214 their own testing mechanisms for mktime.
10215 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10216
10217 mktime: fix non-EOVERFLOW errno handling
10218 [BZ#23789]
10219 mktime was not properly reporting failures when the underlying
10220 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10221 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10222 The problem could happen on non-glibc platforms, with Gnulib.
10223 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10224 (tm_diff): ... this simpler function, which does not change errno.
10225 All callers changed to deal with errno themselves.
10226 (ranged_convert, __mktime_internal): Return failure immediately if
10227 the underlying function reports any failure other than EOVERFLOW.
10228 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10229 gap code fails.
10230
10231 mktime: fix bug with Y2038 DST transition
10232 [BZ#23789]
10233 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10234 mishandle a DST transition that jumps over the Y2038 boundary.
10235 No such DST transitions are known so this is only a theoretical
10236 bug, but we might as well do things right.
10237
10238 mktime: make more room for overflow
10239 [BZ#23789]
10240 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10241 This is so that we can add tm_diff results to a previous guess,
10242 which will be useful in a later patch.
10243
10244 mktime: simplify offset guess
10245 [BZ#23789]
10246 * time/mktime.c (__mktime_internal): Omit excess precision.
10247
10248 mktime: new test for mktime failure
10249 [BZ#23789]
10250 Based on a test suggested by Albert Aribaud in:
10251 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10252 * time/Makefile (tests): Add bug-mktime4.
10253 * time/bug-mktime4.c: New file.
10254
10255 mktime: fix EOVERFLOW bug
10256 [BZ#23789]
10257 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10258 Include libc-config.h, not config.h, for __set_errno.
10259 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10260
10261 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10262
10263 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10264 __attribute_copy__ to copy attributes from name. Drop static qualifier
10265 to avoid warnings about leaf attribute not having effect on static
10266 functions.
10267
10268 2018-11-13 Florian Weimer <fweimer@redhat.com>
10269
10270 * malloc/malloc.c (fastbin_push_entry): New function.
10271 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10272 (REMOVE_FB): Remove macro.
10273 (_int_malloc): Use fastbin_pop_entry and reindent.
10274 (_int_free): Use fastbin_push_entry.
10275 (malloc_consolidate): Use atomic_exchange_acquire.
10276
10277 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10278
10279 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10280 alias attribute, not with strong_alias.
10281
10282 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10283 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10284 with additional parameter thread.
10285 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10286 in terms of __hidden_ver2.
10287 (hidden_tls_def): New macro.
10288 (libc_hidden_tls_def): Likewise.
10289 (rtld_hidden_tls_def): Likewise.
10290 (libm_hidden_tls_def): Likewise.
10291 (libmvec_hidden_tls_def): Likewise.
10292 (libresolv_hidden_tls_def): Likewise.
10293 (librt_hidden_tls_def): Likewise.
10294 (libdl_hidden_tls_def): Likewise.
10295 (libnss_files_hidden_tls_def): Likewise.
10296 (libnsl_hidden_tls_def): Likewise.
10297 (libnss_nisplus_hidden_tls_def): Likewise.
10298 (libutil_hidden_tls_def): Likewise.
10299 (libutil_hidden_tls_def): Likweise.
10300 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10301 libc_hidden_tls_def.
10302 (__sim_disabled_exceptions_thread): Likewise.
10303 (__sim_round_mode_thread): Likewise.
10304
10305 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10306 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10307 copy attributes from name.
10308
10309 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10310
10311 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10312 Use __attribute_copy__ to copy attributes from name.
10313
10314 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10315 with __hidden_ver1 call.
10316 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10317 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10318 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10319 (__cosf): Do not declare here.
10320 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10321 (__sincosf): Do not declare here.
10322 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10323 (__sinf): Do not declare here.
10324
10325 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10326 (__BIG_ENDIAN): Likewise.
10327 (__BYTE_ORDER): Likewise.
10328 (strong_alias): Likewise.
10329 (_strong_alias): Likewise.
10330
10331 2018-11-12 Florian Weimer <fweimer@redhat.com>
10332
10333 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10334 function. Move after the definition of in_smallbin_range. Do not
10335 use __builtin_expect for paths that lead to a noreturn function.
10336 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10337 because it is unclear whether this is in fact an unlikely
10338 condition.
10339 (_int_malloc, _int_free): Adjust.
10340 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10341 variables.
10342 * malloc/arena.c (heap_trim): Likewise.
10343
10344 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10345
10346 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10347 it, free it if needed.
10348 (reauthenticate): Test and use ccwdir.
10349 (child_init_port): In non-resetids case, test and use ccwdir.
10350 (child_chdir): New nested function to set ccwdir.
10351 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10352 * hurd/hurd/port.h (_hurd_port_move): New function.
10353 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10354 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10355 * hurd/Versions (_hurd_port_move): Export function.
10356 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10357 symbol.
10358 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10359 of dtablesize for allocating dtable_cloexec.
10360
10361 2018-11-09 Martin Sebor <msebor@redhat.com>
10362
10363 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10364 it's already defined.
10365 (_strong_alias): Use __attribute_copy__.
10366 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10367 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10368 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10369 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10370 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10371 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10372 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10373 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10374 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10375 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10376 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10377 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10378 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10379 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10380 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10381 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10382 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10383 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10384 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10385
10386 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10387
10388 * misc/tst-efgcvt.c: Include support/check.h and
10389 support/test-driver.c. Do not include test-skeleton.c.
10390 (error_count): Remove.
10391 (output_error): Replace increments to error_count with calls to
10392 support_record_failure.
10393 (output_r_error): Likewise.
10394 (special): Likewise.
10395 (do_test): Unconditionally return zero.
10396 (TEST_FUNCTION): Remove.
10397
10398 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10399
10400 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10401 not $(@D)/scratch.
10402 ($(linknamespace-header-tests)): Likewise.
10403
10404 * conform/conformtest.py: New file.
10405 * conform/conformtest.pl: Remove.
10406 * conform/GlibcConform.pm: Likewise.
10407 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10408 (KEYWORDS_C99): Likewise.
10409 (KEYWORDS): Likewise.
10410 * conform/Makefile ($(conformtest-header-tests)): Use
10411 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10412 option. Use --header instead of --headers.
10413 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10414 function entries.
10415 * conform/data/spawn.h-data: Likewise.
10416 * conform/data/fcntl.h-data (openat): Add space after function
10417 name.
10418 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10419 (wcscasecmp_l): Likewise.
10420 * conform/data/termios.h-data (c_cc): Add space after element
10421 name.
10422
10423 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10424
10425 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10426 instead of manually comparing and reporting mismatching strings.
10427 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10428 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10429
10430 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10431
10432 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10433 __ASSUME_SOCKETCALL.
10434 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10435 (__ASSUME_SOCKETCALL): Remove.
10436 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10437 (__ASSUME_SOCKETCALL): Likewise.
10438 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10439 (__ASSUME_SOCKETCALL): Likewise.
10440 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10441 (__ASSUME_SOCKETCALL): Likewise.
10442 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10443 (__ASSUME_SOCKETCALL): Likewise.
10444 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10445 (__ASSUME_SOCKETCALL): Likewise.
10446 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10447 (__ASSUME_SOCKETCALL): Likewise.
10448
10449 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10450
10451 [BZ #23509]
10452 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10453 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10454 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10455 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10456 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10457 lc_unknown.
10458
10459 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10460
10461 [BZ #17630]
10462 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10463
10464 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10465
10466 [BZ #23867]
10467 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10468 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10470 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10471
10472 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10473
10474 * support/support_test_compare_string.c
10475 (support_test_compare_string): Fix printf format.
10476
10477 2018-11-07 Florian Weimer <fweimer@redhat.com>
10478
10479 Implement TEST_COMPARE_STRING.
10480 * support/check.h (TEST_COMPARE_STRING): Define.
10481 (support_test_compare_string): Declare.
10482 * support/Makefile (libsupport-routines): Add
10483 support_test_compare_string.
10484 (tests): Add tst-test_compare_string.
10485 * support/support_test_compare_string.c: New file.
10486 * support/tst-test_compare_string.c: Likewise.
10487
10488 2018-11-07 Andreas Schwab <schwab@suse.de>
10489
10490 [BZ #23864]
10491 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10492 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10493 Undef.
10494
10495 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10496
10497 [BZ #23862]
10498 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10499 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10500 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10501 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10502 Likewise.
10503
10504 2018-11-06 Florian Weimer <fweimer@redhat.com>
10505
10506 [BZ #17405]
10507 * posix/Makefile (routines): Add spawn_faction_addchdir.
10508 (tests): Add tst-spawn-chdir.
10509 * posix/Versions (GLIBC_2.29): Add
10510 posix_spawn_file_actions_addchdir_np.
10511 * posix/spawn_faction_addchdir.c: New file.
10512 * posix/spawn_faction_destroy.c
10513 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10514 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10515 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10516 chdir_action.
10517 * posix/tst-spawn-chdir.c: New file.
10518 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10519 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10520 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10521 posix_spawn_file_actions_addchdir_np.
10522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10523 Likewise.
10524 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10525 Likewise.
10526 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10527 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10528 Likewise.
10529 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10530 Likewise.
10531 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10532 Likewise.
10533 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10534 Likewise.
10535 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10536 Likewise.
10537 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10538 Likewise.
10539 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10540 (GLIBC_2.29): Likewise.
10541 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10542 (GLIBC_2.29): Likewise.
10543 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10544 (GLIBC_2.29): Likewise.
10545 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10546 (GLIBC_2.29): Likewise.
10547 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10548 Likewise.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10550 (GLIBC_2.29): Likewise.
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10552 (GLIBC_2.29): Likewise.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10554 (GLIBC_2.29): Likewise.
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10556 (GLIBC_2.29): Likewise.
10557 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10558 Likewise.
10559 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10560 Likewise.
10561 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10562 Likewise.
10563 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10564 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10565 Likewise.
10566 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10567 Likewise.
10568 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10569 Likewise.
10570 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10571 Likewise.
10572
10573 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10574
10575 * misc/Makefile (tests): Add tst-ldbl-error.
10576 * misc/tst-ldbl-error.c: New file.
10577
10578 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10579
10580 * misc/Makefile (tests): Add tst-ldbl-warn.
10581 * misc/tst-ldbl-warn.c: New file.
10582
10583 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10584
10585 * argp/Makefile (tests): Add tst-ldbl-argp.
10586 * argp/tst-ldbl-argp.c: New file.
10587
10588 2018-11-05 Arjun Shankar <arjun@redhat.com>
10589
10590 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10591 __gconv_path_elem and call __gconv_get_path unconditionally.
10592
10593 2018-11-05 Andreas Schwab <schwab@suse.de>
10594
10595 [BZ #22927]
10596 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10597 creating the first helper thread failed.
10598
10599 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10600
10601 * sysdeps/mach/hurd/msync.c: New file.
10602
10603 2018-11-02 Florian Weimer <fweimer@redhat.com>
10604
10605 * support/shell-container.c (copy_func): Call
10606 support_copy_file_range instead of copy_file_range to support
10607 cross-device copies.
10608
10609 2018-11-02 Florian Weimer <fweimer@redhat.com>
10610
10611 * support/test-container.c: Include <libc-pointer-arith.h> for
10612 ALIGN_UP.
10613
10614 2018-11-01 Zong Li <zong@andestech.com>
10615
10616 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10617 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10618 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10619 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10620
10621 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10622 variable to avoid overlap arguments.
10623
10624 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10625
10626 * posix/bug-regex22.c (main): Use puts with distinct error
10627 messages for unexpected success of re_compile_pattern, not printf
10628 with NULL argument to %s.
10629
10630 * stdio-common/bug22.c: Include <libc-diag.h>.
10631 (do_test): Disable -Wformat-overflow= warnings around fprintf
10632 calls outputting more than INT_MAX characters.
10633 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10634 around printf call with NULL %s argument.
10635
10636 [BZ #23848]
10637 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10638 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10639 Undefine.
10640 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10641 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10642 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10643 (__ASSUME_SENDTO_SYSCALL): Likewise.
10644 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10645 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10646 [!__arch64__].
10647 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10648 (__ASSUME_CONNECT_SYSCALL): Likewise.
10649 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10650 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10651 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10652 Define.
10653 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10654 Likewise.
10655 [__LINUX_KERNEL_VERSION >= 0x040400]
10656 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10657 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10658 Remove.
10659 (listen): Likewise.
10660 (setsockopt): Likewise.
10661
10662 2018-11-01 Fredrik Noring <noring@nocrew.org>
10663
10664 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10665 with the ISA override.
10666
10667 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
10668
10669 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10670 #endif.
10671
10672 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10673
10674 * manual/errno.texi (EIEIO): Document how translators should
10675 translate the error message.
10676 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10677 printing trailing whitespaces refused by git.
10678 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10679 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10680 * hurd/Makefile (user-interfaces): Add pci.
10681
10682 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10683
10684 * conform/linknamespace.py: New file.
10685 * conform/linknamespace.pl: Remove file.
10686 * conform/Makefile ($(linknamespace-header-tests)): Use
10687 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10688 option.
10689
10690 2018-10-30 Florian Weimer <fweimer@redhat.com>
10691
10692 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10693 memory leaks.
10694
10695 2018-10-30 Florian Weimer <fweimer@redhat.com>
10696
10697 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10698
10699 2018-10-30 Florian Weimer <fweimer@redhat.com>
10700
10701 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10702 support_blob_repeat.
10703
10704 2018-10-30 Florian Weimer <fweimer@redhat.com>
10705
10706 Avoid spurious test failures in stdlib/test-bz22786.
10707 * support/Makefile (libsupport-routines): Add blob_repeat.
10708 (tests): Add tst-support_blob_repeat.
10709 * support/blob_repeat.h: New file.
10710 * support/blob_repeat.c: Likewise.
10711 * support/tst-support_blob_repeat.c: Likewise.
10712 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10713 support_blob_repeat_allocate.
10714
10715 2018-10-30 Andreas Schwab <schwab@suse.de>
10716
10717 [BZ #23125]
10718 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10719 Don't use tail call.
10720 * elf/tst-unwind-main.c: New file.
10721 * elf/Makefile (tests): Add tst-unwind-main.
10722 (CFLAGS-tst-unwind-main.c): Define.
10723
10724 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10725
10726 [BZ #23791]
10727 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10728 n_cs_precedes to 0.
10729 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10730
10731 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10732
10733 * conform/glibcconform.py: Do not import shutil.
10734 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10735 of mkdtemp.
10736
10737 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10738 critic_missing for versions before 3.4.
10739 * configure: Regenerated.
10740 * manual/install.texi (Tools for Compilation): Document
10741 requirement for Python to build glibc.
10742 * INSTALL: Regenerated.
10743 * Rules [PYTHON]: Make code unconditional.
10744 * benchtests/Makefile [PYTHON]: Likewise.
10745 * conform/Makefile [PYTHON]: Likewise.
10746 * manual/Makefile [PYTHON]: Likewise.
10747 * math/Makefile [PYTHON]: Likewise.
10748
10749 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10750
10751 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10752 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10753 answer to interrupt_operation, return EIEIO instead of EINTR.
10754 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10755 _hurd_intr_rpc_msg_about_to global point to start of controlled
10756 assembly snippet. Make it check canceled flag.
10757 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10758 the _hurd_intr_rpc_msg_about_to point.
10759 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10760 issue, remove cancel flag check.
10761
10762 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10763
10764 * scripts/build-many-glibcs.py: Remove compatibility for missing
10765 os.cpu_count and re.fullmatch.
10766
10767 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10768
10769 [BZ #23822]
10770 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10771 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10772 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10773
10774 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10775
10776 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10777 macro.
10778
10779 2018-10-25 Florian Weimer <fweimer@redhat.com>
10780
10781 [BZ #23562]
10782 [BZ #23821]
10783 XFAIL siginfo_t si_band conform test on sparc64.
10784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10785 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10786 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10787 (conformtest-xfail-conds): Add sparc64-linux.
10788 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10789 sparc64.
10790 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10791
10792 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10793
10794 * elf/elf.h (NT_MIPS_DSP): New macro.
10795 (NT_MIPS_FP_MODE): Likewise.
10796
10797 2018-10-25 Zong Li <zong@andestech.com>
10798
10799 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10800 name by adding the file extension (.so).
10801
10802 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10803
10804 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10805 (test-xfail-ISO11/threads.h/linknamespace,
10806 test-xfail-ISO11/threads.h/conform): Add.
10807
10808 2018-10-24 Joseph Myers <joseph@codesourcery.com>
10809
10810 * math/gen-libm-test.py: Import os.
10811 (ALL_FLOATS_MANUAL): New constant.
10812 (ALL_FLOATS_SUFFIX): Likewise.
10813 (Ulps.all_functions): New function.
10814 (real_all_ulps): Likewise.
10815 (generate_err_table_sub): Likewise.
10816 (generate_err_table): Likewise.
10817 (main): Handle -s and -m options.
10818 * manual/libm-err-tab.pl: Remove.
10819 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10820 instead of libm-err-tab.pl.
10821 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10822 != no].
10823 * manual/install.texi (Tools for Compilation): Document
10824 requirement for Python to build manual.
10825 * INSTALL: Regenerated.
10826
10827 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10828
10829 * bits/time64.h: New file.
10830 * include/time.h: Replace internal_time_t with __time64_t.
10831 * posix/bits/types (__time64_t): Add.
10832 * stdlib/Makefile: Add bits/time64.h to includes.
10833 * time/tzfile.c: Replace internal_time_t with __time64_t.
10834
10835 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10836
10837 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10838 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10839 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10840 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10841 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10842 prototype.
10843 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10844 * posix/spawn_faction_addclose.c
10845 (__posix_spawn_file_actions_addclose): Add hidden definition.
10846 * posix/spawn_faction_adddup2.c
10847 (__posix_spawn_file_actions_adddup2): Likewise.
10848 * posix/spawn_faction_destroy.c
10849 (__posix_spawn_file_actions_destroy): Likewise.
10850 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10851 Likewise.
10852 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10853 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10854 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10855 Likewise.
10856 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10857 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10858 Likewise.
10859
10860 2018-10-24 Andreas Schwab <schwab@suse.de>
10861
10862 [BZ #18093]
10863 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10864 format cache.
10865 * elf/cache.c (print_cache): Likewise.
10866
10867 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10868
10869 * bits/timesize.h: New file.
10870 * stdlib/Makefile (headers): Add bits/timesize.h.
10871 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10872 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10873 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10874 (__SEM_PAD_AFTER_TIME): Likewise.
10875 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10876 (__SHM_PAD_AFTER_TIME): Likewise.
10877 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10878 (__MSQ_PAD_BEFORE_TIME): Likewise.
10879 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10880 (__SEM_PAD_BEFORE_TIME): Likewise.
10881 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10882 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10883 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
10884 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10885 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10886 (__MSQ_PAD_BEFORE_TIME): Likewise.
10887 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10888 (__SEM_PAD_BEFORE_TIME): Likewise.
10889 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10890 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10891 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10892 (__MSQ_PAD_BEFORE_TIME): Likewise.
10893 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10894 (__SEM_PAD_BEFORE_TIME): Likewise.
10895 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10896 (__SHM_PAD_BEFORE_TIME): Likewise.
10897 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10898 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10899 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10900
10901 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10902
10903 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10904 USE_RDTSCP is defined.
10905 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10906 USE_RDTSCP is defined.
10907
10908 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10909
10910 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10911 defined.
10912
10913 [BZ #23709]
10914 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10915 independently of other flags.
10916
10917 2018-10-23 Florian Weimer <fweimer@redhat.com>
10918
10919 * time/tst-mktime2.c (N_STRINGS): Remove.
10920 (set_timezone): New function.
10921 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10922 (mktime_test1): Report localtime failure and check errno value.
10923 Use TEST_COMPARE.
10924 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10925 (do_test): Remove alarm call. Use set_timezone and array_length.
10926
10927 2018-10-23 Andreas Schwab <schwab@suse.de>
10928
10929 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10930 (__start_context): Use END instead of PSEUDO_END.
10931
10932 2018-10-22 Joseph Myers <joseph@codesourcery.com>
10933
10934 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10935 version to 4.19.
10936
10937 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10938 version to 4.19.
10939
10940 [BZ #23793]
10941 * wcsmbs/c32rtomb.c: New file.
10942 * wcsmbs/mbrtoc32.c: Likewise.
10943 * wcsmbs/tst-c32-state.c: Likewise.
10944 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
10945 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
10946 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10947 (tests): Add tst-c32-state.
10948 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10949 $(gen-locales).
10950
10951 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10952
10953 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10954 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10955
10956 2018-10-19 Joseph Myers <joseph@codesourcery.com>
10957
10958 [BZ #23794]
10959 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10960 pair and return 0 in that case, and use saved character to
10961 interpret following character.
10962 * wcsmbs/tst-c16-surrogate.c: New file.
10963 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10964 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10965 Depend on $(gen-locales)
10966
10967 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10968
10969 [BZ #23562]
10970 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10971 (struct siginfo_t): Use correct type for si_band.
10972
10973 2018-10-19 Florian Weimer <fweimer@redhat.com>
10974
10975 [BZ #23689]
10976 * resource/bits/types/struct_rusage.h (struct rusage): Update
10977 comment on struct. Remove extraneous field comment.
10978
10979 2018-10-18 David S. Miller <davem@davemloft.net>
10980
10981 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10982 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10983 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10984 sysdep_routines in subdir elf.
10985 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10986 version for __vdso_clock_gettime.
10987 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10988 Define.
10989 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10990 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10991
10992 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10993
10994 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10995
10996 * sysdeps/i386/init-arch.h: Removed.
10997 * sysdeps/i386/i586/init-arch.h: Likewise.
10998 * sysdeps/i386/i686/init-arch.h: Likewise.
10999 * sysdeps/i386/i686/hp-timing.h: Likewise.
11000 * sysdeps/x86_64/hp-timing.h: Likewise.
11001 * sysdeps/i386/isa.h: New file.
11002 * sysdeps/i386/i586/isa.h: Likewise.
11003 * sysdeps/i386/i686/isa.h: Likewise.
11004 * sysdeps/x86_64/isa.h: Likewise.
11005 * sysdeps/x86/hp-timing.h: New file.
11006 * sysdeps/x86/init-arch.h: Include <isa.h>.
11007
11008 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11009
11010 * math/libm-test-pow.inc (pow_test_data): Do not allow
11011 divide-by-zero exception for pow(+/- 0, -Inf).
11012
11013 2018-10-17 Zack Weinberg <zackw@panix.com>
11014
11015 * manual/job.texi (Job Control is Optional): Remove node, as
11016 job control has not been optional in quite some time.
11017 (Job Control): Mention briefly that systems older than
11018 POSIX.1-2001 might not support job control.
11019 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11020 defined on systems conforming to POSIX.1-2001.
11021
11022 2018-10-17 Arjun Shankar <arjun@redhat.com>
11023
11024 [BZ #22062]
11025 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11026 indentation.
11027 * (__gconv_read_conf): Mark function static.
11028 * (once): New static variable.
11029 * (__gconv_load_conf): New function.
11030 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11031 * iconv/gconv_db.c (once): Remove static variable.
11032 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11033 __gconv_read_conf.
11034 * (__gconv_find_transform): Likewise.
11035 * iconv/tst-iconv-mt.c: New test.
11036 * iconv/Makefile: Add tst-iconv_mt.
11037
11038 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11039
11040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11041 bits/shm-pad.h.
11042 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11043 (shmatt_t): Define as __syscall_ulong_t.
11044 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11045 and [__SHM_PAD_AFTER_TIME].
11046 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11047 Define shm_segsz and associated padding based on
11048 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11049 Use __syscall_ulong_t instead of unsigned long int.
11050 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11051 unsigned long int.
11052 [__USE_MISC] (struct shm_info): Likewise.
11053 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11054 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11055 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11056 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11057 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11058 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11059 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11060 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11061 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11062 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11063 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11064
11065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11066 bits/shmlba.h.
11067 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11068 (SHMLBA): Remove macro.
11069 (__getpagesize): Remove function declaration.
11070 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11071 <bits/shmlba.h>.
11072 (SHMLBA): Remove macro.
11073 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11074 <bits/shmlba.h>.
11075 (SHMLBA): Remove macro.
11076 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11077 <bits/shmlba.h>.
11078 (SHMLBA): Remove macro.
11079 (__getpagesize): Remove function declaration.
11080 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11081 <bits/shmlba.h>.
11082 (SHMLBA): Remove macro.
11083 (__getshmlba): Remove function declaration.
11084 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11085 (SHMLBA): Remove macro.
11086 (__getpagesize): Remove function declaration.
11087 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11088 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11089 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11090 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11091 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11092 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11093 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11094 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11095 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11096 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11097
11098 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11099
11100 [BZ #23275]
11101 * nptl/tst-mutex10.c: New File.
11102 * nptl/Makefile (tests): Add tst-mutex10.
11103 (tst-mutex10-ENV): New variable.
11104 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11105 Ensure that elision path is used if elision is available.
11106 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11107 Likewise.
11108 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11109 Likewise.
11110 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11111 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11112 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11113 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11114 Likewise.
11115 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11116 (__pthread_mutex_cond_lock_adjust): Likewise.
11117 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11118 Likewise.
11119 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11120 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11121 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11122 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11123 Add comments.
11124 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11125 Use atomic_load_relaxed and atomic_store_relaxed.
11126 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11127 Use atomic_store_relaxed.
11128
11129 2018-10-17 Andreas Schwab <schwab@suse.de>
11130
11131 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11132 * crypt/badsalttest.c (TIMEOUT): Likewise.
11133 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11134 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11135 * io/test-lfs.c (TIMEOUT): Likewise.
11136 * libio/tst-atime.c (TIMEOUT): Likewise.
11137 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11138 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11139 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11140 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11141 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11142 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11143 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11144 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11145 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11146 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11147 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11148 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11149 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11150 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11151 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11152 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11153 * nptl/tst-once2.c (TIMEOUT): Likewise.
11154 * nptl/tst-once3.c (TIMEOUT): Likewise.
11155 * nptl/tst-once4.c (TIMEOUT): Likewise.
11156 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11157 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11158 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11159 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11160 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11161 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11162 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11163 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11164 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11165 * posix/tst-chmod.c (TIMEOUT): Likewise.
11166 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11167 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11168 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11169 * posix/tst-regex2.c (TIMEOUT): Likewise.
11170 * posix/tst-waitid.c (TIMEOUT): Likewise.
11171 * rt/tst-aio.c (TIMEOUT): Likewise.
11172 * rt/tst-aio10.c (TIMEOUT): Likewise.
11173 * rt/tst-aio4.c (TIMEOUT): Likewise.
11174 * rt/tst-aio5.c (TIMEOUT): Likewise.
11175 * rt/tst-aio6.c (TIMEOUT): Likewise.
11176 * rt/tst-aio64.c (TIMEOUT): Likewise.
11177 * rt/tst-aio7.c (TIMEOUT): Likewise.
11178 * rt/tst-aio9.c (TIMEOUT): Likewise.
11179 * rt/tst-clock.c (TIMEOUT): Likewise.
11180 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11181 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11182 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11183 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11184 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11185 * rt/tst-timer4.c (TIMEOUT): Likewise.
11186 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11187 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11188 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11189 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11190 * time/tst-ftime.c (TIMEOUT): Likewise.
11191 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11192
11193 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11194
11195 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11196 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11197 for thunderX2.
11198
11199 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11200
11201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11202 bits/sem-pad.h.
11203 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11204 instead of <bits/wordsize.h>.
11205 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11206 and [__SEM_PAD_AFTER_TIME].
11207 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11208 __syscall_ulong_t instead of unsigned long int.
11209 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11210 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11211 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11212 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11213 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11214 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11215 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11216 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11217 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11218 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11219 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11220
11221 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11222
11223 regex: simplify by using intprops.h
11224 [BZ#23744]
11225 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11226 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11227 intprops.h defines them.
11228
11229 regex: __builtin_expect → __glibc_unlikely
11230 [BZ#23744]
11231 This refactoring was prompted by a problem when the regex code is
11232 used as part of Gnulib and when the builder’s compiler does not grok
11233 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11234 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11235 Although this refactoring does not fix the problem directly,
11236 we might as well have Gawk use the now-preferred glibc style for when
11237 __builtin_expect is unavailable.
11238 * posix/regex_internal.h (BE): Remove.
11239 All uses replaced by __glibc_unlikely or __glibc_likely.
11240
11241 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11242
11243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11244 bits/msq-pad.h.
11245 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11246 instead of <bits/wordsize.h>.
11247 (msgqnum_t): Define as __syscall_ulong_t.
11248 (msglen_t): Likewise.
11249 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11250 and [__MSQ_PAD_AFTER_TIME].
11251 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11252 __syscall_ulong_t instead of unsigned long int.
11253 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11254 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11255 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11256 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11258 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11259 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11260 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11261 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11262 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11263 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11264
11265 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11266
11267 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11268 (struct shmid_ds): Condition padding after time fields on
11269 [__WORDSIZE == 32].
11270 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11271 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11272 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11273
11274 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11275 (struct semid_ds): Condition padding after time fields on
11276 [__WORDSIZE == 32].
11277 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11278 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11279 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11280 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11281
11282 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11283 (struct msqid_ds): Condition padding after time fields on
11284 [__WORDSIZE == 32].
11285 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11286 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11287 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11288 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11289
11290 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11291
11292 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11293
11294 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11295
11296 * libio/tst-readline.c (TIMEOUT): Define.
11297
11298 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11299
11300 mktime fix for Gnulib + coreutils
11301 [BZ#23745]
11302 This fix affects only Gnulib. Problem discovered when
11303 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11304 * time/mktime.c:
11305 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11306 Do not define since it is not used. Defining an unused static
11307 function prompts a warning from GCC when Coreutils is configured
11308 with --enable-gcc-warnings.
11309
11310 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11311
11312 * benchtests/scripts/compare_bench.py (main): set float type on
11313 threshold argument.
11314
11315 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
11316
11317 [BZ #23740]
11318 * localedata/locales/kl_GL (mon): Update, the relative case.
11319 (alt_mon): Add, fill with month names in the nominative case.
11320 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11321 (d_fmt): Set to "%b %d %Y".
11322
11323 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11324
11325 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11326 <bits/mman-linux.h>.
11327 (PROT_READ): Don't define here.
11328 (PROT_WRITE): Likewise.
11329 (PROT_EXEC): Likewise.
11330 (PROT_NONE): Likewise.
11331 (PROT_GROWSDOWN): Likewise.
11332 (PROT_GROWSUP): Likewise.
11333 (MAP_SHARED): Likewise.
11334 (MAP_PRIVATE): Likewise.
11335 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11336 [__USE_MISC] (MAP_FILE): Likewise.
11337 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11338 [__USE_MISC] (MAP_ANON): Likewise.
11339 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11340 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11341 (MCL_CURRENT): Likewise.
11342 (MCL_FUTURE): Likewise.
11343 (MCL_ONFAULT): Likewise.
11344 [__USE_MISC] (MADV_NORMAL): Likewise.
11345 [__USE_MISC] (MADV_RANDOM): Likewise.
11346 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11347 [__USE_MISC] (MADV_WILLNEED): Likewise.
11348 [__USE_MISC] (MADV_DONTNEED): Likewise.
11349 [__USE_MISC] (MADV_FREE): Likewise.
11350 [__USE_MISC] (MADV_REMOVE): Likewise.
11351 [__USE_MISC] (MADV_DONTFORK): Likewise.
11352 [__USE_MISC] (MADV_DOFORK): Likewise.
11353 [__USE_MISC] (MADV_HWPOISON): Likewise.
11354 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11355 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11356 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11357 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11358 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11359 (__MAP_ANONYMOUS): New macro.
11360 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11361 <bits/mman-linux.h> inclusion.
11362 (MAP_FIXED): Likewise.
11363 (MS_SYNC): Likewise.
11364 (MS_ASYNC): Likewise.
11365 (MS_INVALIDATE): Likewise.
11366 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11367 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11368 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11369 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11370 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11371 [__USE_MISC] (MADV_DODUMP): Likewise.
11372 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11373 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11374
11375 [BZ #23735]
11376 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11377 Define.
11378 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11379 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11380 Add test-nldbl-redirect.
11381 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11382 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11383 $(objpfx)libnldbl_nonshared.a.
11384
11385 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11386
11387 * support/support.h (support_objdir_elf_ldso): New variable.
11388 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11389 * support/Makefile (CFLAGS-support_paths.c): Add definition
11390 for OBJDIR_ELF_LDSO_PATH.
11391 * support/test-container.c (main): Search for the ld.so
11392 which is also used by the testsuite.
11393
11394 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
11395
11396 [BZ #20209]
11397 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11398 should be "sap" rather than "sab".
11399 (day): Fix spelling of Sunday, should be "sapaat" rather than
11400 "sabaat".
11401
11402 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11403
11404 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11405
11406 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11407
11408 [BZ #19444]
11409 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11410 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11411 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11412
11413 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11414
11415 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11416
11417 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11418
11419 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11420 Add -mrtm.
11421 (CFLAGS-elision-unlock.c): Likewise.
11422 (CFLAGS-elision-timed.c): Likewise.
11423 (CFLAGS-elision-trylock.c): Likewise.
11424 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11425
11426 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11427
11428 [BZ #21037]
11429 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11430 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11431 new fd_to_filename interface.
11432 * libio/freopen64.c (freopen64): Likewise.
11433 * libio/tst-memstream.h: New file.
11434 * libio/tst-memstream4.c: Likewise.
11435 * libio/tst-wmemstream4.c: Likewise.
11436 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11437 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11438 and remove internal dynamic allocation.
11439
11440 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11441
11442 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11443 (MREMAP_MAYMOVE): Do not define here.
11444 [__USE_GNU] (MREMAP_FIXED): Likewise.
11445 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11446 (MREMAP_MAYMOVE): Define here instead.
11447 [__USE_GNU] (MREMAP_FIXED): Likewise.
11448 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11449 (MREMAP_MAYMOVE): Remove.
11450 [__USE_GNU] (MREMAP_FIXED): Likewise.
11451
11452 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11453
11454 * math/fromfp.h: Do not include <math_private.h>.
11455 * math/s_cacosh_template.c: Likewise.
11456 * math/s_casin_template.c: Likewise.
11457 * math/s_casinh_template.c: Likewise.
11458 * math/s_ccos_template.c: Likewise.
11459 * math/s_cproj_template.c: Likewise.
11460 * math/s_fdim_template.c: Likewise.
11461 * math/s_fmaxmag_template.c: Likewise.
11462 * math/s_fminmag_template.c: Likewise.
11463 * math/s_iseqsig_template.c: Likewise.
11464 * math/s_ldexp_template.c: Likewise.
11465 * math/s_nextdown_template.c: Likewise.
11466 * math/w_log1p_template.c: Likewise.
11467 * math/w_scalbln_template.c: Likewise.
11468 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11469 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11470 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11471 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11472 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11473 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11474 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11475 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11476 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11477 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11478 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11479 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11480 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11481 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11482 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11483 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11484 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11489 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11490 * sysdeps/ieee754/k_standardf.c: Likewise.
11491 * sysdeps/ieee754/k_standardl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11494 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11500 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11501 * sysdeps/ieee754/s_signgam.c: Likewise.
11502 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11503 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11504 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11505 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11506 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11507 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11508 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11509 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11510 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11511 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11512 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11513 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11514 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11515 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11516 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11517 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11518 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11519 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11520 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11521 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11522 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11523 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11524 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11525 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11526 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11527 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11528 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11529 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11530 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11531 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11532 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11533 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11534 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11535 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11536 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11537 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11538 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11539 <math_private.h>.
11540 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11541
11542 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11543
11544 [BZ #23716]
11545 * sysdeps/i386/dl-cet.c: Removed.
11546 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11547 prototype.
11548 (_dl_runtime_profile_shstk): Likewise.
11549 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11550 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11551
11552 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11553
11554 [BZ #23579]
11555 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11556 do_test_with_invalid_iov): New tests.
11557 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11558 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11559 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11560 errno is ENOSYS.
11561 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11562 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11563 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11564
11565 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11566
11567 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11568 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11569 (MATH_REDIRECT_BINARY_ARGS): New macro.
11570 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11571 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11572 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11573 header inclusion.
11574 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11576 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11577 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11582 Likewise.
11583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11584 Likewise.
11585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11587 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11588 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11590 Likewise.
11591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11592 Likewise.
11593 * sysdeps/generic/math_private_calls.h
11594 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11595 Do not declare and define as an inline function.
11596 * math/divtc3.c (__divtc3): Use copysign functions instead of
11597 __copysign variants.
11598 * math/multc3.c (__multc3): Likewise.
11599 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11600 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11601 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11602 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11603 Likewise.
11604 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11605 (__ieee754_yn): Likewise.
11606 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11607 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11608 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11609 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11610 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11611 (__sin): Likewise.
11612 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11614 Likewise.
11615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11616 Likewise.
11617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11618 Likewise.
11619 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11620 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11621 Likewise.
11622 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11623 (__ieee754_ynf): Likewise.
11624 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11625 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11626 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11627 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11628 Likewise.
11629 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11630 (__ieee754_ynl): Likewise.
11631 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11632 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11634 Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11636 (__ieee754_ynl): Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11641 Likewise.
11642 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11643 (__ieee754_ynl)
11644 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11645 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11646 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11647 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11648 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11649
11650 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11651 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11652 using MATH_REDIRECT.
11653 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11654 header inclusion.
11655 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11656 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11657 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11658 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11659 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11666 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11667 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11669 (round): Redirect to __round.
11670 (__roundl): Call round instead of __round.
11671 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11672 Remove macro.
11673 [_ARCH_PWR5X] (__roundf): Likewise.
11674 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11675 functions instead of __round variants.
11676 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11677 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11678 Likewise.
11679 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11680 Likewise.
11681 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11682 Likewise.
11683 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11684 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11685 __lroundl.
11686 (__ieee754_expl): Call roundl instead of __roundl.
11687
11688 2018-09-27 Andreas Schwab <schwab@suse.de>
11689
11690 [BZ #23717]
11691 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11692 (do_test): Make st1 static.
11693
11694 2018-09-26 Andreas Schwab <schwab@suse.de>
11695
11696 [BZ #23707]
11697 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11698 * elf/Makefile (tests): Add tst-unwind-ctor.
11699 (modules-names): Add tst-unwind-ctor-lib.
11700 ($(objpfx)tst-unwind-ctor): Depend on
11701 $(objpfx)tst-unwind-ctor-lib.so.
11702
11703 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11704
11705 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11706 file. Most contents moved from ....
11707 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11708 and include <bits/mman-map-flags-generic.h>.
11709 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11710 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11711 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11712 <bits/mman-map-flags-generic.h>.
11713 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11714 macros defined in <bits/mman-map-flags-generic.h>.
11715 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11716 <bits/mman-map-flags-generic.h>.
11717 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11718 defined in <bits/mman-map-flags-generic.h>.
11719
11720 2018-09-26 Andreas Schwab <schwab@suse.de>
11721
11722 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11723 output.
11724
11725 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11726 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11727 Fangrui Song <maskray@google.com>
11728
11729 [BZ #20480]
11730 * config.make.in (have-textrel_ifunc): New define.
11731 * configure.ac: Add check if linker supports textrel relocation with
11732 ifunc.
11733 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11734 tst-ifunc-textrel.
11735 (CFLAGS-tst-ifunc-textrel.c): New rule.
11736 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11737 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11738 * elf/tst-ifunc-textrel.c: New file.
11739
11740 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11741
11742 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11743 <bits/procfs-prregset.h>.
11744 (prgregset_t): Define using __prgregset_t.
11745 (prfpregset_t): Define using __prfpregset_t.
11746 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11747 (sysdep_headers): Add bits/procfs-prregset.h.
11748 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11749 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11750 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11751 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11752
11753 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11754 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11755 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11756 pr_uid and pr_gid.
11757 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11758 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11759 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11760 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11761 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11762 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11763 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11764 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11765 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11766 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11767 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11768 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11769 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11770 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11771 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11772 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11773 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11774 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11775 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11776 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11777 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11778 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11779 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11780 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11781
11782 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11783 AArch64 version. Include <bits/procfs.h>.
11784 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11785 (sysdep_headers): Add bits/procfs.h.
11786 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11787 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11788 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11789 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11790 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11791 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11792 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11793 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11794 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11795 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11796 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11797 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11798 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11799 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11800 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11801 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11802 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11803
11804 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11805
11806 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11807 Use libsupport.
11808
11809 2018-09-25 Arjun Shankar <arjun@redhat.com>
11810
11811 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11812 (__gconv_max_path_elem_len): Likewise.
11813 (__gconv_nmodules): Likewise.
11814 (__gconv_get_path): Likewise.
11815 (path_elem): Move to ...
11816 * iconv/gconv_conf.c: ... here.
11817 (__gconv_get_path): Mark function static.
11818 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11819 * iconv/gconv_open.c: ... here.
11820
11821 2018-09-24 Andreas Schwab <schwab@suse.de>
11822
11823 * scripts/haveversions.awk: New file.
11824 * Makerules ($(common-objpfx)Versions.def)
11825 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11826 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11827 Move rules ...
11828 * Makeconfig ($(common-objpfx)Versions.def)
11829 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11830 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11831 ... here.
11832 ($(common-objpfx)Versions.mk): New rule. Include it.
11833 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11834 Emit error if build-obsolete-nsl = yes.
11835 * manual/install.texi (Configuring and compiling): Describe
11836 --enable-obsolete-nsl as unavaiable after version 2.28.
11837 * INSTALL: Regenerate.
11838
11839 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11840
11841 * NEWS: Add note about new TLE support on powerpc64le.
11842 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11843 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11844 __ununsed1.
11845 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11846 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11847 * sysdeps/powerpc/powerpc32/sysdep.h,
11848 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11849 ABORT_TRANSACTION): Remove macros.
11850 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11851 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11852 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11854 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11855 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11856 usage.
11857 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11858
11859 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
11860
11861 [BZ #10425]
11862 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11863 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11864 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11865 which is the same as in it_IT.
11866 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11867 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11868
11869 2018-09-20 Joseph Myers <joseph@codesourcery.com>
11870
11871 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11872 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11873 using MATH_REDIRECT.
11874 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11875 header inclusion.
11876 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11877 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11878 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11880 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11881 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11886 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11887 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11888 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11889 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11890 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11891 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11892 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11894 (ceil): Redirect to __ceil.
11895 (floor): Redirect to __floor.
11896 (trunc): Redirect to __trunc.
11897 (__truncl): Call trunc instead of __trunc.
11898 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11899 Remove macro.
11900 [_ARCH_PWR5X] (__truncf): Likewise.
11901 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11902 trunc functions instead of __trunc variants.
11903 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11904 Likewise.
11905 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11906 Likewise.
11907 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11908 Likewise.
11909 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11910 Likewise.
11911
11912 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11913 [__i586__ || __pentium__].
11914 [__i486__]: Handle explicitly.
11915 (HAS_CPUID): Define to 1 if above macros are undefined.
11916 (HAS_I586): Likewise.
11917 (HAS_I686): Likewise.
11918
11919 2018-09-20 Florian Weimer <fweimer@redhat.com>
11920
11921 * misc/tst-gethostid.c: New file.
11922 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11923 (tst-gethostid): Link with -ldl.
11924
11925 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11926
11927 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11928 value from gethostbyname_r.
11929
11930 2018-09-19 Carlos O'Donell <carlos@redhat.com>
11931
11932 * stdlib/tst-setcontext9.c (f1): Rename to...
11933 (f1a): ... this.
11934 (f1b): New function implementing lower half of f1 in alternate stack.
11935
11936 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
11937
11938 Fix mktime localtime offset confusion
11939 [BZ #23603]
11940 * include/time.h (__mktime_internal): The localtime offset is now
11941 of type long int instead of time_t. This is the longstanding type
11942 in glibc, and it is more than enough to represent difference
11943 between localtime and gmtime even if it is 32 bits and time_t is
11944 64. Changing it now will let us avoid an unnecessary change when
11945 time_t is widened to 64 bits on 32-bit platforms.
11946 * time/mktime-internal.h (mktime_offset_t): Now long int.
11947
11948 Merge mktime, timegm from upstream Gnulib
11949 [BZ #23603][BZ #16346]
11950 This fixes some obscure problems with integer overflow.
11951 Although it looks scary, it is almost all a byte-for-byte copy
11952 from Gnulib, and the Gnulib code has been tested reasonably well.
11953 * include/intprops.h: New file, copied from Gnulib.
11954 * include/verify.h, time/mktime-internal.h:
11955 New tiny files, simplified from Gnulib.
11956 * time/mktime.c: Copy from Gnulib. This has the following changes:
11957 Do not include config.h if DEBUG_MKTIME is nonzero.
11958 Include stdbool.h, intprops.h, verify.h.
11959 Include string.h only if needed.
11960 Include stdlib.h on MS-Windows.
11961 Include mktime-internal.h.
11962 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11963 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11964 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11965 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11966 simplify later conditionals; default the others to zero. Use
11967 these conditionals to express only the code needed on the current
11968 platform. In uses of these conditionals, explicitly spell out how
11969 _LIBC affects things, so it’s easier to review from a glibc
11970 viewpoint.
11971 (WRAPV): Remove; no longer needed now that we have
11972 systematic overflow checking.
11973 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11974 compartmentalize tzset issues. Move system-dependent tzsettish
11975 code here from mktime.
11976 (verify): Remove; now done by verify.h. All uses changed.
11977 (long_int): Use a more-conservative definition, to avoid
11978 integer overflow.
11979 (SHR): Remove, replacing with ...
11980 (shr): New function, which means we needn’t worry about side
11981 effects in args, and conversion analysis is simpler.
11982 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11983 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11984 (time_t_avg, time_t_add_ok): Remove.
11985 (mktime_min, mktime_max): New constants.
11986 (leapyear, isdst_differ): Use bool for booleans.
11987 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11988 Use long_int, not time_t, for mktime differences.
11989 (long_int_avg): New function, replacing time_t_avg.
11990 INT_ADD_WRAPV replaces time_t_add_ok.
11991 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11992 All uses changed.
11993 (convert_time): New function.
11994 (ranged_convert): Use it.
11995 (__mktime_internal): Last arg now points to mktime_offset_t, not
11996 time_t. All uses changed. This is a no-op on glibc, where
11997 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11998 offset guess. Directly check for integer overflow instead of
11999 using a heuristic that works only 99.9...% of the time.
12000 Access *OFFSET only once, to avoid an unlikely race if the
12001 compiler delays a load and if this cascades into a signed integer
12002 overflow.
12003 (mktime): Move tzsettish code to my_tzset, and move
12004 localtime_offset to within mktime so that it doesn’t
12005 need a separate ifdef.
12006 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12007 instead of localtime.
12008 * time/timegm.c: Copy from Gnulib. This has the following changes:
12009 Include mktime-internal.h.
12010 [!_LIBC]: Include config.h and time.h. Do not include
12011 timegm.h or time_r.h. Make __mktime_internal a macro,
12012 and include mktime-internal.h to get its declaration.
12013 (timegm): Temporary is now mktime_offset_t, not time_t.
12014 This affects only Gnulib.
12015
12016 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12017
12018 [BZ #23637]
12019 * string/test-strstr.c (pr23637): New function.
12020 (test_main): Add tests with longer needles.
12021 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12022 * string/strstr.c (AVAILABLE): Likewise.
12023
12024 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12025
12026 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12027
12028 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12029
12030 * NEWS: Mention pow improvements.
12031 * math/Makefile (type-double-routines): Add e_pow_log_data.
12032 * sysdeps/generic/math_private.h (__exp1): Remove.
12033 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12034 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12035 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12036 contraction.
12037 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12038 (exp_inline): Remove.
12039 (__ieee754_exp): Only single double input is handled.
12040 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12041 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12042 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12043 (__pow_log_data): Define.
12044 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12045 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12046 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12047 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12048 contraction.
12049 (CFLAGS-e_pow-fma4.c): Likewise.
12050
12051 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12052
12053 Simplify tzfile fstat failure code
12054 [BZ #21716]
12055 * time/tzfile.c (__tzfile_read): Simplify slightly.
12056
12057 Fix tzfile low-memory assertion failure
12058 [BZ #21716]
12059 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12060 when registering time zone abbreviations.
12061
12062 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12063
12064 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12065 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12066 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12067 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12068 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12069 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12070 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12071 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12072 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12073
12074 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12075 __ceil.
12076 (__ceill): Call ceil instead of __ceil.
12077 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12078 __floor.
12079 (__floorl): Call floor instead of __floor.
12080
12081 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12082
12083 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12084 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12085 using MATH_REDIRECT.
12086 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12087 header inclusion.
12088 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12091 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12092 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12095 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12100 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12101 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12104 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12105 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12106 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12107 Remove macro.
12108 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12109 functions instead of __ceil variants.
12110 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12111 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12112 Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12114 Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12116 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12117 Likewise.
12118 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12119 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12120
12121 [BZ #21286]
12122 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12123 constant.
12124 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12125 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12126 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12127 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12128 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12129 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12130 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12131 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12132 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12133 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12134 (ILL_BADIADDR): Remove constant.
12135 (TRAP_BRANCH): Likewise.
12136 (TRAP_HWBKPT): Likewise.
12137
12138 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12139
12140 [BZ #23656]
12141 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12142 Remove [_MIPS_SIM = _ABIN32] conditional case.
12143 (struct elf_prpsinfo): Likewise.
12144
12145 [BZ #23649]
12146 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12147 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12148 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12149 Likewise.
12150 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12151 elf_prpsinfo): Likewise.
12152 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12153 elf_prpsinfo): Likewise.
12154 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12155 Likewise.
12156
12157 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12158 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12159 using MATH_REDIRECT.
12160 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12161 header inclusion.
12162 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12163 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12164 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12165 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12166 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12167 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12168 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12169 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12172 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12173 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12174 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12175 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12176 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12177 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12178 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12179 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12180 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12185 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12186 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12187 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12188 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12189 __rint variants.
12190 * math/e_scalbf.c (invalid_fn): Likewise.
12191 * math/e_scalbl.c (invalid_fn): Likewise.
12192 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12193 Likewise.
12194 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12195 Likewise.
12196 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12197 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12198 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12199 Likewise.
12200 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12201 Likewise.
12202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12203 Likewise.
12204 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12205 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12206
12207 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12208 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12209 New macro.
12210 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12211 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12212 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12213 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12214 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12215 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12216 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12217 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12218 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12219 && !NO_MATH_REDIRECT] (floor): Likewise.
12220 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12221 header inclusion.
12222 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12225 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12226 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12227 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12229 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12234 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12235 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12238 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12239 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12240 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12241 Remove macro.
12242 [_ARCH_PWR5X] (__floorf): Likewise.
12243 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12244 inline function.
12245 [__SSE4_1__] (__floorf): Likewise.
12246 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12247 instead of __floor variants.
12248 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12249 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12250 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12251 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12252 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12253 * math/w_tgamma_compat.c (__tgamma): Likewise.
12254 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12255 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12256 * math/w_tgammal_compat.c (__tgammal): Likewise.
12257 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12258 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12259 Likewise.
12260 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12261 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12262 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12264 Likewise.
12265 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12266 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12267 Likewise.
12268 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12270 Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12273 Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12276 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12277 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12278 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12279 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12280
12281 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12282
12283 * elf/Makefile (modules-names-tests): New variable.
12284
12285 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12286
12287 * NEWS: Mention log2 improvements.
12288 * math/Makefile (type-double-routines): Add e_log2_data.
12289 * sysdeps/i386/fpu/e_log2_data.c: New file.
12290 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12291 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12292 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12293 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12294 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12295 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12296
12297 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12298
12299 * NEWS: Mention log improvement.
12300 * math/Makefile (type-double-routines): Add e_log_data.
12301 * sysdeps/i386/fpu/e_log_data.c: New file.
12302 * sysdeps/ia64/fpu/e_log_data.c: New file.
12303 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12304 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12305 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12306 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12307 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12308 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12309
12310 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12311 Xuepeng Guo <xuepeng.guo@intel.com>
12312
12313 [BZ #23606]
12314 * sysdeps/i386/start.S: Include <sysdep.h>
12315 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12316 enabled. Add cfi_undefined (eip).
12317
12318 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12319
12320 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12321 (MOVQ): Likewise.
12322 (EXTRACT_WORDS64): Likewise.
12323 (INSERT_WORDS64): Likewise.
12324 (GET_FLOAT_WORD): Likewise.
12325 (SET_FLOAT_WORD): Likewise.
12326
12327 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12328 argument.
12329 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12330 build, but not for second build if --full-gcc. Use
12331 --enable-languages=all for second build if --full-gcc.
12332 (get_parser): Add --full-gcc option.
12333 (main): Update call to Context.
12334
12335 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
12336
12337 [BZ #10797]
12338 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12339 Single Quotation Mark).
12340 (thousands_sep): Likewise.
12341 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12342 * localedata/locales/it_IT (thousands_sep): Use ".".
12343 (grouping): Use "3;3".
12344
12345 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12346
12347 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12348 x86_64 and i686 configs using --enable-obsolete-rpc
12349 --enable-obsolete-nsl.
12350
12351 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12352
12353 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12354
12355 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12356
12357 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12358 Increment size of new_argv by one.
12359
12360 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
12361
12362 [BZ #17426]
12363 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12364 * localedata/locales/ar_IN (d_fmt): Likewise.
12365 * localedata/locales/bhb_IN (d_fmt): Likewise.
12366 * localedata/locales/bho_IN (d_fmt): Likewise.
12367 * localedata/locales/bn_BD (d_fmt): Likewise.
12368 * localedata/locales/bn_IN (d_fmt): Likewise.
12369 * localedata/locales/doi_IN (d_fmt): Likewise.
12370 * localedata/locales/gu_IN (d_fmt): Likewise.
12371 * localedata/locales/hi_IN (d_fmt): Likewise.
12372 * localedata/locales/hne_IN (d_fmt): Likewise.
12373 * localedata/locales/kn_IN (d_fmt): Likewise.
12374 * localedata/locales/mag_IN (d_fmt): Likewise.
12375 * localedata/locales/mai_IN (d_fmt): Likewise.
12376 * localedata/locales/mjw_IN (d_fmt): Likewise.
12377 * localedata/locales/ml_IN (d_fmt): Likewise.
12378 * localedata/locales/mni_IN (d_fmt): Likewise.
12379 * localedata/locales/mr_IN (d_fmt): Likewise.
12380 * localedata/locales/pa_IN (d_fmt): Likewise.
12381 * localedata/locales/raj_IN (d_fmt): Likewise.
12382 * localedata/locales/sat_IN (d_fmt): Likewise.
12383 * localedata/locales/sd_IN (d_fmt): Likewise.
12384 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12385 * localedata/locales/ta_IN (d_fmt): Likewise.
12386 * localedata/locales/ta_LK (d_fmt): Likewise.
12387 * localedata/locales/tcy_IN (d_fmt): Likewise.
12388 * localedata/locales/ur_IN (d_fmt): Likewise.
12389
12390 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12391 * localedata/locales/ks_IN (d_fmt): Likewise.
12392 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12393
12394 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12395 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12396 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12397 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12398
12399 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12400
12401 * NEWS: Mention exp and exp2 improvements.
12402 * math/Makefile (libm-support): Remove t_exp.
12403 (type-double-routines): Add math_err and e_exp_data.
12404 * sysdeps/aarch64/libm-test-ulps: Update.
12405 * sysdeps/arm/libm-test-ulps: Update.
12406 * sysdeps/i386/fpu/e_exp_data.c: New file.
12407 * sysdeps/i386/fpu/math_err.c: New file.
12408 * sysdeps/i386/fpu/t_exp.c: Remove.
12409 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12410 * sysdeps/ia64/fpu/math_err.c: New file.
12411 * sysdeps/ia64/fpu/t_exp.c: Remove.
12412 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12413 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12414 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12416 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12417 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12418 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12419 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12420 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12421 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12422 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12423 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12424 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12425 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12428
12429 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12430
12431 * sysdeps/alpha/fpu/math_private.h: Remove.
12432
12433 * sysdeps/generic/math_private.h
12434 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12435 Move this inline function ....
12436 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12437 * include/math.h [!_ISOMAC]: To here....
12438
12439 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12440
12441 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12442 code ....
12443 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12444 * include/fenv.h [!_ISOMAC]: ... to here.
12445 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12446 (feraiseexcept): Likewise.
12447 * math/fromfp.h: Do not include <fenv_private.h>.
12448 * math/s_cexp_template.c: Likewise.
12449 * math/s_csin_template.c: Likewise.
12450 * math/s_csinh_template.c: Likewise.
12451 * math/s_ctan_template.c: Likewise.
12452 * math/s_ctanh_template.c: Likewise.
12453 * math/s_iseqsig_template.c: Likewise.
12454 * math/w_acos_compat.c: Likewise.
12455 * math/w_acosf_compat.c: Likewise.
12456 * math/w_acosl_compat.c: Likewise.
12457 * math/w_asin_compat.c: Likewise.
12458 * math/w_asinf_compat.c: Likewise.
12459 * math/w_asinl_compat.c: Likewise.
12460 * math/w_j0_compat.c: Likewise.
12461 * math/w_j0f_compat.c: Likewise.
12462 * math/w_j0l_compat.c: Likewise.
12463 * math/w_j1_compat.c: Likewise.
12464 * math/w_j1f_compat.c: Likewise.
12465 * math/w_j1l_compat.c: Likewise.
12466 * math/w_jn_compat.c: Likewise.
12467 * math/w_jnf_compat.c: Likewise.
12468 * math/w_log10_compat.c: Likewise.
12469 * math/w_log10f_compat.c: Likewise.
12470 * math/w_log10l_compat.c: Likewise.
12471 * math/w_log2_compat.c: Likewise.
12472 * math/w_log2f_compat.c: Likewise.
12473 * math/w_log2l_compat.c: Likewise.
12474 * math/w_log_compat.c: Likewise.
12475 * math/w_logf_compat.c: Likewise.
12476 * math/w_logl_compat.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12479 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12480 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12481 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12482 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12483 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12484 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12485 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12486 * sysdeps/ieee754/k_standardl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12497 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12499 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12504 * math/w_ilogb_template.c: Include <fenv.h> instead of
12505 <fenv_private.h>.
12506 * math/w_llogb_template.c: Likewise.
12507 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12509
12510 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12511
12512 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12513 * math/fromfp.h: Include <fenv_private.h>.
12514 * math/math-narrow.h: Likewise.
12515 * math/s_cexp_template.c: Likewise.
12516 * math/s_csin_template.c: Likewise.
12517 * math/s_csinh_template.c: Likewise.
12518 * math/s_ctan_template.c: Likewise.
12519 * math/s_ctanh_template.c: Likewise.
12520 * math/s_iseqsig_template.c: Likewise.
12521 * math/w_acos_compat.c: Likewise.
12522 * math/w_acosf_compat.c: Likewise.
12523 * math/w_acosl_compat.c: Likewise.
12524 * math/w_asin_compat.c: Likewise.
12525 * math/w_asinf_compat.c: Likewise.
12526 * math/w_asinl_compat.c: Likewise.
12527 * math/w_ilogb_template.c: Likewise.
12528 * math/w_j0_compat.c: Likewise.
12529 * math/w_j0f_compat.c: Likewise.
12530 * math/w_j0l_compat.c: Likewise.
12531 * math/w_j1_compat.c: Likewise.
12532 * math/w_j1f_compat.c: Likewise.
12533 * math/w_j1l_compat.c: Likewise.
12534 * math/w_jn_compat.c: Likewise.
12535 * math/w_jnf_compat.c: Likewise.
12536 * math/w_llogb_template.c: Likewise.
12537 * math/w_log10_compat.c: Likewise.
12538 * math/w_log10f_compat.c: Likewise.
12539 * math/w_log10l_compat.c: Likewise.
12540 * math/w_log2_compat.c: Likewise.
12541 * math/w_log2f_compat.c: Likewise.
12542 * math/w_log2l_compat.c: Likewise.
12543 * math/w_log_compat.c: Likewise.
12544 * math/w_logf_compat.c: Likewise.
12545 * math/w_logl_compat.c: Likewise.
12546 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12547 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12548 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12549 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12552 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12553 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12558 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12559 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12565 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12566 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12567 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12568 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12569 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12571 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12572 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12573 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12574 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12575 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12576 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12577 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12578 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12579 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12580 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12581 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12582 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12583 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12584 * sysdeps/ieee754/k_standardl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12610 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12611 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12615 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12616 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12621 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12622 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12623 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12624 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12625 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12626 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12627 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12628 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12629 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12630 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12631 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12632 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12633 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12634 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12635 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12636 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12637 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12638 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12639 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12640 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12641 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12642 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12643 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12644 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12645 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12646 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12647 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12648 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12649 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12650 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12651 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12652 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12653 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12654 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12655 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12656
12657 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12658
12659 [BZ #20271]
12660 * include/stdio.h (__libc_fatal): Mention newline in comment.
12661 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12662 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12663 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12664 * nss/nsswitch.c (__nss_next2): Likewise.
12665 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12666 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12667 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12668 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12669 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12670 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12671 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12672 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12673 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12674 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12675 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12676 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12677 (__netlink_assert_response): Likewise.
12678
12679 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12680
12681 * conform/glibcconform.py: New file.
12682 * conform/list-header-symbols.py: Likewise.
12683 * conform/list-header-symbols.pl: Remove.
12684 * conform/Makefile (tests-special): Only add linknamespace tests
12685 if [PYTHON].
12686 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12687
12688 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 [BZ #23597]
12691 * support/Makefile (libsupport-routines): Add
12692 support_copy_file_range and xcopy_file_range.
12693 * support/support.h: Include <sys/types.h>.
12694 (support_copy_file_range): New prototype.
12695 * support/support_copy_file_range.c: New file. Copied and
12696 modified from io/copy_file_range-compat.c.
12697 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12698 instead of copy_file_range.
12699 * support/xcopy_file_range.c: New file.
12700 * support/xunistd.h (xcopy_file_range): New prototype.
12701
12702 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12703
12704 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12705 xpthread_create and xpthread_join.
12706
12707 2018-08-30 Florian Weimer <fweimer@redhat.com>
12708
12709 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12710
12711 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12712
12713 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12714 if malloc fails.
12715
12716 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12717
12718 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12719 and minus_oflow as non-finite.
12720
12721 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12722
12723 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12724 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12725 moved to fenv_private.h except for ...
12726 (TOINT_INTRINSICS): Kept in math_private.h.
12727 (roundtoint): Likewise.
12728 (converttoint): Likewise.
12729 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12730 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12731 * sysdeps/arm/math_private.h: Remove.
12732 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12733 ....
12734 * sysdeps/generic/math_private.h: ... this file. Include
12735 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12736 Include <fenv_private.h>. Remove functions and macros moved to
12737 fenv_private.h.
12738 * sysdeps/i386/fpu/math_private.h: Remove.
12739 * sysdeps/mips/math_private.h: Move to ....
12740 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12741 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12742 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12743 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12744 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12745 * sysdeps/powerpc/fpu/math_private.h: Do not include
12746 <fenv_private.h>.
12747 * sysdeps/riscv/rvf/math_private.h: Move to ....
12748 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12749 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12750 <fenv_private.h>.
12751 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12752 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12753 * sysdeps/sparc/fpu/math_private.h: Remove.
12754 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12755 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12756 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12757 <fenv_private.h>.
12758 * sysdeps/x86_64/fpu/math_private.h: Do not include
12759 <sysdeps/i386/fpu/fenv_private.h>.
12760
12761 2018-08-28 Florian Weimer <fweimer@redhat.com>
12762
12763 [BZ #23578]
12764 * posix/tst-regcomp-truncated.c: New file.
12765 * posix/Makefile (tests): Add it.
12766 (tst-regcomp-truncated.out): Depend on generated locales.
12767
12768 2018-08-28 Florian Weimer <fweimer@redhat.com>
12769
12770 * support/test-container.c (main): Treat unshare failure with
12771 EPERM as an unsupported test.
12772
12773 2018-08-28 Florian Weimer <fweimer@redhat.com>
12774
12775 [BZ #23520]
12776 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12777 * nscd/netgroupcache.c
12778 (addgetnetgrentX): Add tofreep parameter. Do not free
12779 heap-allocated buffer.
12780 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12781 (addgetnetgrentX_ignore): New function.
12782 (addgetnetgrent): Call it.
12783 (readdgetnetgrent): Likewise.
12784
12785 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12786
12787 * string/memmem.c: Use memcmp for first match.
12788
12789 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
12790
12791 [BZ #17426]
12792 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12793
12794 2018-08-27 DJ Delorie <dj@redhat.com>
12795
12796 * support/Makefile (others): Don't list programs explicitly as a
12797 dependency of "others".
12798
12799 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12800
12801 * sysdeps/generic/math-tests-trap-force.h: New file.
12802 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12803 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12804 * sysdeps/powerpc/math-tests.h: Remove file.
12805 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12806
12807 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12808 Torvald Riegel <triegel@redhat.com>
12809
12810 [BZ #23538]
12811 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12812 Update r to include the set wake-request flag if waiters are
12813 remaining after spinning.
12814
12815 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12816
12817 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12818
12819 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12820
12821 [BZ #23578]
12822 regex: fix uninitialized memory access
12823 I introduced this bug into gnulib in commit
12824 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12825 eventually it was merged into glibc. The bug was found by
12826 project-repo <bugs@feusi.co> and reported here:
12827 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12828 Diagnosis and draft fix reported by Assaf Gordon here:
12829 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12830 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12831 * posix/regex_internal.c (build_wcs_upper_buffer):
12832 Fix bug when mbrtowc returns 0.
12833
12834 2018-08-24 Carlos O'Donell <carlos@redhat.com>
12835
12836 * po/be.po: Update translation.
12837
12838 2018-08-24 DJ Delorie <dj@delorie.com>
12839
12840 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12841 $(libunwind).
12842
12843 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12844
12845 [BZ #23400]
12846 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12847 create temporary files in source tree.
12848
12849 2018-08-24 Joseph Myers <joseph@codesourcery.com>
12850
12851 * sysdeps/generic/math-tests-trap.h: New file.
12852 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12853 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12854 * sysdeps/aarch64/math-tests.h: Remove file.
12855 * sysdeps/arm/math-tests.h: Likewise.
12856 * sysdeps/riscv/math-tests.h: Likewise.
12857 * sysdeps/aarch64/math-tests-trap.h: New file.
12858 * sysdeps/arm/math-tests-trap.h: Likewise.
12859 * sysdeps/riscv/math-tests-trap.h: Likewise.
12860
12861 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12862
12863 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12864 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12865 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12866 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12867 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12868 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12870 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12873 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12874 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12875 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12876 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12877 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12878 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12879 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12880 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12881
12882 2018-08-23 Joseph Myers <joseph@codesourcery.com>
12883
12884 * sysdeps/generic/math-tests-exceptions.h: New file.
12885 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12886 (EXCEPTION_TESTS_float): Do not define here.
12887 (EXCEPTION_TESTS_double): Likewise.
12888 (EXCEPTION_TESTS_long_double): Likewise.
12889 (EXCEPTION_TESTS_float128): Likewise.
12890 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12891 Likewise.
12892 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12893 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12894 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12895 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12896 * sysdeps/mips/math-tests.h: Likewise.
12897 * sysdeps/nios2/math-tests.h: Likewise.
12898 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12899 (EXCEPTION_TESTS_float): Do not define here.
12900 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12901 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12902 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12903
12904 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12905
12906 * NEWS: Move optimized sinf entry to 2.29.
12907
12908 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12909
12910 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12911
12912 2018-08-22 DJ Delorie <dj@redhat.com>
12913
12914 * Makefile (testroot.pristine): New rules to initialize the
12915 test-in-container "testroot".
12916 * Makerules (all-testsuite): Add tests-container.
12917 * Rules (tests-expected): Add tests-container.
12918 (binaries-all-tests): Likewise.
12919 (tests-container): New, run these tests in the testroot container.
12920 * support/Makefile (others): Add *-container, support_paths.c,
12921 xmkdirp, and links-dso-program.
12922 * support/links-dso-program-c.c: New.
12923 * support/links-dso-program.cc: New.
12924 * support/test-container.c: New.
12925 * support/shell-container.c: New.
12926 * support/echo-container.c: New.
12927 * support/true-container.c: New.
12928 * support/xmkdirp.c: New.
12929 * support/xsymlink.c: New.
12930 * support/support_paths.c: New.
12931 * support/support.h: Add support paths prototypes.
12932 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12933
12934 * nss/tst-nss-test3.c: Convert to test-in-container.
12935 * nss/tst-nss-test3.root/: New.
12936
12937 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
12938
12939 regex: port Gnulib code to z/OS POSIX environment
12940 Problem reported by Arnold Robbins in:
12941 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
12942 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
12943 Undef.
12944
12945 2018-08-22 Joseph Myers <joseph@codesourcery.com>
12946
12947 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12948 (ROUNDING_TESTS_double): Remove.
12949 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12950 (ROUNDING_TESTS_double): Remove.
12951 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12952 (ROUNDING_TESTS_double): Remove.
12953 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12954 (ROUNDING_TESTS_float): Remove.
12955 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12956 (ROUNDING_TESTS_float): Remove.
12957 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12958 (ROUNDING_TESTS_float): Remove.
12959 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12960 !TEST_MATHVEC here.
12961 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12962 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12963
12964 * sysdeps/generic/math-tests-rounding.h: New file.
12965 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12966 (ROUNDING_TESTS_float): Do not define here.
12967 (ROUNDING_TESTS_double): Likewise.
12968 (ROUNDING_TESTS_long_double): Likewise.
12969 (ROUNDING_TESTS_float128): Likewise.
12970 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12971 (ROUNDING_TESTS_double): Undefine before defining.
12972 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12973 (ROUNDING_TESTS_double): Undefine before defining.
12974 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12975 (ROUNDING_TESTS_double): Undefine before defining.
12976 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12977 (ROUNDING_TESTS_float): Undefine before defining.
12978 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12979 (ROUNDING_TESTS_float): Undefine before defining.
12980 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12981 (ROUNDING_TESTS_float): Undefine before defining.
12982 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12983 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12984 not define here.
12985 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12986 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12987 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12988 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12989 (ROUNDING_TESTS_float): Do not define here.
12990 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12991 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12992 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12993 (ROUNDING_TESTS_float): Likewise.
12994 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12995 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12996 * sysdeps/mips/math-tests.h [__mips_soft_float]
12997 (ROUNDING_TESTS_float): Likewise.
12998 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12999 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13000 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13001 (ROUNDING_TESTS_double): Likewise.
13002 (ROUNDING_TESTS_long_double): Likewise.
13003
13004 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13005
13006 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13007 (PF_XDP): New macro.
13008 (AF_XDP): New macro.
13009 (SOL_XDP): New macro.
13010
13011 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13012
13013 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13014 (TCP_INQ): Likewise.
13015 (TCP_CM_INQ): Likewise.
13016 (TCP_REPAIR_ON): Likewise.
13017 (TCP_REPAIR_OFF): Likewise.
13018 (TCP_REPAIR_OFF_NO_WP): Likewise.
13019 (struct tcp_zerocopy_receive): New type.
13020
13021 2018-08-21 Florian Weimer <fweimer@redhat.com>
13022
13023 * support/support.h (support_descriptor_supports_holes): Declare.
13024 * support/Makefile (libsupport-routines): Add
13025 support_descriptor_supports_holes.
13026 * support/support_descriptor_supports_holes.c: New file.
13027 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13028 and stop testing if holes are not supported.
13029 * io/test-lfs.c (do_prepare): Likewise.
13030 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13031 Likewise.
13032 * timezone/tst-tzset.c (create_tz_file): Likewise.
13033 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13034 variable.
13035 (do_prepare): Set it.
13036 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13037
13038 2018-08-21 Florian Weimer <fweimer@redhat.com>
13039
13040 [BZ #17248]
13041 * Makeconfig (+cflags): Do not sort (and deduplicate).
13042
13043 2018-08-21 Florian Weimer <fweimer@redhat.com>
13044
13045 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13046 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13047
13048 2018-08-20 Florian Weimer <fweimer@redhat.com>
13049
13050 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13051 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13052
13053 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13054
13055 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13056 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13057 and ssi_arch members.
13058
13059 * elf/elf.c (NT_VMCOREDD): New macro.
13060 (AT_MINSIGSTKSZ): Likewise.
13061
13062 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13063
13064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13065 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13066 s_cosf-ppc64 and s_cosf-power8.
13067 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13068 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13069 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13070 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13077 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13078 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13079
13080 2018-08-17 Florian Weimer <fweimer@redhat.com>
13081
13082 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13083
13084 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13085
13086 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13087
13088 2018-08-16 Florian Weimer <fweimer@redhat.com>
13089
13090 * configure.ac: Add --with-nonshared-cflags option.
13091 * config.make.in (extra-nonshared-cflags): Set variable.
13092 * Makeconfig (CFLAGS-.oS): Use it.
13093 * manual/install.texi (Configuring and compiling): Document
13094 --with-nonshared-cflags.
13095 * configure: Regenerate.
13096 * INSTALL: Likewise.
13097
13098 2018-08-16 Florian Weimer <fweimer@redhat.com>
13099
13100 * Makeconfig (ASFLAGS): Always append required assembler flags.
13101
13102 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13103
13104 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13105 (malloc_consolidate): Likewise.
13106
13107 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13108
13109 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13110
13111 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13112
13113 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13114 every strlen call.
13115
13116 * benchtests/bench-strlen.c: Print performance numbers in json.
13117
13118 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13119
13120 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13121 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13122 only for little endian.
13123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13124 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13125 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13126 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13127 Add check for little endian.
13128 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13129 (__strcmp_power9): Add check for little endian.
13130 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13131 Add check for little endian.
13132 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13133 (__strncmp_power9): Add check for little endian.
13134 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13135 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13136 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13137 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13138 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13139
13140 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13141
13142 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13143 [!STRLEN](STRLEN): Set to __strlen.
13144 * sysdeps/aarch64/multiarch/strlen.c: New file.
13145 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13146 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13147 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13148 (__libc_ifunc_impl_list): Add strlen.
13149 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13150 strlen_generic and strlen_asimd.
13151
13152 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13153
13154 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13155 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13156 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13157
13158 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13159
13160 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13161
13162 2018-08-14 Florian Weimer <fweimer@redhat.com>
13163
13164 [BZ #23519]
13165 * include/stdio.h (__vfxprintf): Declare.
13166 * stdio-common/fxprintf.c (__vfxprintf): New function.
13167 (__fxprintf): Call it.
13168 * misc/err.c (convert_and_print): Remove function.
13169 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13170 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13171 * misc/Makefile (tests): Add tst-warn-wide.
13172 * misc/tst-warn-wide.c: New file.
13173
13174 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13175 Szabolcs Nagy <szabolcs.nagy@arm.com>
13176
13177 * NEWS: Mention sinf, cosf, sincosf.
13178 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13179 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13180 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13181 constants rather than including generic sincosf.h.
13182 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13183 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13184 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13185 (reduced_cos): Remove.
13186 (sinf_poly): New function.
13187 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13188
13189 2018-08-14 Florian Weimer <fweimer@redhat.com>
13190
13191 [BZ #23521]
13192 [BZ #23522]
13193 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13194 processing, bail out if no room, and close the stream before
13195 returning ERANGE.
13196 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13197 (tst-nss-files-alias-leak): Link with libdl.
13198 (tst-nss-files-alias-leak.out): Depend on nss_files.
13199
13200 * nss/tst-nss-files-alias-leak.c: New file.
13201
13202 2018-08-14 Florian Weimer <fweimer@redhat.com>
13203
13204 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13205 server_user, stat_user.
13206
13207 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13208
13209 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13210 version to 4.18.
13211 (io_pgetevents): New syscall.
13212 (rseq): Likewise.
13213
13214 * manual/install.texi (Configuring and compiling): Do not list
13215 tools used for testing pretty printers here.
13216 (Tools for Compilation): List Python, PExpect and GDB here.
13217 Update descriptions of uses of Perl and Python.
13218 * INSTALL: Regenerate.
13219
13220 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13221 version to 4.18.
13222
13223 2018-08-13 Florian Weimer <fweimer@redhat.com>
13224
13225 * misc/error.c (error): Add missing va_end call.
13226 (error_at_line): Likewise.
13227
13228 2018-08-13 Florian Weimer <fweimer@redhat.com>
13229
13230 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13231
13232 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13233
13234 * benchtests/scripts/benchout.schema.json (properties): Add
13235 new properties.
13236
13237 * benchtests/bench-skeleton.c (main): Add duration and
13238 iterations attributes.
13239
13240 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13241
13242 regex: Gnulib unibyte RRI uses bytes not chars
13243 Adjust the non-glibc code to agree with what Gawk needs for
13244 rational range interpretation (RRI) for regular expression ranges.
13245 In unibyte locales, Gawk wants ranges to use the underlying byte
13246 rather than the character code point. This change does not affect
13247 glibc proper.
13248 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13249 In unibyte locales, use the byte value rather than
13250 running it through btowc.
13251
13252 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13253
13254 * sysdeps/generic/math-tests-snan.h: New file.
13255 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13256 (SNAN_TESTS_float): Do not define here.
13257 (SNAN_TESTS_double): Likewise.
13258 (SNAN_TESTS_long_double): Likewise.
13259 (SNAN_TESTS_float128): Likewise.
13260 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13261 * sysdeps/i386/fpu/math-tests.h: Remove file.
13262 * sysdeps/ia64/math-tests-snan.h: New file.
13263 * sysdeps/ia64/math-tests.h: Remove file.
13264 * sysdeps/x86/math-tests.h: Likewise.
13265 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13266
13267 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13268 Szabolcs Nagy <szabolcs.nagy@arm.com>
13269
13270 * math/Makefile: Add s_sincosf_data.c.
13271 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13272 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13273 (sincosf_poly): Likewise.
13274 (reduce_small): Likewise.
13275 (reduce_large): Likewise.
13276 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13277 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13278 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13279 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13280
13281 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13282 Szabolcs Nagy <szabolcs.nagy@arm.com>
13283
13284 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13285 (converttoint): Use lround.
13286 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13287 document the semantics when TOINT_INTRINSICS is set.
13288 (converttoint): Likewise.
13289 (TOINT_RINT): Remove.
13290 (TOINT_SHIFT): Remove.
13291 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13292 path.
13293
13294 2018-08-10 Florian Weimer <fweimer@redhat.com>
13295
13296 [BZ #23497]
13297 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13298 function.
13299 (__old_getdents64): Use getdents64. Convert entries without
13300 moving them.
13301 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13302 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13303 tst-readdir64-compat.
13304
13305 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13306
13307 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13308 Fix unwind.
13309
13310 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13311
13312 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13313 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13314 code to s390x-mcount.h and #include it.
13315 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13316 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13317 (__fentry__): Add.
13318
13319 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13320
13321 * stdlib/Versions: Remove __fentry__.
13322 * sysdeps/i386/Versions: Add __fentry__.
13323 * sysdeps/x86_64/Versions: Add __fentry__.
13324
13325 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13326
13327 * sysdeps/s390/Makefile: Register the new tests.
13328 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13329 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13330 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13331 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13332 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13333 * sysdeps/s390/tst-dl-runtime.c: New file.
13334
13335 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13336
13337 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13338 Do not clobber R0.
13339
13340 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13341
13342 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13343 Do not clobber R0.
13344
13345 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13346
13347 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13348 Do not clobber R0.
13349
13350 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13351
13352 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13353 Do not clobber R0.
13354
13355 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13356
13357 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13358 Use symbolic offsets for stack variables.
13359
13360 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13361
13362 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13363 Use symbolic offsets for stack variables.
13364
13365 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13366
13367 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13368 Use symbolic offsets for stack variables.
13369
13370 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13371
13372 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13373 Use symbolic offsets for stack variables.
13374
13375 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13376
13377 * math/gen-libm-test.py: New file.
13378 * math/gen-libm-test.pl: Remove.
13379 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13380 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13381 gen-libm-test.pl.
13382 ($(libm-test-c-noauto-obj)): Likewise.
13383 ($(libm-test-c-auto-obj)): Likewise.
13384 ($(libm-test-c-narrow-obj)): Likewise.
13385 (regen-ulps): Likewise.
13386 * math/README.libm-test: Update references to gen-libm-test.pl.
13387 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13388 referencing gen-libm-test.pl.
13389 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13390 * math/libm-test-support.c: Likewise.
13391 * math/libm-test-support.h: Likewise.
13392 * sysdeps/generic/libm-test-ulps: Likewise.
13393
13394 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13395
13396 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13397 Fix value.
13398
13399 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13400
13401 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13402 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13403
13404 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13405
13406 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13407 symbols.
13408 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13409 __pthread_setspecific): Add hidden proto.
13410 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13411 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13412
13413 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13414
13415 * benchtests/bench-string.h (buf1_size, buf2_size): New
13416 variables.
13417 (init_sizes): New function.
13418 (test_init): Use it.
13419 (alloc_buf, exit_error): New functions.
13420 (alloc_bufs): Use ALLOC_BUF.
13421 (realloc_bufs): Remove.
13422 * benchtests/bench-memcmp.c (do_test): Adjust.
13423 * benchtests/bench-memset-large.c (do_test): Likewise.
13424 * benchtests/bench-memset-walk.c (do_test): Likewise.
13425 * benchtests/bench-memset.c (do_test): Likewise.
13426 * benchtests/bench-strncmp.c (do_test): Likewise.
13427
13428 2018-08-06 Andreas Schwab <schwab@suse.de>
13429
13430 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13431 of CONST_THREAD_AREA.
13432
13433 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13434
13435 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13436 (STATE_SAVE_MASK): Likewise.
13437 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13438 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13439 (STATE_SAVE_MASK): Likewise.
13440 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13441 instead of <cpu-features.h>.
13442
13443 2018-08-03 DJ Delorie <dj@redhat.com>
13444
13445 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13446 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13447
13448 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13449
13450 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13451
13452 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13453 after TEST_* calls.
13454 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13455 * math/libm-test-logb.inc (logb_test_data): Likewise.
13456
13457 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13458
13459 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13460 * string/strstr.c (AVAILABLE): Likewise.
13461
13462 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13463
13464 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13465 <init-arch.h>.
13466 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13467 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13468 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13469
13470 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13471
13472 * po/be.po: Update translation.
13473
13474 * po/be.po: Update translation.
13475
13476 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13477
13478 * sysdeps/x86/cpu-features-offsets.sym
13479 (rtld_global_ro_offsetof): Removed.
13480 (CPU_FEATURES_SIZE): Likewise.
13481 (CPUID_OFFSET): Likewise.
13482 (CPUID_SIZE): Likewise.
13483 (CPUID_EAX_OFFSET): Likewise.
13484 (CPUID_EBX_OFFSET): Likewise.
13485 (CPUID_ECX_OFFSET): Likewise.
13486 (CPUID_EDX_OFFSET): Likewise.
13487 (FAMILY_OFFSET): Likewise.
13488 (MODEL_OFFSET): Likewise.
13489 (FEATURE_OFFSET): Likewise.
13490 (FEATURE_SIZ): Likewise.
13491 (COMMON_CPUID_INDEX_1): Likewise.
13492 (COMMON_CPUID_INDEX_7): Likewise.
13493 (FEATURE_INDEX_1): Likewise.
13494 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13495
13496 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13497
13498 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13499 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13500 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13501 (install-locales): Depend on install-locale-archive.
13502 (install-locale-archive): Define.
13503 (install-locale-files): Define.
13504 (build-one-locale): Define macro.
13505 * manual/install.texi (Running make install): Document.
13506 * manual/INSTALL: Regenerate.
13507
13508 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13509
13510 * benchtests/scripts/compare_strings.py: Import traceback.
13511 (parse_file): Pretty-print error.
13512
13513 * NEWS: Mention the change.
13514 * elf/dl-tunables.list: Rename tune namespace to cpu.
13515 * sysdeps/powerpc/dl-tunables.list: Likewise.
13516 * sysdeps/x86/dl-tunables.list: Likewise.
13517 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13518 cpu.name.
13519 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13520 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13521 * manual/README.tunables: Likewise.
13522 * manual/tunables.texi: Likewise.
13523 * sysdeps/powerpc/cpu-features.c: Likewise.
13524 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13525 (init_cpu_features): Likewise.
13526 * sysdeps/x86/cpu-features.c: Likewise.
13527 * sysdeps/x86/cpu-features.h: Likewise.
13528 * sysdeps/x86/cpu-tunables.c: Likewise.
13529 * sysdeps/x86_64/Makefile: Likewise.
13530 * sysdeps/x86/dl-cet.c: Likewise.
13531
13532 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13533
13534 [BZ #23479]
13535 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13536 [__mips_hard_float].
13537 (FE_UNDERFLOW): Likewise.
13538 (FE_OVERFLOW): Likewise.
13539 (FE_DIVBYZERO): Likewise.
13540 (FE_INVALID): Likewise.
13541 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13542 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13543 (FE_UPWARD): Likewise.
13544 (FE_DOWNWARD): Likewise.
13545 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13546 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13547 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13548 [__mips_hard_float].
13549 (FP_ROUNDMODE): Likewise.
13550 (FP_RND_NEAREST): Likewise.
13551 (FP_RND_ZERO): Likewise.
13552 (FP_RND_PINF): Likewise.
13553 (FP_RND_MINF): Likewise.
13554 (FP_EX_INVALID): Likewise.
13555 (FP_EX_OVERFLOW): Likewise.
13556 (FP_EX_UNDERFLOW): Likewise.
13557 (FP_EX_DIVZERO): Likewise.
13558 (FP_EX_INEXACT): Likewise.
13559 (FP_INIT_ROUNDMODE): Likewise.
13560 * sysdeps/mips/nofpu/fesetenv.c: New file.
13561 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13562
13563 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13564
13565 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13566 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13567 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13568 conditional on [FE_UPWARD].
13569
13570 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13571
13572 regex: fix memory leak in Gnulib
13573 Problem and fix reported by Assaf Gordon in:
13574 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13575 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13576 range_ends members too, as they are defined in 'struct
13577 re_charset_t' even if not _LIBC. This affects only Gnulib.
13578
13579 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13580
13581 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13582 ...
13583 (get_common_indices): This.
13584 (init_cpu_features): Updated.
13585
13586 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13587
13588 * sysdeps/generic/math-tests-snan-payload.h: New file.
13589 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13590 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13591 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13592 * sysdeps/generic/math-tests.h: Include
13593 <math-tests-snan-payload.h>.
13594 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13595 * sysdeps/hppa/math-tests.h: Remove file.
13596 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13597 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13598 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13599 Likewise.
13600
13601 * sysdeps/generic/math-tests-snan-cast.h: New file.
13602 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13603 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13604 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13605 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13606
13607 2018-08-01 Carlos O'Donell <carlos@redhat.com>
13608
13609 * version.h (RELEASE): Set to "development".
13610 (VERSION): Set to "2.28.9000".
13611 * NEWS (2.29): New section.
13612
13613 * version.h (RELEASE): Set to "stable".
13614 (VERSION): Set to "2.28".
13615 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13616 * NEWS: Add the list of bugs fixed in 2.28.
13617
13618 * po/ca.po: Update to latest version.
13619 * po/cs.po: Likewise
13620 * po/da.po: Likewise
13621 * po/el.po: Likewise
13622 * po/eo.po: Likewise
13623 * po/es.po: Likewise
13624 * po/fi.po: Likewise
13625 * po/fr.po: Likewise
13626 * po/gl.po: Likewise
13627 * po/hu.po: Likewise
13628 * po/ia.po: Likewise
13629 * po/id.po: Likewise
13630 * po/it.po: Likewise
13631 * po/ja.po: Likewise
13632 * po/ko.po: Likewise
13633 * po/lt.po: Likewise
13634 * po/nb.po: Likewise
13635 * po/nl.po: Likewise
13636 * po/pt_BR.po: Likewise
13637 * po/ru.po: Likewise
13638 * po/rw.po: Likewise
13639 * po/sk.po: Likewise
13640 * po/sl.po: Likewise
13641 * po/tr.po: Likewise
13642 * po/zh_CN.po: Likewise
13643 * po/zh_TW.po: Likewise
13644
13645 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13646
13647 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13648 initialization...
13649 (init): ... before initializing libpthread.
13650
13651 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13652 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13653 (__mach_setup_tls): ... new function.
13654 (mach_setup_tls): New alias.
13655 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13656 __mach_setup_thread.
13657 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13658 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13659 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13660 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13661
13662 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13663
13664 * manual/install.texi: Update versions.
13665 * INSTALL: Regenerate.
13666
13667 * manual/contrib.texi (Contributors): Update contributions.
13668
13669 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13670
13671 * po/be.po: Update translations.
13672
13673 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13674
13675 * sysdeps/sh/libm-test-ulps: Update.
13676
13677 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13678
13679 * po/bg.po: Update translations.
13680 * po/de.po: Likewise.
13681 * po/hr.po: Likewise.
13682 * po/pt_BR.po: Likewise.
13683 * po/sv.po: Likewise.
13684 * po/vi.po: Likewise.
13685
13686 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13687
13688 [BZ #23467]
13689 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13690 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13691 (CFLAGS-tst-cet-property-1.o): New.
13692 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13693 ($(objpfx)tst-cet-property-2): Likewise.
13694 ($(objpfx)tst-cet-property-2.out): Likewise.
13695 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13696 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13697 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13698 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13699 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13700
13701 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 [BZ #23458]
13704 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13705
13706 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13707
13708 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13709 __sbrk): Do not set attribute_hidden.
13710 * sysdeps/mach/hurd/not-errno.h: New file.
13711 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13712 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13713
13714 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13715
13716 * po/uk.po: Update translations.
13717 * po/cs.po: Likewise.
13718 * po/pl.po: Likewise.
13719
13720 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13723 parse beyond the note end.
13724
13725 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13726
13727 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13728 kernel does not support OFD locks.
13729 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13730
13731 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13732
13733 * sysdeps/mach/hurd/Versions (libc): Make __access and
13734 __access_noerrno external so they can override the ld symbols.
13735 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13736 __writev, __open64, __access_noerrno extern so they can be overrided.
13737 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13738 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13739
13740 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13741
13742 * po/libc.pot: Regenerate.
13743
13744 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13745
13746 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13747
13748 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13749
13750 [BZ #23459]
13751 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13752 function.
13753 (init_cpu_features): Call get_extended_indices for both Intel
13754 and AMD CPUs.
13755 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13756 Remove "for AMD" comment.
13757
13758 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13759
13760 [BZ # 23456]
13761 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13762 COMMON_CPUID_INDEX_80000001.
13763
13764 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13765
13766 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13767 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13768
13769 2018-07-26 Florian Weimer <fweimer@redhat.com>
13770
13771 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13772 aliases for symbols not in the implementation namespace.
13773
13774 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13775
13776 [BZ #23393]
13777 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13778 lowercase in LATIN script.
13779 * localedata/Makefile (test-input): Add en_US.UTF-8.
13780 * localedata/en_US.UTF-8.in: New file.
13781 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13782 and restore old tests.
13783 * posix/tst-regexloc.c (do_test): Add back range expression test.
13784
13785 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13786
13787 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13788
13789 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13790
13791 * nptl/threads.h: Move to ...
13792 * sysdeps/nptl/threads.h: ... here.
13793 * sysdeps/hurd/stdc-predef.h: New file.
13794
13795 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13796
13797 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13798 tst-cet-setcontext-1 if CET is enabled.
13799 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13800 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13801
13802 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13803
13804 * include/threads.h: Move to ...
13805 * sysdeps/nptl/threads.h: ... here.
13806 * sysdeps/htl/threads.h: New file.
13807 * conform/Makefile (linknamespace-libs-ISO11): Use
13808 static-thread-library instead of linking libpthread.
13809 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13810
13811 2018-07-25 Florian Weimer <fweimer@redhat.com>
13812
13813 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13814 nanoseconds into seconds.
13815 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13816 (do_test): Likewise.
13817 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13818 (do_test): Likewise. Avoid nanosecond overflow and spurious
13819 timeouts due to system load.
13820 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13821 (child_wait): Increment it.
13822 (do_test): Wait as long as necessary until all expected threads
13823 have arrived.
13824
13825 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13826 H.J. Lu <hongjiu.lu@intel.com>
13827
13828 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13829 __ssp.
13830 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13831 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13832 (__push___start_context): New.
13833 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13834 <asm/prctl.h>.
13835 (__getcontext): Record the current shadow stack base. Save the
13836 caller's shadow stack pointer and base.
13837 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13838 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13839 (__push___start_context): New prototype.
13840 (__makecontext): Call __push___start_context to allocate a new
13841 shadow stack, push __start_context onto the new stack as well
13842 as the new shadow stack.
13843 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13844 <asm/prctl.h>.
13845 (__setcontext): Restore the target shadow stack.
13846 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13847 <asm/prctl.h>.
13848 (__swapcontext): Record the current shadow stack base. Save
13849 the caller's shadow stack pointer and base. Restore the target
13850 shadow stack.
13851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13852 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13853 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13854
13855 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13856
13857 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13858 tst-setcontext8 and tst-setcontext9.
13859 * stdlib/tst-setcontext6.c: New file.
13860 * stdlib/tst-setcontext7.c: Likewise.
13861 * stdlib/tst-setcontext8.c: Likewise.
13862 * stdlib/tst-setcontext9.c: Likewise.
13863
13864 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13865
13866 * stdlib/Makefile ((tests): Add tst-setcontext5.
13867 * stdlib/tst-setcontext5.c: New file.
13868
13869 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13870
13871 * stdlib/Makefile (tests): Add tst-setcontext4.
13872 * stdlib/tst-setcontext4.c: New file.
13873
13874 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13875
13876 * stdlib/Makefile (tests): Add tst-swapcontext1.
13877 * stdlib/tst-swapcontext1.c: New test.
13878
13879 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13880
13881 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13882 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13883 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13884 and tst-cet-legacy-4c.
13885 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13886 and tst-cet-legacy-mod-4.
13887 (CFLAGS-tst-cet-legacy-2.c): New.
13888 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13889 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13890 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13891 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13892 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13893 ($(objpfx)tst-cet-legacy-1): Likewise.
13894 ($(objpfx)tst-cet-legacy-2): Likewise.
13895 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13896 ($(objpfx)tst-cet-legacy-2a): Likewise.
13897 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13898 ($(objpfx)tst-cet-legacy-4): Likewise.
13899 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13900 ($(objpfx)tst-cet-legacy-4a): Likewise.
13901 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13902 (tst-cet-legacy-4a-ENV): Likewise.
13903 ($(objpfx)tst-cet-legacy-4b): Likewise.
13904 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13905 (tst-cet-legacy-4b-ENV): Likewise.
13906 ($(objpfx)tst-cet-legacy-4c): Likewise.
13907 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13908 (tst-cet-legacy-4c-ENV): Likewise.
13909 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13910 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13911 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13912 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13913 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13914 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13915 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13916 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13917 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13918 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13919 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13920
13921 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13922
13923 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13924 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13925 with ssp_base.
13926 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13927 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13928 with ssp_base.
13929
13930 2018-07-25 Andreas Schwab <schwab@suse.de>
13931
13932 [BZ #23442]
13933 * locale/weightwc.h (findidx): Handle the case where usrc is a
13934 prefix of cp but one character too short.
13935
13936 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13937
13938 * NEWS: Add ISO C threads addition.
13939
13940 2018-07-24 Florian Weimer <fweimer@redhat.com>
13941
13942 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13943 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
13944 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13945 4.13.
13946
13947 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13950 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13951 <sys/prctl.h> and <asm/prctl.h>.
13952 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13953 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13954 and <asm/prctl.h>.
13955 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13956 ARCH_CET_LEGACY_BITMAP.
13957 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13958 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13959 * sysdeps/x86/libc-start.c: Include <startup.h>.
13960
13961 2018-07-24 Florian Weimer <fweimer@redhat.com>
13962
13963 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13964 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13965
13966 2018-07-24 Rical Jasan <rj@2c3t.io>
13967 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13968 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13969
13970 [BZ #14092]
13971 * manual/debug.texi: Update adjacent chapter name.
13972 * manual/probes.texi: Likewise.
13973 * manual/threads.texi (ISO C Threads): New section.
13974 (POSIX Threads): Convert to a section.
13975
13976 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13977 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13978
13979 [BZ# 14092]
13980 * nptl/Makefile (tests): Add new test files.
13981 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13982 * nptl/tst-cnd-basic.c: Likewise.
13983 * nptl/tst-cnd-broadcast.c: Likewise.
13984 * nptl/tst-cnd-timedwait.c: Likewise.
13985 * nptl/tst-mtx-basic.c: Likewise.
13986 * nptl/tst-mtx-recursive.c: Likewise.
13987 * nptl/tst-mtx-timedlock.c: Likewise.
13988 * nptl/tst-mtx-trylock.c: Likewise.
13989 * nptl/tst-thrd-basic.c: Likewise.
13990 * nptl/tst-thrd-detach.c: Likewise.
13991 * nptl/tst-thrd-sleep.c: Likewise.
13992 * nptl/tst-tss-basic.c: Likewise.
13993
13994 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13995
13996 [BZ #14092]
13997 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13998 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13999 symbols.
14000 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14011 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14013 Likewise.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14015 Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14017 Likewise.
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14024 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14025 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14026 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14027 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14028 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14029 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14030 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14031 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14032 Likewise.
14033 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14037 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14038 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14039 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14040 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14045 ikewise.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14048 Likewise.
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14050 Likewise.
14051 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14052 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14053 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14054 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14055 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14056 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14057 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14058 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14059
14060 [BZ #14092]
14061 * conform/data/threads.h-data (thread_local): New macro.
14062 (TSS_DTOR_ITERATIONS): Likewise.
14063 (tss_t): New type.
14064 (tss_dtor_t): Likewise.
14065 (tss_create): New function.
14066 (tss_get): Likewise.
14067 (tss_set): Likewise.
14068 (tss_delete): Likewise.
14069 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14070 tss_get, and tss_set objects.
14071 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14072 * nptl/tss_create.c: New file.
14073 * nptl/tss_delete.c: Likewise.
14074 * nptl/tss_get.c: Likewise.
14075 * nptl/tss_set.c: Likewise.
14076 * sysdeps/nptl/threads.h (thread_local): New define.
14077 (TSS_DTOR_ITERATIONS): Likewise.
14078 (tss_t): New typedef.
14079 (tss_dtor_t): Likewise.
14080 (tss_create): New prototype.
14081 (tss_get): Likewise.
14082 (tss_set): Likewise.
14083 (tss_delete): Likewise.
14084
14085 [BZ #14092]
14086 * conform/data/threads.h-data (cnd_t): New type.
14087 (cnd_init): New function.
14088 (cnd_signal): Likewise.
14089 (cnd_broadcast): Likewise.
14090 (cnd_wait): Likewise.
14091 (cnd_timedwait): Likewise.
14092 (cnd_destroy): Likewise.
14093 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14094 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14095 object.
14096 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14097 * nptl/cnd_broadcast.c: New file.
14098 * nptl/cnd_destroy.c: Likewise.
14099 * nptl/cnd_init.c: Likewise.
14100 * nptl/cnd_signal.c: Likewise.
14101 * nptl/cnd_timedwait.c: Likewise.
14102 * nptl/cnd_wait.c: Likewise.
14103 * sysdeps/nptl/threads.h (cnd_t): New type.
14104 (cnd_init): New prototype.
14105 (cnd_signa): Likewise.
14106 (cnd_broadcast): Likewise.
14107 (cnd_wait): Likewise.
14108 (cnd_timedwait): Likewise.
14109 (cnd_destroy): Likewise.
14110
14111 [BZ #14092]
14112 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14113 (once_flag): New type.
14114 (call_once): New function.
14115 * nptl/Makefile (libpthread-routines): Add call_once object.
14116 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14117 * nptl/call_once.c: New file.
14118 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14119 (once_flag): New type.
14120 (call_once): New prototype.
14121
14122 [BZ #14092]
14123 * conform/data/threads.h-data (mtx_plain): New constant.
14124 (mtx_recursive): Likewise.
14125 (mtx_timed): Likewise.
14126 (mtx_t): New type.
14127 (mtx_init): New function.
14128 (mtx_lock): Likewise.
14129 (mtx_timedlock): Likewise.
14130 (mtx_trylock): Likewise.
14131 (mtx_unlock): Likewise.
14132 (mtx_destroy): Likewise.
14133 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14134 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14135 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14136 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14137 * nptl/mtx_destroy.c: New file.
14138 * nptl/mtx_init.c: Likewise.
14139 * nptl/mtx_lock.c: Likewise.
14140 * nptl/mtx_timedlock.c: Likewise.
14141 * nptl/mtx_trylock.c: Likewise.
14142 * nptl/mtx_unlock.c: Likewise.
14143 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14144 (mtx_recursive): Likewise.
14145 (mtx_timed): Likewise.
14146 (mtx_t): New type.
14147 (mtx_init): New prototype.
14148 (mtx_lock): Likewise.
14149 (mtx_timedlock): Likewise.
14150 (mtx_trylock): Likewise.
14151 (mtx_unlock): Likewise.
14152 (mtx_destroy): Likewise.
14153
14154 [BZ #14092]
14155 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14156 (linknamespace-libs-ISO11): Add libpthread.a.
14157 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14158 functions.
14159 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14160 * nptl/Makefile (headers): Add threads.h.
14161 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14162 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14163 thrd_yield.
14164 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14165 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14166 thrd_join, thrd_sleep, and thrd_yield symbols.
14167 * nptl/descr.h (struct pthread): Add c11 field.
14168 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14169 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14170 routine with expected function prototype.
14171 (__pthread_create_2_1): Add C11 threads check based on attribute
14172 value.
14173 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14174 * nptl/thrd_create.c: New file.
14175 * nptl/thrd_current.c: Likewise.
14176 * nptl/thrd_detach.c: Likewise.
14177 * nptl/thrd_equal.c: Likewise.
14178 * nptl/thrd_exit.c: Likewise.
14179 * nptl/thrd_join.c: Likewise.
14180 * nptl/thrd_priv.h: Likewise.
14181 * nptl/thrd_sleep.c: Likewise.
14182 * nptl/thrd_yield.c: Likewise.
14183 * include/threads.h: Likewise.
14184
14185 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14186
14187 * bits/indirect-return.h: New file.
14188 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14189 * sysdeps/x86/bits/indirect-return.h: Likewise.
14190 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14191 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14192 (swapcontext): Add __INDIRECT_RETURN.
14193 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14194 (prepare_test_buffer): Use it.
14195
14196 2018-07-24 Andreas Schwab <schwab@suse.de>
14197
14198 [BZ #23448]
14199 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14200 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14201
14202 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14203
14204 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14205 Redefine if shadow stack is enabled.
14206 (SYSCALL_ERROR_LABEL): Likewise.
14207 (__vfork): Pop shadow stack and jump back to to caller directly
14208 when shadow stack is in use.
14209 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14210 Redefine if shadow stack is enabled.
14211 (SYSCALL_ERROR_LABEL): Likewise.
14212 (__vfork): Pop shadow stack and jump back to to caller directly
14213 when shadow stack is in use.
14214
14215 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14216
14217 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14218 enabled.
14219 (foo): Likewise.
14220 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14221 (foo): Likewise.
14222
14223 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14224
14225 * scripts/build-many-glibcs.py (Context.checkout): Default
14226 binutils version to 2.31 branch.
14227
14228 2018-07-20 Zong Li <zong@andestech.com>
14229
14230 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14231 URL of gcc's tarball.
14232
14233 2018-07-20 Florian Weimer <fweimer@redhat.com>
14234
14235 [BZ #23396]
14236 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14237 not compare an extra byte after the end of the weights.
14238
14239 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14240
14241 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14242 to 1.
14243 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14244 hidden prototypes.
14245 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14246 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14247 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14248 list of libraries whose stack executability is expected.
14249 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14250 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14251 variable.
14252 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14253 libc.so libpthread.so.
14254
14255 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14256
14257 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14258 SOCK_NONBLOCK.
14259 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14260 and SOCK_NONBLOCK.
14261 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14262 implement __pipe2.
14263 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14264
14265 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14266
14267 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14268 library to improve command line parsing.
14269 (__main__): make schema file as optional parameter (--schema),
14270 defaulting to benchtests/scripts/benchout.schema.json.
14271 (main): move out of the parsing stuff to __main_  and leave it
14272 only as caller of main comparison functions.
14273
14274 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14275
14276 * NEWS: Add a note for Intel CET status.
14277 * manual/install.texi: Likewise.
14278 * INSTALL: Regenerated.
14279
14280 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14281
14282 [BZ #23140]
14283 * localedata/locales/oc_FR (mon): Rename to...
14284 (alt_mon): This, then update October (typo fix).
14285 (mon): New content (genitive case, month names preceded by
14286 "de" or "d’").
14287
14288 [BZ #23422]
14289 * localedata/locales/oc_FR (abday): Update all items.
14290 (day): Update Wednesday and Saturday (typo fixes).
14291 (abmon): Update all items, except May.
14292 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14293 (LC_IDENTIFICATION): Bump the revision number and date.
14294 Keep the "category" entries in alphabetic order.
14295 (LC_ADDRESS): Remove no longer needed comment.
14296 (LC_COLLATE): Use “copy "ca_ES"”.
14297 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14298 "name_mrs".
14299
14300 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14301
14302 * grp/tst_fgetgrent.c: Include <unistd.h>.
14303 (main): Use mkstemp instead of tmpnam.
14304 * io/test-utime.c (main): Likewise.
14305 * posix/annexc.c (macrofile): Change to modifiable array.
14306 (main): Remove macrofile here.
14307 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14308 macrofile here.
14309 (check_header): Do not remove macrofile here.
14310 * posix/bug-getopt1.c: Include <stdlib.h>.
14311 (do_test): Use mkstemp instead of tmpnam.
14312 * posix/bug-getopt2.c: Include <stdlib.h>.
14313 (do_test): Use mkstemp instead of tmpnam.
14314 * posix/bug-getopt3.c: Include <stdlib.h>.
14315 (do_test): Use mkstemp instead of tmpnam.
14316 * posix/bug-getopt4.c: Include <stdlib.h>.
14317 (do_test): Use mkstemp instead of tmpnam.
14318 * posix/bug-getopt5.c: Include <stdlib.h>.
14319 (do_test): Use mkstemp instead of tmpnam.
14320 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14321 (main): Use mkstemp instead of tmpnam.
14322 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14323 (main): Use mkstemp instead of tmpnam.
14324 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14325 (main): use mkstemp instead of tmpnam.
14326 * stdlib/isomac.c (macrofile): Change to modifiable array.
14327 (main): Remove macrofile here.
14328 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14329 macrofile here.
14330 (check_header): Do not remove macrofile here.
14331
14332 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14333
14334 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14335 glibc.tune.x86_shstk.
14336
14337 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14338
14339 * NEWS: Mention --enable-cet.
14340 * manual/install.texi: Document --enable-cet.
14341 * INSTALL: Regenerated.
14342
14343 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14344
14345 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14346 Add _CET_NOTRACK before indirect jump to jump table.
14347
14348 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14349
14350 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14351 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14352 to jump table.
14353
14354 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14355
14356 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14357 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14358 to jump table.
14359
14360 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14361
14362 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14363 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14364 to jump table.
14365
14366 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14367
14368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14369 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14370 to jump table.
14371
14372 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14373
14374 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14375 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14376 to jump table.
14377 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14378
14379 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14380
14381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14382 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14383 to jump table.
14384
14385 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 * sysdeps/i386/i686/multiarch/memset-sse2.S
14388 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14389 to jump table.
14390
14391 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14392
14393 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14394 indirect jump to jump table.
14395
14396 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14397
14398 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14399 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14400 to jump table.
14401 (MEMCPY): Likewise.
14402
14403 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14404
14405 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14406 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14407 to jump table.
14408 (MEMCPY): Likewise.
14409
14410 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14411
14412 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14413 _CET_NOTRACK before indirect jump to jump table.
14414
14415 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14416
14417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14418 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14419 to jump table.
14420
14421 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14422
14423 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14424 indirect jump to jump table.
14425
14426 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14427
14428 [BZ #22241]
14429 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14430 (LOCALES): Likewise.
14431 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14432 * localedata/locales/sah_RU: New file.
14433 * localedata/sah_RU.UTF-8.in: New file.
14434
14435 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14436
14437 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14438 "sysdep.h".
14439 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14440 _CET_ENDBR to indirect jump targets and adjust jump destination
14441 for _CET_ENDBR.
14442 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14443 "sysdep.h".
14444 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14445 _CET_ENDBR to indirect jump targets and adjust jump destination
14446 for _CET_ENDBR.
14447 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14448 "sysdep.h".
14449 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14450 _CET_ENDBR to indirect jump targets and adjust jump destination
14451 for _CET_ENDBR.
14452
14453 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14454
14455 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14456 _CET_ENDBR.
14457
14458 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14459
14460 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14461 _CET_ENDBR.
14462 (_dl_tlsdesc_undefweak): Likewise.
14463 (_dl_tlsdesc_dynamic): Likewise.
14464 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14465 (_dl_tlsdesc_resolve_rel): Likewise.
14466 (_dl_tlsdesc_resolve_rela): Likewise.
14467 (_dl_tlsdesc_resolve_hold): Likewise.
14468 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14469 (_dl_tlsdesc_undefweak): Likewise.
14470 (_dl_tlsdesc_dynamic): Likewise.
14471 (_dl_tlsdesc_resolve_rela): Likewise.
14472 (_dl_tlsdesc_resolve_hold): Likewise.
14473
14474 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14475
14476 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14477 (_fini): Likewise.
14478 * sysdeps/x86_64/crti.S (_init): Likewise.
14479 (_fini): Likewise.
14480
14481 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
14482
14483 [BZ #23140]
14484 * localedata/locales/os_RU (mon): Rename to...
14485 (alt_mon): This.
14486 (mon): Import from CLDR (genitive case).
14487
14488 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14489
14490 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14491 cet-tunables.h> when CET is enabled.
14492
14493 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14494
14495 [BZ #21598]
14496 * configure.ac: Add --enable-cet.
14497 * configure: Regenerated.
14498 * elf/Makefille (all-built-dso): Add a comment.
14499 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14500 Include <dl-prop.h>.
14501 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14502 segment.
14503 * elf/dl-open.c: Include <dl-prop.h>.
14504 (dl_open_worker): Call _dl_open_check.
14505 * elf/rtld.c: Include <dl-prop.h>.
14506 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14507 _rtld_main_check.
14508 * sysdeps/generic/dl-prop.h: New file.
14509 * sysdeps/i386/dl-cet.c: Likewise.
14510 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14511 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14512 * sysdeps/x86/cet-tunables.h: Likewise.
14513 * sysdeps/x86/check-cet.awk: Likewise.
14514 * sysdeps/x86/configure: Likewise.
14515 * sysdeps/x86/configure.ac: Likewise.
14516 * sysdeps/x86/dl-cet.c: Likewise.
14517 * sysdeps/x86/dl-procruntime.c: Likewise.
14518 * sysdeps/x86/dl-prop.h: Likewise.
14519 * sysdeps/x86/libc-start.h: Likewise.
14520 * sysdeps/x86/link_map.h: Likewise.
14521 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14522 _CET_ENDBR.
14523 (_dl_runtime_profile): Likewise.
14524 (_dl_runtime_resolve_shstk): New.
14525 (_dl_runtime_profile_shstk): Likewise.
14526 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14527 if CET is enabled.
14528 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14529 (CFLAGS-.os): Likewise.
14530 (CFLAGS-.op): Likewise.
14531 (CFLAGS-.oS): Likewise.
14532 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14533 is enabled.
14534 (tests-special): Add $(objpfx)check-cet.out.
14535 (cet-built-dso): New.
14536 (+$(cet-built-dso:=.note)): Likewise.
14537 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14538 ($(objpfx)check-cet.out): New.
14539 (generated): Add check-cet.out.
14540 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14541 <cet-tunables.h>.
14542 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14543 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14544 (init_cpu_features): Call get_cet_status to check CET status
14545 and update dl_x86_feature_1 with CET status. Call
14546 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14547 (set_x86_shstk). Disable and lock CET in libc.a.
14548 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14549 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14550 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14551 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14552 (_CET_ENDBR): Define if not defined.
14553 (ENTRY): Add _CET_ENDBR.
14554 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14555 x86_shstk.
14556 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14557 _CET_ENDBR.
14558 (_dl_runtime_profile): Likewise.
14559
14560 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14561
14562 [BZ #21895]
14563 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14564 restore r2 on longjmp.
14565 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14566 test list.
14567 Added rules to build test tst-setjmp-bug21895-static.
14568 Added module setjmp-bug21895 and rules to build a shared object from it.
14569 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14570 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14571
14572 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14573
14574 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14575 * benchtests/bench-strstr.c: Likewise.
14576 * string/memmem.c (FASTSEARCH): Define.
14577 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14578 Add support for FASTSEARCH.
14579 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14580 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14581 (FASTSEARCH): Define.
14582 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14583 * string/test-strstr.c: Likewise.
14584
14585 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14586
14587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14588 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14589
14590 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14591 H.J. Lu <hongjiu.lu@intel.com>
14592
14593 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14594 (__longjmp): Restore shadow stack pointer if shadow stack is
14595 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14596 isn't defined for __longjmp_cancel.
14597 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14598 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14599 and SHADOW_STACK_POINTER_OFFSET is defined.
14600 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14601 (setjmp): Save shadow stack pointer if shadow stack is enabled
14602 and SHADOW_STACK_POINTER_OFFSET is defined.
14603 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14604 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14605 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14606 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14607 <jmp_buf-ssp.h>.
14608 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14609 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14610 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14611 Remove jmp_buf-ssp.sym.
14612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14613 <jmp_buf-ssp.h>.
14614 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14615 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14616 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14617 jmp_buf-ssp.sym.
14618 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14619 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14620 (__longjmp): Restore shadow stack pointer if shadow stack is
14621 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14622 isn't defined for __longjmp_cancel.
14623 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14624 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14625 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14626
14627 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14628
14629 [BZ #22563]
14630 * nptl/pthread_create.c: Include <tls-setup.h>.
14631 (__pthread_create_2_1): Call tls_setup_tcbhead.
14632 * sysdeps/generic/tls-setup.h: New file.
14633 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14634 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14635 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14636 Likewise.
14637 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14638 to feature_1.
14639 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14640 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14641 (X86_FEATURE_1_SHSTK): Likewise.
14642 (CET_ENABLED): Likewise.
14643 (IBT_ENABLED): Likewise.
14644 (SHSTK_ENABLED): Likewise.
14645
14646 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
14647
14648 [BZ #23208]
14649 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14650 (LOCALES): Likewise.
14651 * localedata/dsb_DE.UTF-8.in: New file.
14652 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14653
14654 2018-07-12 Florian Weimer <fweimer@redhat.com>
14655
14656 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14657 __mprotect, not mprotect.
14658
14659 2018-07-11 Florian Weimer <fweimer@redhat.com>
14660
14661 * io/Makefile (headers): Add bits/statx.h.
14662
14663 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14664
14665 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14666 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14667 and headers.
14668 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14669 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14670 for utf8_gen.py
14671
14672 2018-07-10 Florian Weimer <fweimer@redhat.com>
14673
14674 * io/Makefile (routines): Add statx.
14675 (tests-internal): Add tst-statx.
14676 * io/Versions (GLIBC_2.28): Export statx.
14677 * io/bits/statx.h: New file.
14678 * io/sys/stat.h [__USE_GNU]: Include it.
14679 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14680 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14681 Define.
14682 * io/statx.c: New file.
14683 * io/statx_generic.: Likewise.
14684 * io/tst-statx.: Likewise.
14685 * include/bits/statx.h: Likewise.
14686 * sysdeps/unix/sysv/linux/kernel-features.h
14687 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14688 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14689 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14690 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14691 Undefine.
14692 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14693 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14694 * sysdeps/unix/sysv/linux/statx.c: New file.
14695 * manual/filesys.texi: Note that statx is undocumented.
14696 * sysdeps/**/libc*.abilist: Update.
14697
14698 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14699
14700 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14701 a kernel issue which lead to test failure in some cases.
14702
14703 2018-07-10 Florian Weimer <fweimer@redhat.com>
14704
14705 [BZ #23036]
14706 * posix/regexec.c (check_node_accept_bytes): When comparing
14707 weights, do not compare an extra byte after the end of the
14708 weights.
14709
14710 2018-07-10 Florian Weimer <fweimer@redhat.com>
14711
14712 * libio/readline.c: Fix copyright year.
14713 * libio/tst-readline.c Likewise.
14714 * nss/tst-nss-files-hosts-getent.c: Likewise.
14715
14716 2018-07-06 Florian Weimer <fweimer@redhat.com>
14717
14718 [BZ #18991]
14719 * nss/nss_files/files-XXX.c (internal_getent): Use
14720 __libc_readline_unlocked. Seek back to the start of the line if
14721 parsing failes with ERANGE.
14722 (get_contents_ret, get_contents): Remove.
14723 * nss/tst-nss-files-hosts-getent.c: New file.
14724 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14725 (tst-nss-files-hosts-getent): Link with -ldl.
14726
14727 2018-07-06 Florian Weimer <fweimer@redhat.com>
14728
14729 * include/stdio.h (__libc_readline_unlocked): Declare.
14730 (__ftello64, __fseeko64): Declare aliases.
14731 * libio/readline.c: New file.
14732 * libio/tst-readline.c: Likewise.
14733 (routines): Add readline.
14734 (tests-internal): Add tst-readlime.
14735 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14736 __libc_readline_unlocked.
14737 * libio/fseeko.c (__fseeko): Rename from fseeko.
14738 (fseeko): Add alias.
14739 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14740 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14741 (fseeko64): Add alias.
14742 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14743 * libio/ftello64.c (__ftello64): Rename from ftello64.
14744 (ftello64): Add alias.
14745
14746 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14747
14748 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14749 HWCAP_ATOMICS.
14750
14751 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14752
14753 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14754 Use dl_hwcap without masking.
14755 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14756 Remove HWCAP_CPUID.
14757
14758 2018-07-06 Florian Weimer <fweimer@redhat.com>
14759
14760 * conform/conformtest.pl (checknamespace): Escape literal braces
14761 in regular expressions.
14762
14763 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14764
14765 * sysdeps/x86/cpu-features.c (get_common_indeces):
14766 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14767 * sysdeps/x86/cpu-features.c (init_cpu_features):
14768 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14769
14770 2018-07-05 Florian Weimer <fweimer@redhat.com>
14771
14772 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14773 protector.
14774 (CFLAGS-elf-init.oS): Likewise.
14775
14776 2018-07-05 Florian Weimer <fweimer@redhat.com>
14777 Carlos O'Donell <carlos@redhat.com>
14778
14779 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14780 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14781 with stack protector enabled because there is no risk of infinite
14782 recursion.
14783
14784 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14785
14786 [BZ #19818]
14787 [BZ #23307]
14788 * libc-abis (ABSOLUTE): New ABI.
14789 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14790 * NEWS: Mention the new ABI.
14791
14792 2018-07-05 Florian Weimer <fweimer@redhat.com>
14793
14794 [BZ # 17662]
14795 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14796 (RENAME_WHITEOUT): Define.
14797 [__USE_GNU] (renameat2): Declare.
14798 * stdio-common/Makefile (routines): Add renameat2.
14799 (tests): Add tst-renameat2.
14800 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14801 * stdio-common/renameat2.c: New file.
14802 * stdio-common/tst-renameat2.c: Likewise.
14803 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14804 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14805 undocumented.
14806 * sysdeps/unix/sysv/linux/kernel-features.h
14807 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14809 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14810 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14811 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14812 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14813 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14814 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14815 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14816 * include/stdio.h (__renameat): Add alias for renameat.
14817 * stdio-common/renameat.c (__renameat): Rename from renameat.
14818 Add hidden definition and alias.
14819 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14820 * sysdeps/mach/hurd/renameat.c: Likewise.
14821 * sysdeps/**/libc*.abilist: Add renameat2.
14822
14823 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14824
14825 * posix/bug-regex33.c: Fix build after regex sync.
14826
14827 2018-07-04 Carlos O'Donell <carlos@redhat.com>
14828
14829 [BZ #23164]
14830 * localedata/tst-langinfo-setlocale.c: New file.
14831 * localedata/tst-langinfo-setlocale-static.c: New file.
14832 * localedata/tst-langinfo-newlocale.c: New file.
14833 * localedata/tst-langinfo-newlocale-static.c: New file.
14834 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14835 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14836 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14837 (tests-static): Remove tst-langinfo-static. Add
14838 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14839 (tests-special): Remove $(objpfx)tst-langinfo.out,
14840 $(objpfx)tst-langinfo-static.out. Add
14841 $(objpfx)tst-langinfo-setlocale.out,
14842 $(objpfx)tst-langinfo-newlocale.out,
14843 $(objpfx)tst-langinfo-setlocale-static.out,
14844 $(objpfx)tst-langinfo-newlocale-static.out.
14845 ($(objpfx)tst-langinfo.out): Remove.
14846 ($(objpfx)tst-langinfo-static.out): Remove.
14847 ($(objpfx)tst-langinfo-newlocale.out): New target.
14848 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14849 (test-xfail-tst-langinfo-newlocale-static): Add.
14850 ($(objpfx)tst-langinfo-setlocale.out): New target.
14851 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14852 * localedata/tst-langinfo.c: Call test_locale.
14853 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14854 data.
14855
14856 2018-07-04 Florian Weimer <fweimer@redhat.com>
14857
14858 testrun.sh: Implement --tool=strace, --tool=valgrind
14859 * Makefile (testrun-script): Define variable.
14860 (testrun.sh): Use variable.
14861 * manual/install.texi (Tools for Compilation): make 4.0 or later
14862 is required.
14863 * configure.ac: Check for make 4.0 or later.
14864 * INSTALL: Regenerate.
14865 * configure: Likewise.
14866
14867 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14868
14869 [BZ #23233]
14870 [BZ #21163]
14871 [BZ #18986]
14872 [BZ #13762]
14873 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14874 * posix/PCRE.tests: Remove invalid test.
14875 * posix/bug-regex28.c: Fix expected values for used syntax.
14876 * posix/bug-regex37.c: New file.
14877 * posix/bug-regex38.c: Likewise.
14878 * posix/regcomp.c: Sync with gnulib.
14879 * posix/regex.c: Likewise.
14880 * posix/regex.h: Likewise.
14881 * posix/regex_internal.c: Likewise.
14882 * posix/regex_internal.h: Likewise.
14883 * posix/regexec.c: Likewise.
14884
14885 2018-06-26 Mike FABIAN <mfabian@redhat.com>
14886
14887 [BZ #23308]
14888 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14889 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14890 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14891 * localedata/unicode-gen/PropList.txt: likewise.
14892 * localedata/unicode-gen/UnicodeData.txt: likewise.
14893 * localedata/charmaps/UTF-8: Regenerate.
14894 * localedata/locales/i18n_ctype: likewise.
14895 * localedata/locales/tr_TR: likewise.
14896 * localedata/locales/translit_circle: likewise.
14897 * localedata/locales/translit_cjk_compat: likewise.
14898 * localedata/locales/translit_combining: likewise.
14899 * localedata/locales/translit_compat: likewise.
14900 * localedata/locales/translit_font: likewise.
14901 * localedata/locales/translit_fraction: likewise.
14902
14903 2018-07-03 Florian Weimer <fweimer@redhat.com>
14904
14905 [BZ #23363]
14906 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14907 * stdio-common/tst-printf.sh: Adjust expected output.
14908 * LICENSES: Update.
14909
14910 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14911
14912 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14913 symbol.
14914
14915 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14916
14917 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14918 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14919 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14920 * stdio-common/tst-printfsz-islongdouble.c: New file.
14921 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14922 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14923 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14924 [subdir == stdio-common] (tests-internal): Add
14925 test-printf-size-ieee128, and test-printf-size-ibm128.
14926 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14927 (CFLAGS-test-printf-size-ibm128.c): New variables.
14928 [subdir == stdio-common] (tests-special): Add
14929 $(objpfx)test-printf-size-ieee128.out and
14930 $(objpfx)test-printf-size-ibm128.out.
14931 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14932 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14933 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14934 __printf_sizeieee128.
14935 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
14936 New file.
14937 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
14938 Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
14940 Likewise.
14941
14942 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14943
14944 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
14945 (exp2f_inline): Likewise.
14946 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14947 (__math_uflowf): Likewise.
14948 (__math_may_uflowf): Likewise.
14949 (__math_divzerof): Likewise.
14950 (__math_invalidf): Likewise.
14951 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14952 (__math_oflowf): Likewise.
14953 (__math_uflowf): Likewise.
14954 (__math_may_uflowf): Likewise.
14955 (__math_divzerof): Likewise.
14956 (__math_invalidf): Likewise.
14957
14958 2018-06-29 DJ Delorie <dj@redhat.com>
14959 Carlos O'Donell <carlos@redhat.com>
14960
14961 [BZ #23329]
14962 * include/libc-symbols.h: Comment the freeres framework.
14963 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14964 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14965 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14966 * dlfcn/dlerror.c: Include libc-symbols.h
14967 (__dlerror_main_freeres): New function.
14968 * dlfcn/dlfreeres.c: New file.
14969 * dlfcn/sdlfreeres.c: New file.
14970 * include/dlfcn.h: Declare __dlerror_main_freeres.
14971 * malloc/set-freeres.c: Declare __libdl_freeres, and
14972 __libpthread_freeres.
14973 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14974 the releavant libraries are loaded.
14975 * malloc/thread-freeres.c: Add comments.
14976 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14977 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14978 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14979 (__free_stacks): Rename to...
14980 (free_stacks): ...this. Mark static.
14981 (queue_stack): Call free_stacks.
14982 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14983 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14984 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14985 ptr_freeres element from struct.
14986 (pthread_functions): Remove .ptr_freeres from struct initializer.
14987 [SHARED] (nptl_freeres): Remove.
14988 * nptl/nptlfreeres.c: New file.
14989 * nptl/pthreadP.h
14990 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14991 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14992 attribute_hidden.
14993 (__free_stacks): Rename to...
14994 (__nptl_stacks_freeres): ...this.
14995 (__shm_directory_freeres): Declare.
14996 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14997 (__nptl_unwind_freeres): ...this.
14998 * resolv/res-close.c: Add comment.
14999 * resolv/resolv_conf.c: Include libc-symbols.h.
15000 * string/strerror_l.c: Include libc-symbols.h.
15001 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15002 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15003 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15004 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15005
15006 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15007
15008 * stdlib/tst-strfmon_l.c: Add tests for long double.
15009
15010 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15011
15012 [BZ #23208]
15013 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15014 * localedata/locales/dsb_DE: New file.
15015
15016 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15017
15018 [BZ #23140]
15019 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15020 genitive case).
15021 (alt_mon): New entry, import from CLDR (nominative case).
15022
15023 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15024
15025 [BZ #22996]
15026 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15027
15028 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15029
15030 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15031 Use vector registers.
15032
15033 * sysdeps/aarch64/multiarch/memmove_falkor.S
15034 (__memcpy_falkor): Use vector registers.
15035
15036 2018-06-29 Martin Sebor <msebor@redhat.com>
15037
15038 * manual/stdio.texi (Customizing Printf): Mention interaction
15039 with GCC built-ins.
15040
15041 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15042
15043 [BZ #23307]
15044 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15045 `st_value' is 0 if `st_shndx' is SHN_ABS.
15046 * elf/tst-absolute-zero.c: New file.
15047 * elf/tst-absolute-zero-lib.c: New file.
15048 * elf/tst-absolute-zero-lib.lds: New file.
15049 * elf/Makefile (tests): Add `tst-absolute-zero'.
15050 (modules-names): Add `tst-absolute-zero-lib'.
15051 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15052 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15053 ($(objpfx)tst-absolute-zero: New dependency.
15054
15055 2018-06-29 Zack Weinberg <zackw@panix.com>
15056
15057 * configure.ac: New command-line option --disable-crypt.
15058 Force --disable-nss-crypt when --disable-crypt is given, with a
15059 warning if it was explicitly enabled.
15060 * configure: Regenerate.
15061 * config.make.in: New boolean substitution variable $(build-crypt).
15062 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15063 when $(build-crypt).
15064 * manual/install.texi: Document --disable-crypt.
15065 * INSTALL: Regenerate.
15066
15067 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15068 which is never set.
15069 * conform/Makefile: Only include libcrypt.a in
15070 linknamespace-libs-xsi and linknamespace-libs-XPG4
15071 when $(build-crypt).
15072 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15073 USE_CRYPT to 1 when $(build-crypt).
15074 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15075 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15076 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15077
15078 2018-06-29 Zack Weinberg <zackw@panix.com>
15079
15080 * crypt/crypt.h, posix/unistd.h: Update comments and
15081 prototypes for crypt and crypt_r.
15082
15083 * manual/crypt.texi (Cryptographic Functions): New initial
15084 exposition.
15085 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15086 (Unpredictable Bytes): Improve initial exposition. Clarify error
15087 behavior of getentropy and getrandom.
15088 * manual/examples/genpass.c: Generate a salt using getentropy
15089 instead of the current time. Use hash $5$ (SHA-2-256).
15090 * manual/examples/testpass.c: Demonstrate validation against
15091 hashes generated with three different one-way functions.
15092
15093 * manual/intro.texi: crypt.texi does not need an overview
15094 anymore.
15095
15096 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15097 * manual/terminal.texi: Consistently refer to "passphrases"
15098 * instead of "passwords", and to the "user database" instead
15099 * of the "password database".
15100 * manual/users.texi: Similarly. Add notes about how actual
15101 passphrase hashes are now stored in the shadow database.
15102 Remove 20-year-old junk todo note.
15103
15104 2018-06-29 Zack Weinberg <zackw@panix.com>
15105
15106 * manual/crypt.texi: Use a normal top-level @node declaration.
15107 Move most of the introductory text to the 'crypt' section.
15108 Move the example programs below the @deftypefun for 'crypt_r'.
15109 Move the 'getpass' section...
15110 * manual/terminal.texi: ...here.
15111
15112 2018-06-29 Zack Weinberg <zackw@panix.com>
15113 Florian Weimer <fweimer@redhat.com>
15114
15115 * posix/unistd.h: Do not declare encrypt.
15116 (_XOPEN_CRYPT): Remove macro definition.
15117 (crypt): Declare only for _USE_MISC.
15118 * stdlib/stdlib.h: Do not declare setkey.
15119 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15120 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15121
15122 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15123 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15124 into compat symbols. Don't define initial_perm if it's not
15125 going to be used.
15126 * crypt/cert.c: Link explicitly with the expected versions for
15127 setkey and encrypt. If they are not available at all, mark
15128 the test as unsupported.
15129
15130 * sunrpc/des_crypt.c: Unconditionally block linkage with
15131 cbc_crypt and ecb_crypt for new binaries.
15132 * sunrpc/des_soft.c: Unconditionally block linkage with
15133 des_setparity for new binaries.
15134
15135 * manual/crypt.texi: Remove the entire "DES Encryption"
15136 section. Also remove the paragraph talking about FIPS 140-2
15137 from the introduction.
15138 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15139 of libgcrypt for "real" encryption, not DES.
15140 * manual/conf.texi (Constants for Sysconf): Mention that
15141 _XOPEN_CRYPT is no longer impelemented.
15142
15143 * conform/data/unistd.h-data: Remove crypt function declaration.
15144
15145 2018-06-29 Florian Weimer <fweimer@redhat.com>
15146
15147 [BZ #23351]
15148 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15149 (disallow_malloc_check): Remove variable.
15150 (__malloc_check_init): Adjust.
15151 (malloc_set_state): Update comment.
15152 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15153 declarations.
15154
15155 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15156
15157 [BZ #23140]
15158 * localedata/locales/ast_ES (mon): Rename to...
15159 (alt_mon): This.
15160 (mon): Import from CLDR (genitive case).
15161
15162 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15163 Jakub Sitnicki <jkbs@redhat.com>
15164
15165 [BZ #21812]
15166 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15167 on NLM_F_DUMP_INTR.
15168
15169 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15170
15171 * manual/llio.texi: Remove spurious space.
15172
15173 2018-06-28 Florian Weimer <fweimer@redhat.com>
15174
15175 [BZ #23349]
15176 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15177 _STRUCT_TIMESPEC.
15178
15179 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15180
15181 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15182 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15183 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15184 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15185 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15186 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15187 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15188
15189 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15190
15191 [BZ #23266]
15192 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15193 Copy and null-terminate entries that are not terminated, in
15194 addition to empty ones.
15195
15196 2018-06-27 Florian Weimer <fweimer@redhat.com>
15197
15198 [BZ #18023]
15199 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15200 (extend_alloca_account): Remove.
15201 * manual/stdio.texi (Variable Arguments Output): Update comment.
15202
15203 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15204
15205 * nptl/sockperf.c: Remove file.
15206
15207 2018-06-27 Florian Weimer <fweimer@redhat.com>
15208
15209 [BZ #18023]
15210 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15211 scratch_buffer instead of extend_alloca.
15212
15213 2018-06-27 Florian Weimer <fweimer@redhat.com>
15214
15215 [BZ #18023]
15216 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15217 scratch_buffer instead of extend_alloca. Update comments.
15218
15219 2018-06-27 Florian Weimer <fweimer@redhat.com>
15220
15221 [BZ #18023]
15222 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15223 instead of extend_alloca.
15224
15225 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15226
15227 [BZ #13888]
15228 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15229 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15230 /tmp.
15231 * scripts/test-installation.pl: Put temporary files in build
15232 directory, not /tmp.
15233 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15234 (CFLAGS-bug4.c): Likewise.
15235 (CFLAGS-bug5.c): Likewise.
15236 (CFLAGS-test-fseek.c): Likewise.
15237 (CFLAGS-test-popen.c): Likewise.
15238 (CFLAGS-test_rdwr.c): Likewise.
15239 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15240 /tmp.
15241 * stdio-common/bug4.c (main): Likewise.
15242 * stdio-common/bug5.c (main): Likewise.
15243 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15244 * stdio-common/test-popen.c (do_test): Likewise.
15245 * stdio-common/test_rdwr.c (main): Likewise.
15246
15247 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15248
15249 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15250 (sem_open): Set sem.newsem.pad to zero for valgrind.
15251
15252 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15253
15254 [BZ #20251]
15255 * NEWS: Mention fcntl64 addition.
15256 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15257 * login/utmp_file.c: Likewise.
15258 * sysdeps/posix/fdopendir.c: Likewise.
15259 * sysdeps/posix/opendir.c: Likewise.
15260 * sysdeps/unix/pt-fcntl.c: Likewise.
15261 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15262 __fcntl64_nocancel_adjusted): New prototype.
15263 (__fcntl_nocancel_adjusted): Remove prototype.
15264 * io/Makefile (routines): Add fcntl64.
15265 (CFLAGS-fcntl64.c): New rule.
15266 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15267 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15268 * io/fcntl.h (fcntl64): Add prototype and redirect if
15269 __USE_FILE_OFFSET64 is defined.
15270 * io/fcntl64.c: New file.
15271 * manual/llio.text: Add a note for which commands fcntl acts a
15272 cancellation point.
15273 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15274 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15275 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15276 New symbols.
15277 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15278 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15279 non-LFS case.
15280 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15281 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15282 to __fcntl64_nocancel.
15283 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15284 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15285 to __fcntl64_nocancel.
15286 * sysdeps/generic/not-cancel.h: Likewise.
15287 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15288 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15289 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15290 (fcntl64): New symbol.
15291 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15299 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15300 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15302 fcntl64): Likewise.
15303 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15304 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15305 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15306 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15307 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15308 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15310 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15311 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15313 Likewise.
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15315 Likewise.
15316 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15319
15320 2018-06-26 Florian Weimer <fweimer@redhat.com>
15321
15322 Run thread shutdown functions in an explicit order.
15323 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15324 definition.
15325 (__libc_thread_freeres): Call thread shutdown functions
15326 explicitly.
15327 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15328 * include/string.h (__strerror_thread_freeres): Declare.
15329 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15330 arena_thread_freeres. No longer static. Remove thread shutdown
15331 hook registration.
15332 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15333 Declare.
15334 * resolv/res-close.c (__res_thread_freeres): Renamed from
15335 res_thread_freeres. No longer static. Remove thread shutdown
15336 hook registration.
15337 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15338 * resolv/resolv_conf.c (freeres): Remove incorrect section
15339 attribute and use libc_freeres_fn.
15340 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15341 strerror_thread_freeres. No longer static. Remove thread
15342 shutdown hook registration.
15343 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15344 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15345 shutdown hook registration.
15346 * Makerules (shlib.lds): Do not provide section boundary symbols
15347 for __libc_thread_subfreeres.
15348 * manual/memory.texi (Basic Allocation): Update comment.
15349
15350 2018-06-26 Florian Weimer <fweimer@redhat.com>
15351
15352 Remove always-defined _RPC_THREAD_SAFE_ macro.
15353 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15354 Do not define _RPC_THREAD_SAFE_.
15355 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15356 conditional.
15357 * sunrpc/clnt_perr.c: Likewise.
15358 * sunrpc/clnt_raw.c: Likewise.
15359 * sunrpc/clnt_simp.c: Likewise.
15360 * sunrpc/key_call.c: Likewise.
15361 * sunrpc/rpc_common.c: Likewise.
15362 * sunrpc/rpc_main.c: Likewise.
15363 * sunrpc/rpc_thread.c: Likewise.
15364 * sunrpc/svc.c: Likewise.
15365 * sunrpc/svc_raw.c: Likewise.
15366 * sunrpc/svc_simple.c: Likewise.
15367 * sumrpc/svcauth_des.c: Likewise.
15368
15369 2018-06-26 Florian Weimer <fweimer@redhat.com>
15370
15371 * libio/Makefile (tests-internal): Add tst-vtables,
15372 tst-vtables-interposed.
15373 * libio/tst-vtables.c: New file.
15374 * libio/tst-vtables-common.c: Likewise.
15375 * libio/tst-vtables-interposed.c: Likewise.
15376
15377 2018-06-26 Florian Weimer <fweimer@redhat.com>
15378
15379 * support/support_test_main.c (support_test_main): Only call
15380 setvbuf if not disables.
15381 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15382 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15383
15384 2018-06-26 Florian Weimer <fweimer@redhat.com>
15385
15386 [BZ #23313]
15387 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15388
15389 2018-06-25 Florian Weimer <fweimer@redhat.com>
15390
15391 [BZ #18023]
15392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15393 Use struct scratch_buffer instead of extend_alloca.
15394
15395 2018-06-25 Florian Weimer <fweimer@redhat.com>
15396
15397 [BZ #18023]
15398 * nss/getent.c (initgroups_keys): Use dynarray instead of
15399 extend_alloca.
15400
15401 2018-06-25 Florian Weimer <fweimer@redhat.com>
15402
15403 [BZ #18023]
15404 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15405 Use struct scratch_buffer instead of extend_alloca.
15406
15407 2018-06-25 Florian Weimer <fweimer@redhat.com>
15408
15409 [BZ #18023]
15410 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15411 back to malloc directly, without stack allocations.
15412
15413 2018-06-25 Florian Weimer <fweimer@redhat.com>
15414
15415 [BZ #18023]
15416 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15417 of extend_alloca.
15418
15419 2018-06-25 Florian Weimer <fweimer@redhat.com>
15420
15421 [BZ #18023]
15422 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15423 of extend_alloca.
15424 * nscd/hstcache.c (addhstbyX): Likewise.
15425 * nscd/pwdcache.c (addpwbyX): Likewise.
15426 * nscd/servicescache.c (addservbyX): Likewise.
15427
15428 2018-06-25 Florian Weimer <fweimer@redhat.com>
15429
15430 [BZ #18023]
15431 * nscd/connections.c (read_cmdline): New function.
15432 (restart): Use it. Update comment.
15433
15434 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15435
15436 [BZ #23140]
15437 * localedata/locales/csb_PL (mon): Rename to...
15438 (alt_mon): This.
15439 (abmon): Rename to...
15440 (ab_alt_mon): This.
15441 (mon): Add with proper genitive forms, copy from Wikipedia.
15442 (abmon): Likewise.
15443
15444 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15445
15446 [BZ #19485]
15447 * localedata/locales/csb_PL (mon): Fix typos:
15448 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15449 (yesstr): Add, value is "jo".
15450 (nostr): Add, value is "nié".
15451
15452 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15453
15454 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15455 all log1p and significand functions on m680x0.
15456 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15457 of s_significand.c..
15458 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15459 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15460 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15461 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15462 s_log1p.c and include it..
15463
15464 2018-06-21 Vincent Chen <vincentc@andestech.com>
15465
15466 * elf/elf.h (R_NDS32_NONE): New define.
15467 (R_NDS32_32_RELA): Likewise.
15468 (R_NDS32_COPY): Likewise.
15469 (R_NDS32_GLOB_DAT): Likewise.
15470 (R_NDS32_JUMP_SLOT): Likewise.
15471 (R_NDS32_RELATIVE): Likewise.
15472 (R_NDS32_TLS_TPOFF): Likewise.
15473 (R_NDS32_TLS_DESC): Likewise.
15474
15475 2018-06-21 Mark Wielaard <mark@klomp.org>
15476
15477 * elf/elf.h (R_BPF_MAP_FD): Removed.
15478 (R_BPF_64_64, R_BPF_64_32): New.
15479
15480 2018-06-21 Florian Weimer <fweimer@redhat.com>
15481
15482 [BZ #23253]
15483 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15484 Renamed from libc_feholdsetround_ctx.
15485 (default_libc_feresetround_ctx): Renamed from
15486 libc_feresetround_ctx.
15487 (default_libc_feholdsetround_noex_ctx): Renamed from
15488 libc_feholdsetround_noex_ctx.
15489 (default_libc_feresetround_noex_ctx): Renamed from
15490 libc_feresetround_noex_ctx.
15491 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15492 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15493 forwardning to the old implementations under the new names.
15494 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15495 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15496 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15497 (libc_feresetround_ctx): Forward to default implements for i386
15498 and MATH_SET_BOTH_ROUNDING_MODES.
15499 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15500 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15501
15502 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15503
15504 * string/tst-cmp.c: Include <libc-diag.h>.
15505 (strncmp_max): Disable -Wstringop-overflow= around call to
15506 strncmp.
15507 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15508 strncasecmp.
15509
15510 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15511 (main): Disable -Wunused-value around call to strpbrk.
15512 * string/bug-strspn1.c: Include <libc-diag.h>.
15513 (main): Disable -Wunused-value around call to strspn.
15514
15515 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15516 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15517
15518 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15519 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15520
15521 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15522
15523 * math/Makefile (libm-calls): Move s_significandF to...
15524 (gen-libm-calls): ... here.
15525 * math/s_significand_template.c: New file.
15526 * math/s_significand.c: Removed.
15527 * math/s_significandf.c: Removed.
15528 * math/s_significandl.c: Removed.
15529 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15530 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15531
15532 * math/e_exp2_template.c (declare_mgen_finite_alias,
15533 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15534 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15535 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15536
15537 2018-06-20 Florian Weimer <fweimer@redhat.com>
15538
15539 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15540
15541 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15542
15543 [BZ #23280]
15544 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15545 floating-point number to strtod functions rather than possibly
15546 negating result of those functions.
15547 * stdio-common/tst-scanf-round.c: New file.
15548 * stdio-common/Makefile (tests): Add tst-scanf-round.
15549 ($(objpfx)tst-scanf-round): Depend on $(libm).
15550
15551 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15552
15553 * sysdeps/mach/hurd/localplt.data: Move to...
15554 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15555 R_386_GLOB_DAT like on Linux i386.
15556
15557 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15558
15559 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15560 (SHM_STAT_ANY): New macro.
15561 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15562 (SHM_STAT_ANY): Likewise.
15563 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15564 (SHM_STAT_ANY): Likewise.
15565 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15566 (SHM_STAT_ANY): Likewise.
15567 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15568 (SHM_STAT_ANY): Likewise.
15569 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15570 (SHM_STAT_ANY): Likewise.
15571 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15572 (SHM_STAT_ANY): Likewise.
15573 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15574 (SHM_STAT_ANY): Likewise.
15575 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15576 (SHM_STAT_ANY): Likewise.
15577 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15578 (SHM_STAT_ANY): Likewise.
15579 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15580 (SHM_STAT_ANY): Likewise.
15581 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15582 (SHM_STAT_ANY): Likewise.
15583
15584 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15585 (SEM_STAT_ANY): New macro.
15586 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15587 (SEM_STAT_ANY): Likewise.
15588 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15589 (SEM_STAT_ANY): Likewise.
15590 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15591 (SEM_STAT_ANY): Likewise.
15592 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15593 (SEM_STAT_ANY): Likewise.
15594 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15595 (SEM_STAT_ANY): Likewise.
15596 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15597 (SEM_STAT_ANY): Likewise.
15598 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15599 (SEM_STAT_ANY): Likewise.
15600 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15601 (SEM_STAT_ANY): Likewise.
15602 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15603 (SEM_STAT_ANY): Likewise.
15604
15605 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15606 (MSG_STAT_ANY): New macro.
15607 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15608 (MSG_STAT_ANY): Likewise.
15609 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15610 (MSG_STAT_ANY): Likewise.
15611 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15612 (MSG_STAT_ANY): Likewise.
15613 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15614 (MSG_STAT_ANY): Likewise.
15615 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15616 (MSG_STAT_ANY): Likewise.
15617 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15618 (MSG_STAT_ANY): Likewise.
15619 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15620 (MSG_STAT_ANY): Likewise.
15621 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15622 (MSG_STAT_ANY): Likewise.
15623 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15624 (MSG_STAT_ANY): Likewise.
15625
15626 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15627 (MAP_TYPE): Change value to 0x2b.
15628
15629 2018-06-18 Florian Weimer <fweimer@redhat.com>
15630
15631 [BZ #15722]
15632 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15633 socket with SOCK_CLOEXEC.
15634
15635 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15636
15637 [BZ #23303]
15638 * sysdeps/powerpc/powerpc64/le/Makefile
15639 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15640 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15641 (gnulib-tests): Also add $(f128-loader-link) for
15642 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15643
15644 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15645
15646 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15647 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15648 of sendfile.
15649 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15650 (sendfile64): New strong alias.
15651 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15652 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15653 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15654 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15655 attribute.
15656 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15657 ___pthread_get_cleanup_stack.
15658 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15659 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15660 * mach/shortcut.awk: Make syscall stubs include
15661 <mach-shortcuts-hidden.h> and add hidden definition.
15662 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15663 (__mach_msg): Add hidden prototype.
15664 * mach/msg.c: Include <mach.h>.
15665 (__mach_msg): Add hidden definition.
15666 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15667 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15668 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15669 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15670 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15671 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15672 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15673 prototype and definition.
15674 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15675 hidden target for _hurd_self_sigstate.
15676
15677 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15678
15679 [BZ #23007]
15680 * stdlib/tst-strtod-nan-sign-main.c: New file.
15681 * stdlib/tst-strtod-nan-sign.c: Likewise.
15682 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15683 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15684 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15685 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15686 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15687
15688 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15689
15690 [BZ #23007]
15691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15692 appropriate sign.
15693
15694 2018-06-14 Florian Weimer <fweimer@redhat.com>
15695
15696 [BZ #23290]
15697 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15698 that the result stays within the ISO-8859-1 range.
15699 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15700 characters are defined in IBM273.
15701
15702 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15703
15704 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15705 __mach_task_self): Remove attribute_hidden.
15706
15707 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15708
15709 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15710 ignore -Wrestrict for one test.
15711
15712 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15713 Szabolcs Nagy <szabolcs.nagy@arm.com>
15714
15715 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15716
15717 2018-06-14 Florian Weimer <fweimer@redhat.com>
15718
15719 * scripts/update-abilist.sh: Accept empty list of files to patch.
15720
15721 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15722
15723 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15724 test-xfail-check-abi-libmachuser): Add.
15725 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15726 __libc_read and __libc_write to __read and __write.
15727 * sysdeps/hurd/include/hurd/port.h: New file.
15728 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15729 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15730 __thread_switch, __evc_wait): Move declarations to...
15731 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15732 attribute_hidden.
15733 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15734 use PLT to call _hurd_self_sigstate.
15735
15736 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15737
15738 [BZ #23279]
15739 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15740 MAX_EXP as overflowing.
15741 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15742 overflow flag.
15743 (round_str): Output also whether result overflows in each rounding
15744 mode.
15745 * stdlib/tst-strtod-round-data: Add more tests.
15746 * stdlib/tst-strtod-round-data.h: Regenerated.
15747 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15748 (TEST): Handle extra arguments for overflow flags.
15749 (struct test_overflow): New type.
15750 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15751 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15752 (test_in_one_mode): Take argument with overflow information.
15753 (do_test): Update calls to test_in_one_mode.
15754
15755 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15756
15757 * elf/dl-load (_dl_dst_substitute): Correct comment.
15758 (_dl_dst_count): Likewise.
15759
15760 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15761 lll_futex_timed_wait.
15762
15763 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15764
15765 [BZ #23277]
15766 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15767 attribute.
15768 * math/test-nan-const.c: New file.
15769 * math/Makefile (tests): Add test-nan-const.
15770 (CFLAGS-test-nan-const.c): New variable.
15771
15772 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15773
15774 * benchtests/scripts/compare_strings.py (process_results): Add
15775 funcs argument. Compare only functions which are selected.
15776 (main): Check if base function is among selected functions.
15777 Pass selected functions to process_results.
15778 (__main__): Add -f/--functions argument.
15779
15780 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15781 Hongbo Zhang <hongbo.zhang@linaro.org>
15782
15783 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15784 __memcpy_falkor for phecda core.
15785 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15786 __memmove_falkor for phecda core.
15787 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15788 __memset_falkor for phecda core.
15789 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15790 for phecda core.
15791 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15792 macro to identify phecda core.
15793
15794 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15795 Andreas Schwab <schwab@suse.de>
15796 Dmitry V. Levin <ldv@altlinux.org>
15797 Florian Weimer <fweimer@redhat.com>
15798
15799 [BZ #23102]
15800 [BZ #21942]
15801 [BZ #18018]
15802 [BZ #23259]
15803 CVE-2011-0536
15804 * elf/dl-dst.h: Remove DL_DST_COUNT.
15805 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15806 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15807 (is_dst): Comment. Support ELF gABI.
15808 (_dl_dst_count): Comment. Simplify and count DSTs.
15809 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15810 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15811 locals.
15812
15813 2018-06-12 Zack Weinberg <zackw@panix.com>
15814
15815 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15816 * sysdeps/unix/sysv/linux/dl-sysdep.c
15817 Include not-cancel.h. Use __close_nocancel instead of __close,
15818 __open64_nocancel instead of __open, __read_nocancel instead of
15819 __libc_read, and __write_nocancel instead of __libc_write.
15820
15821 * csu/check_fds.c (check_one_fd)
15822 * sysdeps/posix/fdopendir.c (__fdopendir)
15823 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
15824 instead of __fcntl and/or __libc_fcntl.
15825
15826 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15827 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
15828 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
15829 Use __open64_nocancel instead of __open_nocancel.
15830
15831 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15832 hidden_proto declarations to the end and issue them if either
15833 IS_IN(libc) or IS_IN(rtld).
15834 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15835 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15836 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15837 read_nocancel, waitpid_nocancel, write_nocancel.
15838
15839 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15840 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15841 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
15842
15843 * nptl/pt-fcntl.c: New file.
15844 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15845 (libpthread-routines): Add pt-fcntl.
15846 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15847 (__libc_fcntl): Remove attribute_hidden.
15848 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15849 __fcntl_nocancel_adjusted, not fcntl_common.
15850 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
15851 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15852 to fcntl_nocancel.c.
15853 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15856 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15857
15858 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15859 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15860 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15861 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15862 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15863 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15864 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15865 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15866 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15867 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15868 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15869 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15870 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15871 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15872 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15873 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15874 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15875 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15876 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15877 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15878
15879 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15880 libpthread-routines.
15881 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15882 defines nothing.
15883
15884 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15885 __libc_read, and __write instead of __libc_write. Define
15886 __open64 in addition to __open.
15887
15888 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15889
15890 [BZ #23250]
15891 [BZ #10686]
15892 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15893 to _private_tm[3] and add __glibc_reserved2.
15894 Add _Static_assert of offset of __private_ss == 0x30.
15895 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15896 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15897
15898 2018-06-12 Florian Weimer <fweimer@redhat.com>
15899
15900 x86: Make strncmp usable from rtld.
15901 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15902 __strncmp_ia32 if in libc (and not in rtld).
15903 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15904 strncmp if not in libc (and not to __strncmp_sse2).
15905
15906 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
15907
15908 [BZ #23140]
15909 * localedata/locales/gd_GB (mon): Rename to...
15910 (alt_mon): This.
15911 (mon): Import from CLDR (genitive case).
15912 * localedata/locales/hsb_DE (mon): Rename to...
15913 (alt_mon): This.
15914 (mon): Import from CLDR (genitive case).
15915 * localedata/locales/wa_BE (mon): Rename to...
15916 (alt_mon): This.
15917 (mon): Add, fill with the proper genitive forms, but CLDR data
15918 is incomplete; completed according to the comments in this file.
15919 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15920
15921 * localedata/locales/wa_BE (country_name): Reword
15922 "Beljike" -> "Beldjike".
15923
15924 2018-06-11 Joseph Myers <joseph@codesourcery.com>
15925
15926 [BZ #23272]
15927 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15928 cases of non-finite arguments.
15929 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15930
15931 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
15932
15933 [BZ #23174]
15934 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
15935
15936 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15937
15938 [BZ #23264]
15939 * include/unistd.h (__execvpex): New prototype.
15940 * posix/Makefile (tests): Add tst-spawn4.
15941 (tests-internal): Add tst-spawn4-compat.
15942 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
15943 * posix/tst-spawn4-compat.c: New file.
15944 * posix/tst-spawn4.c: Likewise.
15945 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
15946 binaries as shell scripts.
15947 * sysdeps/posix/spawni.c (__spawni): Likewise.
15948
15949 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15950
15951 [BZ #23145]
15952 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15953 ($(all-built-dso:=.dynsym): New target.
15954 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15955 ($(objpfx)check-initfini.out): New target.
15956 (generated): Add check-initfini.out.
15957 * scripts/check-initfini.awk: New file.
15958 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15959 (_fini): Likewise.
15960 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15961 (_fini): Likewise.
15962 * sysdeps/arm/crti.S (_init): Mark as hidden.
15963 (_fini): Likewise.
15964 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15965 (_fini): Likewise.
15966 * sysdeps/i386/crti.S (_init): Mark as hidden.
15967 (_fini): Likewise.
15968 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15969 (_fini): Likewise.
15970 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15971 (_fini): Likewise.
15972 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15973 (_fini): Likewise.
15974 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15975 (_fini): Likewise.
15976 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15977 (_fini): Likewise.
15978 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15979 (_fini): Likewise.
15980 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15981 (_fini): Likewise.
15982 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15983 (_fini): Likewise.
15984 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15985 (_fini): Likewise.
15986 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15987 (_fini): Likewise.
15988 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15989 (_fini): Likewise.
15990 * sysdeps/sh/crti.S (_init): Mark as hidden.
15991 (_fini): Likewise.
15992 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15993 (_fini): Likewise.
15994 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15995 (_fini): Likewise.
15996
15997 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15998
15999 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16000 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16001 and TF redirection to KFtype and KF only when the default
16002 long double type is not the IEEE 128-bit floating point type.
16003
16004 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16005
16006 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16007 macro.
16008 (HWCAP_USCAT): Likewise.
16009 (HWCAP_ILRCPC): Likewise.
16010 (HWCAP_FLAGM): Likewise.
16011 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16012 Increase to 28.
16013 (_dl_aarch64_cap_flags): Add new flag names.
16014
16015 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16016 (MAP_FIXED_NOREPLACE): New macro.
16017 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16018 (MAP_FIXED_NOREPLACE): Likewise.
16019 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16020 (MAP_FIXED_NOREPLACE): Likewise.
16021 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16022 (MAP_FIXED_NOREPLACE): Likewise.
16023 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16024 (MAP_FIXED_NOREPLACE): Likewise.
16025 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16026 (MAP_FIXED_NOREPLACE): Likewise.
16027 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16028 (MAP_FIXED_NOREPLACE): Likewise.
16029 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16030 (MAP_FIXED_NOREPLACE): Likewise.
16031 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16032 (MAP_FIXED_NOREPLACE): Likewise.
16033 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16034 (MAP_FIXED_NOREPLACE): Likewise.
16035 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16036 (MAP_FIXED_NOREPLACE): Likewise.
16037 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16038 (MAP_FIXED_NOREPLACE): Likewise.
16039 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16040 (MAP_FIXED_NOREPLACE): Likewise.
16041 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16042 (MAP_FIXED_NOREPLACE): Likewise.
16043 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16044 (MAP_FIXED_NOREPLACE): Likewise.
16045
16046 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16047 version to 4.17.
16048
16049 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16050
16051 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16052 version to 4.17
16053
16054 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16055
16056 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16057 int.
16058 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16059
16060 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16061
16062 * benchtests/scripts/compare_string.py: (process_results) Catch
16063 exception in non-existent base_func and catch exception in
16064 non-existent attribute.
16065 (parse_file) Catch exception if input file does not exist.
16066
16067 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16068
16069 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16070 options to avoid diff calculation and omit header, respectively.
16071 (main): process --no-diff and --no-header
16072
16073 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16074 H.J. Lu <hongjiu.lu@intel.com>
16075
16076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16077 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16078 wcsncmp-sse2.
16079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16080 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16081 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16082 and __wcsncmp_sse2.
16083 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16084 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16085 AVX unaligned load is fast and vzeroupper is preferred.
16086 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16087 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16088 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16089 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16090 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16091 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16092 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16093 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16094 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16095 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16096 is undefined.
16097
16098 2018-06-01 Florian Weimer <fweimer@redhat.com>
16099
16100 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16101 configuring with --disable-multi-arch, building with
16102 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16103 Haswell-era CPU.
16104
16105 2018-06-01 Florian Weimer <fweimer@redhat.com>
16106
16107 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16108 results from building with “-march=x86-64 -mtune=generic
16109 -mfpmath=sse” and running on a Haswell-era CPU.
16110
16111 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16112
16113 [BZ #18473]
16114 * soft-fp/sqrttf2.c: Remove file.
16115 * soft-fp/sqrtdf2.c: Move to ....
16116 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16117 <shlib-compat.h>.
16118 (__sqrtdf2): Make conditional on
16119 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16120 symbol.
16121 * soft-fp/sqrtsf2.c: Move to ....
16122 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16123 <shlib-compat.h>.
16124 (__sqrtsf2): Make conditional on
16125 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16126 symbol.
16127 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16128 (gcc-double-routines): Remove sqrtdf2.
16129 (gcc-quad-routines): Remove sqrttf2.
16130 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16131 Do not filter out sqrtsf2 and sqrtdf2.
16132 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16133 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16134
16135 2018-06-01 Florian Weimer <fweimer@redhat.com>
16136
16137 * sysdeps/generic/libcidn.abilist: Remove file.
16138
16139 2018-06-01 Florian Weimer <fweimer@redhat.com>
16140
16141 [BZ #23236]
16142 * libio/strfile.h (struct _IO_str_fields): Rename members to
16143 discourage their use and add comment.
16144 (_IO_STR_DYNAMIC): Remove unused macro.
16145 * libio/strops.c (_IO_str_init_static_internal): Do not use
16146 callback pointers. Call malloc and free.
16147 (_IO_str_overflow): Do not use callback pointers. Call malloc
16148 and free.
16149 (enlarge_userbuf): Likewise.
16150 (_IO_str_finish): Call free.
16151 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16152 _allocate_buffer_unused.
16153 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16154 and free.
16155 (enlarge_userbuf): Likewise.
16156 (_IO_wstr_finish): Call free.
16157 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16158 _allocate_buffer_unused, _free_buffer_unused.
16159 * libio/memstream.c (__open_memstream): Likewise.
16160 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16161 * libio/wmemstream.c (open_wmemstream): Likewise.
16162
16163 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16164
16165 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16166 AMD Ryzen 7 1800X.
16167
16168 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16169
16170 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16171 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16172 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16173 New file.
16174 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16175 Likewise.
16176 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16177
16178 2018-05-29 Florian Weimer <fweimer@redhat.com>
16179
16180 * support/Makefile (libsupport-routines): Add
16181 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16182 xpthread_barrierattr_setpshared.
16183 * support/xpthread_barrierattr_destroy.c: New file.
16184 * support/xpthread_barrierattr_init.c: Likewise.
16185 * support/xpthread_barrierattr_setpshared.c: Likewise.
16186
16187 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16188
16189 [BZ #23206]
16190 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16191 _r_debug and update DT_DEBUG for debugger.
16192
16193 2018-05-29 Florian Weimer <fweimer@redhat.com>
16194
16195 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16196 (tst-strtod5i.out): Likewise.
16197
16198 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16199
16200 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16201 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16202 (sparc64-quad-routines): New variable. Moved from ....
16203 [$(subdir) = soft-fp] (sysdep_routines): Add
16204 $(sparc64-quad-routines). Moved from ....
16205 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16206 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16207 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16208 moved from ....
16209 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16210 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16211 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16212 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16213 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16214 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16215 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16216 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16217 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16218 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16219 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16220 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16221 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16222 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16223 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16224 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16225 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16226 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16227 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16228 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16229 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16230 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16231 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16232 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16233 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16234 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16235 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16236 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16237 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16238 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16239 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16240 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16241 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16242 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16243 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16244 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16245 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16246 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16247 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16248 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16249 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16250 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16251 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16252 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16253 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16254 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16255 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16256 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16257 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16258 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16259 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16260 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16261 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16262 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16263 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16264 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16265 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16266 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16267
16268 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16269 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16270 (sparc32-quad-routines): New variable. Moved from ....
16271 [$(subdir) = soft-fp] (sysdep_routines): Add
16272 $(sparc32-quad-routines). Moved from ....
16273 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16274 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16275 moved from ....
16276 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16277 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16278 * sysdeps/sparc/sparc32/q_add.c: ... here.
16279 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16280 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16281 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16282 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16283 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16284 * sysdeps/sparc/sparc32/q_div.c: ... here.
16285 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16286 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16287 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16288 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16289 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16290 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16291 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16292 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16293 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16294 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16295 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16296 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16297 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16298 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16299 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16300 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16301 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16302 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16303 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16304 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16305 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16306 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16307 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16308 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16309 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16310 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16311 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16312 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16313 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16314 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16315 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16316 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16317 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16318 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16319 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16320 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16321 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16322 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16323 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16324 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16325 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16326 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16327 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16328 * sysdeps/sparc/sparc32/q_util.c: ... here.
16329 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16330 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16331 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16332 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16333
16334 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16335 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16336
16337 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16338 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16339 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16340 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16341
16342 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16343
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16345 powerpc/soft-fp.
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16347 Likewise.
16348 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16349 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16350
16351 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16352
16353 [BZ #23171]
16354 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16355 double version.
16356
16357 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16358
16359 * sysdeps/sh/Implies: Remove sh/soft-fp.
16360 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16361 * sysdeps/sh/sfp-machine.h: ... here.
16362
16363 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16364
16365 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16366 (__mempcpy_erms): Skip zero length.
16367 (__memmove_erms): Likewise.
16368 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16369 (__memset_erms): Likewise.
16370
16371 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16372
16373 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16374 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16375 Add functions moved from ....
16376 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16377 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16378 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16379 from ....
16380 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16381 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16382 * sysdeps/alpha/e_sqrtl.c: ... here.
16383 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16384 * sysdeps/alpha/local-soft-fp.h: ... here.
16385 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16386 * sysdeps/alpha/ots_add.c: ... here.
16387 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16388 * sysdeps/alpha/ots_cmp.c: ... here.
16389 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16390 * sysdeps/alpha/ots_cmpe.c: ... here.
16391 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16392 * sysdeps/alpha/ots_cvtqux.c: ... here.
16393 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16394 * sysdeps/alpha/ots_cvtqx.c: ... here.
16395 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16396 * sysdeps/alpha/ots_cvttx.c: ... here.
16397 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16398 * sysdeps/alpha/ots_cvtxq.c: ... here.
16399 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16400 * sysdeps/alpha/ots_cvtxt.c: ... here.
16401 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16402 * sysdeps/alpha/ots_div.c: ... here.
16403 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16404 * sysdeps/alpha/ots_mul.c: ... here.
16405 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16406 * sysdeps/alpha/ots_nintxq.c: ... here.
16407 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16408 * sysdeps/alpha/ots_sub.c: ... here.
16409 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16410 * sysdeps/alpha/sfp-machine.h: ... here.
16411
16412 2018-05-23 Florian Weimer <fweimer@redhat.com>
16413
16414 [BZ #19728]
16415 [BZ #19729]
16416 [BZ #22247]
16417 CVE-2016-6261
16418 CVE-2016-6263
16419 CVE-2017-14062
16420 Switch to extern IDNA implementation (libidn2).
16421 * libidn: Remove subdirectory.
16422 * LICENSES: Do not mention licensing conditions for the removed
16423 libidn code.
16424 * config.h.in (HAVE_LIBIDN): Remove.
16425 * include/dlfcn.h (__libc_dlopen): Update comment.
16426 * include/idna.h: Remove file.
16427 * inet/Makefile (routines): Add idna.
16428 (tests-static, tests-internal): Add tst-idna_name_classify.
16429 (LOCALES): Generate locales for tests.
16430 (tst-idna_name_classify.out): Depend on generated locales.
16431 * inet/idna_name_classify.c: New file.
16432 * inet/tst-idna_name_classify.c: Likewise.
16433 * inet/net-internal.h (__idna_to_dns_encoding)
16434 (__idna_from_dns_encoding): Declare.
16435 * inet/net-internal.h (enum idna_name_classification): Define.
16436 (__idna_name_classify): Declare.
16437 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16438 __idna_from_dns_encoding.
16439 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16440 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16441 name as a fallback in case of encoding errors.
16442 (getnameinfo): Use DEPRECATED_NI_IDN.
16443 * inet/idna.c: New file.
16444 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16445 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16446 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16447 (modules-names): Add tst-no-libidn2.
16448 (extra-test-objs): Add tst-no-libidn2.os.
16449 (LDFLAGS-tst-no-libidn2.so): Set soname.
16450 (LOCALES): Set, and generate locales.
16451 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16452 (tst-resolv-ai_idn-latin1): Likewise.
16453 (tst-resolv-ai_idn-nolibidn2): Likewise.
16454 (tst-resolv-ai_idn.out): Depend on locales.
16455 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16456 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16457 tst-no-libidn2.so.
16458 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16459 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16460 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16461 * resolv/tst-resolv-ai_idn.c: New file.
16462 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16463 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16464 * resolv/tst-no-libidn2.c: Likewise.
16465 * support/support_format_addrinfo.c (format_ai_flags): Do not
16466 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16467 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16468 (gaih_inet): Call __idna_to_dns_encoding and
16469 __idna_from_dns_encoding, and use the original (punycode) name if
16470 __idna_from_dns_encoding fails due to an encoding error.
16471 (getaddrinfo): Use DEPRECATED_AI_IDN.
16472 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16473 * sysdeps/unix/inet/configure: Remove file.
16474 * sysdeps/unix/inet/configure.ac: Likewise.
16475
16476 2018-05-23 Florian Weimer <fweimer@redhat.com>
16477
16478 Implement allocate_once.
16479 * include/allocate_once.h: New file.
16480 * misc/allocate_once.c: Likewise.
16481 * misc/tst-allocate_once.c: Likewise.
16482 * misc/Makefile (routines): Add allocate_once.
16483 (tests-internal): Add tst-allocate_once.
16484 (generated): Add tst-allocate_once.mtrace,
16485 tst-allocate_once-mem.out.
16486 (tests-special): Add tst-allocate_once-mem.out.
16487 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16488 (tst-allocate_once-mem.out): Call mtrace.
16489 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16490
16491 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16492
16493 [BZ #23196]
16494 * string/test-memcpy.c (do_test1): New function.
16495 (test_main): Call it.
16496
16497 2018-05-23 Andreas Schwab <schwab@suse.de>
16498
16499 [BZ #23196]
16500 CVE-2018-11237
16501 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16502 (L(preloop_large)): Save initial destination pointer in %r11 and
16503 use it instead of %rax after the loop.
16504 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16505
16506 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16507
16508 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16509 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16510 -I../soft-fp. Moved from ....
16511 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16512 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16513 * sysdeps/aarch64/e_sqrtl.c: ... here.
16514 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16515 * sysdeps/aarch64/sfp-machine.h: ... here.
16516
16517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16518 -Wmaybe-uninitialized around access to fq[0].
16519 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16520 Likewise.
16521
16522 [BZ #18471]
16523 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16524 aliases for non-libc case of versioned symbols.
16525 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16526 (llseek): Define as compat symbol if
16527 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16528 with link warning.
16529 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16530 Make into a compat symbol, disabled for minimum symbol version
16531 GLIBC_2.28 and later.
16532 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16533
16534 2018-05-22 Florian Weimer <fweimer@redhat.com>
16535
16536 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16537 not add -mpreferred-stack-boundary=4.
16538 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16539 (stack-align-test-flags): Likewise.
16540 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16541 Likewise.
16542 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16543 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16544 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16545 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16546 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16547 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16548 (CFLAGS-tst-align2.c): Likewise.
16549
16550 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16551
16552 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16553 (index_arch_Prefer_FSRM): Likewise.
16554 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16555 Also check Prefer_FSRM.
16556 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16557 Also return OPTIMIZE (erms) for Prefer_FSRM.
16558
16559 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16560
16561 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16562 (index_cpu_FSRM): Likewise.
16563 (reg_FSRM): Likewise.
16564
16565 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16566
16567 * math/gen-tgmath-tests.py: Import sys.
16568 (Tests.__init__): Initialize macros_seen.
16569 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16570 if requested to do so for this macro.
16571 (Tests.add_all_tests): Take argument for macro for which to
16572 generate tests.
16573 (Tests.check_macro_list): New function.
16574 (main): Handle check-list argument and argument specifying macro
16575 for which to generate tests.
16576 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16577 [PYTHON] (tgmath3-macro-tests): Likewise.
16578 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16579 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16580 not test-tgmath3.c.
16581 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16582 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16583 to CFLAGS.
16584 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16585 [PYTHON] ($(foreach
16586 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16587 rule.
16588 [PYTHON] (tests-special): Add
16589 $(objpfx)test-tgmath3-macro-list.out.
16590 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16591
16592 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16593 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16594 later.
16595
16596 [BZ #22639]
16597 * time/tzset.c (SECSPERDAY): Cast to time_t.
16598 * time/tst-y2039.c: New file.
16599 * time/Makefile (tests): Add tst-y2039.
16600
16601 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16602
16603 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16604 (PREFETCH_ONE_SET): Remove duplicate line.
16605
16606 2018-05-17 Florian Weimer <fweimer@redhat.com>
16607
16608 * sysdeps/generic/math-type-macros-double.h: Include
16609 <math-nan-payload-double.h> after <libm-alias-double.h>.
16610 * sysdeps/generic/math-type-macros-float.h: Include
16611 <math-nan-payload-float.h> after <libm-alias-float.h>.
16612 * sysdeps/generic/math-type-macros-float128.h: Include
16613 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16614 * sysdeps/generic/math-type-macros-ldouble.h: Include
16615 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16616
16617 2018-05-17 Andreas Schwab <schwab@suse.de>
16618
16619 * resolv/res_send.c (__res_context_send): Don't set errno when
16620 returing error after malloc failure.
16621
16622 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16623
16624 * nptl/allocatestack.c (allocate_stack): Remove the
16625 !__ASSUME_PRIVATE_FUTEX paths.
16626 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16627 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16628 Likewise.
16629 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16630 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16631 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16632 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16633 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16634 !__ASSUME_PRIVATE_FUTEX path.
16635 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16636 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16637 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16638 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16639 !__ASSUME_PRIVATE_FUTEX macros.
16640 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16641 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16642 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16643 * sysdeps/unix/sysv/linux/kernel-features.h
16644 (__ASSUME_PRIVATE_FUTEX): Removed.
16645
16646 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16647
16648 * math/Makefile (libm-narrow-fns): Add div.
16649 (libm-test-funcs-narrow): Likewise.
16650 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16651 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16652 * math/gen-auto-libm-tests.c (test_functions): Add div.
16653 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16654 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16655 (NARROW_DIV_TRIVIAL): Likewise.
16656 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16657 macro.
16658 (__ddivl): Likewise.
16659 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16660 ddiv.
16661 (CFLAGS-nldbl-ddiv.c): New variable.
16662 (CFLAGS-nldbl-fdiv.c): Likewise.
16663 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16664 __nldbl_ddivl.
16665 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16666 prototype.
16667 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16668 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16669 * math/auto-libm-test-in: Add tests of div.
16670 * math/auto-libm-test-out-narrow-div: New generated file.
16671 * math/libm-test-narrow-div.inc: New file.
16672 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16673 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16675 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16676 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16677 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16686 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16687 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16688 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16689 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16691 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16692 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16693 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16694 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16695 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16696 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16697 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16698 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16699 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16700 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16701 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16702 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16703 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16708 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16709 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16710 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16711 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16712 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16713 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16714 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16715 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16716
16717 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16718
16719 [BZ #23178]
16720 * nscd/nscd-client.h (sendfileall): Remove prototype.
16721 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16722 (handle_request): Use writeall instead of sendfileall.
16723 * nscd/aicache.c (addhstaiX): Likewise.
16724 * nscd/grpcache.c (cache_addgr): Likewise.
16725 * nscd/hstcache.c (cache_addhst): Likewise.
16726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16727 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16728 * nscd/pwdcache.c (cache_addpw): Likewise.
16729 * nscd/servicescache.c (cache_addserv): Likewise.
16730 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16731 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16732 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16733 Remove define.
16734
16735 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16736
16737 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16738 Include <string/strncat.c>.
16739 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16740 alias.
16741 (__GI___strncat): New hidden alias.
16742
16743 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16744
16745 * sysdeps/mips/mips32/libm-test-ulps: Update.
16746 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16747
16748 2018-05-16 Florian Weimer <fweimer@redhat.com>
16749
16750 * support/Makefile (libsupport-routines): Add support_quote_blob,
16751 support_test_compare_blob.
16752 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16753 * support/check.h (TEST_COMPARE_BLOB): Define.
16754 (support_test_compare_blob): Declare.
16755 * support/support.h (support_quote_blob): Declare.
16756 * support/support_quote_blob.c: New file.
16757 * support/support_test_compare_blob.c: Likewise.
16758 * support/tst-support_quote_blob.c: Likewise.
16759 * support/tst-test_compare_blob.c: Likewise.
16760
16761 2018-05-16 Florian Weimer <fweimer@redhat.com>
16762
16763 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16764 of <strtod_nan_double.h>.
16765 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16766 instead of SET_MANTISSA.
16767 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16768 of include <strtod_nan_float.h>.
16769 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16770 instead of <strtod_nan_ldouble.h>.
16771 * stdlib/strtod_nan_double.h: Move to ...
16772 * sysdeps/generic/math-nan-payload-double.h: ... here.
16773 (FLOAT): Remove definition.
16774 (SET_MANTISSA): Rename to ...
16775 (SET_NAN_PAYLOAD): ... this.
16776 * stdlib/strtod_nan_float.h: Move to ...
16777 * sysdeps/generic/math-nan-payload-float.h: ... here.
16778 (FLOAT): Remove definition.
16779 (SET_MANTISSA): Rename to ...
16780 (SET_NAN_PAYLOAD): ... this.
16781 * sysdeps/generic/math-type-macros-double.h: Include
16782 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16783 instead of <math-svid-compat.h>.
16784 * sysdeps/generic/math-type-macros-float.h: Include
16785 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16786 instead of <math-svid-compat.h>.
16787 * sysdeps/generic/math-type-macros-float128.h: Include
16788 <math-nan-payload-float128.h>.
16789 * sysdeps/generic/math-type-macros-ldouble.h: Include
16790 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16791 instead of <math-svid-compat.h>.
16792 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16793 check for definition.
16794 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16795 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16796 Include <ieee754_float128.h>.
16797 (FLOAT): Remove definition.
16798 (SET_MANTISSA): Rename to ...
16799 (SET_NAN_PAYLOAD): ... this.
16800 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16801 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16802 Do not include <float128_private.h>.
16803 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16805 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16806 (FLOAT): Remove definition.
16807 (SET_MANTISSA): Rename to ...
16808 (SET_NAN_PAYLOAD): ... this.
16809 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16810 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16811 (FLOAT): Remove definition.
16812 (SET_MANTISSA): Rename to ...
16813 (SET_NAN_PAYLOAD): ... this.
16814 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16815 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16816 (FLOAT): Remove definition.
16817 (SET_MANTISSA): Rename to ...
16818 (SET_NAN_PAYLOAD): ... this.
16819 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16820 of "../stdlib/strtod_nan_double.h".
16821 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16822 of "../stdlib/strtod_nan_float.h".
16823 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16824 instead of "../stdlib/strtod_nan_ldouble.h".
16825 * manual/arith.texi (Parsing of Floats): Adjust comment.
16826
16827 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16828
16829 * math/Makefile (libm-narrow-fns): Add mul.
16830 (libm-test-funcs-narrow): Likewise.
16831 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16832 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16833 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16834 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16835 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16836 (NARROW_MUL_TRIVIAL): Likewise.
16837 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16838 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16839 macro.
16840 (__dmull): Likewise.
16841 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16842 dmul.
16843 (CFLAGS-nldbl-dmul.c): New variable.
16844 (CFLAGS-nldbl-fmul.c): Likewise.
16845 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16846 __nldbl_dmull.
16847 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16848 prototype.
16849 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16850 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16851 * math/auto-libm-test-in: Add tests of mul.
16852 * math/auto-libm-test-out-narrow-mul: New generated file.
16853 * math/libm-test-narrow-mul.inc: New file.
16854 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16855 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16856 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16857 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16858 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16859 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16860 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16861 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16862 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16864 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16867 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16868 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16869 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16870 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16871 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16873 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16874 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16876 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16877 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16878 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16879 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16880 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16881 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16882 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16883 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16884 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16885 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16890 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16891 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16892 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16893 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16894 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16895 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16896 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16897 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16898
16899 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16900
16901 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16902 with *%eax in call.
16903
16904 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16905
16906 * sysdeps/i386/ldsodefs.h: Removed.
16907 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16908 * sysdeps/x86/ldsodefs.h: This.
16909 (La_i86_regs): New.
16910 (La_i86_retval): Likewise.
16911 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16912 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16913
16914 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16915
16916 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16917 unnecessary testl.
16918
16919 2018-05-13 Alan Modra <amodra@gmail.com>
16920
16921 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16922 R_PARISC_TLS_DTPOFF32 reloc addend.
16923
16924 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16925
16926 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16927 * math/math.h: Restrict the prototype definition for the functions
16928 issignaling(_Float128) and iszero(_Float128); and template
16929 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16930 __HAVE_FLOAT128_UNLIKE_LDBL.
16931 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16932 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16933 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16934 __f128() constants; define the type _Float128 as long double;
16935 and reuse long double in __CFLOAT128.
16936
16937 2018-05-11 Joseph Myers <joseph@codesourcery.com>
16938
16939 * sysdeps/generic/math_private.h: Do not include
16940 <math-barriers.h>.
16941 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
16942 <math_private.h>.
16943 * math/fromfp.h: Include <math-barriers.h>.
16944 * math/math-narrow.h: Likewise.
16945 * math/s_nextafter.c: Likewise.
16946 * math/s_nexttowardf.c: Likewise.
16947 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16948 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16949 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16950 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16951 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16952 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16953 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16956 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16960 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16962 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16963 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16966 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16967 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16968 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16969 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16970 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16971 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16972 * sysdeps/ieee754/k_standardl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16979 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16980 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16983 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16984 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16985 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16986 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16989 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16990 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16991 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16992 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16993 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16994 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16995
16996 2018-05-11 Florian Weimer <fweimer@redhat.com>
16997
16998 Use 64-bit epoch values in the time zone file parser.
16999 * include/time.h (internal_time_t): Define.
17000 (__tzfile_compute): Use it.
17001 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17002 member.
17003 (transitions): Switch to internal_time_t.
17004 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17005 types.
17006 (__tzfile_compute): Use internal_time_t for timer argument. Check
17007 for truncation before calling __offtime.
17008
17009 2018-05-11 Florian Weimer <fweimer@redhat.com>
17010
17011 [BZ #23166]
17012 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17013 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17014 Likewise.
17015 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17016 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17017 export without --enable-obsolete-rpc.
17018 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17019 symbol. This should not have been exported, ever.
17020
17021 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
17022
17023 [BZ #23152]
17024 * localedata/locales/gd_GB (abmon): Fix typo in May:
17025 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17026
17027 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17028
17029 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17030 Use multiple registers to copy data in loop tail.
17031
17032 * sysdeps/aarch64/multiarch/memmove_falkor.S
17033 (__memmove_falkor): Use multiple registers to move data in
17034 loop tail.
17035
17036 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17037
17038 * math/math-underflow.h: New file.
17039 * sysdeps/generic/math_private.h: Do not include <float.h>.
17040 (fabs_tg): Remove macro. Moved to math-underflow.h.
17041 (min_of_type_f): Likewise.
17042 (min_of_type_): Likewise.
17043 (min_of_type_l): Likewise.
17044 (min_of_type_f128): Likewise.
17045 (min_of_type): Likewise.
17046 (math_check_force_underflow): Likewise.
17047 (math_check_force_underflow_nonneg): Likewise.
17048 (math_check_force_underflow_complex): Likewise.
17049 * math/e_exp2_template.c: Include <math-underflow.h>.
17050 * math/k_casinh_template.c: Likewise.
17051 * math/s_catan_template.c: Likewise.
17052 * math/s_catanh_template.c: Likewise.
17053 * math/s_ccosh_template.c: Likewise.
17054 * math/s_cexp_template.c: Likewise.
17055 * math/s_clog10_template.c: Likewise.
17056 * math/s_clog_template.c: Likewise.
17057 * math/s_csin_template.c: Likewise.
17058 * math/s_csinh_template.c: Likewise.
17059 * math/s_csqrt_template.c: Likewise.
17060 * math/s_ctan_template.c: Likewise.
17061 * math/s_ctanh_template.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17081 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17082 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17083 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17085 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17086 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17087 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17088 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17089 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17090 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17091 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17092 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17093 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17094 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17096 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17097 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17098 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17099 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17100 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17109 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17113 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17114 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17115 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17119 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17120 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17121 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17122 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17123 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17125 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17126 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17127 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17128 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17129 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17130 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17131 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17132 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17133 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17134 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17136 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17137 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17138 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17139 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17140 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17142 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17143 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17144 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17145 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17146
17147 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17148
17149 * sysdeps/generic/math-barriers.h: New file.
17150 * sysdeps/generic/math_private.h [!math_opt_barrier]
17151 (math_opt_barrier): Move to math-barriers.h.
17152 [!math_opt_barrier] (math_force_eval): Likewise.
17153 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17154 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17155 math-barriers.h.
17156 (math_force_eval): Likewise.
17157 * sysdeps/alpha/fpu/math-barriers.h: New file.
17158 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17159 math-barriers.h.
17160 (math_force_eval): Likewise.
17161 * sysdeps/x86/fpu/math-barriers.h: New file.
17162 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17163 math-barriers.h.
17164 (math_force_eval): Likewise.
17165 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17166 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17167 multiple-include guard for rename.
17168 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17169 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17170 math-barriers.h.
17171 (math_force_eval): Likewise.
17172
17173 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17174
17175 [BZ #22786]
17176 CVE-2018-11236
17177 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17178 computation.
17179 * stdlib/Makefile (test-bz22786): New test.
17180 * stdlib/test-bz22786.c: New test.
17181
17182 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17183
17184 * include/math-narrow-eval.h: New file. Contents moved from ....
17185 * sysdeps/generic/math_private.h: ... here.
17186 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17187 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17188 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17189 * stdlib/strtod_l.c: Likewise.
17190 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17191 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17192 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17193 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17194 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17195 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17196 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17205 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17206 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17207 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17208 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17209 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17210 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17211 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17212 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17213 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17214 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17215 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17216 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17217 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17218 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17219
17220 2018-05-08 Andreas Schwab <schwab@suse.de>
17221
17222 * sysdeps/nptl/internaltypes.h: Fix comment.
17223
17224 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17225
17226 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17227 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17228 hidden.
17229
17230 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17231
17232 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17233 of I into loop header.
17234 * benchtests/bench-memmove-walk.c
17235 (test_main): Likewise.
17236
17237 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17238
17239 Revert:
17240 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17241 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17242
17243 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17244
17245 [BZ #20419]
17246 * elf/dl-load.c (open_verify): Fix stack overflow.
17247 * elf/Makefile (tst-big-note): New test.
17248 * elf/tst-big-note-lib.S: New.
17249 * elf/tst-big-note.c: New.
17250
17251 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17252
17253 * scripts/abilist.awk: Ignore absolute symbols.
17254 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17255 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17256 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17257 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17258 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17259 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17260 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17261 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17262 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17263 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17264 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17265 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17266 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17267 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17268 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17269 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17270 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17271 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17272 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17273 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17274 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17275 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17276 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17277 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17278 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17279 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17280 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17281 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17282 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17283 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17284 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17285 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17286 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17287 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17288 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17289 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17290 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17291 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17296 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17297 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17299 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17300 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17301 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17302 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17309 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17315 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17316 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17317 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17323 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17324 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17325 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17329 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17330 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17331 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17332 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17333 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17334 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17337 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17338 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17340 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17341 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17342 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17343 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17344 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17345 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17346 Likewise.
17347 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17352 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17353 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17360 Likewise.
17361 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17365 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17380 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17381 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17384 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17388 Likewise.
17389 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17391 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17409 Likewise.
17410 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17416 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17417 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17418 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17422 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17423 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17424 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17425 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17429 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17430 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17431 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17432 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17433 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17434 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17435 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17437 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17442 Likewise.
17443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17448 Likewise.
17449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17450 Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17453 Likewise.
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17456 Likewise.
17457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17458 Likewise.
17459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17462 Likewise.
17463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17464 Likewise.
17465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17466 Likewise.
17467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17471 Likewise.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17478 Likewise.
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17481 Likewise.
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17483 Likewise.
17484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17485 Likewise.
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17487 Likewise.
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17491 Likewise.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17493 Likewise.
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17495 Likewise.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17497 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17498 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17499 Likewise.
17500 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17501 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17502 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17506 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17507 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17508 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17509 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17510 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17511 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17512 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17513 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17514 Likewise.
17515 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17516 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17517 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17518 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17519 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17520 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17521 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17527 Likewise.
17528 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17530 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17532 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17533 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17547 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17549 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17550 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17553 Likewise.
17554 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17555 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17556 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17562 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17563 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17564 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17567 Likewise.
17568 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17570 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17571 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17575 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17576 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17577 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17578 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17579 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17580 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17581 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17582 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17583 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17595 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17606
17607 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17608
17609 [BZ #23137]
17610 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17611 Use atomic_load_acquire to load __tid.
17612
17613 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17616 Restore the pointer into %rdx, after syscall and use %rdx,
17617 instead of %rsi, to restore context.
17618
17619 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17622 Pop the pointer into %rdx after syscall and use %rdx, instead
17623 of %rsi, to restore context.
17624
17625 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17626
17627 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17628 handlers after setjmp.
17629 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17630 defined.
17631 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17632 <libc-pointer-arith.h>.
17633 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17634 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17635 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17636 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17637 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17638 * sysdeps/x86/__longjmp_cancel.S: New file.
17639 * sysdeps/x86/longjmp.c: Likewise.
17640 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17641
17642 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17643
17644 * NEWS: Add ustat.h deprecation entry.
17645 * bits/ustat.h: Remove file.
17646 * misc/sys/ustat.h: Likewise.
17647 * misc/ustat.h: Likewise.
17648 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17649 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17650 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17651 compatibility mode.
17652 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17653 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17654 generic Linux implementation.
17655
17656 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17657
17658 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17659 * math/w_expl_compat.c: Likewise.
17660 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17661
17662 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17663
17664 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17665
17666 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17667
17668 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17669 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17670 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17671 Remove.
17672 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17674 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17675 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17676 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17677 and SYSCALL_LL64.
17678
17679 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17680
17681 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17682
17683 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17684 * math/w_asin_template.c: Likewise.
17685 * math/w_atanh_template.c: Likewise.
17686
17687 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17688
17689 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17690 to powerpc/powerpc64/be for big-endian.
17691 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17692 little-endian.
17693
17694 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17695 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17696 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17697 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17698 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17699 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17700 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17701 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17702 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17703 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17704 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17705 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17706 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17707 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17708 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17709 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17710 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17711 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17712 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17713 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17714 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17715 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17716 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17717 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17718 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17719 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17720 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17721 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17722 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17723 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17724 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17725 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17726
17727 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17728 adjusted to imply powerpc64 and older processors on powerpc64/be.
17729 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17730 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17731 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17732 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17733 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17734 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17735 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17736 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17737 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17738 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17739 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17740 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17741 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17742 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17743 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17744 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17745 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17746 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17747 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17748 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17749 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17750 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17751 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17752 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17753 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17754 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17755 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17756 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17757 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17758 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17759 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17760
17761 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17762 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17763 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17764 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17765
17766 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17767 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17768 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17769 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17770
17771 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17772 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17773 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17774 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17775 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17776 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17777 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17778 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17779 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17780 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17781 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17782
17783 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17784 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17785 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17786 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17787 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17788 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17789 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17790 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17791 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17792 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17793 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17794
17795 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17796 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17797 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17798 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17799 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17800 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17801 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17802 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17803 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17804 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17805 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17806 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17807
17808 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17809 and adjusted to imply olders processors.
17810 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17811 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17812 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17813 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17814 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17815 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17816 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17817 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17818 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17819 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17820 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17821
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17823 powerpc64/le.
17824 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17825 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17826
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17828 powerpc64le.
17829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17831
17832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17833 powerpc64/be.
17834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17837
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17839 powerpc64 and adjusted.
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17843 Likewise.
17844
17845 2018-04-27 Joseph Myers <joseph@codesourcery.com>
17846
17847 * sysdeps/tile: Remove.
17848 * sysdeps/unix/sysv/linux/tile: Likewise.
17849 * README (tilegx-*-linux-gnu): Remove from list of supported
17850 configurations.
17851 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17852 contribution of support for generic Linux kernel syscall
17853 interface.
17854 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17855 tilegx configurations.
17856 (Config.install_linux_headers): Do not handle tile.
17857 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17858 in comment.
17859 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17860 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17861 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17862 conditional undefine and redefine.
17863 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17864 in comment.
17865 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17866 conditional undefine and redefine.
17867
17868 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17869
17870 * signal/tst-sigaction.c: New file to test BZ #23069.
17871 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17872
17873 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17874
17875 [BZ #22766]
17876 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17877 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17878 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17879 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17880
17881 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17882
17883 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17884 _DIRENT_MATCHES_DIRENT64 is not defined.
17885 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17886 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17887 is defined.
17888 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17889 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17890
17891 2018-04-25 Joseph Myers <joseph@codesourcery.com>
17892
17893 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17894 version to GCC 8 branch.
17895
17896 2018-04-24 Joseph Myers <joseph@codesourcery.com>
17897
17898 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17899 (check_no_hidden): Use type of original function when declaring
17900 alias.
17901
17902 * sysdeps/unix/sysv/linux/sys/ptrace.h
17903 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17904 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17905 (struct __ptrace_seccomp_metadata): New type.
17906 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17907 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17908 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17909 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17910 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17911 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17912 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17913 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17914 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17915 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17916 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17917 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17918 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17919 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17920 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17921 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17922
17923 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17924
17925 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17926 defined.
17927 * dirent/versionsort.c (versionsort): Likewise.
17928 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17929 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17930 * dirent/versionsort64.c (versionsort64): Likewise.
17931 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17932 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17933 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17934 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17935 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
17936 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
17937 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
17938 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
17939 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
17940 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
17941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
17942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
17943 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
17944 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
17945
17946 2018-04-23 Joseph Myers <joseph@codesourcery.com>
17947
17948 * elf/elf.h (NT_PPC_PKEY): New macro.
17949
17950 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
17951
17952 [BZ #23094]
17953 * localedata/locales/hr_HR: fix thousands_sep and
17954 mon_thousands_sep
17955
17956 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17957
17958 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17959 (XTABS): Define to TAB3.
17960
17961 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17962
17963 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17964
17965 * dirent/scandir-tail-common.c: New file.
17966 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17967 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17968 * dirent/scandir.c: Use scandir-tail-common.c.
17969 * dirent/scandirat.c: Likewise.
17970 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17971 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17972 if _DIRENT_MATCHES_DIRENT64 is defined.
17973 * dirent/scandirat64.c (scandirat64): Likewise.
17974 * include/dirent.h (__scandir_tail): Only define iff
17975 _DIRENT_MATCHES_DIRENT64 is not defined.
17976 (__scandir64_tail): Define regardless.
17977 (__scandirat, scandirat64): Remove libc_hidden_proto.
17978 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17979 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17981 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17982 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17983 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17984 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17985
17986 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17987
17988 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17989 New macro.
17990 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17991 Increase to 24.
17992 (_dl_aarch64_cap_flags): Add asimdfhm.
17993
17994 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17995
17996 * sysdeps/nios2/libm-test-ulps: Update.
17997
17998 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17999
18000 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18001 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18002
18003 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18004 requirements.
18005 (_DIRENT_MATCHES_DIRENT64): Undef
18006 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18007 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18008 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18009 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18010 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18011 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18012 use getdents64 syscalls as base.
18013 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18014 symbol if required.
18015 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18016 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18017 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18018 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18019 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18020 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18021 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18022 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18024 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18025 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18026
18027 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18028
18029 * scripts/test_printers_common.py (init_test): Disable lock elision.
18030
18031 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18032
18033 * math/test-tgmath.c (count_double, count_float,
18034 count_ldouble, count_cdouble, count_cfloat,
18035 count_cldouble): Use volatile int.
18036
18037 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18038
18039 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18040 (conformtest-xfail-conds): Add i386-gnu.
18041 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18042 i386-gnu.
18043 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18044 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18045 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18046 msqid_ds.msg_lrpid): Likewise.
18047 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18048 Likewise.
18049 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18050 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18051 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18052 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18053 unsigned int.
18054 (struct statvfs64): Likewise.
18055 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18056 Likewise.
18057 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18058 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18059 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18060 instead of wait_queue.
18061 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18062 instead of vm_area_struct.
18063 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18064 struct sched_param definition to it.
18065 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18066 * bits/types/struct_sched_param.h: New file.
18067 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18068 <bits/types/struct_sched_param.h> instead of <sched.h>.
18069 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18070 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18071 generic version but include <bits/pthreadtypes.h> to make struct
18072 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18073 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18074 non-compliant.
18075 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18076 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18077 [__USE_XOPEN] (OFDEL): New macro.
18078 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18079 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18080 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18081 prototypes.
18082 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18083 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18084 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18085 non-compliant.
18086 * sysdeps/i386/sys/ucontext.h: Likewise.
18087 * sysdeps/m68k/sys/ucontext.h: Likewise.
18088 * sysdeps/mips/sys/ucontext.h: Likewise.
18089 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18090 * sysdeps/mach/hurd/i386/Makefile
18091 (test-xfail-POSIX/fcntl.h/conform): Add.
18092 (test-xfail-POSIX/signal.h/conform): Add.
18093 (test-xfail-POSIX/semaphore.h/conform): Add.
18094 (test-xfail-POSIX/regex.h/conform): Add.
18095 (test-xfail-POSIX/aio.h/conform): Add.
18096 (test-xfail-POSIX/mqueue.h/conform): Add.
18097 (test-xfail-POSIX/sys/types.h/conform): Add.
18098 (test-xfail-UNIX98/fcntl.h/conform): Add.
18099 (test-xfail-UNIX98/netdb.h/conform): Add.
18100 (test-xfail-UNIX98/signal.h/conform): Add.
18101 (test-xfail-UNIX98/semaphore.h/conform): Add.
18102 (test-xfail-UNIX98/regex.h/conform): Add.
18103 (test-xfail-UNIX98/aio.h/conform): Add.
18104 (test-xfail-UNIX98/ftw.h/conform): Add.
18105 (test-xfail-UNIX98/mqueue.h/conform): Add.
18106 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18107 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18108 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18109 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18110 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18111 (test-xfail-UNIX98/sys/types.h/conform): Add.
18112 (test-xfail-UNIX98/stdlib.h/conform): Add.
18113 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18114 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18115 (test-xfail-POSIX2008/netdb.h/conform): Add.
18116 (test-xfail-POSIX2008/signal.h/conform): Add.
18117 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18118 (test-xfail-POSIX2008/regex.h/conform): Add.
18119 (test-xfail-POSIX2008/aio.h/conform): Add.
18120 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18121 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18122 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18123 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18124 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18125 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18126 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18127 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18128 (test-xfail-XOPEN2K/signal.h/conform): Add.
18129 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18130 (test-xfail-XOPEN2K/regex.h/conform): Add.
18131 (test-xfail-XOPEN2K/aio.h/conform): Add.
18132 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18133 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18134 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18135 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18136 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18137 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18138 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18139 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18140 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18141 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18142 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18143 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18144 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18145 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18146 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18147 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18148 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18149 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18150 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18151 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18152 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18153 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18154 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18155 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18156 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18157 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18158 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18159 i386-gnu.
18160 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18161 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18162
18163 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18164
18165 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18166 --enable-obsolete for powerpc-linux-gnuspe.
18167
18168 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18169
18170 * conform/data/sys/un.h-data: Allow sun_ prefix.
18171 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18172 prototypes.
18173 * sysdeps/mach/include/mach.h: Likewise.
18174 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18175 * sysdeps/mach/include/mach_error.h: Likewise.
18176
18177 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18178
18179 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18180 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18181 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18182 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18183
18184 2018-04-16 Andreas Schwab <schwab@suse.de>
18185
18186 [BZ #19527]
18187 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18188
18189 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18190
18191 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18192 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18193
18194 2018-04-12 DJ Delorie <dj@redhat.com>
18195
18196 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18197 version to 4.16.
18198
18199 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18200
18201 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18202 (struct kernel_sigaction): Use the same definition on 31bit as is used
18203 on 64bit.
18204
18205 2018-04-09 Florian Weimer <fweimer@redhat.com>
18206
18207 [BZ #23037]
18208 * resolv/res_send.c (send_dg): Use designated initializers instead
18209 of assignment to zero-initialize other fields of struct mmsghdr.
18210
18211 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18212
18213 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18214 __READDIR_ALIAS): Undefine after usage.
18215 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18216 __READDIR_R_ALIAS): Likewise.
18217 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18218 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18219 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18220 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18221 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18222 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18223 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18224 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18225 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18226 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18227 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18228 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18229 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18230 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18231 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18232 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18233 * sysdeps/unix/sysv/linux/readdir.c: New file.
18234 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18235 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18236 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18237
18238 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18239
18240 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18241
18242 * manual/charset.texi (Converting a Character): Fix typo.
18243
18244 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18245
18246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18247
18248 * sysdeps/arm/libm-test-ulps: Update.
18249
18250 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18251 as base implementation.
18252 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18253 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18254 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18255 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18256 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18257 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18258 remove unrequired definitions and update comments.
18259 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18260 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18261 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18262 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18263 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18264 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18265 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18266 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18267 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18268 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18269 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18270 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18271 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18272 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18273 and RESET_SA_RESTORER hooks.
18274
18275 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18276
18277 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18278
18279 2018-04-05 Florian Weimer <fweimer@redhat.com>
18280
18281 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18282 integer overflow, memory leak on error, and indeterminate errno
18283 value. Add a null wide character to terminate the result string.
18284 * manual/charset.texi (Converting a Character): Mention embedded
18285 null bytes in the mbrtowc input string. Explain what happens in
18286 the -2 result case. Do not claim that mbrtowc is simple or
18287 obvious to use. Adjust the description of the code example. Use
18288 @code, not @var, for concrete variables.
18289
18290 2018-04-05 Florian Weimer <fweimer@redhat.com>
18291
18292 * manual/examples/mbstouwcs.c: New file.
18293 * manual/charset.texi (Converting a Character): Include it.
18294
18295 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18296
18297 * include/dirent.h (dirfd): Add hidden proto.
18298 * dirent/dirfd.c (dirfd): Add hidden def.
18299 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18300 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18301
18302 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18303
18304 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18305 sin, cos and sincos to 1 ULP.
18306
18307 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18308
18309 [BZ #19818]
18310 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18311 symbols.
18312 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18313 * elf/tst-absolute-sym.c: New file.
18314 * elf/tst-absolute-sym-lib.c: New file.
18315 * elf/tst-absolute-sym-lib.lds: New file.
18316 * elf/Makefile (tests): Add `tst-absolute-sym'.
18317 (modules-names): Add `tst-absolute-sym-lib'.
18318 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18319 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18320 ($(objpfx)tst-absolute-sym): New dependency.
18321
18322 [BZ #19818]
18323 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18324 parameter.
18325 (SYMBOL_ADDRESS): New macro.
18326 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18327 SYMBOL_ADDRESS for symbol address calculation.
18328 * elf/dl-runtime.c (_dl_fixup): Likewise.
18329 (_dl_profile_fixup): Likewise.
18330 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18331 * elf/rtld.c (dl_main): Likewise.
18332 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18333 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18334 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18335 (elf_machine_rela): Likewise.
18336 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18337 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18338 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18339 (elf_machine_rela): Likewise.
18340 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18341 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18342 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18343 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18344 Likewise.
18345 (elf_machine_reloc): Likewise.
18346 (elf_machine_got_rel): Likewise.
18347 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18348 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18349 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18350 Likewise.
18351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18352 Likewise.
18353 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18354 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18355 Likewise.
18356 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18357 Likewise.
18358 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18359 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18360 Likewise.
18361 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18362 Likewise.
18363 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18364 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18365
18366 2018-04-04 Zack Weinberg <zackw@panix.com>
18367
18368 * sysdeps/generic/internal-signals.h: Include signal.h,
18369 sigsetops.h, and stdbool.h.
18370 (__libc_signal_block_all): Actually block all signals.
18371 (__libc_signal_block_app): Likewise.
18372 (__libc_signal_restore_set): Actually restore the signal mask.
18373
18374 2018-04-04 Florian Weimer <fweimer@redhat.com>
18375
18376 inet: Actually build and run tst-deadline.
18377 * inet/Makefile (tests-internal): Add tst-deadline and do not
18378 overwrite the variable.
18379 (tests-static-internal): Remove variable.
18380
18381 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18382
18383 [BZ #22947]
18384 * bits/uio-ext.h (RWF_APPEND): New.
18385 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18386 * manual/llio.texi: Document RWF_APPEND.
18387 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18388 (RWF_SUPPORTED): Add RWF_APPEND.
18389
18390 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18391
18392 [BZ #22391]
18393 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18394 check for internal nptl signals.
18395 * nptl/sigaction.c (__sigaction): Likewise.
18396 * signal/sigaddset.c (sigaddset): Likewise.
18397 * signal/sigdelset.c (sigdelset): Likewise.
18398 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18399 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18400 value.
18401 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18402 to filter out internal nptl signals.
18403 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18404 also check realtime signals using standard macros.
18405 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18406 __is_internal_signal, __libc_signal_block_all,
18407 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18408 * sysdeps/nptl/sigfillset.c: Remove file.
18409 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18410 Change return to bool.
18411 (__clear_internal_signals): Remove SIGTIMER clean since it is
18412 equal to SIGCANEL on Linux.
18413 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18414 signal set was constructed using standard functions.
18415
18416 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18417
18418 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18419 ifname is too long.
18420 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18421 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18422 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18423 hidden def.
18424 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18425 * signal/sigaddset.c: Include <sigsetopts.h>.
18426 * signal/sigdelset.c: Likewise.
18427
18428 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18429
18430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18431 (__cos): Likewise.
18432 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18433 logic as sin and cos.
18434
18435 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18436
18437 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18438 inputs. Return correct sign.
18439 (do_sincos): Remove small input check before do_sin, let do_sin set
18440 the sign.
18441 (__sin): Likewise.
18442 (__cos): Likewise.
18443
18444 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18445
18446 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18447 (do_cos_slow): Likewise.
18448 (do_sin_slow): Likewise.
18449 (reduce_and_compute): Likewise.
18450 (slow): Likewise.
18451 (slow1): Likewise.
18452 (slow2): Likewise.
18453 (sloww): Likewise.
18454 (sloww1): Likewise.
18455 (sloww2): Likewise.
18456 (bslow): Likewise.
18457 (bslow1): Likewise.
18458 (bslow2): Likewise.
18459 (cslow2): Likewise.
18460
18461 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18462
18463 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18464 (do_cos): Remove corp parameter and calculations.
18465 (do_sin): Likewise.
18466 (do_sincos): Remove cor variable.
18467 (__sin): Use do_sincos for huge inputs.
18468 (__cos): Likewise.
18469 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18470 (reduce_and_compute_sincos): Remove unused function.
18471
18472 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18473
18474 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18475 reduce_sincos, improve accuracy to 136 bits.
18476 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18477 (__sin): Use improved reduction and simplified do_sincos calculation.
18478 (__cos): Likewise.
18479 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18480
18481 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18482
18483 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18484 (do_sincos_2): Likewise.
18485 (__sin): Remove middle range reduction case.
18486 (__cos): Likewise.
18487 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18488 reduction case.
18489
18490 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18491
18492 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18493 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18494 inputs.
18495 (__cos): Likewise.
18496 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18497
18498 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18499
18500 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18501 version to 4.16
18502
18503 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18504
18505 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18506 Remove definitions.
18507 (opendir_oflags): Use O_DIRECTORY regardless.
18508 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18509 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18510
18511 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18512
18513 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18514 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18515 macros.
18516 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18517 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18518 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18519 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18520 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18521 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18522
18523 * htl/Makefile: Bump licence to LGPL 2.1+.
18524 * htl/alloca_cutoff.c: Likewise.
18525 * htl/cthreads-compat.c: Likewise.
18526 * htl/lockfile.c: Likewise.
18527 * htl/pt-alloc.c: Likewise.
18528 * htl/pt-cancel.c: Likewise.
18529 * htl/pt-cleanup.c: Likewise.
18530 * htl/pt-create.c: Likewise.
18531 * htl/pt-dealloc.c: Likewise.
18532 * htl/pt-detach.c: Likewise.
18533 * htl/pt-exit.c: Likewise.
18534 * htl/pt-getattr.c: Likewise.
18535 * htl/pt-initialize.c: Likewise.
18536 * htl/pt-internal.h: Likewise.
18537 * htl/pt-join.c: Likewise.
18538 * htl/pt-self.c: Likewise.
18539 * htl/pt-setcancelstate.c: Likewise.
18540 * htl/pt-setcanceltype.c: Likewise.
18541 * htl/pt-sigmask.c: Likewise.
18542 * htl/pt-spin-inlines.c: Likewise.
18543 * htl/pt-testcancel.c: Likewise.
18544 * htl/pt-yield.c: Likewise.
18545 * htl/tests/test-1.c: Likewise.
18546 * htl/tests/test-10.c: Likewise.
18547 * htl/tests/test-11.c: Likewise.
18548 * htl/tests/test-12.c: Likewise.
18549 * htl/tests/test-13.c: Likewise.
18550 * htl/tests/test-14.c: Likewise.
18551 * htl/tests/test-15.c: Likewise.
18552 * htl/tests/test-16.c: Likewise.
18553 * htl/tests/test-17.c: Likewise.
18554 * htl/tests/test-2.c: Likewise.
18555 * htl/tests/test-3.c: Likewise.
18556 * htl/tests/test-4.c: Likewise.
18557 * htl/tests/test-5.c: Likewise.
18558 * htl/tests/test-6.c: Likewise.
18559 * htl/tests/test-7.c: Likewise.
18560 * htl/tests/test-8.c: Likewise.
18561 * htl/tests/test-9.c: Likewise.
18562 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18563 * sysdeps/htl/bits/cancelation.h: Likewise.
18564 * sysdeps/htl/bits/pthread-np.h: Likewise.
18565 * sysdeps/htl/bits/pthread.h: Likewise.
18566 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18567 * sysdeps/htl/bits/semaphore.h: Likewise.
18568 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18569 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18570 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18571 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18572 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18573 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18574 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18575 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18576 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18577 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18578 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18579 * sysdeps/htl/old_pt-atfork.c: Likewise.
18580 * sysdeps/htl/pt-atfork.c: Likewise.
18581 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18582 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18583 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18584 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18585 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18586 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18587 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18588 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18589 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18590 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18591 * sysdeps/htl/pt-attr-init.c: Likewise.
18592 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18593 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18594 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18595 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18596 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18597 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18598 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18599 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18600 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18601 * sysdeps/htl/pt-attr.c: Likewise.
18602 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18603 * sysdeps/htl/pt-barrier-init.c: Likewise.
18604 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18605 * sysdeps/htl/pt-barrier.c: Likewise.
18606 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18607 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18608 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18609 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18610 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18611 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18612 * sysdeps/htl/pt-cond-init.c: Likewise.
18613 * sysdeps/htl/pt-cond-signal.c: Likewise.
18614 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18615 * sysdeps/htl/pt-cond-wait.c: Likewise.
18616 * sysdeps/htl/pt-cond.c: Likewise.
18617 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18618 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18619 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18620 * sysdeps/htl/pt-condattr-init.c: Likewise.
18621 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18622 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18623 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18624 * sysdeps/htl/pt-equal.c: Likewise.
18625 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18626 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18627 * sysdeps/htl/pt-getschedparam.c: Likewise.
18628 * sysdeps/htl/pt-getspecific.c: Likewise.
18629 * sysdeps/htl/pt-init-specific.c: Likewise.
18630 * sysdeps/htl/pt-key-create.c: Likewise.
18631 * sysdeps/htl/pt-key-delete.c: Likewise.
18632 * sysdeps/htl/pt-key.h: Likewise.
18633 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18634 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18635 * sysdeps/htl/pt-mutex-init.c: Likewise.
18636 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18637 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18638 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18639 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18640 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18641 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18642 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18643 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18644 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18645 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18646 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18647 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18648 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18649 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18650 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18651 * sysdeps/htl/pt-mutexattr.c: Likewise.
18652 * sysdeps/htl/pt-once.c: Likewise.
18653 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18654 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18655 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18656 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18657 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18658 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18659 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18660 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18661 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18662 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18663 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18664 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18665 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18666 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18667 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18668 * sysdeps/htl/pt-setschedparam.c: Likewise.
18669 * sysdeps/htl/pt-setschedprio.c: Likewise.
18670 * sysdeps/htl/pt-setspecific.c: Likewise.
18671 * sysdeps/htl/pt-spin.c: Likewise.
18672 * sysdeps/htl/pt-startup.c: Likewise.
18673 * sysdeps/htl/pthread.h: Likewise.
18674 * sysdeps/htl/sem-close.c: Likewise.
18675 * sysdeps/htl/sem-destroy.c: Likewise.
18676 * sysdeps/htl/sem-getvalue.c: Likewise.
18677 * sysdeps/htl/sem-init.c: Likewise.
18678 * sysdeps/htl/sem-open.c: Likewise.
18679 * sysdeps/htl/sem-post.c: Likewise.
18680 * sysdeps/htl/sem-timedwait.c: Likewise.
18681 * sysdeps/htl/sem-trywait.c: Likewise.
18682 * sysdeps/htl/sem-unlink.c: Likewise.
18683 * sysdeps/htl/sem-wait.c: Likewise.
18684 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18685 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18686 * sysdeps/mach/htl/pt-block.c: Likewise.
18687 * sysdeps/mach/htl/pt-spin.c: Likewise.
18688 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18689 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18690 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18691 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18692 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18693 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18694 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18695 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18696 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18697 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18698 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18699 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18700 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18701 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18702 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18703 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18704 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18705 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18706 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18707 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18708 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18709 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18710 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18711 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18712 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18713 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18714 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18715 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18716 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18717 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18718 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18719 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18720 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18721 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18722 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18723 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18724 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18725 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18726 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18727 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18728 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18729 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18730 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18731
18732 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18733 * README: Remove the mention of out-of-tree patches needed for
18734 GNU/Hurd.
18735
18736 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18737 (UTIME_NOW, UTIME_OMIT): Define macros.
18738
18739 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18740 instead of pthread_detach.
18741 (__cthread_fork): Call __pthread_create instead of pthread_create.
18742 (__cthread_keycreate): Call __pthread_key_create instead of
18743 pthread_key_create.
18744 (__cthread_getspecific): Call __pthread_getspecific instead of
18745 pthread_getspecific.
18746 (__cthread_setspecific): Call __pthread_setspecific instead of
18747 pthread_setspecific.
18748 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18749 __pthread_mutex_unlock instead of pthread_mutex_lock and
18750 pthread_mutex_unlock.
18751 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18752 ___pthread_get_cleanup_stack.
18753 (__pthread_get_cleanup_stack): New strong alias.
18754 * htl/pt-create.c: Include <pthreadP.h>.
18755 (entry_point): Call __pthread_exit instead of pthread_exit.
18756 (pthread_create): Rename to __pthread_create.
18757 (pthread_create): New strong alias.
18758 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18759 (pthread_detach): New strong alias.
18760 (__pthread_detach): Call __pthread_cond_broadcast instead of
18761 pthread_cond_broadcast.
18762 * htl/pt-exit.c: Include <pthreadP.h>.
18763 (__pthread_exit): Call __pthread_setcancelstate and
18764 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18765 __pthread_get_cleanup_stack.
18766 * htl/pt-testcancel.c: Include <pthreadP.h>.
18767 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18768 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18769 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18770 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18771 pthread_attr_getstacksize.
18772 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18773 Rename to __pthread_attr_getstackaddr.
18774 (pthread_attr_getstackaddr): New strong alias.
18775 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18776 Rename to __pthread_attr_getstacksize.
18777 (pthread_attr_getstacksize): New strong alias.
18778 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18779 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18780 (pthread_attr_setstack): New strong alias.
18781 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18782 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18783 pthread_attr_getstacksize, pthread_attr_setstacksize and
18784 pthread_attr_setstackaddr.
18785 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18786 Rename to __pthread_attr_setstackaddr.
18787 (pthread_attr_setstackaddr): New strong alias.
18788 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18789 Rename to __pthread_attr_setstacksize.
18790 (pthread_attr_setstacksize): New strong alias.
18791 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18792 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18793 pthread_exit.
18794 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18795 (__pthread_key_create): New hidden def.
18796 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18797 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18798 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18799 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18800 __pthread_setspecific, __pthread_setcancelstate,
18801 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18802 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18803 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18804 declarations.
18805 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18806 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18807 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18808 (pthread_attr_setstackaddr): New strong alias.
18809 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18810 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18811 (pthread_attr_setstacksize): New strong alias.
18812 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18813 (call_exit): Call __pthread_exit instead of pthread_exit.
18814 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18815 (_pthread_mutex_init): New hidden definition.
18816 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18817 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18818 instead of pthread_attr_init and pthread_attr_setstack.
18819
18820 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18821 __vm_deallocate instead of vm_allocate and vm_deallocate.
18822 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18823 setenv.
18824 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18825 of geteuid.
18826 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18827 strdup.
18828 * hurd/siginfo.c: Include <libioP.h>.
18829 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18830 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18831 munmap.
18832 * mach/devstream.c: Include <libioP.h>.
18833 (dealloc_ref): Call __mach_port_deallocate instead of
18834 mach_port_deallocate.
18835 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18836 Call __mach_port_deallocate instead of mach_port_deallocate.
18837 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18838 pathconf.
18839 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18840 munmap.
18841 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18842 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18843 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18844 of munmap.
18845 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18846 of close.
18847 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18848 instead of sysconf.
18849 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18850 __clock_gettime instead of clock_gettime.
18851 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18852 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18853 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18854 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18855 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18856 tcgetattr.
18857 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18858 __clock_gettime and __nanosleep instead of clock_gettime and
18859 nanosleep.
18860 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18861 __hurd_catch_signal.
18862 (hurd_catch_signal): New strong alias.
18863 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18864 __hurd_catch_signal instead of hurd_catch_signal.
18865 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18866 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18867 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18868 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18869 (_hurd_thread_sigstate): Add hidden def.
18870 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18871 mutex_unlock.
18872 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18873 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18874 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18875 __hurd_file_name_path_lookup.
18876 (hurd_file_name_path_lookup): New strong alias.
18877 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18878 hurd_file_name_path_lookup.
18879 * mach/errstring.c (mach_error_type): Add hidden def.
18880 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18881 * mach/mutex-init.c (__mutex_init): Add hidden def.
18882 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18883 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18884 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18885 * sysdeps/mach/hurd/getcwd.c
18886 (_hurd_canonicalize_directory_name_internal): Rename to
18887 __hurd_canonicalize_directory_name_internal.
18888 (_hurd_canonicalize_directory_name_internal): New strong alias.
18889 (__canonicalize_directory_name_internal, __getcwd): Call
18890 __hurd_canonicalize_directory_name_internal instead of
18891 _hurd_canonicalize_directory_name_internal.
18892 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18893 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18894 hidden defs.
18895 * sysdeps/hurd/include/hurd.h: New file.
18896 * sysdeps/hurd/include/hurd/fd.h: New file.
18897 * sysdeps/hurd/include/hurd/signal.h: New file.
18898 * sysdeps/mach/include/lock-intern.h: New file.
18899 * sysdeps/mach/include/mach.h: New file.
18900 * sysdeps/mach/include/mach/mig_support.h: New file.
18901 * sysdeps/mach/include/mach_error.h: New file.
18902 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18903 prototype.
18904 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18905 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18906 _HEADER_H_HIDDEN_DEF macro.
18907 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18908 _hurd_fd_error_signal): Add hidden prototype.
18909 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18910 hidden def.
18911 * libio/iolibio.h (_IO_puts): New hidden prototype.
18912 * libio/ioputs.c (_IO_puts): New hidden def.
18913 * sysdeps/mach/hurd/localplt.data: New file.
18914
18915 2018-04-02 Agustina Arzille <avarzille@riseup.net>
18916 Amos Jeffries <squid3@treenet.co.nz>
18917 David Michael <fedora.dm0@gmail.com>
18918 Marco Gerards <marco@gnu.org>
18919 Marcus Brinkmann <marcus@gnu.org>
18920 Neal H. Walfield <neal@gnu.org>
18921 Pino Toscano <toscano.pino@tiscali.it>
18922 Richard Braun <rbraun@sceen.net>
18923 Roland McGrath <roland@gnu.org>
18924 Samuel Thibault <samuel.thibault@ens-lyon.org>
18925 Thomas DiModica <ricinwich@yahoo.com>
18926 Thomas Schwinge <tschwinge@gnu.org>
18927
18928 * htl: New directory.
18929 * sysdeps/htl: New directory.
18930 * sysdeps/hurd/htl: New directory.
18931 * sysdeps/i386/htl: New directory.
18932 * sysdeps/mach/htl: New directory.
18933 * sysdeps/mach/hurd/htl: New directory.
18934 * sysdeps/mach/hurd/i386/htl: New directory.
18935 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
18936 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
18937 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
18938
18939 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18940
18941 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
18942 signals in thread created for runing timers.
18943
18944 2018-04-01 Florian Weimer <fweimer@redhat.com>
18945
18946 * support/support_format_addrinfo.c (support_format_addrinfo):
18947 Include unknown error number in formatted result.
18948
18949 2018-03-29 Florian Weimer <fweimer@redhat.com>
18950
18951 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18952 capture SIGBUS.
18953
18954 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18955
18956 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18957 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18958 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18959 (__ASSUME_CLONE_BACKWARDS): Define.
18960
18961 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18962
18963 [BZ #23024]
18964 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18965 early when linux sentinel value is set.
18966
18967 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18968
18969 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18970
18971 2018-03-27 Andreas Schwab <schwab@suse.de>
18972
18973 [BZ #23005]
18974 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18975 allocation of private copy of nsaddr_list fails.
18976
18977 2018-03-26 Joseph Myers <joseph@codesourcery.com>
18978
18979 [BZ #16552]
18980 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18981 * sysdeps/unix/sysv/linux/umount.c: ... here.
18982 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18983 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18984 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18985 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18987 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18988 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18989
18990 2018-03-26 Andreas Schwab <schwab@suse.de>
18991
18992 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18993 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18994 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18995 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18996 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18997 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18998 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18999 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19000 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19001 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19002 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19003 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19004 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19005 (R_RISCV_NUM): Define.
19006
19007 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19008
19009 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19010 TLS declaration of errno.
19011 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19012 __libc_setup_tls.
19013 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19014 (ARCH_SETUP_TLS): Likewise.
19015 * sysdeps/mach/hurd/libc-start.h: New file copied from
19016 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19017 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19018 instead of __libc_setup_tls.
19019 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19020 __libc_setup_tls before initializing libpthread and running _hurd_init
19021 which starts the signal thread.
19022 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19023 Declare function.
19024 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19025
19026 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19027
19028 [BZ #22998]
19029 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19030 after it is defined.
19031
19032 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19033 Max Horn <max@quendi.de>
19034
19035 [BZ #22644]
19036 CVE-2017-18269
19037 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19038 branch conditions.
19039 * string/test-memmove.c (do_test2): New testcase.
19040
19041 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19042
19043 * sysdeps/generic/frame.h: Remove file.
19044 * sysdeps/arm/frame.h: Likewise.
19045 * sysdeps/hppa/frame.h: Likewise.
19046 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19047 macro.
19048 (GET_FRAME): Likewise.
19049 (GET_STACK): Likewise.
19050 (CALL_SIGHANDLER): Likewise.
19051 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19052 Likewise.
19053 (GET_FRAME): Likewise.
19054 (GET_STACK): Likewise.
19055 (CALL_SIGHANDLER): Likewise.
19056 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19057 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19058 (GET_FRAME): Likewise.
19059 (GET_STACK): Likewise.
19060 (CALL_SIGHANDLER): Likewise.
19061 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19062 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19063 (GET_FRAME): Likewise.
19064 (GET_STACK): Likewise.
19065 (ADVANCE_STACK_FRAME): Likewise.
19066 (CALL_SIGHANDLER): Likewise.
19067 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19068 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19069 (GET_FRAME): Likewise.
19070 (GET_STACK): Likewise.
19071 (CALL_SIGHANDLER): Likewise.
19072 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19073 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19074 (GET_FRAME): Likewise.
19075 (GET_STACK): Likewise.
19076 (CALL_SIGHANDLER): Likewise.
19077 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19078 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19079 (GET_FRAME): Likewise.
19080 (GET_STACK): Likewise.
19081 (CALL_SIGHANDLER): Likewise.
19082 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19083 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19084 (GET_FRAME): Likewise.
19085 (GET_STACK): Likewise.
19086 (CALL_SIGHANDLER): Likewise.
19087 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19088 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19089 (GET_FRAME): Likewise.
19090 (GET_STACK): Likewise.
19091 (CALL_SIGHANDLER): Likewise.
19092 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19093 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19094 (GET_FRAME): Likewise.
19095 (GET_STACK): Likewise.
19096 (CALL_SIGHANDLER): Likewise.
19097 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19098 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19099 (GET_FRAME): Likewise.
19100 (GET_STACK): Likewise.
19101 (CALL_SIGHANDLER): Likewise.
19102 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19103 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19104 (GET_FRAME): Likewise.
19105 (GET_STACK): Likewise.
19106 (CALL_SIGHANDLER): Likewise.
19107 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19108 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19109 (GET_FRAME): Likewise.
19110 (GET_STACK): Likewise.
19111 (CALL_SIGHANDLER): Likewise.
19112 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19113 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19114 (FIRST_FRAME_POINTER): Likewise.
19115 (ADVANCE_STACK_FRAME): Likewise.
19116 (GET_STACK): Likewise.
19117 (GET_FRAME): Likewise.
19118 (CALL_SIGHANDLER): Likewise.
19119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19120 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19121 (ADVANCE_STACK_FRAME): Likewise.
19122 (GET_STACK): Likewise.
19123 (GET_FRAME): Likewise.
19124 (CALL_SIGHANDLER): Likewise.
19125 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19126 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19127 (GET_FRAME): Likewise.
19128 (GET_STACK): Likewise.
19129 (CALL_SIGHANDLER): Likewise.
19130 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19131 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19132 (GET_FRAME): Likewise.
19133 (GET_STACK): Likewise.
19134 (CALL_SIGHANDLER): Likewise.
19135
19136 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19137
19138 * sysdeps/x86_64/backtrace.c: Move to ....
19139 * debug/backtrace.c: ... here.
19140 * sysdeps/aarch64/backtrace.c: Remove file.
19141 * sysdeps/alpha/backtrace.c: Likewise.
19142 * sysdeps/hppa/backtrace.c: Likewise.
19143 * sysdeps/ia64/backtrace.c: Likewise.
19144 * sysdeps/mips/backtrace.c: Likewise.
19145 * sysdeps/nios2/backtrace.c: Likewise.
19146 * sysdeps/riscv/backtrace.c: Likewise.
19147 * sysdeps/sh/backtrace.c: Likewise.
19148 * sysdeps/tile/backtrace.c: Likewise.
19149
19150 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19151
19152 [BZ #22987]
19153 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19154 function.
19155 (fdimf): Likewise.
19156 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19157
19158 [BZ #17343]
19159 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19160 possibly overflowing computations.
19161
19162 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19163
19164 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19165 values from Linux-specific section now that it is in the GNU section.
19166 * sysdeps/gnu/errlist.c: Regenerate.
19167
19168 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19169
19170 * math/Makefile (libm-narrow-fns): Add sub.
19171 (libm-test-funcs-narrow): Likewise.
19172 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19173 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19174 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19175 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19176 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19177 (NARROW_SUB_TRIVIAL): Likewise.
19178 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19179 macro.
19180 (__dsubl): Likewise.
19181 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19182 dsub.
19183 (CFLAGS-nldbl-dsub.c): New variable.
19184 (CFLAGS-nldbl-fsub.c): Likewise.
19185 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19186 __nldbl_dsubl.
19187 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19188 prototype.
19189 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19190 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19191 * math/auto-libm-test-in: Add tests of sub.
19192 * math/auto-libm-test-out-narrow-sub: New generated file.
19193 * math/libm-test-narrow-sub.inc: New file.
19194 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19197 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19198 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19199 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19208 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19209 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19210 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19211 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19213 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19214 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19215 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19216 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19217 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19218 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19219 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19220 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19221 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19222 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19223 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19224 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19225 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19230 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19231 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19232 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19233 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19234 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19235 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19236 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19237 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19238 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19239 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19240
19241 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19242
19243 [BZ #20079]
19244 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19245
19246 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19247
19248 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19249
19250 2018-03-18 Richard Braun <rbraun@sceen.net>
19251
19252 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19253 thread reference.
19254
19255 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19256
19257 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19258 (__libc_cleanup_fct): Define function.
19259 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19260 __libc_cleanup_end): Rewrite implementation using
19261 __attribute__ ((__cleanup__)).
19262 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19263 * hurd/Makefile (routines): Add hurdlock.
19264 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19265 interface.
19266 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19267 * hurd/hurdpid.c: Include <lowlevellock.h>
19268 (_S_msg_proc_newids): Use lll_wait to synchronize.
19269 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19270 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19271 * mach/Makefile (lock-headers): Remove machine-lock.h.
19272 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19273 <machine-lock.h>.
19274 (__spin_lock_t): New type.
19275 (__SPIN_LOCK_INITIALIZER): New macro.
19276 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19277 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19278 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19279 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19280 (__mutex_init): Initialize with lll.
19281 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19282 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19283 needing lll.
19284 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19285 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19286 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19287 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19288 (__setpgid): Use lll for synchronization.
19289 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19290 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19291 instead of <cthreads.h>.
19292 (_IO_lock_inexpensive): New macro
19293 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19294 (__libc_lock_self0): New declaration.
19295 (__libc_lock_owner_self): New macro.
19296 (__libc_key_t): Remove type.
19297 (_LIBC_LOCK_INITIALIZER): New macro.
19298 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19299 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19300 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19301 __libc_lock_define_initialized_recursive,
19302 __rtld_lock_define_initialized_recursive,
19303 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19304 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19305 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19306 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19307 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19308 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19309 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19310 New macros.
19311 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19312 * hurd/hurdlock.c: New file.
19313 * hurd/hurdlock.h: New file.
19314 * mach/lowlevellock.h: New file
19315
19316 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19317
19318 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19319 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19320 when opening a symlink with O_NOFOLLOW.
19321 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19322 path when flags contains O_NOFOLLOW.
19323 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19324 if flags contains O_DIRECTORY and the result is a directory.
19325 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19326 oneself when the pointer given in D is nul (as set by ext2fs).
19327 * sysdeps/mach/hurd/mlockall.c: New file.
19328 * sysdeps/mach/hurd/munlockall.c: New file.
19329
19330 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19331
19332 * hurd/hurdsig.c: Include <pthread.h>.
19333 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19334 get the signal thread stack layout.
19335 * hurd/Makefile (headers): Remove threadvar.h.
19336 (inline-headers): Remove threadvar.h.
19337 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19338 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19339 __hurd_threadvar_max, __hurd_errno_location.
19340 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19341 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19342 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19343 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19344 unless TLS is not initialized yet, in which case we do not need a
19345 critical section yet anyway.
19346 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19347 <machine-sp.h>.
19348 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19349 declarations.
19350 (__hurd_threadvar_index): Remove enum.
19351 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19352 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19353 inlines.
19354 (__hurd_reply_port0): New variable declaration.
19355 (__hurd_local_reply_port): New macro.
19356 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19357 (interrupted_reply_port_location): Add thread_t parameter. Use it
19358 with THREAD_TCB to access thread-local variables.
19359 (_hurdsig_abort_rpcs): Pass ss->thread to
19360 interrupted_reply_port_location.
19361 (_hurd_internal_post_signal): Likewise.
19362 (_hurdsig_init): Use presence of cthread_fork instead of
19363 __hurd_threadvar_stack_mask to start signal thread by hand.
19364 Remove signal thread threadvar initialization.
19365 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19366 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19367 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19368 of threadvar.
19369 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19370 __libc_lock_self0.
19371 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19372 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19373 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19374 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19375 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19376 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19377 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19378 define variables.
19379 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19380 <hurd/threadvar.h>.
19381 [IS_IN(rtld)] (rtld_errno): New variable.
19382 [IS_IN(rtld)] (__errno_location): New weak function.
19383 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19384 * sysdeps/mach/hurd/errno.c: Remove file.
19385 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19386 (__fork): Remove THREADVAR_SPACE macro and its use.
19387 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19388 variable.
19389 (init): Do not initialize threadvar.
19390 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19391 symbol.
19392 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19393 __hurd_local_reply_port instead of threadvar.
19394 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19395 _hurd_sigstate fields.
19396 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19397 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19398 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19399 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19400 instead of threadvar.
19401 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19402 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19403 (use_threadvar, global_reply_port): Remove variables.
19404 (__hurd_reply_port0): New variable.
19405 (__mig_get_reply_port): Use __hurd_local_reply_port and
19406 __hurd_reply_port0 instead of threadvar.
19407 (__mig_dealloc_reply_port): Likewise.
19408 (__mig_init): Do not initialize threadvar.
19409 * sysdeps/mach/hurd/profil.c: Fix comment.
19410 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19411 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19412 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19413 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19414 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19415 __cthread_setspecific.
19416 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19417 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19418 __cthread_t instead of cthread_fork, cthread_detach,
19419 pthread_getattr_np, pthread_attr_getstack.
19420 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19421 __cthread_keycreate.
19422 (cthread_getspecific): Rename to __cthread_getspecific.
19423 (cthread_setspecific): Rename to __cthread_setspecific.
19424 (__libc_getspecific): Use __cthread_getspecific instead of
19425 cthread_getspecific.
19426 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19427 __cthread_keycreate instead of cthread_keycreate.
19428 (__libc_setspecific): Use __cthread_setspecific instead of
19429 cthread_setspecific.
19430 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19431 Likewise.
19432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19433 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19434 testing whether it is defined.
19435
19436 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19437
19438 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19439 Define macro.
19440 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19441 * sysdeps/mach/i386/thread_state.h
19442 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19443 i386_THREAD_STATE.
19444 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19445 i386_THREAD_STATE.
19446 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19447
19448 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19449 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19450
19451 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19452 macros.
19453 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19454 descriptor instead of creating a new one.
19455 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19456
19457 * mach/setup-thread.c: Include <ldsodefs.h>.
19458 (__mach_setup_thread): Call _dl_allocate_tls, pass
19459 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19460 MACHINE_THREAD_STATE_FLAVOR, before getting
19461 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19462 MACHINE_THREAD_STATE_FLAVOR with the result.
19463 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19464 MACHINE_THREAD_STATE_FIX_NEW.
19465 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19466 too. Add original thread parameter.
19467
19468 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19469
19470 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19471 Remove inline function.
19472
19473 * sysdeps/i386/fpu/libm-test-ulps: Update.
19474 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19475
19476 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19477
19478 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19479 commit.
19480
19481 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19482
19483 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19484 (__sincos_code): Remove define and undefine.
19485 [__FAST_MATH__] (__sincos): Remove inline function.
19486 [__FAST_MATH__] (__sincosf): Remove inline function.
19487 [__FAST_MATH__] (__sincosl): Remove inline function.
19488 (__atan2l): Remove inline functions.
19489 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19490 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19491 function.
19492 (floor): Remove inline function.
19493 (ceil): Likewise.
19494 [__FAST_MATH__] (__ldexp_code): Remove macro.
19495 [__FAST_MATH__] (ldexp): Remove inline function.
19496 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19497 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19498 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19499 [__USE_ISOC99] (__lrint_code): Remove macro.
19500 [__USE_ISOC99] (__llrint_code): Likewise.
19501 [__USE_ISOC99] (lrintf): Remove inline function.
19502 [__USE_ISOC99] (lrint): Likewise.
19503 [__USE_ISOC99] (lrintl): Likewise.
19504 [__USE_ISOC99] (llrint): Likewise.
19505 [__USE_ISOC99] (llrintf): Likewise.
19506 [__USE_ISOC99] (llrintl): Likewise.
19507
19508 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19509
19510 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19511 (__ieee754_sqrtf): Remove.
19512 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19513 (__ieee754_sqrtf): Remove.
19514 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19515 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19516 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19517 (__ieee754_sqrtf): Remove.
19518 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19519 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19520 (sqrtf): Remove.
19521 (sqrtl): Remove.
19522 (__ieee754_sqrt): Remove.
19523 (__ieee754_sqrtf): Remove.
19524 (__ieee754_sqrtl): Remove.
19525 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19526 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19527 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19528 (__ieee754_sqrtf): Remove.
19529 (__ieee754_sqrtl): Remove.
19530
19531 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19532
19533 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19534 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19535 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19536 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19537 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19538 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19539 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19540 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19541 Likewise.
19542 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19543 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19544 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19545 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19546 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19547 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19548 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19549 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19550 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19551 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19552 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19553 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19554 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19555 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19556 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19557 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19558 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19559 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19571 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19572 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19573 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19574 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19575 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19577 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19578 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19579 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19580 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19581 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19582
19583 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19584
19585 * include/math.h (sqrt): Declare with asm redirect.
19586 (sqrtf): Likewise.
19587 (sqrtl): Likewise.
19588 (sqrtf128): Likewise.
19589 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19590 nonlib and libnldbl with -fmath-errno.
19591 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19592 * math/w_sqrt_template.c: Likewise.
19593 * math/w_sqrtf_compat.c: Likewise.
19594 * math/w_sqrtl_compat.c: Likewise.
19595 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19596 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19597 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19598 complex.h.
19599
19600 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19601
19602 * benchtests/Makefile: Define _ISOMAC.
19603 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19604 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19605 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19606 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19607 * benchtests/bench-timing.h: Define attribute_hidden.
19608
19609 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19610
19611 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19612 mov + lsr.
19613
19614 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19615
19616 [BZ #22963]
19617 * localedata/locales/cs_CZ (mon): Rename to...
19618 (alt_mon): This.
19619 (mon): Import from CLDR (genitive case).
19620
19621 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19622
19623 [BZ #22937]
19624 * localedata/locales/el_CY (abmon): Rename to...
19625 (ab_alt_mon): This.
19626 (abmon): Import from CLDR (abbreviated genitive case).
19627 * localedata/locales/el_GR (abmon): Rename to...
19628 (ab_alt_mon): This.
19629 (abmon): Import from CLDR (abbreviated genitive case).
19630
19631 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19632
19633 [BZ #22932]
19634 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19635
19636 2018-03-15 Robert Buj <robert.buj@gmail.com>
19637
19638 [BZ #22848]
19639 * localedata/locales/ca_ES (abmon): Rename to...
19640 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19641 (mon): Rename to...
19642 (alt_mon): This.
19643 (abmon): Import from CLDR (genitive case, month names preceded by
19644 "de" or "d’").
19645 (mon): Likewise.
19646 (abday): Synchronize with CLDR.
19647 (d_t_fmt): Likewise.
19648 (d_fmt): Likewise.
19649 (am_pm): Likewise.
19650
19651 (LC_TIME): Improve indentation.
19652 (LC_TELEPHONE): Likewise.
19653 (LC_NAME): Likewise.
19654 (LC_ADDRESS): Likewise.
19655
19656 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19657
19658 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19659 (lrintf): Remove definitions used only with old GCC.
19660 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19661 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19662 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19663 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19664 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19665 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19666 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19667 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19668 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19669 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19670 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19671 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19672 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19673 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19674 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19675 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19676 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19677 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19678 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19679 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19680 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19681 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19682 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19683 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19684 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19685 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19686 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19687 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19688
19689 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19690
19691 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19692 instruction to unbreak builds with binutils 2.26 and older.
19693
19694 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19695
19696 * sysdeps/aarch64/strncmp.S (count): New macro.
19697 (strncmp): Store misaligned length in SRC1 in COUNT.
19698 (mutual_align): Adjust.
19699 (misaligned8): Load dword at a time when it is safe.
19700
19701 2018-03-12 Zack Weinberg <zackw@panix.com>
19702
19703 [BZ #1190]
19704 [BZ #19476]
19705 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19706 if the _IO_EOF_SEEN bit is already set; update commentary.
19707 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19708 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19709
19710 * support/support_openpty.c, support/tty.h: New files.
19711 * support/Makefile (libsupport-routines): Add support_openpty.
19712
19713 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19714 New test cases.
19715 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19716 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19717
19718 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19719
19720 * po/pt_BR.po: Update translations.
19721
19722 2018-03-12 David Michael <fedora.dm0@gmail.com>
19723
19724 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19725 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19726 get a port to the startup server.
19727
19728 2018-03-11 Zack Weinberg <zackw@panix.com>
19729
19730 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19731 before nldbl-compat.h.
19732
19733 2018-03-10 Zack Weinberg <zackw@panix.com>
19734
19735 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19736 math.h or math_private.h.
19737
19738 * sysdeps/alpha/fpu/s_isnan.c
19739 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19740 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19741 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19742 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19743 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19744 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19745 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19746 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19747 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19750 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19753 Include math_private.h.
19754
19755 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19756 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19757 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19758 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19759 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19760 * sysdeps/powerpc/power7/fpu/s_logb.c:
19761 Include math.h and math_private.h.
19762
19763 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19764 uses of $at in .set noat / .set at.
19765
19766 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19767
19768 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19769 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19770 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19771 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19772 Likewise.
19773
19774 2018-03-09 Florian Weimer <fweimer@redhat.com>
19775
19776 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19777 in comment.
19778
19779 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19780
19781 [BZ #22919]
19782 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19783 Add nop before __startcontext, add explaining comments.
19784
19785 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19786
19787 [BZ #22926]
19788 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19789 empty for __SPE__.
19790 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19791 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19792 Do not build hardware transactional code for __SPE__.
19793 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19794 (__lll_trylock_elision): Likewise.
19795 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19796 (__lll_unlock_elision): Likewise.
19797
19798 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
19799 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19800 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19801 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19802 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19803 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19804 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19805 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19806 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19807 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19808 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19809 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19810 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19811 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19812 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19813 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19814 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19815 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19816 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19817 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19818 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19819 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19820 (__ASSUME_CLONE_BACKWARDS): Define.
19821 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19822 __clone2 if __NR_clone2 is defined.
19823 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19824 (__ASSUME_CLONE_BACKWARDS): Likewise.
19825 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19826 (__ASSUME_CLONE_BACKWARDS): Likewise.
19827 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19828 (__ASSUME_CLONE2): Likewise.
19829 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19830 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19831 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19832 variants and the define architecture can use.
19833 (__ASSUME_CLONE_DEFAULT): Define as default.
19834 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19835 (__ASSUME_CLONE_BACKWARDS): Likewise.
19836 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19837 (__ASSUME_CLONE_BACKWARDS): Likewise.
19838 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19839 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19840
19841 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19842
19843 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19844
19845 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19846 time.
19847
19848 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19849 (do_test_limit): Likewise.
19850
19851 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19852 for every implementation.
19853 (do_test): Likewise.
19854
19855 * benchtests/bench-strncmp.c: Convert output to json.
19856
19857 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19858
19859 * io/futimens.c: Add missing start-of-file descriptive comment.
19860 * io/utime.c: Likewise.
19861 * misc/futimesat.c: Likewise.
19862 * misc/utimes.c: Likewise.
19863 * sysdeps/mach/hurd/futimesat.c: Likewise.
19864 * sysdeps/mach/hurd/utimes.c: Likewise.
19865 * sysdeps/posix/utime.c: Likewise.
19866 * sysdeps/posix/utimes.c: Likewise.
19867 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19868 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19869 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19870 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19871
19872 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19873
19874 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19875 hurd_futimes.
19876 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19877 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19878 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19879 (__futimens): Move implementation to...
19880 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19881 utime_tvalue_from_tspec): ... new helper functions.
19882 (hurd_futimens): New function.
19883 * sysdeps/mach/hurd/futimesat.c: New file.
19884 * sysdeps/mach/hurd/utimensat.c: New file.
19885
19886 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19887
19888 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19889 UTIME_OMIT): New macros.
19890 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19891 before reverting to converting time spec to time value and calling
19892 __file_utimes.
19893 * sysdeps/mach/hurd/utime-helper.c: New file.
19894 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19895 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19896 reverting to utime_tvalue_from_tval and __file_utimes.
19897 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19898 (__lutimes): Just call hurd_futimens after lookup.
19899 * sysdeps/mach/hurd/utimes.c: Likewise.
19900
19901 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19902
19903 * bits/sigaction.h: Add include guard.
19904 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19905 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19906 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19907 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19908 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19909 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19910 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19911 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19912 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19913
19914 2018-03-05 Joseph Myers <joseph@codesourcery.com>
19915
19916 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19917 -Wmaybe-uninitialized for -Os.
19918 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19919 this disabling.
19920
19921 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19922
19923 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19924 __INO_T_MATCHES_INO64_T is defined.
19925 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19926 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19927 of definition.
19928 * dirent/alphasort64.c: Likewise.
19929 * dirent/scandir.c: Likewise.
19930 * dirent/scandir64-tail.c: Likewise.
19931 * dirent/scandir64.c: Likewise.
19932 * dirent/scandirat.c: Likewise.
19933 * dirent/scandirat64.c: Likewise.
19934 * dirent/versionsort.c: Likewise.
19935 * dirent/versionsort64.c: Likewise.
19936 * include/dirent.h: Likewise.
19937
19938 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
19939 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
19940 for socketpair endpoint.
19941 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
19942 WRITE_BUFFER_SIZE as buffer size for sending socket.
19943 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
19944 issue on system where send is implemented with sendto syscall.
19945 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
19946 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19947 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19948 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19949
19950 [BZ #21269]
19951 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19952 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19953 sa_restorer for vDSO case.
19954 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19955
19956 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19957
19958 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
19959 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19960 * hurd/hurd/ioctl.h: Include <mach/port.h>
19961 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
19962 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19963 <mach/mach_types.h> and <mach/message.h>.
19964 (headers): Move mach/param.h to bits/mach/param.h.
19965 * sysdeps/mach/i386/mach/param.h: Move file to ...
19966 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19967 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19968 of <mach/param.h>.
19969 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19970 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19971 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
19972 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19973 trivial, for C++ conformity.
19974 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
19975 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19976 Process mig output through $(migheadersed).
19977 * hurd/Makefile (migheadersed): Define variable.
19978 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19979 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19980 headers.
19981 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19982 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19983 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19984 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19985 <bits/types/sigset_t.h>.
19986 [!defined __USE_GNU]: Do not #error out.
19987 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19988 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19989 Include <stddef.h> and <bits/types/sigset_t.h>
19990 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19991 instead of sighandler_t.
19992 * stdlib/errno.h (error_t): Move definition to...
19993 * bits/types/error_t.h: ... new header.
19994 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19995 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19996 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19997 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19998 * hurd/hurd.h: Include <bits/types/error_t.h>
19999 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20000 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20001 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20002 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20003 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20004 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20005 * sysdeps/mach/hurd/futimens.c: New file.
20006
20007 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20008
20009 [BZ #22918]
20010 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20011 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20012 * nscd/gai.c (__nss_hosts_database): Readd definition.
20013 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20014 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20015 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20016
20017 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20018
20019 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20020 (ifunc_one): Likewise.
20021
20022 2018-03-01 DJ Delorie <dj@delorie.com>
20023
20024 [BZ #22342]
20025 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20026 key value.
20027
20028 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20029
20030 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20031 `match_pid' parameter.
20032 (td_ta_thr_iter): Update accordingly.
20033
20034 2018-03-01 Florian Weimer <fweimer@redhat.com>
20035
20036 * nptl/Makefile (install-lib-ldscripts): Remove.
20037 (install): Remove rule.
20038 ($(inst_libdir)/libpthread.so): Likewise.
20039
20040 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20041
20042 [BZ #22896]
20043 * localedata/locales/an_ES: update month and day names,
20044 improve d_fmt, improve postal_fmt, add country_post,
20045 add country_isbn
20046
20047 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20048
20049 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20050 Ukrainian instead of Bulgarian.
20051
20052 2018-03-01 Florian Weimer <fweimer@redhat.com>
20053
20054 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20055 reference.
20056
20057 2018-03-01 Florian Weimer <fweimer@redhat.com>
20058
20059 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20060 * nptl/Makefile (routines): Add pthread_atfork.
20061 (static-only-routines): Set to pthread_atfork.
20062 (libpthread-routines): Remove pthread_atfork.
20063 (libpthread-static-only-routines): Remove.
20064 (install): Update comment.
20065 (libpthread.so): Do not install libpthread_nonshared.a.
20066 (tests): Do not link with libpthread_nonshared.a.
20067 (generated): Remove libpthread_nonshared.a.
20068 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20069 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20070 with libpthread_nonshared.a.
20071
20072 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20073
20074 [BZ #22902]
20075 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20076 (libc_feholdexcept_setroundf128): New macro.
20077 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20078
20079 [BZ #15105]
20080 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20081 libc_hidden_def.
20082 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20083 * include/inttypes.h: New file.
20084
20085 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20086
20087 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20088 -Os in two more places.
20089
20090 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20091
20092 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20093 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20094 be sorted correctly at the moment because of a bug.
20095
20096 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20097
20098 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20099 treat ñ as a primary different character, sync the collation
20100 for Spanish with CLDR.
20101 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20102 * localedata/Makefile: Add new test files.
20103 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20104 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20105 collation order.
20106 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20107 * localedata/am_ET.UTF-8.in: New test file.
20108 * localedata/az_AZ.UTF-8.in: Likewise.
20109 * localedata/be_BY.UTF-8.in: Likewise.
20110 * localedata/ber_DZ.UTF-8.in: Likewise.
20111 * localedata/ber_MA.UTF-8.in: Likewise.
20112 * localedata/bg_BG.UTF-8.in: Likewise.
20113 * localedata/br_FR.UTF-8.in: Likewise.
20114 * localedata/cmn_TW.UTF-8.in: Likewise.
20115 * localedata/crh_UA.UTF-8.in: Likewise.
20116 * localedata/csb_PL.UTF-8.in: Likewise.
20117 * localedata/cv_RU.UTF-8.in: Likewise.
20118 * localedata/cy_GB.UTF-8.in: Likewise.
20119 * localedata/dz_BT.UTF-8.in: Likewise.
20120 * localedata/eo.UTF-8.in: Likewise.
20121 * localedata/es_ES.UTF-8.in: Likewise.
20122 * localedata/fa_IR.UTF-8.in: Likewise.
20123 * localedata/fi_FI.UTF-8.in: Likewise.
20124 * localedata/fil_PH.UTF-8.in: Likewise.
20125 * localedata/fur_IT.UTF-8.in: Likewise.
20126 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20127 * localedata/ha_NG.UTF-8.in: Likewise.
20128 * localedata/ig_NG.UTF-8.in: Likewise.
20129 * localedata/ik_CA.UTF-8.in: Likewise.
20130 * localedata/kk_KZ.UTF-8.in: Likewise.
20131 * localedata/ku_TR.UTF-8.in: Likewise.
20132 * localedata/ky_KG.UTF-8.in: Likewise.
20133 * localedata/ln_CD.UTF-8.in: Likewise.
20134 * localedata/mi_NZ.UTF-8.in: Likewise.
20135 * localedata/ml_IN.UTF-8.in: Likewise.
20136 * localedata/mn_MN.UTF-8.in: Likewise.
20137 * localedata/mr_IN.UTF-8.in: Likewise.
20138 * localedata/mt_MT.UTF-8.in: Likewise.
20139 * localedata/nb_NO.UTF-8.in: Likewise.
20140 * localedata/om_KE.UTF-8.in: Likewise.
20141 * localedata/os_RU.UTF-8.in: Likewise.
20142 * localedata/ps_AF.UTF-8.in: Likewise.
20143 * localedata/ro_RO.UTF-8.in: Likewise.
20144 * localedata/ru_RU.UTF-8.in: Likewise.
20145 * localedata/sc_IT.UTF-8.in: Likewise.
20146 * localedata/se_NO.UTF-8.in: Likewise.
20147 * localedata/sq_AL.UTF-8.in: Likewise.
20148 * localedata/sv_SE.UTF-8.in: Likewise.
20149 * localedata/szl_PL.UTF-8.in: Likewise.
20150 * localedata/tg_TJ.UTF-8.in: Likewise.
20151 * localedata/tk_TM.UTF-8.in: Likewise.
20152 * localedata/tt_RU.UTF-8.in: Likewise.
20153 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20154 * localedata/ug_CN.UTF-8.in: Likewise.
20155 * localedata/uz_UZ.UTF-8.in: Likewise.
20156 * localedata/vi_VN.UTF-8.in: Likewise.
20157 * localedata/yi_US.UTF-8.in: Likewise.
20158 * localedata/yo_NG.UTF-8.in: Likewise.
20159 * localedata/zh_CN.UTF-8.in: Likewise.
20160 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20161 file and fix bugs in the collation.
20162 * localedata/locales/az_AZ: Likewise.
20163 * localedata/locales/be_BY: Likewise.
20164 * localedata/locales/ber_DZ: Likewise.
20165 * localedata/locales/ber_MA: Likewise.
20166 * localedata/locales/bg_BG: Likewise.
20167 * localedata/locales/br_FR: Likewise.
20168 * localedata/locales/br_FR@euro: Likewise.
20169 * localedata/locales/ca_ES: Likewise.
20170 * localedata/locales/cns11643_stroke: Likewise.
20171 * localedata/locales/crh_UA: Likewise.
20172 * localedata/locales/cs_CZ: Likewise.
20173 * localedata/locales/csb_PL: Likewise.
20174 * localedata/locales/cv_RU: Likewise.
20175 * localedata/locales/cy_GB: Likewise.
20176 * localedata/locales/da_DK: Likewise.
20177 * localedata/locales/dz_BT: Likewise.
20178 * localedata/locales/en_CA: Likewise.
20179 * localedata/locales/eo: Likewise.
20180 * localedata/locales/es_CU: Likewise.
20181 * localedata/locales/es_EC: Likewise.
20182 * localedata/locales/es_ES: Likewise.
20183 * localedata/locales/es_US: Likewise.
20184 * localedata/locales/et_EE: Likewise.
20185 * localedata/locales/fa_IR: Likewise.
20186 * localedata/locales/fi_FI: Likewise.
20187 * localedata/locales/fil_PH: Likewise.
20188 * localedata/locales/fur_IT: Likewise.
20189 * localedata/locales/gez_ER@abegede: Likewise.
20190 * localedata/locales/ha_NG: Likewise.
20191 * localedata/locales/hr_HR: Likewise.
20192 * localedata/locales/hsb_DE: Likewise.
20193 * localedata/locales/hu_HU: Likewise.
20194 * localedata/locales/ig_NG: Likewise.
20195 * localedata/locales/ik_CA: Likewise.
20196 * localedata/locales/is_IS: Likewise.
20197 * localedata/locales/iso14651_t1_pinyin: Likewise.
20198 * localedata/locales/kk_KZ: Likewise.
20199 * localedata/locales/ku_TR: Likewise.
20200 * localedata/locales/ky_KG: Likewise.
20201 * localedata/locales/ln_CD: Likewise.
20202 * localedata/locales/lt_LT: Likewise.
20203 * localedata/locales/lv_LV: Likewise.
20204 * localedata/locales/mi_NZ: Likewise.
20205 * localedata/locales/ml_IN: Likewise.
20206 * localedata/locales/mn_MN: Likewise.
20207 * localedata/locales/mr_IN: Likewise.
20208 * localedata/locales/mt_MT: Likewise.
20209 * localedata/locales/nb_NO: Likewise.
20210 * localedata/locales/om_KE: Likewise.
20211 * localedata/locales/os_RU: Likewise.
20212 * localedata/locales/pl_PL: Likewise.
20213 * localedata/locales/ps_AF: Likewise.
20214 * localedata/locales/ro_RO: Likewise.
20215 * localedata/locales/ru_RU: Likewise.
20216 * localedata/locales/ru_UA: Likewise.
20217 * localedata/locales/sc_IT: Likewise.
20218 * localedata/locales/se_NO: Likewise.
20219 * localedata/locales/si_LK: Likewise.
20220 * localedata/locales/sq_AL: Likewise.
20221 * localedata/locales/sv_FI: Likewise.
20222 * localedata/locales/sv_FI@euro: Likewise.
20223 * localedata/locales/sv_SE: Likewise.
20224 * localedata/locales/szl_PL: Likewise.
20225 * localedata/locales/tg_TJ: Likewise.
20226 * localedata/locales/ti_ER: Likewise.
20227 * localedata/locales/tk_TM: Likewise.
20228 * localedata/locales/tl_PH: Likewise.
20229 * localedata/locales/tr_TR: Likewise.
20230 * localedata/locales/tt_RU: Likewise.
20231 * localedata/locales/tt_RU@iqtelif: Likewise.
20232 * localedata/locales/ug_CN: Likewise.
20233 * localedata/locales/uk_UA: Likewise.
20234 * localedata/locales/uz_UZ: Likewise.
20235 * localedata/locales/uz_UZ@cyrillic: Likewise.
20236 * localedata/locales/vi_VN: Likewise.
20237 * localedata/locales/yi_US: Likewise.
20238 * localedata/locales/yo_NG: Likewise.
20239
20240 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20241
20242 * gen-locales.mk: Make test files which contain @ modifiers in their
20243 name work.
20244 * localedata/gen-locale.sh: Likewise.
20245
20246 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20247
20248 * posix/tst-fnmatch.input: Fix results for range expressions
20249 for non C locales.
20250 * posix/tst-regexloc.c: Do not use a range expression for
20251 de_DE.ISO-8859-1 locale.
20252
20253 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20254
20255 * posix/bug-regex5.c: Fix test case because with the new
20256 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20257 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20258 file.
20259
20260 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20261
20262 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20263 downloaded from ISO, the collation order of @-. and space has changed.
20264 Therefore, this test file needed to be adapted.
20265 * localedata/fr_CA.UTF-8.in: Likewise.
20266 * localedata/fr_FR.UTF-8.in: Likewise.
20267 * localedata/uk_UA.UTF-8.in: Likewise.
20268
20269 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20270
20271 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20272 order of ȥ in the new iso14651_t1_common file.
20273 * localedata/pl_PL.UTF-8.in: Likewise.
20274
20275 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20276
20277 * localedata/locales/iso14651_t1_common: Add sections for various
20278 scripts to the iso14651_t1_common file.
20279
20280 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20281
20282 * localedata/locales/iso14651_t1_common: Use the code point of a
20283 character in the fourth collation level instead of IGNORE for all
20284 entries which have IGNORE on all 4 levels.
20285
20286 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20287
20288 * localedata/locales/iso14651_t1_common: Add some convenient collation
20289 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20290 rules similar to those in CLDR.
20291
20292 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20293
20294 * localedata/locales/iso14651_t1_common: The new version of this
20295 file downloaded from ISO contained several syntax errors which
20296 are fixed by this patch.
20297
20298 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20299
20300 * localedata/locales/iso14651_t1_common: replace all <U.....>
20301 with <U000.....> because glibc understands only 4 digit or 8 digit
20302
20303 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20304
20305 * localedata/locales/iso14651_t1_common: Necessary changes
20306 to make the file downloaded from ISO usable by glibc.
20307
20308 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20309
20310 [BZ #14095]
20311 * localedata/locales/iso14651_t1_common: Update file to
20312 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20313
20314 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20315
20316 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20317 of <nptl/pthreadP.h>
20318 (thread_attr_compare): Move function to...
20319 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20320 * sysdeps/nptl/timer_routines.h: ... new header.
20321 * sysdeps/mach/hurd/gai_misc.h: New file.
20322
20323 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20324
20325 * string/strcoll_l.c: Include <libc-diag.h>.
20326 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20327 declarations of seq1 and seq2.
20328
20329 [BZ #15105]
20330 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20331 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20332
20333 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20334
20335 [BZ #22433]
20336 [BZ #22807]
20337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20338 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20339 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20340 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20341 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20342 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20343
20344 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20345
20346 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20347 macros used in __ptrace_request.
20348
20349 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20350
20351 [BZ #22792]
20352 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20353 to $(CC).
20354 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20355 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20356 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20357 <tcb-offsets.h>.
20358
20359 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20360
20361 [BZ #15105]
20362 * ctype/ctype.c (tolower): Use libc_hidden_def.
20363 (toupper): Likewise.
20364 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20365 [!_ISOMAC] (toupper): Likewise.
20366
20367 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20368
20369 * localedata/Makefile: Remove --quiet argument when
20370 installing locales
20371
20372 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20373
20374 [BZ #17438]
20375 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20376 in d_fmt.
20377 * localedata/locales/pt_PT (LC_TIME): likewise
20378
20379 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20380
20381 [BZ #22646]
20382 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20383 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20384 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20385
20386 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20387
20388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20389
20390 * nptl/Makefile (routines): Remove unregister-atfork.
20391 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20392 (fork_handler_alloc): Remove function.
20393 (fork_handlers, fork_handler_init): New variables.
20394 (__fork_lock): Rename to atfork_lock.
20395 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20396 to use a dynamic array to add/remove atfork handlers.
20397 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20398 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20399 Remove declaration.
20400 (fork_handler): Remove next, refcntr, and need_signal member.
20401 (__run_fork_handler_type): New enum.
20402 (__run_fork_handlers): New prototype.
20403 * nptl/register-atfork.c: Remove file.
20404 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20405
20406 * sysdeps/nptl/nptl-signals.h: Move to ...
20407 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20408 comments.
20409 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20410 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20411 unnecessary check for SIGTIMER.
20412 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20413 remove unnecessary removal of SIGTIMER.
20414 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20415 include-signals.h rename.
20416 * nptl/pthreadP.h: Likewise.
20417 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20418 __is_internal_signal instead of __nptl_is_internal_signal.
20419
20420 2018-02-22 Andrew Waterman <andrew@sifive.com>
20421
20422 [BZ # 22884]
20423 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20424 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20425 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20426 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20427
20428 2018-02-22 DJ Delorie <dj@delorie.com>
20429
20430 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20431
20432 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20433
20434 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20435 do_misaligned, not misaligned8.
20436
20437 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20438
20439 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20440 Add memcpy_thunderx2.
20441 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20442 Increment to 4.
20443 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20444 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20445 and IS_THUNDERX2PA checks.
20446 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20447 Use macro to set name appropriately.
20448 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20449 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20450 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20451 New macro.
20452 (IS_THUNDERX2): New macro.
20453
20454 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20455
20456 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20457
20458 2018-02-21 Zack Weinberg <zackw@panix.com>
20459
20460 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20461 Define here, unconditionally.
20462 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20463 * libio/libioP.h: Remove #if 0 blocks.
20464 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20465 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20466 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20467
20468 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20469 Assume weak_alias is always defined.
20470
20471 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20472 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20473 Remove #if 0 and #ifdef TODO blocks.
20474 Assume text_set_element is always defined.
20475
20476 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20477 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20478 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20479
20480 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20481 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20482 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20483 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20484 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20485 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20486 Reformat bit flags for _flags field to make occupancy clearer.
20487 Update commentary.
20488 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20489 Keep definitions consistent with those in libio/libio.h.
20490
20491 * libio/libio.h (_IO_file_flags): Remove macro.
20492 All uses changed to _flags.
20493
20494 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20495 (__HAVE_COLUMN, _IO_BE): Don't define.
20496 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20497 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20498 * libio/libioP.h (EOF): Don't define.
20499 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20500 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20501 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20502 testing _IO_UNIFIED_JUMPTABLES.
20503
20504 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20505 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20506 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20507 (_IO_size_t): Delete; all uses changed to size_t.
20508 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20509 (_IO_off_t): Delete; all uses changed to off_t.
20510 (_IO_off64_t): Delete; all uses changed to off64_t.
20511 (_IO_pid_t): Delete; all uses changed to pid_t.
20512 (_IO_uid_t): Delete; all uses changed to uid_t.
20513 (_IO_wint_t): Delete; all uses changed to wint_t.
20514 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20515 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20516 (_IO_cookie_io_functions_t): Delete; all uses changed to
20517 cookie_io_functions_t.
20518 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20519 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20520 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20521 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20522
20523 * libio/iofopncook.c: Remove unnecessary forward declarations.
20524 * libio/iolibio.h: Correct outdated commentary.
20525 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20526 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20527 Remove unnecessary casts.
20528 * stdio-common/getline.c: Use _IO_getdelim directly.
20529 Don't redefine ssize_t.
20530 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20531 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20532 Remove outdated comments.
20533 * stdio-common/vfscanf.c: Don't redefine va_list.
20534
20535 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20536 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20537 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20538 which are always true, and __cplusplus, which is always false.
20539
20540 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20541
20542 [BZ #15105]
20543 [BZ #19463]
20544 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20545 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20546 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20547 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20548 libc_hidden_proto.
20549 [!_ISOMAC] (putc_unlocked): Likewise.
20550 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20551 define inline if [__USE_EXTERN_INLINES].
20552 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20553 putc_unlocked.
20554
20555 [BZ #15105]
20556 [BZ #19463]
20557 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20558 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20559 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20560 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20561 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20562 getc_unlocked.
20563 * time/tzfile.c (__tzfile_read): Likewise.
20564
20565 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20566
20567 [BZ #22517]
20568 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20569
20570 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20571
20572 * io/fcntl.h: Fix a typo in a comment.
20573
20574 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20575
20576 [BZ #22862]
20577 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20578 define _DEFAULT_SOURCE.
20579 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20580
20581 2018-02-21 Florian Weimer <fweimer@redhat.com>
20582
20583 [BZ #20890]
20584 * elf/cache.c (save_cache): Call fsync on temporary file before
20585 renaming it.
20586 (save_aux_cache): Call fdatasync on temporary file before renaming
20587 it.
20588
20589 2018-02-21 Florian Weimer <fweimer@redhat.com>
20590
20591 [BZ #22787]
20592 * include/caller.h: Remove file.
20593 * elf/dl-caller.c: Likewise.
20594 * elf/Makefile (dl-routines): Remove dl-caller.
20595 (shared-only-routines): Do not add dl-caller.
20596 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20597 __check_caller.
20598 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20599 member.
20600 (dl_open_worker): Do not call __check_caller.
20601 (_dl_open): Do not set caller_dl_open member.
20602 * elf/rtld.c (_rtld_global_ro): Do not initialize
20603 _dl_check_caller member.
20604 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20605 _dl_check_caller member.
20606 (_dl_check_caller): Remove declaration.
20607 * sysdeps/unix/sysv/linux/dl-execstack.c
20608 (_dl_make_stack_executable): Do not call __check_caller.
20609
20610 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20611
20612 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20613 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20614
20615 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20616
20617 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20618 description.
20619
20620 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20621
20622 [BZ #16335]
20623 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20624 of 199606L, 200112L, and 200809L.
20625 (_XOPEN_SOURCE): Document special values of 600 and 700.
20626 (_ISOC11_SOURCE): Document macro.
20627 (_ATFILE_SOURCE): Likewise.
20628 (_FORTIFY_SOURCE): Likewise.
20629
20630 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20631
20632 [BZ #15105]
20633 [BZ #19463]
20634 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20635 and define as weak alias of __ferror_unlocked. Use
20636 libc_hidden_weak.
20637 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20638 libc_hidden_proto.
20639 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20640 function if [__USE_EXTERN_INLINES].
20641 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20642 ferror_unlocked.
20643
20644 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20645
20646 [BZ #6889]
20647 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20648
20649 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20650
20651 [BZ #22818]
20652 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20653 the GLIBC_2.1 version.
20654
20655 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20656
20657 [BZ #21508]
20658 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20659 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20660 intl/tst-gettext-de.po from po/de.po by removing the
20661 POT-Creation-Date line.
20662 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20663 ../po/de.po.
20664 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20665 ../po/de.po.
20666
20667 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20668
20669 * mach/Makefile (headers): Add mach/param.h.
20670 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20671 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20672 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20673 (__ptsname_r): Move implementation to...
20674 (__ptsname_internal): ... new function. Add filling the STP
20675 structure.
20676
20677 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20678
20679 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20680 idouble to 1 ULP.
20681
20682 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20683
20684 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20685 syntax.
20686
20687 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20688
20689 * nptl/Makefile (tst-mutex8-ENV): Delete.
20690 * nptl/tst-mutex8.c (check_type):
20691 Add runtime check if mutex will be elided.
20692
20693 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20694
20695 [BZ #20980]
20696 [BZ #21234]
20697 * manual/install.texi (Configuring and compiling): Describe
20698 passing CC and CFLAGS on configure command line, not as
20699 environment variables. Use @code markup on those variables.
20700 Specify what options go in CC and what go in CFLAGS. Note the
20701 requirement to compile with optimization.
20702 * INSTALL: Regenerated.
20703
20704 [BZ #18124]
20705 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20706 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20707 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20708 __sigprocmask instead of sigprocmask.
20709 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20710 Likewise.
20711 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20712 __sigsetjmp and sigprocmask.
20713
20714 [BZ #15105]
20715 * include/argz.h (argz_next): Use libc_hidden_proto.
20716 (__argz_next): Likewise.
20717 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20718 (argz_next): Use libc_hidden_weak.
20719
20720 [BZ #15105]
20721 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20722 libc_hidden_proto.
20723 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20724 libc_hidden_def.
20725
20726 [BZ #15105]
20727 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20728 libc_hidden_proto.
20729 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20730
20731 [BZ #15105]
20732 [BZ #19463]
20733 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20734 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20735 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20736 (__feof_unlocked): New declaration, and inline function if
20737 [__USE_EXTERN_INLINES].
20738 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20739 instead of feof_unlocked.
20740 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20741 * nss/nsswitch.c (nss_parse_file): Likewise.
20742 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20743 Likewise.
20744 * time/getdate.c (__getdate_r): Likewise.
20745 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20746 Define as macro to call __feof_unlocked.
20747
20748 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20749
20750 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20751
20752 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20753
20754 * math/Makefile: Remove mpexp.c and mplog.c
20755 * sysdeps/i386/fpu/mpexp.c: Delete file.
20756 * sysdeps/i386/fpu/mplog.c: Likewise.
20757 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20758 * sysdeps/ia64/fpu/mplog.c: Likewise.
20759 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20760 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20761 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20762 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20763 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20764 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20765 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20766 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20767 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20768 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20769 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20770 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20771 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20772 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20773 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20774 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20775
20776 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20777
20778 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20779
20780 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20781
20782 * sysdeps/sh/libm-test-ulps: Update.
20783
20784 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20785
20786 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20787 idouble to 1 ULP.
20788
20789 2018-02-12 Zack Weinberg <zackw@panix.com>
20790
20791 [BZ #19239]
20792 * posix/sys/types.h: Don't include sys/sysmacros.h.
20793 * misc/sys/sysmacros.h: Remove the conditional deprecation
20794 warnings for the macros defined by this header.
20795
20796 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20797
20798 * manual/probes.texi: Remove slowexp probes.
20799 * math/Makefile: Remove slowexp.
20800 * sysdeps/generic/math_private.h (__slowexp): Remove.
20801 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20802 document error bounds.
20803 * sysdeps/i386/fpu/slowexp.c: Remove.
20804 * sysdeps/ia64/fpu/slowexp.c: Remove.
20805 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20806 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20807 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20808 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20809 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20810 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20811 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20812 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20813 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20814 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20815 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20816
20817 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20818
20819 [BZ #13932]
20820 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20821 * benchtests/pow-inputs: Update comment for slow path cases.
20822 * manual/probes.texi (slowpow_p10): Delete removed probe.
20823 (slowpow_p10): Likewise.
20824 * math/Makefile: Remove halfulp.c and slowpow.c.
20825 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20826 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20827 (__halfulp): Remove.
20828 (__slowpow): Remove.
20829 * sysdeps/i386/fpu/halfulp.c: Delete file.
20830 * sysdeps/i386/fpu/slowpow.c: Likewise.
20831 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20832 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20834 improve comments and add error analysis.
20835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20836 (power1): Remove function:
20837 (log1): Remove error argument, add error analysis.
20838 (my_log2): Remove function.
20839 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20840 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20841 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20842 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20843 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20844 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20845 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20846 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20847 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20848 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20849 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20850 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20851 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20852 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20853
20854 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20855
20856 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20857 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20858
20859 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20860
20861 [BZ #22433]
20862 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20863 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20864 and PTRACE_SETHBPREGS.
20865
20866 2018-02-10 Zack Weinberg <zackw@panix.com>
20867
20868 [BZ #22830]
20869 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20870 correctly.
20871 * malloc/tst-malloc-stats-cancellation.c: New test case.
20872 * malloc/Makefile: Add new test case.
20873
20874 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20875
20876 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20877
20878 2018-02-10 Joseph Myers <joseph@codesourcery.com>
20879
20880 * math/Makefile (libm-narrow-fns): Add add.
20881 (libm-test-funcs-narrow): Likewise.
20882 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20883 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20884 * math/gen-auto-libm-tests.c (test_functions): Add add.
20885 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20886 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20887 (NARROW_ADD_TRIVIAL): Likewise.
20888 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20889 macro.
20890 (__daddl): Likewise.
20891 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20892 dadd.
20893 (CFLAGS-nldbl-dadd.c): New variable.
20894 (CFLAGS-nldbl-fadd.c): Likewise.
20895 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20896 __nldbl_daddl.
20897 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20898 prototype.
20899 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20900 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20901 * math/auto-libm-test-in: Add tests of add.
20902 * math/auto-libm-test-out-narrow-add: New generated file.
20903 * math/libm-test-narrow-add.inc: New file.
20904 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20905 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20906 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20907 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20908 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20909 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20910 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20911 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20912 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20913 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20914 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20915 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20916 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20917 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20918 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20919 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20920 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20921 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20923 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20924 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20925 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20926 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20927 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20928 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20929 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20930 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20931 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20932 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20933 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20934 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20935 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20940 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20941 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20942 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20943 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20944 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20945 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20946 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20947 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20948 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20949 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20950
20951 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20952 (f128-pairs): New variable.
20953 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20954 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20955 to CFLAGS.
20956 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20957 Also make tests add $(f128-loader-link) to gnulib-tests.
20958
20959 2018-02-09 DJ Delorie <dj@redhat.com>
20960
20961 [BZ #22827]
20962 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20963 64-bit ELF type for 64-bit ELF objects.
20964
20965 2018-02-09 Joseph Myers <joseph@codesourcery.com>
20966
20967 * math/libm-test-driver.c (snan_tests_arg): New variable.
20968 * math/libm-test-support.h (snan_tests_arg): New declaration.
20969 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20970
20971 * math/Makefile (test-type-pairs): New variable.
20972 (test-type-pairs-f64xf128-yes): Likewise.
20973 (tests): Add test-narrow-macros.
20974 (libm-test-funcs-narrow): New variable.
20975 (libm-test-c-narrow): Likewise.
20976 (generated): Add $(libm-test-c-narrow).
20977 (libm-tests-base-narrow): New variable.
20978 (libm-tests-narrow): Likewise.
20979 (libm-tests): Add $(libm-tests-narrow).
20980 (libm-tests-for-type): Handle $(libm-tests-narrow).
20981 (libm-test-c-narrow-obj): New variable.
20982 ($(libm-test-c-narrow-obj)): New rule.
20983 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20984 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20985 $(o-iterator) to set dependencies and CFLAGS.
20986 * math/gen-auto-libm-tests.c: Document use for narrowing
20987 functions.
20988 (output_for_one_input_case): Take argument NARROW.
20989 (generate_output): Likewise. Update call to
20990 output_for_one_input_case.
20991 (main): Take --narrow option. Update call to generate_output.
20992 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20993 (apply_lit): Update call to _apply_lit.
20994 (apply_arglit): New function.
20995 (parse_args): Handle "a" arguments.
20996 (parse_auto_input): Handle format names using ":".
20997 * math/README.libm-test: Document "a" parameter type.
20998 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20999 (ARG_TYPE_TRUE_MIN): Likewise.
21000 (ARG_TYPE_MAX): Likwise.
21001 (ARG_MIN_EXP): Likewise.
21002 (ARG_MAX_EXP): Likewise.
21003 (ARG_MANT_DIG): Likewise.
21004 (TEST_COND_arg_ibm128): Likewise.
21005 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21006 (TEST_COND_arg_fmt): New macro.
21007 (init_max_error): Update prototype.
21008 * math/libm-test-support.c (test_ibm128): New variable.
21009 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21010 instead of using [TEST_COND_ibm128] conditional.
21011 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21012 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21013 [TEST_NARROW] (TEST_MSG): New definition.
21014 (arg_plus_zero): New macro.
21015 (arg_minus_zero): Likewise.
21016 (arg_plus_infty): Likewise.
21017 (arg_minus_infty): Likewise.
21018 (arg_qnan_value_pl): Likewise.
21019 (arg_qnan_value): Likewise.
21020 (arg_snan_value_pl): Likewise.
21021 (arg_snan_value): Likewise.
21022 (arg_max_value): Likewise.
21023 (arg_min_value): Likewise.
21024 (arg_min_subnorm_value): Likewise.
21025 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21026 (RUN_TEST_LOOP_aa_f): New macro.
21027 (TEST_SUFF): New macro.
21028 (TEST_SUFF_STR): Likewise.
21029 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21030 (TEST_COND_any_ibm128): New macro.
21031 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21032 this_func. Update call to init_max_error.
21033 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21034 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21035 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21036 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21037 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21038 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21039 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21040 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21041 * math/test-math-vector.h (TEST_NARROW): Likewise.
21042 * math/test-arg-double.h: New file.
21043 * math/test-arg-float128.h: Likewise.
21044 * math/test-arg-float32x.h: Likewise.
21045 * math/test-arg-float64.h: Likewise.
21046 * math/test-arg-float64x.h: Likewise.
21047 * math/test-arg-ldouble.h: Likewise.
21048 * math/test-math-narrow.h: Likewise.
21049 * math/test-narrow-macros.c: Likewise.
21050 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21051 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21052 test-narrow-macros-ldbl-64.
21053 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21054
21055 * math/bits/mathcalls-narrow.h: New file.
21056 * include/bits/mathcalls-narrow.h: Likewise.
21057 * math/math-narrow.h: Likewise.
21058 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21059 (__MATHCALL_NARROW_ARGS_2): Likewise.
21060 (__MATHCALL_NARROW_ARGS_3): Likewise.
21061 (__MATHCALL_NARROW_NORMAL): Likewise.
21062 (__MATHCALL_NARROW_REDIR): Likewise.
21063 (__MATHCALL_NARROW): Likewise.
21064 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21065 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21066 defined.
21067 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21068 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21069 (libm-narrow-fns): New variable.
21070 (libm-narrow-types-basic): Likewise.
21071 (libm-narrow-types-ldouble-yes): Likewise.
21072 (libm-narrow-types-float128-yes): Likewise.
21073 (libm-narrow-types-float128-alias-yes): Likewise.
21074 (libm-narrow-types): Likewise.
21075 (libm-routines): Add narrowing functions.
21076 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21077 (libc_feholdexcept_setroundf128): New macro.
21078 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21079 * sysdeps/ieee754/float128/float128_private.h: Include
21080 <math/math-narrow.h>.
21081 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21082 Undefine and redefine.
21083 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21084 (libm_alias_float_ldouble): Undefine and redefine.
21085 (libm_alias_double_ldouble): Likewise.
21086
21087 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21088
21089 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21090
21091 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21092 FPCR/FPSR.
21093
21094 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21095
21096 * manual/creature.texi: Convert references to gcc.info to gcc.
21097 * manual/stdio.texi: Likewise.
21098 * manual/string.texi: Likewise.
21099
21100 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21101
21102 [BZ #17979]
21103 * posix/bits/types.h (__int_least8_t): New typedef.
21104 (__uint_least8_t): Likewise.
21105 (__int_least16_t): Likewise.
21106 (__uint_least16_t): Likewise.
21107 (__int_least32_t): Likewise.
21108 (__uint_least32_t): Likewise.
21109 (__int_least64_t): Likewise.
21110 (__uint_least64_t): Likewise.
21111 * sysdeps/generic/stdint.h (int_least8_t): Define using
21112 __int_least8_t.
21113 (int_least16_t): Define using __int_least16_t.
21114 (int_least32_t): Define using __int_least32_t.
21115 (int_least64_t): Define using __int_least64_t.
21116 (uint_least8_t): Define using __uint_least8_t.
21117 (uint_least16_t): Define using __uint_least16_t.
21118 (uint_least32_t): Define using __uint_least32_t.
21119 (uint_least64_t): Define using __uint_least64_t.
21120 * wcsmbs/uchar.h: Include <bits/types.h>.
21121 (char16_t): Define using __uint_least16_t conditional only on
21122 [!__USE_ISOCXX11].
21123 (char32_t): Define using __uint_least32_t conditional only on
21124 [!__USE_ISOCXX11].
21125 * wcsmbs/test-char-types.c: New file.
21126 * wcsmbs/Makefile (tests): Add test-char-types.
21127
21128 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21129 version to 4.0.1.
21130
21131 2018-02-07 Zack Weinberg <zackw@panix.com>
21132
21133 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21134 Delete all contents except for definitions of _G_HAVE_MMAP and
21135 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21136 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21137 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21138 change as above.
21139
21140 * libio/libio.h: Don't include bits/_G_config.h here.
21141 Include stddef.h with __need_wchar_t defined. Include
21142 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21143 Define _IO_iconv_t here, directly.
21144 Don't define _IO_HAVE_ST_BLKSIZE.
21145 * libio/libioP.h: Include _G_config.h here. Move include of
21146 shlib-compat.h up with rest of includes. Simplify conditionals
21147 controlling definition of _IO_JUMPS_OFFSET.
21148
21149 * csu/init.c: Remove always-true #if around entire file.
21150 Don't include stdio.h. Set _IO_stdin_used to hardwired
21151 constant 0x20001, and update commentary.
21152 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21153 Replace all uses of _G_va_list with __gnuc_va_list.
21154 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21155 instead of #if _IO_HAVE_ST_BLKSIZE.
21156 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21157 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21158 not #ifdef.
21159
21160 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21161 multiple-include guard to match.
21162 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21163 into this file.
21164 Remove preprocessor conditionals that are always true and/or
21165 redundant to other preprocessor conditionals in the same nest.
21166 Include shlib-compat.h unconditionally.
21167 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21168 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21169 defined after including stdio.h.
21170 Use __BEGIN_DECLS/__END_DECLS.
21171
21172 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21173 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21174 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21175
21176 2018-02-07 Zack Weinberg <zackw@panix.com>
21177
21178 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21179 New single-type headers split from _G_config.h.
21180 * libio/bits/types/cookie_io_functions_t.h
21181 * libio/bits/types/struct_FILE.h
21182 New single-type headers split from libio.h.
21183
21184 * libio/Makefile: Install the above new headers. Don't install
21185 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21186 bits/libio-ldbl.h.
21187 * libio/_G_config.h, libio/libio.h: Delete file.
21188
21189 * libio/bits/libio.h: Remove improper-inclusion guard.
21190 Include stdio.h and don't repeat anything that it does.
21191 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21192 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21193 __io_read_fn as cookie_read_function_t,
21194 __io_write_fn as cookie_write_function_t,
21195 __io_seek_fn as cookie_seek_function_t,
21196 __io_close_fn as cookie_close_function_t,
21197 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21198 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21199 here, in the "compatibility defines" section. Remove an #if 0
21200 block. Use the "body" macros from bits/types/struct_FILE.h to
21201 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21202 and _IO_ferror_unlocked.
21203 Move prototypes of __uflow and __overflow...
21204
21205 * libio/stdio.h: ...here. Don't include bits/libio.h.
21206 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21207 directly from stdarg.h. Include bits/types/__fpos_t.h,
21208 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21209 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21210 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21211 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21212 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21213 __ssize_t, not _IO_ssize_t. Unconditionally define
21214 BUFSIZ as 8192 and EOF as (-1).
21215
21216 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21217 macros from bits/types/struct_FILE.h instead of _IO_* macros
21218 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21219 instead of _IO_ssize_t.
21220 * libio/bits/stdio2.h: Similarly.
21221
21222 * libio/iolibio.h: Add multiple-include guard.
21223 Include bits/libio.h after stdio.h.
21224 * libio/libioP.h: Add multiple-include guard.
21225 Include stdio.h and bits/libio.h before iolibio.h.
21226
21227 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21228 * include/bits/types/cookie_io_functions_t.h
21229 * include/bits/types/struct_FILE.h: New wrappers.
21230
21231 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21232 Get definitions of _G_fpos_t and _G_fpos64_t from
21233 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21234 respectively. Remove improper-inclusion guards.
21235
21236 * conform/data/stdio.h-data: Update expectations of va_list.
21237 * scripts/check-installed-headers.sh: Remove special case for
21238 libio.h and _G_config.h.
21239
21240 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21241
21242 [BZ #15105]
21243 [BZ #19463]
21244 * include/sys/sysmacros.h [!_ISOMAC]
21245 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21246 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21247 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21248 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21249 libc_hidden_proto.
21250 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21251 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21252 Likewise.
21253 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21254 Undefine and redefine to add use __gnu_dev_ prefix.
21255 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21256 Likewise.
21257 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21258 and define as hidden inline function.
21259 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21260 Likewise.
21261 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21262 Likewise.
21263 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21264 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21265 (gnu_dev_minor): Likewise.
21266 (gnu_dev_makedev): Likewise.
21267 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21268 makedev.
21269 * posix/wordexp.c (exec_comm_child): Likewise.
21270 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21271 instead of minor and __gnu_dev_major instead of major.
21272 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21273 __gnu_dev_major instead of major.
21274 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21275 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21276 instead of gnu_dev_minor.
21277 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21278 (SLAVE_P): Likewise.
21279 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21280 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21281 instead of major.
21282
21283 [BZ #21313]
21284 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21285 in another place.
21286 * locale/weightwc.h (findidx): Likewise.
21287
21288 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21289
21290 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21291 (slowlog_inexact): Likewise
21292 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21293 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21294
21295 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21296
21297 [BZ #22797]
21298 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21299 missing second underscore to parameter name.
21300
21301 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21302
21303 [BZ #14508]
21304 [BZ #15512]
21305 [BZ #17082]
21306 [BZ #20530]
21307 * bits/byteswap.h: Update file comment. Do not include
21308 <bits/byteswap-16.h>.
21309 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21310 constant.
21311 (__bswap_16): Define as inline function.
21312 (__bswap_constant_32): Reformat definition.
21313 (__bswap_32): Always define as inline function, not macro, using
21314 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21315 otherwise __bswap_constant_32.
21316 (__bswap_constant_64): Reformat definition. Do not use
21317 __extension__ here.
21318 (__bswap_64): Always define as inline function, not macro. Use
21319 __extension__ on function definition. Use __builtin_bswap64 if
21320 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21321 * string/test-endian-file-scope.c: New file.
21322 * string/test-endian-sign-conversion.c: Likewise.
21323 * string/Makefile (headers): Remove bits/byteswap-16.h.
21324 (tests): Add test-endian-file-scope and
21325 test-endian-sign-conversion.
21326 (CFLAGS-test-endian-sign-conversion.c): New variable.
21327 * bits/byteswap-16.h: Remove file.
21328 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21329 * sysdeps/ia64/bits/byteswap.h: Likewise.
21330 * sysdeps/m68k/bits/byteswap.h: Likewise.
21331 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21332 * sysdeps/s390/bits/byteswap.h: Likewise.
21333 * sysdeps/tile/bits/byteswap.h: Likewise.
21334 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21335 * sysdeps/x86/bits/byteswap.h: Likewise.
21336
21337 [BZ #17721]
21338 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21339 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21340 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21341 199901L] (__restrict): Define to restrict.
21342
21343 [BZ #19667]
21344 * string/testcopy.c: Include <support/support.h>. Do not include
21345 <malloc.h>. Use <support/test-driver.c>.
21346 (main): Rename to do_test. Make static. Use xmalloc instead of
21347 malloc.
21348
21349 [BZ #13575]
21350 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21351 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21352 (SSIZE_MAX): Define to INT_MAX.
21353 * posix/test-ssize-max.c: New file.
21354 * posix/Makefile (tests): Add test-ssize-max.
21355
21356 [BZ #19668]
21357 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21358 <support/support.h>. Do not include <malloc.h>.
21359 (query_auxv): Use xmalloc instead of malloc.
21360
21361 [BZ #14553]
21362 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21363 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21364 instead of loff_t.
21365
21366 2018-02-06 Florian Weimer <fweimer@redhat.com>
21367
21368 [BZ #18023]
21369 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21370 Use scratch_buffer instead of extend_alloca.
21371
21372 2018-02-06 Zack Weinberg <zackw@panix.com>
21373
21374 * libio/stdio.h: Don't define getc or putc as macros.
21375 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21376 not _IO_getc and _IO_putc.
21377
21378 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21379 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21380
21381 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21382
21383 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21384 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21385
21386 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21387
21388 [BZ #14890]
21389 * elf/elf.h (NT_PRFPREG): New macro.
21390 (NT_S390_VXRS_LOW): Likewise.
21391 (NT_S390_VXRS_HIGH): Likewise.
21392 (NT_S390_GS_CB): Likewise.
21393 (NT_S390_GS_BC): Likewise.
21394 (NT_S390_RI_CB): Likewise.
21395
21396 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21397 (MAP_SYNC): New macro.
21398 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21399 Likewise.
21400 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21401 (MAP_SYNC): Likewise.
21402 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21403 (MAP_SYNC): Likewise.
21404 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21405 (MAP_SYNC): Likewise.
21406 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21407 (MAP_SYNC): Likewise.
21408 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21409 (MAP_SYNC): Likewise.
21410 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21411 (MAP_SYNC): Likewise.
21412 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21413 Likewise.
21414 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21415 Likewise.
21416
21417 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21418 (MAP_SHARED_VALIDATE): New macro.
21419 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21420 (MAP_SHARED_VALIDATE): Likewise.
21421
21422 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21423
21424 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21425 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21426 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21427
21428 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21429
21430 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21431 (DT_NUM): Updated to 35.
21432
21433 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21434
21435 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21436 __builtin_expect with __glibc_likely and __glibc_unlikely.
21437 (elf_machine_rela): Likewise.
21438 (elf_machine_lazy_rel): Likewise.
21439
21440 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21441
21442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21443 __builtin_expect with __glibc_likely and __glibc_unlikely.
21444 (elf_machine_lazy_rel): Likewise.
21445
21446 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21447
21448 [BZ #22638]
21449 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21450 SHARED.
21451 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21452
21453 2018-02-05 Andreas Schwab <schwab@suse.de>
21454
21455 [BZ #22761]
21456 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21457 string.
21458
21459 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21460
21461 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21462 not check against PTHREAD_STACK_MIN.
21463
21464 2018-02-02 Sean McKean <smckean83@gmail.com>
21465
21466 [BZ #22735]
21467 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21468
21469 2018-02-02 Florian Weimer <fweimer@redhat.com>
21470
21471 [BZ #22753]
21472 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21473 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21474 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21475 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21476 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21477 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21478 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21479 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21480 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21481 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21482 * misc/tst-preadvwritev2.c (do_test): Call it.
21483 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21484
21485 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21486
21487 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21488
21489 * benchtests/bench-memcmp.c: Print json instead of plain text.
21490
21491 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21492 every test run.
21493
21494 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21495
21496 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21497 version to 4.15.
21498 (s390_sthyi): New syscall.
21499
21500 * sysdeps/generic/ldbl-classify-compat.h: New file.
21501 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21502 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21503 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21504 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21505 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21506 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21507 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21508 <ldbl-classify-compat.h>.
21509 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21510 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21511 <ldbl-classify-compat.h>.
21512 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21513 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21514 <ldbl-classify-compat.h>.
21515 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21516 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21517 <ldbl-classify-compat.h>.
21518 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21519 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21520 <ldbl-classify-compat.h>.
21521 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21522 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21523 <ldbl-classify-compat.h>.
21524 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21525 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21526 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21527 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21528 * sysdeps/microblaze/math_private.h: Likewise.
21529 * sysdeps/nios2/math_private.h: Likewise.
21530 * sysdeps/sh/math_private.h: Likewise.
21531
21532 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21533 * sysdeps/m68k/coldfire/math_private.h: ... here.
21534 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21535 * sysdeps/tile/math_private.h: Likewise.
21536 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21537 Remove macro.
21538 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21539 Likewise.
21540
21541 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21542 Remove macro.
21543 (libc_fetestexcept): Likewise.
21544 (libc_feupdateenv_test): Likewise.
21545 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21546 (libc_fetestexcept): Likewise.
21547 (libc_feupdateenv_test): Likewise.
21548 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21549 (libc_fetestexcept): Likewise.
21550 (libc_feupdateenv_test): Likewise.
21551 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21552 (libc_fetestexcept): Likewise.
21553 (libc_feupdateenv_test): Likewise.
21554
21555 * sysdeps/generic/math_private.h
21556 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21557 New inline function.
21558 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21559 Likewise.
21560
21561 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21562 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21563 * sysdeps/generic/math_private.h
21564 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21565 inline function.
21566 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21567 Likewise.
21568 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21569 Likewise.
21570 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21571 Likewise.
21572 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21573 Likewise.
21574 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21575 Likewise.
21576 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21577 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21578 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21579 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21580 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21581 (__fegetenv): Likewise.
21582 (fesetenv): Likewise.
21583 (__fesetenv): Likewise.
21584 (feupdateenv): Likewise.
21585 (__feupdateenv): Likewise.
21586 (fegetround): Likewise.
21587 (__fegetround): Likewise.
21588 (fesetround): Likewise.
21589 (__fesetround): Likewise.
21590
21591 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21592 (feraiseexcept): New macro.
21593 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21594 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21595 Remove macro.
21596 (__feraiseexcept): Likewise.
21597 (feclearexcept): Likewise.
21598 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21599 (__feraiseexcept): Likewise.
21600 (feclearexcept): Likewise.
21601 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21602 (__feraiseexcept): Likewise.
21603 (feclearexcept): Likewise.
21604 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21605 (__feraiseexcept): Likewise.
21606 (feclearexcept): Likewise.
21607 (fetestexcept): Likewise.
21608
21609 * sysdeps/m68k/coldfire/math-tests.h: New file.
21610
21611 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21612 * sysdeps/m68k/bits/fenv.h: ... here.
21613 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21614 not define.
21615 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21616 Likewise.
21617 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21618 Likewise.
21619 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21620 Likewise.
21621 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21622 Likewise.
21623 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21624 Define to 0.
21625 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21626 (__FE_UNDEFINED): New enum constant.
21627 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21628 Do not define.
21629 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21630 Likewise.
21631 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21632 Likewise.
21633 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21634 to match generic bits/fenv.h.
21635 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21636 Do not define.
21637
21638 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21639 packed on bits.
21640 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21641 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21642 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21643 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21644
21645 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21646 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21647 Joseph Myers <joseph@codesourcery.com>
21648
21649 [BZ #21314]
21650 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21651 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21652 computation using c.
21653 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21654 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21655 computation using c.
21656
21657 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21658
21659 * version.h (RELEASE): Set to "development".
21660 (VERSION): Set to "2.27.9000".
21661 * NEWS (2.28): New section.
21662
21663 * version.h (RELEASE): Set to "stable".
21664 (VERSION): Set to "2.27".
21665 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21666
21667 * NEWS: Add the list of bugs fixed in 2.27.
21668
21669 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21670
21671 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21672 against PTHREAD_STACK_MIN.
21673
21674 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21675
21676 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21677 New entries.
21678 (Rafal Luzynski, Andreas Schwab): Update.
21679
21680 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
21681
21682 [BZ #10871]
21683 * NEWS: List the languages which actually use the alternative
21684 months feature in this release. Also explain that "alt_mon" and
21685 "ab_alt_mon" are optional.
21686
21687 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21688
21689 [BZ #22765]
21690 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21691
21692 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21693
21694 * manual/install.texi (Tools for Compilation): Update the newest
21695 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21696 * INSTALL: Regenerated.
21697
21698 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21699
21700 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21701 instead of __builtin_expect.
21702
21703 2018-01-30 Florian Weimer <fweimer@redhat.com>
21704
21705 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21706 data.
21707 * nss/tst-nss-getpwent.c (do_test): Likewise.
21708
21709 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
21710
21711 [BZ #10871]
21712 * localedata/locales/hr_HR (mon): Rename to...
21713 (alt_mon): This.
21714 (mon): Import from CLDR (genitive case).
21715 (d_t_fmt): Update the comment.
21716
21717 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21718
21719 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21720 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21721 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21722
21723 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21724
21725 * mach/Versions: Fix version when __mach_host_self_ was added.
21726 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21727 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21728 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21729 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21730 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21731 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21732 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21733 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21734 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21735 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21736 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21737 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21738 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21739 || to respect codestyle.
21740 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21741 (do_test_bz20181): Rename accordingly.
21742 * malloc/malloc.c: Include <assert.h>.
21743 (assert): Do not define.
21744 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21745 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21746 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21747 * sysdeps/mach/hurd/hp-timing.h: New file.
21748 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21749
21750 2018-01-29 Darius Rad <darius@bluespec.com>
21751
21752 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21753
21754 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21755
21756 * sysdeps/init_array/crti.S (.section .init_array): Add
21757 PREINIT_FUNCTION when defined.
21758 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21759 * config.h.in: Regenerate.
21760 * manual/platform.texi: Add RISC-V documenation for
21761 __riscv_flush_icache.
21762 * sysdeps/riscv/__longjmp.S: New file.
21763 * sysdeps/riscv/backtrace.c: Likewise.
21764 * sysdeps/riscv/bits/endian.h: Likewise.
21765 * sysdeps/riscv/bits/setjmp.h: Likewise.
21766 * sysdeps/riscv/bits/wordsize.h: Likewise.
21767 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21768 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21769 * sysdeps/riscv/dl-trampoline.S: Likewise.
21770 * sysdeps/riscv/gccframe.h: Likewise.
21771 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21772 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21773 * sysdeps/riscv/machine-gmon.h: Likewise.
21774 * sysdeps/riscv/memusage.h: Likewise.
21775 * sysdeps/riscv/setjmp.S: Likewise.
21776 * sysdeps/riscv/sys/asm.h: Likewise.
21777 * sysdeps/riscv/tls-macros.h: Likewise.
21778 * sysdeps/riscv/dl-tls.h: New file.
21779 * sysdeps/riscv/libc-tls.c: Likewise.
21780 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21781 * sysdeps/riscv/nptl/tls.h: Likewise.
21782 * sysdeps/riscv/stackinfo.h: Likewise.
21783 * sysdeps/riscv/bits/fenv.h: New file.
21784 * sysdeps/riscv/e_sqrtl.c: Likewise.
21785 * sysdeps/riscv/fpu_control.h: Likewise.
21786 * sysdeps/riscv/math-tests.h: Likewise.
21787 * sysdeps/riscv/nofpu/Implies: Likewise.
21788 * sysdeps/riscv/sfp-machine.h: Likewise.
21789 * sysdeps/riscv/tininess.h: Likewise.
21790 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21791 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21792 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21793 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21794 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21795 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21796 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21797 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21798 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21799 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21800 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21801 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21802 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21803 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21804 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21805 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21806 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21807 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21808 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21809 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21810 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21811 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21812 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21813 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21814 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21815 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21816 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21817 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21818 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21819 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21820 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21821 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21822 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21823 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21824 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21825 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21826 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21827 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21828 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21829 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21830 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21831 * sysdeps/riscv/rvf/math_private.h: Likewise.
21832 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21833 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21834 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21835 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21836 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21837 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21838 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21839 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21840 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21841 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21842 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21843 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21844 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21845 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21846 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21847 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
21848 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21849 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21850 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21851 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
21852 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21853 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21854 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21855 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21856 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21857 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21858 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21859 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21860 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
21861 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21862 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21863 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21864 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21865 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21866 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21867 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21868 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21869 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21870 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21871 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21872 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21873 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21874 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21875 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21876 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21877 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21878 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21879 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21880 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21881 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21882 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
21883 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21884 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21885 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
21886 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21887 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21888 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21889 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21890 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21891 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21892 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21893 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21894 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21895 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21896 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21897 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21898 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21899 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
21900 * sysdeps/riscv/Implies: New file.
21901 * sysdeps/riscv/Makefile: Likewise.
21902 * sysdeps/riscv/configure: Likewise.
21903 * sysdeps/riscv/configure.ac: Likewise.
21904 * sysdeps/riscv/nptl/Makefile: Likewise.
21905 * sysdeps/riscv/preconfigure: Likewise.
21906 * sysdeps/riscv/rv64/Implies-after: Likewise.
21907 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21908 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21909 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21910 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21911 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21912 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21913 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21914 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21915 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21916 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21917 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
21918 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21919 (Config): Likewise.
21920
21921 2018-01-29 Florian Weimer <fweimer@redhat.com>
21922
21923 [BZ #22701]
21924 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21925 libnsl_hidden_proto.
21926 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21927 libnsl_hidden_proto.
21928 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21929 * nis/Makefile (libnsl-routines): Add nss-default only for
21930 build-obsolete-nsl.
21931 * nis/nis_defaults.c (__nis_default_ttl): Add
21932 libnsl_hidden_nolink_def.
21933 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21934 declaration.
21935 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
21936 * nis/ypclnt.c (yp_maplist): Likewise.
21937
21938 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
21939
21940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21941 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
21942
21943 2018-01-29 Joseph Myers <joseph@codesourcery.com>
21944
21945 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
21946 clean -dxfq for git updates when replacing sources.
21947
21948 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21949 --disable-libcilkrts unconditionally, not just for the final GCC
21950 build for Hurd.
21951
21952 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21953 version to 4.15.
21954
21955 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21956
21957 [BZ #10871]
21958 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21959 case).
21960
21961 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21962
21963 [BZ #10871]
21964 * localedata/locales/be_BY (mon): Rename to...
21965 (alt_mon): This, then synchronize with CLDR (nominative case).
21966 (abmon): Rename to...
21967 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21968 (mon): Import from CLDR (genitive case).
21969 (abmon): Likewise.
21970 * localedata/locales/be_BY@latin (mon): Rename to...
21971 (alt_mon): This.
21972 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21973
21974 * localedata/locales/be_BY@latin (lang_name): Reworded to
21975 "biełaruskaja mova".
21976
21977 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21978
21979 [BZ #10871]
21980 * localedata/locales/el_CY (mon): Renamed to...
21981 (alt_mon): This.
21982 (mon): Import from CLDR (genitive case).
21983 * localedata/locales/el_GR: Likewise.
21984
21985 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21986
21987 [BZ #10871]
21988 * localedata/locales/ru_RU (mon): Rename to...
21989 (alt_mon): This.
21990 (abmon): Rename to...
21991 (ab_alt_mon): This.
21992 (mon): Import from CLDR (genitive case).
21993 (abmon): Copy from the old content except the 5th month which is
21994 now in the genitive case, even when abbreviated.
21995 * localedata/locales/ru_UA: Likewise.
21996 * time/tst-strptime.c (day_tests): Add an actual example of
21997 a difference between %b and %Ob in Russian.
21998
21999 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22000
22001 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22002 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22003 a `c' variable.
22004 * resolv/res-close.c: Include <stdlib.h>.
22005 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22006 <sys/wait.h>, <time.h>, <sys/uio.h>.
22007 (NOT_CANCEL_H): Add inclusion guard.
22008 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22009 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22010 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22011 return 0.
22012 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22013 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22014 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22015 instead of void *.
22016 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22017 timer_ptr2id to cast struct timer_node * to void *.
22018 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22019 --disable-libcilkrts to gcc configure.
22020 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22021 and make them the default for now.
22022 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22023 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22024 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22025 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22026 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22027 MACH_IPC_COMPAT.
22028 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22029 __task_terminate would ever return successfully.
22030 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22031 to global scope.
22032 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22033 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22034 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22035 critical section to make code simpler and avoid warning.
22036 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22037 critical section to make code simpler and avoid warning.
22038 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22039 const char * instead of char *.
22040 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22041 __hurd_file_name_split, hurd_file_name_split,
22042 __hurd_directory_name_split, hurd_directory_name_split,
22043 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22044 hurd_file_name_path_lookup): Make lookup function parameter take a
22045 const char *name instead of char *name.
22046 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22047 __hurd_directory_name_split): Likewise.
22048 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22049 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22050 * sysdeps/mach/hurd/check_native.c: New file.
22051 * sysdeps/mach/hurd/check_pf.c: New file.
22052 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22053 (__freeifaddrs): Define macro to freeifaddrs.
22054 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22055 * sysdeps/mach/libmachuser.abilist: New file.
22056 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22057 (do_test_bz20181): Rename accordingly.
22058 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22059 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22060 <sys/mount.h>.
22061 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22062 version only if __USE_EXTERN_INLINES is defined.
22063 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22064 __hurd_sockfail): Likewise.
22065 (_hurd_fd_get): Always declare functions, and provide inline versions
22066 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22067 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22068 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22069 _hurd_port_set): Always declare functions, and provide inline versions
22070 only if __USE_EXTERN_INLINES and _LIBC are defined and
22071 IS_IN(libc).
22072 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22073 _hurd_critical_section_unlock): Likewise.
22074 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22075 * __hurd_threadvar_location): Likewise.
22076 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22077 _hurd_userlink_clear): Likewise.
22078 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22079 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22080 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22081 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22082 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22083 __spin_lock_locked): Likewise.
22084 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22085 __spin_lock_locked): Likewise.
22086 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22087 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22088 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22089 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22090 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22091 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22092 _POSIX_NO_TRUNC): Define to 0.
22093 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22094 check size against PTHREAD_STACK_MIN.
22095 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22096 IS_IN(libpthread)]: Include <sigsetops.h>.
22097 * mach/Makefile (user-interfaces): Add mach/gnumach.
22098 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22099 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22100 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22101 instead of invalid -1.
22102 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22103 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22104 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22105 <net/ppp_defs.h>.
22106
22107 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22108
22109 * hurd/fcntl-internal.h: New file.
22110
22111 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22112
22113 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22114
22115 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22116
22117 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22118
22119 [BZ #22701]
22120 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22121 Build only shared objects.
22122
22123 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22124
22125 * README: Update for hppa.
22126
22127 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22128
22129 * sysdeps/sparc/fpu/libm-test-ulps: Update
22130 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22131
22132 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22133
22134 Revert:
22135
22136 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22137
22138 [BZ #22563]
22139 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22140 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22141 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22142 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22143 to feature_1.
22144
22145 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 [BZ #22563]
22148 * bits/types/__cancel_jmp_buf_tag.h: New file.
22149 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22150 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22151 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22152 * nptl/Makefile (headers): Add
22153 bits/types/__cancel_jmp_buf_tag.h.
22154 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22155 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22156 * sysdeps/nptl/pthread.h: Include
22157 <bits/types/__cancel_jmp_buf_tag.h>.
22158 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22159 __cancel_jmp_buf.
22160 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22161
22162 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
22163
22164 [BZ #10871]
22165 * localedata/locales/uk_UA (mon): Renamed to...
22166 (alt_mon): This.
22167 (alt_digits): "0" removed and then renamed to...
22168 (mon): This.
22169 (date_fmt): Definition changed not to use the alternative
22170 digits hack.
22171
22172 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22173
22174 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22175 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22176 * elf/elf.h (EF_RISCV_RVC): New define.
22177 (EF_RISCV_FLOAT_ABI): Likewise.
22178 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22179 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22180 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22181 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22182 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22183 define.
22184 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22185
22186 2018-01-25 Andreas Schwab <schwab@suse.de>
22187
22188 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22189 single quotes.
22190 * sysdeps/gnu/configure: Regenerate.
22191 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22192 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22194 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22195 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22196 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22197 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22198 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22199
22200 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22201
22202 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22203 URL, and run autoconf, make it the default for now.
22204
22205 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22206
22207 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22208 soft-float ColdFire configuration.
22209
22210 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22211 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22212 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22213
22214 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22215 MicroBlaze file.
22216
22217 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22218 ....
22219 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22220 ... here.
22221 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22222 New file.
22223
22224 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22225 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22226 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22227 file.
22228
22229 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22230
22231 [BZ #22742]
22232 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22233 Rename to __reserved and add comment.
22234 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22235 Rename to __reserved.
22236
22237 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22238
22239 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22240 i686-gnu configurations.
22241 (Context.run_builds): Include mig, gnumach and hurd in components
22242 considered.
22243 (Context.checkout): Add mig, gnumach and hurd to components.
22244 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22245 hurd.
22246 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22247 (Config.build): Install gnumach headers, build mig and install
22248 hurd headers for 'gnu' OS.
22249 (Config.install_gnumach_headers): New function.
22250 (Config.install_hurd_headers): Likewise.
22251 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22252 when building for 'gnu' OS.
22253
22254 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22255
22256 * manual/tunables.texi (Hardware Capability Tunables): Fix
22257 spelling.
22258
22259 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22260
22261 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22262 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22263 (ALTMON_11, ALTMON_12): Improve documentation.
22264 * manual/time.texi (strftime): Likewise.
22265
22266 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22267
22268 [BZ #10871]
22269 * localedata/locales/pl_PL: Alternative month names added,
22270 primary month names are genitive now.
22271 * time/tst-strptime.c (day_tests): Actually use a genitive case
22272 of a month name in Polish language.
22273
22274 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22275
22276 [BZ #10871]
22277 * manual/locale.texi: Document ALTMON_1..12 constants for
22278 nl_langinfo. Specify when to use ALTMON instead of MON.
22279 * manual/time.texi (strftime, strptime): Document GNU extension
22280 permitting O modifier with %B and %b. Specify when to use
22281 %OB instead of %B.
22282
22283 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22284
22285 [BZ #10871]
22286 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22287 names, define them as the same as abbreviated month names explicitly.
22288 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22289 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22290 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22291 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22292 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22293 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22294 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22295 _NL_WABALTMON_12): New enum constants.
22296 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22297 wab_alt_mon, and ab_alt_mon_defined members.
22298 (time_output): Output ab_alt_mon and wab_alt_mon members.
22299 (time_read): Read them, initialize them as copies of abmon and wabmon
22300 respectively if they are missing, initialize ab_alt_mon_defined.
22301 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22302 * locale/programs/locfile-kw.h: Regenerate.
22303 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22304 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22305 and ru_RU.UTF-8.
22306 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22307 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22308 (__strftime_internal): Handle %Ob and %Oh formats.
22309 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22310 (__strptime_internal): Handle %Ob and %Oh formats.
22311 * time/tst-strptime.c (day_tests): Add more tests to parse different
22312 forms of month names including the new %Ob format specifier.
22313
22314 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
22315
22316 [BZ #10871]
22317 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22318 define them as the same as primary full month names explicitly.
22319 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22320 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22321 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22322 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22323 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22324 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22325 _NL_WALTMON_12): New enum constants.
22326 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22327 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22328 macros.
22329 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22330 walt_mon, and alt_mon_defined members.
22331 (time_output): Output alt_mon and walt_mon members.
22332 (time_read): Read them, initialize them as copies of mon and wmon
22333 respectively if they are missing, initialize alt_mon_defined.
22334 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22335 * locale/programs/locfile-kw.h: Regenerate.
22336 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22337 * localedata/tst-langinfo.c (map): Add tests for the new constants
22338 ALTMON_1 .. ALTMON_12.
22339 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22340 and pl_PL.UTF-8.
22341 * time/strftime_l.c (f_altmonth): New macro.
22342 (__strftime_internal): Handle %OB format.
22343 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22344 (__strptime_internal): Handle %OB format.
22345 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22346 of month names including the new %OB format specifier.
22347
22348 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22349
22350 [BZ #22685]
22351 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22352 from ABORT_TRANSACTION.
22353 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22354 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22355 ABORT_TRANSACTION_IMPL): Likewise.
22356 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22357 Linux code, but remove the code that aborts transactions.
22358
22359 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22360
22361 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22362
22363 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
22364
22365 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22366 in date: "2004-14-09" should be "2004-09-14".
22367 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22368 "2003-15-09" should be "2003-09-15".
22369
22370 2018-01-18 Arjun Shankar <arjun@redhat.com>
22371
22372 [BZ #22343]
22373 [BZ #22774]
22374 CVE-2018-6485
22375 CVE-2018-6551
22376 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22377 after padding.
22378 (_int_memalign): check for integer overflow before calling
22379 _int_malloc.
22380 * malloc/tst-malloc-too-large.c: New test.
22381 * malloc/Makefile: Add tst-malloc-too-large.
22382
22383 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
22384
22385 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22386 in date: "2017-24-07" should be "2017-07-24".
22387 * localedata/locales/mai_IN: Likewise.
22388 * localedata/locales/mai_NP: Likewise.
22389
22390 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22391
22392 * po/ru.po: Update translations.
22393
22394 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22395
22396 [BZ #22719]
22397 * sysdeps/hppa/backtrace.c: New file.
22398
22399 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22400
22401 [BZ #22715]
22402 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22403 align La_x86_64_retval to VEC_SIZE.
22404
22405 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22406
22407 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22408 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22409
22410 2018-01-16 Florian Weimer <fweimer@redhat.com>
22411
22412 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22413 Move tst-thread-exit-clobber ...
22414 [$(CXX)] (tests-unsupported): ... to here.
22415
22416 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22417
22418 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22419 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22420 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22421 (_dl_aarch64_cap_flags): Update.
22422 (_DL_HWCAP_COUNT): Update.
22423
22424 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22425
22426 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22427 (_DL_HWCAP_LAST): Remove.
22428 (_DL_HWCAP_COUNT): Move to ...
22429 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22430 (_DL_HWCAP_COUNT): ... here.
22431
22432 2018-01-16 Florian Weimer <fweimer@redhat.com>
22433
22434 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22435 mode with GNU extensions.
22436
22437 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22438
22439 * elf/elf.h (NT_ARM_SVE): Define.
22440
22441 2018-01-15 Florian Weimer <fweimer@redhat.com>
22442
22443 [BZ #22636]
22444 * nptl/tst-minstack-throw.cc: New file.
22445 * nptl/Makefile (tests): Add tst-minstack-throw.
22446 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22447 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22448
22449 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22450
22451 * scripts/build-many-glibcs.py (Context.checkout): Default
22452 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22453 version to 1.1.0.
22454
22455 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22456
22457 [BZ #22707]
22458 * elf/elf.h (DF_1_STUB): Define.
22459 (DF_1_PIE): Define.
22460
22461 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22462
22463 [BZ #22697]
22464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22465 Do not add 0.5 to integer or out-of-range arguments.
22466
22467 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22468
22469 * po/bg.po: Update translations.
22470 * po/cs.po: Likewise.
22471 * po/de.po: Likewise.
22472 * po/ko.po: Likewise.
22473 * po/pl.po: Likewise.
22474 * po/sv.po: Likewise.
22475 * po/uk.po: Likewise.
22476 * po/vi.po: Likewise.
22477
22478 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22479
22480 * aarch64/start.S (_start): Use __wrap_main.
22481 (__wrap_main): New local symbol.
22482
22483 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22484
22485 [BZ #22679]
22486 CVE-2018-1000001
22487 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22488 generic_getcwd if the path returned by getcwd syscall is not absolute.
22489 * io/tst-getcwd-abspath.c: New test.
22490 * io/Makefile (tests): Add tst-getcwd-abspath.
22491
22492 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22493
22494 * malloc/malloc.c (malloc_consolidate): Add size check.
22495
22496 2018-01-12 Florian Weimer <fweimer@redhat.com>
22497
22498 * support/write_message.c (write_message): Preserve errno.
22499 * support/check.c (print_failure): Likewise.
22500 * support/support_test_verify_impl.c (support_test_verify_impl):
22501 Likewise.
22502 * support/support_test_compare_failure.c
22503 (support_test_compare_failure): Likewise.
22504
22505 2018-01-12 Florian Weimer <fweimer@redhat.com>
22506
22507 [BZ #22701]
22508 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22509 Prevent installation of libnsl.so.
22510 (libnsl-inhibit-o): Do not build (or install) static libraries.
22511
22512 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22513
22514 [BZ #22657]
22515 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22516 before the day number which may produce a double space.
22517 (date_fmt): Likewise.
22518
22519 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22520
22521 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22522 instead of fegetenv.
22523
22524 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22525
22526 [BZ #22702]
22527 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22528 comment to say exceptions are discarded.
22529 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22530 __fegetenv.
22531 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22532 be enabled.
22533
22534 2018-01-11 Florian Weimer <fweimer@redhat.com>
22535
22536 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22537 and error message.
22538
22539 2018-01-11 Florian Weimer <fweimer@redhat.com>
22540
22541 [BZ #22636]
22542 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22543 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22544
22545 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22546
22547 [BZ #22693]
22548 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22549 negative arguments in test for NaN or infinity argument.
22550
22551 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22552
22553 * po/libc.pot: Regenerate.
22554
22555 2018-01-10 Florian Weimer <fweimer@redhat.com>
22556
22557 [BZ #22636]
22558 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22559 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22560
22561 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22562
22563 * hurd/hurd/fd.h: Include <fcntl.h>
22564 (__hurd_at_flags): New function.
22565 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22566 with call to __hurd_at_flags.
22567 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22568 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22569 __faccessat
22570 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22571 (__access_noerrno): Use __faccessat_common instead of access_common.
22572 (__access): Likewise.
22573 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22574 with a call to __faccessat.
22575 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22576 (__faccessat_common): ... this. Move implementation of __access into it when
22577 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22578 reauthenticate_cwdir_at helper to implement AT mechanism.
22579 (__faccessat_noerrno): New function, just calls __faccessat_common.
22580 (__faccessat): New function, just calls __faccessat_common.
22581 (faccessat): Define weak alias.
22582
22583 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22584
22585 [BZ #22691]
22586 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22587 (CFLAGS-s_fmaxmagl.c): New variable.
22588 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22589
22590 [BZ #22690]
22591 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22592 long int for arguments of possibly overflowing addition or
22593 subtraction.
22594 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22595
22596 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22597
22598 [BZ #22688]
22599 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22600 (CFLAGS-e_remainderl.c): New variable.
22601
22602 [BZ #22687]
22603 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22604 variable.
22605 (CFLAGS-s_cacoshl.c): Likewise.
22606 (CFLAGS-s_casinhl.c): Likewise.
22607 (CFLAGS-s_catanl.c): Likewise.
22608 (CFLAGS-s_catanhl.c): Likewise.
22609 (CFLAGS-s_cexpl.c): Likewise.
22610 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22611 (CFLAGS-s_csinhl.c): Likewise.
22612 (CFLAGS-s_clogl.c): Likewise.
22613 (CFLAGS-s_clog10l.c): Likewise.
22614 (CFLAGS-s_csinl.c): Likewise.
22615 (CFLAGS-s_csqrtl.c): Likewise.
22616
22617 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22618 2017-01-09 Svante Signell <svante.signell@gmail.com>
22619
22620 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22621 (_hurd_exec_paths): New function.
22622 * hurd/hurd.h (_hurd_exec): Deprecate function.
22623 (_hurd_exec_paths): Declare function.
22624 * hurd/Versions: Export _hurd_exec_paths.
22625 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22626 (__execve): Use __getcwd to build absolute path, and use
22627 _hurd_exec_paths instead of _hurd_exec.
22628 * sysdeps/mach/hurd/spawni.c: Likewise.
22629 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22630 _hurd_exec.
22631
22632 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22633
22634 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22635 test instead of failing in case of ENOENT returned by posix_openpt.
22636
22637 2018-01-08 Florian Weimer <fweimer@redhat.com>
22638
22639 resolv: Support binary labels in test framework.
22640 * support/resolv_test.c (struct to_be_freed): Remove.
22641 (struct compressed_name): New.
22642 (allocate_compressed_name, ascii_tolower)
22643 (compare_compressed_name): New functions.
22644 (struct resolv_response_builder): Update type of
22645 compression_offsets for use with tsearch. Rempve to_be_freed.
22646 (response_push_pointer_to_free): Remove function.
22647 (resolv_response_add_name): Rewrite using struct compressed_name
22648 and tsearch instead of hsearch_r.
22649 (response_builder_allocate): Remove initialization of
22650 compression_offsets.
22651 (response_builder_free): Update for removal of to_be_freed. Use
22652 tdestroy instead of hdestroy_r.
22653 * resolv/Makefile (tests): Add tst-resolv-binary.
22654 (tst-resolv-binary): Link with -lresolv -lpthread.
22655
22656 2018-01-08 Florian Weimer <fweimer@redhat.com>
22657
22658 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22659 time. Pass positive flag instead of negative flag to
22660 support_test_compare_failure.
22661 (support_test_compare_failure): Change negative parameter to
22662 positive.
22663 * support/support_test_compare_failure.c (report)
22664 (support_test_compare_failure): Likewise.
22665 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22666 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22667
22668 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22669
22670 [BZ #22637]
22671 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22672 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22673 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22674 stacksize.
22675 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22676
22677 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22678
22679 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22680 Add s_sincosf-sse2 and s_sincosf-fma.
22681 (CFLAGS-s_sincosf-fma.c): New.
22682 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22683 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22684 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22685 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22686 __sincosf is defined.
22687
22688 2018-01-08 Florian Weimer <fweimer@redhat.com>
22689
22690 * nptl/tst-thread-exit-clobber.cc: New file.
22691 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22692 C++11 mode.
22693 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22694 (tests): Add tst-thread-exit-clobber.
22695 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22696
22697 2018-01-08 Florian Weimer <fweimer@redhat.com>
22698
22699 * support/check.h (support_static_assert): Define.
22700 (TEST_COMPARE): Use it.
22701
22702 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22703
22704 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22705 [!__RLIM_T_MATCHES_RLIM64_T]
22706 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22707 __getrlimit64. Add libc_hidden_weak.
22708
22709 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22710
22711 * elf/elf.h (R_RISCV_NONE): New define.
22712 (R_RISCV_32): Likewise.
22713 (R_RISCV_64): Likewise.
22714 (R_RISCV_RELATIVE): Likewise.
22715 (R_RISCV_COPY): Likewise.
22716 (R_RISCV_JUMP_SLOT): Likewise.
22717 (R_RISCV_TLS_DTPMOD32): Likewise.
22718 (R_RISCV_TLS_DTPMOD64): Likewise.
22719 (R_RISCV_TLS_DTPREL32): Likewise.
22720 (R_RISCV_TLS_DTPREL64): Likewise.
22721 (R_RISCV_TLS_TPREL32): Likewise.
22722 (R_RISCV_TLS_TPREL64): Likewise.
22723 * Makerules (make-link-multidir): Make directories before linking into
22724 them.
22725 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22726 define.
22727 (VDSO_HASH_LINUX_4_15): Likewise.
22728 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22729 in subdirectories of lib.
22730 * nptl/Makefile (/librt.so): Always depend on
22731 "$(shared-thread-library)".
22732
22733 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22734
22735 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22736 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22737 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22738 (___tls_get_addr).
22739 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22740 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22741 "-O2 -march=i686".
22742 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22743 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22744 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22745 * sysdeps/gnu/glob-lstat-compat.c: New file.
22746 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22747 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22748
22749 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22750
22751 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22752 Reserve 16 chars to reloc_addr before calling _itoa_word.
22753
22754 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22755
22756 [BZ #22678]
22757 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22758 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22759
22760 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22761 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22762
22763 * resource/tst-getrlimit.c: Add copyright header.
22764
22765 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22766 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22767
22768 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22769 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22770 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22771 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22772 instead.
22773 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22774 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22775 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22776 RLIM64_INFINITY): Fix values to match the kernel ones.
22777 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22778 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22779 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22780 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22781 getrlimit64@@GLIBC_2_27.
22782 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22783 and setrlimit64.
22784 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22785 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22786 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22787 setrlimit, getrlimit64 and setrlimit64.
22788
22789 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22790
22791 [BZ #22648]
22792 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22793 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22794
22795 2018-01-04 Joseph Myers <joseph@codesourcery.com>
22796
22797 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22798 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22799 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22800
22801 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22802
22803 [BZ #15479]
22804 [BZ #22666]
22805 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22806 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22807
22808 [BZ #15479]
22809 [BZ #22665]
22810 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22811 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22812 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22813 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22814
22815 2018-01-04 Florian Weimer <fweimer@redhat.com>
22816
22817 [BZ #22667]
22818 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22819 Align the stack before calling exit.
22820 * stdlib/tst-makecontext-align.c: New file.
22821 * stdlib/Makefile (tests): Add tst-makecontext-align.
22822
22823 2018-01-04 Florian Weimer <fweimer@redhat.com>
22824
22825 Add support for calling dlvsym from libc.so.
22826 * include/dlfcn.h (__libc_dlvsym): Declare.
22827 * elf/Makefile (tests-static-internal): Add
22828 tst-libc_dlvsym-static.
22829 (tests-internal): Add tst-libc_dlvsym.
22830 (modules-names): Add tst-libc_dlvsym-dso.
22831 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22832 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22833 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22834 object tst-libc_dlvsym-dso.so needs to be built before running
22835 these tests.
22836 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22837 * elf/Versions: Export __libc_dlvsym.
22838 * elf/dl-libc.c (struct do_dlvsym_args): New.
22839 (do_dlvsym, __libc_dlvsym): New functions.
22840 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22841 (_dl_open_hook2): New variable.
22842 (__libc_register_dl_open_hook): Set it.
22843 * elf/tst-libc_dlvsym-dso.c: New file.
22844 * elf/tst-libc_dlvsym-static.c: Likewise.
22845 * elf/tst-libc_dlvsym.c: Likewise.
22846 * elf/tst-libc_dlvsym.h: Likewise.
22847
22848 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22849
22850 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22851 include <sys/mount.h>.
22852
22853 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22854
22855 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22856 Add __NO_MATH_ERRNO__ check.
22857
22858 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22859
22860 * sysdeps/mips/mips32/libm-test-ulps: Update.
22861 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22862
22863 2018-01-02 Florian Weimer <fweimer@redhat.com>
22864
22865 * misc/tst-pselect.c: Add copyright header.
22866
22867 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22868
22869 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22870 comment.
22871 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22872 comment.
22873 (settrlimit): Rename into setrlimit.
22874 (__sttrlimit): Rename into __setrlimit.
22875
22876 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22877 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22878 never defined in that case.
22879
22880 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22881
22882 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22883
22884 * sysdeps/arm/libm-test-ulps: Update.
22885
22886 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22887 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22888
22889 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22890
22891 * NEWS: Add cosf and sincosf to list of optimized functions.
22892
22893 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22894
22895 [BZ #22660]
22896 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22897 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22898 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22899 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22900
22901 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22902
22903 [BZ #22433]
22904 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22905
22906 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22907 making a copy of it.
22908
22909 2018-01-01 Joseph Myers <joseph@codesourcery.com>
22910
22911 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22912 trailing whitespace removed.
22913 * scripts/config.guess: Update to version 2018-01-01.
22914 * scripts/config.sub: Update to version 2018-01-01.
22915 * scripts/move-if-change: Update from gnulib.
22916
22917 * NEWS: Update copyright dates.
22918 * catgets/gencat.c (print_version): Likewise.
22919 * csu/version.c (banner): Likewise.
22920 * debug/catchsegv.sh: Likewise.
22921 * debug/pcprofiledump.c (print_version): Likewise.
22922 * debug/xtrace.sh (do_version): Likewise.
22923 * elf/ldconfig.c (print_version): Likewise.
22924 * elf/ldd.bash.in: Likewise.
22925 * elf/pldd.c (print_version): Likewise.
22926 * elf/sotruss.sh: Likewise.
22927 * elf/sprof.c (print_version): Likewise.
22928 * iconv/iconv_prog.c (print_version): Likewise.
22929 * iconv/iconvconfig.c (print_version): Likewise.
22930 * locale/programs/locale.c (print_version): Likewise.
22931 * locale/programs/localedef.c (print_version): Likewise.
22932 * login/programs/pt_chown.c (print_version): Likewise.
22933 * malloc/memusage.sh (do_version): Likewise.
22934 * malloc/memusagestat.c (print_version): Likewise.
22935 * malloc/mtrace.pl: Likewise.
22936 * manual/libc.texinfo: Likewise.
22937 * nptl/version.c (banner): Likewise.
22938 * nscd/nscd.c (print_version): Likewise.
22939 * nss/getent.c (print_version): Likewise.
22940 * nss/makedb.c (print_version): Likewise.
22941 * posix/getconf.c (main): Likewise.
22942 * scripts/test-installation.pl: Likewise.
22943 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22944
22945 * All files with FSF copyright notices: Update copyright dates
22946 using scripts/update-copyrights.
22947 * locale/programs/charmap-kw.h: Regenerated.
22948 * locale/programs/locfile-kw.h: Likewise.
22949
22950 2017-12-31 Zack Weinberg <zackw@panix.com>
22951
22952 * libio/bits/libio-ldbl.h: Correct check for improper
22953 inclusion. Add own multiple include guard.
22954
22955 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22956 Dmitry V. Levin <ldv@altlinux.org>
22957
22958 [BZ #22625]
22959 CVE-2017-16997
22960 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22961 string token expansion. Check for NULL pointer or empty string possibly
22962 returned by expand_dynamic_string_token.
22963 (decompose_rpath): Check for empty path after dynamic string
22964 token expansion.
22965
22966 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22967
22968 [BZ #22433]
22969 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22970
22971 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22972 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22973 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22974 and PTRACE_SYSCALL.
22975 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22976 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22977 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22978 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22979 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22980 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22981
22982 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22983 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22984 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22985 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22987 bits/ptrace-shared.h.
22988 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22989 <bits/ptrace-shared.h>.
22990 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22991 __ptrace_peeksiginfo_flags, ptrace): Remove.
22992 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22995 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22996 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22997
22998 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22999
23000 [BZ #17804]
23001 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23002 end of the loop. Improve comments.
23003
23004 2017-12-29 Zack Weinberg <zackw@panix.com>
23005
23006 [BZ #22615]
23007 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23008 might be set on success.
23009
23010 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23011
23012 [BZ #22611]
23013 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23014 is unchanged on success.
23015
23016 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23017
23018 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23019 updated.
23020 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23021 expand_dynamic_string_token): Likewise.
23022 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23023 is_path argument.
23024
23025 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23026 contains ':'.
23027
23028 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23029 is set and name contains ':', and all code depending on these checks.
23030
23031 2017-12-24 Zack Weinberg <zackw@panix.com>
23032
23033 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23034 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23035 respectively.
23036 * libio/libio.h: Rename the original version of this file to
23037 libio/bits/libio.h. Error out if not included by stdio.h or the
23038 stub libio.h.
23039 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23040 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23041 if not included by bits/libio.h or the stub _G_config.h.
23042 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23043 sysdeps/unix/sysv/linux/bits. Error out if not included by
23044 bits/libio.h or the stub _G_config.h.
23045 * libio/stdio.h: Include bits/libio.h, not libio.h.
23046 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23047 well as libio.h and _G_config.h.
23048
23049 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23050 * libio/strfile.h, stdio-common/vfscanf.c
23051 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23052 Include stdio.h, not _G_config.h nor libio.h.
23053 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23054 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23055
23056 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23057
23058 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23059
23060 [BZ #22347]
23061 * stdlib/getrandom.c (getrandom): Fix comment.
23062 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23063
23064 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23065
23066 [BZ #21161]
23067 * manual/arith.texi (strtoul): Fix a typo.
23068
23069 [BZ #22596]
23070 * manual/arith.texi (finite): Fix the description of the return
23071 value.
23072
23073 2017-12-22 Eric Blake <ebb9@byu.net>
23074
23075 Avoid gcc warnings on cygwin
23076 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23077 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23078 Avoid unused variable.
23079
23080 2017-12-22 Florian Weimer <fweimer@redhat.com>
23081
23082 * io/Makefile (routines): Add copy_file_range.
23083 (tests): Add tst-copy_file_range.
23084 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23085 * io/Versions (GLIBC_2.27): Export copy_file_range.
23086 * io/copy_file_range-compat.c: New file.
23087 * io/copy_file_range.c: Likewise.
23088 * io/tst-copy_file_range-compat.c: Likewise.
23089 * io/tst-copy_file_range.c: Likewise.
23090 * manual/llio.texi (Copying File Data): New section.
23091 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23092 * support/Makefile (libsupport-routines): Add support-xfstat,
23093 xftruncate, xlseek.
23094 * support/support-xfstat.c: New file.
23095 * support/xftruncate.c: Likewise.
23096 * support/xlseek.c: Likewise.
23097 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23098 * sysdeps/unix/sysv/linux/**.abilist: Update.
23099 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23100
23101 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23102
23103 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23104 disable-multi-arch variant to aarch64-linux-gnu.
23105
23106 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23107
23108 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23109 trailing whitespace removed.
23110 * scripts/config.guess: Update to version 2017-12-17.
23111 * scripts/config.sub: Update to version 2017-11-23.
23112 * scripts/install-sh: Update to version 2017-09-23.17.
23113 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23114
23115 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23116
23117 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23118 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23119 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23120 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23121 * sysdeps/tile/crtn.S: Likewise.
23122 * sysdeps/tile/dl-start.S (_start): Likewise.
23123 * sysdeps/tile/dl-trampoline.S: Likewise.
23124 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23125 * sysdeps/tile/start.S (_start): Likewise.
23126 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23127 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23128 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23129 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23130 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23131 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23132 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23133
23134 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23135 comment.
23136 * sysdeps/tile/preconfigure: Remove tilegx folder.
23137 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23138 * sysdeps/tile/Implies: ... here.
23139 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23140 * sysdeps/tile/Makefile: ... here.
23141 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23142 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23143 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23144 * sysdeps/tile/bits/wordsize.h: ... here.
23145 * sysdeps/tile/tilegx/*: Move to ...
23146 * sysdeps/tile/*: ... here.
23147 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23148 * sysdeps/tile/tilegx32/Implies: ... here.
23149 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23150 * sysdeps/tile/tilegx64/Implies: ... here.
23151 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23152 to ...
23153 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23154 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23155 * sysdeps/unix/sysv/linux/tile/*: ... here.
23156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23157 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23159 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23160
23161 * README: Remove tilepro-*-linux-gnu from supported architecture.
23162 * scripts/build-many-glibcs.py: Likewise.
23163 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23164 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23165 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23166 elf_machine_matches_host, elf_machine_dynamic,
23167 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23168 howto, elf_machine_rela): Likewise.
23169 * sysdeps/tile/dl-start.S (_start): Likewise.
23170 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23171 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23172 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23173 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23174 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23175 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23176 Likewise.
23177 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23178 * sysdeps/tile/preconfigure: Likewise.
23179 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23180 POINTER_CHK_GUARD): Likewise.
23181 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23182 * sysdeps/tile/start.S (_start): Likewise.
23183 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23184 Likewise.
23185 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23186 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23187 CMOVNEZ): Remove.
23188 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23189 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23190 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23191 Likewise.
23192 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23193 * sysdeps/tile/tilepro/Implies: Remove file.
23194 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23195 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23196 * sysdeps/tile/tilepro/memchr.c: Likewise.
23197 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23198 * sysdeps/tile/tilepro/memset.c: Likewise.
23199 * sysdeps/tile/tilepro/memusage.h: Likewise.
23200 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23201 * sysdeps/tile/tilepro/strchr.c: Likewise.
23202 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23203 * sysdeps/tile/tilepro/strlen.c: Likewise.
23204 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23205 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23206 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23207 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23208 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23209 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23210 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23211 Likewise.
23212 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23213 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23214 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23215 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23216 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23217 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23218 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23219 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23220 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23221 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23222 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23223 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23224 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23225 tilepro mention in comment.
23226
23227 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23228 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23229 * nptl/pthread_join_common.c: New file: common function used on
23230 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23231 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23232 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23233 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23234 (cleanup): Move definition to pthread_join_common.c.
23235 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23236 Remove superflous checks.
23237 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23238 Likewise.
23239
23240 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23241
23242 * sysdeps/aarch64/libm-test-ulps: Update.
23243
23244 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23245
23246 * sysdeps/aarch64/memset.S (MEMSET): Define.
23247
23248 2017-12-20 Florian Weimer <fweimer@redhat.com>
23249
23250 [BZ #22635]
23251 nptl: Provide full implementation of pthread_self in libc.so.
23252 * nptl/Makefile (routines): Add pthread_self.
23253 (libpthread-routines): Replace pthread_self with
23254 compat-pthread_self.
23255 * nptl/forward.c (pthread_self): Remove.
23256 * nptl/nptl-init.c (pthread_functions): Do not initialize
23257 ptr_pthread_self.
23258 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23259 * nptl/compat-pthread_self.c: New file.
23260 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23261 Remove ptr_pthread_self.
23262
23263 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23264
23265 * posix/regcomp.c: Fix spelling in comments.
23266 * posix/regex.h: Likewise.
23267 * posix/regex_internal.c: Likewise.
23268 * posix/regexec.c: Likewise.
23269
23270 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23271
23272 [BZ #22377]
23273 * math/Makefile [C++] (tests): Add test for iseqsig.
23274 * math/math.h [C++] (iseqsig): New implementation, which does
23275 not rely on __MATH_TG/__builtin_types_compatible_p.
23276 * math/test-math-iseqsig.cc: New file.
23277 * sysdeps/powerpc/powerpc64le/Makefile
23278 (CFLAGS-test-math-iseqsig.cc): New variable.
23279
23280 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23281
23282 * elf/dl-load.c (is_trusted_path): Remove.
23283 (fillin_rpath): Remove check_trusted argument and its use,
23284 all callers changed.
23285
23286 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23287
23288 [BZ #22630]
23289 * Makeconfig (link-pie-before-libc): Replace -pie with
23290 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23291 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23292 (tst-dlopen-aout-no-pie): New.
23293 (LDFLAGS-tst-prelink): Removed.
23294 (tst-prelink-no-pie): New.
23295 (LDFLAGS-tst-main1): Removed.
23296 (tst-main1-no-pie): New.
23297 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23298 (tst-gmon-no-pie): New.
23299
23300 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23301
23302 * manual/install.texi: Document that --enable-static-pie
23303 implies PIE.
23304 * INSTALL: Regenerated.
23305
23306 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23307
23308 [BZ #21309]
23309 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23310 unsigned.
23311
23312 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23313
23314 Revert:
23315
23316 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23317
23318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23319
23320 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23321
23322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23323 <errno.h>. Include "eexp.tbl".
23324 (half): New constant.
23325 (one): Likewise.
23326 (__ieee754_exp): Rewrite.
23327 (__slowexp): Remove prototype.
23328 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23329 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23330 * sysdeps/i386/fpu/slowexp.c: Likewise.
23331 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23332 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23333 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23336 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23337 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23338 comment.
23339 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23340 (CPPFLAGS-slowexp.c): Remove variable.
23341 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23342 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23343 (CFLAGS-slowexp-fma.c): Remove variable.
23344 (CFLAGS-slowexp-fma4.c): Likewise.
23345 (CFLAGS-slowexp-avx.c): Likewise.
23346 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23347 define as macro.
23348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23349 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23350 * math/Makefile (type-double-routines): Remove slowexp.
23351 * manual/probes.texi (slowexp_p6): Remove.
23352 (slowexp_p32): Likewise.
23353
23354 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23355
23356 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23357 arithmetic.
23358
23359 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23360
23361 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23362
23363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23364
23365 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23366
23367 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23368 <errno.h>. Include "eexp.tbl".
23369 (half): New constant.
23370 (one): Likewise.
23371 (__ieee754_exp): Rewrite.
23372 (__slowexp): Remove prototype.
23373 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23374 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23375 * sysdeps/i386/fpu/slowexp.c: Likewise.
23376 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23377 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23378 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23380 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23381 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23382 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23383 comment.
23384 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23385 (CPPFLAGS-slowexp.c): Remove variable.
23386 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23387 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23388 (CFLAGS-slowexp-fma.c): Remove variable.
23389 (CFLAGS-slowexp-fma4.c): Likewise.
23390 (CFLAGS-slowexp-avx.c): Likewise.
23391 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23392 define as macro.
23393 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23394 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23395 * math/Makefile (type-double-routines): Remove slowexp.
23396 * manual/probes.texi (slowexp_p6): Remove.
23397 (slowexp_p32): Likewise.
23398
23399 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23400 James Clarke <jrtc27@jrtc27.com>
23401
23402 [BZ #22603]
23403 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23404 addition.
23405
23406 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23407
23408 [BZ #22605]
23409 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23410 code.
23411
23412 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23413
23414 [BZ #22563]
23415 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23416 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23417 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23418 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23419 to feature_1.
23420
23421 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23422
23423 [BZ #22563]
23424 * bits/types/__cancel_jmp_buf_tag.h: New file.
23425 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23426 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23427 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23428 * nptl/Makefile (headers): Add
23429 bits/types/__cancel_jmp_buf_tag.h.
23430 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23431 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23432 * sysdeps/nptl/pthread.h: Include
23433 <bits/types/__cancel_jmp_buf_tag.h>.
23434 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23435 __cancel_jmp_buf.
23436 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23437
23438 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23441 --enable-static-pie variants to x86_64, x32 and i686.
23442
23443 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23444
23445 [BZ #22631]
23446 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23447 argument for attrubutes. All callers changed.
23448 (__inline_mathop1): Likewise. All callers changed.
23449 (__inline_mathop): Likewise. All callers changed.
23450 [__USE_MISC] (scalbn): Use __inline_forward instead of
23451 __inline_forward_c.
23452 [__USE_ISOC99] (scalbln): Likewise.
23453 [__USE_ISOC99] (nearbyint): Likewise.
23454 [__USE_ISOC99] (lrint): Likewise.
23455 [__USE_MISC] (scalbnf): Likewise.
23456 [__USE_ISOC99] (scalblnf): Likewise.
23457 [__USE_ISOC99] (nearbyintf): Likewise.
23458 [__USE_ISOC99] (lrintf): Likewise.
23459 [__USE_MISC] (scalbnl): Likewise.
23460 [__USE_ISOC99] (scalblnl): Likewise.
23461 [__USE_ISOC99] (nearbyintl): Likewise.
23462 [__USE_ISOC99] (lrintl): Likewise.
23463 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23464 __inline_mathop and __m81_defun changed.
23465
23466 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23467 CPU or FPU for ARM hard-float configurations.
23468
23469 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23470
23471 * nptl/tst-attr3.c: Include <libc-diag.h>.
23472 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23473
23474 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23475
23476 * string/tester.c (test_strncat): Also disable -Warray-bounds
23477 warnings for two tests.
23478
23479 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23480
23481 [BZ #22614]
23482 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23483 $(cc-pie-default) == yes.
23484 * config.make.in (cc-pie-default): New.
23485 * configure.ac (libc_cv_pie_default): Renamed to ...
23486 (libc_cv_cc_pie_default): This.
23487 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23488 * configure: Regenerated.
23489
23490 2017-12-18 Florian Weimer <fweimer@redhat.com>
23491
23492 [BZ #20204]
23493 ld.so: Harden dl-libc/libdl hooks.
23494 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23495 (rtld_active): New function.
23496 * dlfcn/dladdr.c (__dladdr): Call it.
23497 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23498 * dlfcn/dlclose.c (__dlcose): Likewise.
23499 * dlfcn/dlerror.c (__dlerror): Likewise.
23500 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23501 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23502 * dlfcn/dlopen.c (__dlopen): Likewise.
23503 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23504 * dlfcn/dlsym.c (__dlsym): Likewise.
23505 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23506 * libio/vtables.c (_IO_vtable_check): Likewise.
23507 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23508 (__libc_dlclose): Likewise.
23509 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23510 assignment.
23511
23512 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23513
23514 [BZ #22446]
23515 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23516 buffers for readlink input and output.
23517
23518 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23519
23520 [BZ #22624]
23521 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23522 inhibit_stack_protector.
23523
23524 [BZ #22624]
23525 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23526 inhibit_stack_protector.
23527
23528 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23529
23530 [BZ #22627]
23531 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23532 code and invocation.
23533
23534 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23535
23536 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23537
23538 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23539
23540 [BZ #22505]
23541 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23542
23543 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23544
23545 * sysdeps/s390/fpu/libm-test-ulps: Update.
23546
23547 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23548
23549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23550
23551 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23552
23553 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23554 constants to s_sincosf.h file.
23555 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23556 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23557 implementation.
23558 * sysdeps/ieee754/flt-32/s_sincosf.h:
23559 New file.
23560
23561 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23562
23563 [BZ #14681]
23564 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23565 before mtrace.
23566
23567 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23568
23569 [BZ #19574]
23570 * INSTALL: Regenerated.
23571 * Makeconfig (real-static-start-installed-name): New.
23572 (pic-default): Updated for --enable-static-pie.
23573 (pie-default): New for --enable-static-pie.
23574 (default-pie-ldflag): Likewise.
23575 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23576 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23577 Replace $(static-start-installed-name) with
23578 $(real-static-start-installed-name).
23579 (+prectorT): Updated for --enable-static-pie.
23580 (+postctorT): Likewise.
23581 (CFLAGS-.o): Add $(pie-default).
23582 (CFLAGS-.op): Likewise.
23583 * NEWS: Mention --enable-static-pie.
23584 * config.h.in (ENABLE_STATIC_PIE): New.
23585 * configure.ac (--enable-static-pie): New configure option.
23586 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23587 (have-static-pie): Likewise.
23588 Enable static PIE if linker supports --no-dynamic-linker.
23589 (ENABLE_STATIC_PIE): New AC_DEFINE.
23590 (enable-static-pie): New LIBC_CONFIG_VAR.
23591 * configure: Regenerated.
23592 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23593 gr$(start-installed-name) for --enable-static-pie.
23594 (extra-objs): Likewise.
23595 (install-lib): Likewise.
23596 (extra-objs): Add static-reloc.o and static-reloc.os
23597 ($(objpfx)$(start-installed-name)): Also depend on
23598 $(objpfx)static-reloc.o.
23599 ($(objpfx)r$(start-installed-name)): New.
23600 ($(objpfx)g$(start-installed-name)): Also depend on
23601 $(objpfx)static-reloc.os.
23602 ($(objpfx)gr$(start-installed-name)): New.
23603 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23604 in libc.a.
23605 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23606 initimage.
23607 * csu/static-reloc.c: New file.
23608 * elf/Makefile (routines): Add dl-reloc-static-pie.
23609 (elide-routines.os): Likewise.
23610 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23611 (tst-tls1-static-non-pie-no-pie): New.
23612 * elf/dl-reloc-static-pie.c: New file.
23613 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23614 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23615 STATIC_PIE_BOOTSTRAP.
23616 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23617 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23618 (tests-static): Likewise.
23619 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23620 (tst-gmon-static-no-pie): New.
23621 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23622 (CRT-tst-gmon-static-pie): Likewise.
23623 (tst-gmon-static-pie-ENV): Likewise.
23624 (tests-special): Likewise.
23625 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23626 (clean-tst-gmon-static-pie-data): Likewise.
23627 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23628 * gmon/tst-gmon-static-pie.c: New file.
23629 * manual/install.texi: Document --enable-static-pie.
23630 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23631 (_dl_get_dl_main_map): Likewise.
23632 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23633 * sysdeps/x86_64/configure.ac: Likewise.
23634 * sysdeps/i386/configure: Regenerated.
23635 * sysdeps/x86_64/configure: Likewise.
23636 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23637 (ASFLAGS-.op): Likewise.
23638
23639 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23640
23641 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23642 * posix/tst-mmap-offset.c (fname): Use /tmp.
23643 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23644
23645 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23646
23647 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23648
23649 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23650
23651 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23652 errno.
23653
23654 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23655
23656 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23657 --with-float=hard for arm-linux-gnueabihf configurations.
23658
23659 [BZ #14121]
23660 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23661 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23662 ($(mo-installed)): Use $(objpfx)%.mo.
23663 (realclean): Remove rule.
23664
23665 * po/Makefile (linguas): Remove rule and dependencies.
23666 (linguas.mo): Likewise.
23667 (.PHONY): Do not depend on linguas and linguas.mo.
23668 (podir): Remove variable.
23669 (pofiles): Likewise.
23670 [$(pofiles)] (%.po): Remove rule.
23671
23672 * sysdeps/sparc/sparc32/Makefile
23673 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23674 start-of-line whitespace in argument of echo.
23675 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23676 with whitespace. Generate __wrap_.udiv alias.
23677 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23678 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23679 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23680 * sysdeps/sparc/sparc32/urem.S: Likewise.
23681
23682 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23683
23684 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23685 for aligned inputs.
23686
23687 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23688
23689 * benchtests/bench-strcmp.c: Print output in JSON format.
23690
23691 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23692
23693 2017-12-14 Florian Weimer <fweimer@redhat.com>
23694
23695 [BZ #22607]
23696 CVE-2017-1000409
23697 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23698 the expanded path string.
23699
23700 2017-12-14 Florian Weimer <fweimer@redhat.com>
23701
23702 [BZ #22606]
23703 CVE-2017-1000408
23704 * elf/dl-load.c (system_dirs): Update comment.
23705 (nsystem_dirs_len): Use array_length.
23706 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23707
23708 2017-12-14 Florian Weimer <fweimer@redhat.com>
23709
23710 Simplify compiling most of support/ outside of glibc.
23711 * support/check_addrinfo.c: Include <string.h>.
23712 * support/check_dns_packet.c: Likewise.
23713 * support/check_hostent.c: Likewise.
23714 * support/support_can_chroot.c: Include <support/xunistd.h>.
23715 * support/support_format_addrinfo.c: Include <stdlib.h>
23716 * support/support_format_dns_packet.c: Include <stdbool.h>.
23717 * support/support_format_hostent.c: Include <stdlib.h>.
23718 * support/support_format_netent.c: Likewise.
23719 * support/support_write_string.c: Include <support/xunistd.h>.
23720 * support/xdlfcn.c: Include <stddef.h>.
23721
23722 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23723
23724 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23725
23726 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23727 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23728
23729 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23730 (sysdeps_routines): Add memset-niagara7.
23731 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23732 Likewise.
23733 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23734 file.
23735 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23736 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23737 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23738 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23739 Add niagara7 option.
23740 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23741 memset.
23742
23743 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23744 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23745 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23746 Likewise.
23747 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23748 New file.
23749 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23750 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23751 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23752 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23753 and __memmove_niagara7.
23754 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23755 Add niagara7 option.
23756 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23757 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23758 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23759 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23760 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23761
23762 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23763
23764 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23765 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23766 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23767 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23768
23769 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23770 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23771 _dl_sparc_cap_flags array.
23772 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23773
23774 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23775
23776 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23777 time whenever possible.
23778
23779 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23780
23781 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23782 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23783
23784 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23785
23786 * soft-fp/fmadf4.c: Move to ....
23787 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23788 * soft-fp/fmasf4.c: Move to ....
23789 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23790 * soft-fp/fmatf4.c: Move to ....
23791 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23792 * sysdeps/ieee754/soft-fp/Makefile: New file.
23793 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23794 * sysdeps/arm/preconfigure: Regenerated.
23795 * sysdeps/arm/nofpu/Implies: New file.
23796 * sysdeps/arm/s_fma.c: Remove file.
23797 * sysdeps/arm/s_fmaf.c: Likewise.
23798 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23799 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23800 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23801 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23802 * sysdeps/microblaze/s_fma.c: Remove file.
23803 * sysdeps/microblaze/s_fmaf.c: Likewise.
23804 * sysdeps/mips/mips32/nofpu/Implies: New file.
23805 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23806 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23807 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23808 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23809 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23810 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23811 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23812 implementation.
23813 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23814 * sysdeps/nios2/s_fma.c: Remove file.
23815 * sysdeps/nios2/s_fmaf.c: Likewise.
23816 * sysdeps/sh/nofpu/Implies: New file.
23817 * sysdeps/sh/s_fma.c: Remove file.
23818 * sysdeps/sh/s_fmaf.c: Likewise.
23819 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23820 * sysdeps/tile/s_fma.c: Remove file.
23821 * sysdeps/tile/s_fmaf.c: Likewise.
23822
23823 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23824
23825 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23826 Add s_cosf-sse2 and s_cosf-fma.
23827 (CFLAGS-s_cosf-fma.c): New.
23828 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23829 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23830 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23831
23832 2017-12-12 Steve Ellcey <sellcey@cavium.com>
23833
23834 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23835
23836 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23837
23838 * libio/Makefile (tests): Add tst-bz22415.
23839 (tst-bz22415-ENV): New rule.
23840 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23841 (tests-special): Add tst-bz22415-mem.out.
23842 ($(objpfx)tst-bz22415-mem.out): New rule.
23843 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23844 in case of a successful seek operation.
23845 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23846 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23847 buffer is required.
23848 * libio/tst-bz22415.c: New test.
23849
23850 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23851
23852 2017-12-12 James Clarke <jrtc27@jrtc27.com>
23853
23854 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23855 __IPC_64 to 0 to avoid IPC_64 being set.
23856
23857 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23858
23859 [BZ #22593]
23860 * math/bits/mathcalls.h (nextafter): Remove const.
23861 (nexttoward): Likewise.
23862
23863 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23864
23865 * configure.ac (--with-fp): Remove configure option.
23866 (with_fp_cond): New variable.
23867 (libc_cv_with_fp): New configure test. Use this variable instead
23868 of with_fp.
23869 * configure: Regenerated.
23870 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23871 * manual/install.texi (Configuring and compiling): Remove
23872 --without-fp.
23873 * INSTALL: Regenerated.
23874 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23875 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23876 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23877 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23878 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23879 use --without-fp to configure glibc.
23880
23881 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
23882
23883 * manual/locale.texi (nl_langinfo): Fix a typo.
23884
23885 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
23886
23887 [BZ #22588]
23888 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23889
23890 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23891
23892 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23893 (CFLAGS-argp-parse.c): Likewise.
23894 (CFLAGS-argp-fmtstream.c): Likewise.
23895 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23896 (CPPFLAGS-sha512-crypt.c): Likewise.
23897 (CPPFLAGS-md5-crypt.c): Likewise.
23898 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23899 (CFLAGS-stack_chk_fail_local.c): Likewise.
23900 (CFLAGS-backtrace.c): Likewise.
23901 (CFLAGS-sprintf_chk.c): Likewise.
23902 (CFLAGS-snprintf_chk.c): Likewise.
23903 (CFLAGS-vsprintf_chk.c): Likewise.
23904 (CFLAGS-vsnprintf_chk.c): Likewise.
23905 (CFLAGS-asprintf_chk.c): Likewise.
23906 (CFLAGS-vasprintf_chk.c): Likewise.
23907 (CFLAGS-obprintf_chk.c): Likewise.
23908 (CFLAGS-dprintf_chk.c): Likewise.
23909 (CFLAGS-vdprintf_chk.c): Likewise.
23910 (CFLAGS-printf_chk.c): Likewise.
23911 (CFLAGS-fprintf_chk.c): Likewise.
23912 (CFLAGS-vprintf_chk.c): Likewise.
23913 (CFLAGS-vfprintf_chk.c): Likewise.
23914 (CFLAGS-gets_chk.c): Likewise.
23915 (CFLAGS-fgets_chk.c): Likewise.
23916 (CFLAGS-fgets_u_chk.c): Likewise.
23917 (CFLAGS-fread_chk.c): Likewise.
23918 (CFLAGS-fread_u_chk.c): Likewise.
23919 (CFLAGS-swprintf_chk.c): Likewise.
23920 (CFLAGS-vswprintf_chk.c): Likewise.
23921 (CFLAGS-wprintf_chk.c): Likewise.
23922 (CFLAGS-fwprintf_chk.c): Likewise.
23923 (CFLAGS-vwprintf_chk.c): Likewise.
23924 (CFLAGS-vfwprintf_chk.c): Likewise.
23925 (CFLAGS-fgetws_chk.c): Likewise.
23926 (CFLAGS-fgetws_u_chk.c): Likewise.
23927 (CFLAGS-read_chk.c): Likewise.
23928 (CFLAGS-pread_chk.c): Likewise.
23929 (CFLAGS-pread64_chk.c): Likewise.
23930 (CFLAGS-recv_chk.c): Likewise.
23931 (CFLAGS-recvfrom_chk.c): Likewise.
23932 (CFLAGS-tst-longjmp_chk.c): Likewise.
23933 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23934 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23935 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
23936 (CFLAGS-tst-longjmp_chk3.c): Likewise.
23937 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23938 (CFLAGS-tst-chk1.c): Likewise.
23939 (CFLAGS-tst-chk2.c): Likewise.
23940 (CFLAGS-tst-chk3.c): Likewise.
23941 (CFLAGS-tst-chk4.cc): Likewise.
23942 (CFLAGS-tst-chk5.cc): Likewise.
23943 (CFLAGS-tst-chk6.cc): Likewise.
23944 (CFLAGS-tst-lfschk1.c): Likewise.
23945 (CFLAGS-tst-lfschk2.c): Likewise.
23946 (CFLAGS-tst-lfschk3.c): Likewise.
23947 (CFLAGS-tst-lfschk4.cc): Likewise.
23948 (CFLAGS-tst-lfschk5.cc): Likewise.
23949 (CFLAGS-tst-lfschk6.cc): Likewise.
23950 (CFLAGS-tst-ssp-1.c): Likewise.
23951 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23952 (CFLAGS-scandir64.c): Likewise.
23953 (CFLAGS-scandir-tail.c): Likewise.
23954 (CFLAGS-scandir64-tail.c): Likewise.
23955 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23956 (CFLAGS-dl-tunables.c): Likewise.
23957 (CFLAGS-dl-runtime.c): Likewise.
23958 (CFLAGS-dl-lookup.c): Likewise.
23959 (CFLAGS-dl-iterate-phdr.c): Likewise.
23960 (CFLAGS-vismain.c): Likewise.
23961 (CFLAGS-tst-linkall-static.c): Likewise.
23962 (CFLAGS-tst-linkall-static.c): Likewise.
23963 (CPPFLAGS-dl-load.c): Likewise.
23964 (CFLAGS-ldconfig.c): Likewise.
23965 (CFLAGS-dl-cache.c): Likewise.
23966 (CFLAGS-cache.c): Likewise.
23967 (CFLAGS-rtld.c): Likewise.
23968 (CFLAGS-multiload.c): Likewise.
23969 (CFLAGS-filtmod1.c): Likewise.
23970 (CFLAGS-tst-align.c): Likewise.
23971 (CFLAGS-tst-align2.c): Likewise.
23972 (CFLAGS-tst-alignmod.c): Likewise.
23973 (CFLAGS-tst-alignmod2.c): Likewise.
23974 (CPPFLAGS-tst-execstack.c): Likewise.
23975 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23976 (CFLAGS-tst-latepthreadmod.c): Likewise.
23977 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23978 (CFLAGS-getgrnam_r.c): Likewise.
23979 (CFLAGS-getgrent_r.c): Likewise.
23980 (CFLAGS-getgrent.c): Likewise.
23981 (CFLAGS-fgetgrent.c): Likewise.
23982 (CFLAGS-fgetgrent_r.c): Likewise.
23983 (CFLAGS-putgrent.c): Likewise.
23984 (CFLAGS-initgroups.c): Likewise.
23985 (CFLAGS-getgrgid.c): Likewise.
23986 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23987 (CFLAGS-getsgent.c): Likewise.
23988 (CFLAGS-fgetsgent.c): Likewise.
23989 (CFLAGS-fgetsgent_r.c): Likewise.
23990 (CFLAGS-putsgent.c): Likewise.
23991 (CFLAGS-getsgnam.c): Likewise.
23992 (CFLAGS-getsgnam_r.c): Likewise.
23993 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23994 (CFLAGS-iconv_charmap.c): Likewise.
23995 (CFLAGS-dummy-repertoire.c): Likewise.
23996 (CFLAGS-charmap.c): Likewise.
23997 (CFLAGS-linereader.c): Likewise.
23998 (CFLAGS-simple-hash.c): Likewise.
23999 (CFLAGS-gconv_conf.c): Likewise.
24000 (CFLAGS-iconvconfig.c): Likewise.
24001 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24002 (CFLAGS-gethstbyad.c): Likewise.
24003 (CFLAGS-gethstbynm_r.c): Likewise.
24004 (CFLAGS-gethstbynm.c): Likewise.
24005 (CFLAGS-gethstbynm2_r.c): Likewise.
24006 (CFLAGS-gethstbynm2.c): Likewise.
24007 (CFLAGS-gethstent_r.c): Likewise.
24008 (CFLAGS-gethstent.c): Likewise.
24009 (CFLAGS-rcmd.c): Likewise.
24010 (CFLAGS-getnetbynm_r.c): Likewise.
24011 (CFLAGS-getnetbynm.c): Likewise.
24012 (CFLAGS-getnetbyad_r.c): Likewise.
24013 (CFLAGS-getnetbyad.c): Likewise.
24014 (CFLAGS-getnetent_r.c): Likewise.
24015 (CFLAGS-getnetent.c): Likewise.
24016 (CFLAGS-getaliasent_r.c): Likewise.
24017 (CFLAGS-getaliasent.c): Likewise.
24018 (CFLAGS-getrpcent_r.c): Likewise.
24019 (CFLAGS-getrpcent.c): Likewise.
24020 (CFLAGS-getservent_r.c): Likewise.
24021 (CFLAGS-getservent.c): Likewise.
24022 (CFLAGS-getprtent_r.c): Likewise.
24023 (CFLAGS-getprtent.c): Likewise.
24024 (CFLAGS-either_ntoh.c): Likewise.
24025 (CFLAGS-either_hton.c): Likewise.
24026 (CFLAGS-getnetgrent.c): Likewise.
24027 (CFLAGS-getnetgrent_r.c): Likewise.
24028 (CFLAGS-tst-checks-posix.c): Likewise.
24029 (CFLAGS-tst-sockaddr.c): Likewise.
24030 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24031 (CFLAGS-tst-translit.c): Likewise.
24032 (CFLAGS-tst-gettext2.c): Likewise.
24033 (CFLAGS-tst-codeset.c): Likewise.
24034 (CFLAGS-tst-gettext3.c): Likewise.
24035 (CFLAGS-tst-gettext4.c): Likewise.
24036 (CFLAGS-tst-gettext5.c): Likewise.
24037 (CFLAGS-tst-gettext6.c): Likewise.
24038 * io/Makefile (CFLAGS-open.c): Likewise.
24039 (CFLAGS-open64.c): Likewise.
24040 (CFLAGS-creat.c): Likewise.
24041 (CFLAGS-creat64.c): Likewise.
24042 (CFLAGS-fcntl.c): Likewise.
24043 (CFLAGS-poll.c): Likewise.
24044 (CFLAGS-ppoll.c): Likewise.
24045 (CFLAGS-lockf.c): Likewise.
24046 (CFLAGS-statfs.c): Likewise.
24047 (CFLAGS-fstatfs.c): Likewise.
24048 (CFLAGS-statvfs.c): Likewise.
24049 (CFLAGS-fstatvfs.c): Likewise.
24050 (CFLAGS-fts.c): Likewise.
24051 (CFLAGS-fts64.c): Likewise.
24052 (CFLAGS-ftw.c): Likewise.
24053 (CFLAGS-ftw64.c): Likewise.
24054 (CFLAGS-lockf.c): Likewise.
24055 (CFLAGS-posix_fallocate.c): Likewise.
24056 (CFLAGS-posix_fallocate64.c): Likewise.
24057 (CFLAGS-fallocate.c): Likewise.
24058 (CFLAGS-fallocate64.c): Likewise.
24059 (CFLAGS-read.c): Likewise.
24060 (CFLAGS-write.c): Likewise.
24061 (CFLAGS-test-stat.c): Likewise.
24062 (CFLAGS-test-lfs.c): Likewise.
24063 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24064 (CFLAGS-fputc.c): Likewise.
24065 (CFLAGS-fputwc.c): Likewise.
24066 (CFLAGS-freopen64.c): Likewise.
24067 (CFLAGS-freopen.c): Likewise.
24068 (CFLAGS-fseek.c): Likewise.
24069 (CFLAGS-fseeko64.c): Likewise.
24070 (CFLAGS-fseeko.c): Likewise.
24071 (CFLAGS-ftello64.c): Likewise.
24072 (CFLAGS-ftello.c): Likewise.
24073 (CFLAGS-fwide.c): Likewise.
24074 (CFLAGS-genops.c): Likewise.
24075 (CFLAGS-getc.c): Likewise.
24076 (CFLAGS-getchar.c): Likewise.
24077 (CFLAGS-getwc.c): Likewise.
24078 (CFLAGS-getwchar.c): Likewise.
24079 (CFLAGS-iofclose.c): Likewise.
24080 (CFLAGS-iofflush.c): Likewise.
24081 (CFLAGS-iofgetpos64.c): Likewise.
24082 (CFLAGS-iofgetpos.c): Likewise.
24083 (CFLAGS-iofgets.c): Likewise.
24084 (CFLAGS-iofgetws.c): Likewise.
24085 (CFLAGS-iofputs.c): Likewise.
24086 (CFLAGS-iofputws.c): Likewise.
24087 (CFLAGS-iofread.c): Likewise.
24088 (CFLAGS-iofsetpos64.c): Likewise.
24089 (CFLAGS-iofsetpos.c): Likewise.
24090 (CFLAGS-ioftell.c): Likewise.
24091 (CFLAGS-iofwrite.c): Likewise.
24092 (CFLAGS-iogetdelim.c): Likewise.
24093 (CFLAGS-iogetline.c): Likewise.
24094 (CFLAGS-iogets.c): Likewise.
24095 (CFLAGS-iogetwline.c): Likewise.
24096 (CFLAGS-ioputs.c): Likewise.
24097 (CFLAGS-ioseekoff.c): Likewise.
24098 (CFLAGS-ioseekpos.c): Likewise.
24099 (CFLAGS-iosetbuffer.c): Likewise.
24100 (CFLAGS-iosetvbuf.c): Likewise.
24101 (CFLAGS-ioungetc.c): Likewise.
24102 (CFLAGS-ioungetwc.c): Likewise.
24103 (CFLAGS-oldfileops.c): Likewise.
24104 (CFLAGS-oldiofclose.c): Likewise.
24105 (CFLAGS-oldiofgetpos64.c): Likewise.
24106 (CFLAGS-oldiofgetpos.c): Likewise.
24107 (CFLAGS-oldiofsetpos64.c): Likewise.
24108 (CFLAGS-oldiofsetpos.c): Likewise.
24109 (CFLAGS-peekc.c): Likewise.
24110 (CFLAGS-putc.c): Likewise.
24111 (CFLAGS-putchar.c): Likewise.
24112 (CFLAGS-putwc.c): Likewise.
24113 (CFLAGS-putwchar.c): Likewise.
24114 (CFLAGS-rewind.c): Likewise.
24115 (CFLAGS-wfileops.c): Likewise.
24116 (CFLAGS-wgenops.c): Likewise.
24117 (CFLAGS-oldiofopen.c): Likewise.
24118 (CFLAGS-iofopen.c): Likewise.
24119 (CFLAGS-iofopen64.c): Likewise.
24120 (CFLAGS-oldtmpfile.c): Likewise.
24121 (CFLAGS-tst_putwc.c): Likewise.
24122 * locale/Makefile (CFLAGS-md5.c): Likewise.
24123 (CFLAGS-charmap.c): Likewise.
24124 (CFLAGS-locfile.c): Likewise.
24125 (CFLAGS-charmap-dir.c): Likewise.
24126 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24127 (CFLAGS-getpt.c): Likewise.
24128 (CFLAGS-pt_chown.c): Likewise.
24129 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24130 (CFLAGS-obstack.c): Likewise.
24131 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24132 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24133 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24134 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24135 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24136 (CFLAGS-test-tgmath.c): Likewise.
24137 (CFLAGS-test-tgmath2.c): Likewise.
24138 (CFLAGS-test-tgmath-ret.c): Likewise.
24139 (CFLAGS-test-powl.c): Likewise.
24140 (CFLAGS-test-snan.c): Likewise.
24141 (CFLAGS-test-signgam-finite.c): Likewise.
24142 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24143 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24144 (CFLAGS-test-signgam-uchar.c): Likewise.
24145 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24146 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24147 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24148 (CFLAGS-test-signgam-uint.c): Likewise.
24149 (CFLAGS-test-signgam-uint-init.c): Likewise.
24150 (CFLAGS-test-signgam-uint-static.c): Likewise.
24151 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24152 (CFLAGS-test-signgam-ullong.c): Likewise.
24153 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24154 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24155 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24156 (CFLAGS-test-math-cxx11.cc): Likewise.
24157 (CFLAGS-test-math-isinff.cc): Likewise.
24158 (CFLAGS-test-math-iszero.cc): Likewise.
24159 (CFLAGS-test-math-issignaling.cc): Likewise.
24160 (CFLAGS-test-math-iscanonical.cc): Likewise.
24161 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24162 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24163 (CFLAGS-test-flt-eval-method.c): Likewise.
24164 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24165 (CFLAGS-test-finite-macros.c): Likewise.
24166 * misc/Makefile (CFLAGS-select.c): Likewise.
24167 (CFLAGS-tsearch.c): Likewise.
24168 (CFLAGS-lsearch.c): Likewise.
24169 (CFLAGS-pselect.c): Likewise.
24170 (CFLAGS-readv.c): Likewise.
24171 (CFLAGS-writev.c): Likewise.
24172 (CFLAGS-preadv.c): Likewise.
24173 (CFLAGS-preadv64.c): Likewise.
24174 (CFLAGS-pwritev.c): Likewise.
24175 (CFLAGS-pwritev64.c): Likewise.
24176 (CFLAGS-preadv2.c): Likewise.
24177 (CFLAGS-preadv64v2.c): Likewise.
24178 (CFLAGS-pwritev2.c): Likewise.
24179 (CFLAGS-pwritev64v2.c): Likewise.
24180 (CFLAGS-usleep.c): Likewise.
24181 (CFLAGS-syslog.c): Likewise.
24182 (CFLAGS-error.c): Likewise.
24183 (CFLAGS-getpass.c): Likewise.
24184 (CFLAGS-mkstemp.c): Likewise.
24185 (CFLAGS-mkstemp64.c): Likewise.
24186 (CFLAGS-getsysstats.c): Likewise.
24187 (CFLAGS-getusershell.c): Likewise.
24188 (CFLAGS-err.c): Likewise.
24189 (CFLAGS-tst-tsearch.c): Likewise.
24190 (CFLAGS-msync.c): Likewise.
24191 (CFLAGS-fdatasync.c): Likewise.
24192 (CFLAGS-fsync.c): Likewise.
24193 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24194 (CFLAGS-unwind.c): Likewise.
24195 (CFLAGS-unwind-forcedunwind.c): Likewise.
24196 (CFLAGS-pthread_cancel.c): Likewise.
24197 (CFLAGS-pthread_setcancelstate.c): Likewise.
24198 (CFLAGS-pthread_setcanceltype.c): Likewise.
24199 (CFLAGS-cancellation.c): Likewise.
24200 (CFLAGS-libc-cancellation.c): Likewise.
24201 (CFLAGS-pthread_exit.c): Likewise.
24202 (CFLAGS-forward.c): Likewise.
24203 (CFLAGS-pthread_testcancel.c): Likewise.
24204 (CFLAGS-pthread_join.c): Likewise.
24205 (CFLAGS-pthread_timedjoin.c): Likewise.
24206 (CFLAGS-pthread_once.c): Likewise.
24207 (CFLAGS-pthread_cond_wait.c): Likewise.
24208 (CFLAGS-sem_wait.c): Likewise.
24209 (CFLAGS-sem_timedwait.c): Likewise.
24210 (CFLAGS-fcntl.c): Likewise.
24211 (CFLAGS-lockf.c): Likewise.
24212 (CFLAGS-pread.c): Likewise.
24213 (CFLAGS-pread64.c): Likewise.
24214 (CFLAGS-pwrite.c): Likewise.
24215 (CFLAGS-pwrite64.c): Likewise.
24216 (CFLAGS-wait.c): Likewise.
24217 (CFLAGS-waitpid.c): Likewise.
24218 (CFLAGS-sigwait.c): Likewise.
24219 (CFLAGS-msgrcv.c): Likewise.
24220 (CFLAGS-msgsnd.c): Likewise.
24221 (CFLAGS-tcdrain.c): Likewise.
24222 (CFLAGS-open.c): Likewise.
24223 (CFLAGS-open64.c): Likewise.
24224 (CFLAGS-pause.c): Likewise.
24225 (CFLAGS-recv.c): Likewise.
24226 (CFLAGS-send.c): Likewise.
24227 (CFLAGS-accept.c): Likewise.
24228 (CFLAGS-sendto.c): Likewise.
24229 (CFLAGS-connect.c): Likewise.
24230 (CFLAGS-recvfrom.c): Likewise.
24231 (CFLAGS-recvmsg.c): Likewise.
24232 (CFLAGS-sendmsg.c): Likewise.
24233 (CFLAGS-close.c): Likewise.
24234 (CFLAGS-read.c): Likewise.
24235 (CFLAGS-write.c): Likewise.
24236 (CFLAGS-nanosleep.c): Likewise.
24237 (CFLAGS-sigsuspend.c): Likewise.
24238 (CFLAGS-msync.c): Likewise.
24239 (CFLAGS-fdatasync.c): Likewise.
24240 (CFLAGS-fsync.c): Likewise.
24241 (CFLAGS-pt-system.c): Likewise.
24242 (CFLAGS-tst-cleanup2.c): Likewise.
24243 (CFLAGS-tst-cleanupx2.c): Likewise.
24244 (CFLAGS-flockfile.c): Likewise.
24245 (CFLAGS-ftrylockfile.c): Likewise.
24246 (CFLAGS-funlockfile.c): Likewise.
24247 (CFLAGS-tst-initializers1.c): Likewise.
24248 (CFLAGS-tst-initializers1-c89.c): Likewise.
24249 (CFLAGS-tst-initializers1-c99.c): Likewise.
24250 (CFLAGS-tst-initializers1-c11.c): Likewise.
24251 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24252 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24253 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24254 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24255 (CFLAGS-nscd_getgr_r.c): Likewise.
24256 (CFLAGS-nscd_gethst_r.c): Likewise.
24257 (CFLAGS-nscd_getai.c): Likewise.
24258 (CFLAGS-nscd_initgroups.c): Likewise.
24259 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24260 (CFLAGS-pause.c): Likewise.
24261 (CFLAGS-pread.c): Likewise.
24262 (CFLAGS-pread64.c): Likewise.
24263 (CFLAGS-pwrite.c): Likewise.
24264 (CFLAGS-pwrite64.c): Likewise.
24265 (CFLAGS-sleep.c): Likewise.
24266 (CFLAGS-wait.c): Likewise.
24267 (CFLAGS-waitid.c): Likewise.
24268 (CFLAGS-waitpid.c): Likewise.
24269 (CFLAGS-getopt.c): Likewise.
24270 (CFLAGS-wordexp.c): Likewise.
24271 (CFLAGS-sysconf.c): Likewise.
24272 (CFLAGS-pathconf.c): Likewise.
24273 (CFLAGS-fpathconf.c): Likewise.
24274 (CFLAGS-spawn.c): Likewise.
24275 (CFLAGS-spawnp.c): Likewise.
24276 (CFLAGS-spawni.c): Likewise.
24277 (CFLAGS-glob.c): Likewise.
24278 (CFLAGS-glob64.c): Likewise.
24279 (CFLAGS-getconf.c): Likewise.
24280 (CFLAGS-nanosleep.c): Likewise.
24281 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24282 (CFLAGS-getpwent.c): Likewise.
24283 (CFLAGS-getpw.c): Likewise.
24284 (CFLAGS-fgetpwent_r.c): Likewise.
24285 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24286 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24287 (CFLAGS-mq_timedreceive.c): Likewise.
24288 (CFLAGS-mq_timedsend.c): Likewise.
24289 (CFLAGS-clock_nanosleep.c): Likewise.
24290 (CFLAGS-librt-cancellation.c): Likewise.
24291 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24292 (CFLAGS-getspent.c): Likewise.
24293 (CFLAGS-fgetspent.c): Likewise.
24294 (CFLAGS-fgetspent_r.c): Likewise.
24295 (CFLAGS-putspent.c): Likewise.
24296 (CFLAGS-getspnam.c): Likewise.
24297 (CFLAGS-getspnam_r.c): Likewise.
24298 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24299 (CFLAGS-sigsuspend.c): Likewise.
24300 (CFLAGS-sigtimedwait.c): Likewise.
24301 (CFLAGS-sigwait.c): Likewise.
24302 (CFLAGS-sigwaitinfo.c): Likewise.
24303 (CFLAGS-sigreturn.c): Likewise.
24304 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24305 (CFLAGS-vfwprintf.c): Likewise.
24306 (CFLAGS-tmpfile.c): Likewise.
24307 (CFLAGS-tmpfile64.c): Likewise.
24308 (CFLAGS-tempname.c): Likewise.
24309 (CFLAGS-psignal.c): Likewise.
24310 (CFLAGS-vprintf.c): Likewise.
24311 (CFLAGS-cuserid.c): Likewise.
24312 (CFLAGS-errlist.c): Likewise.
24313 (CFLAGS-siglist.c): Likewise.
24314 (CFLAGS-scanf15.c): Likewise.
24315 (CFLAGS-scanf17.c): Likewise.
24316 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24317 (CFLAGS-msort.c): Likewise.
24318 (CFLAGS-qsort.c): Likewise.
24319 (CFLAGS-system.c): Likewise.
24320 (CFLAGS-fmtmsg.c): Likewise.
24321 (CFLAGS-strfmon.c): Likewise.
24322 (CFLAGS-strfmon_l.c): Likewise.
24323 (CFLAGS-strfromd.c): Likewise.
24324 (CFLAGS-strfromf.c): Likewise.
24325 (CFLAGS-strfroml.c): Likewise.
24326 (CFLAGS-tst-bsearch.c): Likewise.
24327 (CFLAGS-tst-qsort.c): Likewise.
24328 (CFLAGS-tst-makecontext2.c): Likewise.
24329 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24330 (CFLAGS-xnlm_prot.c): Likewise.
24331 (CFLAGS-xrstat.c): Likewise.
24332 (CFLAGS-xyppasswd.c): Likewise.
24333 (CFLAGS-xklm_prot.c): Likewise.
24334 (CFLAGS-xrex.c): Likewise.
24335 (CFLAGS-xsm_inter.c): Likewise.
24336 (CFLAGS-xmount.c): Likewise.
24337 (CFLAGS-xrusers.c): Likewise.
24338 (CFLAGS-xspray.c): Likewise.
24339 (CFLAGS-xnfs_prot.c): Likewise.
24340 (CFLAGS-xrquota.c): Likewise.
24341 (CFLAGS-xkey_prot.c): Likewise.
24342 (CFLAGS-auth_unix.c): Likewise.
24343 (CFLAGS-key_call.c): Likewise.
24344 (CFLAGS-pmap_rmt.c): Likewise.
24345 (CFLAGS-clnt_perr.c): Likewise.
24346 (CFLAGS-openchild.c): Likewise.
24347 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24348 (CFLAGS-msgsnd.c): Likewise.
24349 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24350 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24351 (CFLAGS-tzset.c): Likewise.
24352 (CFLAGS-getdate.c): Likewise.
24353 (CFLAGS-test_time.c): Likewise.
24354 (CPPFLAGS-tst-tzname.c): Likewise.
24355 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24356 (CFLAGS-zic.c): Likewise.
24357 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24358 (CFLAGS-wcswidth.c): Likewise.
24359 (CFLAGS-wcstol.c): Likewise.
24360 (CFLAGS-wcstoul.c): Likewise.
24361 (CFLAGS-wcstoll.c): Likewise.
24362 (CFLAGS-wcstoull.c): Likewise.
24363 (CFLAGS-wcstod.c): Likewise.
24364 (CFLAGS-wcstold.c): Likewise.
24365 (CFLAGS-wcstof128.c): Likewise.
24366 (CFLAGS-wcstof.c): Likewise.
24367 (CFLAGS-wcstol_l.c): Likewise.
24368 (CFLAGS-wcstoul_l.c): Likewise.
24369 (CFLAGS-wcstoll_l.c): Likewise.
24370 (CFLAGS-wcstoull_l.c): Likewise.
24371 (CFLAGS-wcstod_l.c): Likewise.
24372 (CFLAGS-wcstold_l.c): Likewise.
24373 (CFLAGS-wcstof128_l.c): Likewise.
24374 (CFLAGS-wcstof_l.c): Likewise.
24375 (CPPFLAGS-tst-wchar-h.c): Likewise.
24376 (CPPFLAGS-wcstold_l.c): Likewise.
24377
24378 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24379
24380 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24381
24382 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24383 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24384
24385 * manual/tunables.texi (Hardware Capability Tunables): Document
24386 glibc.tune.cached_memopt.
24387 * sysdeps/powerpc/cpu-features.c: New file.
24388 * sysdeps/powerpc/cpu-features.h: New file.
24389 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24390 _dl_powerpc_cpu_features.
24391 * sysdeps/powerpc/dl-tunables.list: New file.
24392 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24393 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24394 (INIT_ARCH): Initialize use_aligned_memopt.
24395 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24396 IS_IN(rtld))]: Restrict dl_platform_init availability and
24397 initialize CPU features used by tunables.
24398 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24399 Add memcpy-power8-cached.
24400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24401 __memcpy_power8_cached.
24402 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24403 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24404 New file.
24405
24406 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24407
24408 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24409 (CFLAGS-noinl-tester.c): Likewise.
24410 (CFLAGS-tst-strlen.c): Likewise.
24411 (CFLAGS-stratcliff.c): Likewise.
24412 (CFLAGS-test-ffs.c): Likewise.
24413 (CFLAGS-tst-inlcall.c): Likewise.
24414 (CFLAGS-tst-xbzero-opt.c): Likewise.
24415 (CFLAGS-memcpy.c): Likewise.
24416 (CFLAGS-wordcopy.c): Likewise.
24417
24418 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24419
24420 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24421 Store r15 on stack and add cfi rule.
24422 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24423 Likewise.
24424
24425 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24426
24427 [BZ #22577]
24428 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24429 call.
24430
24431 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24432
24433 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24434 Add s_sinf-sse2 and s_sinf-fma.
24435 (CFLAGS-s_sinf-fma.c): New.
24436 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24437 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24438 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24439
24440 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24441
24442 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24443
24444 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24445
24446 [BZ #22568]
24447 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24448 part of result to imaginary part of argument if it is zero and the
24449 real part of the argument is not finite.
24450 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24451 of result to real part of argument if it is zero and the imaginary
24452 part of the argument is not finite.
24453
24454 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24455
24456 [BZ #22524]
24457 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24458 and to the list of locales to be built for testing.
24459 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24460 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24461 and build the collation rules upon that.
24462
24463 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24464
24465 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24466 * manual/math.texi (Mathematics): Document support for _Float32.
24467 * math/Makefile (test-types): Add float32.
24468 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24469 * stdlib/Versions (GLIBC_2.27): Likewise.
24470 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24471 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24472 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24473 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24474 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24475 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24476 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24477 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24478 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24479 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24480 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24481 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24482 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24483 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24484 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24485 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24486 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24487 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24488 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24489 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24490 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24491 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24492 Likewise.
24493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24494 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24495 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24496 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24497 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24499 Likewise.
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24501 Likewise.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24503 Likewise.
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24505 Likewise.
24506
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24508 Likewise.
24509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24510 Likewise.
24511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24512 Likewise.
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24514 Likewise.
24515 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24516 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24517 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24518 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24519 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24520 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24521 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24522 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24523 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24524 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24526 Likewise.
24527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24528 Likewise.
24529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24530 Likewise.
24531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24532 Likewise.
24533 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24534 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24535 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24536 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24537 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24538 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24539 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24540 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24541
24542 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24543
24544 * stdlib/strtof.c: Include <bits/floatn.h>
24545 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24546 and later undefine as macro. Define as weak alias if
24547 [!USE_WIDE_CHAR].
24548 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24549 and later undefine as macro. Define as weak alias if
24550 [USE_WIDE_CHAR].
24551 * stdlib/strtof_l.c: Include <bits/floatn.h>
24552 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24553 and later undefine as macro. Define as weak alias if
24554 [!USE_WIDE_CHAR].
24555 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24556 and later undefine as macro. Define as weak alias if
24557 [USE_WIDE_CHAR].
24558
24559 * stdlib/strfromf.c: Include <bits/floatn.h>.
24560 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24561 and later undefine as macro and define as weak alias.
24562
24563 * math/test-float32.h: New file.
24564
24565 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24566 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24567 (libm_alias_float_other_r): Create f32 alias.
24568 (libm_alias_float_r): Use semicolon before call to
24569 libm_alias_float_other_r.
24570
24571 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24572 second argument to libm_alias_float_other.
24573 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24574 second argument to libm_alias_float_other.
24575 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24576 argument to libm_alias_float_other.
24577
24578 [BZ #22561]
24579 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24580 real part of result for argument 0 + i * NaN.
24581 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24582 results for tests of 0 + i * NaN.
24583
24584 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24585
24586 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24587
24588 2017-12-06 David S. Miller <davem@davemloft.net>
24589
24590 * sysdeps/sparc/fpu/libm-test-ulps: Update
24591 exp_{downward,towardzero,upward} ulps.
24592
24593 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24594
24595 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24596 variables static.
24597
24598 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24599 (Y0_2D): Likewise.
24600 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24601 (Y0_2D): Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24603 (Y0_2D): Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24605 (Y0_2D): Likewise.
24606
24607 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24608
24609 [BZ #22515]
24610 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24611 and to the list of locales to be built for testing.
24612 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24613 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24614 and build the collation rules upon that.
24615
24616 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24617
24618 * NEWS: Add sinf to list of optimized functions.
24619
24620 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24621
24622 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24623 (__HAVE_FLOAT32X): Likewise.
24624 * manual/math.texi (Mathematics): Document support for _Float64
24625 and _Float32x.
24626 * math/Makefile (test-types): Add float64 and float32x.
24627 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24628 functions.
24629 * stdlib/Versions (GLIBC_2.27): Likewise.
24630 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24631 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24632 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24633 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24634 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24635 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24636 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24637 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24638 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24639 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24640 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24641 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24642 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24643 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24644 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24645 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24646 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24647 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24648 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24649 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24650 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24651 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24652 Likewise.
24653 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24654 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24655 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24656 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24657 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24659 Likewise.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24661 Likewise.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24663 Likewise.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24665 Likewise.
24666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24667 Likewise.
24668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24669 Likewise.
24670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24671 Likewise.
24672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24673 Likewise.
24674 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24675 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24677 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24678 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24679 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24680 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24681 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24682 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24683 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24685 Likewise.
24686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24687 Likewise.
24688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24689 Likewise.
24690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24691 Likewise.
24692 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24693 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24694 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24695 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24696 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24697 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24698 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24699 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24700
24701 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24702
24703 * bits/floatn-common.h: Include <bits/long-double.h>.
24704 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24705 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24706 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24707 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24708 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24709 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24710 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24711 (__builtin_huge_valf64): Use __builtin_huge_vall.
24712 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24713 (__builtin_inff64): Use __builtin_infl.
24714 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24715 (__builtin_nanf64): Use __builtin_nanl.
24716 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24717 (__builtin_nansf64): Use __builtin_nansl.
24718
24719 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24720 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24721 Carlos O'Donell <carlos@redhat.com>
24722
24723 * elf/dl-tunables.list: Add elision parameters.
24724 * manual/tunables.texi: Add entries about elision tunable.
24725 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24726 Add callback functions to dynamically enable/disable elision.
24727 Add multiple callbacks functions to set elision parameters.
24728 Deleted __libc_enable_secure check.
24729 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24730 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24731 * configure: Regenerated.
24732 * configure.ac: Option enable_lock_elision was deleted.
24733 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24734 * config.make.in: Remove references to enable_lock_elision.
24735 * manual/install.texi: Elision configure option was removed.
24736 * INSTALL: Regenerated to remove enable_lock_elision.
24737 * nptl/Makefile:
24738 Disable elision so it can verify error case for destroying a mutex.
24739 * sysdeps/powerpc/nptl/elide.h:
24740 Cleanup ENABLE_LOCK_ELISION check.
24741 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24742 * sysdeps/s390/configure: Regenerated.
24743 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24744 * nptl/tst-mutex8.c:
24745 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24746 * sysdeps/powerpc/powerpc32/sysdep.h:
24747 Deleted all ENABLE_LOCK_ELISION checks.
24748 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24749 * sysdeps/powerpc/sysdep.h: Likewise.
24750 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24751 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24752 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24753 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24754 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24755 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24756 enable-lock-elision.
24757
24758 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24759
24760 * stdlib/strtod.c: Include <bits/floatn.h>.
24761 (BUILD_DOUBLE): New macro.
24762 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24763 (strtof64): Define and later undefine as macro. Define as weak
24764 alias if [!USE_WIDE_CHAR].
24765 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24766 (wcstof64): Define and later undefine as macro. Define as weak
24767 alias if [USE_WIDE_CHAR].
24768 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24769 (strtof32x): Define and later undefine as macro. Define as weak
24770 alias if [!USE_WIDE_CHAR].
24771 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24772 (wcstof32x): Define and later undefine as macro. Define as weak
24773 alias if [USE_WIDE_CHAR].
24774 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24775 (BUILD_DOUBLE): New macro.
24776 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24777 (strtof64_l): Define and later undefine as macro. Define as weak
24778 alias if [!USE_WIDE_CHAR].
24779 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24780 (wcstof64_l): Define and later undefine as macro. Define as weak
24781 alias if [USE_WIDE_CHAR].
24782 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24783 (strtof32x_l): Define and later undefine as macro. Define as weak
24784 alias if [!USE_WIDE_CHAR].
24785 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24786 (wcstof32x_l): Define and later undefine as macro. Define as weak
24787 alias if [USE_WIDE_CHAR].
24788
24789 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24790
24791 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24792 (reduced): Use ones as double instead of integer.
24793
24794 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24795
24796 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24797
24798 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24799
24800 * stdlib/strfromd.c: Include <bits/floatn.h>.
24801 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24802 and later undefine as macro and define as weak alias.
24803 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24804 Likewise.
24805
24806 * math/test-float32x.h: New file.
24807 * math/test-float64.h: Likewise.
24808
24809 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24810 (libm_alias_double_other_r_f64): New macro.
24811 (libm_alias_double_other_r_f32x): Likewise.
24812 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24813 libm_alias_double_other_r_f32x.
24814 (libm_alias_double_r): Use semicolon before call to
24815 libm_alias_double_other_r.
24816 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24817 <bits/floatn.h>.
24818 (libm_alias_double_other_r_f64): New macro.
24819 (libm_alias_double_other_r_f32x): Likewise.
24820 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24821 libm_alias_double_other_r_f32x.
24822
24823 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24824
24825 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24826 int.
24827 (SINF_FUNC): Likewise. Replace floor with simple casts.
24828
24829 2017-12-05 Mike FABIAN <mfabian@redhat.com>
24830
24831 [BZ #22517]
24832 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24833 and to the list of locales to be built for testing.
24834 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24835 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24836 and build the collation rules upon that.
24837
24838 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24839
24840 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24841 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24842 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24843 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24844 instead of __insn__xxx.
24845 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24846 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24847 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24848 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24849 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24850 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24851
24852 2017-12-05 Florian Weimer <fweimer@redhat.com>
24853
24854 Linux: Implement interfaces for memory protection keys
24855 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24856 xsignal, xsysconf.
24857 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24858 * support/xunistd.h (xsysconf): Declare.
24859 * support/xraise.c: New file.
24860 * support/xsigaction.c: Likewise.
24861 * support/xsignal.c: Likewise.
24862 * support/xsysconf.c: Likewise.
24863 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24864 pkey_set, pkey_get, pkey_mprotect.
24865 [misc] (tests): Add tst-pkey.
24866 (tst-pkey): Link with -lpthread.
24867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24868 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24869 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24870 (PKEY_DISABLE_WRITE): Define.
24871 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24872 Declare.
24873 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24874 (SEGV_PKUERR): Add.
24875 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24876 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24877 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24878 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24879 Add.
24880 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24881 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24882 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24883 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24884 * sysdeps/unix/sysv/linux/**.abilist: Update.
24885
24886 2017-12-05 Florian Weimer <fweimer@redhat.com>
24887
24888 * support/tst-test_compare.c (subprocess): Use long long instead
24889 of long argument for consistent type width across 32-bit and
24890 64-bit architectures.
24891 (do_test): Adjust expected output.
24892
24893 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24894
24895 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24896 (cosf): Define using libm_alias_float.
24897 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24898 (fabsf): Define using libm_alias_float.
24899 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24900 (fmaf): Define using libm_alias_float.
24901 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24902 (rintf): Define using libm_alias_float.
24903 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24904 (sinf): Define using libm_alias_float.
24905 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24906 <libm-alias-float.h>.
24907 (modff): Define using libm_alias_float.
24908 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24909 <libm-alias-float.h>.
24910 (logbf): Define using libm_alias_float.
24911 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24912 <libm-alias-float.h>.
24913 (ceilf): Define using libm_alias_float.
24914 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24915 <libm-alias-float.h>.
24916 (copysignf): Define using libm_alias_float.
24917 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24918 <libm-alias-float.h>.
24919 (floorf): Define using libm_alias_float.
24920 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24921 <libm-alias-float.h>.
24922 (llrintf): Define using libm_alias_float.
24923 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24924 <libm-alias-float.h>.
24925 (llroundf): Define using libm_alias_float.
24926 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24927 <libm-alias-float.h>.
24928 (lrintf): Define using libm_alias_float.
24929 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24930 <libm-alias-float.h>.
24931 (lroundf): Define using libm_alias_float.
24932 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24933 <libm-alias-float.h>.
24934 (nearbyintf): Define using libm_alias_float.
24935 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
24936 <libm-alias-float.h>.
24937 (rintf): Define using libm_alias_float.
24938 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
24939 <libm-alias-float.h>.
24940 (roundf): Define using libm_alias_float.
24941 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
24942 <libm-alias-float.h>.
24943 (truncf): Define using libm_alias_float.
24944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
24945 Include <libm-alias-float.h>.
24946 (ceilf): Define using libm_alias_float.
24947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24948 Include <libm-alias-float.h>.
24949 (copysignf): Define using libm_alias_float.
24950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24951 Include <libm-alias-float.h>.
24952 (floorf): Define using libm_alias_float.
24953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24954 Include <libm-alias-float.h>.
24955 (llrintf): Define using libm_alias_float.
24956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24957 Include <libm-alias-float.h>.
24958 (llroundf): Define using libm_alias_float.
24959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24960 Include <libm-alias-float.h>.
24961 (logbf): Define using libm_alias_float.
24962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24963 Include <libm-alias-float.h>.
24964 (lrintf): Define using libm_alias_float.
24965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24966 Include <libm-alias-float.h>.
24967 (lroundf): Define using libm_alias_float.
24968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24969 Include <libm-alias-float.h>.
24970 (modff): Define using libm_alias_float.
24971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24972 Include <libm-alias-float.h>.
24973 (roundf): Define using libm_alias_float.
24974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24975 Include <libm-alias-float.h>.
24976 (truncf): Define using libm_alias_float.
24977 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24978 <libm-alias-float.h>.
24979 (llrintf): Define using libm_alias_float.
24980 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24981 <libm-alias-float.h>.
24982 (llroundf): Define using libm_alias_float.
24983 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24984 <libm-alias-float.h>.
24985 (ceilf): Define using libm_alias_float.
24986 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24987 <libm-alias-float.h>.
24988 (floorf): Define using libm_alias_float.
24989 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24990 <libm-alias-float.h>.
24991 (llroundf): Define using libm_alias_float.
24992 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24993 <libm-alias-float.h>.
24994 (lroundf): Define using libm_alias_float.
24995 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24996 <libm-alias-float.h>.
24997 (roundf): Define using libm_alias_float.
24998 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24999 <libm-alias-float.h>.
25000 (truncf): Define using libm_alias_float.
25001 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25002 <libm-alias-float.h>.
25003 (copysignf): Define using libm_alias_float.
25004 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25005 <libm-alias-float.h>.
25006 (llrintf): Define using libm_alias_float.
25007 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25008 <libm-alias-float.h>.
25009 (llroundf): Define using libm_alias_float.
25010 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25011 <libm-alias-float.h>.
25012 (lrintf): Define using libm_alias_float.
25013 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25014 <libm-alias-float.h>.
25015 (lroundf): Define using libm_alias_float.
25016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25017 <libm-alias-float.h>.
25018 (ceilf): Define using libm_alias_float.
25019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25020 <libm-alias-float.h>.
25021 (copysignf): Define using libm_alias_float.
25022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25023 <libm-alias-float.h>.
25024 (cosf): Define using libm_alias_float.
25025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25026 <libm-alias-float.h>.
25027 (floorf): Define using libm_alias_float.
25028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25029 <libm-alias-float.h>.
25030 (llrintf): Define using libm_alias_float.
25031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25032 <libm-alias-float.h>.
25033 (llroundf): Define using libm_alias_float.
25034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25035 <libm-alias-float.h>.
25036 (logbf): Define using libm_alias_float.
25037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25038 <libm-alias-float.h>.
25039 (modff): Define using libm_alias_float.
25040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25041 <libm-alias-float.h>.
25042 (roundf): Define using libm_alias_float.
25043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25044 <libm-alias-float.h>.
25045 (sinf): Define using libm_alias_float.
25046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25047 <libm-alias-float.h>.
25048 (truncf): Define using libm_alias_float.
25049 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25050 <libm-alias-float.h>.
25051 (ceilf): Define using libm_alias_float.
25052 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25053 <libm-alias-float.h>.
25054 (copysignf): Define using libm_alias_float.
25055 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25056 <libm-alias-float.h>.
25057 (floorf): Define using libm_alias_float.
25058 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25059 <libm-alias-float.h>.
25060 (llrintf): Define using libm_alias_float.
25061 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25062 <libm-alias-float.h>.
25063 (llroundf): Define using libm_alias_float.
25064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25065 <libm-alias-float.h>.
25066 (nearbyintf): Define using libm_alias_float.
25067 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25068 <libm-alias-float.h>.
25069 (rintf): Define using libm_alias_float.
25070 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25071 <libm-alias-float.h>.
25072 (roundf): Define using libm_alias_float.
25073 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25074 <libm-alias-float.h>.
25075 (truncf): Define using libm_alias_float.
25076 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25077 <libm-alias-float.h>.
25078 (ceilf): Define using libm_alias_float.
25079 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25080 <libm-alias-float.h>.
25081 (floorf): Define using libm_alias_float.
25082 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25083 <libm-alias-float.h>.
25084 (llroundf): Define using libm_alias_float.
25085 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25086 <libm-alias-float.h>.
25087 (roundf): Define using libm_alias_float.
25088 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25089 <libm-alias-float.h>.
25090 (truncf): Define using libm_alias_float.
25091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25092 <libm-alias-float.h>.
25093 (copysignf): Define using libm_alias_float.
25094 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25095 <libm-alias-float.h>.
25096 (llrintf): Define using libm_alias_float.
25097 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25098 <libm-alias-float.h>.
25099 (llroundf): Define using libm_alias_float.
25100 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25101 <libm-alias-float.h>.
25102 (cosf): Define using libm_alias_float.
25103 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25104 <libm-alias-float.h>.
25105 (llrintf): Define using libm_alias_float.
25106 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25107 <libm-alias-float.h>.
25108 (llroundf): Define using libm_alias_float.
25109 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25110 <libm-alias-float.h>.
25111 (sinf): Define using libm_alias_float.
25112
25113 2017-12-04 Florian Weimer <fweimer@redhat.com>
25114
25115 * support/check.h (TEST_COMPARE): Define.
25116 (support_test_compare_failure): Declare.
25117 * support/Makefile (libsupport-routines): Add
25118 support_test_compare_failure.
25119 (tests): Add tst-test_compare.
25120 * support /support_test_compare_failure.c: New file.
25121 * support/tst-test_compare.c: Likewise.
25122
25123 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25124
25125 [BZ #22527]
25126 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25127 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25128 available, this rewrite of the collation rules does reproduce
25129 the test file in the same order.
25130
25131 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25132
25133 [BZ #10580]
25134 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25135 digraphs in the month and day names. Using single code points for
25136 digraphs is deprecated. While there are dedicated Unicode
25137 codepoints, for the digraphs, these are included for backwards
25138 compatibility and modern texts use a sequence of Basic Latin
25139 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25140 This makes the month and day names agree exactly with CLDR now,
25141 CLDR does not use the single code points for the digraphs either.
25142
25143 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25144
25145 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25146
25147 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25148
25149 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25150 of floor.
25151
25152 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25153
25154 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25155 Define only for libc.so.
25156
25157 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25158
25159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25160 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25161 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25162 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25164
25165 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25166
25167 [BZ #5997]
25168 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25169
25170 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25171
25172 [BZ libc/19170]
25173 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25174 PREINIT_FUNCTION_WEAK is nonzero.
25175 (gmon_initializer): New function. Put procedure label for it in
25176 .init_array section.
25177 (_init): Don't call PREINIT_FUNCTION.
25178 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25179 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25180 value when map argument is null.
25181
25182 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25183 depi instruction from PIC pc-relative sequence.
25184 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25185 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25186 (elf_machine_load_address): Likewise.
25187 (elf_machine_runtime_setup): Likewise.
25188
25189 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25190
25191 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25192 <libm-alias-double.h>.
25193 (logb): Define using libm_alias_double.
25194 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25195 <libm-alias-double.h>.
25196 (copysign): Define using libm_alias_double.
25197 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25198 <libm-alias-double.h>.
25199 (llrint): Define using libm_alias_double.
25200 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25201 <libm-alias-double.h>.
25202 (llround): Define using libm_alias_double.
25203 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25204 <libm-alias-double.h>.
25205 (lrint): Define using libm_alias_double.
25206 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25207 <libm-alias-double.h>.
25208 (lround): Define using libm_alias_double.
25209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25210 Include <libm-alias-double.h>.
25211 (copysign): Define using libm_alias_double.
25212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25213 Include <libm-alias-double.h>.
25214 (llrint): Define using libm_alias_double.
25215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25216 Include <libm-alias-double.h>.
25217 (llround): Define using libm_alias_double.
25218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25219 <libm-alias-double.h>.
25220 (logb): Define using libm_alias_double.
25221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25222 Include <libm-alias-double.h>.
25223 (lrint): Define using libm_alias_double.
25224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25225 Include <libm-alias-double.h>.
25226 (lround): Define using libm_alias_double.
25227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25228 <libm-alias-double.h>.
25229 (llrint): Define using libm_alias_double.
25230 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25231 <libm-alias-double.h>.
25232 (llround): Define using libm_alias_double.
25233 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25234 <libm-alias-double.h>.
25235 (llround): Define using libm_alias_double.
25236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25237 <libm-alias-double.h>.
25238 (lround): Define using libm_alias_double.
25239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25240 <libm-alias-double.h>.
25241 (copysign): Define using libm_alias_double.
25242 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25243 <libm-alias-double.h>.
25244 (llrint): Define using libm_alias_double.
25245 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25246 <libm-alias-double.h>.
25247 (llround): Define using libm_alias_double.
25248 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25249 <libm-alias-double.h>.
25250 (lrint): Define using libm_alias_double.
25251 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25252 <libm-alias-double.h>.
25253 (lround): Define using libm_alias_double.
25254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25255 <libm-alias-double.h>.
25256 (copysign): Define using libm_alias_double.
25257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25258 <libm-alias-double.h>.
25259 (llrint): Define using libm_alias_double.
25260 (lrint): Likewise.
25261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25262 <libm-alias-double.h>.
25263 (llround): Define using libm_alias_double.
25264 (lround): Likewise.
25265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25266 <libm-alias-double.h>.
25267 (logb): Define using libm_alias_double.
25268 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25269 <libm-alias-double.h>.
25270 (copysign): Define using libm_alias_double.
25271 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25272 <libm-alias-double.h>.
25273 (llrint): Define using libm_alias_double.
25274 (lrint): Likewise.
25275 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25276 <libm-alias-double.h>.
25277 (llround): Define using libm_alias_double.
25278 (lround): Likewise.
25279 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25280 <libm-alias-double.h>.
25281 (llround): Define using libm_alias_double.
25282 (lround): Likewise.
25283 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25284 <libm-alias-double.h>.
25285 (copysign): Define using libm_alias_double.
25286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25287 <libm-alias-double.h>.
25288 (llrint): Define using libm_alias_double.
25289 (lrint): Likewise.
25290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25291 <libm-alias-double.h>.
25292 (llround): Define using libm_alias_double.
25293 (lround): Likewise.
25294 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25295 <libm-alias-double.h>.
25296 (llrint): Define using libm_alias_double.
25297 (lrint): Likewise.
25298 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25299 <libm-alias-double.h>.
25300 (llround): Define using libm_alias_double.
25301 (lround): Likewise.
25302
25303 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25304
25305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25306 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25307 compat symbol based on llround.
25308
25309 * sysdeps/powerpc/power7/fpu/s_logb.c
25310 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25311 symbol based on __logb, not on logb.
25312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25313 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25315 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25316
25317 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25318 (rint): Define using libm_alias_double.
25319 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25320 <libm-alias-double.h>.
25321 (modf): Define using libm_alias_double.
25322 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25323 <libm-alias-double.h>.
25324 (ceil): Define using libm_alias_double.
25325 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25326 <libm-alias-double.h>.
25327 (floor): Define using libm_alias_double.
25328 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25329 <libm-alias-double.h>.
25330 (nearbyint): Define using libm_alias_double.
25331 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25332 <libm-alias-double.h>.
25333 (rint): Define using libm_alias_double.
25334 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25335 <libm-alias-double.h>.
25336 (round): Define using libm_alias_double.
25337 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25338 <libm-alias-double.h>.
25339 (trunc): Define using libm_alias_double.
25340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25341 <libm-alias-double.h>.
25342 (ceil): Define using libm_alias_double.
25343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25344 Include <libm-alias-double.h>.
25345 (floor): Define using libm_alias_double.
25346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25347 <libm-alias-double.h>.
25348 (modf): Define using libm_alias_double.
25349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25350 Include <libm-alias-double.h>.
25351 (round): Define using libm_alias_double.
25352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25353 Include <libm-alias-double.h>.
25354 (trunc): Define using libm_alias_double.
25355 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25356 <libm-alias-double.h>.
25357 (ceil): Define using libm_alias_double.
25358 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25359 <libm-alias-double.h>.
25360 (floor): Define using libm_alias_double.
25361 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25362 <libm-alias-double.h>.
25363 (round): Define using libm_alias_double.
25364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25365 <libm-alias-double.h>.
25366 (trunc): Define using libm_alias_double.
25367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25368 <libm-alias-double.h>.
25369 (ceil): Define using libm_alias_double.
25370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25371 <libm-alias-double.h>.
25372 (floor): Define using libm_alias_double.
25373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25374 <libm-alias-double.h>.
25375 (modf): Define using libm_alias_double.
25376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25377 <libm-alias-double.h>.
25378 (round): Define using libm_alias_double.
25379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25380 <libm-alias-double.h>.
25381 (trunc): Define using libm_alias_double.
25382 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25383 <libm-alias-double.h>.
25384 (ceil): Define using libm_alias_double.
25385 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25386 <libm-alias-double.h>.
25387 (floor): Define using libm_alias_double.
25388 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25389 <libm-alias-double.h>.
25390 (nearbyint): Define using libm_alias_double.
25391 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25392 <libm-alias-double.h>.
25393 (rint): Define using libm_alias_double.
25394 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25395 <libm-alias-double.h>.
25396 (round): Define using libm_alias_double.
25397 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25398 <libm-alias-double.h>.
25399 (trunc): Define using libm_alias_double.
25400 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25401 <libm-alias-double.h>.
25402 (ceil): Define using libm_alias_double.
25403 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25404 <libm-alias-double.h>.
25405 (floor): Define using libm_alias_double.
25406 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25407 <libm-alias-double.h>.
25408 (round): Define using libm_alias_double.
25409 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25410 <libm-alias-double.h>.
25411 (trunc): Define using libm_alias_double.
25412
25413 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25414 (fabs): Define using libm_alias_double.
25415 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25416 (fma): Define using libm_alias_double.
25417 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25418 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25419 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25420 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25421
25422 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25423
25424 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25425
25426 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25427 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25428 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25429
25430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25431 due redirect macro.
25432
25433 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25434
25435 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25436
25437 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25438
25439 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25440 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25441 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25442 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25443
25444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25445 (libm-sysdep_routines): Add s_nearbyintf-generic and
25446 s_nearbyint-generic.
25447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25448 New file.
25449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25451 Likewise.
25452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25453 Likewise.
25454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25455 file.
25456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25457 Likewise.
25458
25459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25460 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25462 file.
25463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25465 Likewise.
25466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25469
25470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25471 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25473 file.
25474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25476 Likewise.
25477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25480
25481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25482 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25484 file.
25485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25487 Likewise.
25488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25491
25492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25493 (sysdep_calls): New rule.
25494 (sysdep_routines): Use sysdep_calls as base.
25495 (libm-sysdep_routines): Add generic rule for symbols shared with
25496 libc. Add s_copysign-generic and s_copysign-generic objects.
25497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25498 New file.
25499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25501 Likewise.
25502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25505
25506 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25507
25508 [BZ #22519]
25509 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25510 the list of locales to be built for testing.
25511 * localedata/is_IS.UTF-8.in: New file.
25512 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25513 on iso14651_t1.
25514
25515 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25516
25517 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25518 <libm-alias-float.h>.
25519 (fabsf): Define using libm_alias_float.
25520
25521 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25522
25523 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25524
25525 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25526
25527 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25528 <libm-alias-float.h>.
25529 (fabsf): Define using libm_alias_float.
25530 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25531 <libm-alias-float.h>.
25532 (lrintf): Define using libm_alias_float.
25533 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25534 <libm-alias-float.h>.
25535 (rintf): Define using libm_alias_float.
25536
25537 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25538 <libm-alias-double.h>.
25539 (fabs): Define using libm_alias_double.
25540 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25541 <libm-alias-double.h>.
25542 (lrint): Define using libm_alias_double.
25543 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25544 <libm-alias-double.h>.
25545 (rint): Define using libm_alias_double.
25546
25547 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25548 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25549 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25550 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25551 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25552 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25553 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25554 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25555 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25556 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25557 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25558 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25559 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25560 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25561 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25562 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25563 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25564 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25565 s_atan_template.c.
25566 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25567 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25568 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25569 s_ceil_template.c.
25570 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25571 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25572 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25573 s_cos_template.c.
25574 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25575 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25576 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25577 s_expm1_template.c.
25578 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25579 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25580 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25581 s_fabs_template.c.
25582 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25583 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25584 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25585 s_floor_template.c.
25586 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25587 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25588 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25589 s_frexp_template.c.
25590 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25591 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25592 s_lrint_template.c.
25593 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25594 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25595 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25596 s_modf_template.c.
25597 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25598 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25599 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25600 s_nearbyint_template.c.
25601 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25602 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25603 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25604 s_remquo_template.c.
25605 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25606 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25607 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25608 s_rint_template.c.
25609 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25610 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25611 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25612 s_sin_template.c.
25613 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25614 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25615 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25616 s_sincos_template.c.
25617 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25618 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25619 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25620 s_tan_template.c.
25621 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25622 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25623 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25624 s_tanh_template.c.
25625 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25626 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25627 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25628 s_trunc_template.c.
25629 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25630 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25631 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25632 s_atan.c instead of including s_atan.c.
25633 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25634 s_atanf.c instead of including s_atanf.c.
25635 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25636 s_atanl.c instead of including s_atanl.c.
25637 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25638 instead of s_atan.c.
25639 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25640 instead of s_atanf.c.
25641 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25642 instead of s_atanl.c.
25643
25644 * scripts/update-copyrights: Do not handle intl/plural.c
25645 specially.
25646
25647 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25648
25649 [BZ #22432]
25650 * configure.ac (BISON): Require to be present.
25651 * configure: Regenerated.
25652 * intl/Makefile (generated): Add plural.c.
25653 [$(BISON) != no]: Make code unconditional.
25654 (plural.c): Change rule to $(objpfx)plural.c.
25655 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25656 * intl/plural.c: Remove.
25657 * manual/install.texi (Tools for Compilation): Document bison as
25658 required.
25659 * INSTALL: Regenerated.
25660
25661 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25662
25663 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25664 <libm-alias-double.h>.
25665 (llrint): Define using libm_alias_double.
25666 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25667 <libm-alias-float.h>.
25668 (llrintf): Define using libm_alias_float.
25669 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25670 <libm-alias-ldouble.h>.
25671 (llrintl): Define using libm_alias_ldouble.
25672
25673 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25674 declare_mgen_alias instead of weak_alias.
25675 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25676 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25677 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25678
25679 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25680
25681 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25682 Add add_n-generic.
25683 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25684 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25685 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25686
25687 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25688 Add submul_1-generic.
25689 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25690 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25691 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25692
25693 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25694 Add addmul_1-generic.
25695 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25696 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25697 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25698
25699 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25700 Add sub_n-generic.
25701 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25702 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25703 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25704
25705 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25706 Add mul_1-generic.
25707 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25708 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25709 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25710
25711 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25712
25713 According to CLDR, collation rules for Serbian and Bosnian
25714 should be the same as for Croatian.
25715
25716 [BZ #22534]
25717 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25718 and to the list of locales to be built for testing.
25719 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25720 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25721 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25722 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25723
25724 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25725
25726 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25727 to make test case pass.
25728 * localedata/hr_HR.UTF-8.in: Add more test strings.
25729
25730 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25731
25732 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25733
25734 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25735
25736 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25737 the list of locales to built for testing.
25738 * localedata/hr_HR.UTF-8.in: New file.
25739
25740 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25741
25742 [BZ #10580]
25743 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25744 iso14651_t1.
25745 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25746 CLDR (except use ligatures for the digraphs, CLDR does not use
25747 the ligatures), add first_workday, some fixes in the date and time
25748 formats.
25749 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25750 for Đ and đ.
25751 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25752 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25753 Add int_p_cs_precedes and int_n_cs_precedes.
25754 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25755 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25756 LC_MONETARY now).
25757 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25758 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25759 name_miss.
25760 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25761 and lang_lib. Change postal_fmt.
25762
25763 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25764
25765 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25766 <setjmp.h>.
25767 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25768 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25769 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25770 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25771 * sysdeps/generic/setjmpP.h: New file.
25772 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25773 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25774 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25775 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25776 Add jmp_buf-ssp.sym.
25777 (tests): Add tst-saved_mask-1.
25778
25779 2017-11-30 Arjun Shankar <arjun@redhat.com>
25780
25781 [BZ #22375]
25782 CVE-2017-17426
25783 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25784 instead of request2size.
25785
25786 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25787
25788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25789 (__lllrint): Remove alias.
25790 (lllrint): Likewise.
25791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25792 (__lllrintf): Likewise.
25793 (lllrintf): Likewise.
25794
25795 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25796 <libm-alias-float.h>.
25797 (copysignf): Define using libm_alias_float.
25798 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25799 <libm-alias-float.h>.
25800 (fabsf): Define using libm_alias_float.
25801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25802 Include <libm-alias-float.h>.
25803 (copysignf): Define using libm_alias_float.
25804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25805 <libm-alias-float.h>.
25806 (fabsf): Define using libm_alias_float.
25807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25808 <libm-alias-float.h>.
25809 (fdimf): Define using libm_alias_float.
25810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25811 <libm-alias-float.h>.
25812 (fmaf): Define using libm_alias_float.
25813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25814 <libm-alias-float.h>.
25815 (llrintf): Define using libm_alias_float.
25816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25817 Include <libm-alias-float.h>.
25818 (nearbyintf): Define using libm_alias_float.
25819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25820 <libm-alias-float.h>.
25821 (rintf): Define using libm_alias_float.
25822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25823 <libm-alias-float.h>.
25824 (llrintf): Define using libm_alias_float.
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25826 <libm-alias-float.h>.
25827 (lrintf): Define using libm_alias_float.
25828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25829 <libm-alias-float.h>.
25830 (nearbyintf): Define using libm_alias_float.
25831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25832 <libm-alias-float.h>.
25833 (rintf): Define using libm_alias_float.
25834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25835 <libm-alias-float.h>.
25836 (ceilf): Define using libm_alias_float.
25837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25838 <libm-alias-float.h>.
25839 (floorf): Define using libm_alias_float.
25840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25841 <libm-alias-float.h>.
25842 (fmaf): Define using libm_alias_float.
25843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25844 <libm-alias-float.h>.
25845 (lrintf): Define using libm_alias_float.
25846 (llrintf): Likewise.
25847 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25848 <libm-alias-float.h>.
25849 (nearbyintf): Define using libm_alias_float.
25850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25851 <libm-alias-float.h>.
25852 (rintf): Define using libm_alias_float.
25853 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25854 <libm-alias-float.h>.
25855 (truncf): Define using libm_alias_float.
25856 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25857 <libm-alias-float.h>.
25858 (copysignf): Define using libm_alias_float.
25859 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25860 <libm-alias-float.h>.
25861 (fabsf): Define using libm_alias_float.
25862 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25863 <libm-alias-float.h>.
25864 (lrintf): Define using libm_alias_float.
25865 (llrintf): Likewise.
25866 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25867 <libm-alias-float.h>.
25868 (nearbyintf): Define using libm_alias_float.
25869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25870 <libm-alias-float.h>.
25871 (rintf): Define using libm_alias_float.
25872
25873 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25874
25875 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25876 <libm-alias-double.h>.
25877 (copysign): Define using libm_alias_double.
25878 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25879 <libm-alias-double.h>.
25880 (fabs): Define using libm_alias_double.
25881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25882 Include <libm-alias-double.h>.
25883 (copysign): Define using libm_alias_double.
25884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25885 <libm-alias-double.h>.
25886 (fabs): Define using libm_alias_double.
25887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25888 <libm-alias-double.h>.
25889 (fdim): Define using libm_alias_double.
25890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25891 <libm-alias-double.h>.
25892 (fma): Define using libm_alias_double.
25893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25894 <libm-alias-double.h>.
25895 (llrint): Define using libm_alias_double.
25896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25897 Include <libm-alias-double.h>.
25898 (nearbyint): Define using libm_alias_double.
25899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25900 <libm-alias-double.h>.
25901 (rint): Define using libm_alias_double.
25902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25903 <libm-alias-double.h>.
25904 (fabs): Define using libm_alias_double.
25905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25906 <libm-alias-double.h>.
25907 (llrint): Define using libm_alias_double.
25908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25909 <libm-alias-double.h>.
25910 (nearbyint): Define using libm_alias_double.
25911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25912 <libm-alias-double.h>.
25913 (rint): Define using libm_alias_double.
25914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25915 <libm-alias-double.h>.
25916 (ceil): Define using libm_alias_double.
25917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25918 <libm-alias-double.h>.
25919 (floor): Define using libm_alias_double.
25920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25921 <libm-alias-double.h>.
25922 (fma): Define using libm_alias_double.
25923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25924 <libm-alias-double.h>.
25925 (lrint): Define using libm_alias_double.
25926 (llrint): Likewise.
25927 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25928 <libm-alias-double.h>.
25929 (nearbyint): Define using libm_alias_double.
25930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25931 <libm-alias-double.h>.
25932 (rint): Define using libm_alias_double.
25933 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25934 <libm-alias-double.h>.
25935 (trunc): Define using libm_alias_double.
25936 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
25937 <libm-alias-double.h>.
25938 (copysign): Define using libm_alias_double.
25939 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
25940 <libm-alias-double.h>.
25941 (fabs): Define using libm_alias_double.
25942 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
25943 <libm-alias-double.h>.
25944 (lrint): Define using libm_alias_double.
25945 (llrint): Likewise.
25946 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25947 <libm-alias-double.h>.
25948 (nearbyint): Define using libm_alias_double.
25949 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25950 <libm-alias-double.h>.
25951 (rint): Define using libm_alias_double.
25952
25953 [BZ #22229]
25954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25955 <math_ldbl_opt.h>.
25956 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25957
25958 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25959 SPARC --disable-multi-arch glibc variants.
25960
25961 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25962 <libm-alias-float.h>.
25963 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25964 if [SHARED].
25965 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25966 <libm-alias-float.h>.
25967 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25968 if [SHARED].
25969 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25970 <libm-alias-float.h>.
25971 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25972 if [SHARED].
25973 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25974 <libm-alias-float.h>.
25975 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25976 if [SHARED].
25977 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25978 <libm-alias-float.h>.
25979 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25980 if [SHARED].
25981 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25982 <libm-alias-float.h>.
25983 (ceilf): Define using libm_alias_float.
25984 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25985 <libm-alias-float.h>.
25986 (floorf): Define using libm_alias_float.
25987 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25988 <libm-alias-float.h>.
25989 (fmaf): Define using libm_alias_float.
25990 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25991 <libm-alias-float.h>.
25992 (nearbyintf): Define using libm_alias_float.
25993 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25994 <libm-alias-float.h>.
25995 (rintf): Define using libm_alias_float.
25996 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25997 <libm-alias-float.h>.
25998 (truncf): Define using libm_alias_float.
25999 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26000 (copysignf): Define using libm_alias_float.
26001 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26002 (cosf): Define using libm_alias_float.
26003 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26004 (fabsf): Define using libm_alias_float.
26005 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26006 (fmaxf): Define using libm_alias_float.
26007 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26008 (fminf): Define using libm_alias_float.
26009 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26010 (llrintf): Define using libm_alias_float.
26011 [!__ILP32__] (lrintf): Likewise.
26012 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26013 (sincosf): Define using libm_alias_float.
26014 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26015 (sinf): Define using libm_alias_float.
26016 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26017 (lrintf): Define using libm_alias_float.
26018
26019 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26020 <libm-alias-double.h>.
26021 (atan): Define using libm_alias_double.
26022 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26023 <libm-alias-double.h>.
26024 (ceil): Define using libm_alias_double.
26025 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26026 <libm-alias-double.h>.
26027 (floor): Define using libm_alias_double.
26028 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26029 <libm-alias-double.h>.
26030 (fma): Define using libm_alias_double.
26031 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26032 <libm-alias-double.h>.
26033 (nearbyint): Define using libm_alias_double.
26034 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26035 <libm-alias-double.h>.
26036 (rint): Define using libm_alias_double.
26037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26038 <libm-alias-double.h>.
26039 (sin): Define using libm_alias_double.
26040 (cos): Likewise.
26041 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26042 <libm-alias-double.h>.
26043 (tan): Define using libm_alias_double.
26044 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26045 <libm-alias-double.h>.
26046 (trunc): Define using libm_alias_double.
26047 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26048 (copysign): Define using libm_alias_double.
26049 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26050 (fabs): Define using libm_alias_double.
26051 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26052 (fmax): Define using libm_alias_double.
26053 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26054 (fmin): Define using libm_alias_double.
26055 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26056 (llrint): Define using libm_alias_double.
26057 [!__ILP32__] (lrint): Likewise.
26058 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26059 (lrint): Define using libm_alias_double.
26060
26061 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26062
26063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26064 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26065 objects.
26066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26067 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26072
26073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26074 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26075 objects.
26076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26082
26083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26084 (libm-sysdep_routines): Add s_nearbyint-generic and
26085 s_nearbyintf-generic objects.
26086 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26087 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26088 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26089 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26091 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26092
26093 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26094 Add s_finitef-generic and s_finite-generic objects.
26095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26101
26102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26103 Add s_isinff-generic and s_isinf-generic objects.
26104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26110
26111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26112 Add s_isnanf-generic and s_isnan-generic objects.
26113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26119
26120 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26121 macro.
26122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26123 rule.
26124 (sysdep_routines): Use sysdep_calls as base.
26125 (libm-sysdep_routines): Add generic rule for symbols shared with
26126 libc. Add s_signbit-generic and s_signbitf-generic objects.
26127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26133
26134 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26135
26136 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26137 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26138 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26139 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26140 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26141 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26142 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26143 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26144 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26145 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26146 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26147 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26148 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26149 libm_alias_float_r.
26150 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26151 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26152 (logf): Likewise.
26153 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26154 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26155 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26156 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26157 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26158 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26159 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26160 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26161 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26162 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26163 libm_alias_float.
26164 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26165 (cosf): Likewise.
26166 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26167 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26168 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26169 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26170 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26171 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26172 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26173 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26174 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26175 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26176 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26177 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26178 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26179 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26180 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26181 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26182 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26183 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26184 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26185 libm_alias_float.
26186 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26187 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26188 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26189 * sysdeps/ia64/fpu/w_lgammaf_main.c
26190 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26191 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26192
26193 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26194 Alexandre Oliva <aoliva@redhat.com>
26195
26196 [BZ #17750]
26197 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26198 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26199 accents sorting.
26200 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26201 sorting.
26202 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26203 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26204 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26205 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26206 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26207 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26208 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26209 instead of “ifdef DIACRIT_BACKWARD”.
26210
26211 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26212
26213 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26214 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26215 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26216 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26217 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26218 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26225 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26226 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26227 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26228 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26229 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26230 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26232 ($(have-as-vis3) == yes): Remove conditional.
26233 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26234 Likewise.
26235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26236 file.
26237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26238 file.
26239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26240 file.
26241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26242 file.
26243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26249 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26250 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26251
26252 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26253
26254 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26255 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26256 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26257 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26258 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26259 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26260 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26261 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26262 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26263 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26264 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26265 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26266 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26267 libm_alias_double_r.
26268 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26269 (log): Likewise.
26270 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26271 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26272 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26273 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26274 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26275 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26276 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26277 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26278 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26279 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26280 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26281 libm_alias_double.
26282 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26283 (cos): Likewise.
26284 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26285 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26286 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26287 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26288 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26289 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26290 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26291 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26292 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26293 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26294 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26295 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26296 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26297 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26298 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26299 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26300 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26301 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26302 libm_alias_double.
26303 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26304 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26305 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26306 * sysdeps/ia64/fpu/w_lgamma_main.c
26307 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26308 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26309
26310 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26311
26312 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26313 address of $global$ into %dp register earlier. Use pc-relative
26314 instruction sequence for PIC case.
26315
26316 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26317
26318 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26319 (asinhf): Define using libm_alias_float.
26320 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26321 (atanf): Define using libm_alias_float.
26322 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26323 (cbrtf): Define using libm_alias_float.
26324 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26325 (ceilf): Define using libm_alias_float.
26326 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26327 (copysignf): Define using libm_alias_float.
26328 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26329 (expm1f): Define using libm_alias_float.
26330 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26331 (fabsf): Define using libm_alias_float.
26332 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26333 (floorf): Define using libm_alias_float.
26334 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26335 (fmaxf): Define using libm_alias_float.
26336 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26337 (fminf): Define using libm_alias_float.
26338 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26339 (frexpf): Define using libm_alias_float.
26340 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26341 (llrintf): Define using libm_alias_float.
26342 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26343 (logbf): Define using libm_alias_float.
26344 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26345 (lrintf): Define using libm_alias_float.
26346 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26347 (nearbyintf): Define using libm_alias_float.
26348 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26349 (remquof): Define using libm_alias_float.
26350 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26351 (rintf): Define using libm_alias_float.
26352 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26353 (truncf): Define using libm_alias_float.
26354 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26355 <libm-alias-float.h>.
26356 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26357 if [SHARED].
26358 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26359 <libm-alias-float.h>.
26360 (expf): Define using libm_alias_float, or libm_alias_float_other
26361 if [SHARED].
26362 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26363 <libm-alias-float.h>.
26364 (log2f): Define using libm_alias_float, or libm_alias_float_other
26365 if [SHARED].
26366 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26367 <libm-alias-float.h>.
26368 (logf): Define using libm_alias_float, or libm_alias_float_other
26369 if [SHARED].
26370 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26371 <libm-alias-float.h>.
26372 (powf): Define using libm_alias_float, or libm_alias_float_other
26373 if [SHARED].
26374 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26375 <libm-alias-float.h>.
26376 (cosf): Define using libm_alias_float.
26377 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26378 <libm-alias-float.h>.
26379 (sincosf): Define using libm_alias_float.
26380 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26381 <libm-alias-float.h>.
26382 (sinf): Define using libm_alias_float.
26383 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26384 (fmaxf): Define using libm_alias_float.
26385 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26386 (fminf): Define using libm_alias_float.
26387 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26388 <libm-alias-float.h>.
26389 (fmaf): Define using libm_alias_float.
26390
26391 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26392 (asinh): Define using libm_alias_double.
26393 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26394 (atan): Define using libm_alias_double.
26395 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26396 (cbrt): Define using libm_alias_double.
26397 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26398 (ceil): Define using libm_alias_double.
26399 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26400 (copysign): Define using libm_alias_double.
26401 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26402 (expm1): Define using libm_alias_double.
26403 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26404 (fabs): Define using libm_alias_double.
26405 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26406 (fdim): Define using libm_alias_double.
26407 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26408 (floor): Define using libm_alias_double.
26409 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26410 (fmax): Define using libm_alias_double.
26411 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26412 (fmin): Define using libm_alias_double.
26413 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26414 (frexp): Define using libm_alias_double.
26415 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26416 (llrint): Define using libm_alias_double.
26417 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26418 (logb): Define using libm_alias_double.
26419 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26420 (lrint): Define using libm_alias_double.
26421 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26422 (nearbyint): Define using libm_alias_double.
26423 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26424 (remquo): Define using libm_alias_double.
26425 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26426 (rint): Define using libm_alias_double.
26427 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26428 (trunc): Define using libm_alias_double.
26429 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26430 (fmax): Define using libm_alias_double.
26431 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26432 (fmin): Define using libm_alias_double.
26433 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26434 (fma): Define using libm_alias_double.
26435
26436 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26437
26438 [BZ #22370]
26439 * elf/dl-hwcaps.c (ROUND): Removed.
26440 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26441 and ELF_NOTE_NEXT_OFFSET.
26442 * elf/dl-load.c (ROUND): Removed.
26443 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26444 * elf/readelflib.c (ROUND): Removed.
26445 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26446 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26447 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26448 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26449
26450 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26451
26452 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26453 [!__fmaf] (fmaf): Define using libm_alias_float.
26454
26455 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26456 [!__fma] (fma): Define using libm_alias_double.
26457 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26458
26459 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26460
26461 [BZ #22336]
26462 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26463 and implement the collation rules for cs from CLDR on top of that.
26464 * Makefile: Add cs_CZ.UTF-8 to test-input.
26465 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26466
26467 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26468
26469 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26470
26471 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26472 Icarus Sparry <icarus.w.sparry@intel.com>
26473
26474 * benchtests/Makefile:Add BENCHSET to allow subsets of
26475 benchmarks to be run.
26476 * benchtests/README: Add documentation for: Running subsets of
26477 benchmarks.
26478
26479 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26480
26481 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26482 range of tests names.
26483
26484 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26485 result from property and remove "max", min" and "mean" from
26486 required properties based on benchtests/bench-skeleton.c.
26487
26488 2017-11-28 Florian Weimer <fweimer@redhat.com>
26489
26490 [BZ #20826]
26491 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26492 due to Internet requirement.
26493 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26494 tst-getaddrinfo5.
26495 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26496
26497 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26498
26499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26500 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26501 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26502 (sysdep_routines): Add memset-ultra1.
26503 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26504 file.
26505 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26506 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26507 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26508 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26509 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26510 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26511 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26513
26514 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26515 file.
26516 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26517 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26518 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26519 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26520 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26521 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26522 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26523 macro.
26524 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26525 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26526 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26527 (sysdep_routines): Add memcpy-ultra1.
26528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26529 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26530
26531 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26532
26533 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26534 (cfloat_versions): Take function argument without trailing 'f'.
26535 Call libm_alias_float_other.
26536 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26537 * sysdeps/alpha/fpu/cargf.c: Likewise.
26538 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26539 * sysdeps/alpha/fpu/conjf.c: Likewise.
26540 * sysdeps/alpha/fpu/crealf.c: Likewise.
26541 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26542 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26543 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26544 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26545 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26546 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26547 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26548 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26549 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26550 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26551 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26552 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26553 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26554 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26555 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26556 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26557 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26558 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26559 (clog10f): Use libm_alias_float_other.
26560 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26561 (ceilf): Define using libm_alias_float.
26562 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26563 (copysignf): Define using libm_alias_float.
26564 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26565 (fabsf): Define using libm_alias_float.
26566 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26567 (floorf): Define using libm_alias_float.
26568 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26569 (fmaxf): Define using libm_alias_float.
26570 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26571 (fminf): Define using libm_alias_float.
26572 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26573 (lrintf): Define using libm_alias_float.
26574 (llrintf): Likewise.
26575 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26576 (lroundf): Define using libm_alias_float.
26577 (llroundf): Likewise.
26578 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26579 (rintf): Define using libm_alias_float.
26580 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26581 (truncf): Define using libm_alias_float.
26582
26583 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26584 (ceilf): Define using libm_alias_float.
26585 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26586 (floorf): Define using libm_alias_float.
26587 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26588 (fmaf): Define using libm_alias_float.
26589 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26590 (fmaxf): Define using libm_alias_float.
26591 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26592 (fminf): Define using libm_alias_float.
26593 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26594 (llrintf): Define using libm_alias_float.
26595 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26596 (llroundf): Define using libm_alias_float.
26597 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26598 (lrintf): Define using libm_alias_float.
26599 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26600 (lroundf): Define using libm_alias_float.
26601 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26602 <libm-alias-float.h>.
26603 (nearbyintf): Define using libm_alias_float.
26604 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26605 (rintf): Define using libm_alias_float.
26606 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26607 (roundf): Define using libm_alias_float.
26608 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26609 (truncf): Define using libm_alias_float.
26610
26611 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26612 (ceil): Define using libm_alias_double.
26613 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26614 (copysign): Define using libm_alias_double.
26615 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26616 (fabs): Define using libm_alias_double.
26617 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26618 (floor): Define using libm_alias_double.
26619 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26620 (fmax): Define using libm_alias_double.
26621 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26622 (fmin): Define using libm_alias_double.
26623 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26624 (lrint): Define using libm_alias_double.
26625 (llrint): Likewise.
26626 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26627 (lround): Define using libm_alias_double.
26628 (llround): Likewise.
26629 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26630 (rint): Define using libm_alias_double.
26631 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26632 (trunc): Define using libm_alias_double.
26633
26634 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26635 (libm_alias_double_r): Add semicolon after weak_alias call.
26636
26637 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26638
26639 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26640 (ceil): Define using libm_alias_double.
26641 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26642 (floor): Define using libm_alias_double.
26643 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26644 (fma): Define using libm_alias_double.
26645 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26646 (fmax): Define using libm_alias_double.
26647 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26648 (fmin): Define using libm_alias_double.
26649 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26650 (llrint): Define using libm_alias_double.
26651 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26652 (llround): Define using libm_alias_double.
26653 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26654 (lrint): Define using libm_alias_double.
26655 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26656 (lround): Define using libm_alias_double.
26657 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26658 (nearbyint): Define using libm_alias_double.
26659 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26660 (rint): Define using libm_alias_double.
26661 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26662 (round): Define using libm_alias_double.
26663 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26664 (trunc): Define using libm_alias_double.
26665
26666 2017-11-27 Florian Weimer <fweimer@redhat.com>
26667
26668 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26669 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26670 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26671 (tests): Add tst-mlock2.
26672 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26673 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26674 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26675 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26676 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26677 for mlock. Document mlock2.
26678
26679 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26680
26681 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26682 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26683 Likewise.
26684 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26685 Likewise.
26686 * sysdeps/x86/Makeconfig: New file.
26687 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26688 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26689 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26690 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26691 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26692 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26693 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26694 Likewise.
26695 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26696 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26697 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26698 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26699 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26700 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26701 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26702 * manual/math.texi (Mathematics): Document support for _Float64x.
26703 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26704 * stdlib/Versions (GLIBC_2.27): Likewise.
26705 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26706 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26707 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26708 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26709 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26710 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26711 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26712 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26713 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26714 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26715 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26716 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26718 Likewise.
26719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26720 Likewise.
26721 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26722 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26723 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26724 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26725 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26726 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26727 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26728 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26729 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26730 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26731 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26732 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26733 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26734 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26735
26736 2017-11-27 Andreas Schwab <schwab@suse.de>
26737
26738 * elf/Makefile (dl-routines): Add dl-sort-maps.
26739 * elf/dl-sort-maps.c: New file.
26740 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26741 (_dl_sort_maps): Declare.
26742 * elf/dl-fini.c (_dl_sort_fini): Remove.
26743 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26744 * elf/dl-close.c (_dl_close_worker): Likewise.
26745 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26746 open-coding it.
26747 * elf/dl-open.c (dl_open_worker): Likewise.
26748
26749 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26750
26751 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26752 using libm_alias_float128.
26753 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26754 Likewise.
26755 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26756 Likewise.
26757 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26758 (setpayloadsigf128): Likewise.
26759 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26760 Likewise.
26761 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26762 Likewise.
26763
26764 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26765 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26766 -mfloat128 to CFLAGS.
26767 ($(foreach
26768 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26769 Likewise.
26770 (CFLAGS-libm-test-support-float64x.c): New variable.
26771 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26772 $(f128-loader-link) to gnulib-tests.
26773
26774 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26775 (libm_alias_float128_other_r): If
26776 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26777 alias.
26778 (libm_alias_float128_r): Add semicolon after weak_alias call.
26779 * sysdeps/generic/libm-alias-ldouble.h
26780 (libm_alias_ldouble_other_r_f128): New macro.
26781 (libm_alias_ldouble_other_r_f64x): Likewise.
26782 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26783 and libm_alias_ldouble_other_r_f64x.
26784 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26785 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26786 (libm_alias_ldouble_other_r_f128): New macro.
26787 (libm_alias_ldouble_other_r_f64x): Likewise.
26788 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26789 and libm_alias_ldouble_other_r_f64x.
26790
26791 * stdlib/strfroml.c: Always include <stdlib.h>.
26792 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26793 undefine as macro and define as weak alias.
26794 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26795 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26796 <stdlib.h>.
26797 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26798 Define and later undefine as macro and define as weak alias.
26799
26800 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26801 Define and later undefine as macro. Define as weak alias if
26802 [!USE_WIDE_CHAR].
26803 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26804 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26805 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26806 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26807 Define and later undefine as macro. Define as weak alias if
26808 [!USE_WIDE_CHAR].
26809 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26810 Define and later undefine as macro. Define as weak alias if
26811 [USE_WIDE_CHAR].
26812 * sysdeps/ieee754/float128/strtof128_l.c
26813 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26814 Define and later undefine as macro. Define as weak alias if
26815 [!USE_WIDE_CHAR].
26816 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26817 Define and later undefine as macro. Define as weak alias if
26818 [USE_WIDE_CHAR].
26819 * sysdeps/ieee754/ldbl-128/strtold_l.c
26820 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26821 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26822 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26823 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26824 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26825 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26826 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26827 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26828 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26829 * sysdeps/ieee754/ldbl-96/strtold_l.c
26830 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26831 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26832 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26833 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26834
26835 * math/test-float64x.h: New file.
26836 * math/Makefile (type-float64x-yes): New variable.
26837 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26838
26839 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26840 function-like macro.
26841 (min_of_type_): Likewise.
26842 (min_of_type_l): Likewise.
26843 (min_of_type_f128): Likewise.
26844 (min_of_type): Pass () as last argument of __MATH_TG.
26845
26846 * stdlib/tst-strtod-round-skeleton.c
26847 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26848 headers.
26849
26850 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26851 for combinations of long double with _Float64 and _Float64x.
26852
26853 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26854 (__DECL_SIMD_cosf32): Likewise.
26855 (__DECL_SIMD_cosf64): Likewise.
26856 (__DECL_SIMD_cosf32x): Likewise.
26857 (__DECL_SIMD_cosf64x): Likewise.
26858 (__DECL_SIMD_cosf128x): Likewise.
26859 (__DECL_SIMD_sinf16): Likewise.
26860 (__DECL_SIMD_sinf32): Likewise.
26861 (__DECL_SIMD_sinf64): Likewise.
26862 (__DECL_SIMD_sinf32x): Likewise.
26863 (__DECL_SIMD_sinf64x): Likewise.
26864 (__DECL_SIMD_sinf128x): Likewise.
26865 (__DECL_SIMD_sincosf16): Likewise.
26866 (__DECL_SIMD_sincosf32): Likewise.
26867 (__DECL_SIMD_sincosf64): Likewise.
26868 (__DECL_SIMD_sincosf32x): Likewise.
26869 (__DECL_SIMD_sincosf64x): Likewise.
26870 (__DECL_SIMD_sincosf128x): Likewise.
26871 (__DECL_SIMD_logf16): Likewise.
26872 (__DECL_SIMD_logf32): Likewise.
26873 (__DECL_SIMD_logf64): Likewise.
26874 (__DECL_SIMD_logf32x): Likewise.
26875 (__DECL_SIMD_logf64x): Likewise.
26876 (__DECL_SIMD_logf128x): Likewise.
26877 (__DECL_SIMD_expf16): Likewise.
26878 (__DECL_SIMD_expf32): Likewise.
26879 (__DECL_SIMD_expf64): Likewise.
26880 (__DECL_SIMD_expf32x): Likewise.
26881 (__DECL_SIMD_expf64x): Likewise.
26882 (__DECL_SIMD_expf128x): Likewise.
26883 (__DECL_SIMD_powf16): Likewise.
26884 (__DECL_SIMD_powf32): Likewise.
26885 (__DECL_SIMD_powf64): Likewise.
26886 (__DECL_SIMD_powf32x): Likewise.
26887 (__DECL_SIMD_powf64x): Likewise.
26888 (__DECL_SIMD_powf128x): Likewise.
26889
26890 * stdlib/Versions (libc): Move entries for wcstof128 and
26891 wcstof128_l to ....
26892 * wcsmbs/Versions (libc): ... here.
26893 Include <float128-abi.h>.
26894
26895 2017-11-24 Florian Weimer <fweimer@redhat.com>
26896
26897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26898 bits/mman-shared.h.
26899 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26900 <bits/mman-shared.h>.
26901 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26902 to ...
26903 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26904 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26905 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26906 <bits/mman-shared.h>.
26907
26908 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26909
26910 [BZ #22457]
26911 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26912 posix_memalign/free.
26913 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26914
26915 2017-11-22 Mike FABIAN <mfabian@redhat.com>
26916
26917 [BZ #22469]
26918 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26919 and implement the collation rules for pl from CLDR on top of that.
26920 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26921 of locales to be built for testing.
26922 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26923
26924 2017-11-23 Joseph Myers <joseph@codesourcery.com>
26925
26926 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26927 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26928 libm_alias_ldouble_other.
26929 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26930 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26931 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26932 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26933 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26934 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26935 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
26936 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
26937 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
26938 libm_alias_ldouble_r.
26939 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
26940 libm_alias_ldouble_other.
26941 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
26942 (log10l): Likewise.
26943 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
26944 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
26945 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
26946 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26947 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26948 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26949 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26950 (atan2l): Likewise.
26951 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26952 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26953 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26954 libm_alias_ldouble.
26955 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26956 (cosl): Likewise.
26957 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26958 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26959 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26960 (expl): Likewise.
26961 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26962 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26963 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26964 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26965 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26966 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26967 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26968 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26969 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26970 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26971 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26972 libm_alias_ldouble.
26973 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26974 libm_alias_ldouble_other.
26975 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26976 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26977 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26978 libm_alias_ldouble.
26979 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26980 libm_alias_ldouble_other.
26981 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26982 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26983 * sysdeps/ia64/fpu/w_lgammal_main.c
26984 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26985 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26986
26987 2017-11-23 Florian Weimer <fweimer@redhat.com>
26988
26989 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26990 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26991 alike. Remove freeres marker.
26992 * malloc/arena.c (arena_thread_freeres): Call
26993 tcache_thread_shutdown.
26994
26995 2017-11-23 Florian Weimer <fweimer@redhat.com>
26996
26997 [BZ #22459]
26998 Export nscd hash function as __nss_hash.
26999 * include/nss.h (__nss_hash): Declare.
27000 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27001 symbol.
27002 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27003 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27004 of __nscd_hash.
27005 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27006 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27007 * nss/Makefiles (routines): Add nss_hash.
27008 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27009 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27010 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27011 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27012
27013 2017-11-23 Florian Weimer <fweimer@redhat.com>
27014
27015 [BZ #22478]
27016 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27017 Return error code, not -1.
27018 * signal/tst-sigwait-eintr.c: New file.
27019 * signal/Makefile (tests): Add tst-sigwait-eintr.
27020
27021 2017-11-23 Florian Weimer <fweimer@redhat.com>
27022
27023 Linux: Add memfd_create system call wrapper
27024 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27025 tst-memfd_create.
27026 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27027 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27028 [__USE_GNU] (memfd_create): Declare.
27029 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27030 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27031 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27032 * sysdeps/unix/sysv/linux/**.abilist: Update.
27033 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27034
27035 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27036
27037 * localedata/gen-locale.sh: Fix typo in variable name.
27038
27039 * resolv/res_debug.c (p_secstodate): Condition definition on
27040 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27041 directly as __p_secstodate, and as a compat symbol. Do not use
27042 libresolv_hidden_def.
27043 * resolv/resolv.h (p_secstodate): Remove macro and function
27044 declaration.
27045 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27046 using p_secstodate.
27047 * include/resolv.h (__p_secstodate): Do not use
27048 libresolv_hidden_proto.
27049 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27050 (tests-internal): ... here.
27051 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27052 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27053 and declare and use __p_secstodate and use compat_symbol_reference
27054 in that case.
27055 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27056 implementation returning 77.
27057
27058 [BZ #22463]
27059 * resolv/res_debug.c: Include <libc-diag.h>.
27060 (p_secstodate): Assert time_t at least as wide as u_long. On
27061 overflow, use integer seconds since the epoch as output, or use
27062 "<overflow>" as output and set errno to EOVERFLOW if integer
27063 seconds since the epoch would be 14 or more characters.
27064 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27065 for sprintf call.
27066 * resolv/tst-p_secstodate.c: New file.
27067 * resolv/Makefile (tests): Add tst-p_secstodate.
27068 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27069
27070 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27071 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27072 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27073
27074 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27075
27076 * posix/regcomp.c (init_word_char): Add comments.
27077
27078 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27079
27080 [BZ #22447]
27081 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27082 strlen to compute length of ut_user and set trailing NUL byte of
27083 result explicitly.
27084
27085 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27086
27087 [BZ #15537]
27088 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27089 using “copy "iso14651_t1"” and then implementing the
27090 collation rules for lv from CLDR on top of that.
27091 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27092 of locales to be built for testing.
27093 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27094 sorting.
27095
27096 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27097
27098 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27099 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27100 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27101 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27102 [__USE_MISC] (MADV_HWPOISON): New macro.
27103 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27104
27105 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27106
27107 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27108 -Wmissing-braces on GCC 4.9.
27109
27110 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27111
27112 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27113 * sysdeps/s390/s390-32/start.S (_start): Likewise
27114 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27115 (thread_start): Likewise.
27116 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27117 (thread_start): Likewise.
27118 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27119 (__makecontext_ret): Likewise.
27120 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27121 (__makecontext_ret): Likewise.
27122
27123 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27124
27125 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27126 __wcschrnul): Remove attribute_hidden.
27127
27128 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27129
27130 regex: don't assume uint64_t or uint32_t
27131 This avoids -Werror=overflow errors for 32-bit systems in
27132 the 64-bit case. Problem reported by Joseph Myers in:
27133 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27134 Also, when this code is used in Gnulib it ports to platforms
27135 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27136 them, and on some 32-bit compilers there is no uint64_t.
27137 Problem reported by Gianluigi Tiesi in:
27138 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27139 * posix/regcomp.c (init_word_char): Don't assume that the types
27140 uint64_t and uint32_t exist. Adapted from Gnulib patch
27141 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27142 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27143
27144 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27145
27146 * sysdeps/aarch64/memset-reg.h: New file.
27147 * sysdeps/aarch64/memset.S: Use it.
27148 (__memset): Rename to MEMSET macro.
27149 [ZVA_MACRO]: Use zva_macro.
27150 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27151 Add memset_generic and memset_falkor.
27152 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27153 (__libc_ifunc_impl_list): Add memset ifuncs.
27154 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27155 local variable zva_size.
27156 * sysdeps/aarch64/multiarch/memset.c: New file.
27157 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27158 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27159 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27160 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27161 (DCZID_DZP_MASK): New macro.
27162 (DCZID_BS_MASK): Likewise.
27163 (init_cpu_features): Read and set zva_size.
27164 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27165 (struct cpu_features): New member zva_size.
27166
27167 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27168 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27169 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27170
27171 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27172 backwards. Fix timing computation.
27173 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27174 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27175 on memset by N at a time. Fix timing computation.
27176
27177 2017-11-20 Florian Weimer <fweimer@redhat.com>
27178
27179 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27180 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27181
27182 2017-11-19 Florian Weimer <fweimer@redhat.com>
27183
27184 manual: Document mprotect
27185 * manual/memory.texi (Memory Protection): New section.
27186 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27187 documentation of PROT_* flags and reference the Memory Protection
27188 section instead.
27189
27190 2017-11-19 Florian Weimer <fweimer@redhat.com>
27191
27192 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27193 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27194 (Scatter-Gather): ... to here. Remove misleading comment.
27195
27196 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27197
27198 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27199 style.
27200
27201 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27202 when /proc/<pid>/setgroups does not exist.
27203
27204 2017-11-18 Florian Weimer <fweimer@redhat.com>
27205
27206 * sysdeps/unix/sysv/linux/tst-ttyname.c
27207 (become_root_in_mount_ns): Remove.
27208 (do_in_chroot_1): Call support_enter_mount_namespace.
27209 (do_in_chroot_2): Likewise.
27210 (do_test): Call support_become_root early.
27211
27212 2017-11-18 Florian Weimer <fweimer@redhat.com>
27213
27214 * support/namespace.h (support_enter_mount_namespace): Declare.
27215 * support/support_enter_mount_namespace.c: New file.
27216 * support/Makefile (libsupport-routines): Add
27217 support_enter_mount_namespace.
27218
27219 2017-11-18 Florian Weimer <fweimer@redhat.com>
27220
27221 * support/temp_file.c (support_create_temp_directory): Use
27222 test_dir and do not rely on the presence of the XXXXXX suffix.
27223 * support/temp_file.h (support_create_temp_directory): Update
27224 comment.
27225 * support/tst-xreadlink.c (do_test): Adjust.
27226 * support/support_chroot.c (support_chroot_create): Likewise.
27227
27228 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27229
27230 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27231 macro.
27232 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27233 htm-no-suspend.
27234
27235 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27236
27237 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27238 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27239 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27240 (ceill): Define using libm_alias_ldouble.
27241 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27242 <libm-alias-ldouble.h>.
27243 (copysignl): Define using libm_alias_ldouble.
27244 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27245 (fabsl): Define using libm_alias_ldouble.
27246 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27247 (floorl): Define using libm_alias_ldouble.
27248 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27249 (fmaxl): Define using libm_alias_ldouble.
27250 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27251 (fminl): Define using libm_alias_ldouble.
27252 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27253 (llrintl): Define using libm_alias_ldouble.
27254 (lrintl): Likewise.
27255 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27256 <libm-alias-ldouble.h>.
27257 (nearbyintl): Define using libm_alias_ldouble.
27258 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27259 (truncl): Define using libm_alias_ldouble.
27260 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27261 <libm-alias-ldouble.h>.
27262 (lrintl): Define using libm_alias_ldouble.
27263
27264 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27265 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27266 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27267 (asinhl): Define using libm_alias_ldouble.
27268 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27269 (atanl): Define using libm_alias_ldouble.
27270 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27271 (cbrtl): Define using libm_alias_ldouble.
27272 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27273 (ceill): Define using libm_alias_ldouble.
27274 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27275 (copysignl): Define using libm_alias_ldouble.
27276 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27277 (fabsl): Define using libm_alias_ldouble.
27278 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27279 (floorl): Define using libm_alias_ldouble.
27280 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27281 (fmaxl): Define using libm_alias_ldouble.
27282 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27283 (fminl): Define using libm_alias_ldouble.
27284 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27285 (frexpl): Define using libm_alias_ldouble.
27286 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27287 (llrintl): Define using libm_alias_ldouble.
27288 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27289 (logbl): Define using libm_alias_ldouble.
27290 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27291 (lrintl): Define using libm_alias_ldouble.
27292 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27293 (nearbyintl): Define using libm_alias_ldouble.
27294 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27295 (nextafterl): Define using libm_alias_ldouble.
27296 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27297 (remquol): Define using libm_alias_ldouble.
27298 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27299 (rintl): Define using libm_alias_ldouble.
27300 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27301 (truncl): Define using libm_alias_ldouble.
27302 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27303 (fmaxl): Define using libm_alias_ldouble.
27304 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27305 (fminl): Define using libm_alias_ldouble.
27306
27307 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27308 to C syntax instead of availability and properties of types.
27309 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27310 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27311 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27312 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27313 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27314 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27315
27316 2017-11-17 Florian Weimer <fweimer@redhat.com>
27317
27318 support_become_root: Enable file creation in namespaces.
27319 * support/support_become_root.c (setup_mapping): New function.
27320 (support_become_root): Call it.
27321
27322 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27323
27324 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27325 macro.
27326
27327 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27328
27329 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27330 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27331
27332 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27333
27334 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27335
27336 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27337 version to 4.14.
27338
27339 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27340
27341 * INSTALL: Fix botched up regeneration.
27342
27343 * NEWS: Update sourceare link to https.
27344 * configure.ac: Likewise.
27345 * crypt/md5test-giant.c: Likewise.
27346 * dlfcn/bug-atexit1.c: Likewise.
27347 * dlfcn/bug-atexit2.c: Likewise.
27348 * localedata/README: Likewise.
27349 * malloc/tst-mallocfork.c: Likewise.
27350 * manual/install.texi: Likewise.
27351 * nptl/tst-pthread-getattr.c: Likewise.
27352 * stdio-common/tst-fgets.c: Likewise.
27353 * stdio-common/tst-fwrite.c: Likewise.
27354 * sunrpc/Makefile: Likewise.
27355 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27356 * wcsmbs/tst-mbrtowc2.c: Likewise.
27357 * configure: Regenerate.
27358 * INSTALL: Regenerate.
27359
27360 2017-11-15 Martin Sebor <msebor@redhat.com>
27361
27362 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27363 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27364 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27365
27366 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27367
27368 [BZ #22145]
27369 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27370 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27371
27372 [BZ #22145]
27373 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27374 Defer is_pty check until end of the function.
27375 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27376
27377 [BZ #22145]
27378 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27379 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27380 (ttyname): Likewise.
27381 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27382 (__ttyname_r): Likewise.
27383
27384 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27385 int to bool.
27386
27387 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27388
27389 * manual/terminal.texi (Is It a Terminal):
27390 Mention ENODEV for ttyname and ttyname_r.
27391
27392 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27393
27394 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27395 constant and macro.
27396
27397 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27398 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27399 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27400 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27401 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27402 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27403
27404 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27405
27406 * signal/sigrelse.c (sigrelse): Optimize implementation.
27407
27408 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27409 (__sigpause): Rely on __sigsuspend to implement single thread
27410 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27411
27412 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27413
27414 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27415 kernel version to 4.14.
27416
27417 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27418
27419 [BZ #22442]
27420 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27421 Check if ifname is too long.
27422
27423 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27424
27425 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27426
27427 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27428
27429 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27430 was accidentally lost.
27431
27432 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27433
27434 * localedata/locales/az_IR: Add standard copyright header.
27435
27436 2017-11-15 Florian Weimer <fweimer@redhat.com>
27437
27438 [BZ #22439]
27439 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27440 not just the top one. Output a new "subheaps" statistic.
27441
27442 2017-11-15 Florian Weimer <fweimer@redhat.com>
27443
27444 [BZ #22408]
27445 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27446 under the per-arena lock.
27447 * malloc/Makefile (tests): Add tst-malloc_info.
27448 (tst-malloc_info): Link with libpthread.
27449 * malloc/tst-malloc_info.c: New file.
27450
27451 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27452
27453 [BZ #21660]
27454 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27455 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27456 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27457 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27458 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27459 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27460 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27461 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27462 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27463 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27464 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27465 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27466 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27467 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27468 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27469 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27470 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27471 (__floating_type): Likewise.
27472 (__real_integer_type): Likewise.
27473 (__complex_integer_type): Likewise.
27474 (__expr_is_real): Likewise.
27475 (__tgmath_real_type_sub): Likewise.
27476 (__tgmath_real_type): Likewise.
27477 (__tgmath_complex_type_sub): Likewise.
27478 (__tgmath_complex_type): Likewise.
27479 (__TGMATH_F128): Likewise.
27480 (__TGMATH_CF128): Likewise.
27481 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27482 new macros.
27483 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27484 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27485 Likewise.
27486 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27487 Likewise.
27488 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27489 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27490 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27491 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27492 Likewise.
27493 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27494 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27495 Likewise.
27496 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27497 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27498 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27499 Likewise.
27500 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27501 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27502 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27503 (cimag): Likewise.
27504 (creal): Likewise.
27505
27506 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27507
27508 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27509 for stpncpy calls for GCC 8.
27510 (test_strncat): Disable -Wstringop-truncation warning for strncat
27511 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27512 strncat call for GCC 7.
27513 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27514 calls for GCC 8.
27515 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27516 trailing NUL.
27517
27518 * string/bug-strncat1.c: Include <libc-diag.h>.
27519 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27520
27521 2017-11-13 Claude Paroz <claude@2xlibre.net>
27522
27523 [BZ #22387]
27524 * localedata/locales/aa_DJ: Improved readibility by replacing
27525 <Uxxxx> sequences in the ASCII printable range by their ASCII
27526 character equivalents.
27527 * localedata/locales/aa_ER: Likewise.
27528 * localedata/locales/aa_ER@saaho: Likewise.
27529 * localedata/locales/aa_ET: Likewise.
27530 * localedata/locales/af_ZA: Likewise.
27531 * localedata/locales/agr_PE: Likewise.
27532 * localedata/locales/ak_GH: Likewise.
27533 * localedata/locales/am_ET: Likewise.
27534 * localedata/locales/anp_IN: Likewise.
27535 * localedata/locales/ar_AE: Likewise.
27536 * localedata/locales/ar_BH: Likewise.
27537 * localedata/locales/ar_DZ: Likewise.
27538 * localedata/locales/ar_EG: Likewise.
27539 * localedata/locales/ar_IN: Likewise.
27540 * localedata/locales/ar_IQ: Likewise.
27541 * localedata/locales/ar_JO: Likewise.
27542 * localedata/locales/ar_KW: Likewise.
27543 * localedata/locales/ar_LB: Likewise.
27544 * localedata/locales/ar_LY: Likewise.
27545 * localedata/locales/ar_MA: Likewise.
27546 * localedata/locales/ar_OM: Likewise.
27547 * localedata/locales/ar_QA: Likewise.
27548 * localedata/locales/ar_SA: Likewise.
27549 * localedata/locales/ar_SD: Likewise.
27550 * localedata/locales/ar_SS: Likewise.
27551 * localedata/locales/ar_SY: Likewise.
27552 * localedata/locales/ar_TN: Likewise.
27553 * localedata/locales/ar_YE: Likewise.
27554 * localedata/locales/as_IN: Likewise.
27555 * localedata/locales/ast_ES: Likewise.
27556 * localedata/locales/ayc_PE: Likewise.
27557 * localedata/locales/az_AZ: Likewise.
27558 * localedata/locales/az_IR: Likewise.
27559 * localedata/locales/be_BY: Likewise.
27560 * localedata/locales/be_BY@latin: Likewise.
27561 * localedata/locales/bem_ZM: Likewise.
27562 * localedata/locales/ber_DZ: Likewise.
27563 * localedata/locales/ber_MA: Likewise.
27564 * localedata/locales/bg_BG: Likewise.
27565 * localedata/locales/bhb_IN: Likewise.
27566 * localedata/locales/bho_IN: Likewise.
27567 * localedata/locales/bi_VU: Likewise.
27568 * localedata/locales/bn_BD: Likewise.
27569 * localedata/locales/bn_IN: Likewise.
27570 * localedata/locales/bo_CN: Likewise.
27571 * localedata/locales/bo_IN: Likewise.
27572 * localedata/locales/br_FR: Likewise.
27573 * localedata/locales/brx_IN: Likewise.
27574 * localedata/locales/bs_BA: Likewise.
27575 * localedata/locales/byn_ER: Likewise.
27576 * localedata/locales/ca_AD: Likewise.
27577 * localedata/locales/ca_ES: Likewise.
27578 * localedata/locales/ca_FR: Likewise.
27579 * localedata/locales/ca_IT: Likewise.
27580 * localedata/locales/ce_RU: Likewise.
27581 * localedata/locales/chr_US: Likewise.
27582 * localedata/locales/cmn_TW: Likewise.
27583 * localedata/locales/crh_UA: Likewise.
27584 * localedata/locales/cs_CZ: Likewise.
27585 * localedata/locales/csb_PL: Likewise.
27586 * localedata/locales/cv_RU: Likewise.
27587 * localedata/locales/cy_GB: Likewise.
27588 * localedata/locales/da_DK: Likewise.
27589 * localedata/locales/de_AT: Likewise.
27590 * localedata/locales/de_BE: Likewise.
27591 * localedata/locales/de_CH: Likewise.
27592 * localedata/locales/de_DE: Likewise.
27593 * localedata/locales/de_IT: Likewise.
27594 * localedata/locales/de_LI: Likewise.
27595 * localedata/locales/de_LU: Likewise.
27596 * localedata/locales/doi_IN: Likewise.
27597 * localedata/locales/dv_MV: Likewise.
27598 * localedata/locales/dz_BT: Likewise.
27599 * localedata/locales/el_CY: Likewise.
27600 * localedata/locales/el_GR: Likewise.
27601 * localedata/locales/en_AG: Likewise.
27602 * localedata/locales/en_AU: Likewise.
27603 * localedata/locales/en_BW: Likewise.
27604 * localedata/locales/en_CA: Likewise.
27605 * localedata/locales/en_DK: Likewise.
27606 * localedata/locales/en_GB: Likewise.
27607 * localedata/locales/en_HK: Likewise.
27608 * localedata/locales/en_IE: Likewise.
27609 * localedata/locales/en_IL: Likewise.
27610 * localedata/locales/en_IN: Likewise.
27611 * localedata/locales/en_NG: Likewise.
27612 * localedata/locales/en_NZ: Likewise.
27613 * localedata/locales/en_PH: Likewise.
27614 * localedata/locales/en_SG: Likewise.
27615 * localedata/locales/en_US: Likewise.
27616 * localedata/locales/en_ZA: Likewise.
27617 * localedata/locales/en_ZM: Likewise.
27618 * localedata/locales/en_ZW: Likewise.
27619 * localedata/locales/eo: Likewise.
27620 * localedata/locales/es_AR: Likewise.
27621 * localedata/locales/es_BO: Likewise.
27622 * localedata/locales/es_CL: Likewise.
27623 * localedata/locales/es_CO: Likewise.
27624 * localedata/locales/es_CR: Likewise.
27625 * localedata/locales/es_CU: Likewise.
27626 * localedata/locales/es_DO: Likewise.
27627 * localedata/locales/es_EC: Likewise.
27628 * localedata/locales/es_ES: Likewise.
27629 * localedata/locales/es_GT: Likewise.
27630 * localedata/locales/es_HN: Likewise.
27631 * localedata/locales/es_MX: Likewise.
27632 * localedata/locales/es_NI: Likewise.
27633 * localedata/locales/es_PA: Likewise.
27634 * localedata/locales/es_PE: Likewise.
27635 * localedata/locales/es_PR: Likewise.
27636 * localedata/locales/es_PY: Likewise.
27637 * localedata/locales/es_SV: Likewise.
27638 * localedata/locales/es_US: Likewise.
27639 * localedata/locales/es_UY: Likewise.
27640 * localedata/locales/es_VE: Likewise.
27641 * localedata/locales/et_EE: Likewise.
27642 * localedata/locales/eu_ES: Likewise.
27643 * localedata/locales/eu_ES@euro: Likewise.
27644 * localedata/locales/fa_IR: Likewise.
27645 * localedata/locales/ff_SN: Likewise.
27646 * localedata/locales/fi_FI: Likewise.
27647 * localedata/locales/fil_PH: Likewise.
27648 * localedata/locales/fo_FO: Likewise.
27649 * localedata/locales/fr_BE: Likewise.
27650 * localedata/locales/fr_CA: Likewise.
27651 * localedata/locales/fr_CH: Likewise.
27652 * localedata/locales/fr_FR: Likewise.
27653 * localedata/locales/fr_LU: Likewise.
27654 * localedata/locales/fur_IT: Likewise.
27655 * localedata/locales/fy_DE: Likewise.
27656 * localedata/locales/fy_NL: Likewise.
27657 * localedata/locales/ga_IE: Likewise.
27658 * localedata/locales/gd_GB: Likewise.
27659 * localedata/locales/gez_ER: Likewise.
27660 * localedata/locales/gez_ET: Likewise.
27661 * localedata/locales/gl_ES: Likewise.
27662 * localedata/locales/gu_IN: Likewise.
27663 * localedata/locales/gv_GB: Likewise.
27664 * localedata/locales/ha_NG: Likewise.
27665 * localedata/locales/hak_TW: Likewise.
27666 * localedata/locales/he_IL: Likewise.
27667 * localedata/locales/hi_IN: Likewise.
27668 * localedata/locales/hif_FJ: Likewise.
27669 * localedata/locales/hne_IN: Likewise.
27670 * localedata/locales/hr_HR: Likewise.
27671 * localedata/locales/hsb_DE: Likewise.
27672 * localedata/locales/ht_HT: Likewise.
27673 * localedata/locales/hu_HU: Likewise.
27674 * localedata/locales/hy_AM: Likewise.
27675 * localedata/locales/i18n: Likewise.
27676 * localedata/locales/ia_FR: Likewise.
27677 * localedata/locales/id_ID: Likewise.
27678 * localedata/locales/ig_NG: Likewise.
27679 * localedata/locales/ik_CA: Likewise.
27680 * localedata/locales/is_IS: Likewise.
27681 * localedata/locales/it_CH: Likewise.
27682 * localedata/locales/it_IT: Likewise.
27683 * localedata/locales/iu_CA: Likewise.
27684 * localedata/locales/ja_JP: Likewise.
27685 * localedata/locales/ka_GE: Likewise.
27686 * localedata/locales/kk_KZ: Likewise.
27687 * localedata/locales/kl_GL: Likewise.
27688 * localedata/locales/kn_IN: Likewise.
27689 * localedata/locales/ko_KR: Likewise.
27690 * localedata/locales/kok_IN: Likewise.
27691 * localedata/locales/ks_IN: Likewise.
27692 * localedata/locales/ks_IN@devanagari: Likewise.
27693 * localedata/locales/ku_TR: Likewise.
27694 * localedata/locales/kw_GB: Likewise.
27695 * localedata/locales/ky_KG: Likewise.
27696 * localedata/locales/lb_LU: Likewise.
27697 * localedata/locales/lg_UG: Likewise.
27698 * localedata/locales/li_BE: Likewise.
27699 * localedata/locales/li_NL: Likewise.
27700 * localedata/locales/lij_IT: Likewise.
27701 * localedata/locales/ln_CD: Likewise.
27702 * localedata/locales/lo_LA: Likewise.
27703 * localedata/locales/lt_LT: Likewise.
27704 * localedata/locales/lv_LV: Likewise.
27705 * localedata/locales/lzh_TW: Likewise.
27706 * localedata/locales/mag_IN: Likewise.
27707 * localedata/locales/mai_IN: Likewise.
27708 * localedata/locales/mg_MG: Likewise.
27709 * localedata/locales/mhr_RU: Likewise.
27710 * localedata/locales/mi_NZ: Likewise.
27711 * localedata/locales/mk_MK: Likewise.
27712 * localedata/locales/ml_IN: Likewise.
27713 * localedata/locales/mn_MN: Likewise.
27714 * localedata/locales/mni_IN: Likewise.
27715 * localedata/locales/mr_IN: Likewise.
27716 * localedata/locales/ms_MY: Likewise.
27717 * localedata/locales/mt_MT: Likewise.
27718 * localedata/locales/my_MM: Likewise.
27719 * localedata/locales/nan_TW: Likewise.
27720 * localedata/locales/nan_TW@latin: Likewise.
27721 * localedata/locales/nb_NO: Likewise.
27722 * localedata/locales/nds_DE: Likewise.
27723 * localedata/locales/nds_NL: Likewise.
27724 * localedata/locales/ne_NP: Likewise.
27725 * localedata/locales/nhn_MX: Likewise.
27726 * localedata/locales/niu_NU: Likewise.
27727 * localedata/locales/niu_NZ: Likewise.
27728 * localedata/locales/nl_AW: Likewise.
27729 * localedata/locales/nl_BE: Likewise.
27730 * localedata/locales/nl_NL: Likewise.
27731 * localedata/locales/nn_NO: Likewise.
27732 * localedata/locales/nr_ZA: Likewise.
27733 * localedata/locales/nso_ZA: Likewise.
27734 * localedata/locales/oc_FR: Likewise.
27735 * localedata/locales/om_ET: Likewise.
27736 * localedata/locales/om_KE: Likewise.
27737 * localedata/locales/or_IN: Likewise.
27738 * localedata/locales/os_RU: Likewise.
27739 * localedata/locales/pa_IN: Likewise.
27740 * localedata/locales/pa_PK: Likewise.
27741 * localedata/locales/pap_AW: Likewise.
27742 * localedata/locales/pap_CW: Likewise.
27743 * localedata/locales/pl_PL: Likewise.
27744 * localedata/locales/ps_AF: Likewise.
27745 * localedata/locales/pt_BR: Likewise.
27746 * localedata/locales/pt_PT: Likewise.
27747 * localedata/locales/quz_PE: Likewise.
27748 * localedata/locales/raj_IN: Likewise.
27749 * localedata/locales/ro_RO: Likewise.
27750 * localedata/locales/ru_RU: Likewise.
27751 * localedata/locales/ru_UA: Likewise.
27752 * localedata/locales/rw_RW: Likewise.
27753 * localedata/locales/sa_IN: Likewise.
27754 * localedata/locales/sat_IN: Likewise.
27755 * localedata/locales/sc_IT: Likewise.
27756 * localedata/locales/sd_IN: Likewise.
27757 * localedata/locales/sd_IN@devanagari: Likewise.
27758 * localedata/locales/se_NO: Likewise.
27759 * localedata/locales/sgs_LT: Likewise.
27760 * localedata/locales/shs_CA: Likewise.
27761 * localedata/locales/si_LK: Likewise.
27762 * localedata/locales/sid_ET: Likewise.
27763 * localedata/locales/sk_SK: Likewise.
27764 * localedata/locales/sl_SI: Likewise.
27765 * localedata/locales/sm_WS: Likewise.
27766 * localedata/locales/so_DJ: Likewise.
27767 * localedata/locales/so_ET: Likewise.
27768 * localedata/locales/so_KE: Likewise.
27769 * localedata/locales/so_SO: Likewise.
27770 * localedata/locales/sq_AL: Likewise.
27771 * localedata/locales/sq_MK: Likewise.
27772 * localedata/locales/sr_ME: Likewise.
27773 * localedata/locales/sr_RS: Likewise.
27774 * localedata/locales/sr_RS@latin: Likewise.
27775 * localedata/locales/ss_ZA: Likewise.
27776 * localedata/locales/st_ZA: Likewise.
27777 * localedata/locales/sv_FI: Likewise.
27778 * localedata/locales/sv_SE: Likewise.
27779 * localedata/locales/sw_KE: Likewise.
27780 * localedata/locales/sw_TZ: Likewise.
27781 * localedata/locales/szl_PL: Likewise.
27782 * localedata/locales/ta_IN: Likewise.
27783 * localedata/locales/ta_LK: Likewise.
27784 * localedata/locales/tcy_IN: Likewise.
27785 * localedata/locales/te_IN: Likewise.
27786 * localedata/locales/tg_TJ: Likewise.
27787 * localedata/locales/th_TH: Likewise.
27788 * localedata/locales/the_NP: Likewise.
27789 * localedata/locales/ti_ER: Likewise.
27790 * localedata/locales/ti_ET: Likewise.
27791 * localedata/locales/tig_ER: Likewise.
27792 * localedata/locales/tk_TM: Likewise.
27793 * localedata/locales/tl_PH: Likewise.
27794 * localedata/locales/tn_ZA: Likewise.
27795 * localedata/locales/to_TO: Likewise.
27796 * localedata/locales/tpi_PG: Likewise.
27797 * localedata/locales/tr_CY: Likewise.
27798 * localedata/locales/tr_TR: Likewise.
27799 * localedata/locales/ts_ZA: Likewise.
27800 * localedata/locales/tt_RU: Likewise.
27801 * localedata/locales/tt_RU@iqtelif: Likewise.
27802 * localedata/locales/ug_CN: Likewise.
27803 * localedata/locales/uk_UA: Likewise.
27804 * localedata/locales/unm_US: Likewise.
27805 * localedata/locales/ur_IN: Likewise.
27806 * localedata/locales/ur_PK: Likewise.
27807 * localedata/locales/uz_UZ: Likewise.
27808 * localedata/locales/uz_UZ@cyrillic: Likewise.
27809 * localedata/locales/ve_ZA: Likewise.
27810 * localedata/locales/vi_VN: Likewise.
27811 * localedata/locales/wa_BE: Likewise.
27812 * localedata/locales/wae_CH: Likewise.
27813 * localedata/locales/wal_ET: Likewise.
27814 * localedata/locales/wo_SN: Likewise.
27815 * localedata/locales/xh_ZA: Likewise.
27816 * localedata/locales/yi_US: Likewise.
27817 * localedata/locales/yo_NG: Likewise.
27818 * localedata/locales/yue_HK: Likewise.
27819 * localedata/locales/yuw_PG: Likewise.
27820 * localedata/locales/zh_CN: Likewise.
27821 * localedata/locales/zh_HK: Likewise.
27822 * localedata/locales/zh_SG: Likewise.
27823 * localedata/locales/zh_TW: Likewise.
27824 * localedata/locales/zu_ZA: Likewise.
27825
27826 2017-11-13 Florian Weimer <fweimer@redhat.com>
27827
27828 * support/next_to_fault.h, support/next_to_fault.c: New files.
27829 * support/Makefile (libsupport-routines): Add next_to_fault.
27830 * resolv/tst-inet_pton.c (struct next_to_fault)
27831 (next_to_fault_allocate, next_to_fault_free): Remove.
27832 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27833
27834 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27835
27836 * elf/dl-support.c: Include <dl-procruntime.c>.
27837 * include/link.h: Include <link_map.h>.
27838 * sysdeps/generic/dl-procruntime.c: New file.
27839 * sysdeps/generic/link_map.h: Likewise.
27840 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27841 the writable ld.so namespace.
27842
27843 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27844
27845 timezone: pacify GCC -Wstringop-truncation
27846 Problem reported by Martin Sebor in:
27847 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27848 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27849
27850 2017-11-12 Florian Weimer <fweimer@redhat.com>
27851
27852 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27853 tst-xreadlink.
27854 (tests): Add tst-xreadlink.
27855 * support/support.h (xstrndup): Declare.
27856 * support/xunistd.h (xunlink, xreadlink): Declare.
27857 * support/temp_file.h (support_create_temp_directory): Declare.
27858 * support/temp_file.c (support_create_temp_directory): New function.
27859 * support/support_chroot.c (support_chroot_create): Use it.
27860 * support/xreadlink.c: New file.
27861 * support/xstrndup.c: Likewise.
27862 * support/xunlink.c: Likewise.
27863 * support/tst-xreadlink.c: Likewise.
27864
27865 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
27866
27867 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27868
27869 2017-11-11 Florian Weimer <fweimer@redhat.com>
27870
27871 [BZ #22409]
27872 [BZ #22412]
27873 * resolv/res_comp.c (printable_string, binary_hnok)
27874 (binary_leading_dash): New functions.
27875 (res_hnok): Reimplement using these functions and ns_name_pton.
27876 (res_ownok): Likewise.
27877 (res_mailok): Reimplement using printable_string, ns_name_pton and
27878 binary_hnok.
27879 (res_dnok): Reimplement using printable_string and ns_name_pton.
27880 * resolv/tst-res_hnok.c (tests): Add additional tests.
27881 (LETTERDIGITS, PRINTABLE): Define.
27882 (do_test): Adjust one_char results.
27883
27884 2017-11-11 Florian Weimer <fweimer@redhat.com>
27885
27886 [BZ #22413]
27887 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27888 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27889
27890 2017-11-11 Florian Weimer <fweimer@redhat.com>
27891
27892 * resolv/tst-ns_name_pton.c: New file.
27893 * resolv/Makefile (tests): Add tst-ns_name_pton.
27894 (tst-ns_name_pton): Link against libresolv.
27895
27896 2017-11-11 Florian Weimer <fweimer@redhat.com>
27897
27898 * resolv/tst-res_hnok.c: New file.
27899 * resolv/Makefile (tests): Add tst-res_hnok.
27900 (tst-res_hnok): Link against libresolv.
27901
27902 2017-11-11 Florian Weimer <fweimer@redhat.com>
27903
27904 * resolv/tst-resolv-network.c: Use test framework instead explicit
27905 main function.
27906
27907 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27908
27909 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27910 <jmp_buf-macros.h>.
27911 [!_ISOMAC] (STR_HELPER): New.
27912 [!_ISOMAC] (STR): Likewise.
27913 [!_ISOMAC] (TEST_SIZE): Likewise.
27914 [!_ISOMAC] (TEST_ALIGN): Likewise.
27915 [!_ISOMAC] (TEST_OFFSET): Likewise.
27916 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27917 field offsets of jmp_buf as well as sigjmp_buf.
27918 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27919 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27920 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27921 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27922 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27923 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27924 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27925 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27926 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27927 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27928 Likewise.
27929 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27930 Likewise.
27931 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27933 Likewise.
27934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
27935 Likewise.
27936 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
27937 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
27938 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
27939 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
27940 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
27941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
27942 Likewise.
27943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
27944 Likewise.
27945 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
27946 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27947 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27948
27949 2017-11-07 Joseph Myers <joseph@codesourcery.com>
27950
27951 * include/float.h
27952 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27953 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27954 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27955 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27956 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27957 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27958 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27959 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27960 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27961 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27962 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27963 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27964 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27965 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27966 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27967 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27968 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27969 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27970 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27971 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27972 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27973 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27974 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27975 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27976 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27977 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27978 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27979 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27980 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27981 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27982 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27983 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27984 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27985 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27986 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27987 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27988 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27989 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27990 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27991 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27992 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27993 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27994 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27995 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27996 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27997 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27998 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27999 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28000 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28001 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28002 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28003 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28004 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28005 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28006 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28007 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28008 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28009 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28010 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28011 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28012 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28013 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28014 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28015 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28016 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28017 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28018 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28019 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28020 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28021 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28022 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28023 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28024 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28025 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28026 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28027 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28028 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28029 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28031 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28033 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28035 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28037 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28039 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28040
28041 * stdlib/tst-strtod.h (F16): New macro.
28042 (F32): Likewise.
28043 (F64): Likewise.
28044 (F32X): Likewise.
28045 (F64X): Likewise.
28046 (F128X): Likewise.
28047 (IF_FLOAT16): Likewise.
28048 (IF_FLOAT32): Likewise.
28049 (IF_FLOAT64): Likewise.
28050 (IF_FLOAT32X): Likewise.
28051 (IF_FLOAT64X): Likewise.
28052 (IF_FLOAT128X): Likewise.
28053 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28054 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28055 (STRTOD_TEST_FOREACH): Likewise.
28056 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28057 (CHOOSE_f64): Likewise.
28058 (CHOOSE_f32x): Likewise.
28059 (CHOOSE_f64x): Likewise.
28060
28061 2017-11-07 Andreas Schwab <schwab@suse.de>
28062
28063 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28064
28065 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28066
28067 [BZ #22403]
28068 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28069 to be escaped.
28070 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28071 to be escaped.
28072
28073 2017-11-07 Claude Paroz <claude@2xlibre.net>
28074
28075 [BZ #22403]
28076 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28077 to be escaped.
28078 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28079 to be escaped.
28080 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28081 to be escaped.
28082
28083 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28084
28085 [BZ #22298]
28086 * nptl/allocatestack.c (allocate_stack): Check if
28087 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28088 __PTHREAD_MUTEX_HAVE_PREV is defined.
28089 * nptl/descr.h (pthread): Likewise.
28090 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28091 Likewise.
28092 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28093 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28094 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28095 * sysdeps/nptl/bits/thread-shared-types.h
28096 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28097 defines.
28098 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28099 of __WORDSIZE for internal layout.
28100 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28101 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28102 instead of __WORDSIZE whether to use an union for __spins and __list
28103 fields.
28104 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28105 case.
28106 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28107 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28108 defines.
28109 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28110 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28111 Likewise.
28112 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28113 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28114 Likewise.
28115 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28116 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28117 Likewise.
28118 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28119 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28120 Likewise.
28121 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28122 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28123 Likewise.
28124 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28125 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28126 Likewise.
28127 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28128 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28129 Likewise.
28130 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28131 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28132 Likewise.
28133 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28134 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28135 Likewise.
28136 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28137 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28138 Likewise.
28139 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28140 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28141 Likewise.
28142 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28143 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28144 Likewise.
28145 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28146 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28147 Likewise.
28148 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28149 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28150 Likewise.
28151
28152 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28153 New macros.
28154 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28155 checks for expected input type size.
28156 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28157 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28158 Likewise.
28159 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28160 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28161 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28162 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28163 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28164 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28165 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28166 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28167 superflous runtime assert check.
28168 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28169 Likewise.
28170 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28171 Likewise.
28172 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28173 Likewise.
28174 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28175 Likewise.
28176 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28177 Likewise.
28178 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28179 Likewise.
28180 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28181 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28182 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28183 Likewise.
28184 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28185 Likewise.
28186 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28187 Likewise.
28188 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28189 Likewise.
28190 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28191 Likewise.
28192 * nptl/pthread_attr_setinheritsched.c
28193 (__pthread_attr_setinheritsched): Likewise.
28194 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28195 Likewise.
28196 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28197 Likewise.
28198 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28199 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28200 __old_pthread_attr_setstack): Likewise.
28201 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28202 Likewise.
28203 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28204 Likewise.
28205 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28206 Likewise.
28207 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28208 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28209 Likewise.
28210 * nptl/tst-typesizes.c: Remove file.
28211
28212 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28213 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28214 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28215 checks for internal pthread_mutex_t offsets.
28216 * sysdeps/aarch64/nptl/pthread-offsets.h
28217 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28218 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28219 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28220 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28221 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28222 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28223 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28224 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28225 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28226 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28227 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28228 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28229 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28230 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28231 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28232 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28233 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28234 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28235
28236 2017-11-07 Florian Weimer <fweimer@redhat.com>
28237
28238 * bits/mman-linux.h: Move ...
28239 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28240 comment.
28241 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28242 outdated comment.
28243
28244 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28245
28246 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28247 Redefine STRNLEN as __strnlen_power8.
28248
28249 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28250
28251 * signal/sighold.c (sighold): Optimize implementation.
28252
28253 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28254 __NR_rt_sigqueueinfo.
28255
28256 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28257 __sigtimedwait.
28258 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28259 assume __NR_rt_sigtimedwait.
28260 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28261 and add LIBC_CANCEL_HANDLED for cancellation marking.
28262 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28263
28264 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28265 (sysdeps_routines): Add memchr_noneon.
28266 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28267 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28268 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28269 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28270 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28271 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28272 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28273
28274 * sysdeps/arm/arm-ifunc.h: New file.
28275 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28276 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28277 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28278 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28279 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28280 (__memcpy_neon): Avoid create hidden alias.
28281 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28282 (__memcpy_vfp): Likewise.
28283 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28284 (sysdep_routines): Add memcpy_arm.
28285 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28286
28287 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28288
28289 [BZ #22362]
28290 * Makerules (make-link-multidir): New.
28291 * config.make.in (multidir): New.
28292 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28293 * configure: Regenerated.
28294 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28295 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28296 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28297 New target.
28298
28299 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28300
28301 [BZ #22402]
28302 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28303 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28304
28305 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28306
28307 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28308 to be escaped.
28309
28310 2017-11-04 Florian Weimer <fweimer@redhat.com>
28311
28312 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28313
28314 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28315
28316 * math/math.h [__HAVE_DISTINCT_FLOAT16
28317 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28318 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28319 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28320 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28321 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28322 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28323 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28324 (__MATH_TG_F32): New macro.
28325 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28326 (__MATH_TG_F64X): Likewise.
28327 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28328 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28329
28330 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28331
28332 * po/de.po: Update translations.
28333 * po/ru.po: Likewise.
28334
28335 2017-11-03 Florian Weimer <fweimer@redhat.com>
28336
28337 * manual/filesys.texi (Hard Links): Document linkat.
28338
28339 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28340
28341 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28342 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28343 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28344 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28345 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28346 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28347 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28348 the same as _Float128.
28349 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28350 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28351 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28352
28353 * stdlib/stdlib.h
28354 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28355 Declare.
28356 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28357 Likewise.
28358 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28359 Likewise.
28360 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28361 (strtof32x): Likewise.
28362 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28363 (strtof64x): Likewise.
28364 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28365 (strtof128x): Likewise.
28366 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28367 (strfromf16): Likewise.
28368 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28369 (strfromf32): Likewise.
28370 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28371 (strfromf64): Likewise.
28372 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28373 (strfromf32x): Likewise.
28374 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28375 (strfromf64x): Likewise.
28376 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28377 (strfromf128x): Likewise.
28378 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28379 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28380 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28381 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28382 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28383 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28384
28385 2017-11-03 Richard Henderson <rth@twiddle.net>
28386
28387 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28388
28389 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28390
28391 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28392
28393 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28394
28395 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28396 DT_TLSDESC_GOT initialization.
28397 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28398 (_dl_tlsdesc_resolve_hold): Likewise.
28399 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28400 (_dl_tlsdesc_resolve_hold): Likewise.
28401 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28402 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28403
28404 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28405
28406 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28407
28408 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28409
28410 [BZ #18572]
28411 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28412 non-lazily for R_ARM_TLS_DESC.
28413
28414 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28415
28416 [BZ #17078]
28417 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28418 R_ARM_TLS_DESC case.
28419 (elf_machine_lazy_rel): Remove the prelink check.
28420
28421 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28422
28423 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28424 DT_TLSDESC_GOT initialization.
28425 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28426 (_dl_tlsdesc_resolve_rela): Likewise.
28427 (_dl_tlsdesc_resolve_hold): Likewise.
28428 (_dl_tlsdesc_undefweak): Remove ldar.
28429 (_dl_tlsdesc_dynamic): Likewise.
28430 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28431 (_dl_tlsdesc_resolve_rela): Likewise.
28432 (_dl_tlsdesc_resolve_hold): Likewise.
28433 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28434 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28435 (_dl_tlsdesc_resolve_rela): Likewise.
28436 (_dl_tlsdesc_resolve_hold): Likewise.
28437
28438 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28439
28440 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28441 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28442
28443 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28444
28445 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28446 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28447
28448 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28449
28450 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28451 Declare.
28452 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28453 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28454 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28455 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28456 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28457 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28458 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28459 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28460 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28461 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28462 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28463
28464 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28465
28466 [BZ #22382]
28467 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28468 * localedata/locales/tpi_PG: Add standard header.
28469
28470 2017-11-02 Florian Weimer <fweimer@redhat.com>
28471
28472 test-errno-linux: quotactl can fail with EPERM in containers.
28473 * sysdeps/unix/sysv/linux/test-errno-linux.c
28474 (LIST, LIST_FORWARD): New macros.
28475 (check_error_in_list): New function.
28476 (test_wrp_rv): Accept list of permitted error codes.
28477 (test_wrp_rv2): Remove.
28478 (test_wrp): Call test_wrp_rv with list of error codes.
28479 (test_wrp2): Accept list of error codes.
28480 (do_test): Adjust. Allow EPERM for quotactl.
28481
28482 2017-11-02 Florian Weimer <fweimer@redhat.com>
28483
28484 * stdio-common/bug16.c (do_test): Use array_length.
28485 * stdio-common/errlist.c (_sys_nerr): Likewise.
28486 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28487 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28488 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28489 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28490 (do_test): Use array_length.
28491 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28492 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28493 * stdio-common/tst-printf-round.c (do_test): Likewise.
28494 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28495 (CHECK): Use array_length.
28496 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28497 * stdio-common/tstscanf.c (main): Likewise.
28498 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28499
28500 2017-11-02 Florian Weimer <fweimer@redhat.com>
28501
28502 Add array_length and array_end macros.
28503 * include/array_length.h: New file.
28504
28505 2017-11-02 Florian Weimer <fweimer@redhat.com>
28506
28507 [BZ #22332]
28508 * posix/tst-glob-tilde.c (do_noescape): New variable.
28509 (one_test): Process it.
28510 (do_test): Set do_noescape. Add unescaping test case.
28511
28512 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28513
28514 * math/complex.h
28515 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28516 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28517 with appropriate macros defined and undefined.
28518 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28519 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28520 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28521 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28522 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28523 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28524 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28525 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28526 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28527 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28528
28529 * math/complex.h
28530 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28531 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28532 that for long double. Do not condition define and undefine of
28533 _Mdouble_complex_ on [__CFLOAT128].
28534
28535 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28536
28537 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28538 of <sysdeps/generic/sysdep.h>.
28539 (ALIGNARG): Removed.
28540 (ASM_SIZE_DIRECTIVE): Likewise.
28541 (ENTRY): Likewise.
28542 (END): Likewise.
28543 (ENTRY_CHK): Likewise.
28544 (END_CHK): Likewise.
28545 (syscall_error): Likewise.
28546 (mcount): Likewise.
28547 (PSEUDO_END): Likewise.
28548 (L): Likewise.
28549 (atom_text_section): Likewise.
28550 * sysdeps/x86/sysdep.h: New file.
28551 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28552 of <sysdeps/generic/sysdep.h>.
28553 (ALIGNARG): Removed.
28554 (ASM_SIZE_DIRECTIVE): Likewise.
28555 (ENTRY): Likewise.
28556 (END): Likewise.
28557 (ENTRY_CHK): Likewise.
28558 (END_CHK): Likewise.
28559 (syscall_error): Likewise.
28560 (mcount): Likewise.
28561 (PSEUDO_END): Likewise.
28562 (L): Likewise.
28563 (atom_text_section): Likewise.
28564
28565 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
28566
28567 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28568 category of LC_CTYPE set to "i18n:2012".
28569 * localedata/locales/i18n_ctype: Regenerate.
28570
28571 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28572
28573 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28574 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28575 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28576 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28577
28578 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28579 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28580 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28581 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28582
28583 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28584
28585 * math/complex.h
28586 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28587 New macro.
28588 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28589 Likewise.
28590 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28591 Likewise.
28592 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28593 (CMPLXF32X): Likewise.
28594 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28595 (CMPLXF64X): Likewise.
28596 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28597 (CMPLXF128X): Likewise.
28598
28599 * math/math.h
28600 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28601 (__MATH_EVAL_FMT2): Define to add 0.0f.
28602
28603 2017-10-31 Alan Modra <amodra@gmail.com>
28604
28605 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28606 include sysdep.h.
28607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28621 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28622 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28623 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28624 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28625 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28627 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28628 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28629 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28630 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28631 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28632 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28633 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28634 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28635 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28636 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28637 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28638 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28639 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28640 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28641 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28642 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28643 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28646 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28647 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28648 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28649 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28650 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28651 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28652 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28653 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28654 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28655 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28656 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28657 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28658 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28659 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28660 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28661 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28662 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28663 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28664 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28665 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28666 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28667 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28668 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28669 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28670 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28671 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28672 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28673 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28674 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28675 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28676
28677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28678 include sysdep.h and math_ldbl_opt.h.
28679
28680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28681 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28706
28707 2017-10-31 Alan Modra <amodra@gmail.com>
28708
28709 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28710 string/strncase_l.c, not string/strncase.c.
28711 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28712 (libc_hidden_def): Redefine.
28713
28714 2017-10-31 Alan Modra <amodra@gmail.com>
28715
28716 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28717 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28718 (__strcasecmp): Don't define.
28719
28720 2017-10-31 Alan Modra <amodra@gmail.com>
28721
28722 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28723 IS_IN (libc).
28724 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28725 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28726 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28727
28728 2017-10-31 Alan Modra <amodra@gmail.com>
28729
28730 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28731 USE_AS_STPNCPY.
28732
28733 2017-10-31 Alan Modra <amodra@gmail.com>
28734
28735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28736 Redefine only when SHARED.
28737
28738 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28739
28740 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28741 Include <bits/math-finite.h> with appropriate macros defined and
28742 undefined.
28743 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28744 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28745 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28746 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28747 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28748
28749 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28750 [!_Mlong_double_] (_Mlong_double_): Likewise.
28751 [!_Mfloat16_] (_Mfloat16_): Likewise.
28752 [!_Mfloat32_] (_Mfloat32_): Likewise.
28753 [!_Mfloat64_] (_Mfloat64_): Likewise.
28754 [!_Mfloat128_] (_Mfloat128_): Likewise.
28755 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28756 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28757 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28758 (_Mdouble_): Define without indirection through those macros.
28759 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28760 [!_Mfloat128_] (_Mfloat128_): Likewise.
28761 [_Mlong_double_] (_Mlong_double_): Likewise.
28762 (_Mdouble_): Define without indirection through those macros.
28763 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28764 not add -D_Mlong_double_=double.
28765 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28766 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28767
28768 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28769
28770 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28771
28772 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28773
28774 * sysdeps/x86/libc-start.c: Reformat.
28775
28776 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28777
28778 [BZ #22353]
28779 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28780 (1): Renamed to ...
28781 (L(Src0)): This.
28782 (L(Src1)): New.
28783 (L(Src2)): Likewise.
28784 (L(1)): Renamed to ...
28785 (L(Src3)): This.
28786
28787 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28788
28789 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28790 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28791 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28792 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28793 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28794 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28795 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28796 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28797 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28798 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28799 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28800 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28801 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28802 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28803 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28804 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28805 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28806 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28807 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28808 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28809 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28810 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28811 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28812 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28813 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28814 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28815 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28816 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28817 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28818 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28819 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28820 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28821 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28822 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28823 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28824 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28825 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28826 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28827 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28828 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28829 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28830 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28831 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28832 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28833 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28834 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28835 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28836 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28837 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28838 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28839 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28840 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28841 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28842 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28843 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28844 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28845 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28846 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28847 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28848 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28849 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28850 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28851 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28852 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28853 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28854 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28855
28856 2017-10-30 Florian Weimer <fweimer@redhat.com>
28857
28858 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28859 always defined.
28860 * io/tst-mkdirat.c (do_test): Likewise.
28861 * io/tst-mkfifoat.c (do_test): Likewise.
28862 * io/tst-mknodat.c (do_test): Likewise.
28863 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28864 * locale/programs/locale.c (select_dirs): Likewise.
28865 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28866 * posix/bug-glob2.c (my_readdir): Likewise.
28867 * posix/tst-dir.c (main): Likewise.
28868 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28869 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28870
28871 2017-10-30 Florian Weimer <fweimer@redhat.com>
28872
28873 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28874 just __USE_GNU.
28875
28876 2017-10-30 Florian Weimer <fweimer@redhat.com>
28877
28878 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28879 Convert to support/test-driver.c.
28880 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28881 New macro parameters.
28882 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28883 * posix/tst-gnuglob.c: New file.
28884 * posix/tst-gnuglob64.c: Likewise.
28885 * posix/Makefile (tests): Add tst-gnuglob64.
28886
28887 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
28888
28889 [BZ #19485]
28890 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28891 and use a better translation for March in “mon”.
28892 * localedata/locales/csb_PL: Use more ASCII to improve the
28893 readability of the source.
28894
28895 2017-10-30 Mike FABIAN <mfabian@redhat.com>
28896
28897 [BZ #13953]
28898 * localedata/locales/km_KH: Use ASCII as much
28899 as possible for better readability of the source and
28900 remove useless comments.
28901 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28902 was commented out and apparently wrong anyway because it was
28903 using Lao characters. If Buddhist era should be used
28904 for km_KH, a native speaker should write the correct formaat
28905 for Khmer.
28906 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28907 (According to CLDR, the first weekday for Cambodia is Sunday).
28908 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28909 (These were using Lao characters which must be wrong. If we get
28910 the correct data from a native speaker, we could add it back, until
28911 then it is better not to have name_mr and name_mrs at all than
28912 having it wrong).
28913
28914 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
28915
28916 * locale/loadlocale.c: Correct size of
28917 _nl_value_type_LC_<category> arrays.
28918
28919 2017-10-27 Joseph Myers <joseph@codesourcery.com>
28920
28921 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28922 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28923 with appropriate macros defined and undefined.
28924 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28925 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28926 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28927 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28928 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28929
28930 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28931
28932 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28933 "-O2 -march=i586".
28934
28935 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28936
28937 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
28938 with lowercase letters to make it agree with CLDR.
28939
28940 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28941
28942 [BZ #15260]
28943 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
28944 first letters of yesstr and nostr in yesexpr and noexpr,
28945 not for the full words.
28946 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28947 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28948 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28949 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28950 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28951 first letters of yesstr and nostr in yesexpr and noexpr,
28952 until now only English was matched in yesexpr and noexpr.
28953 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28954 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28955 fil but not for tl. As tl and fil are very similar, using fil
28956 is probably better than using English.
28957
28958 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
28959
28960 [BZ #21706]
28961 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28962 in yesstr and nostr.
28963
28964 2017-10-26 Joseph Myers <joseph@codesourcery.com>
28965
28966 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28967 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28968 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28969 Likewise.
28970 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28971 Likewise.
28972 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28973 Likewise.
28974 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28975 Likewise.
28976 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28977 (SNANF128X): Likewise.
28978
28979 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28980 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28981 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28982 (HUGE_VAL_F32): Likewise.
28983 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28984 (HUGE_VAL_F64): Likewise.
28985 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28986 (HUGE_VAL_F32X): Likewise.
28987 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28988 (HUGE_VAL_F64X): Likewise.
28989 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28990 (HUGE_VAL_F128X): Likewise.
28991
28992 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28993
28994 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28995 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28996 for the br_FR locale.
28997
28998 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28999
29000 [BZ #21706]
29001 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29002
29003 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29004
29005 * locale/programs/record-status.h: Define globals, and function
29006 prototypes. Move function bodies...
29007 * locale/programs/record-status.c: ... to here. New file.
29008 * iconv/Makefile (iconv_prog-modules): Add record-status.
29009 * locale/Makefile (lib-modules): Likewise.
29010 * iconv/iconv_prog.c: Remove verbose.
29011 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29012 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29013 record a warning about ASCII compatibility.
29014 * locale/programs/ld-monetary.c (monetary_finish): If
29015 warn_int_curr_symbol is true then record a warning about the symbol
29016 not being in our ISO 4217 list.
29017 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29018 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29019 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29020 (OPT_NO_WARN): Define.
29021 (OPT_WARN): Define.
29022 (options): Add entry for --no-warnings, and --warnings.
29023 (set_warnings): New function to enable/disable warnings.
29024 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29025 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29026 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29027 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29028 Pass flags to generate_locale.
29029 (generate_locale): Accept new flag argument and pass it to localedef
29030 invocation.
29031 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29032 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29033
29034 * localedata/Makefile (test-input-data): Use full file name.
29035 * localedata/da_DK.in: Rename to...
29036 * localedata/da_DK.ISO-8859-1.in: ...this.
29037 * localedata/de_DE.in: Rename to...
29038 * localedata/de_DE.ISO-8859-1.in: ...this.
29039 * localedata/en_US.in: Rename to...
29040 * localedata/en_US.ISO-8859-1.in: ...this.
29041 * localedata/fr_FR.in: Rename to...
29042 * localedata/fr_FR.UTF-8.in: ... this.
29043 * localedata/hr_HR.in: Rename to...
29044 * localedata/hr_HR.ISO-8859-2.in: ...this.
29045 * localedata/hu_HU.in: Rename to...
29046 * localedata/hu_HU.UTF-8.in: ...this.
29047 * localedata/si_LK.in: Rename to...
29048 * localedata/si_LK.UTF-8.in: ...this.
29049 * localedata/sv_SE.in: Rename to...
29050 * localedata/sv_SE.ISO-8859-1.in: ...this.
29051 * localedata/tr_TR.in: Rename to...
29052 * localedata/tr_TR.UTF-8.in: ...this.
29053 * localedata/uk_UA.in: Rename to...
29054 * localedata/uk_UA.UTF-8.in: ...this.
29055 * localedata/sort-test.sh: Test file is locale name with the
29056 suffix.
29057
29058 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29059 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29060 file.
29061 * localedata/locales/i18n_ctype: Regenerate.
29062 * localedata/locales/tr_TR: Likewise.
29063 * localedata/locales/translit_circle: Likewise.
29064 * localedata/locales/translit_cjk_compat: Likewise.
29065 * localedata/locales/translit_combining: Likewise.
29066 * localedata/locales/translit_compat: Likewise.
29067 * localedata/locales/translit_font: Likewise.
29068 * localedata/locales/translit_fraction: Likewise.
29069
29070 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29071
29072 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29073 lxvd2x/stxvd2x with lvx/stvx.
29074 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29075
29076 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29077
29078 * include/alloc_buffer.h: Replace "if if " with "if " in
29079 comments.
29080 * sysdeps/mips/memcpy.S: Likkewise.
29081 * sysdeps/mips/memset.S: Likewise.
29082 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29083 Likewise.
29084 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29085 Likewise.
29086 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29087 Likewise.
29088
29089 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29090
29091 [BZ #15261]
29092 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29093 yesexpr and noexpr.
29094 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29095 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29096 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29097 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29098 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29099 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29100 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29101
29102 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29103
29104 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29105 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29106 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29107 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29108 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29109 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29110 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29111 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29112 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29113 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29114 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29115 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29116
29117 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29118
29119 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29120 as possible for better readability of the source.
29121 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29122 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29123 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29124 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29125 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29126 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29127 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29128 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29129 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29130 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29131 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29132 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29133 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29134 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29135 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29136 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29137 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29138 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29139 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29140 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29141 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29142 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29143 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29144 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29145 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29146 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29147 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29148 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29149 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29150 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29151 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29152 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29153 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29154 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29155 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29156 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29157 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29158 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29159 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29160 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29161 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29162 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29163 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29164 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29165 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29166 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29167 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29168 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29169 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29170 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29171 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29172 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29173 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29174 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29175 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29176 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29177 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29178 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29179 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29180 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29181 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29182 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29183 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29184 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29185 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29186 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29187 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29188 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29189 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29190 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29191 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29192 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29193 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29194 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29195 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29196 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29197 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29198 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29199 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29200 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29201 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29202 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29203 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29204 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29205 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29206 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29207 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29208 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29209 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29210 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29211 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29212 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29213 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29214 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29215 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29216 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29217 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29218 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29219 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29220 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29221 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29222 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29223 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29224 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29225 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29226 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29227 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29228 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29229 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29230 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29231 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29232 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29233 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29234 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29235 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29236 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29237 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29238 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29239 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29240 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29241 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29242 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29243 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29244 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29245 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29246 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29247 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29248 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29249 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29250 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29251 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29252 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29253 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29254 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29255 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29256 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29257 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29258 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29259 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29260 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29261 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29262 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29263 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29264 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29265 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29266 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29267 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29268 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29269 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29270 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29271 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29272 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29273 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29274 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29275 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29276 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29277 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29278 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29279 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29280 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29281 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29282 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29283 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29284 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29285 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29286 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29287 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29288 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29289 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29290 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29291 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29292 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29293 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29294 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29295
29296 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29297
29298 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29299 (Use first letters of yesstr and nostr correctly instead of using
29300 full words).
29301
29302 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29303
29304 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29305 (Use first letters of yesstr and nostr correctly).
29306
29307 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29308
29309 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29310 also check for the first characters of yesstr and nostr.
29311 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29312 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29313
29314 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29315
29316 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29317 also check for Chinese characters.
29318
29319 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29320
29321 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29322 match also for the contents of yesstr and nostr. As the first letter
29323 of yesstr and nostr is equal, checking only for the first letter
29324 is not enough.
29325
29326 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29327
29328 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29329 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29330
29331 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29332
29333 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29334 of main contributor.
29335
29336 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29337
29338 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29339 instead of using English.
29340
29341 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29342
29343 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29344 by including the first letters of nostr and yesexpr in the regexp.
29345 Also make it more readable by using ASCII where possible.
29346
29347 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29348
29349 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29350 the first letter of nostr in the regexp. It agrees with CLDR now.
29351 Also make it more readable by using ASCII where possible.
29352
29353 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29354
29355 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29356 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29357 these strings contain a U+17D6 (which somewhat looks like a colon)
29358 instead of a real colon to separate the full words for “yes”
29359 and “no” from the single letter responses.
29360
29361 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29362
29363 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29364 it agree with CLDR (include the first letter of yesstr).
29365 Also make it more readable by using ASCII where possible.
29366
29367 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29368
29369 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29370 and improve yesexpr and noexpr. The yesstr and nostr apparently
29371 came from CLDR. And CLDR has a bug there: these strings contain
29372 a U+0903 (which looks like a colon) instead of a real colon
29373 to separate the full words for “yes” and “no” from the single
29374 letter responses.
29375
29376 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29377
29378 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29379 letters of the full yesstr and nostr in yesexpr and noexpr.
29380
29381 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29382
29383 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29384 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29385 * localedata/locales/an_ES: Make source more readable by using ASCII
29386 where possible.
29387
29388 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29389
29390 [BZ #20952]
29391 * localedata/locales/yuw_PG: New file.
29392 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29393 * locale/iso-639.def: Add Yau (Uruwa).
29394
29395 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29396
29397 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29398
29399 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29400
29401 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29402 (__libc_realloc): Likewise.
29403 (_mid_memalign): Likewise.
29404 (__libc_calloc): Likewise.
29405
29406 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29407
29408 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29409 by adding the generic +1 and -0 as in all other locales.
29410 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29411 day names and make it more readable by using ASCII where possible.
29412
29413 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29414
29415 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29416 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29417
29418 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29419
29420 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29421 WNOHANG in waitpid call.
29422
29423 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29424
29425 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29426 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29427
29428 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29429 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29430 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29431 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29432 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29433 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29434 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29435 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29436 variables.
29437
29438 2017-10-23 Michael Collison <michael.collison@arm.com>
29439
29440 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29441 with __builtin_sqrt.
29442 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29443 with __builtin_sqrtf.
29444 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29445 with __builtin_ceil.
29446 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29447 with __builtin_ceilf.
29448 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29449 with __builtin_floor.
29450 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29451 with __builtin_floorf.
29452 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29453 with __builtin_fma.
29454 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29455 with __builtin_fmaf.
29456 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29457 with __builtin_fmax.
29458 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29459 with __builtin_fmaxf.
29460 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29461 with __builtin_fmin.
29462 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29463 with __builtin_fminf.
29464 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29465 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29466 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29467 with builtin_rint and conversion to int.
29468 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29469 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29470 with builtin_llround.
29471 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29472 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29473 with builtin_rint and conversion to long int.
29474 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29475 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29476 with builtin_lround.
29477 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29478 with builtin_lroundf.
29479 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29480 statements with __builtin_nearbyint.
29481 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29482 statements with __builtin_nearbyintf.
29483 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29484 with __builtin_rint.
29485 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29486 with __builtin_rintf.
29487 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29488 with __builtin_round.
29489 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29490 with __builtin_roundf.
29491 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29492 with __builtin_trunc.
29493 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29494 with __builtin_truncf.
29495 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29496 and s_l[l]round[f].c too.
29497
29498 2017-10-23 Alan Modra <amodra@gmail.com>
29499
29500 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29501 Adjust stack after restoring regs. Add missing LR cfi_restore.
29502
29503 2017-10-23 Alan Modra <amodra@gmail.com>
29504
29505 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29506 Move LR save and frame setup/teardown and LR restore to
29507 immediately around memset call. Provide cfi.
29508
29509 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29510
29511 * sysdeps/i386/fpu/e_powf.S: Removed.
29512 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29513 * sysdeps/i386/fpu/w_powf.c: Likewise.
29514 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29515 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29516 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29517 Add e_powf-sse2.
29518 (CFLAGS-e_powf-sse2.c): New.
29519 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29520 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29521
29522 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29523
29524 * sysdeps/i386/fpu/e_log2f.S: Removed.
29525 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29526 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29527 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29528 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29529 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29530 Add e_log2f-sse2.
29531 (CFLAGS-e_log2f-sse2.c): New.
29532 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29533 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29534
29535 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29536
29537 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29538 Add e_powf-fma.
29539 (CFLAGS-e_powf-fma.c): New.
29540 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29541 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29542
29543 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29544
29545 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29546 Add e_log2f-fma.
29547 (CFLAGS-e_log2f-fma.c): New.
29548 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29549 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29550
29551 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29552
29553 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29554 Add e_logf-fma.
29555 (CFLAGS-e_logf-fma.c): New.
29556 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29557 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29558
29559 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29560
29561 * sysdeps/i386/fpu/e_logf.S: Removed.
29562 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29563 * sysdeps/i386/fpu/w_logf.c: Likewise.
29564 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29565 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29566 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29567 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29568 Add e_logf-sse2.
29569 (CFLAGS-e_logf-sse2.c): New.
29570 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29571 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29572
29573 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29574
29575 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29576 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29577 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29578 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29579 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29580 Add e_exp2f-sse2.
29581 (CFLAGS-e_exp2f-sse2.c): New.
29582 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29583 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29584
29585 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29586
29587 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29588 Add e_exp2f-fma.
29589 (CFLAGS-e_exp2f-fma.c): New.
29590 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29591 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29592
29593 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29594
29595 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29596 * sysdeps/i386/fpu/e_expf.S: Likewise.
29597 * sysdeps/i386/fpu/math_errf.c: Likewise.
29598 * sysdeps/i386/fpu/w_expf.c: Likewise.
29599 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29600 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29601 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29602 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29603 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29604 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29605 Remove e_expf-ia32.
29606 (CFLAGS-e_expf-sse2.c): New.
29607 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29608 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29609
29610 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29611
29612 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29613 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29614 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29615 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29616 e_expf.c.
29617 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29618 New.
29619 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29620 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29621 Renamed to ...
29622 (__redirect_expf): This.
29623 (SYMBOL_NAME): Changed to expf.
29624 (__ieee754_expf): Renamed to ...
29625 (__expf): This.
29626 (__GI___expf): This.
29627 (__ieee754_expf): Add strong_alias.
29628 (__expf_finite): Likewise.
29629 (__expf): New.
29630 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29631
29632 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29633
29634 [BZ #22332]
29635 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29636 unescaping.
29637
29638 2017-10-21 Florian Weimer <fweimer@redhat.com>
29639
29640 * posix/Makefile (tests): Add tst-glob-tilde.
29641 (tests-special): Add tst-glob-tilde-mem.out
29642 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29643 (tst-glob-tilde-mem.out): Add mtrace check.
29644 * posix/tst-glob-tilde.c: New file.
29645
29646 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29647
29648 * bits/floatn-common.h: New file.
29649 * math/Makefile (headers): Add bits/floatn-common.h.
29650 * bits/floatn.h: Include <bits/floatn-common.h>.
29651 * sysdeps/ia64/bits/floatn.h: Likewise.
29652 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29653 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29654 * sysdeps/powerpc/bits/floatn.h: Likewise.
29655 * sysdeps/x86/bits/floatn.h: Likewise.
29656
29657 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29658
29659 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29660 indicates whether compiler emits an warning for alias for
29661 functions with incompatible types.
29662
29663 [BZ #22273]
29664 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29665 the auxiliary process is terminated by a signal before calling _exit
29666 or execve.
29667
29668 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29669
29670 [BZ #21265]
29671 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29672 New.
29673 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29674 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29675 and bit_arch_XSAVEC_Usable if needed.
29676 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29677 and bit_arch_Use_dl_runtime_resolve_opt.
29678 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29679 Removed.
29680 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29681 (bit_arch_Prefer_No_AVX512): Updated.
29682 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29683 (bit_arch_XSAVEC_Usable): New.
29684 (STATE_SAVE_OFFSET): Likewise.
29685 (STATE_SAVE_MASK): Likewise.
29686 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29687 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29688 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29689 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29690 (index_arch_XSAVEC_Usable): New.
29691 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29692 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29693 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29694 is enabled.
29695 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29696 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29697 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29698 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29699 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29700 _dl_runtime_resolve_xsavec.
29701 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29702 Removed.
29703 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29704 instead of VEC_SIZE.
29705 (REGISTER_SAVE_BND0): Removed.
29706 (REGISTER_SAVE_BND1): Likewise.
29707 (REGISTER_SAVE_BND3): Likewise.
29708 (REGISTER_SAVE_RAX): Always defined to 0.
29709 (VMOV): Removed.
29710 (_dl_runtime_resolve_avx): Likewise.
29711 (_dl_runtime_resolve_avx_slow): Likewise.
29712 (_dl_runtime_resolve_avx_opt): Likewise.
29713 (_dl_runtime_resolve_avx512): Likewise.
29714 (_dl_runtime_resolve_avx512_opt): Likewise.
29715 (_dl_runtime_resolve_sse): Likewise.
29716 (_dl_runtime_resolve_sse_vex): Likewise.
29717 (USE_FXSAVE): New.
29718 (_dl_runtime_resolve_fxsave): Likewise.
29719 (USE_XSAVE): Likewise.
29720 (_dl_runtime_resolve_xsave): Likewise.
29721 (USE_XSAVEC): Likewise.
29722 (_dl_runtime_resolve_xsavec): Likewise.
29723 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29724 Removed.
29725 (_dl_runtime_resolve_avx512_opt): Likewise.
29726 (_dl_runtime_resolve_avx): Likewise.
29727 (_dl_runtime_resolve_avx_opt): Likewise.
29728 (_dl_runtime_resolve_sse): Likewise.
29729 (_dl_runtime_resolve_sse_vex): Likewise.
29730 (_dl_runtime_resolve_fxsave): New.
29731 (_dl_runtime_resolve_xsave): Likewise.
29732 (_dl_runtime_resolve_xsavec): Likewise.
29733
29734 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29735
29736 [BZ #22320]
29737 CVE-2017-15670
29738 * posix/glob.c (__glob): Fix one-byte overflow.
29739
29740 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29741
29742 * malloc/malloc.c (sysdep-cancel.h): Add include.
29743
29744 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29745
29746 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29747
29748 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29749
29750 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29751 (tests): Remove $(objpfx)ga_test depdendency.
29752 * resolv/ga_test.c: Remove file.
29753
29754 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29755
29756 [BZ #18812]
29757 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29758 * localedata/locales/kab_DZ: New file.
29759
29760 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29761
29762 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29763 _dl_relocate_static_pie instead of _dl_start to compute load
29764 address in static PIE.
29765
29766 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29767
29768 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29769
29770 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29771
29772 [BZ #13605]
29773 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29774 * localedata/locales/shn_MM: New file.
29775
29776 2017-10-20 Florian Weimer <fweimer@redhat.com>
29777
29778 [BZ #22321]
29779 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29780 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29781 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29782 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29783 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29784 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29785
29786 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29787
29788 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29789
29790 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29791
29792 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29793
29794 [BZ #22322]
29795 * sysdeps/mips/bits/long-double.h: Move to ....
29796 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29797
29798 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29799
29800 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29801
29802 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
29803 H.J. Lu <hongjiu.lu@intel.com>
29804
29805 [BZ #22299]
29806 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29807 GLRO(dl_platform) to NULL.
29808 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29809 (modules-names): Add tst-platformmod-1 and
29810 x86_64/tst-platformmod-2.
29811 (CFLAGS-tst-platform-1.c): New.
29812 (CFLAGS-tst-platformmod-1.c): Likewise.
29813 (CFLAGS-tst-platformmod-2.c): Likewise.
29814 (LDFLAGS-tst-platformmod-2.so): Likewise.
29815 ($(objpfx)tst-platform-1): Likewise.
29816 ($(objpfx)tst-platform-1.out): Likewise.
29817 (tst-platform-1-ENV): Likewise.
29818 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29819 * sysdeps/x86_64/tst-platform-1.c: New file.
29820 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29821 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29822
29823 2017-10-19 Mike FABIAN <mfabian@redhat.com>
29824
29825 [BZ #13994]
29826 * locale/iso-639.def: Add Karbi.
29827 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29828 * localedata/locales/mjw_IN: New file.
29829
29830 2017-10-18 Joseph Myers <joseph@codesourcery.com>
29831
29832 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29833 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29834 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29835 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29836 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29837 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29838 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29839 <bits/floatn.h>.
29840 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29841 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29842 * manual/math.texi (Mathematics): Document additional architecture
29843 support for _Float128.
29844 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29845 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29846 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29847 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29848 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29849 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29850 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29851 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29852 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29853 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29854 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29855 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29856 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29857 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29858 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29859
29860 2017-10-18 Renlin Li <renlin.li@arm.com>
29861
29862 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29863 _DYNAMIC symbol to calculate load address.
29864
29865 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
29866
29867 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29868 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29869 summary bits.
29870 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29871 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29872
29873 2017-10-18 Mike FABIAN <mfabian@redhat.com>
29874
29875 [BZ #16777]
29876 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29877 and improve readability by using more ASCII.
29878 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29879 and improve readability by using more ASCII.
29880
29881 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29882
29883 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29884 not all targets support atomics on bool.
29885
29886 2017-10-17 Joseph Myers <joseph@codesourcery.com>
29887
29888 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29889 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29890 __f128.
29891 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29892 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29893 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29894 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29895 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29896 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29897
29898 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29899
29900 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29901 defines.
29902
29903 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29904
29905 [BZ #22159]
29906 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29907 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29908 (do_check_remalloced_chunk): Fix build bug.
29909 (do_check_malloc_state): Add assert that checks arena->top.
29910 (malloc_consolidate): Remove initialization.
29911 (int_mallinfo): Remove call to malloc_consolidate.
29912 (__libc_mallopt): Clarify why malloc_consolidate is needed.
29913
29914 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29915
29916 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29917 (have_fastchunks): Remove.
29918 (clear_fastchunks): Remove.
29919 (set_fastchunks): Remove.
29920 (malloc_state): Add have_fastchunks.
29921 (malloc_init_state): Use have_fastchunks.
29922 (do_check_malloc_state): Remove incorrect invariant checks.
29923 (_int_malloc): Use have_fastchunks.
29924 (_int_free): Likewise.
29925 (malloc_consolidate): Likewise.
29926
29927 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29928
29929 * malloc/malloc.c (tcache_put): Inline.
29930 (tcache_get): Inline.
29931
29932 2017-10-17 Jordi Mallach <jordi@gnu.org>
29933
29934 Aurelien Jarno <aurelien@aurel32.net>
29935 [BZ #2522]
29936 * localedata/locales/ca_ES@valencia: New file.
29937 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
29938
29939 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
29940
29941 [BZ #22296]
29942 * math/math.h: Let signbit use the builtin in C++ mode with gcc
29943 < 6.x
29944
29945 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29946
29947 * scripts/build-many-glibcs.py (Context.add_all_configs):
29948 Add arm-linux-gnueabihf multiarch extra_glibcs.
29949
29950 * sysdeps/generic/ifunc-init.h: New file.
29951 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29952
29953 2017-10-17 Mike FABIAN <mfabian@redhat.com>
29954
29955 [BZ #22019]
29956 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29957 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29958 * stdlib/tst-strfmon_l.c: adapt test case.
29959
29960 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29961
29962 * sysdeps/generic/float128-abi.h: New file.
29963 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29964 non-__prefixed symbols to ....
29965 * math/Versions: ... here. Include <float128-abi.h>.
29966 * stdlib/Versions ... and here. Include <float128-abi.h>
29967
29968 2017-10-16 Florian Weimer <fweimer@redhat.com>
29969
29970 * version.h (VERSION): Switch to ".9000" as the development
29971 version suffix.
29972
29973 2017-10-16 Florian Weimer <fweimer@redhat.com>
29974
29975 [BZ #22050]
29976 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29977 compat_symbol_reference to access non-default version.
29978
29979 2017-10-16 Florian Weimer <fweimer@redhat.com>
29980
29981 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29982
29983 2017-10-16 Carlos O'Donell <carlos@redhat.com>
29984
29985 * include/shlib-compat.h (compat_symbol_reference): Update
29986 comment.
29987
29988 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29989
29990 * math/Makefile (test-types): Add
29991 $(type-float128-$(float128-alias-fcts)).
29992 * math/test-float128.h (TYPE_STR): Define conditional on
29993 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29994 (ULP_IDX): Likewise.
29995 (ULP_I_IDX): Likewise.
29996
29997 * stdlib/strtold.c: Include <bits/floatn.h>
29998 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29999 and later undefine as macro. Define as weak alias if
30000 [!USE_WIDE_CHAR].
30001 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30002 and later undefine as macro. Define as weak alias if
30003 [USE_WIDE_CHAR].
30004 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30005 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30006 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30007 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30008 Define and later undefine as macro. Define as weak alias if
30009 [USE_WIDE_CHAR].
30010 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30011 <bits/floatn.h>.
30012 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30013 Define and later undefine as macro. Define as weak alias if
30014 [!USE_WIDE_CHAR].
30015 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30016 Define and later undefine as macro. Define as weak alias if
30017 [USE_WIDE_CHAR].
30018
30019 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30020
30021 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30022 record_verbose messages.
30023
30024 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30025
30026 [BZ #22052]
30027 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30028 to silence -O3 -Wall warning with GCC 7.
30029
30030 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30031
30032 * Makeconfig (+link-static-before-libc): Use the first of
30033 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30034 * gmon/Makefile (tests): Add tst-gmon-static.
30035 (tests-static): Likewise.
30036 (CFLAGS-tst-gmon-static.c): New.
30037 (CRT-tst-gmon-static): Likewise.
30038 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30039 (tst-gmon-static-ENV): Likewise.
30040 (tests-special): Likewise.
30041 ($(objpfx)tst-gmon-static.out): Likewise.
30042 (clean-tst-gmon-static-data): Likewise.
30043 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30044 * gmon/tst-gmon-static-gprof.sh: New file.
30045 * gmon/tst-gmon-static.c: Likewise.
30046
30047 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30048
30049 [BZ #22295]
30050 * locale/programs/linereader.c (get_string): Don't warn on
30051 non-symbolic character.
30052
30053 [BZ #22294]
30054 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30055 int_curr_symbol.
30056
30057 [BZ #22292]
30058 * locale/programs/record-status.h: New file
30059 * locale/programs/locale.c: Add comment.
30060 * locale/programs/charmap-dir.c: Don't include error.h.
30061 (charmap_opendir): Use record_error.
30062 * locale/programs/charmap.c: Don't include error.h.
30063 (charmap_read): Use record_error, and record_warning.
30064 (parse_charmap): Likewise.
30065 * locale/programs/ld-address.c: Don't include error.h.
30066 (address_finish): Use record_error, and record_warning.
30067 * locale/programs/ld-collate.c: Don't include error.h.
30068 (collate_finish): Use record_error, and record_error_at_line.
30069 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30070 (ctype_class_new): Likewise.
30071 (ctype_map_new): Likewise.
30072 (set_one_default): Likewise.
30073 (set_class_defaults): Likewise.
30074 (translit_flatten): Likewise.
30075 (allocate_arrays): Use record_error, and record_verbose.
30076 * locale/programs/ld-identification.c: Don't include error.h.
30077 (indentation_finish): Use record_error and record_warning.
30078 * locale/programs/ld-measurement.c: Don't include error.h.
30079 (measurement_finish): Use record_error.
30080 * locale/programs/ld-messages.c
30081 (message_finish): Likewise.
30082 * locale/programs/ld-monetary.c
30083 (monetary_finish): Likewise.
30084 * locale/programs/ld-name.c (name_finish): Use record_error
30085 and record_warning.
30086 * locale/programs/ld-numeric.c
30087 (numeric_finish): Use record_error.
30088 * locale/programs/ld-paper.c: Don't include error.h.
30089 (paper_finish): Use record_error.
30090 * locale/programs/ld-telephone.c: Don't include error.h.
30091 (telephone_finish): Use record_error.
30092 * locale/programs/ld-time.c (time_finish): Likewise.
30093 * locale/programs/linereader.h (lr_error): Make inline func.
30094 * locale/programs/localedef.c: Define recorded_warning_count,
30095 and recorded_error_count.
30096 (main): Use record_error. Use recorded_error_count and
30097 recorded_warning_count to issue correct error returns.
30098 (add_to_readlist): Use record_error.
30099 (find_locale): Likewise.
30100 (load_locale): Likewise.
30101 * locale/programs/localedef.h: Remove be_quiet
30102 and WITH_CUR_LOCALE.
30103 * locale/programs/locarchive.c (compare_from_file): Use
30104 record_error.
30105 * locale/programs/locfile.c (write_locale_data): Use
30106 record_error.
30107 * locale/programs/repertoire.c: Dont include error.h.
30108 (repertoire_complain): Use record_error.
30109 * localedata/tst-fmon.sh: Expect failures from localedef.
30110 * localedata/tst-locale.sh: Likewise.
30111 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30112
30113 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30114 (REPORTS): Likewise.
30115 (check): Likewise.
30116 (i18n): Rename to...
30117 (i18n_ctype): ...this.
30118 (i18n-report): Rename to...
30119 (i18n_ctype-report): ...this.
30120 * localedata/locales/i18n_ctype: Regenerate.
30121 * localedata/locales/i18n: copy i18n_ctype.
30122
30123 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30124
30125 * stdlib/strfroml.c: Include <bits/floatn.h>.
30126 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30127 Define before include of <stdlib.h> and undefine afterwards, then
30128 define as weak alias.
30129
30130 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30131 Undefine and restore default definition. Use
30132 libm_alias_ldouble_other.
30133
30134 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30135
30136 [BZ #22153]
30137 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30138 in coredumps.
30139
30140 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30141
30142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30143 Assign sym_map to be map for local symbols, as TLS relocations
30144 use sym_map to determine whether the symbol is defined and to
30145 extract the TLS information.
30146 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30147 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30148
30149 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30150
30151 [BZ #22189]
30152 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30153 (math_force_eval): Add powerpc version.
30154
30155 [BZ #22142]
30156 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30157 -DBL_MAX.
30158 (do_test): Likewise.
30159 * stdio-common/tst-printf.sh: Likewise.
30160 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30161 ifdef clause in order to set the carry bit right. Replace r0 by
30162 0 without changing the behavior.
30163
30164 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30165
30166 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30167 <libm-alias-ldouble.h>.
30168 (fabsl): Define using libm_alias_ldouble.
30169 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30170 <libm-alias-ldouble.h>.
30171 (fabsl): Define using libm_alias_ldouble.
30172
30173 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30174 Remove conditional code.
30175
30176 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30177 Rename to __clog10_internal_l.
30178 (__clog10_internal_l): Define aliases using
30179 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30180 with __clog10.
30181
30182 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30183
30184 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30185 * benchtests/sincosf-inputs: New file.
30186 * benchtests/cosf-inputs: New file.
30187 * benchtests/sinf-inputs: New file.
30188
30189 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30190
30191 * posix/tst-spawn.c (do_test): Wait for both children.
30192
30193 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30194
30195 [BZ #22284]
30196 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30197 tests-pie): Add tst-gmon-pie.
30198 (CFLAGS-tst-gmon-pie.c): New.
30199 (CRT-tst-gmon-pie): Likewise.
30200 (tst-gmon-pie-ENV): Likewise.
30201 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30202 ($(objpfx)tst-gmon-pie.out): Likewise.
30203 (clean-tst-gmon-pie-data): Likewise.
30204 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30205 * gmon/gmon.c [PIC]: Include <link.h>.
30206 [PIC] (callback): New function.
30207 (write_hist): Add an argument for load address. Subtract load
30208 address from PCs.
30209 (write_call_graph): Likewise.
30210 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30211 it to write_hist and write_call_graph.
30212 * gmon/tst-gmon-pie.c: New file.
30213
30214 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30215
30216 * math/Makefile (test-types-basic): New variable.
30217 (test-types): Likewise.
30218 (libm-test-support): Use $(test-types) instead of $(types).
30219 (libm-tests-base-normal): Likewise.
30220 (libm-tests-base-finite): Likewise.
30221 (libm-tests-base-inline): Likewise.
30222 (generated): Likewise.
30223 ($(objpfx)libm-test-support-$(t).c): Likewise.
30224 (libm-tests-for-type iterator): Likewise.
30225 (libm-test-support iterator): Likewise.
30226 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30227 (ulp_idx): Use ULP_IDX.
30228 * math/test-ldouble.h: Include <float.h>.
30229 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30230 (ULP_IDX): New macro.
30231 (ULP_I_IDX): Likewise.
30232 * math/test-double.h (ULP_IDX): Likewise.
30233 (ULP_I_IDX): Likewise.
30234 * math/test-float.h (ULP_IDX): Likewise.
30235 (ULP_I_IDX): Likewise.
30236 * math/test-float128.h (ULP_IDX): Likewise.
30237 (ULP_I_IDX): Likewise.
30238
30239 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30240
30241 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30242 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30243 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30244 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30245 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30246 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30247 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30250 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30251 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30252 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30253 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30255 (SINGLE_THREAD_BY_GLOBAL): Define.
30256 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30257 Likewise.
30258 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30259 Likewise.
30260 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30261 Likewise.
30262 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30263 Likewise.
30264 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30265 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30267 Likewise.
30268
30269 2017-10-11 Andreas Schwab <schwab@suse.de>
30270
30271 * nis/Makefile (aux): Remove.
30272 * nscd/Makefile (aux): Add nscd_hash.
30273 (nscd-modules): Likewise.
30274 ($(objpfx)nscd): Don't depend on libnsl.
30275 * nscd/nscd_hash.c: New file.
30276 * nscd/nscd_hash.h: Likewise.
30277 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30278 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30279 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30280 instead of <nis/rpcsvc/nis.h>.
30281 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30282
30283 2017-10-11 Florian Weimer <fweimer@redhat.com>
30284
30285 [BZ #22078]
30286 Avoid large NSS buffers with many addresses, aliases.
30287 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30288 using dynarrays and struct alloc_buffer.
30289 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30290 (tst-nss-files-hosts-multi): Link with -ldl.
30291 * nss/tst-nss-files-hosts-multi.c: New file.
30292
30293 2017-10-11 Florian Weimer <fweimer@redhat.com>
30294
30295 [BZ #18023]
30296 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30297 scratch_buffer. Eliminate gotos.
30298
30299 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30300
30301 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30302 libm_alias_ldouble_other.
30303 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30304 undefine and redefine.
30305 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30306 (exp10l): Do not define here.
30307 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30308 (weak_alias): Undefine and redefine.
30309 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30310 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30311 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30312 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30313
30314 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30315 [!__fma] (fma): Define using libm_alias_double.
30316 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30317 [!__fmaf] (fmaf): Define using libm_alias_float.
30318 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30319 (fmal): Define using libm_alias_ldouble.
30320
30321 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30322
30323 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30324 New macro.
30325 (libm_alias_double_other): Likewise.
30326 (libm_alias_double_r): Use libm_alias_double_other_r.
30327 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30328 New macro.
30329 (libm_alias_float_other): Likewise.
30330 (libm_alias_float_r): Use libm_alias_float_other_r.
30331 * sysdeps/generic/libm-alias-float128.h
30332 (libm_alias_float128_other_r): New macro.
30333 (libm_alias_float128_other): Likewise.
30334 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30335 * sysdeps/generic/libm-alias-ldouble.h
30336 (libm_alias_ldouble_other_r): New macro.
30337 (libm_alias_ldouble_other): Likewise.
30338 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30339 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30340 (libm_alias_double_other_r): New macro.
30341 (libm_alias_double_other): Likewise.
30342 (libm_alias_double_r): Use libm_alias_double_other_r.
30343 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30344 (libm_alias_ldouble_other_r): New macro.
30345 (libm_alias_ldouble_other): Likewise.
30346 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30347 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30348 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30349 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30350 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30351 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30352 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30353 * math/w_exp2f.c: Use libm_alias_float_other.
30354 * math/w_expf.c: Likewise.
30355 * math/w_log2f.c: Likewise.
30356 * math/w_logf.c: Likewise.
30357 * math/w_powf.c: Likewise.
30358 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30359 [!__exp2f]: Use libm_alias_float_other.
30360 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30361 [!__expf]: Use libm_alias_float_other.
30362 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30363 [!__log2f]: Use libm_alias_float_other.
30364 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30365 [!__logf]: Use libm_alias_float_other.
30366 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30367 [!__powf]: Use libm_alias_float_other.
30368
30369 2017-10-10 Florian Weimer <fweimer@redhat.com>
30370
30371 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30372 function.
30373 (_nss_files_gethostbyname3_r): Call it.
30374
30375 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30376
30377 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30378 error. Remove default definition of declare_mgen_alias.
30379 [!declare_mgen_alias_r]: Likewise.
30380 * sysdeps/generic/math-type-macros-double.h
30381 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30382 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30383 (declare_mgen_alias_r): Likewise.
30384 * sysdeps/generic/math-type-macros-float128.h
30385 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30386 * sysdeps/generic/math-type-macros-ldouble.h
30387 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30388 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30389 macro.
30390 (declare_mgen_alias_r_s): Likewise.
30391 (declare_mgen_alias_r): Likewise.
30392 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30393 (lgamma_r): Define using libm_alias_double_r.
30394 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30395 (lgammaf_r): Define using libm_alias_float_r.
30396 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30397 (lgammal_r): Define using libm_alias_ldouble_r.
30398 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30399 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30400
30401 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30402
30403 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30404 extern declaration.
30405
30406 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30407
30408 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30409
30410 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30411
30412 [BZ #21326]
30413 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30414 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30415 * math/Makefile (test-math-cxx11): New test.
30416 * math/test-math-cxx11.cc: New file.
30417
30418 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30419
30420 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30421
30422 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30423 call to allocate the slave pty file descriptor.
30424
30425 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30426
30427 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30428 [!__fma] (fma): Define using libm_alias_double.
30429 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30430 [!__fma] (fma): Define using libm_alias_double.
30431
30432 * sysdeps/ieee754/float128/float128_private.h: Include
30433 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30434 (libm_alias_ldouble_r): Undefine and redefine.
30435 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30436 <libm-alias-ldouble.h>.
30437 (asinhl): Define using libm_alias_ldouble.
30438 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30439 <libm-alias-ldouble.h>.
30440 (atanl): Define using libm_alias_ldouble.
30441 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30442 <libm-alias-ldouble.h>.
30443 (cbrtl): Define using libm_alias_ldouble.
30444 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30445 <libm-alias-ldouble.h>.
30446 (ceill): Define using libm_alias_ldouble.
30447 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30448 <libm-alias-ldouble.h>.
30449 (copysignl): Define using libm_alias_ldouble.
30450 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30451 <libm-alias-ldouble.h>.
30452 (cosl): Define using libm_alias_ldouble.
30453 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30454 <libm-alias-ldouble.h>.
30455 (erfl): Define using libm_alias_ldouble.
30456 (erfcl): Likewise.
30457 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30458 <libm-alias-ldouble.h>.
30459 (expm1l): Define using libm_alias_ldouble.
30460 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30461 <libm-alias-ldouble.h>.
30462 (fabsl): Define using libm_alias_ldouble.
30463 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30464 <libm-alias-ldouble.h>.
30465 (floorl): Define using libm_alias_ldouble.
30466 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30467 <libm-alias-ldouble.h>.
30468 (fmal): Define using libm_alias_ldouble.
30469 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30470 <libm-alias-ldouble.h>.
30471 (frexpl): Define using libm_alias_ldouble.
30472 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30473 libm_alias_ldouble.
30474 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30475 <libm-alias-ldouble.h>.
30476 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30477 libm_alias_ldouble.
30478 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30479 <libm-alias-ldouble.h>.
30480 (getpayloadl): Define using libm_alias_ldouble.
30481 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30482 <libm-alias-ldouble.h>.
30483 (llrintl): Define using libm_alias_ldouble.
30484 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30485 <libm-alias-ldouble.h>.
30486 (llroundl): Define using libm_alias_ldouble.
30487 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30488 <libm-alias-ldouble.h>.
30489 (logbl): Define using libm_alias_ldouble.
30490 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30491 <libm-alias-ldouble.h>.
30492 (lrintl): Define using libm_alias_ldouble.
30493 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30494 <libm-alias-ldouble.h>.
30495 (lroundl): Define using libm_alias_ldouble.
30496 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30497 <libm-alias-ldouble.h>.
30498 (modfl): Define using libm_alias_ldouble.
30499 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30500 <libm-alias-ldouble.h>.
30501 (nearbyintl): Define using libm_alias_ldouble.
30502 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30503 <libm-alias-ldouble.h>.
30504 (nextafterl): Define using libm_alias_ldouble.
30505 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30506 <libm-alias-ldouble.h>.
30507 (nextupl): Define using libm_alias_ldouble.
30508 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30509 <libm-alias-ldouble.h>.
30510 (remquol): Define using libm_alias_ldouble.
30511 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30512 <libm-alias-ldouble.h>.
30513 (rintl): Define using libm_alias_ldouble.
30514 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30515 <libm-alias-ldouble.h>.
30516 (roundevenl): Define using libm_alias_ldouble.
30517 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30518 <libm-alias-ldouble.h>.
30519 (roundl): Define using libm_alias_ldouble.
30520 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30521 using libm_alias_ldouble.
30522 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30523 <libm-alias-ldouble.h>.
30524 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30525 Define using libm_alias_ldouble.
30526 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30527 <libm-alias-ldouble.h>.
30528 (sincosl): Define using libm_alias_ldouble.
30529 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30530 <libm-alias-ldouble.h>.
30531 (sinl): Define using libm_alias_ldouble.
30532 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30533 <libm-alias-ldouble.h>.
30534 (tanhl): Define using libm_alias_ldouble.
30535 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30536 <libm-alias-ldouble.h>.
30537 (tanl): Define using libm_alias_ldouble.
30538 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30539 <libm-alias-ldouble.h>.
30540 (totalorderl): Define using libm_alias_ldouble.
30541 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30542 <libm-alias-ldouble.h>.
30543 (totalordermagl): Define using libm_alias_ldouble.
30544 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30545 <libm-alias-ldouble.h>.
30546 (truncl): Define using libm_alias_ldouble.
30547 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30548 libm_alias_ldouble.
30549 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30550 libm_alias_ldouble.
30551 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30552 <libm-alias-ldouble.h>.
30553 (weak_alias): Do not undefine and redefine.
30554 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30555 (copysignl): Define with long_double_symbol only if [IS_IN
30556 (libc)].
30557 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30558 <libm-alias-ldouble.h>.
30559 (weak_alias): Do not undefine and redefine.
30560 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30561 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30562 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30563 <libm-alias-ldouble.h>.
30564 (weak_alias): Do not undefine and redefine.
30565 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30566 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30567 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30568 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30569 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30570 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30571 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30572 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30573 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30574 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30576 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30577 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30578 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30579 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30580 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30581 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30582 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30583 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30584 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30585 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30586 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30587 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30588 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30589 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30590 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30591
30592 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30593
30594 [BZ #22111]
30595 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30596 (tcache_thread_freeres): Set tcache_shutting_down before
30597 freeing the tcache.
30598 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30599 * malloc/tst-malloc-tcache-leak.c: New file.
30600
30601 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30602
30603 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30604 back to powerpc32 file.
30605 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30606 (memrchr): Add __memrchr_power8 to ifunc list.
30607 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30608 extra bytes for unaligned inputs.
30609
30610 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30611
30612 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30613 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30614 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30617
30618 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30619
30620 * sysdeps/arm/libm-test-ulps: Update.
30621
30622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30623 <libm-alias-ldouble.h>.
30624 (asinhl): Define using libm_alias_ldouble.
30625 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30626 <libm-alias-ldouble.h>.
30627 (cbrtl): Define using libm_alias_ldouble.
30628 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30629 <libm-alias-ldouble.h>.
30630 (copysignl): Define using libm_alias_ldouble.
30631 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30632 <libm-alias-ldouble.h>.
30633 (cosl): Define using libm_alias_ldouble.
30634 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30635 <libm-alias-ldouble.h>.
30636 (erfl): Define using libm_alias_ldouble.
30637 (erfcl): Likewise.
30638 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30639 <libm-alias-ldouble.h>.
30640 (fmal): Define using libm_alias_ldouble.
30641 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30642 <libm-alias-ldouble.h>.
30643 (frexpl): Define using libm_alias_ldouble.
30644 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30645 libm_alias_ldouble.
30646 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30647 <libm-alias-ldouble.h>.
30648 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30649 libm_alias_ldouble.
30650 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30651 <libm-alias-ldouble.h>.
30652 (getpayloadl): Define using libm_alias_ldouble.
30653 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30654 <libm-alias-ldouble.h>.
30655 (llrintl): Define using libm_alias_ldouble.
30656 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30657 <libm-alias-ldouble.h>.
30658 (llroundl): Define using libm_alias_ldouble.
30659 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30660 <libm-alias-ldouble.h>.
30661 (lrintl): Define using libm_alias_ldouble.
30662 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30663 <libm-alias-ldouble.h>.
30664 (lroundl): Define using libm_alias_ldouble.
30665 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30666 <libm-alias-ldouble.h>.
30667 (modfl): Define using libm_alias_ldouble.
30668 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30669 <libm-alias-ldouble.h>.
30670 (nextupl): Define using libm_alias_ldouble.
30671 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30672 <libm-alias-ldouble.h>.
30673 (remquol): Define using libm_alias_ldouble.
30674 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30675 <libm-alias-ldouble.h>.
30676 (roundevenl): Define using libm_alias_ldouble.
30677 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30678 <libm-alias-ldouble.h>.
30679 (roundl): Define using libm_alias_ldouble.
30680 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30681 using libm_alias_ldouble.
30682 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30683 <libm-alias-ldouble.h>.
30684 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30685 <libm-alias-ldouble.h>.
30686 (setpayloadsigl): Define using libm_alias_ldouble.
30687 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30688 <libm-alias-ldouble.h>.
30689 (sincosl): Define using libm_alias_ldouble.
30690 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30691 <libm-alias-ldouble.h>.
30692 (sinl): Define using libm_alias_ldouble.
30693 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30694 <libm-alias-ldouble.h>.
30695 (tanhl): Define using libm_alias_ldouble.
30696 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30697 <libm-alias-ldouble.h>.
30698 (tanl): Define using libm_alias_ldouble.
30699 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30700 <libm-alias-ldouble.h>.
30701 (totalorderl): Define using libm_alias_ldouble.
30702 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30703 <libm-alias-ldouble.h>.
30704 (totalordermagl): Define using libm_alias_ldouble.
30705 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30706 libm_alias_ldouble.
30707 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30708 libm_alias_ldouble.
30709
30710 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30711
30712 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30713 memmove_falkor.
30714 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30715 (__libc_ifunc_impl_list): Likewise.
30716 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30717 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30718
30719 * benchtests/bench-memmove-walk.c: New file.
30720 * benchtests/Makefile (string-benchset): Add it.
30721
30722 * benchtests/bench-memset-walk.c: New file.
30723 * benchtests/Makefile (string-benchset): Add it.
30724
30725 * benchtests/bench-memcpy-walk.c: New file.
30726 * benchtests/Makefile (string-benchset): Add it.
30727
30728 2017-10-05 Florian Weimer <fweimer@redhat.com>
30729
30730 nscd: Eliminate compilation time dependency in the build output.
30731 * nscd/nscd_stat.c (STATDATA_VERSION)
30732 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30733 (STATDATA_VERSION_FULL): New macro definitions.
30734 (compilation): Remove.
30735 (struct statdata): Adjust version member.
30736 (send_stats): Set version from STATDATA_VERSION_FULL.
30737 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30738
30739 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30740
30741 * configure.ac (--enable-add-ons): Remove option.
30742 (machine): Do not mention add-ons in comment.
30743 (LIBC_PRECONFIGURE): Likewise.
30744 (add_ons): Remove variable and sanity checks and logic to locate
30745 add-ons.
30746 (add_ons_automatic): Remove variable.
30747 (configured_add_ons): Likewise.
30748 (add_ons_sfx): Likewise.
30749 (add_ons_pfx): Likewise.
30750 (add_on_subdirs): Likewise.
30751 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30752 consideration of add-ons in Implies handling.
30753 (sysdeps_add_ons): Likewise.
30754 * configure: Regenerated.
30755 * libidn/configure.ac: Remove.
30756 * libidn/configure: Likewise.
30757 * sysdeps/unix/inet/configure.ac: New file.
30758 * sysdeps/unix/inet/configure: New generated file.
30759 * sysdeps/unix/inet/Subdirs: Add libidn.
30760 * Makeconfig (sysdeps-srcdirs): Remove variable.
30761 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30762 ($(common-objpfx)config.status): Do not depend on add-on files.
30763 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30764 comment.
30765 (all-subdirs): Do not include $(add-on-subdirs).
30766 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30767 * config.make.in (add-ons): Remove variable.
30768 (add-on-subdirs): Likewise.
30769 (sysdeps-add-ons): Likewise.
30770 * manual/Makefile (add-chapters): Remove.
30771 ($(objpfx)texis): Do not depend on $(add-chapters).
30772 (nonexamples): Do not handle $(add-chapters).
30773 (examples): Do not handle $(add-ons).
30774 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30775 libc-texinfo.sh.
30776 * manual/install.texi (Installation): Do not mention add-ons.
30777 (--enable-add-ons): Do not document configure option.
30778 * INSTALL: Regenerated.
30779 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30780 * manual/maint.texi (Hierarchy Conventions): Do not mention
30781 add-ons.
30782 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30783 --enable-add-ons.
30784 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30785 add-ons.
30786 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30787 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30788
30789 2017-10-05 Andreas Schwab <schwab@suse.de>
30790
30791 [BZ #15142]
30792 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30793 (_IO_flush_all_lockp): Always lock list_all_lock.
30794 (_IO_flush_all_linebuffered): Likewise.
30795 (_IO_unbuffer_all): Likewise.
30796
30797 2017-10-05 Florian Weimer <fweimer@redhat.com>
30798
30799 [BZ #15436]
30800 Do not flush stdio streams on abort.
30801 * stdlib/abort.c (fflush): Remove macro definition.
30802 (abort): Remove stages related to stdio flushing.
30803
30804 2017-10-05 Florian Weimer <fweimer@redhat.com>
30805
30806 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30807
30808 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30809
30810 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30811
30812 2017-10-05 Florian Weimer <fweimer@redhat.com>
30813
30814 * support/support_format_hostent.c (support_format_hostent): Add
30815 more error information for NETDB_INTERNAL.
30816
30817 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30818
30819 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30820 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30821 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30822 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30823 AC_DEFINE if multi-arch is enabled.
30824 * sysdeps/i386/configure: Regenerated.
30825
30826 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30827
30828 * Makeconfig (+link-static-before-libc): Use
30829 $(DEFAULT-LDFLAGS-$(@F)).
30830 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30831 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30832 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30833
30834 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30835
30836 * elf/Makefile (tests): Add tst-main1.
30837 (modules-names): Add tst-main1mod.
30838 ($(objpfx)tst-main1): New.
30839 (CRT-tst-main1): Likewise.
30840 (LDFLAGS-tst-main1): Likewise.
30841 (LDLIBS-tst-main1): Likewise.
30842 (tst-main1mod.so-no-z-defs): Likewise.
30843 * elf/tst-main1.c: New file.
30844 * elf/tst-main1mod.c: Likewise.
30845
30846 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30847
30848 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30849
30850 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30851
30852 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30853 (fma): Define using libm_alias_double.
30854 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30855 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30856 <math_ldbl_opt.h>.
30857 (fmal): Do not define as compat symbol here.
30858 * sysdeps/alpha/fpu/s_fma.c: New file.
30859
30860 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30861
30862 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30863
30864 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30865
30866 [BZ #22229]
30867 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30868 <math_ldbl_opt.h>
30869 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30870 and libc.
30871 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30872 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30873 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30874 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30876 Include <math_ldbl_opt.h>
30877 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30878 and libc.
30879 (compat_symbol): Undefine and redefine.
30880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30881 <math_ldbl_opt.h>
30882 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30883 (compat_symbol): Undefine and redefine.
30884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30885 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30886 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30887 GLIBC_2_1 for libm.
30888 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30889 GLIBC_2.0 copysignl symbol.
30890 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30891 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30892
30893 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30894
30895 2017-10-04 Florian Weimer <fweimer@redhat.com>
30896
30897 * scripts/check-local-headers.sh: Ignore nspr4 header file
30898 directory in addition to nspr.
30899
30900 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
30901
30902 [BZ #17956]
30903 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30904 * configure: Regenerate.
30905 * crypt/Makefile (nss-cpp-flags): New variable.
30906 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30907 (CPPFLAGS-md5-crypt.c): Use it.
30908 * scripts/check-local-headers.sh: Ignore nspr header file
30909 directory.
30910
30911 2017-10-04 Andreas Schwab <schwab@suse.de>
30912
30913 * nis/Makefile (services): Remove compat.
30914 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30915 ($(objpfx)libnss_compat.so): Remove rule.
30916 * nis/Versions (libnss_compat): Remove.
30917 * nss/Makefile (services): Add compat.
30918 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30919 * nss/Versions (libnss_compat): Define.
30920 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30921 Don't include <rpc/types.h>. Replace bool_t by bool.
30922 * nss/nss_compat/compat-initgroups.c: Likewise.
30923 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30924 instead of <rpcsrv/ypclnt.h>.
30925 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30926 yp_get_default_domain.
30927 * nss/nss_compat/compat-pwd.c: Likewise.
30928 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30929 yp_get_default_domain.
30930 * nss/nss_compat/nisdomain.c: New file.
30931 * nss/nss_compat/nisdomain.h: Likewise.
30932
30933 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30934
30935 [BZ #22244]
30936 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
30937 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30938
30939 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30940
30941 [BZ #22243]
30942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
30943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
30944
30945 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30946
30947 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30948 "movl main@GOTOFF(%ebx), %eax".
30949
30950 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30951
30952 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30953 allow undefined _DYNAMIC in PIE libc.a.
30954 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30955 Likewse.
30956
30957 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30958
30959 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30960 check _DYNAMIC.
30961
30962 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30963
30964 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30965 check _DYNAMIC.
30966
30967 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30968
30969 * math/test-math-iscanonical.cc (error): Replace bool with int.
30970
30971 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30972
30973 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30974 (modf): Define using libm_alias_double, only if [!__modf].
30975 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30976 <libm-alias-double.h>.
30977 (modf): Define using libm_alias_double, only if [!__modf].
30978 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30979 compat symbol here.
30980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30981 (weak_alias): Do not undefine and redefine.
30982 (strong_alias): Likewise.
30983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30984 (weak_alias): Likewise.
30985 (strong_alias): Likewise.
30986
30987 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30988 (logb): Define using libm_alias_double, only if [!__logb].
30989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30990 <libm-alias-double.h>.
30991 (logb): Define using libm_alias_double, only if [!__logb].
30992 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30994 (weak_alias): Do not undefine and redefine.
30995 (strong_alias): Likewise.
30996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30997 (weak_alias): Likewise.
30998 (strong_alias): Likewise.
30999
31000 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31001
31002 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31003 Check SHARED instead PIC.
31004
31005 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31006
31007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31008 [!__fmaf] (fmaf): Define using libm_alias_float.
31009
31010 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31011 (frexp): Define using libm_alias_double.
31012 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31013 <libm-alias-double.h>.
31014 (frexp): Define using libm_alias_double.
31015 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31016 compat symbol here.
31017
31018 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31019
31020 [BZ #22235]
31021 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31022 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31023 (CFLAGS-test-math-iscanonical.cc): New variable.
31024 * math/test-math-iscanonical.cc: New file.
31025 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31026 Provide a C++ implementation based on function overloading,
31027 rather than using __MATH_TG, which uses C-only builtins.
31028 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31029 Likewise.
31030 * sysdeps/powerpc/powerpc64le/Makefile
31031 (CFLAGS-test-math-iscanonical.cc): New variable.
31032
31033 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31034
31035 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31036 (ceil): Define using libm_alias_double.
31037 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31038 (floor): Define using libm_alias_double.
31039 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31040 <libm-alias-double.h>.
31041 (llround): Define using libm_alias_double.
31042 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31043 <libm-alias-double.h>.
31044 (lround): Define using libm_alias_double.
31045 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31046 <libm-alias-double.h>.
31047 (nearbyint): Define using libm_alias_double.
31048 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31049 <libm-alias-double.h>.
31050 (remquo): Define using libm_alias_double.
31051 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31052 (rint): Define using libm_alias_double.
31053 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31054 (round): Define using libm_alias_double.
31055 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31056 (trunc): Define using libm_alias_double.
31057 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31058 <libm-alias-double.h>.
31059 (ceil): Define using libm_alias_double.
31060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31061 <libm-alias-double.h>.
31062 (floor): Define using libm_alias_double.
31063 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31064 <libm-alias-double.h>.
31065 (llround): Define using libm_alias_double.
31066 [_LP64] (lround): Likewise.
31067 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31068 <libm-alias-double.h>.
31069 [!_LP64] (lround): Define using libm_alias_double.
31070 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31071 <libm-alias-double.h>.
31072 (nearbyint): Define using libm_alias_double.
31073 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31074 <libm-alias-double.h>.
31075 (remquo): Define using libm_alias_double.
31076 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31077 <libm-alias-double.h>.
31078 (rint): Define using libm_alias_double.
31079 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31080 <libm-alias-double.h>.
31081 (round): Define using libm_alias_double.
31082 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31083 <libm-alias-double.h>.
31084 (trunc): Define using libm_alias_double.
31085 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31086 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31087 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31088 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31089 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31090 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31091 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31092 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31093 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31094
31095 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31096
31097 * math/w_remainder.c: New file.
31098 * math/w_remainderf.c: New file.
31099 * math/w_remainderl.c: New file.
31100
31101 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31102
31103 * elf/rtld.c (BOOTSTRAP_MAP): New.
31104 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31105 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31106 Likewise.
31107 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31108 Likewise.
31109 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31110 Likewise.
31111
31112 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31113
31114 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31115 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31116 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31117 rtld_hidden_data_ver): Define to empty.
31118 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31119 __assert_perror_fail): Likewise.
31120 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31121 (__rewinddir): Likewise.
31122 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31123 (__profile_frequency): Likewise.
31124 * include/setjmp.h (__sigsetjmp): Likewise.
31125 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31126 __libc_sigaction): Likewise.
31127 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31128 not set hidden attribute.
31129 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31130 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31131 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31132 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31133 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31134 __fxstatat64): Likewise.
31135 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31136 (__uname): Likewise.
31137 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31138 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31139 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31140 (NO_RTLD_HIDDEN): Set.
31141 * sysdeps/mach/hurd/configure: Refresh.
31142 * config.h.in: Refresh.
31143
31144 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31145
31146 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31147 (atan): Define using libm_alias_double.
31148 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31149 (tan): Define using libm_alias_double.
31150 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31151 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31152
31153 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31154 define as weak alias of __atan. Do not define any aliases if
31155 [__atan].
31156 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31157 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31158 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31159 as weak alias of __tan. Do not define any aliases if [__tan].
31160 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31161 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31162 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31163 __atan.
31164 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31165 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31166 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31167 and define as weak alias of __atan.
31168 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31169 __atan.
31170 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31171 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31172 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31173 define as weak alias of __tan.
31174
31175 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31176
31177 * math/w_lgamma.c: New file.
31178 * math/w_lgammaf.c: New file.
31179 * math/w_lgammal.c: New file.
31180
31181 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31182
31183 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31184 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31185 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31186 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31187 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31188 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31189 * sysdeps/i386/fpu/w_log2f.c: New file.
31190 * sysdeps/i386/fpu/w_logf.c: New file.
31191 * sysdeps/i386/fpu/w_powf.c: New file.
31192 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31193 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31194 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31195
31196 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31197 H.J. Lu <hongjiu.lu@intel.com>
31198
31199 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31200 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31201 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31202 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31204 the new expf code.
31205 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31206 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31207 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31208 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31209 * sysdeps/i386/fpu/w_exp2f.c: New file.
31210 * sysdeps/i386/fpu/w_expf.c: New file.
31211 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31212 * sysdeps/x86_64/fpu/w_expf.c: New file.
31213
31214 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31215
31216 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31217 (log2f): Likewise.
31218 (powf): Likewise.
31219 * math/w_log2f.c: New file.
31220 * math/w_logf.c: New file.
31221 * math/w_powf.c: New file.
31222 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31223 * math/w_logf_compat.c (__logf_compat): Likewise.
31224 * math/w_powf_compat.c (__powf_compat): Likewise.
31225 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31226 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31227 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31228 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31229 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31230 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31231 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31232 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31233 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31234 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31235 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31236 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31237 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31238 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31239 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31241 Likewise.
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31243 Likewise.
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31245 Likewise.
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31247 Likewise.
31248 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31249 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31250 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31251 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31252 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31254 Likewise.
31255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31256 Likewise.
31257 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31258 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31259 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31260
31261 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31262
31263 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31264 (sysdep_routines): Add memrchr_power8.
31265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31266 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31267 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31268 New file.
31269 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31270 (memrchr): Add __memrchr_power8 to ifunc list.
31271 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31272
31273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31274
31275 [BZ #18822]
31276 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31277 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31278 libc_hidden_def.
31279 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31280 (__posix_fallocate64_l64): Likewise.
31281
31282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31283
31284 [BZ #18822]
31285 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31286 (__sched_setaffinity_new): Add libc_hidden_proto and
31287 libc_hidden_def.
31288
31289 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31290
31291 [BZ #18822]
31292 * include/glob.h (__glob64): Add libc_hidden_proto.
31293 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31294 libc_hidden_def.
31295
31296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31297
31298 [BZ #18822]
31299 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31300 attribute_hidden.
31301
31302 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31303
31304 [BZ #18822]
31305 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31306
31307 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31308
31309 [BZ #18822]
31310 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31311 libc_hidden_def.
31312
31313 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31314
31315 [BZ #18822]
31316 * csu/version.c (__libc_print_version): Add attribute_hidden.
31317
31318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31319
31320 [BZ #18822]
31321 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31322
31323 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31324
31325 [BZ #18822]
31326 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31327
31328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31329
31330 [BZ #18822]
31331 * nscd/nscd_helper.c (__nis_hash): New prototype.
31332
31333 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31334
31335 [BZ #18822]
31336 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31337 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31338 libc_hidden_def.
31339 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31340 * termios/tcgetattr.c (__tcgetattr): Likewise.
31341
31342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 [BZ #18822]
31345 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31346 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31347 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31348 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31349 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31350
31351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31352
31353 [BZ #18822]
31354 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31355
31356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31357
31358 [BZ #18822]
31359 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31360 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31361
31362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31363
31364 [BZ #18822]
31365 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31366
31367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31368
31369 [BZ #18822]
31370 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31371 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31372
31373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31374
31375 [BZ #18822]
31376 * include/ifreq.h: New file.
31377 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31378 (__ifreq): Likewise.
31379 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31380 (__ifreq): Likewise.
31381
31382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31383
31384 [BZ #18822]
31385 * include/idna.h: New file.
31386 * inet/getnameinfo.c: Include <idna.h> instead of
31387 <libidn/idna.h>.
31388 (__idna_to_unicode_lzlz): Removed.
31389 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31390 <libidn/idna.h>.
31391 (__idna_to_ascii_lz): Removed.
31392 (__idna_to_unicode_lzlz): Likewise.
31393
31394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31395
31396 [BZ #18822]
31397 * include/plural-exp.h: New file.
31398 * intl/plural-exp.c: Include <plural-exp.h> instead of
31399 "plural-exp.h".
31400
31401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31402
31403 [BZ #18822]
31404 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31405 "getsourcefilter.h".
31406 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31407 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31408 "getsourcefilter.h".
31409 (__get_sol): Removed.
31410
31411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31412
31413 [BZ #18822]
31414 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31415 to ...
31416 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31417
31418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31419
31420 [BZ #18822]
31421 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31422 attribute_hidden.
31423
31424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31425
31426 [BZ #18822]
31427 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31428
31429 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31430
31431 [BZ #18822]
31432 * include/search.h (__tdestroy): Add libc_hidden_proto.
31433 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31434
31435 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31436
31437 [BZ #18822]
31438 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31439
31440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31441
31442 [BZ #18822]
31443 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31444 attribute_hidden.
31445
31446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31447
31448 [BZ #18822]
31449 * include/signal.h (__kill): Add libc_hidden_proto.
31450 (__sigblock): Likewise.
31451 (__sigprocmask): Likewise.
31452 (__sigaltstack): Likewise.
31453 * signal/kill.c (__kill): Add libc_hidden_def.
31454 * signal/sigblock.c (__sigblock): Likewise.
31455 * signal/sigprocmask.c (__sigprocmask): Likewise.
31456 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31457 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31458 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31459 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31460 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31461 Likewise.
31462 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31463 Likewise.
31464 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31465 (__sigprocmask): Likewise.
31466 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31467 Likewise.
31468 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31469 (__sigprocmask): Likewise.
31470 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31471 Likewise.
31472
31473 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31474
31475 [BZ #18822]
31476 * include/string.h (__strsep): Add libc_hidden_proto.
31477 * string/strsep.c (__strsep): Add libc_hidden_def.
31478
31479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31480
31481 [BZ #18822]
31482 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31483 attribute_hidden.
31484 (__spawni): Likewise.
31485
31486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31487
31488 [BZ #18822]
31489 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31490 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31491 libc_hidden_def.
31492
31493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31494
31495 [BZ #18822]
31496 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31497
31498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31499
31500 [BZ #18822]
31501 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31502 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31503 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31504 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31505 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31506 Likewise.
31507 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31508 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31509
31510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31511
31512 [BZ #18822]
31513 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31514 (__dcigettext): Likewise.
31515
31516 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31517
31518 [BZ #18822]
31519 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31520 libc_hidden_proto.
31521 (__get_nprocs): Likewise.
31522 (__get_phys_pages): Likewise.
31523 (__get_avphys_pages): Likewise.
31524 (__get_child_max): Add attribute_hidden.
31525 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31526 (__get_nprocs): Likewise.
31527 (__get_phys_pages): Likewise.
31528 (__get_avphys_pages): Likewise.
31529 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31530 libc_hidden_def.
31531 (__get_nprocs): Likewise.
31532 (__get_phys_pages): Likewise.
31533 (__get_avphys_pages): Likewise.
31534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31535 libc_hidden_def.
31536 (__get_nprocs_conf): Likewise.
31537 (__get_phys_pages): Likewise.
31538 (__get_avphys_pages): Likewise.
31539
31540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31541
31542 [BZ #18822]
31543 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31544 attribute_hidden.
31545 (__netlink_close): Likewise.
31546 (__netlink_free_handle): Likewise.
31547 (__netlink_request): Likewise.
31548
31549 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31550
31551 [BZ #18822]
31552 * include/rpc/rpc.h (__rpc_thread_variables): Add
31553 attribute_hidden.
31554 (__rpc_thread_svc_cleanup): Likewise.
31555 (__rpc_thread_clnt_cleanup): Likewise.
31556 (__rpc_thread_key_cleanup): Likewise.
31557
31558 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31559
31560 [BZ #18822]
31561 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31562 (__writev): Likewise.
31563 * misc/readv.c (__readv): Add libc_hidden_def.
31564 * misc/writev.c (__writev): Likewise.
31565 * sysdeps/posix/readv.c (__readv): Likewise.
31566 * sysdeps/posix/writev.c (__writev): Likewise.
31567 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31568 (__readv): Likewise.
31569 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31570 (__writev): Likewise.
31571
31572 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31573
31574 [BZ #18822]
31575 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31576 (__regcomp): Add libc_hidden_proto.
31577 (__regexec): Likewise.
31578 (__regfree): Likewise.
31579 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31580 (__regfree): Likewise.
31581 * posix/regexec.c (__regexec): Likewise.
31582
31583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31584
31585 [BZ #18822]
31586 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31587 (__getutent): Likewise.
31588 (__getutid): Likewise.
31589 (__getutline): Likewise.
31590 (__pututline): Likewise.
31591 (__getutent_r): Likewise.
31592 (__getutid_r): Likewise.
31593 (__getutline_r): Likewise.
31594 (__utmpname): Add attribute_hidden.
31595 (__setutent): Likewise.
31596 (__endutent): Likewise.
31597 * login/getutent.c (__getutent): Add libc_hidden_def.
31598 * login/getutent_r.c (__getutent_r): Likewise.
31599 (__pututline): Likewise.
31600 * login/getutid.c (__getutid): Likewise.
31601 * login/getutid_r.c (__getutid_r): Likewise.
31602 * login/getutline.c (__getutline): Likewise.
31603 * login/getutline_r.c (__getutline_r): Likewise.
31604 * login/updwtmp.c (__updwtmp): Likewise.
31605
31606 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31607
31608 [BZ #18822]
31609 * include/dirent.h (__opendir): Always add attribute_hidden.
31610 (__fdopendir): Likewise.
31611 (__closedir): Likewise.
31612 (__readdir): Likewise.
31613 (__readdir64): Add libc_hidden_proto.
31614 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31615 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31616 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31617 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31618 New alias.
31619
31620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31621
31622 [BZ #18822]
31623 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31624 * include/netdb.h (__gethostbyaddr_r): Likewise.
31625 (__gethostbyname_r): Likewise.
31626 (__gethostbyname2_r): Likewise.
31627 (__getnetbyaddr_r): Likewise.
31628 (__getnetbyname_r): Likewise.
31629 (__getservbyname_r): Likewise.
31630 (__getservbyport_r): Likewise.
31631 (__getprotobyname_r): Likewise.
31632 (__getprotobynumber_r): Likewise.
31633 (__getnetgrent_r): Likewise.
31634 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31635 (__getrpcbynumber_r): Likewise.
31636 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31637
31638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31639
31640 [BZ #18822]
31641 * include/stdio.h (__fcloseall): Add attribute_hidden.
31642 (__getline): Likewise.
31643 (__path_search): Likewise.
31644 (__gen_tempname): Likewise.
31645 (__libc_message): Likewise.
31646 (__flockfile): Likewise.
31647 (__funlockfile): Likewise.
31648 (__fxprintf): Likewise.
31649 (__fxprintf_nocancel): Likewise.
31650
31651 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31652
31653 [BZ #18822]
31654 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31655 (__sgetsgent_r): Likewise.
31656
31657 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31658
31659 [BZ #18822]
31660 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31661 (__statfs64): Likewise.
31662 (__fstatfs64): Likewise.
31663 * include/sys/statvfs.h (__statvfs64): Likewise.
31664 (__fstatvfs64): Likewise.
31665 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31666 (__statfs_filesize_max): Likewise.
31667 (__statfs_symlinks): Likewise.
31668 (__statfs_chown_restricted): Likewise.
31669
31670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31671
31672 [BZ #18822]
31673 * include/time.h (__tzstring): Add attribute_hidden.
31674 (__tzfile_read): Likewise.
31675 (__tzfile_compute): Likewise.
31676 (__tzfile_default): Likewise.
31677 (__tzset_parse_tz): Likewise.
31678 (__offtime): Likewise.
31679 (__asctime_r): Likewise.
31680 (__tzset): Likewise.
31681 (__tz_convert): Likewise.
31682 (__getdate_r): Likewise.
31683 (__getclktck): Likewise.
31684
31685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31686
31687 [BZ #18822]
31688 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31689 (__nscd_unmap): Likewise.
31690 (__nscd_cache_search): Likewise.
31691 (__nscd_get_nl_timestamp): Likewise.
31692 (__nscd_getpwnam_r): Likewise.
31693 (__nscd_getpwuid_r): Likewise.
31694 (__nscd_getgrnam_r): Likewise.
31695 (__nscd_getgrgid_r): Likewise.
31696 (__nscd_gethostbyname_r): Likewise.
31697 (__nscd_gethostbyname2_r): Likewise.
31698 (__nscd_gethostbyaddr_r): Likewise.
31699 (__nscd_getai): Likewise.
31700 (__nscd_getgrouplist): Likewise.
31701 (__nscd_getservbyname_r): Likewise.
31702 (__nscd_getservbyport_r): Likewise.
31703 (__nscd_innetgr): Likewise.
31704 (__nscd_setnetgrent): Likewise.
31705
31706 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31707
31708 [BZ #18822]
31709 * include/gmp.h: Declare internal functions only if _ISOMAC is
31710 undefined.
31711 (__mpn_extract_double): Add attribute_hidden.
31712 (__mpn_extract_long_double): Likewise.
31713 (__mpn_extract_float128): Likewise.
31714 (__mpn_construct_float): Likewise.
31715 (__mpn_construct_double): Likewise.
31716 (__mpn_construct_long_double): Likewise.
31717 (__mpn_construct_float128): Likewise.
31718 (mpn_add_1): Likewise.
31719 (mpn_addmul_1): Likewise.
31720 (mpn_add_n): Likewise.
31721 (mpn_cmp): Likewise.
31722 (mpn_divrem): Likewise.
31723 (mpn_lshift): Likewise.
31724 (mpn_mul): Likewise.
31725 (mpn_mul_1): Likewise.
31726 (mpn_rshift): Likewise.
31727 (mpn_sub_1): Likewise.
31728 (mpn_submul_1): Likewise.
31729 (mpn_sub_n): Likewise.
31730
31731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31732
31733 [BZ #18822]
31734 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31735 (__wcscat): Likewise.
31736 (__btowc): Likewise.
31737 (__wcrtomb): Likewise.
31738 (__mbsrtowcs): Likewise.
31739 (__wcsrtombs): Likewise.
31740 (__mbsnrtowcs): Likewise.
31741 (__wcsnrtombs): Likewise.
31742 (__wcsncpy): Likewise.
31743 (__wcpncpy): Likewise.
31744 (__wmemcpy): Likewise.
31745 (__wmempcpy): Likewise.
31746 (__wmemmove): Likewise.
31747 (__wcschrnul): Likewise.
31748 (__vfwscanf): Likewise.
31749 (__vswprintf): Likewise.
31750 (__fwprintf): Likewise.
31751 (__vfwprintf): Likewise.
31752
31753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31754
31755 [BZ #18822]
31756 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31757 (__getgrgid_r): Likewise.
31758 (__getgrnam_r): Likewise.
31759 * include/pwd.h (__getpwuid_r): Likewise.
31760 (__getpwnam_r): Likewise.
31761 (__fgetpwent_r): Likewise.
31762 * include/shadow.h (__getspnam_r): Likewise.
31763 (__sgetspent_r): Likewise.
31764 (__fgetspent_r): Likewise.
31765
31766 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31767
31768 [BZ #18822]
31769 * include/unistd.h (__access): Add attribute_hidden.
31770 (__lseek64): Likewise.
31771 (__libc_pread64): Likewise.
31772 (__pipe2): Likewise.
31773 (__sleep): Likewise.
31774 (__chdir): Likewise.
31775 (__fchdir): Likewise.
31776 (__getcwd): Likewise.
31777 (__rmdir): Likewise.
31778 (__execvpe): Likewise.
31779 (__execve): Likewise.
31780 (__setsid): Likewise.
31781 (__getuid): Likewise.
31782 (__geteuid): Likewise.
31783 (__getgid): Likewise.
31784 (__getegid): Likewise.
31785 (__getgroups): Likewise.
31786 (__group_member): Likewise.
31787 (__ttyname_r): Likewise.
31788 (__isatty): Likewise.
31789 (__readlink): Likewise.
31790 (__unlink): Likewise.
31791 (__gethostname): Likewise.
31792 (__profil): Likewise.
31793 (__getdtablesize): Likewise.
31794 (__brk): Likewise.
31795 (__ftruncate): Likewise.
31796 (__ftruncate64): Likewise.
31797
31798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31799
31800 [BZ #18822]
31801 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31802 * argp/argp-fs-xinl.c: Likewise.
31803 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31804 * argp/argp-parse.c: Include <argp.h>.
31805 * argp/argp-xinl.c: Likewise.
31806 * include/argp-fmtstream.h: New file.
31807 * include/argp.h (__argp_error): Add attribute_hidden.
31808 (__argp_failure): Likewise.
31809 (__argp_input): Likewise.
31810 (__argp_state_help): Likewise.
31811
31812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31813
31814 [BZ #18822]
31815 * include/wchar.h (____wcstof_l_internal): New prototype.
31816 (____wcstod_l_internal): Likewise.
31817 (____wcstold_l_internal): Likewise.
31818 (____wcstol_l_internal): Likewise.
31819 (____wcstoul_l_internal): Likewise.
31820 (____wcstoll_l_internal): Likewise.
31821 (____wcstoull_l_internal): Likewise.
31822 (____wcstof128_l_internal): Likewise.
31823 * sysdeps/ieee754/float128/wcstof128.c
31824 (____wcstof128_l_internal): Removed.
31825 * sysdeps/ieee754/float128/wcstof128_l.c
31826 (____wcstof128_l_internal): Likewise.
31827 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31828 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31829 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31830 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31831 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31832 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31833 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31834 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31835 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31836 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31837
31838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31839
31840 [BZ #18822]
31841 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31842 instead of <sys/statvfs.h>.
31843 (__internal_statvfs): Removed.
31844 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31845 instead of <sys/statvfs.h>.
31846 (__internal_statvfs64): Removed.
31847 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31848 "internal_statvfs.h" instead of <sys/statvfs.h>.
31849 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31850 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31851 instead of <sys/statvfs.h>.
31852 (__internal_statvfs): Removed.
31853 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31854 instead of <sys/statvfs.h>.
31855 (__internal_statvfs64): Removed.
31856
31857 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31858
31859 [BZ #18822]
31860 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31861 (__gconv_close): Likewise.
31862 (__gconv): Likewise.
31863 (__gconv_find_transform): Likewise.
31864 (__gconv_lookup_cache): Likewise.
31865 (__gconv_compare_alias_cache): Likewise.
31866 (__gconv_load_cache): Likewise.
31867 (__gconv_get_path): Likewise.
31868 (__gconv_close_transform): Likewise.
31869 (__gconv_release_cache): Likewise.
31870 (__gconv_find_shlib): Likewise.
31871 (__gconv_release_shlib): Likewise.
31872 (__gconv_get_builtin_trans): Likewise.
31873 (__gconv_compare_alias): Likewise.
31874 * include/dlfcn.h (_dlerror_run): Likewise.
31875 * include/stdio.h (__fortify_fail_abort): Likewise.
31876 * include/time.h (__tz_compute): Likewise.
31877 (__strptime_internal): Likewise.
31878 * intl/gettextP.h (_nl_find_domain): Likewise.
31879 (_nl_load_domain): Likewise.
31880 (_nl_find_msg): Likewise.
31881 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31882 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31883 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31884 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31885 (__gai_find_request): Likewise.
31886 (__gai_remove_request): Likewise.
31887 (__gai_notify): Likewise.
31888 (__gai_notify_only): Likewise.
31889 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31890 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31891 (_dl_non_dynamic_init): Likewise.
31892 (_dl_aux_init): Likewise.
31893 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31894 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31895 Likewise.
31896 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31897 (__wcsmbs_clone_conv): Likewise.
31898 (__wcsmbs_named_conv): Likewise.
31899
31900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31901
31902 [BZ #18822]
31903 * include/stdlib.h (__random): Add attribute_hidden.
31904 (__random_r): Likewise.
31905 (__srandom_r): Likewise.
31906 (__initstate_r): Likewise.
31907 (__setstate_r): Likewise.
31908 (__erand48_r): Likewise.
31909 (__nrand48_r): Likewise.
31910 (__jrand48_r): Likewise.
31911 (__srand48_r): Likewise.
31912 (__seed48_r): Likewise.
31913 (__lcong48_r): Likewise.
31914 (__drand48_iterate): Likewise.
31915 (__setenv): Likewise.
31916 (__unsetenv): Likewise.
31917 (__clearenv): Likewise.
31918 (__ptsname_r): Likewise.
31919 (__posix_openpt): Likewise.
31920 (__add_to_environ): Likewise.
31921 (__realpath): Add libc_hidden_proto.
31922 (__ecvt_r): Likewise.
31923 (__fcvt_r): Likewise.
31924 (__qecvt_r): Likewise.
31925 (__qfcvt_r): Likewise.
31926 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31927 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31928
31929 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31930
31931 [BZ #18822]
31932 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31933 * include/time.h (__mktime_internal): Likewise.
31934 * libio/iolibio.h (__fopen_internal): Likewise.
31935
31936 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
31937
31938 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
31939 pointer in frame.
31940 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
31941 Correct offset used to restore PIC register.
31942
31943 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
31944
31945 [BZ libc/22165]
31946 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31947 code to load address of __getcontext_ret when generating PIC code.
31948
31949 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31950
31951 * elf/Makefile (tests-static-internal): Add
31952 tst-tls1-static-non-pie.
31953 (LDFLAGS-tst-tls1-static-non-pie): New.
31954 * elf/tst-tls1-static-non-pie.c: New file.
31955
31956 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31957
31958 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31959 (asinh): Define using libm_alias_double.
31960 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31961 (cbrt): Define using libm_alias_double.
31962 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31963 <libm-alias-double.h>.
31964 (copysign): Define using libm_alias_double.
31965 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31966 (erf): Define using libm_alias_double.
31967 (erfc): Likewise.
31968 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31969 (expm1): Define using libm_alias_double.
31970 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31971 (fabs): Define using libm_alias_double.
31972 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31973 libm_alias_double.
31974 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31975 <libm-alias-double.h>.
31976 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31977 libm_alias_double.
31978 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31979 <libm-alias-double.h>.
31980 (getpayload): Define using libm_alias_double.
31981 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31982 <libm-alias-double.h>.
31983 (llrint): Define using libm_alias_double.
31984 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31985 (lrint): Define using libm_alias_double.
31986 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31987 <libm-alias-double.h>.
31988 (nextup): Define using libm_alias_double.
31989 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31990 <libm-alias-double.h>.
31991 (roundeven): Define using libm_alias_double.
31992 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31993 libm_alias_double.
31994 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31995 <libm-alias-double.h>.
31996 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31997 using libm_alias_double.
31998 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31999 (cos): Define using libm_alias_double.
32000 (sin): Likewise.
32001 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32002 <libm-alias-double.h>.
32003 (sincos): Define using libm_alias_double.
32004 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32005 (tanh): Define using libm_alias_double.
32006 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32007 <libm-alias-double.h>.
32008 (totalorder): Define using libm_alias_double.
32009 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32010 <libm-alias-double.h>.
32011 (totalordermag): Define using libm_alias_double.
32012 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32013 libm_alias_double.
32014 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32015 libm_alias_double.
32016 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32017 <libm-alias-double.h>.
32018 (getpayload): Define using libm_alias_double.
32019 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32020 <libm-alias-double.h>.
32021 (roundeven): Define using libm_alias_double.
32022 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32023 <libm-alias-double.h>.
32024 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32025 <libm-alias-double.h>.
32026 (totalorder): Define using libm_alias_double.
32027 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32028 <libm-alias-double.h>.
32029 (totalordermag): Define using libm_alias_double.
32030 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32031 libc compat symbol here.
32032 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32033 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32034 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32035 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32036 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32037 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32038 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32039 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32040 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32041 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32042
32043 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32044
32045 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32046 _dl_relocate_static_pie instead of _dl_start to compute load
32047 address in static PIE. Return 0 if _DYNAMIC is undefined for
32048 static executable.
32049
32050 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32051
32052 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32053 _DYNAMIC is undefined for static executable.
32054
32055 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32056
32057 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32058
32059 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32060
32061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32062
32063 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32064
32065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32066 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32067 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32068 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32070 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32071 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32072 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32073 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32074 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32075 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32076 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32077 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32078 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32079 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32080 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32081 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32082
32083 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32084
32085 * math/bits/cmathcalls.h (cimag): Remove inline.
32086 (creal): Remove inline.
32087 (conj): Remove inline.
32088
32089 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32090
32091 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32092 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32093 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32094 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32095 (issignalingf_inline): Likewise.
32096 (POWF_LOG2_TABLE_BITS): Likewise.
32097 (POWF_LOG2_POLY_ORDER): Likewise.
32098 (POWF_SCALE_BITS): Likewise.
32099 (POWF_SCALE): Likewise.
32100 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32101 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32102 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32103
32104 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32105
32106 * math/Makefile (type-float-routines): Add e_log2f_data.
32107 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32108 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32109 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32110 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32111 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32112 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32113 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32114
32115 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32116
32117 * math/Makefile (type-float-routines): Add e_logf_data.
32118 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32119 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32120 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32121 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32122 * sysdeps/i386/fpu/e_logf_data.c: New file.
32123 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32124 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32125
32126 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32129 undefined _DYNAMIC in PIE libc.a.
32130 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32131 Likewse.
32132
32133 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32134
32135 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32136 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32137 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32138 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32139 (__signbit): Remove.
32140 (__signbitl): Remove.
32141 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32142 (__signbit): Remove.
32143 (__signbitl): Remove.
32144 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32145 (__signbit): Remove.
32146 (__signbitl): Remove.
32147 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32148 (__signbit): Remove.
32149 (__signbitl): Remove.
32150 * sysdeps/tile/bits/mathinline.h: Delete file.
32151 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32152 (__signbit): Remove.
32153 (__signbitl): Remove.
32154
32155 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32156
32157 * math/math.h: Improve handling of C99 isgreater macros.
32158 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32159 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32160 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32161 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32162 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32163
32164 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32165
32166 * sysdeps/aarch64/libm-test-ulps: Update.
32167
32168 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32169
32170 [BZ #22225]
32171 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32172 math_opt_barrier on argument when doing arithmetic on it.
32173 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32174 Likewise. Use math_force_eval not math_opt_barrier after
32175 arithmetic.
32176 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32177 math_opt_barrier on argument when doing arithmetic on it.
32178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32179 Likewise.
32180
32181 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32182
32183 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32184 libc_hidden_def.
32185 (__freeifaddrs): Likewise.
32186
32187 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32188
32189 * include/dirent.h (__dirfd): New declaration.
32190 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32191 alias.
32192 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32193 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32194 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32195 * include/unistd.h (__revoke): New declaration.
32196 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32197 alias.
32198 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32199 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32200 revoke.
32201 * include/dirent.h (__seekdir): New declaration.
32202 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32203 redefine as weak alias.
32204 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32205 of seekdir.
32206 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32207 and use libc_hidden_def on them.
32208 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32209 them.
32210 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32211 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32212 instead of getifaddrs and freeifaddrs.
32213
32214 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32215
32216 [BZ #18822]
32217 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32218 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32219 (__dso_handle): Remove declaration.
32220 * dlfcn/tstatexit.c (__dso_handle): Removed.
32221 (main): Don't check __dso_handle.
32222 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32223 (main): Don't check __dso_handle.
32224 * include/dso_handle.h: New file.
32225 * malloc/mtrace.c: Include <dso_handle.h>.
32226 (mtrace): Pass __dso_handle directly.
32227 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32228 (__dso_handle): Remove declaration.
32229 (__pthread_atfork): Pass __dso_handle directly.
32230 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32231 (__dso_handle): Removed.
32232 * posix/wordexp-test.c: Include <dso_handle.h>.
32233 (__dso_handle): Remove declaration.
32234 (__app_register_atfork): Pass __dso_handle directly.
32235 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32236 (__dso_handle): Remove declaration.
32237 (at_quick_exit): Pass __dso_handle directly.
32238 * stdlib/atexit.c: Include <dso_handle.h>.
32239 (__dso_handle): Remove declaration.
32240 (atexit): Pass __dso_handle directly.
32241 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32242 (__dso_handle): Removed.
32243
32244 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32245
32246 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32247 using VDSO.
32248
32249 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32250
32251 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32252 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32253 values to correct default value for given type.
32254
32255 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32256
32257 [BZ #22101]
32258 * elf/Makefile (tests): Add tst-debug1.
32259 ($(objpfx)tst-debug1): New.
32260 ($(objpfx)tst-debug1.out): Likewise.
32261 ($(objpfx)tst-debug1mod1.so): Likewise.
32262 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32263 with p_filesz == 0.
32264 * elf/tst-debug1.c: New file.
32265
32266 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32267
32268 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32269 Define using __ifunc.
32270
32271 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32272
32273 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32274 exp2f() values.
32275
32276 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32277
32278 [BZ #22156]
32279 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32280
32281 2017-09-26 Florian Weimer <fweimer@redhat.com>
32282
32283 * resolv/Makefile (tests-internal): Fix typo in comment.
32284
32285 2017-09-26 Florian Weimer <fweimer@redhat.com>
32286
32287 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32288
32289 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32290
32291 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32292 Use an union instead of a max_align_t array for __space,
32293 so that __space is the same size on all platforms.
32294 * malloc/scratch_buffer_grow_preserve.c
32295 (__libc_scratch_buffer_grow_preserve): Likewise.
32296
32297 [BZ #22183]
32298 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32299 version to 2.
32300 * posix/Makefile (routines): Add glob-lstat-compat and
32301 glob64-lstat-compat.
32302 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32303 * posix/glob-lstat-compat.c: New file.
32304 * posix/glob64-lstat-compat.c: Likewise.
32305 * posix/tst-glob_lstat_compat.c: Likewise.
32306 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32307 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32308 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32309 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32310 Likewise.
32311 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32312 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32313 * posix/glob.c (glob_lstat): New function.
32314 (glob): Rename to __glob and add versioned symbol to 2.27.
32315 (glob_in_dir): Use glob_lstat.
32316 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32317 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32318 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32319 2.27.
32320 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32321 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32322 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32323 gl_lstat on glob call.
32324 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32325 and glob64 symbols.
32326 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32327 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32328 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32329 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32330 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32331 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32332 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32333 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32334 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32335 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32336 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32337 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32339 Likewise.
32340 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32342 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32343 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32344 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32346 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32349 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32350 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32352
32353 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32354
32355 * configure.ac (AS): Require binutils 2.25 or later.
32356 * configure: Regenerated.
32357
32358 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32359
32360 [BZ #22207]
32361 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32362 VM size.
32363
32364 2017-09-25 DJ Delorie <dj@redhat.com>
32365
32366 [BZ #22161]
32367 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32368 resetting timeout.
32369
32370 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32371
32372 * sysdeps/ieee754/dbl-64/sincos32.h
32373 [SINCCOS32_H]: Remove define.
32374 [SINCOS32_H]: Define.
32375
32376 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32377
32378 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32379 (exp2f): Likewise.
32380 * math/w_exp2f.c: New file.
32381 * math/w_expf.c: New file.
32382 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32383 * math/w_expf_compat.c (__expf_compat): Likewise.
32384 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32385 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32386 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32387 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32388 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32389 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32390 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32391 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32392 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32393 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32394 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32395 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32396 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32397 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32399 Likewise.
32400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32401 Likewise.
32402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32403 Likewise.
32404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32405 Likewise.
32406 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32407 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32408 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32409 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32410 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32412 Likewise.
32413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32414 Likewise.
32415 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32416 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32417 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32418
32419 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32420
32421 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32422 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32423 (roundtoint, converttoint): Likewise.
32424 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32425 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32426 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32427 * sysdeps/ieee754/flt-32/math_config.h: New file.
32428 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32429 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32430 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32431 * sysdeps/i386/fpu/math_errf.c: New file.
32432 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32433 * sysdeps/ia64/fpu/math_errf.c: New file.
32434 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32435 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32436
32437 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32438
32439 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32440 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32441 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32442 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32443 to make sure that these symbols are defined.
32444 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32445 of <limits.h>
32446 (__need_NULL): Do not define.
32447 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32448 alignment.
32449 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32450 CMGROUP_MAX, cmsgcred): Do not define.
32451 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32452 NULL.
32453 * bits/socket.h: Likewise.
32454 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32455 __gettimeofday instead of gettimeofday.
32456 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32457 instead of settimeofday.
32458
32459 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32460
32461 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32462 (asinhf): Define using libm_alias_float.
32463 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32464 (atanf): Define using libm_alias_float.
32465 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32466 (cbrtf): Define using libm_alias_float.
32467 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32468 (ceilf): Define using libm_alias_float.
32469 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32470 <libm-alias-float.h>.
32471 (copysignf): Define using libm_alias_float.
32472 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32473 (cosf): Define using libm_alias_float.
32474 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32475 (erff): Define using libm_alias_float.
32476 (erfcf): Likewise.
32477 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32478 (expm1f): Define using libm_alias_float.
32479 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32480 (fabsf): Define using libm_alias_float.
32481 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32482 (floorf): Define using libm_alias_float.
32483 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32484 (frexpf): Define using libm_alias_float.
32485 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32486 libm_alias_float.
32487 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32488 <libm-alias-float.h>.
32489 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32490 libm_alias_float.
32491 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32492 <libm-alias-float.h>.
32493 (getpayloadf): Define using libm_alias_float.
32494 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32495 <libm-alias-float.h>.
32496 (llrintf): Define using libm_alias_float.
32497 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32498 <libm-alias-float.h>.
32499 (llroundf): Define using libm_alias_float.
32500 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32501 (logbf): Define using libm_alias_float.
32502 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32503 (lrintf): Define using libm_alias_float.
32504 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32505 (lroundf): Define using libm_alias_float.
32506 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32507 (modff): Define using libm_alias_float.
32508 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32509 <libm-alias-float.h>.
32510 (nearbyintf): Define using libm_alias_float.
32511 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32512 <libm-alias-float.h>.
32513 (nextafterf): Define using libm_alias_float.
32514 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32515 <libm-alias-float.h>.
32516 (nextupf): Define using libm_alias_float.
32517 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32518 <libm-alias-float.h>.
32519 (remquof): Define using libm_alias_float.
32520 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32521 (rintf): Define using libm_alias_float.
32522 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32523 <libm-alias-float.h>.
32524 (roundevenf): Define using libm_alias_float.
32525 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32526 (roundf): Define using libm_alias_float.
32527 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32528 using libm_alias_float.
32529 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32530 <libm-alias-float.h>.
32531 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32532 Define using libm_alias_float.
32533 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32534 <libm-alias-float.h>.
32535 (sincosf): Define using libm_alias_float.
32536 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32537 (sinf): Define using libm_alias_float.
32538 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32539 (tanf): Define using libm_alias_float.
32540 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32541 (tanhf): Define using libm_alias_float.
32542 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32543 <libm-alias-float.h>.
32544 (totalorderf): Define using libm_alias_float.
32545 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32546 <libm-alias-float.h>.
32547 (totalordermagf): Define using libm_alias_float.
32548 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32549 (truncf): Define using libm_alias_float.
32550 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32551 libm_alias_float.
32552 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32553 libm_alias_float.
32554
32555 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32556
32557 [BZ #22146]
32558 math/math.h: Let fpclassify use the builtin in C++ mode, even
32559 when optimazing for size.
32560
32561 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32562
32563 * csu/Makefile (generated): Do not add version-info.h.
32564 (before-compile): Likewise.
32565 (all-Banner-files): Remove variable.
32566 ($(objpfx)version-info.h): Remove rule.
32567 * csu/version.c (banner): Do not include "version-info.h".
32568 * libidn/Banner: Remove.
32569 * manual/contrib.texi (Simon Josefsson): New entry.
32570
32571 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32572
32573 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32574 Remove conditionals on LDBL_MANT_DIG.
32575 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32576 (__ieee754_lgammal_r): Likewise.
32577
32578 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32579
32580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32581 _Float128 and L().
32582 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32583 _Float128 and L(). Replace _Float128 with long double and L(x)
32584 with xL, throughout the file.
32585 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32586 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32587 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32589
32590 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32591
32592 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32593 sysdeps/ieee754/ldbl-128ibm.
32594 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32595 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32596 of including it. Keep _Float128 and L() intact. These will be
32597 reviewed by a separate patch.
32598 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32599 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32600 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32602
32603 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32604
32605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32606 (__finitef128): Define to __redirect___finitef128.
32607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32608 (__isinff128): Define to __redirect___isinff128.
32609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32610 (__isnanf128): Define to __redirect___isnanf128.
32611
32612 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32613
32614 * sysdeps/powerpc/powerpc64le/Makefile
32615 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32616 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32617
32618 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32619 Carlos O'Donell <carlos@redhat.com>
32620
32621 [BZ #22180]
32622 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32623 * stdlib/test-dlclose-exit-race.c: New file.
32624 * stdlib/test-dlclose-exit-race-helper.c: New file.
32625 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32626
32627 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32628
32629 * crypt/Banner: Remove file.
32630 * nptl/Banner: Likewise.
32631 * resolv/Banner: Likewise.
32632 * soft-fp/Banner: Likewise.
32633 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32634 ($(objpfx)version.d): Remove dependency on banner.h.
32635 ($(objpfx)version.os): Likewise.
32636 * nptl/version.c (banner): Do not include banner.h.
32637 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32638 Jelinek and BIND code.
32639
32640 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32641 Carlos O'Donell <carlos@redhat.com>
32642
32643 * support/xdlfcn.h: New file.
32644 * support/xdlfcn.c: New file.
32645 * support/Makefile (libsupport-routines): Add xdlfcn.
32646 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32647
32648 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32649
32650 [BZ #20142]
32651 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32652 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32653 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32654 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32655 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32656 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32657 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32658 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32659
32660 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32661 Ricky Zhou <rickyz@google.com>
32662 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32663
32664 [BZ #14333]
32665 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32666 Remove atomics.
32667 (__new_exitfn): Fail registration when we finished at_exit processing.
32668 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32669 * stdlib/on_exit.c (__on_exit): Likewise.
32670 * stdlib/exit.c (__exit_funcs_done): New variable.
32671 (__run_exit_handlers): Use __exit_funcs_lock.
32672 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32673 declarations.
32674 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32675 (test-cxa_atexit-race, test-on_exit-race): New tests.
32676 * stdlib/test-atexit-race-common.c: New file.
32677 * stdlib/test-atexit-race.c: New file.
32678 * stdlib/test-at_quick_exit-race.c: New file.
32679 * stdlib/test-cxa_atexit-race.c: New file.
32680 * stdlib/test-on_exit-race.c: New file.
32681
32682 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32683
32684 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32685 * benchtests/exp2f-inputs: Copy of expf-inputs.
32686 * benchtests/log2f-inputs: Copy of logf-inputs.
32687
32688 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32689
32690 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32691 Explicitly take address of first element of array arguments in
32692 call to INLINE_SYSCALL.
32693
32694 2017-09-19 Andreas Schwab <schwab@suse.de>
32695
32696 [BZ #22134]
32697 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32698 execveat first.
32699 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32700 unimplemented.
32701 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32702 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32703 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32704 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32705 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32706 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32708 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32709 * posix/Makefile (tests): Add tst-fexecve.
32710 * posix/tst-fexecve.c: New file.
32711
32712 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32713
32714 * benchtests/Makefile: Add logf benchmark.
32715 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32716
32717 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32718
32719 * benchtests/Makefile: Add expf benchmark.
32720 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32721
32722 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32723
32724 * csu/Makefile: Add -funwind-tables to libc-start.c.
32725 * debug/Makefile: Add -funwind-tables to backtrace.c.
32726 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32727 * sysdeps/arm/Makefile: Likewise.
32728 * sysdeps/i386/Makefile: Likewise.
32729 * sysdeps/m68k/Makefile: Likewise.
32730 * sysdeps/mips/Makefile: Likewise.
32731 * sysdeps/nios2/Makefile: Likewise.
32732 * sysdeps/sh/Makefile: Likewise.
32733 * sysdeps/sparc/Makefile: Likewise.
32734
32735 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32736
32737 * benchtests/Makefile (bench-math): Add trunc and truncf.
32738 (CFLAGS-bench-trunc.c): New variable.
32739 (CFLAGS-bench-truncf.c): Likewise.
32740 * benchtests/trunc-inputs: New file.
32741 * benchtests/truncf-inputs: Likewise.
32742
32743 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32744
32745 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32746
32747 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32748
32749 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32750 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32751 redefine.
32752 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32753 (exp10l): Define as weak alias.
32754 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32755 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32756 and redefine.
32757 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32758 (remainderl): Define as weak alias.
32759
32760 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32761 (fmal): Define using libm_alias_ldouble.
32762 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32763 (acoshl): Define using libm_alias_ldouble.
32764 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32765 (acosl): Define using libm_alias_ldouble.
32766 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32767 (asinl): Define using libm_alias_ldouble.
32768 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32769 (atan2l): Define using libm_alias_ldouble.
32770 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32771 (atanhl): Define using libm_alias_ldouble.
32772 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32773 (coshl): Define using libm_alias_ldouble.
32774 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32775 (exp10l): Define using libm_alias_ldouble.
32776 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32777 (exp2l): Define using libm_alias_ldouble.
32778 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32779 (expl): Define using libm_alias_ldouble.
32780 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32781 (fmodl): Define using libm_alias_ldouble.
32782 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32783 (hypotl): Define using libm_alias_ldouble.
32784 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32785 (j0l): Define using libm_alias_ldouble.
32786 (y0l): Likewise.
32787 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32788 (j1l): Define using libm_alias_ldouble.
32789 (y1l): Likewise.
32790 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32791 (jnl): Define using libm_alias_ldouble.
32792 (ynl): Likewise.
32793 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32794 (log10l): Define using libm_alias_ldouble.
32795 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32796 (log2l): Define using libm_alias_ldouble.
32797 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32798 (logl): Define using libm_alias_ldouble.
32799 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32800 (powl): Define using libm_alias_ldouble.
32801 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32802 (remainderl): Define using libm_alias_ldouble.
32803 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32804 (sinhl): Define using libm_alias_ldouble.
32805 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32806 (sqrtl): Define using libm_alias_ldouble.
32807 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32808 (tgammal): Define using libm_alias_ldouble.
32809 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32810 (exp10l): Do not use long_double_symbol here.
32811 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32812 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32813 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32814 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32815 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32816 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32817 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32818 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32819 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32820 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32821 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32822 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32823 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32824 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32825 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32826 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32827 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32828 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32829 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32830 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32831 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32832 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32833
32834 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32835
32836 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32837 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32838
32839 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32840
32841 * io/read.c (read): Add libc_hidden_weak.
32842 * sysdeps/mach/hurd/read.c (read): Likewise.
32843 * io/write.c (write): Likewise.
32844 * sysdeps/mach/hurd/write.c (write): Likewise.
32845 * io/pread64.c (__pread64): Likewise.
32846 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32847 * posix/pread64.c (__pread64): Add libc_hidden_def.
32848
32849 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32850
32851 * benchtests/scripts/compare_strings.py: New option -g.
32852 (draw_graph): Print a message that a graph is being generated.
32853 (process_results): Generate graph only if -g is passed.
32854 (main): Process option -g.
32855
32856 * benchtests/scripts/compare_strings.py (process_results):
32857 Better spacing for output.
32858
32859 * benchtests/scripts/compare_strings.py: Use argparse.
32860 * benchtests/README: Document existence of compare_strings.py.
32861
32862 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32863
32864 * math/s_fma.c: Include <libm-alias-double.h>.
32865 (fma): Define using libm_alias_double.
32866 * math/s_nextafter.c: Include <libm-alias-double.h>.
32867 (nextafter): Define using libm_alias_double.
32868 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32869 (acos): Define using libm_alias_double.
32870 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32871 (aocsh): Define using libm_alias_double.
32872 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32873 (asin): Define using libm_alias_double.
32874 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32875 (atan2): Define using libm_alias_double.
32876 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32877 (atanh): Define using libm_alias_double.
32878 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32879 (cosh): Define using libm_alias_double.
32880 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32881 (exp10): Define using libm_alias_double.
32882 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32883 (exp2): Define using libm_alias_double.
32884 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32885 (exp): Define using libm_alias_double.
32886 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32887 (fmod): Define using libm_alias_double.
32888 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32889 (hypot): Define using libm_alias_double.
32890 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32891 (j0): Define using libm_alias_double.
32892 (y0): Likewise.
32893 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32894 (j1): Define using libm_alias_double.
32895 (y1): Likewise.
32896 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32897 (jn): Define using libm_alias_double.
32898 (yn): Likewise.
32899 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32900 (log10): Define using libm_alias_double.
32901 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32902 (log2): Define using libm_alias_double.
32903 * math/w_log_compat.c: Include <libm-alias-double.h>.
32904 (log): Define using libm_alias_double.
32905 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32906 (pow): Define using libm_alias_double.
32907 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32908 (remainder): Define using libm_alias_double.
32909 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32910 (sinh): Define using libm_alias_double.
32911 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32912 (sqrt): Define using libm_alias_double.
32913 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32914 (tgamma): Define using libm_alias_double.
32915 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32916 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32917 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32918 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32919 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32920 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32921 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32922 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32923 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32924 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32925 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32926 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32927 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32928 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32929 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32930 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32931 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32932 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32933 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32934 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32935 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
32936 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
32937 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
32938 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
32939 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
32940
32941 * math/e_acoshl.c: Remove.
32942 * math/e_acosl.c: Likewise.
32943 * math/e_asinl.c: Likewise.
32944 * math/e_atan2l.c: Likewise.
32945 * math/e_atanhl.c: Likewise.
32946 * math/e_coshl.c: Likewise.
32947 * math/e_expl.c: Likewise.
32948 * math/e_fmodl.c: Likewise.
32949 * math/e_gammal_r.c: Likewise.
32950 * math/e_hypotl.c: Likewise.
32951 * math/e_j0l.c: Likewise.
32952 * math/e_j1l.c: Likewise.
32953 * math/e_jnl.c: Likewise.
32954 * math/e_lgammal_r.c: Likewise.
32955 * math/e_log10l.c: Likewise.
32956 * math/e_log2l.c: Likewise.
32957 * math/e_logl.c: Likewise.
32958 * math/e_powl.c: Likewise.
32959 * math/e_rem_pio2l.c: Likewise.
32960 * math/e_sinhl.c: Likewise.
32961 * math/e_sqrtf128.c: Likewise.
32962 * math/e_sqrtl.c: Likewise.
32963 * math/k_cosl.c: Likewise.
32964 * math/k_sinl.c: Likewise.
32965 * math/k_tanl.c: Likewise.
32966 * math/s_asinhl.c: Likewise.
32967 * math/s_atanl.c: Likewise.
32968 * math/s_cbrtl.c: Likewise.
32969 * math/s_erfl.c: Likewise.
32970 * math/s_expm1l.c: Likewise.
32971 * math/s_log1pl.c: Likewise.
32972 * math/s_tanhl.c: Likewise.
32973
32974 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32975
32976 [BZ #21745]
32977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32978 [$(subdir) = math] (sysdep_calls): New variable. Has the
32979 previous contents of sysdep_routines, but re-sorted..
32980 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32981 sysdep_calls.
32982 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32983 defined in sysdep_calls and replace by the respective m_* names.
32984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32985 (compat_symbol): Undefine to avoid duplicated compat symbols in
32986 libc.
32987
32988 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32989
32990 * math/s_fmaf.c: Include <libm-alias-float.h>.
32991 (fmaf): Define using libm_alias_float.
32992 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32993 (acosf): Define using libm_alias_float.
32994 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32995 (acoshf): Define using libm_alias_float.
32996 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32997 (asinf): Define using libm_alias_float.
32998 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32999 (atan2f): Define using libm_alias_float.
33000 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33001 (atanhf): Define using libm_alias_float.
33002 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33003 (coshf): Define using libm_alias_float.
33004 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33005 (exp10f): Define using libm_alias_float.
33006 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33007 (fmodf): Define using libm_alias_float.
33008 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33009 (hypotf): Define using libm_alias_float.
33010 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33011 (j0f): Define using libm_alias_float.
33012 (y0f): Likewise.
33013 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33014 (j1f): Define using libm_alias_float.
33015 (y1f): Likewise.
33016 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33017 (jnf): Define using libm_alias_float.
33018 (ynf): Likewise.
33019 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33020 (log10f): Define using libm_alias_float.
33021 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33022 (log2f): Define using libm_alias_float.
33023 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33024 (logf): Define using libm_alias_float.
33025 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33026 (powf): Define using libm_alias_float.
33027 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33028 (remainderf): Define using libm_alias_float.
33029 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33030 (sinhf): Define using libm_alias_float.
33031 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33032 (sqrtf): Define using libm_alias_float.
33033 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33034 (tgammaf): Define using libm_alias_float.
33035
33036 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33037
33038 * include/math.h (roundeven): Change hidden_proto call to
33039 __roundeven.
33040 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33041 alias.
33042 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33043 (y0): Rename to __y0 and define as weak alias.
33044 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33045 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33046 alias.
33047 (y0f): Rename to __y0f and define as weak alias.
33048 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33049 alias.
33050 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33051 (y1): Rename to __y1 and define as weak alias.
33052 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33053 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33054 alias.
33055 (y1f): Rename to __y1f and define as weak alias.
33056 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33057 alias.
33058 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33059 (yn): Rename to __yn and define as weak alias.
33060 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33061 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33062 alias.
33063 (ynf): Rename to __ynf and define as weak alias.
33064 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33065 (fromfp): Define as weak alias.
33066 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33067 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33068 (fromfpx): Define as weak alias.
33069 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33070 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33071 __getpayload and define as weak alias.
33072 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33073 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33074 __roundeven and define as weak alias.
33075 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33076 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33077 __setpayload.
33078 (setpayload): Define as weak alias.
33079 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33080 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33081 __setpayloadsig.
33082 (setpayloadsig): Define as weak alias.
33083 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33084 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33085 __totalorder and define as weak alias.
33086 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33087 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33088 to __totalordermag and define as weak alias.
33089 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33090 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33091 (ufromfp): Define as weak alias.
33092 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33093 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33094 __ufromfpx.
33095 (ufromfpx): Define as weak alias.
33096 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33097 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33098 Rename to __getpayload and define as weak alias.
33099 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33100 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33101 Rename to __roundeven and define as weak alias.
33102 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33103 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33104 Rename to __totalorder and define as weak alias.
33105 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33106 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33107 (totalordermag): Rename to __totalordermag and define as weak
33108 alias.
33109 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33110 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33111 macro.
33112 (__roundevenl): Likewise.
33113 (__totalorderl): Likewise.
33114 (__totalordermagl): Likewise
33115 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33116 __fromfpf128.
33117 (fromfpf128): Define as weak alias.
33118 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33119 __fromfpxf128.
33120 (fromfpxf128): Define as weak alias.
33121 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33122 __setpayloadf128.
33123 (setpayloadf128): Define as weak alias.
33124 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33125 __setpayloadsigf128.
33126 (setpayloadsigf128): Define as weak alias.
33127 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33128 __ufromfpf128.
33129 (ufromfpf128): Define as weak alias.
33130 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33131 __ufromfpxf128.
33132 (ufromfpxf128): Define as weak alias.
33133 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33134 (fromfpf): Define as weak alias.
33135 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33136 __fromfpxf.
33137 (fromfpxf): Define as weak alias.
33138 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33139 __getpayloadf and define as weak alias.
33140 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33141 __roundevenf and define as weak alias.
33142 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33143 __setpayloadf.
33144 (setpayloadf): Define as weak alias.
33145 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33146 __setpayloadsigf.
33147 (setpayloadsigf): Define as weak alias.
33148 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33149 __totalorderf and define as weak alias.
33150 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33151 Rename to __totalordermagf and define as weak alias.
33152 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33153 __ufromfpf.
33154 (ufromfpf): Define as weak alias.
33155 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33156 __ufromfpxf.
33157 (ufromfpxf): Define as weak alias.
33158 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33159 __fromfpl.
33160 (fromfpl): Define as weak alias.
33161 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33162 __fromfpxl.
33163 (fromfpxl): Define as weak alias.
33164 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33165 to __getpayloadl and define as weak alias.
33166 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33167 __roundevenl and define as weak alias.
33168 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33169 __setpayloadl.
33170 (setpayloadl): Define as weak alias.
33171 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33172 __setpayloadsigl.
33173 (setpayloadsigl): Define as weak alias.
33174 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33175 to __totalorderl and define as weak alias.
33176 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33177 Rename to __totalordermagl and define as weak alias.
33178 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33179 __ufromfpl.
33180 (ufromfpl): Define as weak alias.
33181 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33182 __ufromfpxl.
33183 (ufromfpxl): Define as weak alias.
33184 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33185 __fromfpl.
33186 (fromfpl): Define as weak alias.
33187 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33188 __fromfpxl.
33189 (fromfpxl): Define as weak alias.
33190 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33191 Rename to __getpayloadl and define as weak alias.
33192 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33193 to __roundevenl and define as weak alias. Call __roundeven
33194 instead of roundeven.
33195 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33196 __setpayloadl.
33197 (setpayloadl): Define as weak alias.
33198 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33199 __setpayloadsigl.
33200 (setpayloadsigl): Define as weak alias.
33201 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33202 Rename to __totalorderl and define as weak alias.
33203 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33204 Rename to __totalordermagl and define as weak alias.
33205 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33206 __ufromfpl.
33207 (ufromfpl): Define as weak alias.
33208 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33209 __ufromfpxl.
33210 (ufromfpxl): Define as weak alias.
33211 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33212 __fromfpl.
33213 (fromfpl): Define as weak alias.
33214 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33215 __fromfpxl.
33216 (fromfpxl): Define as weak alias.
33217 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33218 __getpayloadl and define as weak alias.
33219 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33220 __roundevenl and define as weak alias.
33221 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33222 __setpayloadl.
33223 (setpayloadl): Define as weak alias.
33224 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33225 __setpayloadsigl.
33226 (setpayloadsigl): Define as weak alias.
33227 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33228 __totalorderl and define as weak alias.
33229 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33230 Rename to __totalordermagl and define as weak alias.
33231 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33232 __ufromfpl.
33233 (ufromfpl): Define as weak alias.
33234 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33235 __ufromfpxl.
33236 (ufromfpxl): Define as weak alias.
33237
33238 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33239
33240 * benchtests/bench-string.h (realloc_bufs): New function.
33241 (test_init): Call it.
33242 * benchtests/bench-memset-large.c (do_test): Likewise.
33243 * benchtests/bench-memset.c (do_test): Likewise.
33244
33245 * benchtests/bench-memset-large.c: Print output in JSON
33246 format.
33247 * benchtests/bench-memset.c: Likewise.
33248
33249 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33250
33251 [BZ #21084]
33252 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33253 * iconvdata/Makefile: Add IBM858.
33254 * iconvdata/gconv-modules: Likewise.
33255 * iconvdata/tst-tables.sh: Likewise.
33256 * iconvdata/ibm858.c: New file.
33257 * localedata/charmaps/IBM858: Likewise.
33258
33259 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33260
33261 [BZ #22023]
33262 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33263 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33264
33265 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33266
33267 [BZ #22112]
33268 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33269 and add tel_int_fmt.
33270
33271 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33272
33273 * sysdeps/generic/libm-alias-float128.h: New file.
33274 * sysdeps/generic/math-type-macros-float128.h: Include
33275 <libm-alias-float128.h>.
33276 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33277
33278 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33279
33280 * sysdeps/generic/libm-alias-ldouble.h: New file.
33281 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33282 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33283 * sysdeps/generic/math-type-macros-ldouble.h: Include
33284 <libm-alias-ldouble.h>.
33285 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33286 libm_alias_ldouble.
33287
33288 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33289
33290 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33291 * math/w_exp_compat.c: ... here.
33292 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33293 * math/w_expf_compat.c: ... here.
33294 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33295 * math/w_expl_compat.c: ... here.
33296 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33297 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33298 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33299 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33300
33301 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33302
33303 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33304 redefine.
33305 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33306 macro.
33307 (ldexpl): Only define as compat symbol for libc, not libm.
33308 (scalbnl): Define as compat symbol for libc here.
33309 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33310 define for [IS_IN (libc)].
33311 (__ldexpl_2): Remove alias.
33312 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33313 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33314 name in long_double_symbol call.
33315 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33316 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33317 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33318 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33319 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33320 Remove macro.
33321 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33322 Define as compat symbol.
33323
33324 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33325
33326 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33327 * sysdeps/unix/sysv/linux/alpha/Makefile
33328 [$(subdir) = csu] (sysdep_routines): Remove rule.
33329
33330 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33331
33332 * sysdeps/generic/libm-alias-double.h: New file.
33333 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33334 * sysdeps/generic/math-type-macros-double.h: Include
33335 <libm-alias-double.h>.
33336 [declare_mgen_alias] (declare_mgen_alias): Define to use
33337 libm_alias_double.
33338 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33339 (M_LIBM_NEED_COMPAT): Remove macro.
33340 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33341 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33342 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33343 code.
33344 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33345 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33346 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33347 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33348 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33349 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33350 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33351 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33352 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33353 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33354 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33355 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33356 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33357 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33358 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33359 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33360 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33361 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33362 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33363 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33364 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33365 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33366 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33367 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33368 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33369 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33370 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33371 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33372 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33373 macro.
33374 (declare_mgen_alias): New macro.
33375 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33376 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33378 (M_LIBM_NEED_COMPAT): Remove macro.
33379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33380 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33381 <first-versions.h>.
33382 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33383 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33384
33385 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33386
33387 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33388 (declare_mgen_alias_2): Remove.
33389 * sysdeps/generic/math-type-macros-double.h
33390 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33391 Likewise.
33392 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33393 alias.
33394 (ldexp): Define with declare_mgen_alias.
33395 (scalbn): Likewise.
33396
33397 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33398
33399 * grp/initgroups.c: Include config.h.
33400 (DEFAULT_CONFIG): New macro.
33401 (internal_getgrouplist): Use DEFAULT_CONFIG.
33402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33403 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33404 (DEFAULT_DEFCONFIG): New macro.
33405 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33406 * nss/grp-lookup.c: Include config.h
33407 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33408 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33409 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33410 * manual/nss.texi: Update default values section.
33411
33412 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33413
33414 [BZ #21967]
33415 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33416 New.
33417 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33418 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33419 Handle MathVec_Prefer_No_AVX512.
33420 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33421 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33422 is set.
33423
33424 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33425
33426 * posix/sched_primax.c (__sched_get_priority_max): Add
33427 libc_hidden_def.
33428 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33429 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33430 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33431 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33432 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33433 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33434 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33435 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33436 Add aliases.
33437
33438 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33439
33440 * sysdeps/generic/libm-alias-float.h: New file.
33441 * sysdeps/generic/math-type-macros-float.h: Include
33442 <libm-alias-float.h>.
33443 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33444
33445 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33446
33447 [BZ #22093]
33448 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33449 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33450 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33451 (HWCAP_IMPORTANT): Likewise.
33452 (HWCAP_X86_64): New enum.
33453 (HWCAP_X86_AVX512_1): Updated.
33454 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33455 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33456 (modules-names): Add x86_64/tst-x86_64mod-1.
33457 (LDFLAGS-tst-x86_64mod-1.so): New.
33458 ($(objpfx)tst-x86_64-1): Likewise.
33459 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33460 (tst-x86_64-1-clean): Likewise.
33461 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33462 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33463
33464 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33465
33466 * po/sv.po: Update translations.
33467 * po/fr.po: Likewise.
33468
33469 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33470
33471 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33472 seconds.
33473 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33474 seconds.
33475 * elf/rtld-Rules: Fix $(error) use.
33476
33477 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33478
33479 [BZ #14925]
33480 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33481 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33482 * localedata/locales/bn_BD: “Bengali” was still used in some
33483 comments. Change it to “Bangla”.
33484
33485 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33486
33487 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33488
33489 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33490
33491 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33492 thunderx2t99p1 to list of cpu names.
33493 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33494 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33495
33496 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33497
33498 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33499 Use strcmp instead of tunable_is_name.
33500
33501 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33502
33503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33504 (F_GET_RW_HINT): New macro.
33505 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33506 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33507 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33508 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33509 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33510 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33511 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33512 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33513 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33514
33515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33516 (F_ADD_SEALS): New macro.
33517 [__USE_GNU] (F_GET_SEALS): Likewise.
33518 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33519 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33520 [__USE_GNU] (F_SEAL_GROW): Likewise.
33521 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33522
33523 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33524
33525 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33526 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33527 * posix/glob_internal.h (__glob_pattern_type):
33528 * posix/glob.c (glob):
33529 * posix/glob_pattern_p.c (__glob_pattern_p):
33530 Use them.
33531
33532 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33533 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33534 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33535 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33536 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33538 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33539 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33540 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33541 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33542 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33543 * sysdeps/wordsize-64/glob.c: Likewise.
33544 * sysdeps/wordsize-64/glob64.c: Likewise.
33545 * sysdeps/wordsize-64/globfree.c: Likewise.
33546 * sysdeps/wordsize-64/globfree64.c: Likewise.
33547 * sysdeps/unix/sysv/linux/glob.c: New file.
33548 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33549 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33550 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33551 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33552 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33553 adds !GLOB_NO_OLD_VERSION as an extra condition.
33554 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33555 using relative path instead of absolute one.
33556 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33557 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33558 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33559 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33560 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33561 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33562
33563 [BZ #1062]
33564 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33565 (glob): Use the same scratch buffer for both getlogin_r and
33566 getpwnam_r. Don’t require preallocation of the login name. This
33567 simplifies storage allocation, and corrects the handling of
33568 long login names.
33569
33570 [BZ #1062]
33571 * posix/glob.c (glob): Port recent patches to platforms
33572 lacking getpwnam_r.
33573 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33574 returns an error number rather than setting errno.
33575
33576 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33577 instead of GCC extension.
33578 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33579 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33580 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33581
33582 [BZ #866]
33583 [BZ #1062]
33584 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33585 * posix/bug-glob1.c: Remove file.
33586 * posix/tst-glob_symlinks.c: New file.
33587 * posix/glob.c (__lstat64): New macro.
33588 (is_dir): New function.
33589 (glob, glob_in_dir): Match symlinks even if they are dangling.
33590 (link_stat, link_exists_p): Remove. All uses removed.
33591
33592 [BZ #1062]
33593 [BZ #19971]
33594 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33595 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33596 All uses removed.
33597
33598 [BZ #1062]
33599 CVE-2017-15671
33600 * posix/Makefile (routines): Add globfree, globfree64, and
33601 glob_pattern_p.
33602 * posix/flexmember.h: New file.
33603 * posix/glob_internal.h: Likewise.
33604 * posix/glob_pattern_p.c: Likewise.
33605 * posix/globfree.c: Likewise.
33606 * posix/globfree64.c: Likewise.
33607 * sysdeps/gnu/globfree64.c: Likewise.
33608 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33609 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33610 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33611 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33612 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33613 * sysdeps/wordsize-64/globfree.c: Likewise.
33614 * sysdeps/wordsize-64/globfree64.c: Likewise.
33615 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33616 [NDEBUG): Remove comments.
33617 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33618 (dirent_type): New type. Use uint_fast8_t not
33619 uint8_t, as C99 does not require uint8_t.
33620 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33621 (struct readdir_result): Use dirent_type. Do not define skip_entry
33622 unless it is needed; this saves a byte on platforms lacking d_ino.
33623 (readdir_result_type, readdir_result_skip_entry):
33624 New functions, replacing ...
33625 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33626 these functions, which were removed. This makes the callers
33627 easier to read. All callers changed.
33628 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33629 (size_add_wrapv, glob_use_alloca): New static functions.
33630 (glob, glob_in_dir): Check for size_t overflow in several places,
33631 and fix some size_t checks that were not quite right.
33632 Remove old code using SHELL since Bash no longer
33633 uses this.
33634 (glob, prefix_array): Separate MS code better.
33635 (glob_in_dir): Remove old Amiga and VMS code.
33636 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33637 separate files.
33638 (glob_in_dir): Do not rely on undefined behavior in accessing
33639 struct members beyond their bounds. Use a flexible array member
33640 instead
33641 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33642 0/1. Caller changed.
33643 (glob): Fix memory leaks.
33644 * posix/glob64 (globfree64): Move to separate file.
33645 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33646 (globfree64): Remove hidden alias.
33647 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33648 oldglob.
33649 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33650 separate file.
33651 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33652 define.
33653 Move compat code to separate file.
33654 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33655 separate file.
33656
33657 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33658
33659 * resolv/tst-resolv-qtypes.c (domain): Changed to
33660 "const char domain[] =".
33661
33662 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33663
33664 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33665 version to 3.1.6.
33666
33667 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33668 (TCP_MD5SIG_EXT): Likewise.
33669 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33670 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33671 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33672
33673 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33674
33675 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33676
33677 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33678
33679 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33680
33681 [BZ #22100]
33682 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33683
33684 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33685
33686 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33687 before assuming that the file is empty. Avoid testing buffer content
33688 when nread == 0.
33689
33690 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33691
33692 [BZ #18858]
33693 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33694 Remove define.
33695 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33696 Likewise.
33697 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33698 Likewise.
33699 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33700 Likewise.
33701 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33702 Likewise.
33703 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33704 Likewise.
33705 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33706 Likewise.
33707
33708 2017-09-06 Florian Weimer <fweimer@redhat.com>
33709
33710 * malloc/dynarray_emplace_enlarge.c
33711 (__libc_dynarray_emplace_enlarge): Add missing else.
33712
33713 2017-09-06 Florian Weimer <fweimer@redhat.com>
33714
33715 [BZ #22096]
33716 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33717 case of failure to obtain the global conf object.
33718
33719 2017-09-06 Florian Weimer <fweimer@redhat.com>
33720
33721 [BZ #22095]
33722 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33723 dynarray allocation failure.
33724
33725 2017-09-06 Florian Weimer <fweimer@redhat.com>
33726
33727 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33728 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33729 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33730 New functions.
33731 (response): Call them. Add 'p', '6' flag processing.
33732 (test_reverse): New function.
33733 (test_get2_any): Call it.
33734 (test_no_inet6): Add 'p' test.
33735 (test_inet6): Likewise.
33736
33737 2017-09-06 Florian Weimer <fweimer@redhat.com>
33738
33739 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33740 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33741 the QNAME.
33742 (test_gai): Adjust query names. Add additional tests.
33743 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33744 test_get2. Adjust query names. Add additional tests.
33745 (test_no_inet6): New function, extracted from threadfunc.
33746 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33747 Add additional tests.
33748
33749 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33750
33751 [BZ #22070]
33752 * localedata/unicode-gen/utf8_gen.py: Set the width for
33753 characters with Prepended_Concatenation_Mark property to 1
33754 * localedata/charmaps/UTF-8: Updated using the improved script.
33755
33756 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33757
33758 [BZ #21750]
33759 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33760 use the range notation for all ranges of neighbouring characters
33761 with the same width.
33762
33763 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33764
33765 * sysdeps/generic/math-type-macros-double.h: Include
33766 <math-svid-compat.h>.
33767 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33768 * sysdeps/generic/math-type-macros-float.h: Include
33769 <math-svid-compat.h>.
33770 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33771 * sysdeps/generic/math-type-macros-ldouble.h: Include
33772 <math-svid-compat.h>.
33773 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33774 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33775 condition.
33776 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33777 * math/w_acosf_compat.c: Likewise.
33778 * math/w_acosh_compat.c: Likewise.
33779 * math/w_acoshf_compat.c: Likewise.
33780 * math/w_acoshl_compat.c: Likewise.
33781 * math/w_acosl_compat.c: Likewise.
33782 * math/w_asin_compat.c: Likewise.
33783 * math/w_asinf_compat.c: Likewise.
33784 * math/w_asinl_compat.c: Likewise.
33785 * math/w_atan2_compat.c: Likewise.
33786 * math/w_atan2f_compat.c: Likewise.
33787 * math/w_atan2l_compat.c: Likewise.
33788 * math/w_atanh_compat.c: Likewise.
33789 * math/w_atanhf_compat.c: Likewise.
33790 * math/w_atanhl_compat.c: Likewise.
33791 * math/w_cosh_compat.c: Likewise.
33792 * math/w_coshf_compat.c: Likewise.
33793 * math/w_coshl_compat.c: Likewise.
33794 * math/w_exp10_compat.c: Likewise.
33795 * math/w_exp10f_compat.c: Likewise.
33796 * math/w_exp10l_compat.c: Likewise.
33797 * math/w_exp2_compat.c: Likewise.
33798 * math/w_exp2f_compat.c: Likewise.
33799 * math/w_exp2l_compat.c: Likewise.
33800 * math/w_fmod_compat.c: Likewise.
33801 * math/w_fmodf_compat.c: Likewise.
33802 * math/w_fmodl_compat.c: Likewise.
33803 * math/w_hypot_compat.c: Likewise.
33804 * math/w_hypotf_compat.c: Likewise.
33805 * math/w_hypotl_compat.c: Likewise.
33806 * math/w_j0_compat.c: Likewise.
33807 * math/w_j0f_compat.c: Likewise.
33808 * math/w_j0l_compat.c: Likewise.
33809 * math/w_j1_compat.c: Likewise.
33810 * math/w_j1f_compat.c: Likewise.
33811 * math/w_j1l_compat.c: Likewise.
33812 * math/w_jn_compat.c: Likewise.
33813 * math/w_jnf_compat.c: Likewise.
33814 * math/w_jnl_compat.c: Likewise.
33815 * math/w_lgamma_r_compat.c: Likewise.
33816 * math/w_lgammaf_r_compat.c: Likewise.
33817 * math/w_lgammal_r_compat.c: Likewise.
33818 * math/w_log10_compat.c: Likewise.
33819 * math/w_log10f_compat.c: Likewise.
33820 * math/w_log10l_compat.c: Likewise.
33821 * math/w_log2_compat.c: Likewise.
33822 * math/w_log2f_compat.c: Likewise.
33823 * math/w_log2l_compat.c: Likewise.
33824 * math/w_log_compat.c: Likewise.
33825 * math/w_logf_compat.c: Likewise.
33826 * math/w_logl_compat.c: Likewise.
33827 * math/w_pow_compat.c: Likewise.
33828 * math/w_powf_compat.c: Likewise.
33829 * math/w_powl_compat.c: Likewise.
33830 * math/w_remainder_compat.c: Likewise.
33831 * math/w_remainderf_compat.c: Likewise.
33832 * math/w_remainderl_compat.c: Likewise.
33833 * math/w_sinh_compat.c: Likewise.
33834 * math/w_sinhf_compat.c: Likewise.
33835 * math/w_sinhl_compat.c: Likewise.
33836 * math/w_sqrt_compat.c: Likewise.
33837 * math/w_sqrtf_compat.c: Likewise.
33838 * math/w_sqrtl_compat.c: Likewise.
33839 * math/w_tgamma_compat.c: Likewise.
33840 * math/w_tgammaf_compat.c: Likewise.
33841 * math/w_tgammal_compat.c: Likewise.
33842 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33843 [LIBM_SVID_COMPAT].
33844 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33845 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33846 [LIBM_SVID_COMPAT].
33847 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33848 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33849 [LIBM_SVID_COMPAT].
33850 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33851 * sysdeps/i386/fpu/w_sqrt.c: New file.
33852 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33853 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33854 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33855 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33856 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33857 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33858 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33859 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33860 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33861 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33862 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33863 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33864 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33865 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33866 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33867 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33868 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33869 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33870 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33871 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33872 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33873 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33874 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33875 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33876 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33877 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33878 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33879 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33880 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33881 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33882 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33883 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33884 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33885 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33886 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33887 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33888 * sysdeps/ia64/fpu/w_log.c: Likewise.
33889 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33890 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33891 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33892 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33893 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33894 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33895 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33896 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33897 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33898 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33899 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33900 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33901 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33902 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33903 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33904 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33905 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33906 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33907 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33908 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33909 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33910 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33911 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33913 [LIBM_SVID_COMPAT].
33914 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33915 * sysdeps/ieee754/k_standard.c: Likewise.
33916 * sysdeps/ieee754/k_standardf.c: Likewise.
33917 * sysdeps/ieee754/k_standardl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33920 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33921 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33922 long_double_symbol call on [LIBM_SVID_COMPAT].
33923 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33924 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33925 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33926 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33927 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33928 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33929 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33930 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33931 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33932 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33933 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33934 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33935 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33936 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33937 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33938 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33939 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
33940 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33941 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33942 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33943 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
33944 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
33945
33946 2017-09-05 Steve Ellcey <sellcey@cavium.com>
33947
33948 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33949 * malloc/tst-mallocstate.c: Convert from test-skeleton
33950 to test-driver. Ifdef code using TEST_COMPAT macro.
33951 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33952 * math/test-matherr.c: Likewise.
33953
33954 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33955
33956 [BZ #22086]
33957 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33958 comparing word with byte-swapped constant.
33959
33960 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
33961
33962 [BZ #20498]
33963 * locale/iso-639.def: add Miskito.
33964 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33965 * localedata/locales/miq_NI: New file.
33966
33967 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33968
33969 [BZ #18822]
33970 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33971 (__mkdir): Likewise.
33972 * io/chmod.c (__chmod): Add libc_hidden_def.
33973 * io/mkdir.c (__mkdir): Likewise.
33974 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33975 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33976 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33977 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33978
33979 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33980
33981 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33982 version to 4.13.
33983
33984 [BZ #22082]
33985 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33986 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33987
33988 2017-09-04 Florian Weimer <fweimer@redhat.com>
33989
33990 * math/math.h: Issue warning if log is defined.
33991
33992 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33993
33994 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33995 kernel version to 4.13.
33996
33997 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33998
33999 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34000 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34001 parameter.
34002 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34003 just <bits/types.h>.
34004 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34005 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34006 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34007 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34008 * misc/preadv2.c: Include <errno.h>.
34009 * misc/preadv64v2.c: Include <errno.h>.
34010 * misc/pwritev2.c: Include <errno.h>.
34011 * misc/pwritev64v2.c: Include <errno.h>.
34012 * sysdeps/posix/preadv2.c: Include <errno.h>.
34013 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34014 Fix <unistd.h> inclusion.
34015 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34016 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34017 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34018 __strtoul_internal): New functions.
34019 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34020 * sysdeps/posix/system.c: Include <sigsetops.h>.
34021 * sysdeps/mach/hurd/i386/Makefile
34022 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34023 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34024 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34025 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34026 __feraiseexcept_renamed to feraiseexcept instead of
34027 __GI_feraiseexcept.
34028 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34029 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34030 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34031 RWF_NOWAIT): Define to 0 if undefined already.
34032 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34033 boils down to 0.
34034 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34035 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34036
34037 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34038
34039 * manual/math.texi (pow10): Do not document.
34040 (pow10f): Likewise.
34041 (pow10l): Likewise.
34042 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34043 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34044 * math/libm-test-exp10.inc (pow10_test): Remove.
34045 (do_test): Do not call pow10.
34046 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34047 [NO_LONG_DOUBLE] (pow10l): Likewise.
34048 * math/w_exp10f_compat.c (pow10f): Likewise.
34049 * math/w_exp10l_compat.c (pow10l): Likewise.
34050 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34051 (pow10): Make into compat symbol.
34052 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34053 (pow10f): Make into compat symbol.
34054 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34055 (pow10l): Make into compat symbol.
34056 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34057 pow10.
34058 (CFLAGS-nldbl-pow10.c): Remove variable..
34059 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34060 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34061 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34062 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34063 Undefine and redefine.
34064 (pow10l): Make into compat symbol.
34065 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34066 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34067 * sysdeps/arm/libm-test-ulps: Likewise.
34068 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34069 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34070 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34071 * sysdeps/microblaze/libm-test-ulps: Likewise.
34072 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34073 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34074 * sysdeps/nios2/libm-test-ulps: Likewise.
34075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34076 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34077 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34078 * sysdeps/sh/libm-test-ulps: Likewise.
34079 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34080 * sysdeps/tile/libm-test-ulps: Likewise.
34081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34082
34083 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34084
34085 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34086
34087 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34088
34089 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34090 "../ChangeLog.old/ChangeLog.8".
34091 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34092 "../ChangeLog.old/ChangeLog.14".
34093
34094 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34095
34096 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34097 Threads Library.
34098
34099 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34100
34101 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34102
34103 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34104
34105 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34106 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34107
34108 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34109
34110 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34111 32 atexit handlers.
34112
34113 2017-09-01 Zack Weinberg <zackw@panix.com>
34114
34115 * math/math.h (HUGE_VAL): Improve commentary.
34116
34117 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34118 Andreas Schwab <schwab@suse.de>
34119
34120 [BZ #21530]
34121 * include/stdio.h (__gen_tempfd): New function.
34122 * stdio-common/Makefile (routines): Add gentempfd.
34123 * stdio-common/gentempfd.c: New file.
34124 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34125 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34126 unnamed file first.
34127
34128 2017-09-01 Florian Weimer <fweimer@redhat.com>
34129
34130 [BZ #21915]
34131 [BZ #21922]
34132 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34133 result to determine success or failure, not the errno value.
34134 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34135 (tst-nss-files-hosts-erange): Link with -ldl.
34136 * nss/tst-nss-files-hosts-erange.c: New file.
34137 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34138 (do_test): Add NO_DATA tests.
34139 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34140 (do_test): Call it.
34141
34142 2017-09-01 Florian Weimer <fweimer@redhat.com>
34143
34144 [BZ #21922]
34145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34146 coming from gethostbyname2_r.
34147
34148 2017-09-01 Florian Weimer <fweimer@redhat.com>
34149
34150 * support/namespace.h (struct support_chroot_configuration): Add
34151 hosts, host_conf.
34152 (struct support_chroot): Add path_hosts, path_host_conf.
34153 * support/support_chroot.c (write_file): New function.
34154 (support_chroot_create): Call it to process /etc/resolv.conf,
34155 /etc/hosts, /etc/host.conf.
34156 (support_chroot_free): Update.
34157
34158 2017-09-01 Florian Weimer <fweimer@redhat.com>
34159
34160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34161 status indicates it is set.
34162
34163 2017-09-01 Florian Weimer <fweimer@redhat.com>
34164
34165 [BZ #20532]
34166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34167 function lookup failures more reliable.
34168
34169 2017-09-01 Florian Weimer <fweimer@redhat.com>
34170
34171 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34172 (getcanonname): Likewise.
34173 (gaih_inet): Likewise.
34174
34175 2017-09-01 Florian Weimer <fweimer@redhat.com>
34176
34177 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34178 (getcanonname): Likewise.
34179 (gaih_inet): Likewise.
34180
34181 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34182 Richard Henderson <rth@twiddle.net>
34183
34184 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34185 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34186 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34187 (IREG_SIZE, OREG_SIZE): New macros.
34188 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34189 (IREG_SIZE, OREG_SIZE): New macros.
34190 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34191 (IREG_SIZE): New macro.
34192 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34193 (IREG_SIZE): New macro.
34194 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34195 New includes.
34196 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34197 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34198 (__CONCATX): Handle exceptions correctly on large values that may
34199 set FE_INVALID.
34200 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34201 Initialize if not already set.
34202 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34203
34204 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34205
34206 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34207 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34208 Likewise.
34209 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34210 Likewise.
34211 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34212 Likewise.
34213 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34214 Likewise.
34215 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34216 Likewise.
34217 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34218 Likewise.
34219 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34220 Likewise.
34221 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34222 (NO_CANCELLATION): Likewise.
34223 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34224 Likewise.
34225 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34226 Likewise.
34227 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34228 Likewise.
34229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34230 (NO_CANCELLATION): Likewise.
34231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34232 (NO_CANCELLATION): Likewise.
34233 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34234 Likewise
34235 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34236 Likewise.
34237 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34238 Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34240 Likewise.
34241 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34242 hidden prototype.
34243 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34244 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34245
34246 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34247
34248 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34249 in resolver call.
34250
34251 2017-08-31 Florian Weimer <fweimer@redhat.com>
34252
34253 * include/libc-symbols.h (internal_function): Remove.
34254
34255 2017-08-31 Florian Weimer <fweimer@redhat.com>
34256
34257 * stdlib/fmtmsg.c (internal_addseverity): Remove
34258 internal_function.
34259
34260 2017-08-31 Florian Weimer <fweimer@redhat.com>
34261
34262 * stdio-common/printf_fp.c (group_number): Remove
34263 internal_function.
34264 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34265
34266 2017-08-31 Florian Weimer <fweimer@redhat.com>
34267
34268 * posix/fnmatch.c (internal_function): Remove definition.
34269 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34270 * posix/regcomp.c (peek_token, init_word_char)
34271 (duplicate_node_closure, fetch_token, peek_token)
34272 (peek_token_bracket, build_range_exp, build_collating_symbol):
34273 Likewise.
34274 * posix/regex_internal.c (re_string_construct_common)
34275 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34276 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34277 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34278 (re_string_translate_buffer, re_string_reconstruct)
34279 (re_string_peek_byte_case, re_string_fetch_byte_case)
34280 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34281 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34282 (re_node_set_add_intersect, re_node_set_init_union)
34283 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34284 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34285 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34286 (re_acquire_state_context): Likewise.
34287 * posix/regex_internal.h (internal_function): Remove definition.
34288 (re_string_realloc_buffers, build_wcs_buffer)
34289 (build_wcs_upper_buffer, build_upper_buffer)
34290 (re_string_translate_buffer, re_string_context_at)
34291 (re_string_char_size_at, re_string_wchar_at)
34292 (re_string_elem_size_at): Likewise.
34293 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34294 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34295 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34296 (re_search_internal, re_search_2_stub, re_search_stub)
34297 (re_copy_regs, prune_impossible_nodes, check_matching)
34298 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34299 (free_fail_stack_return, sift_states_iter_mb)
34300 (sift_states_backward, build_sifted_states)
34301 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34302 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34303 (check_subexp_limits, sift_states_bkref, merge_state_array)
34304 (find_recover_state, transit_state, merge_state_with_log)
34305 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34306 (transit_state_mb, transit_state_bkref, get_subexp)
34307 (get_subexp_sub, find_subexp_node, check_arrival)
34308 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34309 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34310 (check_node_accept_bytes, find_collation_sequence_value)
34311 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34312 (acquire_init_state_context, check_halt_node_context)
34313 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34314 (sub_epsilon_src_nodes): Likewise.
34315 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34316 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34317 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34318 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34319 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34320 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34321 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34322 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34323 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34324 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34325 (PREADV): Likewise.
34326 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34327 (PREADV): Likewise.
34328 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34329 (PWRITEV): Likewise.
34330 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34331 (PWRITEV): Likewise.
34332 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34333 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34334
34335 2017-08-31 Florian Weimer <fweimer@redhat.com>
34336
34337 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34338 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34339 Remove internal_function.
34340 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34341 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34342 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34343 (__deallocate_stack, __libc_pthread_init)
34344 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34345 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34346 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34347 Likewise.
34348 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34349 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34350 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34351 Likewise.
34352 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34353 (__pthread_mutex_unlock_usercnt): Likewise.
34354
34355 2017-08-31 Florian Weimer <fweimer@redhat.com>
34356
34357 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34358 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34359 (fts_safe_changedir): Remove internal_function.
34360 * io/ftw.c (internal_function): Remove definition.
34361 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34362
34363 2017-08-31 Florian Weimer <fweimer@redhat.com>
34364
34365 * inet/deadline.c (__deadline_current_time)
34366 (__deadline_from_timeval, __deadline_to_ms): Remove
34367 internal_function.
34368 * inet/getnameinfo.c (nrl_domainname): Likewise.
34369 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34370 * inet/inet6_option.c (add_pad): Likewise.
34371 * inet/net-internal.h (__deadline_current_time)
34372 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34373 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34374 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34375 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34376
34377 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34378
34379 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34380 include <bits/nan.h>.
34381 * math/Makefile (headers): Remove bits/nan.h.
34382 * bits/nan.h: Remove.
34383 * sysdeps/ieee754/bits/nan.h: Likewise.
34384 * sysdeps/mips/bits/nan.h: Likewise.
34385
34386 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34387 not include <bits/inf.h>.
34388 * math/Makefile (headers): Remove bits/inf.h.
34389 * bits/inf.h: Remove.
34390 * sysdeps/ieee754/bits/inf.h: Likewise.
34391
34392 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34393 bits/huge_vall.h or bits/huge_val_flt128.h.
34394 (HUGE_VAL): Define directly here.
34395 [__USE_ISOC99] (HUGE_VALF): Likewise.
34396 [__USE_ISOC99] (HUGE_VALL): Likewise.
34397 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34398 (HUGE_VAL_F128): Likewise.
34399 * math/Makefile (headers): Remove bits/huge_val.h,
34400 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34401 * bits/huge_val.h: Remove.
34402 * bits/huge_val_flt128.h: Likewise.
34403 * bits/huge_valf.h: Likewise.
34404 * bits/huge_vall.h: Likewise.
34405 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34406 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34407 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34408 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34409 * sysdeps/sh/bits/huge_val.h: Likewise.
34410 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34411 * sysdeps/x86/bits/huge_vall.h: Likewise.
34412
34413 2017-08-31 Florian Weimer <fweimer@redhat.com>
34414
34415 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34416 internal_function.
34417 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34418 Likewise.
34419 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34420 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34421 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34422 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34423 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34424 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34425 * elf/dl-libc.c (dlerror_run): Likewise.
34426 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34427 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34428 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34429 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34430 Likewise.
34431 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34432 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34433 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34434 * elf/dl-profile.c (_dl_start_profile): Likewise.
34435 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34436 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34437 Likewise.
34438 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34439 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34440 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34441 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34442 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34443 (_dl_allocate_tls_storage): Likewise.
34444 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34445 (_dl_check_all_versions): Likewise.
34446 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34447 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34448 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34449 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34450 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34451 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34452 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34453 internal_function from __dl_start.
34454 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34455 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34456 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34457 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34458 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34459 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34460 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34461 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34462 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34463 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34464 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34465 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34466 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34467 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34468 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34469 Likewise.
34470 (struct rtld_global_ro): Remove internal_function from the
34471 _dl_lookup_symbol_x member.
34472 (_dl_symbol_value): Remove. No longer defined anywhere.
34473 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34474 internal_function.
34475 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34476 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34477 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34478 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34479 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34480 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34481 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34482 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34483 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34484 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34485 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34486 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34487
34488 2017-08-31 Florian Weimer <fweimer@redhat.com>
34489
34490 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34491 Remove internal_function.
34492 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34493 Likewise.
34494 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34495 Likewise.
34496
34497 2017-08-31 Florian Weimer <fweimer@redhat.com>
34498
34499 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34500 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34501 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34502
34503 2017-08-31 Florian Weimer <fweimer@redhat.com>
34504
34505 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34506 (__gai_enqueue_request): Remove internal_function.
34507 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34508 (__gai_remove_request, __gai_notify, __gai_notify_only)
34509 (__gai_sigqueue): Likewise.
34510 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34511 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34512 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34513 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34514 Likewise.
34515
34516 2017-08-31 Florian Weimer <fweimer@redhat.com>
34517
34518 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34519 * include/dirent.h (__opendirat, __getdents, __getdents64)
34520 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34521 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34522 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34523 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34524 Likewise.
34525 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34526
34527 2017-08-31 Florian Weimer <fweimer@redhat.com>
34528
34529 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34530 internal_function.
34531 (GETCWD_RETURN_TYPE): Likewise.
34532
34533 2017-08-31 Florian Weimer <fweimer@redhat.com>
34534
34535 * include/time.h (__tz_compute, __strptime_internal): Remove
34536 internal_function.
34537 * time/strptime_l.c (__strptime_internal): Likewise.
34538 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34539
34540 2017-08-31 Florian Weimer <fweimer@redhat.com>
34541
34542 * iconv/gconv.c (__gconv): Remove internal_function.
34543 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34544 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34545 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34546 (__gconv_release_cache): Likewise.
34547 * iconv/gconv_close.c (__gconv_close): Likewise.
34548 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34549 (read_conf_file, __gconv_get_path): Likewise.
34550 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34551 (__gconv_release_step, gen_steps, increment_counter)
34552 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34553 (__gconv_close_transform, free_modules_db): Likewise.
34554 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34555 Likewise.
34556 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34557 (__gconv_find_transform, __gconv_lookup_cache)
34558 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34559 (__gconv_close_transform, __gconv_release_cache)
34560 (__gconv_loaded_object, __gconv_release_shlib)
34561 (__gconv_compare_alias): Likewise.
34562 * iconv/gconv_open.c (__gconv_open): Likewise.
34563 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34564 * iconv/iconvconfig.c (add_module): Likewise.
34565 * intl/dcigettext.c (plural_lookup, guess_category_value)
34566 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34567 * intl/eval-plural.h (plural_eval): Likewise.
34568 * intl/finddomain.c (_nl_find_domain): Likewise.
34569 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34570 (_nl_load_domain, _nl_find_msg): Likewise.
34571 (internal_function): Remove definition.
34572 * intl/loadinfo.h (internal_function): Likewise.
34573 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34574 internal_function.
34575 * intl/localealias.c (internal_function): Remove definition.
34576 (read_alias_file): Remove internal_function.
34577 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34578 * intl/plural-exp.h (internal_function): Remove definition.
34579 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34580 internal_function.
34581 * intl/plural.c: Regenerate.
34582 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34583 * locale/coll-lookup.c (__collidx_table_lookup)
34584 (__collseq_table_lookup): Likewise.
34585 * locale/coll-lookup.h (__collidx_table_lookup)
34586 (__collseq_table_lookup): Likewise.
34587 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34588 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34589 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34590 (_nl_unload_locale): Likewise.
34591 * locale/localeinfo.h (struct __locale_data): Remove
34592 internal_function from cleanup member.
34593 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34594 (_nl_remove_locale, _nl_load_locale_from_archive)
34595 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34596 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34597 (_nl_cleanup_time): Remove internal_function.
34598 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34599 (_nl_parse_alt_digit): Likewise.
34600 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34601 (_nl_select_era_entry): Likewise.
34602 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34603 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34604 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34605 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34606 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34607
34608 2017-08-31 Florian Weimer <fweimer@redhat.com>
34609
34610 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34611 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34612 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34613 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34614 Likewise.
34615 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34616 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34617 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34618 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34619 Likewise.
34620 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34621
34622 2017-08-31 Florian Weimer <fweimer@redhat.com>
34623
34624 * misc/getttyent.c (skip, value): Remove internal_function.
34625 * misc/syslog.c (openlog_internal): Likewise.
34626 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34627
34628 2017-08-31 Florian Weimer <fweimer@redhat.com>
34629
34630 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34631 (__nss_rewrite_field): Remove internal_function.
34632 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34633 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34634 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34635 * nss/nsswitch.c (nss_parse_file, nss_getline)
34636 (nss_parse_service_list, nss_new_service): Likewise.
34637 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34638 * nss/valid_field.c (__nss_valid_field): Likewise.
34639 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34640
34641 2017-08-31 Florian Weimer <fweimer@redhat.com>
34642
34643 * malloc/arena.c (__malloc_fork_lock_parent)
34644 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34645 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34646 internal_function from defintions.
34647 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34648 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34649 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34650 internal_function from declarations.
34651 * malloc/malloc.c (internal_function): Do not define.
34652 (mem2mem_check): Remove internal_function from declaration.
34653 (munmap_chunk, mremap_chunk): Remove internal_function.
34654 * malloc/mtrace.c (tr_where): Likewise.
34655
34656 2017-08-31 Florian Weimer <fweimer@redhat.com>
34657
34658 * include/rpc/pmap_clnt.h (__get_socket): Remove
34659 internal_function.
34660 * sunrpc/auth_des.c (synchronize): Likewise.
34661 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34662 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34663 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34664 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34665 (key_call): Likewise.
34666 * sunrpc/pm_getport.c (__get_socket): Likewise.
34667 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34668 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34669 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34670 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34671 (invalidate): Likewise.
34672 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34673 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34674 (set_input_fragment, get_input_bytes): Likewise.
34675
34676 2017-08-31 Florian Weimer <fweimer@redhat.com>
34677
34678 * malloc/malloc.c (_int_free): Remove locked variable and related
34679 asserts.
34680
34681 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34682
34683 [BZ #22051]
34684 * Makerules (build-module-helper-objlist): Filter out
34685 $(elf-objpfx)sofini.os.
34686 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34687 needed.
34688
34689 2017-08-31 Florian Weimer <fweimer@redhat.com>
34690
34691 * libio/fcloseall.c: Assume weak_alias is defined.
34692 * libio/feof.c: Likewise.
34693 * libio/fileno.c: Likewise.
34694 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34695 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34696 definitions.
34697 (_IO_file_open): Call __open directly.
34698 (_IO_new_file_sync): Assume ESPIPE is defined.
34699 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34700 (_IO_new_file_write): Call __write directly.
34701 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34702 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34703 * libio/genops.c: Assume _LIBC is defined.
34704 (save_for_backup): Remove internal_function.
34705 * libio/getc.c: Assume weak_alias is defined.
34706 * libio/getwc.c: Likewise.
34707 * libio/iofclose.c: Assume _LIBC is defined.
34708 * libio/iofdopen.c: Likewise.
34709 (_IO_fcntl): Remove macro definition.
34710 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34711 Call __fcntl directly.
34712 * libio/iofflush.c: Assume weak_alias is defined.
34713 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34714 defined.
34715 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34716 * libio/iofgets.c: Likewise.
34717 * libio/iofopen.c: Assume _LIBC is defined.
34718 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34719 * libio/iofputs.c: Assume weak_alias is defined.
34720 * libio/iofread.c: Likewise.
34721 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34722 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34723 * libio/ioftell.c: Assume weak_alias is defined.
34724 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34725 * libio/iofwide.c: Assume _LIBC is defined.
34726 (_IO_fwide): Drop SHARED conditional because it is implied by
34727 SHLIB_COMPAT.
34728 * libio/iofwrite.c: Assume weak_alias is defined.
34729 * libio/iogetdelim.c: Likewise.
34730 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34731 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34732 (_IO_getwline): Call __wmemcpy directly.
34733 * libio/iopopen.c: Assume _LIBC is defined.
34734 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34735 (_IO_close): Remove macro definitions.
34736 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34737 _exit directly.
34738 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34739 directly.
34740 * libio/ioputs.c: Assume weak_alias is defined.
34741 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34742 * libio/iosetbuffer.c: Assume weak_alias is defined.
34743 * libio/iosetvbuf.c: Likewise.
34744 * libio/ioungetc.c: Likewise.
34745 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34746 libc_hidden_def, libc_hidden_weak, NULL are defined.
34747 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34748 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34749 defined.
34750 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34751 definitions.
34752 (_IO_old_file_init_internal): Drop SHARED conditional because it
34753 is implied by SHLIB_COMPAT.
34754 (_IO_old_file_fopen): Call __open directly.
34755 (_IO_old_file_sync): Assume ESPIPE is defined.
34756 (_IO_old_file_write): Call __write directly.
34757 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34758 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34759 Call __fcntl directly.
34760 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34761 (_IO_old_fgetpos): Assume EIO is defined.
34762 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34763 (_IO_old_fgetpos64): Assume EIO is defined.
34764 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34765 (_IO_old_fsetpos): Assume EIO is defined.
34766 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34767 (_IO_old_fsetpos64): Assume EIO is defined.
34768 * libio/oldiopopen.c: Assume _LIBC is defined.
34769 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34770 (_IO_close): Remove macro definitions.
34771 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34772 directly.
34773 (_IO_old_proc_close): Call __close, __waitpid directly.
34774 * libio/put.c: Assume weak_alias is defined.
34775 * libio/stdfiles.c: Assume _LIBC is defined.
34776 * libio/stdio.c: Likewise.
34777 * libio/wfileops.c: Likewise.
34778 (_IO_wfile_sync): Assume ESPIPE is defined.
34779 * libio/wgenops.c: Assume _LIBC is defined.
34780 (save_for_wbackup): Remove internal_function.
34781
34782 2017-08-31 Florian Weimer <fweimer@redhat.com>
34783
34784 * malloc/malloc.c (top_check): Change return type to void. Remove
34785 internal_function.
34786 * malloc/hooks.c (top_check): Likewise.
34787 (malloc_check, realloc_check, memalign_check): Adjust.
34788
34789 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34790
34791 [BZ #21457]
34792 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34793 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34794 sigcontext and namespace requirements.
34795 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34796 * sysdeps/m68k/sys/ucontext.h: Likewise.
34797 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34798 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34799 <bits/sigcontext.h>.
34800 (__ctx): Define earlier.
34801 (mcontext_t): Define structure contents rather than using struct
34802 sigcontext.
34803 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34804 __glibc_reserved1 instead of __reserved.
34805 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34806 <bits/sigcontext.h>.
34807 (__ctx): Define earlier.
34808 (mcontext_t): Define structure contents rather than using struct
34809 sigcontext.
34810 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34811 mcontext_t instead of struct sigcontext.
34812 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34813 <bits/sigcontext.h>.
34814 (__ctx): Define earlier.
34815 (mcontext_t): Define structure contents rather than using struct
34816 sigcontext.
34817 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34818 <bits/sigcontext.h>.
34819 (__ctx): Define earlier.
34820 (mcontext_t): Define structure contents rather than using struct
34821 sigcontext.
34822 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34823 mcontext_t instead of struct sigcontext.
34824 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34825 mcontext_t instead of struct sigcontext.
34826 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34827 <bits/sigcontext.h>.
34828 (__ctx): New macro.
34829 (struct __ia64_fpreg_mcontext): New type.
34830 (mcontext_t): Define structure contents rather than using struct
34831 sigcontext.
34832 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34833 (uc_sigmask): Define using __ctx.
34834 (uc_stack): Likewise.
34835 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34836 <bits/sigcontext.h>.
34837 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34838 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34839 <bits/sigcontext.h>.
34840 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34841 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34842 <bits/sigcontext.h>.
34843 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34844 <bits/sigcontext.h>.
34845 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34846 <bits/sigcontext.h>.
34847 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34848 <bits/sigcontext.h>.
34849 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34850 <bits/sigcontext.h>.
34851 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34852 <bits/sigcontext.h>.
34853 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34854 <bits/sigcontext.h>.
34855 (__ctx): Define earlier.
34856 (mcontext_t): Define structure contents rather than using struct
34857 sigcontext.
34858 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34859 <bits/sigcontext.h>. Include <bits/types.h>.
34860 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34861 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34862 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34863 (test-xfail-UNIX98/signal.h/conform): Likewise.
34864 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34865 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34866 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34867 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34868 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34869 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34870 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34871 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34872 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34873
34874 2017-08-30 Florian Weimer <fweimer@redhat.com>
34875
34876 * malloc/dynarray_emplace_enlarge.c
34877 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34878 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34879 * malloc/tst-dynarray.c (test_long_overflow): New function.
34880 (do_test): Call it.
34881
34882 2017-08-30 Florian Weimer <fweimer@redhat.com>
34883
34884 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34885 (set_arena_corrupt): Remove definitions.
34886 (mtrim): Do not check for corrupt arena.
34887 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34888 Likewise.
34889
34890 2017-08-30 Florian Weimer <fweimer@redhat.com>
34891
34892 [BZ #21754]
34893 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34894 check_action.
34895 (ptmalloc_init): Do not set or use check_action.
34896 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34897 call to malloc_printerr. Remove return statement.
34898 (free_check): Likewise. Remove arena unlock.
34899 (top_check): Update comment. Adjust call to malloc_printerr.
34900 Remove heap repair code.
34901 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34902 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34903 (sysmalloc): Adjust call to malloc_printerr.
34904 (munmap_chunk, __libc_realloc): Likewise. Remove return
34905 statement.
34906 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34907 Remove errout label and corresponding gotos.
34908 (_int_free): Likewise. Remove arena unlock.
34909 (do_set_mallopt_check): Do not set check_action.
34910 (malloc_printerr): Adjust parameter list. Do not mark arena as
34911 corrupt.
34912 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34913 comment.
34914 * manual/probes.texi (Memory Allocation Probes): Remove
34915 memory_mallopt_check_action.
34916
34917 2017-08-30 Steve Ellcey <sellcey@cavium.com>
34918
34919 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34920 Use pointer to uint64_t instead of long int for sp.
34921
34922 2017-08-30 Florian Weimer <fweimer@redhat.com>
34923
34924 [BZ #21754]
34925 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34926 without printing a backtrace. Do not leak any information in the
34927 error message.
34928 * manual/memory.texi (Heap Consistency Checking): Update.
34929 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34930
34931 2017-08-30 Florian Weimer <fweimer@redhat.com>
34932
34933 Do not scale NPTL tests with available number of CPUs.
34934 * nptl/tst-cond16.c (count): Set to constant value of 8.
34935 * nptl/tst-cond18.c (count): Likewise.
34936
34937 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34938
34939 [BZ #22035]
34940 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
34941 Define to take a second argument that is a macro that
34942 concatentates a suffix, not the suffix itself.
34943 (__CONCAT_d): New macro.
34944 (__CONCAT_f): Likewise.
34945 (__CONCAT_l): Likewise.
34946
34947 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34948
34949 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34950 by child.
34951
34952 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34953 Aurelien Jarno <aurelien@aurel32.net>
34954 Maciej W. Rozycki <macro@imgtec.com>
34955
34956 [BZ #21956]
34957 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34958 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34959 `mips16-syscall6' and `mips16-syscall7'.
34960 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34961 (CFLAGS-mips16-syscall7.c): Remove.
34962 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34963 Remove `__mips16_syscall5', `__mips16_syscall6' and
34964 `__mips16_syscall7'.
34965 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34966 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34967 `__mips_syscall_return'.
34968 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34969 (__mips16_syscall1): Likewise.
34970 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34971 (__mips16_syscall2): Likewise.
34972 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34973 (__mips16_syscall3): Likewise.
34974 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34975 (__mips16_syscall4): Likewise.
34976 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34977 Remove.
34978 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34979 Remove.
34980 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34981 Remove.
34982 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34983 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34984 `__mips16_syscall5'. Remove prototype.
34985 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34986 `__mips16_syscall6'. Remove prototype.
34987 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34988 `__mips16_syscall7'. Remove prototype.
34989 (__nomips16, __mips16_syscall_return): Move to...
34990 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34991 (__nomips16, __mips_syscall_return): ... here.
34992 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34993 `__mips16_syscall_return' to `__mips_syscall_return'.
34994 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34995 `internal_syscall##nr'.
34996 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34997 `internal_syscall##nr'.
34998 (FORCE_FRAME_POINTER): Remove.
34999 (__mips_syscall5): New prototype.
35000 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35001 (__mips_syscall6): New prototype.
35002 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35003 (__mips_syscall7): New prototype.
35004 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35005 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35006 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35007 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35008 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35009 (sysdep_routines): Add libc-do-syscall.
35010 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35011 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35012
35013 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35014
35015 [BZ #21672]
35016 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35017 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35018 (advise_stack_range): New function.
35019 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35020 stack non required to advise_stack_range at allocatestack.c
35021
35022 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35023
35024 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35025
35026 2017-08-29 Florian Weimer <fweimer@redhat.com>
35027
35028 [BZ #22026]
35029 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35030 __end_fct. Mangle __end_fct after setting it to NULL.
35031 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35032 (modules-names, modules-names-tests): Add
35033 tst-gconv-init-failure-mod.
35034 (gconv-modules): New target.
35035 (tst-gconv-init-failure-mod.so): Link against libsupport.
35036 (tst-gconv-init-failure): Depend on gconv-modules,
35037 tst-gconv-init-failure-mod.so.
35038 * iconv/tst-gconv-init-failure-mod.c: New file.
35039 * iconv/tst-gconv-init-failure.c: Likewise.
35040 * iconv/test-gconv-modules: Likewise.
35041
35042 2017-08-29 Florian Weimer <fweimer@redhat.com>
35043
35044 [BZ #22025]
35045 * iconv/gconv_db.c (free_derivation): Remove redundant
35046 parentheses.
35047 (gen_steps): Unconditionally mangle __btowc_fct after
35048 initialization.
35049 (increment_counter): Likewise. Do not call init_fct for internal
35050 modules.
35051
35052 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35053
35054 [BZ #22028]
35055 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35056 (_MSUF_): Remove macro.
35057 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35058 Likewise.
35059 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35060 (__REDIRFROM_X): New macro.
35061 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35062 Likewise.
35063 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35064 (__REDIRTO_X): Likewise.
35065 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35066 arguments.
35067 (__MATH_REDIRCALL_2): Likewise.
35068 (__MATH_REDIRCALL_INTERNAL): Likewise.
35069 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35070 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35071 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35072 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35073 * math/test-finite-macros.c: New file.
35074 * math/Makefile (tests): Add test-finite-macros.
35075 (CFLAGS-test-finite-macros.c): New variable.
35076
35077 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35078 Jeff Law <law@redhat.com>
35079
35080 [BZ #22025]
35081 Mangle NULL pointers in iconv/gconv.
35082 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35083 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35084 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35085 is non-NULL before demangling the end_fct. Check for NULL
35086 end_fct after demangling.
35087 (__gconv_release_step): Demangle the end_fct before checking
35088 it for NULL. Remove assert on __shlibc_handle != NULL.
35089 (gen_steps): Don't check btowc_fct for NULL before mangling.
35090 Demangle init_fct before checking for NULL.
35091 (increment_counter): Likewise.
35092 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35093 end_fct for NULL before mangling.
35094 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35095 for NULL.
35096
35097 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35098
35099 [BZ #21971]
35100 * locale/iso-639.def: add Morisyen.
35101
35102 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35103
35104 [BZ #21930]
35105 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35106 (iszero): New C++ implementation that does not use
35107 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35108 signaling nans are enabled, since __builtin_types_compatible_p
35109 is a C-only feature.
35110 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35111 defined, include ieee754_float128.h for access to the union and
35112 member ieee854_float128.ieee.
35113 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35114 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35115 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35116 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35117 options of test-math-zero on powerpc64le.
35118
35119 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35120
35121 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35122 Change double to float.
35123
35124 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35125
35126 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35127 unconditional.
35128 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35129 conditional code; define contents only for [LIBM_SVID_COMPAT].
35130
35131 2017-08-28 Florian Weimer <fweimer@redhat.com>
35132
35133 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35134 (abi-lp64_be-options): Remove.
35135 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35136 (abi-hard-options): Likewise.
35137 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35138 (abi-o32_hard-options, abi-o32_soft_2008-options)
35139 (abi-o32_hard_2008-options, abi-n32_soft-options)
35140 (abi-n32_hard-options, abi-n32_soft_2008-options)
35141 (abi-n32_hard_2008-options, abi-n64_soft-options)
35142 (abi-n64_hard-options, abi-n64_soft_2008-options)
35143 (abi-n64_hard_2008-options): Likewise.
35144 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35145 (abi-64-v1-options, abi-64-v2-options): Likewise.
35146 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35147 (abi-64-options): Likewise.
35148 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35149 (abi-64-options): Likewise.
35150 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35151 (abi-64-options): Likewise.
35152 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35153 (abi-64-options, abi-x32-options): Likewise.
35154
35155 2017-08-28 Florian Weimer <fweimer@redhat.com>
35156
35157 Store supported list of SYS_* system calls in the source tree.
35158 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35159 (bits/syscall.h): Generate from list file.
35160 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35161 [$(subdir) = misc] (tests): Add tst-syscall-list.
35162 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35163 [$(subdir) = misc] (tst-syscall-list-macros.list)
35164 [$(subdir) = misc] (tst-syscall-list-nr.list)
35165 (tst-syscall-list-sys.list): Helper targets for new
35166 tst-syscall-list test.
35167 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35168 tst-syscall-list.sh.
35169 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35170 target. Do not include bits/syscall.d.
35171 [$(subdir) = misc] (generated): Do not update.
35172 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35173 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35174 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35175 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35176
35177 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35178
35179 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35180 (tst-cxa_atexit, tst-on_exit): Likewise.
35181 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35182 tst-cxa_atexit, and tst-on_exit.
35183 * stdlib/tst-atexit-common.c: New file.
35184 * stdlib/tst-atexit.c: New file.
35185 * stdlib/tst-at_quick_exit.c: New file.
35186 * stdlib/tst-cxa_atexit.c: New file.
35187 * stdlib/tst-on_exit.c: New file.
35188
35189 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35190
35191 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35192 * mach/stack_chk_fail_local.c: New file.
35193 * hurd/stack_chk_fail_local.c: New file.
35194 * mach/Machrules ($(interface-library)-routines): Add
35195 stack_chk_fail_local.
35196 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35197 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35198 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35199 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35200 * hurd/Makefile (CFLAGS-hurdstartup.o,
35201 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35202
35203 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35204
35205 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35206 (index_cpu_*, index_arch_*): Removed.
35207
35208 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35209
35210 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35211 Use uint64_t instead of unsigned long.
35212
35213 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35214
35215 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35216 [__HAVE_DISTINCT_FLOAT128].
35217
35218 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35219 of <bits/math-finite.h>.
35220 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35221 inclusion of <bits/math-finite.h>.
35222 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35223 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35224 __NO_LONG_DOUBLE_MATH].
35225 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35226 (__MATH_REDIRCALL_2): Likewise.
35227 (__MATH_REDIRCALL_INTERNAL): Likewise.
35228 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35229 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35230 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35231
35232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35233 Remove file.
35234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35235 Likewise.
35236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35237 Likewise.
35238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35239 Likewise.
35240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35241 Likewise.
35242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35243 Likewise.
35244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35245 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35246 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35247 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35249 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35250 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35251 w_sqrtf_compat-ppc32.
35252
35253 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35254
35255 * math/math.h [defined __cplusplus] (issignaling): In the long
35256 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35257 is not defined. Call __issignaling, otherwise.
35258
35259 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35260
35261 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35262 syscall definitions and replace __builtin_expect with __glibc_likely.
35263 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35264 syscall.
35265 (SYSCALL_CANCELLABLE): Removedefinition
35266 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35267 definition.
35268 (PSEUDO_END): Likewise.
35269 [IS_IN (libpthread)] (CENABLE): Likewise.
35270 [IS_IN (libpthread)] (CDISABLE): Likewise.
35271 [IS_IN (libc)] (CENABLE): Likewise.
35272 [IS_IN (libc)] (CENABLE): Likewise.
35273 [IS_IN (librt)] (CDISABLE): Likewise.
35274 [IS_IN (librt)] (CDISABLE): Likewise.
35275 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35276 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35277 definition.
35278 (PSEUDO_END): Likewise.
35279 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35280 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35281 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35282 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35283 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35284 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35285 (CENABLE): Likewise.
35286 (CDISABLE): Likewise.
35287 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35288 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35289 defintion.
35290 (PSEUDO_END): Likewise.
35291 [IS_IN (libpthread)] (CENABLE): Likewise.
35292 [IS_IN (libpthread)] (CDISABLE): Likewise.
35293 [IS_IN (libc)] (CENABLE): Likewise.
35294 [IS_IN (libc)] (CENABLE): Likewise.
35295 [IS_IN (librt)] (CDISABLE): Likewise.
35296 [IS_IN (librt)] (CDISABLE): Likewise.
35297 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35298 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35299 definition.
35300 (PSEUDO_END): Likewise.
35301 [IS_IN (libpthread)] (CENABLE): Likewise.
35302 [IS_IN (libpthread)] (CDISABLE): Likewise.
35303 [IS_IN (libc)] (CENABLE): Likewise.
35304 [IS_IN (libc)] (CENABLE): Likewise.
35305 [IS_IN (librt)] (CDISABLE): Likewise.
35306 [IS_IN (librt)] (CDISABLE): Likewise.
35307 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35308 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35309 definition.
35310 (PSEUDO_END): Likewise.
35311 [IS_IN (libpthread)] (CENABLE): Likewise.
35312 [IS_IN (libpthread)] (CDISABLE): Likewise.
35313 [IS_IN (libc)] (CENABLE): Likewise.
35314 [IS_IN (libc)] (CENABLE): Likewise.
35315 [IS_IN (librt)] (CDISABLE): Likewise.
35316 [IS_IN (librt)] (CDISABLE): Likewise.
35317 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35318 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35319 definition.
35320 (PSEUDO_END): Likewise.
35321 [IS_IN (libpthread)] (CENABLE): Likewise.
35322 [IS_IN (libpthread)] (CDISABLE): Likewise.
35323 [IS_IN (libc)] (CENABLE): Likewise.
35324 [IS_IN (libc)] (CENABLE): Likewise.
35325 [IS_IN (librt)] (CDISABLE): Likewise.
35326 [IS_IN (librt)] (CDISABLE): Likewise.
35327 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35328 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35329 definition.
35330 (PSEUDO_END): Likewise.
35331 [IS_IN (libpthread)] (CENABLE): Likewise.
35332 [IS_IN (libpthread)] (CDISABLE): Likewise.
35333 [IS_IN (libc)] (CENABLE): Likewise.
35334 [IS_IN (libc)] (CENABLE): Likewise.
35335 [IS_IN (librt)] (CDISABLE): Likewise.
35336 [IS_IN (librt)] (CDISABLE): Likewise.
35337 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35338 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35339 definition.
35340 (PSEUDO_END): Likewise.
35341 [IS_IN (libpthread)] (CENABLE): Likewise.
35342 [IS_IN (libpthread)] (CDISABLE): Likewise.
35343 [IS_IN (libc)] (CENABLE): Likewise.
35344 [IS_IN (libc)] (CENABLE): Likewise.
35345 [IS_IN (librt)] (CDISABLE): Likewise.
35346 [IS_IN (librt)] (CDISABLE): Likewise.
35347 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35348 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35349 Remove definition.
35350 (PSEUDO_END): Likewise.
35351 [IS_IN (libpthread)] (CENABLE): Likewise.
35352 [IS_IN (libpthread)] (CDISABLE): Likewise.
35353 [IS_IN (libc)] (CENABLE): Likewise.
35354 [IS_IN (libc)] (CENABLE): Likewise.
35355 [IS_IN (librt)] (CDISABLE): Likewise.
35356 [IS_IN (librt)] (CDISABLE): Likewise.
35357 (SINGLE_THREAD_P): Likewise.
35358 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35359 definition.
35360 (PSEUDO_END): Likewise.
35361 [IS_IN (libpthread)] (CENABLE): Likewise.
35362 [IS_IN (libpthread)] (CDISABLE): Likewise.
35363 [IS_IN (libc)] (CENABLE): Likewise.
35364 [IS_IN (libc)] (CENABLE): Likewise.
35365 [IS_IN (librt)] (CDISABLE): Likewise.
35366 [IS_IN (librt)] (CDISABLE): Likewise.
35367 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35368 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35369 definition.
35370 (PSEUDO_END): Likewise.
35371 [IS_IN (libpthread)] (CENABLE): Likewise.
35372 [IS_IN (libpthread)] (CDISABLE): Likewise.
35373 [IS_IN (libc)] (CENABLE): Likewise.
35374 [IS_IN (libc)] (CENABLE): Likewise.
35375 [IS_IN (librt)] (CDISABLE): Likewise.
35376 [IS_IN (librt)] (CDISABLE): Likewise.
35377 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35378 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35379 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35380 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35382 definition.
35383 (PSEUDO_END): Likewise.
35384 [IS_IN (libpthread)] (CENABLE): Likewise.
35385 [IS_IN (libpthread)] (CDISABLE): Likewise.
35386 [IS_IN (libc)] (CENABLE): Likewise.
35387 [IS_IN (libc)] (CENABLE): Likewise.
35388 [IS_IN (librt)] (CDISABLE): Likewise.
35389 [IS_IN (librt)] (CDISABLE): Likewise.
35390 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35392 definition.
35393 (PSEUDO_END): Likewise.
35394 [IS_IN (libpthread)] (CENABLE): Likewise.
35395 [IS_IN (libpthread)] (CDISABLE): Likewise.
35396 [IS_IN (libc)] (CENABLE): Likewise.
35397 [IS_IN (libc)] (CENABLE): Likewise.
35398 [IS_IN (librt)] (CDISABLE): Likewise.
35399 [IS_IN (librt)] (CDISABLE): Likewise.
35400 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35401 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35402 definition.
35403 (PSEUDO_END): Likewise.
35404 [IS_IN (libpthread)] (CENABLE): Likewise.
35405 [IS_IN (libpthread)] (CDISABLE): Likewise.
35406 [IS_IN (libc)] (CENABLE): Likewise.
35407 [IS_IN (libc)] (CENABLE): Likewise.
35408 [IS_IN (librt)] (CDISABLE): Likewise.
35409 [IS_IN (librt)] (CDISABLE): Likewise.
35410 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35413 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35414 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35415 definition.
35416 (PSEUDO_END): Likewise.
35417 [IS_IN (libpthread)] (CENABLE): Likewise.
35418 [IS_IN (libpthread)] (CDISABLE): Likewise.
35419 [IS_IN (libc)] (CENABLE): Likewise.
35420 [IS_IN (libc)] (CENABLE): Likewise.
35421 [IS_IN (librt)] (CDISABLE): Likewise.
35422 [IS_IN (librt)] (CDISABLE): Likewise.
35423 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35424 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35425 definition.
35426 (PSEUDO_END): Likewise.
35427 [IS_IN (libpthread)] (CENABLE): Likewise.
35428 [IS_IN (libpthread)] (CDISABLE): Likewise.
35429 [IS_IN (libc)] (CENABLE): Likewise.
35430 [IS_IN (libc)] (CENABLE): Likewise.
35431 [IS_IN (librt)] (CDISABLE): Likewise.
35432 [IS_IN (librt)] (CDISABLE): Likewise.
35433 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35434
35435 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35436
35437 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35438
35439 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35440
35441 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35442
35443 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35444
35445 [BZ #21982]
35446 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35447 middle and outer with size_t instead of int. Repleace %d and
35448 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35449 "MAX (outer, nchars - 64)" to support unsigned outer and
35450 nchars. Also exit loop when outer == 0.
35451
35452 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35453
35454 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35455 * include/signal.h (__sigsuspend_nocancel): Likewise.
35456 * include/time.h (__nanosleep_nocancel): Likewise.
35457 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35458 * login/utmp_file.c: Include non cancellable syscall header.
35459 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35460 prototype.
35461
35462 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35463
35464 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35465 .byte sequences with AVX512F instructions.
35466 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35467 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35468 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35470 Likewise.
35471 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35472 Likewise.
35473
35474 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35475 Steve Ellcey <sellcey@cavium.com>
35476
35477 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35478 Use PTR_REG macro in cmp instruction.
35479
35480 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35481
35482 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35483 Change the return type of the ifunc resolver to match the return
35484 type of the target function.
35485
35486 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35487
35488 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35489 (preadv64): Likewise.
35490 (pwrite64(: Likewise.
35491 (pwritev64): Likewise.
35492
35493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35494 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35495 (LOAD_ARGS_0): Likewise.
35496 (LOAD_ARGS_1): Likewise.
35497 (LOAD_ARGS_2): Likewise.
35498 (LOAD_ARGS_3): Likewise.
35499 (LOAD_ARGS_4): Likewise.
35500 (LOAD_ARGS_5): Likewise.
35501 (LOAD_ARGS_6): Likewise.
35502 (LOAD_REGS_0): Likewise.
35503 (LOAD_REGS_1): Likewise.
35504 (LOAD_REGS_2): Likewise.
35505 (LOAD_REGS_3): Likewise.
35506 (LOAD_REGS_4): Likewise.
35507 (LOAD_REGS_5): Likewise.
35508 (LOAD_REGS_6): Likewise.
35509 (ASM_ARGS_0): Likewise.
35510 (ASM_ARGS_1): Likewise.
35511 (ASM_ARGS_2): Likewise.
35512 (ASM_ARGS_3): Likewise.
35513 (ASM_ARGS_4): Likewise.
35514 (ASM_ARGS_5): Likewise.
35515 (ASM_ARGS_6): Likewise.
35516 (LOAD_ARGS_TYPES_1): Likewise.
35517 (LOAD_ARGS_TYPES_2): Likewise.
35518 (LOAD_ARGS_TYPES_3): Likewise.
35519 (LOAD_ARGS_TYPES_4): Likewise.
35520 (LOAD_ARGS_TYPES_5): Likewise.
35521 (LOAD_ARGS_TYPES_6): Likewise.
35522 (LOAD_REGS_TYPES_1): Likewise.
35523 (LOAD_REGS_TYPES_2): Likewise.
35524 (LOAD_REGS_TYPES_3): Likewise.
35525 (LOAD_REGS_TYPES_4): Likewise.
35526 (LOAD_REGS_TYPES_5): Likewise.
35527 (LOAD_REGS_TYPES_6): Likewise.
35528 (TYPEFY): New define.
35529 (ARGIFY): Likewise.
35530 (internal_syscall0): Likewise.
35531 (internal_syscall1): Likewise.
35532 (internal_syscall2): Likewise.
35533 (internal_syscall3): Likewise.
35534 (internal_syscall4): Likewise.
35535 (internal_syscall5): Likewise.
35536 (internal_syscall6): Likewise.
35537 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35538 (INTERNAL_SYSCALL_NCS): Remove define.
35539 (internal_syscall1): Add define.
35540
35541 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35542
35543 * math/w_remainder_compat.c: Remove duplicate inclusion of
35544 math-svid-compat.h.
35545 * math/w_remainderf_compat.c: Likewise.
35546 * math/w_remainderl_compat.c: Likewise.
35547
35548 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35549
35550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35551
35552 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35553
35554 [BZ #21684]
35555 * math/tgmath.h (__floating_type): Simplify definitions.
35556 (__real_integer_type): New macro.
35557 (__complex_integer_type): Likewise.
35558 (__expr_is_real): Likewise.
35559 (__tgmath_real_type_sub): Update comment to describe handling of
35560 complex types.
35561 (__tgmath_complex_type_sub): New macro.
35562 (__tgmath_complex_type): Likewise.
35563 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35564 (__TGMATH_CF128): Use __expr_is_real.
35565 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35566 __expr_is_real.
35567 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35568 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35569 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35570 integer types.
35571
35572 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35573
35574 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35575 macro.
35576 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35577 alias.
35578 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35579 Likewise.
35580
35581 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35582 nanosleep_not_cancel with __nanosleep_nocancel.
35583 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35584 (__nanosleep_nocancel): New macro.
35585 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35586 function.
35587 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35588 macro.
35589 (__nanosleep_nocancel): New prototype.
35590
35591 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35592 pause_not_cancel with __pause_nocancel.
35593 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35594 (__pause_nocancel): New macro.
35595 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35596 macro.
35597 (__pause_nocancel): New prototype.
35598 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35599
35600 2017-08-22 Martin Sebor <msebor@redhat.com>
35601
35602 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35603 to return a pointer to the same type as the target function.
35604
35605 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35606
35607 [BZ #18822]
35608 [BZ #21986]
35609 * include/printf.h (__printf_fphex): Add attribute_hidden.
35610 (__guess_grouping): New prototype.
35611 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35612 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35613 libc_hidden_proto and libc_hidden_def.
35614 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35615 (__vstrfmon_l): Remove the third argument passed to
35616 __guess_grouping.
35617
35618 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35619
35620 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35621 definition for issignaling that does not rely on __MATH_TG,
35622 since __MATH_TG uses __builtin_types_compatible_p, which is only
35623 available in C mode.
35624 (CFLAGS-test-math-issignaling.cc): New variable.
35625 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35626 * math/test-math-issignaling.cc: New test for C++ implementation
35627 of type-generic issignaling.
35628 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35629 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35630 options of test-math-issignaling on powerpc64le.
35631
35632 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35633
35634 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35635 building libc.a.
35636 (hidden_proto): Likewise.
35637 (hidden_tls_proto): Likewise.
35638 (__hidden_proto): Likewise.
35639
35640 2017-08-22 Florian Weimer <fweimer@redhat.com>
35641
35642 math: Statically link tests of internal functionality.
35643 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35644 atest-exp2.
35645 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35646 (gmp-objs): Remove assignment.
35647 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35648
35649 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35650
35651 [BZ #21987]
35652 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35653 and copy to ...
35654 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35655 ... here.
35656 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35657 ... and here.
35658
35659 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35660 variable definitions above inclusion of ../Rules.
35661
35662 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35663
35664 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35665 case calling __builtin_unreachable.
35666
35667 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35668
35669 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35670 __waitpid_nocancel.
35671 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35672 (__waitpid_nocancel): New macro.
35673 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35674 macro.
35675 (__waitpid_nocancel): Replace macro with a function.
35676 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35677 function.
35678
35679 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35680 __fcntl_nocancel.
35681 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35682 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35683
35684 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35685 __writev_nocancel_nostatus.
35686 (write_call_graph): Likewise.
35687 (write_bb_counts): Likewise.
35688 * resolv/herror.c (herror): Likewise.
35689 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35690 macro.
35691 (__writev_nocancel_nostatus): New macro.
35692 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35693 Remove macro.
35694 (__writev_nocancel_nostatus): New function.
35695
35696 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35697
35698 Revert:
35699 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35700
35701 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35702 building libc.a.
35703 (hidden_proto): Likewise.
35704 (hidden_tls_proto): Likewise.
35705 (__hidden_proto): Likewise.
35706
35707 [BZ #21973]
35708 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35709 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35711 Likewise.
35712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35713 Likewise.
35714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35715 Likewise.
35716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35717 Likewise.
35718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35719 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35720 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35721 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35722 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35723 GLIBC_2.0 sqrtl symbol.
35724
35725 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35726 [__USE_MISC] (_LIB_VERSION): Likewise.
35727 [__USE_MISC] (struct exception): Likewise.
35728 [__USE_MISC] (matherr): Likewise.
35729 [__USE_MISC] (DOMAIN): Likewise.
35730 [__USE_MISC] (SING): Likewise.
35731 [__USE_MISC] (OVERFLOW): Likewise.
35732 [__USE_MISC] (UNDERFLOW): Likewise.
35733 [__USE_MISC] (TLOSS): Likewise.
35734 [__USE_MISC] (PLOSS): Likewise.
35735 [__USE_MISC] (HUGE): Likewise.
35736 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35737 * math/math-svid-compat.h: New file.
35738 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35739 and matherrl.
35740 * include/math.h [!_ISOMAC] (__matherr): Remove.
35741 * manual/arith.texi (FP Exceptions): Do not document matherr.
35742 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35743 (tests-internal): New variable.
35744 (install-lib): Do not add libieee.a.
35745 (non-lib.a): Likewise.
35746 (extra-objs): Do not add libieee.a and ieee-math.o.
35747 (CPPFLAGS-s_lib_version.c): Remove variable.
35748 ($(objpfx)libieee.a): Remove rule.
35749 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35750 * math/ieee-math.c: Remove.
35751 * math/libm-test-support.c (matherr): Remove.
35752 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35753 and license notices. Include <math-svid-compat.h> and
35754 <shlib-compat.h>.
35755 (matherr): Undefine as macro. Use compat_symbol_reference.
35756 (_LIB_VERSION): Likewise.
35757 * math/test-matherr-2.c: New file.
35758 * math/test-matherr-3.c: Likewise.
35759 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35760 declaration.
35761 (__kernel_standard_f): Likewise.
35762 (__kernel_standard_l): Likewise.
35763 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35764 <math_private.h>. Include <math-svid-compat.h>.
35765 (_LIB_VERSION): Undefine as macro.
35766 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35767 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35768 [LIBM_SVID_COMPAT], use compat_symbol.
35769 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35770 <math_private.h>. Include <math-svid-compat.h>.
35771 (matherr): Undefine as macro.
35772 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35773 compat_symbol.
35774 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35775 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35776 compat_symbol_reference.
35777 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35778 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35779 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35780 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35781 (MATHERR_D): Remove declaration.
35782 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35783 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35784 [LIBM_BUILD] (pmatherrf): Likewise.
35785 [LIBM_BUILD] (pmatherr): Likewise.
35786 [LIBM_BUILD] (pmatherrl): Likewise.
35787 (DOMAIN): Likewise.
35788 (SING): Likewise.
35789 (OVERFLOW): Likewise.
35790 (UNDERFLOW): Likewise.
35791 (TLOSS): Likewise.
35792 (PLOSS): Likewise.
35793 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35794 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35795 compat_symbol.
35796 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35797 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35798 compat_symbol.
35799 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35800 * math/w_acos_compat.c: Likewise.
35801 * math/w_acosf_compat.c: Likewise.
35802 * math/w_acosh_compat.c: Likewise.
35803 * math/w_acoshf_compat.c: Likewise.
35804 * math/w_acoshl_compat.c: Likewise.
35805 * math/w_acosl_compat.c: Likewise.
35806 * math/w_asin_compat.c: Likewise.
35807 * math/w_asinf_compat.c: Likewise.
35808 * math/w_asinl_compat.c: Likewise.
35809 * math/w_atan2_compat.c: Likewise.
35810 * math/w_atan2f_compat.c: Likewise.
35811 * math/w_atan2l_compat.c: Likewise.
35812 * math/w_atanh_compat.c: Likewise.
35813 * math/w_atanhf_compat.c: Likewise.
35814 * math/w_atanhl_compat.c: Likewise.
35815 * math/w_cosh_compat.c: Likewise.
35816 * math/w_coshf_compat.c: Likewise.
35817 * math/w_coshl_compat.c: Likewise.
35818 * math/w_exp10_compat.c: Likewise.
35819 * math/w_exp10f_compat.c: Likewise.
35820 * math/w_exp10l_compat.c: Likewise.
35821 * math/w_exp2_compat.c: Likewise.
35822 * math/w_exp2f_compat.c: Likewise.
35823 * math/w_exp2l_compat.c: Likewise.
35824 * math/w_fmod_compat.c: Likewise.
35825 * math/w_fmodf_compat.c: Likewise.
35826 * math/w_fmodl_compat.c: Likewise.
35827 * math/w_hypot_compat.c: Likewise.
35828 * math/w_hypotf_compat.c: Likewise.
35829 * math/w_hypotl_compat.c: Likewise.
35830 * math/w_j0_compat.c: Likewise.
35831 * math/w_j0f_compat.c: Likewise.
35832 * math/w_j0l_compat.c: Likewise.
35833 * math/w_j1_compat.c: Likewise.
35834 * math/w_j1f_compat.c: Likewise.
35835 * math/w_j1l_compat.c: Likewise.
35836 * math/w_jn_compat.c: Likewise.
35837 * math/w_jnf_compat.c: Likewise.
35838 * math/w_jnl_compat.c: Likewise.
35839 * math/w_lgamma_main.c: Likewise.
35840 * math/w_lgamma_r_compat.c: Likewise.
35841 * math/w_lgammaf_main.c: Likewise.
35842 * math/w_lgammaf_r_compat.c: Likewise.
35843 * math/w_lgammal_main.c: Likewise.
35844 * math/w_lgammal_r_compat.c: Likewise.
35845 * math/w_log10_compat.c: Likewise.
35846 * math/w_log10f_compat.c: Likewise.
35847 * math/w_log10l_compat.c: Likewise.
35848 * math/w_log2_compat.c: Likewise.
35849 * math/w_log2f_compat.c: Likewise.
35850 * math/w_log2l_compat.c: Likewise.
35851 * math/w_log_compat.c: Likewise.
35852 * math/w_logf_compat.c: Likewise.
35853 * math/w_logl_compat.c: Likewise.
35854 * math/w_pow_compat.c: Likewise.
35855 * math/w_powf_compat.c: Likewise.
35856 * math/w_powl_compat.c: Likewise.
35857 * math/w_remainder_compat.c: Likewise.
35858 * math/w_remainderf_compat.c: Likewise.
35859 * math/w_remainderl_compat.c: Likewise.
35860 * math/w_scalb_compat.c: Likewise.
35861 * math/w_scalbf_compat.c: Likewise.
35862 * math/w_scalbl_compat.c: Likewise.
35863 * math/w_sinh_compat.c: Likewise.
35864 * math/w_sinhf_compat.c: Likewise.
35865 * math/w_sinhl_compat.c: Likewise.
35866 * math/w_sqrt_compat.c: Likewise.
35867 * math/w_sqrtf_compat.c: Likewise.
35868 * math/w_sqrtl_compat.c: Likewise.
35869 * math/w_tgamma_compat.c: Likewise.
35870 * math/w_tgammaf_compat.c: Likewise.
35871 * math/w_tgammal_compat.c: Likewise.
35872 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35873 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35874 * sysdeps/ieee754/k_standard.c: Likewise.
35875 * sysdeps/ieee754/k_standardf.c: Likewise.
35876 * sysdeps/ieee754/k_standardl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35879 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35880 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35881 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35882 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35883 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35884 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35885 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35887 Likewise.
35888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35889 Likewise.
35890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35891 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35892 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35893 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35894
35895 2017-08-21 Florian Weimer <fweimer@redhat.com>
35896
35897 [BZ #21864]
35898 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35899 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35900 Move before inclusion of ../Rules.
35901
35902 2017-08-21 Florian Weimer <fweimer@redhat.com>
35903
35904 [BZ #21972]
35905 * assert/assert.h (assert): Use static_cast (bool) for C++.
35906 Use the ternary operator in the warning branch for GNU C.
35907 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35908 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35909 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35910 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35911 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35912
35913 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35914
35915 [BZ #18822]
35916 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35917 (__syscall_clock_gettime): Add attribute_hidden.
35918 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35919 (__start_context): Likewise.
35920
35921 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35922
35923 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35924 building libc.a.
35925 (hidden_proto): Likewise.
35926 (hidden_tls_proto): Likewise.
35927 (__hidden_proto): Likewise.
35928
35929 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35930
35931 * include/libc-symbols.h (attribute_hidden): Enable hidden
35932 visibility in libc.a compiled with PIE.
35933
35934 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35935
35936 [BZ #18822]
35937 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
35938 Add attribute_hidden.
35939
35940 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35941
35942 [BZ #21864]
35943 * Makerules (all-nonlib): Add $(others-extras).
35944 * catgets/Makefile (others-extras): New.
35945 * elf/Makefile (others-extras): Likewise.
35946 * nss/Makefile (others-extras): Likewise.
35947
35948 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35949
35950 [BZ #18822]
35951 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35952 * elf/dl-open.c: Include <libc-internal.h>.
35953 (__libc_multiple_libcs): Removed.
35954 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35955 <hp-timing.h>.
35956 * include/libc-internal.h (__libc_multiple_libcs): New.
35957 * misc/sbrk.c: Include <libc-internal.h>.
35958 (__libc_multiple_libcs): Removed.
35959
35960 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35961
35962 [BZ #18822]
35963 * grp/initgroups.c (__nss_group_database): Removed.
35964 (__nss_initgroups_database): Likewise.
35965 * nscd/gai.c (__nss_hosts_database): Likewise.
35966 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35967 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35968 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35969 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35970 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35971 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35972 attribute_hidden.
35973 * nss/nsswitch.c (__nss_database_custom): Define only if
35974 USE_NSCD is defined.
35975 (__nss_configure_lookup): Use __nss_database_custom only if
35976 USE_NSCD is defined.
35977 * nss/nsswitch.h (__nss_database_custom): Declare only if
35978 USE_NSCD is defined. Add attribute_hidden.
35979 (__nss_setent): Add attribute_hidden.
35980 (__nss_endent): Likewise.
35981 (__nss_getent_r): Likewise.
35982 (__nss_getent): Likewise.
35983 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35984
35985 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35986
35987 [BZ #18822]
35988 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35989 libc_hidden_proto and libc_hidden_def.
35990
35991 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35992
35993 [BZ #18822]
35994 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35995 Add libc_hidden_proto.
35996 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35997 Add libc_hidden_def.
35998
35999 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36000
36001 [BZ #21974]
36002 * gmon/Makefile (routines): Remove bb_init_func and
36003 bb_exit_func.
36004 (elide-routines.os): Removed.
36005 * gmon/bb_exit_func.c: Likewise.
36006 * gmon/bb_init_func.c: Likewise.
36007 * include/sys/gmon.h (__bb): Likewise.
36008 (__bb_init_func): Likewise.
36009 (__bb_exit_func): Likewise.
36010 * sysdeps/alpha/bb_init_func.S: Likewise.
36011
36012 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36013
36014 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36015 * include/setjmp.h (____longjmp_chk): Here. Add
36016 attribute_hidden.
36017
36018 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36019
36020 [BZ #18822]
36021 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36022 attribute_hidden.
36023 (__strspn_sse2): Likewise.
36024
36025 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36026
36027 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36028 (close_not_cancel_no_status): Likewise.
36029 (__close_nocancel): New macro.
36030 (__close_nocancel_nostatus): Likewise.
36031 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36032 macro.
36033 (close_not_cancel): Likewise.
36034 (close_not_cancel_no_status): Likewise.
36035 (__close_nocancel): New prototype.
36036 (__close_nocancel_nostatus): New function.
36037 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36038 * catgets/open_catalog.c (__open_catalog): Replace
36039 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36040 * gmon/gmon.c (write_gmon): Likewise.
36041 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36042 * intl/loadmsgcat.c (close): Likewise.
36043 * io/ftw.c (open_dir_stream): Likewise.
36044 (ftw_startup): Likewise.
36045 * libio/fileops.c (_IO_file_open): Likewise.
36046 (_IO_file_close_mmap): Likewise.
36047 (_IO_file_close): Likewise.
36048 * libio/iopopen.c (_IO_dup2): Likewise.
36049 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36050 * locale/loadlocale.c (_nl_load_locale): Likewise.
36051 * login/utmp_file.c (pututline_file): Likewise.
36052 (endutent_file): Likewise.
36053 * misc/daemon.c (daemon): Likewise.
36054 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36055 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36056 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36057 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36058 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36059 * nscd/nscd_helper.c (open_socket): Likewise.
36060 (__nscd_open_socket): Likewise.
36061 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36062 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36063 (__nscd_innetgr): Likewise.
36064 * nss/nss_db/db-open.c (internal_setent): Likewise.
36065 * resolv/res-close.c (__res_iclose): Likewise.
36066 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36067 * sysdeps/posix/closedir.c (__closedir): Likewise.
36068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36069 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36070 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36071 (opendir_tail): Likewise.
36072 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36073 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36074 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36075 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36076 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36077 (gethostid): Likewise.
36078 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36080 Likewise.
36081 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36082 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36083 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36084 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36085 Likewise.
36086 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36087 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36088 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36089 Likewise.
36090 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36091 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36092 Likewise.
36093 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36094 Likewise.
36095 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36096 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36097 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36098 __close_nocancel.
36099
36100 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36101 (openat_not_cancel_3): Likewise.
36102 (openat64_not_cancel_3): Likewise).
36103 (openat_not_cancel_3): Likewise).
36104 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36105 macro.
36106 (openat_not_cancel_3): Likewise.
36107 (openat64_not_cancel): Likewise.
36108 (openat64_not_cancel_3): Likewise.
36109 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36110 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36111 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36112 __open{64}_nocancel.
36113 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36114 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36115 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36116
36117 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36118
36119 [BZ #18822]
36120 * include/argz.h (__argz_create_sep): New function prototype.
36121 (__argz_append): Likewise.
36122 (__argz_add): Likewise.
36123 (__argz_add_sep): Likewise.
36124 (__argz_delete): Likewise.
36125 (__argz_insert): Likewise.
36126 (__argz_replace): Likewise.
36127 * string/argz.h (__argz_create_sep): Removed.
36128 (__argz_append): Likewise.
36129 (__argz_add): Likewise.
36130 (__argz_add_sep): Likewise.
36131 (__argz_delete): Likewise.
36132 (__argz_insert): Likewise.
36133 (__argz_replace): Likewise.
36134
36135 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36136
36137 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36138 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36139 (GNU_PROPERTY_STACK_SIZE): Likewie.
36140 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36141 (GNU_PROPERTY_LOPROC): Likewise.
36142 (GNU_PROPERTY_HIPROC): Likewise.
36143 (GNU_PROPERTY_LOUSER): Likewise.
36144 (GNU_PROPERTY_HIUSER): Likewise.
36145 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36146 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36147 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36148 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36149 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36150 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36151 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36152 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36153 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36154 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36155 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36156 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36157 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36158 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36159 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36160 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36161 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36162 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36163 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36164 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36165 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36166 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36167 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36168
36169 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36170
36171 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36172 in C++ mode.
36173
36174 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36175
36176 [BZ #21930]
36177 * math/math.h (isinf): Check if in C or C++ mode before using
36178 __builtin_types_compatible_p, since this is a C mode feature.
36179
36180 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36181
36182 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36183 (__write_nocancel): New macro.
36184 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36185 Rewrite as a function prototype.
36186 (write_not_cancel): Remove macro.
36187 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36188 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36189 (write_gmon): Likewise.
36190 * libio/fileops.c (_IO_new_file_write): Likewise.
36191 * login/utmp_file.c (pututline_file): Likewise.
36192 (updwtmp_file): Likewise.
36193 * stdio-common/psiginfo.c (psiginfo): Likewise.
36194 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36195 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36196 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36197 Likewise.
36198 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36199 Likewise.
36200
36201 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36202 (__read_nocancel): New macro.
36203 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36204 __read_nocancel.
36205 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36206 macro.
36207 (__read_nocancel): New prototype.
36208 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36209 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36210 with __read_nocancel.
36211 * intl/loadmsgcat.c (read): Likewise.
36212 * libio/fileops.c (_IO_file_read): Likewise.
36213 * locale/loadlocale.c (_nl_load_locale): Likewise.
36214 * login/utmp_file.c (getutent_r_file): Likewise.
36215 (internal_getut_r): Likewise.
36216 (getutline_r_file): Likewise.
36217 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36218 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36219 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36220 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36221 Likewise.
36222 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36223 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36224 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36225 Likewise.
36226 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36227 Likewise.
36228 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36229 Likewise.
36230 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36231 Likewise.
36232 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36233
36234 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36235
36236 [BZ #21966]
36237 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36238 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36239 usable.
36240
36241 2017-08-17 DJ Delorie <dj@redhat.com>
36242
36243 * bug17079.c: Update to new test harness.
36244 * test-digits-dots.c: Likewise.
36245 * test-netdb.c: Likewise.
36246 * tst-field.c: Likewise.
36247 * tst-nss-getpwent.c: Likewise.
36248 * tst-nss-static.c: Likewise.
36249 * tst-nss-test1.c: Likewise.
36250 * tst-nss-test2.c: Likewise.
36251 * tst-nss-test3.c: Likewise.
36252 * tst-nss-test4.c: Likewise.
36253 * tst-nss-test5.c: Likewise.
36254
36255 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36256
36257 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36258 (open_not_cancel_2): Likewise.
36259 (open_nocancel): New macro.
36260 (open64_nocancel): Likewise.
36261 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36262 (open_not_cancel_2): Likewise.
36263 (__open_nocancel): New prototype.
36264 (__open64_nocancel): Likewise.
36265 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36266 __open_nocancel.
36267 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36268 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36269 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36270 with __open_nocancel.
36271 * csu/check_fds.c (check_one_fd): Likewise.
36272 * gmon/gmon.c (write_gmon): Likewise.
36273 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36274 * intl/loadmsgcat.c (open): Likewise.
36275 * libio/fileops.c (_IO_file_open): Likewise.
36276 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36277 * locale/loadlocale.c (_nl_load_locale): Likewise.
36278 * login/utmp_file.c (setutent_file): Likewise.
36279 * misc/daemon.c (daemon): Likewise.
36280 * nss/nss_db/db-open.c (internal_setent): Likewise.
36281 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36282 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36283 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36284 (__opendir): Likewise.
36285 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36286 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36287 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36288 (gethostid): Likewise.
36289 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36291 Likewise.
36292 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36293 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36294 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36295 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36296 Likewise.
36297 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36298 Likewise.
36299 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36300 Likewise.
36301 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36302 Likewise.
36303 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36304 Likewise.
36305 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36306 Likewise.
36307 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36308 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36309
36310 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36311
36312 * benchtests/bench-skeleton.c (main): Add support for
36313 latency benchmarking.
36314 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36315
36316 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36317
36318 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36319 the startup object.
36320
36321 2017-08-17 Florian Weimer <fweimer@redhat.com>
36322
36323 * include/sys/socket.h (__opensock): Remove internal_function.
36324 * socket/opensock.c (__opensock): Likewise.
36325 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36326
36327 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36328
36329 [BZ #21944]
36330 * signal/bits/types/__sigval_t.h: New file.
36331 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36332 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36333 and define sigval_t using __sigval_t.
36334 * include/bits/types/__sigval_t.h: New file.
36335 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36336 instead of <bits/types/__sigval_t.h>.
36337 (struct sigevent): Use __sigval_t instead of sigval_t.
36338 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36339 instead of <bits/types/__sigval_t.h>.
36340 (siginfo_t): Use __sigval_t instead of sigval_t.
36341 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36342 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36343 (struct sigevent): Use __sigval_t instead of sigval_t.
36344 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36345 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36346 (siginfo_t): Use __sigval_t instead of sigval_t.
36347 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36348
36349 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36350
36351 * NEWS: Remove "[Add new features here]" for 2.27.
36352
36353 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36354
36355 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36356 libc.so.
36357
36358 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36359
36360 * NEWS: Mention x86-64 FMA optimization.
36361
36362 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36363
36364 [BZ #21912]
36365 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36366 Add e_expf-fma.
36367 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36368 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36369 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36370
36371 2017-08-16 Andreas Schwab <schwab@suse.de>
36372
36373 [BZ #16750]
36374 CVE-2009-5064
36375 * elf/ldd.bash.in: Never run file directly.
36376
36377 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36378
36379 [BZ #21955]
36380 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36381 (L(SP_INF_0)): Likewise.
36382
36383 2017-08-15 Florian Weimer <fweimer@redhat.com>
36384
36385 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36386 run-built-tests.
36387
36388 2017-08-15 Florian Weimer <fweimer@redhat.com>
36389
36390 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36391 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36392 BROKEN_THREAD_SIGNALS code.
36393 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36394 request_list): Remove caller_pid member used for
36395 BROKEN_THREAD_SIGNALS.
36396 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36397 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36398 Remove BROKEN_THREAD_SIGNALS support.
36399 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36400 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36401
36402 2017-08-15 Florian Weimer <fweimer@redhat.com>
36403
36404 * gmon/Makefile (tests): Add tst-gmon.
36405 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36406 Set.
36407 (tests-special): Add tst-gmon-prof.out.
36408 (tst-gmon.out): Depend on clean-tst-gmon-data.
36409 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36410 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36411 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36412 startup object.
36413 * aclocal.m4 (GPROF): Set and substitute.
36414 * config.amke.in (GPROF): Set.
36415 * configure: Regenerate.
36416
36417 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36418
36419 * elf/elf.h A (NT_PPC_TAR): New macro.
36420 (NT_PPC_PPR): Likewise.
36421 (NT_PPC_DSCR): Likewise.
36422 (NT_PPC_EBB): Likewise.
36423 (NT_PPC_PMU): Likewise.
36424 (NT_PPC_TM_CGPR): Likewise.
36425 (NT_PPC_TM_CFPR): Likewise.
36426 (NT_PPC_TM_CVMX): Likewise.
36427 (NT_PPC_TM_CVSX): Likewise.
36428 (NT_PPC_TM_SPR): Likewise.
36429 (NT_PPC_TM_CTAR): Likewise.
36430 (NT_PPC_TM_CPPR): Likewise.
36431 (NT_PPC_TM_CDSCR): Likewise.
36432
36433 2017-08-15 Florian Weimer <fweimer@redhat.com>
36434
36435 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36436 regparm (2) instead of internal_function.
36437 (_MCOUNT_DECL): Adjust.
36438
36439 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36440
36441 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36442 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36443
36444 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36445
36446 * conform/data/sys/wait.h-data (si_value): Do not expect for
36447 XPG42.
36448
36449 2017-08-14 Florian Weimer <fweimer@redhat.com>
36450
36451 [BZ #21962]
36452 NSS: Create stubs for accidentally exported lookup functions.
36453 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36454 Remove declaration.
36455 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36456 (ether_hostton): Call __nss_ethers_lookup2 instead.
36457 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36458 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36459 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36460 (setup): Call __nss_netgroup_lookup2 instead.
36461 * nss/Makefile (routines): Add compat-lookup.
36462 * nss/Versions (GLIBC_2.27): Add symbol version.
36463 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36464 (DB_COMPAT_FCT): Remove.
36465 * nss/compat-lookup.c: New file.
36466 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36467 from databases.def.
36468 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36469 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36470 (netname2user): Call __nss_publickey_lookup2 instead.
36471 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36472 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36473 instead.
36474
36475 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36476 Sergei Trofimovich <slyfox@inbox.ru>
36477
36478 [BZ #21908]
36479 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36480 Rename to MMAP2_PAGE_UNIT.
36481 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36482 __OFF_T_MATCHES_OFF64_T is not defined.
36483 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36484 uint64_t.
36485 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36486 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36487
36488 2017-08-14 Florian Weimer <fweimer@redhat.com>
36489
36490 i386: Do not set internal_function.
36491 * config.h.in (USE_REGPARMS, internal_function): Remove.
36492 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36493 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36494
36495 2017-08-14 Florian Weimer <fweimer@redhat.com>
36496
36497 * elf/dl-init.c (_dl_init): Remove internal_function.
36498 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36499 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36500
36501 2017-08-14 Florian Weimer <fweimer@redhat.com>
36502
36503 * elf/rtld.c (_dl_start): Remove internal_function.
36504 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36505 _dl_start.
36506
36507 2017-08-14 Florian Weimer <fweimer@redhat.com>
36508
36509 * elf/dl-fini.c (_dl_fini): Remove internal_function
36510 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36511
36512 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36513
36514 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36515 (bit_cpu_SHSTK): Likewise.
36516 (index_cpu_IBT): Likewise.
36517 (index_cpu_SHSTK): Likewise.
36518 (reg_IBT): Likewise.
36519 (reg_SHSTK): Likewise.
36520 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36521 Handle index_cpu_IBT and index_cpu_SHSTK.
36522
36523 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36524
36525 [BZ #19982]
36526 * po/fr.po: Fix spelling mistake.
36527
36528 2017-08-13 Florian Weimer <fweimer@redhat.com>
36529
36530 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36531 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36532 (_dl_catch_error, _dl_receive_error): Likewise.
36533 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36534 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36535 (_dl_deallocate_tls): Likewise.
36536 * include/dlfcn.h (_dl_addr): Likewise.
36537 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36538 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36539 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36540 Likewise.
36541
36542 2017-08-13 Florian Weimer <fweimer@redhat.com>
36543
36544 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36545 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36546 internal_function.
36547 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36548
36549 2017-08-13 Florian Weimer <fweimer@redhat.com>
36550
36551 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36552 internal_function.
36553 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36554 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36555 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36556 internal_function from _dl_make_stack_executable_hook member.
36557 (_dl_make_stack_executable): Remove internal_function.
36558 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36559 Likewise.
36560 * sysdeps/unix/sysv/linux/dl-execstack.c
36561 (_dl_make_stack_executable): Likewise.
36562
36563 2017-08-13 Florian Weimer <fweimer@redhat.com>
36564
36565 * sysdeps/unix/sysv/linux/netlinkaccess.h
36566 (__netlink_assert_response): Remove internal_function.
36567 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36568 (__netlink_assert_response): Likewise.
36569
36570 2017-08-13 Florian Weimer <fweimer@redhat.com>
36571
36572 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36573 internal_function.
36574 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36575
36576 2017-08-13 Florian Weimer <fweimer@redhat.com>
36577
36578 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36579 internal_function.
36580 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36581 * inet/netgroup.h (__internal_setnetgrent)
36582 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36583 * inet/getnetgrent_r.c (__internal_setnetgrent)
36584 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36585 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36586 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36587 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36588 * nss/nsswitch.h (db_lookup_function): Likewise.
36589
36590 2017-08-13 Florian Weimer <fweimer@redhat.com>
36591
36592 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36593 Remove internal_function.
36594 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36595 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36596 message argument on the stack.
36597 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36598 Likeweise.
36599
36600 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36601
36602 Adapt test case data to the changes in the thousands
36603 separators.
36604
36605 [BZ #20756]
36606 * localedata/tst-langinfo.sh: Adapt test case data.
36607 * stdlib/tst-strfmon_l.c: Likewise.
36608 * stdlib/tst-strtod4.c: Likewise.
36609 * stdlib/tst-strtod5i.c: Likewise.
36610
36611 2017-08-11 Florian Weimer <fweimer@redhat.com>
36612
36613 [BZ #21242]
36614 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36615 Suppress pedantic warning resulting from statement expression.
36616 (__ASSERT_FUNCTION): Add missing __extension__.
36617
36618 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36619
36620 * benchtests/bench-memmove-large.c: Print output in JSON
36621 format.
36622 * benchtests/bench-memmove.c: Likewise.
36623
36624 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36625 * benchtests/bench-memchr.c (do_one_test): Likewise.
36626 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36627 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36628 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36629 * benchtests/bench-memmove.c (do_one_test): Likewise.
36630 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36631 * benchtests/bench-memset.c (do_one_test): Likewise.
36632 * benchtests/bench-string.h (test_init): Remove memsets.
36633
36634 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36635
36636 * manual/lang.texi
36637 (Computing the Width of an Integer Data Type): Rename section to
36638 "Width of an Integer Type". Remove inaccurate statement regarding
36639 lack of C language facilities for determining width of integer
36640 types, and reorder content to improve flow and context of
36641 discussion.
36642
36643 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36644
36645 * lang.texi (va_copy): Change standard from ISO to C99.
36646 (__va_copy): Add standard and header annotation.
36647 Update description for clarity of origins and current use.
36648
36649 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36650
36651 [BZ #21941]
36652 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36653 xssqrtqp requires operands to be in Vector Registers
36654 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36655 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36656 (__ieee754_sqrtf128): Likewise.
36657
36658 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36659
36660 * sysdeps/aarch64/memcmp.S (memcmp):
36661 Rewrite of optimized memcmp.
36662
36663 2017-08-10 Florian Weimer <fweimer@redhat.com>
36664
36665 Introduce ld.so exceptions.
36666 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36667 (_dl_exception_create, _dl_exception_create_format)
36668 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36669 (_dl_catch_exception): Declare.
36670 (_dl_catch_error): Update comment.
36671 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36672 errstring, malloced members with exception member.
36673 (_dl_out_of_memory): Remove.
36674 (fatal_error): New function, extracted from _dl_signal_error.
36675 (_dl_signal_exception, _dl_signal_cexception): New functions.
36676 (_dl_signal_error): Call _dl_exception_create to allocate an
36677 exception object.
36678 (_dl_catch_exception): New function, based on _dl_catch_error.
36679 (_dl_catch_error): Implement using _dl_catch_exception.
36680 * elf/dl-exception.c: New file.
36681 * elf/Makefile (dl-routines): Add dl-exception.
36682 (elide-routines.os): Likewise.
36683 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36684 _dl_exception_create_format, _dl_exception_free.
36685 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36686 _dl_signal_exception.
36687 * elf/dl-lookup.c (make_string): Remove.
36688 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36689 _dl_signal_cexception, _dl_exception_free.
36690 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36691 _dl_signal_exception.
36692 * elf/dl-sym.c (do_sym): Likewise.
36693 * elf/dl-version.c (make_string): Remove.
36694 (match_symbol): Use _dl_exception_create_format,
36695 _dl_signal_cexception, _dl_exception_free.
36696 (_dl_check_map_versions): Likewise.
36697 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36698 _dl_catch_exception.
36699 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36700 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36701 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36702 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36703 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36704 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36705 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36706 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36707 Likewise.
36708 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36710 (ld.so): Likewise.
36711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36712 (ld.so): Likewise.
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36714 Likewise.
36715 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36716 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36717 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36718 Likewise.
36719 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36720 Likewise.
36721 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36722
36723 2017-08-10 Florian Weimer <fweimer@redhat.com>
36724
36725 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36726 attribute_hidden, internal_function.
36727 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36728 internal_function.
36729
36730 2017-08-10 Florian Weimer <fweimer@redhat.com>
36731
36732 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36733 function which calls __builtin_unreachable.
36734
36735 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36736
36737 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36738 Indian monetary formatting
36739 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36740 test cases.
36741
36742 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36743
36744 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36745 Fix typo in comment.
36746
36747 [BZ #21928]
36748 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36749 PTRACE_SEIZE_DEVEL): Remove.
36750 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36751 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36755
36756 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36757
36758 * posix/bits/types.h (__qaddr_t): Remove.
36759
36760 [BZ #21457]
36761 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36762 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36763 __glibc_reserved1.
36764 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36765 (ucontext_t): Use __ctx with uc_flags.
36766 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36767 (__ctxt): Likewise.
36768 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36769 __glibc_reserved1.
36770 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36771 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36772 __glibc_reserved1.
36773 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36774 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36775 __glibc_reserved1.
36776 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36777 macro.
36778 (ucontext_t): Use __ctx with uc_flags.
36779 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36780 (ucontext_t): Use __ctx with uc_flags.
36781 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36782 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36783 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36784 (ucontext_t): Use __ctx with uc_flags.
36785 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36786 undefine further down.
36787 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36788 __glibc_reserved1.
36789 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36790 undefine further down.
36791 (ucontext_t): Use __ctx with uc_flags.
36792 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36793 undefine further down.
36794 (ucontext_t): Use __ctx with uc_flags.
36795 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36796 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36797 Rename uc_pad to __glibc_reserved1.
36798 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36799 undefine further down.
36800 (ucontext_t): Use __ctx with uc_flags.
36801 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36802 further down.
36803 (ucontext_t): Use __ctx with uc_flags.
36804 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36805 __ctx with uc_flags.
36806 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36807 (ucontext_t): Use __ctx with uc_flags.
36808 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36809 __ctx with uc_flags.
36810
36811 2017-08-09 Florian Weimer <fweimer@redhat.com>
36812
36813 [BZ #21932]
36814 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36815 before early return.
36816
36817 2017-08-09 Andreas Schwab <schwab@suse.de>
36818
36819 [BZ #21041]
36820 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36821 renamed alias.
36822
36823 [BZ #21041]
36824 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36825 tst-compat-forwarder.
36826 (modules-names): Add tst-compat-forwarder-mod.
36827 ($(objpfx)tst-compat-forwarder): Depend on
36828 $(objpfx)tst-compat-forwarder-mod.so.
36829 * nptl/tst-compat-forwarder.c: New file.
36830 * nptl/tst-compat-forwarder-mod.c: New file.
36831
36832 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36833
36834 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36835 comments.
36836
36837 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36838 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36839 memcpy_falkor.
36840 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36841 Bump.
36842 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36843 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36844 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36845 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36846 Add falkor.
36847 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36848 New macro.
36849
36850 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36851
36852 [BZ #759]
36853 * manual/setjmp.texi (getcontex): Document uc_stack value
36854 compatibility differences.
36855
36856 2017-08-08 Joseph Myers <joseph@codesourcery.com>
36857
36858 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36859 (old_malloc_hook): Likewise.
36860 (old_memalign_hook): Likewise.
36861 (old_realloc_hook): Likewise.
36862 (struct hdr): Likewise.
36863 (flood): Likewise.
36864 (freehook): Likewise.
36865 (mallochook): Likewise.
36866 (memalignhook): Likewise.
36867 (reallochook): Likewise.
36868 (mprobe): Likewise.
36869 * malloc/mtrace.c (mallwatch): Likewise.
36870 (tr_old_free_hook): Likewise.
36871 (tr_old_malloc_hook): Likewise.
36872 (tr_old_realloc_hook): Likewise.
36873 (tr_old_memalign_hook): Likewise.
36874 (tr_where): Likewise.
36875 (lock_and_info): Likewise.
36876 (tr_freehook): Likewise.
36877 (tr_mallochook): Likewise.
36878 (tr_reallochook): Likewise.
36879 (tr_memalignhook): Likewise.
36880 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36881 * misc/mmap.c (__mmap): Likewise.
36882 * misc/mmap64.c (__mmap64): Likewise.
36883 * misc/mprotect.c (__mprotect): Likewise.
36884 * misc/msync.c (msync): Likewise.
36885 * misc/munmap.c (__munmap): Likewise.
36886 * posix/posix_madvise.c (posix_madvise): Likewise.
36887 * socket/send.c (__send): Likewise.
36888 * socket/sendto.c (__sendto): Likewise.
36889 * socket/setsockopt.c (__setsockopt): Likewise.
36890 * string/memcmp.c (__ptr_t): Remove macro.
36891 (MEMCMP): Use void * instead of ptr_t.
36892 * string/memrchr.c (__ptr_t): Remove macro.
36893 (__memrchr): Use void * instead of ptr_t.
36894 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36895 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36896 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36897 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36898 * sysdeps/mach/msync.c (msync): Likewise.
36899 * sysdeps/mach/munmap.c (__munmap): Likewise.
36900 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36901 Likewise.
36902 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36903 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36904 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36905 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36906 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36907 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36908 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36909 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36910 Likewise.
36911 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36912 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36913 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36914 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36915 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36916 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36917 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36918 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36920 Likewise.
36921 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36922 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36923 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36924 (MEMCMP): Use void * instead of ptr_t.
36925 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36926 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36927
36928 2017-08-08 Florian Weimer <fweimer@redhat.com>
36929
36930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36931 return statement.
36932
36933 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
36934
36935 [BZ #21913]
36936 * csu/libc-tls.c: Include <startup.h> first.
36937 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
36938 * elf/dl-tunables.c: Include <startup.h> first.
36939 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
36940 * sysdeps/generic/startup.h: New file.
36941 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
36942 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
36943 (I386_USE_SYSENTER): New. Defined to 0.
36944
36945 2017-08-08 Andreas Schwab <schwab@suse.de>
36946
36947 [BZ #21041]
36948 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36949 * nptl/pt-system.c (system): Likewise.
36950
36951 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36952
36953 [BZ #21780]
36954 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36955 EOPNOTSUPP.
36956 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36957 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36958 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36959 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36960 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36961 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36962 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36963
36964 2017-08-07 Joseph Myers <joseph@codesourcery.com>
36965
36966 [BZ #21899]
36967 * bits/sigaction.h (struct sigaction): Define sa_handler and
36968 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36969 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36970 [__USE_XOPEN_EXTENDED].
36971 (SA_RESTART): Likewise.
36972 (SA_NODEFER): Likewise.
36973 (SA_RESETHAND): Likewise.
36974 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36975 (struct sigaction): Define sa_handler and sa_sigaction using union
36976 also for [__USE_XOPEN_EXTENDED].
36977 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36978 [__USE_XOPEN_EXTENDED].
36979 (SA_RESTART): Likewise.
36980 (SA_NODEFER): Likewise.
36981 (SA_RESETHAND): Likewise.
36982 * sysdeps/unix/sysv/linux/bits/sigaction.h
36983 (struct sigaction): Define sa_handler and sa_sigaction using union
36984 also for [__USE_XOPEN_EXTENDED].
36985 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36986 [__USE_XOPEN_EXTENDED].
36987 (SA_RESTART): Likewise.
36988 (SA_NODEFER): Likewise.
36989 (SA_RESETHAND): Likewise.
36990 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36991 (struct sigaction): Define sa_handler and sa_sigaction using union
36992 also for [__USE_XOPEN_EXTENDED].
36993 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36994 [__USE_XOPEN_EXTENDED].
36995 (SA_RESTART): Likewise.
36996 (SA_NODEFER): Likewise.
36997 (SA_RESETHAND): Likewise.
36998 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36999 (struct sigaction): Define sa_handler and sa_sigaction using union
37000 also for [__USE_XOPEN_EXTENDED].
37001 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37002 [__USE_XOPEN_EXTENDED].
37003 (SA_RESTART): Likewise.
37004 (SA_NODEFER): Likewise.
37005 (SA_RESETHAND): Likewise.
37006 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37007 (struct sigaction): Define sa_handler and sa_sigaction using union
37008 also for [__USE_XOPEN_EXTENDED].
37009 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37010 [__USE_XOPEN_EXTENDED].
37011 (SA_RESTART): Likewise.
37012 (SA_NODEFER): Likewise.
37013 (SA_RESETHAND): Likewise.
37014 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37015 (struct sigaction): Define sa_handler and sa_sigaction using union
37016 also for [__USE_XOPEN_EXTENDED].
37017 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37018 [__USE_XOPEN_EXTENDED].
37019 (SA_RESTART): Likewise.
37020 (SA_NODEFER): Likewise.
37021 (SA_RESETHAND): Likewise.
37022 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37023 (struct sigaction): Define sa_handler and sa_sigaction using union
37024 also for [__USE_XOPEN_EXTENDED].
37025 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37026 [__USE_XOPEN_EXTENDED].
37027 (SA_RESTART): Likewise.
37028 (SA_NODEFER): Likewise. Define directly rather than as alias.
37029 (SA_RESETHAND): Likewise.
37030 (SA_INTERRUPT): Define only for [__USE_MISC].
37031 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37032 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37033 [__USE_MISC].
37034 (SA_STACK): Define only for [__USE_MISC].
37035 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37036 (struct sigaction): Define sa_handler and sa_sigaction using union
37037 also for [__USE_XOPEN_EXTENDED].
37038 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37039 [__USE_XOPEN_EXTENDED].
37040 (SA_RESTART): Likewise.
37041 (SA_NODEFER): Likewise.
37042 (SA_RESETHAND): Likewise.
37043 (SA_NOPTRACE): Define only for [__USE_MISC].
37044
37045 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37046 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37047 (struct catalog_info): Likewise.
37048 * inet/htontest.c (lo): Likewise.
37049 (foo): Likewise.
37050 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37051 * inet/inet_net.c (inet_network): Likewise.
37052 * inet/inet_netof.c (inet_netof): Likewise.
37053 * inet/rcmd.c (__ivaliduser): Likewise.
37054 (iruserok): Likewise.
37055 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37056 * locale/programs/locale-spec.c (locale_special): Likewise.
37057 * nis/nis_findserv.c (struct findserv_req): Likewise.
37058 (__nis_findfastest_with_timeout): Likewise.
37059 * nss/test-netdb.c (test_network): Likewise.
37060 * resolv/inet_neta.c (inet_neta): Likewise.
37061 * resolv/ns_date.c (ns_datetosecs): Likewise.
37062 (SECS_PER_DAY): Likewise.
37063 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37064 Likewise.
37065 * resolv/res_comp.c (__putlong): Likewise.
37066 (__putshort): Likewise.
37067 (_getlong): Likewise.
37068 (_getshort): Likewise.
37069 * resolv/res_debug.c (p_time): Likewise.
37070 (precsize_ntoa): Likewise.
37071 (precsize_aton): Likewise.
37072 (latlon2ul): Likewise.
37073 (loc_aton): Likewise.
37074 (loc_ntoa): Likewise.
37075 * resolv/res_hconf.c (struct netaddr): Likewise.
37076 (_res_hconf_reorder_addrs): Likewise.
37077 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37078 (clnttcp_control): Likewise.
37079 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37080 (clntudp_control): Likewise.
37081 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37082 (clntunix_control): Likewise.
37083 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37084 * sunrpc/rpc/auth.h (union des_block): Likewise.
37085 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37086 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37087 (xdrrec_create): Likewise.
37088 (xdrrec_endofrecord): Likewise.
37089 (flush_out): Likewise.
37090 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37091 (xdrstdio_putlong): Likewise.
37092 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37093 Likewise.
37094
37095 * misc/sys/cdefs.h (__long_double_t): Remove.
37096 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37097 instead of __long_double_t,
37098 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37099
37100 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37101
37102 * benchtests/scripts/compare_strings.py: Avoid display error when
37103 running on a text terminal.
37104
37105 * benchtests/scripts/compare_strings.py (main): Add an
37106 optional -base option.
37107 (process_results): New argument base_func.
37108
37109 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37110 hardcoding memcpy.
37111 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37112 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37113
37114 2017-08-07 Andreas Schwab <schwab@suse.de>
37115
37116 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37117 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37118 * intl/Makefile ($(objpfx)tst-gettext.out)
37119 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37120 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37121 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37122 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37123 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37124 * posix/Makefile ($(objpfx)globtest.out)
37125 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37126 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37127 ($(objpfx)tst-printf.out): Likewise.
37128 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37129 ($(objpfx)tst-setcontext3.out): Likewise.
37130
37131 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37132
37133 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37134 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37135 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37136 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37137 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37138 and mptan-fma.
37139 (CFLAGS-doasin-fma.c): New.
37140 (CFLAGS-dosincos-fma.c): Likewise.
37141 (CFLAGS-e_asin-fma.c): Likewise.
37142 (CFLAGS-e_atan2-fma.c): Likewise.
37143 (CFLAGS-e_exp-fma.c): Likewise.
37144 (CFLAGS-e_log-fma.c): Likewise.
37145 (CFLAGS-e_pow-fma.c): Likewise.
37146 (CFLAGS-halfulp-fma.c): Likewise.
37147 (CFLAGS-mpa-fma.c): Likewise.
37148 (CFLAGS-mpatan-fma.c): Likewise.
37149 (CFLAGS-mpatan2-fma.c): Likewise.
37150 (CFLAGS-mpexp-fma.c): Likewise.
37151 (CFLAGS-mplog-fma.c): Likewise.
37152 (CFLAGS-mpsqrt-fma.c): Likewise.
37153 (CFLAGS-mptan-fma.c): Likewise.
37154 (CFLAGS-s_atan-fma.c): Likewise.
37155 (CFLAGS-sincos32-fma.c): Likewise.
37156 (CFLAGS-slowexp-fma.c): Likewise.
37157 (CFLAGS-slowpow-fma.c): Likewise.
37158 (CFLAGS-s_sin-fma.c): Likewise.
37159 (CFLAGS-s_tan-fma.c): Likewise.
37160 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37161 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37162 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37163 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37165 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37166 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37167 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37168 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37169 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37170 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37171 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37172 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37174 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37176 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37177 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37179 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37180 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37181 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37182 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37183 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37185 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37186 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37187 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37191
37192 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37193
37194 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37195 (min_of_type_f): New macro.
37196 (min_of_type_): Likewise.
37197 (min_of_type_l): Likewise.
37198 (min_of_type_f128): Likewise.
37199 (min_of_type): Define using __MATH_TG and taking an expression
37200 argument.
37201 (math_check_force_underflow): Pass expression instead of type to
37202 min_of_type.
37203 (math_check_force_underflow_nonneg): Likewise.
37204
37205 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37206
37207 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37208 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37209 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37210
37211 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37212
37213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37214 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37215 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37216 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37217 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37218 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37219 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37220 memmove_chk-nonshared and memset_chk-nonshared
37221 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37222 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37223 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37224 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37225 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37226 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37227 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37228 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37229 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37230 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37231 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37232 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37233 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37234 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37235 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37236 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37237 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37238 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37239 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37240 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37241 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37242 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37243 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37244 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37245 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37246 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37247 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37248 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37249 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37250 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37251 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37252 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37253 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37254 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37255 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37256 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37257 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37258 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37259 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37260 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37261 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37262 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37263 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37264 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37265 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37266 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37267 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37268 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37269 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37270 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37271 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37272 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37273 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37274 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37275 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37276 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37277 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37278 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37279 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37280 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37281 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37282 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37283 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37284 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37285 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37286 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37287 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37288 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37289 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37290 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37291 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37292 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37293 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37294 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37295 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37296 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37297 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37298 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37299 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37300 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37301 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37302 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37303 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37304 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37305 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37306 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37308 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37309 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37310 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37311 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37312 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37313 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37314 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37315 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37316 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37317 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37318 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37319 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37320 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37321 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37322 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37323 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37324 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37325 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37326 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37327 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37328 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37329
37330 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37331
37332 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37333 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37334 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37335 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37336 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37337 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37338 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37339 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37340 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37341 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37342 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37343 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37344 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37345 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37346 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37347 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37348 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37349 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37350 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37351 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37352 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37353 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37354 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37355 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37356 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37357 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37358 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37359 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37360 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37361 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37362 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37363 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37364 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37365 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37366 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37367 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37370 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37372 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37373 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37374 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37375 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37376 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37377 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37378 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37379 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37380 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37381 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37382 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37383 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37386 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37387 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37388 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37389 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37390 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37391 ...
37392 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37393 Don't include <sysdep.h> nor <init-arch.h>.
37394 (_ZGVbN2v_cos): Removed.
37395 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37396 ...
37397 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37398 Don't include <sysdep.h> nor <init-arch.h>.
37399 (_ZGVdN4v_cos): Removed.
37400 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37401 ...
37402 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37403 Don't include <sysdep.h> nor <init-arch.h>.
37404 (_ZGVeN8v_cos): Removed.
37405 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37406 ...
37407 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37408 Don't include <sysdep.h> nor <init-arch.h>.
37409 (_ZGVbN2v_exp): Removed.
37410 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37411 ...
37412 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37413 Don't include <sysdep.h> nor <init-arch.h>.
37414 (_ZGVdN4v_exp): Removed.
37415 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37416 ...
37417 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37418 Don't include <sysdep.h> nor <init-arch.h>.
37419 (_ZGVeN8v_exp): Removed.
37420 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37421 ...
37422 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37423 Don't include <sysdep.h> nor <init-arch.h>.
37424 (_ZGVbN2v_log): Removed.
37425 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37426 ...
37427 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37428 Don't include <sysdep.h> nor <init-arch.h>.
37429 (_ZGVdN4v_log): Removed.
37430 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37431 ...
37432 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37433 Don't include <sysdep.h> nor <init-arch.h>.
37434 (_ZGVeN8v_log): Removed.
37435 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37436 ...
37437 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37438 Don't include <sysdep.h> nor <init-arch.h>.
37439 (_ZGVbN2vv_pow): Removed.
37440 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37441 ...
37442 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37443 Don't include <sysdep.h> nor <init-arch.h>.
37444 (_ZGVdN4vv_pow): Removed.
37445 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37446 ...
37447 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37448 Don't include <sysdep.h> nor <init-arch.h>.
37449 (_ZGVeN8vv_pow): Removed.
37450 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37451 ...
37452 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37453 Don't include <sysdep.h> nor <init-arch.h>.
37454 (_ZGVbN2v_sin): Removed.
37455 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37456 ...
37457 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37458 Don't include <sysdep.h> nor <init-arch.h>.
37459 (_ZGVbN4v_sin): Removed.
37460 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37461 ...
37462 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37463 Don't include <sysdep.h> nor <init-arch.h>.
37464 (_ZGVbN8v_sin): Removed.
37465 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37466 ...
37467 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37468 Don't include <sysdep.h> nor <init-arch.h>.
37469 (_ZGVbN2vvv_sincos): Removed.
37470 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37471 ...
37472 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37473 Don't include <sysdep.h> nor <init-arch.h>.
37474 (_ZGVdN4vvv_sincos): Removed.
37475 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37476 ...
37477 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37478 Don't include <sysdep.h> nor <init-arch.h>.
37479 (_ZGVeN8vvv_sincos): Removed.
37480 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37481 ...
37482 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37483 Don't include <sysdep.h> nor <init-arch.h>.
37484 (_ZGVeN16v_cosf): Removed.
37485 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37486 ...
37487 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37488 Don't include <sysdep.h> nor <init-arch.h>.
37489 (_ZGVbN4v_cosf): Removed.
37490 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37491 ...
37492 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37493 Don't include <sysdep.h> nor <init-arch.h>.
37494 (_ZGVdN8v_cosf): Removed.
37495 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37496 ...
37497 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37498 Don't include <sysdep.h> nor <init-arch.h>.
37499 (_ZGVeN16v_expf): Removed.
37500 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37501 ...
37502 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37503 Don't include <sysdep.h> nor <init-arch.h>.
37504 (_ZGVbN4v_expf): Removed.
37505 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37506 ...
37507 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37508 Don't include <sysdep.h> nor <init-arch.h>.
37509 (_ZGVdN8v_expf): Removed.
37510 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37511 ...
37512 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37513 Don't include <sysdep.h> nor <init-arch.h>.
37514 (_ZGVeN16v_logf): Removed.
37515 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37516 ...
37517 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37518 Don't include <sysdep.h> nor <init-arch.h>.
37519 (_ZGVbN4v_logf): Removed.
37520 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37521 ...
37522 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37523 Don't include <sysdep.h> nor <init-arch.h>.
37524 (_ZGVdN8v_logf): Removed.
37525 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37526 ...
37527 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37528 Don't include <sysdep.h> nor <init-arch.h>.
37529 (_ZGVeN16vv_powf): Removed.
37530 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37531 ...
37532 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37533 Don't include <sysdep.h> nor <init-arch.h>.
37534 (_ZGVbN4vv_powf): Removed.
37535 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37536 ...
37537 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37538 Don't include <sysdep.h> nor <init-arch.h>.
37539 (_ZGVdN8vv_powf): Removed.
37540 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37541 ...
37542 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37543 Don't include <sysdep.h> nor <init-arch.h>.
37544 (_ZGVeN16vvv_sincosf): Removed.
37545 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37546 ...
37547 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37548 Don't include <sysdep.h> nor <init-arch.h>.
37549 (_ZGVbN4vvv_sincosf): Removed.
37550 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37551 ...
37552 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37553 Don't include <sysdep.h> nor <init-arch.h>.
37554 (_ZGVdN8vvv_sincosf): Removed.
37555 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37556 ...
37557 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37558 Don't include <sysdep.h> nor <init-arch.h>.
37559 (_ZGVeN16v_sinf): Removed.
37560 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37561 ...
37562 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37563 Don't include <sysdep.h> nor <init-arch.h>.
37564 (_ZGVbN4v_sinf): Removed.
37565 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37566 ...
37567 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37568 Don't include <sysdep.h> nor <init-arch.h>.
37569 (_ZGVdN8v_sinf): Removed.
37570
37571 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37572
37573 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37574 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37575 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37576 s_rint-sse4_1 and s_rintf-sse4_1.
37577 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37578 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37579 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37580 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37581 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37582 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37583 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37584 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37585 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37586 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37587 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37588 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37589 (__ceil): Removed.
37590 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37591 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37592 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37593 (__ceilf): Removed.
37594 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37595 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37596 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37597 (__floor): Removed.
37598 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37599 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37600 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37601 (__floorf): Removed.
37602 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37603 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37604 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37605 (__nearbyint): Removed.
37606 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37607 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37608 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37609 (__nearbyintf): Removed.
37610 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37611 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37612 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37613 (__rint): Removed.
37614 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37615 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37616 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37617 (__rintf): Removed.
37618
37619 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37620
37621 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37622 SHARED. Avoid dynamic relocation against main in static PIE.
37623
37624 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37625
37626 [BZ #21815]
37627 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37628 (LDFLAGS-tst-prelink): Likewise.
37629
37630 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37631
37632 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37633 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37634 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37635 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37636 (INTERNAL_SYSCALL_NCS): Likewise.
37637 (LOADARGS_1): Likewise.
37638 (LOADARGS_5): Likewise.
37639 (RESTOREARGS_1): Likewise.
37640 (RESTOREARGS_5): Likewise.
37641
37642 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37643
37644 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37645 (MEMPCPY_SYMBOL): Likewise.
37646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37647 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37649 in libc.a.
37650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37651 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37652 Likewise.
37653 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37654 (__hidden_ver1): Don't use in libc.a.
37655 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37656 (__mempcpy): Don't create a weak alias in libc.a.
37657 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37658 libc.a.
37659 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37660 (__hidden_ver1): Don't use in libc.a.
37661
37662 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37663
37664 * config.make.in (have-insert): New.
37665 * configure.ac (libc_cv_insert): New. Set to yes if linker
37666 supports INSERT in linker script.
37667 (AC_SUBST(libc_cv_insert): New.
37668 * configure: Regenerated.
37669 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37670 if $(have-insert) == yes.
37671
37672 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37673
37674 * elf/Makefile (tests): Add vismain only if
37675 $(have-protected-data) == yes.
37676 (tests-pie): Likewise.
37677
37678 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37679
37680 [BZ #21871]
37681 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37682 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37683
37684 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37685
37686 [BZ #21790]
37687 * sysdeps/i386/i586/memset.S
37688 (__memset_zero_constant_len_parameter): Removed.
37689 * sysdeps/i386/i686/memset.S
37690 (__memset_zero_constant_len_parameter): Likewise.
37691 * sysdeps/i386/i686/multiarch/memset_chk.S
37692 (__memset_zero_constant_len_parameter): Likewise.
37693 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37694 Likewise.
37695
37696 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37697
37698 * stdlib/getentropy.c (getentropy): Change return type to int.
37699
37700 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37701
37702 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37703
37704 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37705
37706 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37707 u_intN_t.
37708 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37709 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37710 Likewise.
37711 (ieee_float_shape_type): Likewise.
37712 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37713 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37714 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37715 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37716 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37717 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37718 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37719 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37720 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37721 Likewise.
37722 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37723 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37724 (__ieee754_yn): Likewise.
37725 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37726 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37728 Likewise.
37729 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37730 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37731 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37732 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37733 (__erfc): Likewise.
37734 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37735 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37736 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37737 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37738 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37739 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37740 Likewise.
37741 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37742 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37743 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37744 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37745 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37746 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37747 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37748 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37749 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37750 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37751 (__issignaling): Likewise.
37752 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37753 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37754 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37755 Likewise.
37756 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37757 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37758 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37759 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37760 Likewise.
37761 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37762 Likewise.
37763 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37764 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37765 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37766 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37767 (__erfcf): Likewise.
37768 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37769 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37770 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37771 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37772 Likewise.
37773 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37774 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37775 Likewise.
37776 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37777 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37778 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37779 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37780 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37781 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37782 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37783 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37784 Likewise.
37785 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37786 Likewise.
37787 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37788 Likewise.
37789 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37790 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37791 Likewise.
37792 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37793 Likewise.
37794 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37795 (__ieee754_ynl): Likewise.
37796 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37797 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37798 Likewise.
37799 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37800 Likewise.
37801 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37802 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37803 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37804 Likewise.
37805 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37806 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37807 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37808 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37809 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37810 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37811 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37812 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37813 Likewise.
37814 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37815 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37816 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37817 Likewise.
37818 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37819 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37820 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37821 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37822 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37823 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37824 Likewise.
37825 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37826 Likewise.
37827 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37828 Likewise.
37829 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37830 Likewise.
37831 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37832 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37833 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37834 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37835 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37836 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37837 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37838 Likewise.
37839 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37840 Likewise.
37841 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37842 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37843 Likewise.
37844 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37845 (__ieee754_remainderl): Likewise.
37846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37847 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37848 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37849 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37850 Likewise.
37851 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37853 Likewise.
37854 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37855 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37856 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37857 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37858 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37859 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37860 Likewise.
37861 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37862 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37863 (__ieee754_y0l): Likewise.
37864 (pzero): Likewise.
37865 (qzero): Likewise.
37866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37867 (__ieee754_y1l): Likewise.
37868 (pone): Likewise.
37869 (qone): Likewise.
37870 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37871 (__ieee754_ynl): Likewise.
37872 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37873 (__ieee754_lgammal_r): Likewise.
37874 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37875 Likewise.
37876 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37877 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37878 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37879 (__erfcl): Likewise.
37880 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37881 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37882 Likewise.
37883 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37884 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37885 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37886 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37887 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37890 Likewise.
37891 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37892 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37893 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37894 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37895 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37896 Likewise.
37897 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37898 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37899 Likewise.
37900 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37901 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37902 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37903 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37904 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37905
37906 2017-08-03 Florian Weimer <fweimer@redhat.com>
37907
37908 [BZ #21885]
37909 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37910 on memory allocation failure.
37911
37912 2017-08-03 Alan Modra <amodra@gmail.com>
37913
37914 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37915 tst-tlsopt-powerpc.c with function name change and no test harness.
37916 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37917 Call tls_get_addr_opt_test.
37918 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37919 (modules-names): Add mod-tlsopt-powerpc.
37920 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37921 (tst-tlsopt-powerpc): Depend on .so.
37922 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37923 define. Expand use in TLS_GD and TLS_LD.
37924
37925 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37926
37927 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37928 function.
37929 * sysdeps/posix/shm_open.c: Include <pthread.h>.
37930
37931 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37932
37933 [BZ #21686]
37934 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37935 comparing size with that of double.
37936 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37937 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37938 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37939 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37940 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37941 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
37942 unsigned __int128 types.
37943
37944 2017-08-02 Steve Ellcey <sellcey@cavium.com>
37945
37946 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37947 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37948 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37949 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37950 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37951
37952 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37953
37954 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37955
37956 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37957
37958 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37959 of SHARED.
37960 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37961 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37962 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37964 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37967
37968 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37969
37970 [BZ #21685]
37971 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37972 bit-field expressions passed to sizeof or typeof.
37973 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37974 (__TGMATH_F128): Likewise.
37975 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37976 (__TGMATH_CF128): Likewise.
37977 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37978 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37979 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37980 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37981 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37982 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37983 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37984 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37985 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37986 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37987 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37988 (__TGMATH_UNARY_IMAG): Likewise.
37989 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37990 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37991 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37992 type.
37993 (define_vars_for_type): Handle bit_field type specially.
37994 (Tests.__init__): Declare structure with bit-field element.
37995
37996 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37997
37998 [BZ #21791]
37999 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38000 (MEMCPY_CHK): Define only if SHARED is defined.
38001 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38002 Likewise.
38003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38004 Likewise.
38005
38006 See ChangeLog.18 for earlier changes.