1 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/netpacket/packet.h
4 (PACKET_IGNORE_OUTGOING): New macro.
6 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
9 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11 (riscv_flush_icache): New syscall.
13 * manual/texinfo.tex: Update to version 2018-12-28.17 with
14 trailing whitespace removed.
15 * scripts/config.guess: Update to version 2019-01-01.
16 * scripts/config.sub: Update to version 2019-01-01.
17 * scripts/move-if-change: Update from gnulib.
19 * NEWS: Update copyright dates.
20 * catgets/gencat.c (print_version): Likewise.
21 * csu/version.c (banner): Likewise.
22 * debug/catchsegv.sh: Likewise.
23 * debug/pcprofiledump.c (print_version): Likewise.
24 * debug/xtrace.sh (do_version): Likewise.
25 * elf/ldconfig.c (print_version): Likewise.
26 * elf/ldd.bash.in: Likewise.
27 * elf/pldd.c (print_version): Likewise.
28 * elf/sotruss.sh: Likewise.
29 * elf/sprof.c (print_version): Likewise.
30 * iconv/iconv_prog.c (print_version): Likewise.
31 * iconv/iconvconfig.c (print_version): Likewise.
32 * locale/programs/locale.c (print_version): Likewise.
33 * locale/programs/localedef.c (print_version): Likewise.
34 * login/programs/pt_chown.c (print_version): Likewise.
35 * malloc/memusage.sh (do_version): Likewise.
36 * malloc/memusagestat.c (print_version): Likewise.
37 * malloc/mtrace.pl: Likewise.
38 * manual/libc.texinfo: Likewise.
39 * nptl/version.c (banner): Likewise.
40 * nscd/nscd.c (print_version): Likewise.
41 * nss/getent.c (print_version): Likewise.
42 * nss/makedb.c (print_version): Likewise.
43 * posix/getconf.c (main): Likewise.
44 * scripts/test-installation.pl: Likewise.
45 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
47 * All files with FSF copyright notices: Update copyright dates
48 using scripts/update-copyrights.
49 * locale/programs/charmap-kw.h: Regenerated.
50 * locale/programs/locfile-kw.h: Likewise.
52 2018-12-31 Joseph Myers <joseph@codesourcery.com>
54 * timezone/zdump.c: Update from tzcode 2018i.
55 * timezone/zic.c: Likewise.
57 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
59 regex: improve Gnulib port to AIX
60 From the glibc point of view, this removes duplicate macro
61 definitions and is obviously safe.
62 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
63 * posix/regex_internal.h:
64 (__attribute__, __attribute_warn_unused_result__):
65 Remove; already defined elsewhere.
67 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
70 * malloc/malloc.c (_int_realloc): Always call memcpy for the
71 copying operation. (ncopies had the wrong type, resulting in an
72 integer wraparound and too few elements being copied.)
74 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
77 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
78 <asm/syscalls.h> exists with __has_include__ before including it.
80 2018-12-31 Joseph Myers <joseph@codesourcery.com>
82 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
85 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
87 * hurd/lookup-retry: Include <unistd.h>.
88 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
89 Release it on return. Handle "pid" magical lookup retry.
91 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
94 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
95 (t_fmt_ampm): Likewise.
96 * localedata/locales/aa_ER (t_fmt): Likewise.
97 (t_fmt_ampm): Likewise.
98 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
99 (t_fmt_ampm): Likewise.
100 * localedata/locales/aa_ET (t_fmt): Likewise.
101 (t_fmt_ampm): Likewise.
102 * localedata/locales/am_ET (t_fmt): Likewise.
103 (t_fmt_ampm): Likewise.
104 * localedata/locales/byn_ER (t_fmt): Likewise.
105 (t_fmt_ampm): Likewise.
106 * localedata/locales/om_ET (t_fmt): Likewise.
107 (t_fmt_ampm): Likewise.
108 * localedata/locales/sid_ET (t_fmt): Likewise.
109 (t_fmt_ampm): Likewise.
110 * localedata/locales/so_DJ (t_fmt): Likewise.
111 (t_fmt_ampm): Likewise.
112 * localedata/locales/so_ET (t_fmt): Likewise.
113 (t_fmt_ampm): Likewise.
114 * localedata/locales/so_SO (t_fmt): Likewise.
115 (t_fmt_ampm): Likewise.
116 * localedata/locales/ti_ER (t_fmt): Likewise.
117 (t_fmt_ampm): Likewise.
118 * localedata/locales/ti_ET (t_fmt): Likewise.
119 (t_fmt_ampm): Likewise.
120 * localedata/locales/tig_ER (t_fmt): Likewise.
121 (t_fmt_ampm): Likewise.
122 * localedata/locales/wal_ET (t_fmt): Likewise.
123 (t_fmt_ampm): Likewise.
125 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
126 * localedata/locales/ar_IN (t_fmt): Likewise.
127 * localedata/locales/bhb_IN (t_fmt): Likewise.
128 * localedata/locales/bho_IN (t_fmt): Likewise.
129 * localedata/locales/bi_VU (t_fmt): Likewise.
130 * localedata/locales/bn_BD (t_fmt): Likewise.
131 * localedata/locales/bn_IN (t_fmt): Likewise.
132 * localedata/locales/brx_IN (t_fmt): Likewise.
133 * localedata/locales/doi_IN (t_fmt): Likewise.
134 * localedata/locales/en_HK (t_fmt): Likewise.
135 (t_fmt_ampm): Likewise.
136 * localedata/locales/en_IN (t_fmt): Likewise.
137 * localedata/locales/en_PH (t_fmt): Likewise.
138 * localedata/locales/gu_IN (t_fmt): Likewise.
139 * localedata/locales/hi_IN (t_fmt): Likewise.
140 * localedata/locales/hif_FJ (t_fmt): Likewise.
141 * localedata/locales/hne_IN (t_fmt): Likewise.
142 * localedata/locales/kn_IN (t_fmt): Likewise.
143 * localedata/locales/kok_IN (t_fmt): Likewise.
144 * localedata/locales/ks_IN (t_fmt): Likewise.
145 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
146 * localedata/locales/mag_IN (t_fmt): Likewise.
147 * localedata/locales/mai_IN (t_fmt): Likewise.
148 * localedata/locales/mjw_IN (t_fmt): Likewise.
149 * localedata/locales/ml_IN (t_fmt): Likewise.
150 * localedata/locales/mni_IN (t_fmt): Likewise.
151 * localedata/locales/mr_IN (t_fmt): Likewise.
152 * localedata/locales/ms_MY (t_fmt): Likewise.
153 * localedata/locales/pa_IN (t_fmt): Likewise.
154 * localedata/locales/raj_IN (t_fmt): Likewise.
155 * localedata/locales/sa_IN (t_fmt): Likewise.
156 * localedata/locales/sat_IN (t_fmt): Likewise.
157 * localedata/locales/sd_IN (t_fmt): Likewise.
158 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
159 * localedata/locales/tcy_IN (t_fmt): Likewise.
160 * localedata/locales/the_NP (t_fmt): Likewise.
161 * localedata/locales/to_TO (t_fmt): Likewise.
162 * localedata/locales/ur_IN (t_fmt): Likewise.
164 * localedata/locales/hif_FJ (d_t_fmt): Set to
165 "%A %d %b %Y %I:%M:%S %p".
166 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
168 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
169 * localedata/locales/ar_BH (t_fmt): Likewise.
170 * localedata/locales/ar_DZ (t_fmt): Likewise.
171 * localedata/locales/ar_EG (t_fmt): Likewise.
172 * localedata/locales/ar_IQ (t_fmt): Likewise.
173 * localedata/locales/ar_JO (t_fmt): Likewise.
174 * localedata/locales/ar_KW (t_fmt): Likewise.
175 * localedata/locales/ar_LB (t_fmt): Likewise.
176 * localedata/locales/ar_LY (t_fmt): Likewise.
177 * localedata/locales/ar_OM (t_fmt): Likewise.
178 * localedata/locales/ar_QA (t_fmt): Likewise.
179 * localedata/locales/ar_SD (t_fmt): Likewise.
180 * localedata/locales/ar_SS (t_fmt): Likewise.
181 * localedata/locales/ar_SY (t_fmt): Likewise.
182 * localedata/locales/ar_TN (t_fmt): Likewise.
183 * localedata/locales/ar_YE (t_fmt): Likewise.
185 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
186 (t_fmt_ampm): Likewise.
187 * localedata/locales/gez_ET (t_fmt): Likewise.
188 (t_fmt_ampm): Likewise.
190 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
191 (t_fmt_ampm): Likewise.
192 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
194 * localedata/locales/zh_HK (t_fmt):
195 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
197 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
198 because this locale does not use the 12-hour clock.
199 (t_fmt): Set to "%Z %H:%M:%S".
200 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
202 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
203 because this locale does not use the 12-hour clock.
204 (t_fmt): Set to "%H:%M:%S %Z".
205 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
207 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
208 because this locale does not use the 12-hour clock.
209 (t_fmt): Set to "%T".
210 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
211 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
213 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
214 because this locale does not use the 12-hour clock.
215 (t_fmt): Set to "%H:%M:%S %Z".
216 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
218 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
219 because this locale does not use the 12-hour clock.
220 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
221 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
223 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
227 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
228 (t_fmt_ampm): Likewise.
229 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
230 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
231 (d_fmt): Set to "%-d.%-m.%y".
233 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
235 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
236 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
237 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
239 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
240 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
241 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
243 * support/blob_repeat.c (check_mul_overflow_size_t,
244 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
246 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
248 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
250 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
252 regex: simplify Gnulib port
253 This simplifies the code, by removing stuff intended for porting
254 to Gnulib but no longer needed there.
255 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
256 uses of libc_hidden_def, weak_alias.
257 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
258 _Restrict_ except for public-facing headers.
259 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
260 Remove; already defined elsewhere.
261 * posix/regex.c, posix/regex_internal.h:
262 Use __GNUC_PREREQ instead of rolling our own.
263 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
265 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
267 * benchtests/bench-strlen.c (generic_strlen): New function.
268 (memchr_strlen): New function.
270 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
272 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
273 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
274 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
276 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
278 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
280 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
282 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
283 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
284 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
285 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
286 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
287 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
288 <sysdeps/ieee754/flt-32/s_sincosf.c>.
290 2018-12-21 Joseph Myers <joseph@codesourcery.com>
293 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
294 PLT reference in libc.so.
295 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
296 _Q_lltoq and _Q_qtod PLT references in libc.so.
298 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
300 * benchtests/bench-memchr.c: Cleanup defines.
301 * benchtests/bench-memcmp.c: Likewise.
302 * benchtests/bench-memset.c: Likewise.
303 * benchtests/bench-memset-large.c: Likewise.
304 * benchtests/bench-memset-walk.c: Likewise.
305 * benchtests/bench-stpcpy.c: Likewise.
306 * benchtests/bench-stpncpy.c: Likewise.
307 * benchtests/bench-strcat.c: Likewise.
308 * benchtests/bench-strchr.c: Likewise.
309 * benchtests/bench-strcmp.c: Likewise.
310 * benchtests/bench-strcpy.c: Likewise.
311 * benchtests/bench-strcspn.c: Likewise.
312 * benchtests/bench-string.h: Likewise.
313 * benchtests/bench-strlen.c: Likewise.
314 * benchtests/bench-strncat.c: Likewise.
315 * benchtests/bench-strncmp.c: Likewise.
316 * benchtests/bench-strncpy.c: Likewise.
317 * benchtests/bench-strnlen.c: Likewise.
318 * benchtests/bench-strpbrk.c: Likewise.
319 * benchtests/bench-strrchr.c: Likewise.
320 * benchtests/bench-strspn.c: Likewise.
322 2018-12-21 Joseph Myers <joseph@codesourcery.com>
324 * stdlib/longlong.h: Update from GCC.
327 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
328 * configure: Regenerated.
329 * manual/install.texi (Tools for Compilation): Update minimum GCC
331 * INSTALL: Regenerated.
333 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
335 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
337 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
339 * malloc/malloc.c (mremap_chunk): Additional checks.
341 2018-12-21 Mao Han <han_mao@c-sky.com>
343 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
344 * scripts/build-many-glibcs.py: Add C-SKY targets.
345 * sysdeps/csky/Implies: New file.
346 * sysdeps/csky/Makefile: Likewise.
347 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
348 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
349 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
350 * sysdeps/csky/abiv2/memcmp.S: Likewise.
351 * sysdeps/csky/abiv2/memcpy.S: Likewise.
352 * sysdeps/csky/abiv2/memmove.S: Likewise.
353 * sysdeps/csky/abiv2/memset.S: Likewise.
354 * sysdeps/csky/abiv2/setjmp.S: Likewise.
355 * sysdeps/csky/abiv2/start.S: Likewise.
356 * sysdeps/csky/abiv2/strcmp.S: Likewise.
357 * sysdeps/csky/abiv2/strcpy.S: Likewise.
358 * sysdeps/csky/abiv2/strlen.S: Likewise.
359 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
360 * sysdeps/csky/abort-instr.h: Likewise.
361 * sysdeps/csky/atomic-machine.h: Likewise.
362 * sysdeps/csky/bits/endian.h: Likewise.
363 * sysdeps/csky/bits/fenv.h: Likewise.
364 * sysdeps/csky/bits/link.h: Likewise.
365 * sysdeps/csky/bits/setjmp.h: Likewise.
366 * sysdeps/csky/bsd-_setjmp.S: Likewise.
367 * sysdeps/csky/bsd-setjmp.S: Likewise.
368 * sysdeps/csky/configure: Likewise.
369 * sysdeps/csky/configure.ac: Likewise.
370 * sysdeps/csky/dl-machine.h: Likewise.
371 * sysdeps/csky/dl-procinfo.c: Likewise.
372 * sysdeps/csky/dl-procinfo.h: Likewise.
373 * sysdeps/csky/dl-sysdep.h: Likewise.
374 * sysdeps/csky/dl-tls.h: Likewise.
375 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
376 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
377 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
378 * sysdeps/csky/fpu/fegetenv.c: Likewise.
379 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
380 * sysdeps/csky/fpu/fegetmode.c: Likewise.
381 * sysdeps/csky/fpu/fegetround.c: Likewise.
382 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
383 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
384 * sysdeps/csky/fpu/fenv_private.h: Likewise.
385 * sysdeps/csky/fpu/fesetenv.c: Likewise.
386 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
387 * sysdeps/csky/fpu/fesetmode.c: Likewise.
388 * sysdeps/csky/fpu/fesetround.c: Likewise.
389 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
390 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
391 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
392 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
393 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
394 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
395 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
396 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
397 * sysdeps/csky/fpu_control.h: Likewise.
398 * sysdeps/csky/gccframe.h: Likewise.
399 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
400 * sysdeps/csky/ldsodefs.h: Likewise.
401 * sysdeps/csky/libc-tls.c: Likewise.
402 * sysdeps/csky/linkmap.h: Likewise.
403 * sysdeps/csky/machine-gmon.h: Likewise.
404 * sysdeps/csky/memusage.h: Likewise.
405 * sysdeps/csky/nofpu/Implies: Likewise.
406 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
407 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
408 * sysdeps/csky/nptl/Makefile: Likewise.
409 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
410 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
411 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
412 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
413 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
414 * sysdeps/csky/nptl/tls.h: Likewise.
415 * sysdeps/csky/preconfigure: Likewise.
416 * sysdeps/csky/sfp-machine.h: Likewise.
417 * sysdeps/csky/sotruss-lib.c: Likewise.
418 * sysdeps/csky/stackinfo.h: Likewise.
419 * sysdeps/csky/sysdep.h: Likewise.
420 * sysdeps/csky/tininess.h: Likewise.
421 * sysdeps/csky/tst-audit.h: Likewise.
422 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
423 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
424 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
425 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
426 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
427 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
428 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
429 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
430 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
431 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
432 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
433 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
434 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
435 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
436 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
437 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
438 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
439 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
440 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
441 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
442 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
443 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
444 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
445 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
446 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
447 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
448 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
449 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
450 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
451 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
452 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
453 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
454 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
455 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
456 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
457 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
458 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
459 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
460 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
461 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
462 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
463 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
464 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
465 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
467 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
469 * include/time.h (__difftime64): Add.
470 * time/difftime.c (subtract): convert to 64-bit time.
471 * time/difftime.c (__difftime64): Add.
472 * time/difftime.c (__difftime): Wrap around __difftime64.
474 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
476 * manual/examples/add.c: Remove redundant "if not".
477 * manual/examples/argp-ex1.c: Likewise.
478 * manual/examples/argp-ex2.c: Likewise.
479 * manual/examples/argp-ex3.c: Likewise.
480 * manual/examples/argp-ex4.c: Likewise.
481 * manual/examples/atexit.c: Likewise.
482 * manual/examples/db.c: Likewise.
483 * manual/examples/dir.c: Likewise.
484 * manual/examples/dir2.c: Likewise.
485 * manual/examples/execinfo.c: Likewise.
486 * manual/examples/filecli.c: Likewise.
487 * manual/examples/filesrv.c: Likewise.
488 * manual/examples/fmtmsgexpl.c: Likewise.
489 * manual/examples/genpass.c: Likewise.
490 * manual/examples/inetcli.c: Likewise.
491 * manual/examples/inetsrv.c: Likewise.
492 * manual/examples/isockad.c: Likewise.
493 * manual/examples/longopt.c: Likewise.
494 * manual/examples/memopen.c: Likewise.
495 * manual/examples/memstrm.c: Likewise.
496 * manual/examples/mkdirent.c: Likewise.
497 * manual/examples/mkfsock.c: Likewise.
498 * manual/examples/mkisock.c: Likewise.
499 * manual/examples/mygetpass.c: Likewise.
500 * manual/examples/pipe.c: Likewise.
501 * manual/examples/popen.c: Likewise.
502 * manual/examples/rprintf.c: Likewise.
503 * manual/examples/search.c: Likewise.
504 * manual/examples/select.c: Likewise.
505 * manual/examples/setjmp.c: Likewise.
506 * manual/examples/sigh1.c: Likewise.
507 * manual/examples/sigusr.c: Likewise.
508 * manual/examples/stpcpy.c: Likewise.
509 * manual/examples/strdupa.c: Likewise.
510 * manual/examples/strftim.c: Likewise.
511 * manual/examples/subopt.c: Likewise.
512 * manual/examples/swapcontext.c: Likewise.
513 * manual/examples/termios.c: Likewise.
514 * manual/examples/testopt.c: Likewise.
515 * manual/examples/testpass.c: Likewise.
516 * manual/examples/timeval_subtract.c: Likewise.
518 2018-12-19 Joseph Myers <joseph@codesourcery.com>
520 * sysdeps/x86/fpu/math_private.h: New file.
521 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
523 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
528 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
530 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
531 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
532 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
533 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
535 (_dl_show_auxv): Give a special treatment to
536 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
537 and AT_L3_CACHEGEOMETRY.
538 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
539 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
540 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
541 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
543 2018-12-19 Andreas Schwab <schwab@suse.de>
545 * nscd/connections.c (check_use): Don't abort on invalid len.
547 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
549 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
550 values in the 64bit value cases.
552 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
558 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
564 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
570 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
576 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
579 (__localtime64_r): Add.
581 (__localtime64_r): Add.
582 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
584 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
586 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
587 kernel_sigction definition.
589 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
591 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
593 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
594 __syscall_rt_sigaction.
595 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
596 (kernel_sigaction): Use Linux generic defintion.
598 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
599 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
600 (__syscall_rt_sigaction): Remove implementation.
601 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
603 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
604 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
605 INTERNAL_SYSCALL): Remove definitions.
606 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
607 action and signal set size.
608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
611 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
612 James Clarke <jrtc27@jrtc27.com>
615 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
616 Define if SA_RESTORER is defined.
617 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
618 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
620 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
621 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
623 (HAS_SA_RESTORER): Define.
624 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
625 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
626 (HAS_SA_RESTORER): Define.
627 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
628 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
629 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
630 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
631 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
633 2018-12-18 Joseph Myers <joseph@codesourcery.com>
635 * sysdeps/unix/sysv/linux/kernel-features.h
636 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
637 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
638 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
639 * sysdeps/unix/sysv/linux/sh/kernel-features.h
640 (__ASSUME_ST_INO_64_BIT): Likewise.
641 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
643 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
644 Remove conditional code.
645 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
647 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
648 Remove conditional code.
649 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
651 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
652 Remove conditional code.
653 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
655 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
656 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
658 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
660 * sysdeps/s390/multiarch/ifunc-resolve.h
661 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
662 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
663 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
664 Delete macro definition.
665 (s390_libc_ifunc_init): Rename to
666 s390_libc_ifunc_expr_stfle_init.
667 * sysdeps/s390/bzero: Use
668 s390_libc_ifunc_expr_stfle_init instead of
669 s390_libc_ifunc_init.
670 * sysdeps/s390/memcmp.c: Likewise.
671 * sysdeps/s390/memcpy.c: Likewise.
672 * sysdeps/s390/mempcpy.c: Likewise.
673 * sysdeps/s390/memset.c: Likewise.
675 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
677 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
678 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
680 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
682 * sysdeps/s390/multiarch/Makefile
683 (sysdep_routines): Remove wmemcmp variants.
684 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
685 * sysdeps/s390/multiarch/ifunc-impl-list.c
686 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
687 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
688 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
689 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
690 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
691 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
692 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
693 * sysdeps/s390/ifunc-wmemcmp.h: New file.
695 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
697 * sysdeps/s390/multiarch/Makefile
698 (sysdep_routines): Remove wmemset variants.
699 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
700 * sysdeps/s390/multiarch/ifunc-impl-list.c
701 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
702 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
703 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
704 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
705 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
706 * sysdeps/s390/multiarch/wmemset.c: Move to ...
707 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
708 * sysdeps/s390/ifunc-wmemset.h: New file.
710 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
712 * sysdeps/s390/multiarch/Makefile
713 (sysdep_routines): Remove wmemchr variants.
714 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
715 * sysdeps/s390/multiarch/ifunc-impl-list.c
716 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
717 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
718 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
719 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
720 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
721 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
722 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
723 * sysdeps/s390/ifunc-wmemchr.h: New file.
725 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
727 * sysdeps/s390/multiarch/Makefile
728 (sysdep_routines): Remove wcscspn variants.
729 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
730 * sysdeps/s390/multiarch/ifunc-impl-list.c
731 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
732 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
733 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
734 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
735 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
736 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
737 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
738 * sysdeps/s390/ifunc-wcscspn.h: New file.
740 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
742 * sysdeps/s390/multiarch/Makefile
743 (sysdep_routines): Remove wcspbrk variants.
744 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
745 * sysdeps/s390/multiarch/ifunc-impl-list.c
746 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
747 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
748 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
749 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
750 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
751 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
752 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
753 * sysdeps/s390/ifunc-wcspbrk.h: New file.
755 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
757 * sysdeps/s390/multiarch/Makefile
758 (sysdep_routines): Remove wcsspn variants.
759 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
760 * sysdeps/s390/multiarch/ifunc-impl-list.c
761 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
762 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
763 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
764 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
765 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
766 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
767 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
768 * sysdeps/s390/ifunc-wcsspn.h: New file.
770 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
772 * sysdeps/s390/multiarch/Makefile
773 (sysdep_routines): Remove wcsrchr variants.
774 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
775 * sysdeps/s390/multiarch/ifunc-impl-list.c
776 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
777 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
778 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
779 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
780 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
781 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
782 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
783 * sysdeps/s390/ifunc-wcsrchr.h: New file.
785 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
787 * sysdeps/s390/multiarch/Makefile
788 (sysdep_routines): Remove wcschrnul variants.
789 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
790 * sysdeps/s390/multiarch/ifunc-impl-list.c
791 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
792 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
793 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
794 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
795 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
796 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
797 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
798 * sysdeps/s390/ifunc-wcschrnul.h: New file.
800 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
802 * sysdeps/s390/multiarch/Makefile
803 (sysdep_routines): Remove wcschr variants.
804 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
805 * sysdeps/s390/multiarch/ifunc-impl-list.c
806 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
807 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
808 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
809 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
810 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
811 * sysdeps/s390/multiarch/wcschr.c: Move to ...
812 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
813 * sysdeps/s390/ifunc-wcschr.h: New file.
815 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
817 * sysdeps/s390/multiarch/Makefile
818 (sysdep_routines): Remove wcsncmp variants.
819 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
820 * sysdeps/s390/multiarch/ifunc-impl-list.c
821 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
822 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
823 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
824 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
825 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
826 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
827 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
828 * sysdeps/s390/ifunc-wcsncmp.h: New file.
830 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
832 * sysdeps/s390/multiarch/Makefile
833 (sysdep_routines): Remove wcscmp variants.
834 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
835 * sysdeps/s390/multiarch/ifunc-impl-list.c
836 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
837 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
838 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
839 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
840 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
841 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
842 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
843 * sysdeps/s390/ifunc-wcscmp.h: New file.
845 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
847 * sysdeps/s390/multiarch/Makefile
848 (sysdep_routines): Remove wcsncat variants.
849 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
850 * sysdeps/s390/multiarch/ifunc-impl-list.c
851 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
852 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
853 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
854 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
855 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
856 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
857 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
858 * sysdeps/s390/ifunc-wcsncat.h: New file.
860 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
862 * sysdeps/s390/multiarch/Makefile
863 (sysdep_routines): Remove wcscat variants.
864 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
865 * sysdeps/s390/multiarch/ifunc-impl-list.c
866 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
867 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
868 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
869 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
870 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
871 * sysdeps/s390/multiarch/wcscat.c: Move to ...
872 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
873 * sysdeps/s390/ifunc-wcscat.h: New file.
875 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
877 * sysdeps/s390/multiarch/Makefile
878 (sysdep_routines): Remove wcpncpy variants.
879 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
880 * sysdeps/s390/multiarch/ifunc-impl-list.c
881 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
882 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
883 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
884 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
885 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
886 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
887 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
888 * sysdeps/s390/ifunc-wcpncpy.h: New file.
890 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
892 * sysdeps/s390/multiarch/Makefile
893 (sysdep_routines): Remove wcsncpy variants.
894 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
895 * sysdeps/s390/multiarch/ifunc-impl-list.c
896 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
897 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
898 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
899 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
900 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
901 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
902 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
903 * sysdeps/s390/ifunc-wcsncpy.h: New file.
905 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
907 * sysdeps/s390/multiarch/Makefile
908 (sysdep_routines): Remove wcpcpy variants.
909 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
910 * sysdeps/s390/multiarch/ifunc-impl-list.c
911 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
912 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
913 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
914 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
915 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
916 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
917 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
918 * sysdeps/s390/ifunc-wcpcpy.h: New file.
920 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
922 * sysdeps/s390/multiarch/Makefile
923 (sysdep_routines): Remove wcscpy variants.
924 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
925 * sysdeps/s390/multiarch/ifunc-impl-list.c
926 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
927 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
928 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
929 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
930 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
931 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
932 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
933 * sysdeps/s390/ifunc-wcscpy.h: New file.
935 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
937 * sysdeps/s390/multiarch/Makefile
938 (sysdep_routines): Remove wcsnlen variants.
939 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
940 * sysdeps/s390/multiarch/ifunc-impl-list.c
941 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
942 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
943 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
944 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
945 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
946 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
947 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
948 * sysdeps/s390/ifunc-wcsnlen.h: New file.
950 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
952 * sysdeps/s390/multiarch/Makefile
953 (sysdep_routines): Remove wcslen variants.
954 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
955 * sysdeps/s390/multiarch/ifunc-impl-list.c
956 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
957 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
958 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
959 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
960 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
961 * sysdeps/s390/multiarch/wcslen.c: Move to ...
962 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
963 * sysdeps/s390/ifunc-wcslen.h: New file.
965 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
967 * sysdeps/s390/multiarch/Makefile
968 (sysdep_routines): Remove memrchr variants.
969 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
970 * sysdeps/s390/multiarch/ifunc-impl-list.c
971 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
972 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
973 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
974 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
975 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
976 * sysdeps/s390/multiarch/memrchr.c: Move to ...
977 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
978 * sysdeps/s390/ifunc-memrchr.h: New file.
980 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
982 * sysdeps/s390/multiarch/Makefile
983 (sysdep_routines): Remove memccpy variants.
984 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
985 * sysdeps/s390/multiarch/ifunc-impl-list.c
986 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
987 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
988 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
989 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
990 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
991 * sysdeps/s390/multiarch/memccpy.c: Move to ...
992 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
993 * sysdeps/s390/ifunc-memccpy.h: New file.
995 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
997 * sysdeps/s390/multiarch/Makefile
998 (sysdep_routines): Remove rawmemchr variants.
999 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1000 * sysdeps/s390/multiarch/ifunc-impl-list.c
1001 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1002 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1003 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1004 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1005 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1006 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1007 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1008 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1010 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1012 * sysdeps/s390/multiarch/Makefile
1013 (sysdep_routines): Remove memchr variants.
1014 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1015 * sysdeps/s390/multiarch/ifunc-impl-list.c
1016 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1017 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1018 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1019 * sysdeps/s390/multiarch/memchr.c: Move to ...
1020 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1021 * sysdeps/s390/ifunc-memchr.h: New file.
1022 * sysdeps/s390/s390-64/memchr.S: Move to ...
1023 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1024 for 31/64bit and ifunc handling.
1025 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1026 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1027 * sysdeps/s390/s390-32/memchr.S: Likewise.
1029 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1031 * sysdeps/s390/multiarch/Makefile
1032 (sysdep_routines): Remove strcspn variants.
1033 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1034 * sysdeps/s390/multiarch/ifunc-impl-list.c
1035 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1036 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1037 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1038 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1039 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1040 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1041 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1042 * sysdeps/s390/ifunc-strcspn.h: New file.
1044 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1046 * sysdeps/s390/multiarch/Makefile
1047 (sysdep_routines): Remove strpbrk variants.
1048 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1049 * sysdeps/s390/multiarch/ifunc-impl-list.c
1050 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1051 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1052 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1053 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1054 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1055 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1056 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1057 * sysdeps/s390/ifunc-strpbrk.h: New file.
1059 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1061 * sysdeps/s390/multiarch/Makefile
1062 (sysdep_routines): Remove strspn variants.
1063 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1064 * sysdeps/s390/multiarch/ifunc-impl-list.c
1065 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1066 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1067 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1068 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
1069 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
1070 * sysdeps/s390/multiarch/strspn.c: Move to ...
1071 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
1072 * sysdeps/s390/ifunc-strspn.h: New file.
1074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1076 * sysdeps/s390/multiarch/Makefile
1077 (sysdep_routines): Remove strrchr variants.
1078 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
1079 * sysdeps/s390/multiarch/ifunc-impl-list.c
1080 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
1081 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
1082 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
1083 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
1084 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
1085 * sysdeps/s390/multiarch/strrchr.c: Move to ...
1086 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
1087 * sysdeps/s390/ifunc-strrchr.h: New file.
1089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1091 * sysdeps/s390/multiarch/Makefile
1092 (sysdep_routines): Remove strchrnul variants.
1093 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
1094 * sysdeps/s390/multiarch/ifunc-impl-list.c
1095 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
1096 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
1097 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
1098 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
1099 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
1100 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
1101 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
1102 * sysdeps/s390/ifunc-strchrnul.h: New file.
1104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1106 * sysdeps/s390/multiarch/Makefile
1107 (sysdep_routines): Remove strchr variants.
1108 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
1109 * sysdeps/s390/multiarch/ifunc-impl-list.c
1110 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
1111 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
1112 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
1113 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
1114 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
1115 * sysdeps/s390/multiarch/strchr.c: Move to ...
1116 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
1117 * sysdeps/s390/ifunc-strchr.h: New file.
1119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1121 * sysdeps/s390/multiarch/Makefile
1122 (sysdep_routines): Remove strncmp variants.
1123 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
1124 * sysdeps/s390/multiarch/ifunc-impl-list.c
1125 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
1126 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
1127 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
1128 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
1129 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
1130 * sysdeps/s390/multiarch/strncmp.c: Move to ...
1131 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
1132 * sysdeps/s390/ifunc-strncmp.h: New file.
1134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1136 * sysdeps/s390/multiarch/Makefile
1137 (sysdep_routines): Remove strcmp variants.
1138 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
1139 * sysdeps/s390/multiarch/ifunc-impl-list.c
1140 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
1141 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
1142 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
1143 * sysdeps/s390/multiarch/strcmp.c: Move to ...
1144 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
1145 * sysdeps/s390/ifunc-strcmp.h: New file.
1146 * sysdeps/s390/s390-64/strcmp.S: Move to ...
1147 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
1148 for 31/64bit and ifunc handling.
1149 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
1150 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1151 * sysdeps/s390/s390-32/strcmp.S: Likewise.
1153 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1155 * sysdeps/s390/multiarch/Makefile
1156 (sysdep_routines): Remove strncat variants.
1157 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
1158 * sysdeps/s390/multiarch/ifunc-impl-list.c
1159 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
1160 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
1161 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
1162 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
1163 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
1164 * sysdeps/s390/multiarch/strncat.c: Move to ...
1165 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
1166 * sysdeps/s390/ifunc-strncat.h: New file.
1168 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1170 * sysdeps/s390/multiarch/Makefile
1171 (sysdep_routines): Remove strcat variants.
1172 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
1173 * sysdeps/s390/multiarch/ifunc-impl-list.c
1174 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
1175 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
1176 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
1177 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
1178 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
1179 * sysdeps/s390/multiarch/strcat.c: Move to ...
1180 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
1181 * sysdeps/s390/ifunc-strcat.h: New file.
1183 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1185 * sysdeps/s390/multiarch/Makefile
1186 (sysdep_routines): Remove stpncpy variants.
1187 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
1188 * sysdeps/s390/multiarch/ifunc-impl-list.c
1189 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
1190 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
1191 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
1192 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
1193 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
1194 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
1195 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
1196 * sysdeps/s390/ifunc-stpncpy.h: New file.
1198 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1200 * sysdeps/s390/multiarch/Makefile
1201 (sysdep_routines): Remove strncpy variants.
1202 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
1203 * sysdeps/s390/multiarch/ifunc-impl-list.c
1204 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
1205 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
1206 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
1207 * sysdeps/s390/multiarch/strncpy.c: Move to ...
1208 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
1209 * sysdeps/s390/ifunc-strncpy.h: New file.
1210 * sysdeps/s390/s390-64/strncpy.S: Move to ...
1211 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
1212 and adjust ifunc handling.
1213 * sysdeps/s390/s390-32/strncpy.S: Move to ...
1214 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
1215 and adjust ifunc handling.
1216 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
1217 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1221 * sysdeps/s390/multiarch/Makefile
1222 (sysdep_routines): Remove stpcpy variants.
1223 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
1224 * sysdeps/s390/multiarch/ifunc-impl-list.c
1225 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
1226 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
1227 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
1228 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
1229 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
1230 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
1231 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
1232 * sysdeps/s390/ifunc-stpcpy.h: New file.
1234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1236 * sysdeps/s390/multiarch/Makefile
1237 (sysdep_routines): Remove strcpy variants.
1238 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
1239 * sysdeps/s390/multiarch/ifunc-impl-list.c
1240 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
1241 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
1242 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
1243 * sysdeps/s390/multiarch/strcpy.c: Move to ...
1244 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
1245 * sysdeps/s390/ifunc-strcpy.h: New file.
1246 * sysdeps/s390/s390-64/strcpy.S: Move to ...
1247 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
1248 for 31/64bit and ifunc handling.
1249 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
1250 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1251 * sysdeps/s390/s390-32/strcpy.S: Likewise.
1253 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1255 * sysdeps/s390/multiarch/Makefile
1256 (sysdep_routines): Remove strnlen variants.
1257 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
1258 * sysdeps/s390/multiarch/ifunc-impl-list.c
1259 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
1260 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
1261 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
1262 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
1263 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
1264 * sysdeps/s390/multiarch/strnlen.c: Move to ...
1265 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
1266 * sysdeps/s390/ifunc-strnlen.h: New file.
1268 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1270 * sysdeps/s390/multiarch/Makefile
1271 (sysdep_routines): Remove strlen variants.
1272 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
1273 * sysdeps/s390/multiarch/ifunc-impl-list.c
1274 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
1275 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
1276 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
1277 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
1278 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
1279 * sysdeps/s390/multiarch/strlen.c: Move to ...
1280 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
1281 * sysdeps/s390/ifunc-strlen.h: New file.
1283 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1285 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
1286 * sysdeps/s390/multiarch/ifunc-impl-list.c
1287 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
1288 * sysdeps/s390/ifunc-memmem.h: New file.
1289 * sysdeps/s390/memmem.c: Likewise.
1290 * sysdeps/s390/memmem-c.c: Likewise.
1291 * sysdeps/s390/memmem-vx.c: Likewise.
1293 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1295 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
1296 * sysdeps/s390/multiarch/ifunc-impl-list.c
1297 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
1298 * sysdeps/s390/ifunc-strstr.h: New file.
1299 * sysdeps/s390/strstr.c: Likewise.
1300 * sysdeps/s390/strstr-c.c: Likewise.
1301 * sysdeps/s390/strstr-vx.c: Likewise.
1303 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1305 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
1306 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
1307 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
1308 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
1310 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
1311 * sysdeps/s390/memmove-c.c: New file.
1312 * sysdeps/s390/memmove.c: Likewise.
1313 * sysdeps/s390/multiarch/ifunc-impl-list.c
1314 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
1316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1318 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
1319 * sysdeps/s390/configure.ac: Add check for z13 support.
1320 * sysdeps/s390/configure: Regenerated.
1322 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1324 * sysdeps/s390/memcopy.h: New file.
1326 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1328 * sysdeps/s390/s390-32/bcopy.S: Remove.
1329 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1331 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1333 * sysdeps/s390/ifunc-memcpy.h: New File.
1334 * sysdeps/s390/memcpy.S: Move to ...
1335 * sysdeps/s390/memcpy-z900.S ... here.
1336 Move implementations from memcpy-s390x.s to here.
1337 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
1338 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1339 Remove memcpy/mempcpy variants.
1340 * sysdeps/s390/Makefile (sysdep_routines):
1341 Add memcpy/mempcpy variants.
1342 * sysdeps/s390/multiarch/ifunc-impl-list.c
1343 (__libc_ifunc_impl_list): Adjust ifunc variants for
1345 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
1347 * sysdeps/s390/memcpy.c: ... here.
1348 Adjust ifunc variants for memcpy.
1349 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
1350 * sysdeps/s390/mempcpy.c: ... here.
1351 Adjust ifunc variants for mempcpy.
1352 * sysdeps/s390/mempcpy.S: Delete file.
1354 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1356 * sysdeps/s390/s390-64/memcpy.S: Move to ...
1357 * sysdeps/s390/memcpy.S: ... here.
1358 Adjust to be usable for 31/64bit.
1359 * sysdeps/s390/s390-32/memcpy.S: Delete File.
1360 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
1361 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
1362 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1363 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
1364 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
1365 Adjust to be usable for 31/64bit.
1366 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
1367 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
1368 * sysdeps/s390/multiarch/memcpy.c: ... here.
1369 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
1371 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1373 * sysdeps/s390/ifunc-memcmp.h: New File.
1374 * sysdeps/s390/memcmp.S: Move to ...
1375 * sysdeps/s390/memcmp-z900.S ... here.
1376 Move implementations from memcmp-s390x.s to here.
1377 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
1378 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1379 Remove memcmp variants.
1380 * sysdeps/s390/Makefile (sysdep_routines):
1381 Add memcmp variants.
1382 * sysdeps/s390/multiarch/ifunc-impl-list.c
1383 (__libc_ifunc_impl_list): Adjust ifunc variants for
1385 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
1387 * sysdeps/s390/memcmp.c: ... here.
1388 Adjust ifunc variants for memcmp.
1390 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1392 * sysdeps/s390/s390-64/memcmp.S: Move to ...
1393 * sysdeps/s390/memcmp.S: ... here.
1394 Adjust to be usable for 31/64bit.
1395 * sysdeps/s390/s390-32/memcmp.S: Delete File.
1396 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
1397 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1399 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1400 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
1401 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
1402 Adjust to be usable for 31/64bit.
1403 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
1404 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
1405 * sysdeps/s390/multiarch/memcmp.c: ... here.
1406 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
1408 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1410 * sysdeps/s390/s390-32/bzero.S: Delete file.
1411 * sysdeps/s390/s390-64/bzero.S: Likewise.
1412 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
1413 * sysdeps/s390/bzero.c: New file.
1414 * sysdeps/s390/memset-z900.S: Add bzero entry points.
1415 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
1416 * sysdeps/s390/multiarch/ifunc-impl-list.c
1417 (__libc_ifunc_impl_list): Add bzero ifunc variants.
1419 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1421 * sysdeps/s390/ifunc-memset.h: New File.
1422 * sysdeps/s390/memset.S: Move to ...
1423 * sysdeps/s390/memset-z900.S ... here.
1424 Move implementations from memset-s390x.s to here.
1425 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
1426 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1427 Remove memset variants.
1428 * sysdeps/s390/Makefile (sysdep_routines):
1429 Add memset variants.
1430 * sysdeps/s390/multiarch/ifunc-impl-list.c
1431 (__libc_ifunc_impl_list): Adjust ifunc variants for
1433 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
1435 * sysdeps/s390/memset.c: ... here.
1436 Adjust ifunc variants for memset.
1438 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1440 * sysdeps/s390/s390-64/memset.S: Move to ...
1441 * sysdeps/s390/memset.S: ... here.
1442 Adjust to be usable for 31/64bit.
1443 * sysdeps/s390/s390-32/memset.S: Delete File.
1444 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
1445 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1447 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1448 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
1449 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
1450 Adjust to be usable for 31/64bit.
1451 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
1452 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
1453 * sysdeps/s390/multiarch/memset.c: ... here.
1454 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
1456 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1458 * sysdeps/s390/multiarch/ifunc-resolve.h
1459 (s390_libc_ifunc_init, s390_libc_ifunc,
1460 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
1462 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1464 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
1465 * sysdeps/s390/configure.ac: Add check for z10 support.
1466 * sysdeps/s390/configure: Regenerated.
1468 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
1470 * sysdeps/i386/atomic-machine.h: Merged with ...
1471 * sysdeps/x86_64/atomic-machine.h: To ...
1472 * sysdeps/x86/atomic-machine.h: This. New file.
1474 2018-12-18 Florian Weimer <fweimer@redhat.com>
1476 Rewrite locale/gen-translit.pl in Python.
1477 * locale/Makefile (generated): Add C-translit.h.
1478 (before-compile): Add $(objpfx)C-translit.h.
1479 (C-translit.h): Move to $(objpfx). Create target directory.
1480 Build using Python script.
1481 * locale/gen-translit.py: New file.
1482 * locale/gen-translit.pl: Remove file.
1483 * locale/C-translit.h.in: Change comment character to '#' for
1484 easier parsing without a C preprocessor.
1485 * locale/C-translit.h: Remove generated file.
1486 * manual/install.texi (Tools for Compilation): Do not mention
1488 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1489 Remove locale/C-translit.h.
1490 * scripts/update-copyrights: Likewise.
1491 * INSTALL: Regenerate.
1493 2018-12-18 Florian Weimer <fweimer@redhat.com>
1496 * localedata/locales/bi_VU: Remove executable bit from file.
1498 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
1501 (__localtime64): Add.
1502 * manual/maint.texi: Document Y2038 symbol handling.
1504 (__localtime64): Add.
1505 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
1507 2018-12-17 Joseph Myers <joseph@codesourcery.com>
1509 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
1512 * scripts/glibcextract.py (compare_macro_consts): Take parameters
1513 to allow extra macros from first or second sources.
1514 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
1515 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1516 (tests-special): Add $(objpfx)tst-mman-consts.out.
1517 ($(objpfx)tst-mman-consts.out): New makefile target.
1519 2018-12-17 Mao Han <han_mao@c-sky.com>
1521 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
1522 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
1523 without stat64 system call support.
1524 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
1525 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
1526 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1527 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
1528 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
1529 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
1530 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
1531 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
1532 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
1533 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
1534 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
1536 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
1538 regex: fix storage-exhaustion error
1540 * posix/regexec.c (get_subexp):
1541 Do not continue if storage is exhausted.
1543 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
1545 regex: fix heap-use-after-free error
1547 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
1548 https://debbugs.gnu.org/32592
1549 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
1550 call extend_buffers which reallocates the re_string_t internal buffer.
1551 Local variable 'buf' was not updated in such case, resulting in
1553 * posix/regexec.c (get_subexp): Update 'buf' after call to
1556 2018-12-15 Florian Weimer <fweimer@redhat.com>
1558 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
1559 (minimum_stride_size): Use it.
1560 (support_blob_repeat_allocate): Likewise.
1562 2018-12-14 Joseph Myers <joseph@codesourcery.com>
1564 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
1569 2018-12-14 Florian Weimer <fweimer@redhat.com>
1571 * manual/process.texi (Process Creation Concepts): Remove
1572 documentation of process (ID) lifetime. List more process
1573 creation functions. Reference Process Identification section.
1574 (Process Identification): Add information about process ID
1575 lifetime. Describe Linux thread/task IDs.
1576 * manual/signal.texi (Signaling Another Process): Mention that the
1577 signal is always sent to the process.
1579 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1581 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
1582 and tst-ldbl-efgcvt.
1583 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
1584 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
1585 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
1586 (fcvt_tests, output_error, output_r_error, do_test): Use the
1587 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
1588 select the type of floating-point variables and arguments; to
1589 produce extra tests for double and conversion specifiers for
1590 printf; and to set the names of called functions.
1591 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
1592 in tst-efgcvt-template.c.
1593 * misc/tst-ldbl-efgcvt.c: Likewise.
1595 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
1597 * nss/Makefile (tst-nss-test3.out): New rule.
1599 2018-12-13 Joseph Myers <joseph@codesourcery.com>
1601 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
1604 2018-12-13 fanjinke <fanjinke@hygon.cn>
1606 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
1609 2018-12-13 Andreas Schwab <schwab@suse.de>
1612 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
1613 (__pthread_rwlock_rdlock_full): Update expected value for
1614 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
1615 * nptl/tst-rwlock-pwn.c: New file.
1616 * nptl/Makefile (tests): Add tst-rwlock-pwn.
1618 2018-12-12 Joseph Myers <joseph@codesourcery.com>
1620 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
1623 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1625 * benchtests/scripts/compare_bench.py (do_compare): write to
1626 stderr in casestat is not present.
1627 * benchtests/scripts/compare_bench.py (plot_graphs): write to
1628 stderr in case timings field is not present. Also string showing
1629 the output filename goes into the stderr.
1631 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1633 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
1634 and ZeroDivisorError exceptions.
1635 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
1636 argument to loop through user provided statistics.
1637 * benchtests/scripts/compare_bench.py (main): Include the --stats
1640 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1642 * benchtests/scripts/compare_bench.py (compare_runs): Continue
1645 2018-12-12 Florian Weimer <fweimer@redhat.com>
1647 * sysdeps/posix/timespec_get.c: Add missing “any later version”
1648 clause to copyright header.
1650 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1653 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
1654 registers saved in the stack frame.
1655 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
1656 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
1658 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1660 * include/bits/monetary-ldbl.h: New file.
1661 * include/bits/printf-ldbl.h: Likewise.
1662 * include/bits/stdio-ldbl.h: Likewise.
1663 * include/bits/stdlib-ldbl.h: Likewise.
1664 * include/bits/syslog-ldbl.h: Likewise.
1665 * include/bits/wchar-ldbl.h: Likewise.
1667 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1669 * libio/libio.h: Remove redirection for _IO_vfprintf.
1671 2018-12-11 Andreas Schwab <schwab@suse.de>
1673 * Makerules: Remove all references to abilist-pattern.
1674 (update-all-abi): Simplify find expression.
1676 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1679 * math/auto-libm-test-in: Add new test case.
1680 * math/auto-libm-test-out-pow: Regenerated.
1681 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
1683 2018-12-10 DJ Delorie <dj@redhat.com>
1686 * support/test-container.c: Move postclean step to before we
1689 2018-12-10 Joseph Myers <joseph@codesourcery.com>
1691 * scripts/gen-as-const.py (main): Handle --python option.
1692 * scripts/gen-py-const.awk: Remove.
1693 * Makerules (py-const-script): Use gen-as-const.py.
1694 ($(py-const)): Likewise.
1695 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
1696 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
1697 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
1698 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
1699 ~PTHREAD_MUTEX_NO_ELISION_NP.
1700 * manual/README.pretty-printers: Update reference to
1703 * scripts/glibcextract.py: New file.
1704 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
1705 or tempfile. Import glibcexctract.
1706 (compute_c_consts): Remove. Moved to glibcextract.py.
1707 (gen_test): Update reference to compute_c_consts.
1709 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
1710 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
1711 * sysdeps/unix/sysv/linux/Makefile
1712 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
1713 Redirect stderr as well as stdout.
1715 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
1718 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
1719 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
1720 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
1721 ALWAYS_USE_VSYSCALL.
1722 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
1723 ALWAYS_USE_VSYSCALL.
1724 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
1725 ALWAYS_USE_VSYSCALL.
1727 2018-12-10 Florian Weimer <fweimer@redhat.com>
1730 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
1731 offset instead of count for clarity. Fix typo in comment.
1732 (__old_getdents64): Keep track of previous offset. Use it to call
1734 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
1735 that d_off is never zero.
1737 2018-12-10 Andreas Schwab <schwab@suse.de>
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
1740 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
1742 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
1743 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
1745 2018-12-10 Joseph Myers <joseph@codesourcery.com>
1747 * timezone/private.h: Update from tzcode 2018g.
1748 * timezone/tzfile.h: Likewise.
1749 * timezone/tzselect.ksh: Likewise.
1750 * timezone/zdump.c: Likewise.
1751 * timezone/zic.c: Likewise.
1753 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1756 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
1757 (do_test): Adjust buffer size and fix format.
1759 2018-12-07 DJ Delorie <dj@redhat.com>
1762 * malloc/tst-tcfree3.c: New.
1763 * malloc/Makefile: Add it.
1765 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
1767 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
1769 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1771 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
1772 used as a mask for the mode argument of __vfscanf_internal and
1773 __vfwscanf_internal.
1774 * stdio-common/vfscanf-internal.c
1775 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
1776 (__strtof128_internal): Define to __wcstof128_internal.
1777 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
1778 __strtof128_internal or __wcstof128_internal when the format of
1779 long double is the same as _Float128.
1781 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1783 * include/unistd.h (__confstr): Add prototype and hidden prototype.
1784 * posix/confstr.c (confstr): Rename to __confstr.
1785 (__confstr): Add hidden def.
1786 (confstr): Add weak alias for __confstr.
1787 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
1790 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
1792 * NEWS: Mention getcpu.
1793 * include/sched.h (__getcpu): New libc_hidden_proto.
1794 * manual/resource.texi: Document getcpu.
1795 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
1796 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
1797 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
1798 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1799 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1800 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1801 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1802 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1803 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1804 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1805 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1806 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1807 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1809 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1810 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1811 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1820 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1821 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1822 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1823 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1825 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1826 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1827 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1828 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
1829 * sysdeps/unix/sysv/linux/getcpu.c: New file.
1830 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
1833 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1835 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
1837 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
1839 2018-12-07 Florian Weimer <fweimer@redhat.com>
1842 * posix/Makefile (routines): Add spawn_faction_addfchdir.
1843 * posix/Versions (GLIBC_2.29): Export
1844 posix_spawn_file_actions_addfchdir_np.
1845 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
1846 * posix/spawn_faction_destroy.c
1847 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
1848 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
1849 and the field action.fchdir_action.
1850 * posix/tst-spawn-chdir.c (add_chdir): New function.
1851 (do_test): Add do_fchdir loop. Call add_chdir.
1852 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
1853 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1854 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
1855 posix_spawn_file_actions_addfchdir_np.
1856 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
1858 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
1860 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
1861 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
1863 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
1865 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
1867 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
1869 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
1871 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
1873 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1874 (GLIBC_2.29): Likewise.
1875 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1876 (GLIBC_2.29): Likewise.
1877 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1878 (GLIBC_2.29): Likewise.
1879 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1880 (GLIBC_2.29): Likewise.
1881 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1884 (GLIBC_2.29): Likewise.
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1886 (GLIBC_2.29): Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1888 (GLIBC_2.29): Likewise.
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1890 (GLIBC_2.29): Likewise.
1891 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1893 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1895 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1897 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1898 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1900 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1902 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1904 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1907 2018-12-06 Joseph Myers <joseph@codesourcery.com>
1909 * manual/texinfo.tex: Update to version 2018-09-21.20 with
1910 trailing whitespace removed.
1911 * scripts/config.guess: Update to version 2018-11-28.
1912 * scripts/config.sub: Update to version 2018-11-28.
1913 * scripts/install-sh: Update to version 2018-03-11.20.
1914 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
1915 * scripts/move-if-change: Update to version 2018-03-07 03:47.
1917 2018-12-07 Florian Weimer <fweimer@redhat.com>
1921 * inet/tst-if_index-long.c: New file.
1922 * inet/Makefile (tests): Add tst-if_index-long.
1924 2018-12-07 Florian Weimer <fweimer@redhat.com>
1926 * support/check.h (support_record_failure_is_failed): Declare.
1927 * support/descriptors.h: New file.
1928 * support/support_descriptors.c: Likewise.
1929 * support/tst-support_descriptors.c: Likewise.
1930 * support/support_record_failure.c
1931 (support_record_failure_is_failed): New function.
1932 * support/Makefile (libsupport-routines): Add support_descriptors.
1933 (tests): Add tst-support_descriptors.
1935 2018-12-05 Zack Weinberg <zackw@panix.com>
1936 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1938 * stdio-common/vfprintf-internal.c
1939 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
1940 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
1941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
1942 and __no_long_double.
1943 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
1944 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
1945 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
1946 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
1947 and __nldbl_*syslog* functions.
1948 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
1949 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
1950 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
1951 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
1952 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
1953 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
1954 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
1955 (__nldbl_vwprintf, __nldbl_wprintf):
1956 Directly call the appropriate __v*printf_internal routine, passing
1957 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
1959 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
1960 (__nldbl___printf_chk, __nldbl___snprintf_chk)
1961 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
1962 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
1963 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
1964 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1965 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
1966 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
1967 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
1968 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
1969 Likewise, and also pass PRINTF_FORTIFY when appropriate.
1970 (__nldbl_syslog, __nldbl_vsyslog):
1971 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
1972 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1974 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1977 2018-12-05 Zack Weinberg <zackw@panix.com>
1978 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1981 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
1982 Moved here from debug/vsprintf_chk.c.
1983 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
1984 and completion logic for the strfile to match exactly what
1985 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
1986 _IO_str_init_static_internal instead of maxlen-1.
1987 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1988 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
1989 __vsprintf_internal.
1991 * debug/vsprintf_chk.c (__vsprintf_chk)
1992 * debug/sprintf_chk.c (__sprintf_chk):
1993 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
1994 'flags' argument is positive, and slen as maxlen. No need to lock
1995 the FILE and/or construct a temporary FILE. Minimize and normalize
1996 header inclusions and variable names. Do not libc_hidden_def anything.
1998 * debug/asprintf_chk.c (__asprintf_chk)
1999 * debug/dprintf_chk.c (__dprintf_chk)
2000 * debug/fprintf_chk.c (__fprintf_chk)
2001 * debug/fwprintf_chk.c (__fwprintf_chk)
2002 * debug/printf_chk.c (__printf_chk)
2003 * debug/snprintf_chk.c (__snprintf_chk)
2004 * debug/swprintf_chk.c (__swprintf_chk)
2005 * debug/vasprintf_chk.c (__vasprintf_chk)
2006 * debug/vdprintf_chk.c (__vdprintf_chk)
2007 * debug/vfprintf_chk.c (__vfprintf_chk)
2008 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2009 * debug/vprintf_chk.c (__vprintf_chk)
2010 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2011 * debug/vswprintf_chk.c (__vswprintf_chk)
2012 * debug/vwprintf_chk.c (__vwprintf_chk)
2013 * debug/wprintf_chk.c (__wprintf_chk):
2014 Directly call the corresponding vxxprintf_internal function, passing
2015 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2016 the FILE and/or construct a temporary FILE. Minimize and normalize
2017 header inclusions and variable names. Do not libc_hidden_def anything.
2019 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2020 __obstack_vprintf_internal.
2021 (__obstack_vprintf_chk): Convert into a wrapper that calls
2022 __obstack_vprintf_internal (these two functions already had the
2023 same code) and move to new file...
2024 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2026 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2027 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2028 * debug/Makefile (routines): Add vobprintf_chk.
2030 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2031 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2032 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2033 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2034 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2035 (__nldbl___obstack_vfprintf_chk):
2036 Directly call the corresponding vxxprintf_internal function,
2037 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2038 duplicate comparison of slen with 0 or maxlen from the corresponding
2039 non-__nldbl function.
2041 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2042 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2043 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2044 Remove libc_hidden_proto.
2046 * stdio-common/vfprintf-internal.c
2047 (__vfprintf_internal, __vfwprintf_internal):
2048 Do not check _IO_FLAGS2_FORTIFY.
2049 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2050 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2051 a comment explaining why it has the maxlen argument.
2052 (_IO_acquire_lock_clear_flags2_fct): Remove.
2053 (_IO_acquire_lock_clear_flags2): Remove.
2054 (_IO_release_lock): Remove conditional statement which will
2056 (_IO_acquire_lock): Remove variable which is now unused.
2057 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2058 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2060 * stdio-common/Makefile (tests): Add tst-bz11319 and
2061 tst-bz11319-fortify2.
2062 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2063 * stdio-common/tst-bz11319-fortify2.c: New file.
2064 * stdio-common/tst-bz11319.c: Likewise.
2066 2018-12-05 Zack Weinberg <zackw@panix.com>
2067 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2069 * misc/syslog.c: Include libioP.h, not iolibio.h.
2070 (__vsyslog_internal): New function with the former body of
2071 __vsyslog_chk; takes mode_flags argument same as
2072 __v*printf_internal. Call __vfprintf_internal directly.
2074 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
2075 Remove libc_hidden_def.
2076 (__syslog, __syslog_chk): Use __vsyslog_internal.
2077 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
2079 * include/sys/syslog.h: Add multiple inclusion guard.
2080 Add prototype for __vsyslog_internal.
2081 Remove declaration and libc_hidden_proto for __vsyslog_chk.
2083 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
2084 Use __vsyslog_internal.
2086 2018-12-05 Zack Weinberg <zackw@panix.com>
2087 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2089 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
2090 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
2091 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
2093 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
2094 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
2096 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
2097 Include wctype.h here if COMPILE_WPRINTF is defined.
2098 Define __vfprintf_internal or __vfwprintf_internal, depending
2100 Temporarily, on entry to this function, update mode_flags
2101 according to the environmental settings corresponding to
2102 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
2103 Throughout, check mode_flags instead of __ldbl_is_dbl and
2104 _IO_FLAGS2_FORTIFY on the destination FILE.
2105 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
2106 Include vfprintf-internal.c. Don't include wctype.h.
2107 * stdio-common/vfprintf.c: New file. Just define __vfprintf
2108 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
2110 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
2111 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
2113 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
2115 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
2116 and add mode_flags argument; use __vfprintf_internal.
2117 (__vdprintf): New function. Alias vdprintf to this.
2118 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
2119 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
2120 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
2121 (__obstack_printf): Use __obstack_printf_internal.
2122 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
2123 public aliases __vsnprintf and vsnprintf.
2124 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
2126 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
2127 public aliases _IO_vsprintf and vsprintf.
2128 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
2129 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
2130 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
2131 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
2132 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
2134 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
2135 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
2136 * stdio-common/fprintf.c, stdio-common/fxprintf.c
2137 * stdio-common/printf.c: Use __vfprintf_internal.
2139 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
2140 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
2141 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
2143 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
2144 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
2145 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
2146 __vfwprintf_internal.
2148 * libio/libio.h: Remove libc_hidden_proto and declaration for
2150 Remove declaration of _IO_vfwprintf.
2151 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
2153 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
2155 * include/stdio.h: Add prototype for __vasprintf.
2156 (__vsnprintf): Remove declaration, because there are no more
2158 * include/wchar.h (__vfwprintf, __vswprintf): Remove
2159 declaration, because there are no more internal calls.
2161 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
2162 __vsnprintf_internal, instead of _IO_vsnprintf.
2163 * argp/argp-help.c (__argp_error, __argp_failure): Use
2164 __vasprintf_internal, instead of _IO_vasprintf.
2165 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
2166 redefine, because there are no more internal calls.
2168 2018-12-05 Zack Weinberg <zackw@panix.com>
2169 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2171 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
2172 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
2173 Include libio/strfile.h instead of libioP.h.
2174 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
2175 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
2176 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
2177 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
2178 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
2179 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
2180 necessary. Do not set __no_long_double. Normalize variable names.
2181 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
2182 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
2183 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
2184 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
2185 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
2186 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
2187 Call __vfscanf_internal / __vfwscanf_internal directly, passing
2188 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
2189 Do not set __no_long_double. Normalize variable names.
2191 2018-12-05 Zack Weinberg <zackw@panix.com>
2192 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2194 * stdio-common/isoc99_scanf.c
2195 * stdio-common/isoc99_fscanf.c
2196 * stdio-common/isoc99_sscanf.c
2197 * stdio-common/isoc99_vscanf.c
2198 * stdio-common/isoc99_vfscanf.c
2199 * stdio-common/isoc99_vsscanf.c
2200 * wcsmbs/isoc99_wscanf.c
2201 * wcsmbs/isoc99_fwscanf.c
2202 * wcsmbs/isoc99_swscanf.c
2203 * wcsmbs/isoc99_vwscanf.c
2204 * wcsmbs/isoc99_vfwscanf.c
2205 * wcsmbs/isoc99_vswscanf.c:
2206 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
2207 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
2208 No need to lock and unlock the FILE passed to that function.
2210 * stdio-common/vfscanf-internal.c
2211 (__vfscanf_internal, __vfwscanf_internal):
2212 Don't look at _IO_FLAGS2_SCANF_STD.
2213 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
2214 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
2215 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
2217 2018-12-05 Zack Weinberg <zackw@panix.com>
2218 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2220 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
2221 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
2222 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
2223 * libio/strfile.h: Add multiple inclusion guard.
2224 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
2226 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
2227 consistency with the other version of this file.
2228 (ldbl_compat_symbol): New macro.
2229 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
2232 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
2233 Define __vfscanf_internal or __vfwscanf_internal, depending on
2234 COMPILE_WSCANF; don't define any other public symbols.
2235 Remove errval and code to set errp.
2236 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
2237 as the mode_flags argument.
2238 (encode_error, conv_error, input_error): Don't set errval.
2239 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
2240 Include vfscanf-internal.c.
2241 * stdio-common/vfscanf.c: New file defining the public entry
2242 point vfscanf, which calls __vfscanf_internal.
2243 * stdio-common/vfwscanf.c: New file defining the public entry
2244 point vfwscanf, which calls __vfwscanf_internal.
2246 * stdio-common/iovfscanf.c: New file.
2247 * stdio-common/iovfwscanf.c: Likewise.
2249 * stdio-common/Makefile (routines): Add vfscanf-internal,
2250 vfwscanf-internal, iovfscanf, iovfwscanf.
2251 * stdio-common/Versions: Mention GLIBC_2.29, so that
2252 it can be used in SHLIB_COMPAT expressions.
2253 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
2254 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
2255 Call __vfscanf_internal, instead of _IO_vfscanf.
2256 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
2258 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
2261 * libio/iovsscanf.c: Clean up includes, when possible. Use
2262 _IO_strfile_read or _IO_strfile_readw, when needed. Call
2263 __vfscanf_internal or __vfwscanf_internal directly.
2264 * libio/iovswscanf.c: Likewise.
2265 * libio/swscanf.c: Likewise.
2266 * libio/vscanf.c: Likewise.
2267 * libio/vwscanf.c: Likewise.
2268 * libio/wscanf.c: Likewise.
2269 * stdio-common/isoc99_fscanf.c: Likewise.
2270 * stdio-common/isoc99_scanf.c: Likewise.
2271 * stdio-common/isoc99_sscanf.c: Likewise.
2272 * stdio-common/isoc99_vfscanf.c: Likewise.
2273 * stdio-common/isoc99_vscanf.c: Likewise.
2274 * stdio-common/isoc99_vsscanf.c: Likewise.
2275 * stdio-common/scanf.c: Likewise.
2276 * stdio-common/sscanf.c: Likewise.
2277 * wcsmbs/isoc99_fwscanf.c: Likewise.
2278 * wcsmbs/isoc99_swscanf.c: Likewise.
2279 * wcsmbs/isoc99_vfwscanf.c: Likewise.
2280 * wcsmbs/isoc99_vswscanf.c: Likewise.
2281 * wcsmbs/isoc99_vwscanf.c: Likewise.
2282 * wcsmbs/isoc99_wscanf.c: Likewise.
2284 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
2287 (__tz_compute): Replace time_t with __time64_t.
2288 (__tz_convert): Replace time_t* with __time64_t.
2289 (__offtime): Replace time_t* with __time64_t.
2291 (__gmtime_r): Adjust call to __tz_convert.
2294 (__localtime_r): Likewise.
2295 (localtime): Likewise.
2296 * time/offtime.c: Replace time_t with __time64_t.
2297 * time/tzset.c: Likewise.
2299 2018-12-04 Joseph Myers <joseph@codesourcery.com>
2301 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
2302 dynamic linker unless [$(run-built-tests) = yes].
2304 2018-12-03 DJ Delorie <dj@delorie.com>
2306 * support/test-container.c (check_for_unshare_hints): New.
2307 (main): Call it if unshare fails. Add support for "su" scriptlet
2310 2018-12-03 Joseph Myers <joseph@codesourcery.com>
2312 * scripts/gen-as-const.py (compute_c_consts): Take an argument
2313 'START' to indicate that start text should be output.
2314 (gen_test): Likewise.
2315 (main): Generate 'START' for first symbol or '--' line, or at end
2316 of input if not previously generated.
2318 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
2321 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
2322 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
2323 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
2324 ALWAYS_USE_VSYSCALL.
2326 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2329 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
2332 2018-12-03 Carlos O'Donell <carlos@redhat.com>
2335 * locale/programs/localedef.c: Declare boolean hard_links default true.
2336 (options): Add --no-hard-links option.
2337 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
2338 * locale/programs/localedef.h: Declare prototype for hard_links.
2339 * locale/programs/locfile.c (write_locale_data): Don't use hard
2340 links if hard_links is false.
2342 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
2344 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
2346 (__cache_sysconf): Likewise.
2347 (init_cacheinfo): Likewise.
2348 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
2349 populate COMMON_CPUID_INDEX_80000007 and
2350 COMMON_CPUID_INDEX_80000008.
2351 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
2352 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
2353 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
2354 (init_cpu_features): Use _Static_assert on
2355 index_arch_Fast_Unaligned_Load.
2356 __get_cpuid_registers and __get_arch_feature. Updated for
2357 cpu_features_basic. Set stepping in cpu_features.
2358 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
2359 (FEATURE_INDEX_2): New.
2360 (FEATURE_INDEX_MAX): Changed to enum.
2361 (COMMON_CPUID_INDEX_D_ECX_1): New.
2362 (COMMON_CPUID_INDEX_80000007): Likewise.
2363 (COMMON_CPUID_INDEX_80000008): Likewise.
2364 (cpuid_registers): Likewise.
2365 (cpu_features_basic): Likewise.
2366 (CPU_FEATURE_USABLE): Likewise.
2367 (bit_arch_XXX_Usable): Likewise.
2368 (cpu_features): Use cpuid_registers and cpu_features_basic.
2369 (bit_arch_XXX): Reweritten.
2370 (bit_cpu_XXX): Likewise.
2371 (index_cpu_XXX): Likewise.
2372 (reg_XXX): Likewise.
2373 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
2375 (CHECK_CPU_FEATURE): New.
2376 (CHECK_CPU_FEATURE_USABLE): Likewise.
2377 (cpu_kinds): Likewise.
2378 (do_test): Print vendor, family, model and stepping. Check
2379 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
2380 (TEST_FUNCTION): Removed.
2381 Include <support/test-driver.c> instead of
2382 "../../test-skeleton.c".
2383 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
2384 Check POPCNT instead of POPCOUNT.
2385 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
2387 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2389 * scripts/gen-as-const.py (main): Avoid emitting empty line when
2390 there is no element in `consts'.
2392 2018-12-01 Florian Weimer <fweimer@redhat.com>
2394 * support/support_capture_subprocess.c
2395 (support_capture_subprocess): Check that pipe descriptors have
2396 expected values. Close original pipe descriptors in subprocess.
2398 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2401 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
2402 attr with __pthread_default_barrierattr.
2403 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
2404 attr with __pthread_default_condattr.
2405 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
2406 attr with __pthread_default_mutexattr.
2407 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
2408 attr with __pthread_default_rwlockattr.
2410 2018-12-01 Kemi Wang <kemi.wang@intel.com>
2412 * manual/tunables.texi (POSIX Thread Tunables): New node.
2413 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
2414 * nptl/nptl-init.c: Include pthread_mutex_conf.h
2415 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
2416 __pthread_tunables_init.
2417 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
2418 (max_adaptive_count): Define.
2419 * nptl/pthread_mutex_conf.c: New file.
2420 * nptl/pthread_mutex_conf.h: New file.
2421 * sysdeps/generic/adaptive_spin_count.h: New file.
2422 * sysdeps/nptl/dl-tunables.list: New file.
2423 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2424 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
2425 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
2428 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2431 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
2432 * stdlib/on_exit.c (__on_exit): Likewise.
2433 * stdlib/Makefile (tests): Add tst-bz20544.
2434 * stdlib/tst-bz20544.c: New test.
2436 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
2439 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
2440 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2443 2018-11-30 Florian Weimer <fweimer@redhat.com>
2445 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
2446 Extend error logging.
2447 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
2450 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2452 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
2453 __sigismember instead of sigismember.
2454 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
2455 cancel_handler): New definitions.
2456 (do_system): Use posix_spawn instead of fork and execl and remove
2458 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
2459 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
2460 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
2461 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2462 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2463 * sysdeps/unix/sysv/linux/system.c: Likewise.
2467 * NEWS: Add new semantic for atfork with popen and system.
2468 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
2471 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2474 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
2475 modification order when accessing reloc_result->addr.
2476 * include/link.h (reloc_result): Add field init.
2477 * nptl/Makefile (tests): Add tst-audit-threads.
2478 (modules-names): Add tst-audit-threads-mod1 and
2479 tst-audit-threads-mod2.
2480 Add rules to build tst-audit-threads.
2481 * nptl/tst-audit-threads-mod1.c: New file.
2482 * nptl/tst-audit-threads-mod2.c: Likewise.
2483 * nptl/tst-audit-threads.c: Likewise.
2484 * nptl/tst-audit-threads.h: Likewise.
2486 2018-11-30 Joseph Myers <joseph@codesourcery.com>
2488 * scripts/gen-as-const.py: New file.
2489 * scripts/gen-as-const.awk: Remove.
2490 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
2492 ($(objpfx)test-as-const-%.c): Likewise.
2494 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2496 * elf/dl-exception.c: Include <_itoa.h>.
2498 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2500 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
2501 returned by __f_setlk.
2503 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2504 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2506 * elf/Makefile (tests-internal): Add tst-create_format1.
2507 * elf/dl-exception.c (_dl_exception_create_format): Support
2509 * elf/tst-create_format1.c: New file.
2511 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
2513 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
2514 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
2516 * argp/argp-help.c (__argp_failure): Likewise.
2518 2018-11-29 Mao Han <han_mao@c-sky.com>
2520 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
2521 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
2522 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
2523 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
2524 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
2525 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
2526 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
2527 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
2528 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
2529 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
2530 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
2531 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
2532 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
2533 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
2534 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
2535 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
2536 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
2537 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
2538 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
2539 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
2540 (R_CKCORE_TLS_TPOFF32): New defines.
2542 2018-11-29 Florian Weimer <fweimer@redhat.com>
2544 * posix/Makefile (before-compile): Remove testcases.h and
2546 (generated): Add testcases.h and ptestcases.h.
2547 (testcases.h, ptestcases.h): Move to $(objpfx).
2548 (runtests.o): Add dependency on testcases.h.
2549 (runptests.o): Add dependency on ptestcases.h.
2550 * posix/testcases.h, posix/ptestcases.h: Remove files.
2551 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
2552 not touch posix/testcases.h and posix/ptestcases.h.
2554 2018-11-28 Florian Weimer <fweimer@redhat.com>
2556 support: Add signal support to support_capture_subprocess_check.
2557 * support/capture_subprocess.h (support_capture_subprocess_check):
2558 Adjust comment and rename parameter.
2559 * support/support_capture_subprocess_check.c
2560 (print_actual_status): New function.
2561 (support_capture_subprocess_check): Support negative
2562 status_or_signal. Call print_actual_status.
2563 * support/tst-support_capture_subprocess.c (do_test): Call
2564 support_capture_subprocess_check.
2565 * libio/tst-vtables-common.c (termination_status)
2566 (init_termination_status): Remove.
2567 (check_for_termination): Adjust support_capture_subprocess_check
2569 (do_test): Remove call to init_termination_status.
2571 2018-11-28 Joseph Myers <joseph@codesourcery.com>
2573 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
2574 source directory instead of a copy.
2575 (CommandList.create_copy_dir): Remove.
2577 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
2579 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2581 2018-11-28 Florian Weimer <fweimer@redhat.com>
2583 * support/support.h (support_quote_string): Do not use str
2586 2018-11-27 Joseph Myers <joseph@codesourcery.com>
2588 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2589 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
2591 2018-11-27 Florian Weimer <fweimer@redhat.com>
2593 * support/support.h (support_quote_string): Declare.
2594 * support/support_quote_string.c: New file.
2595 * support/tst-support_quote_string.c: Likewise.
2596 * support/Makefile (libsupport-routines): Add
2597 support_quote_string.
2598 (tests): Add tst-support_quote_string.
2600 2018-11-27 Florian Weimer <fweimer@redhat.com>
2604 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
2605 descriptor leak in case of ENODEV error.
2607 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
2610 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
2611 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
2612 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
2614 2018-11-26 Carlos O'Donell <carlos@redhat.com>
2616 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
2617 Error for unknown lines.
2619 2018-11-26 Joseph Myers <joseph@codesourcery.com>
2621 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2622 Touch additional files.
2624 2018-11-26 Florian Weimer <fweimer@redhat.com>
2627 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
2630 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
2633 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
2634 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
2635 SHARED. Include sysdep.h.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
2637 ALWAYS_USE_VSYSCALL.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
2639 ALWAYS_USE_VSYSCALL.
2641 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
2644 * nptl/Makefile (tests-static): Add tst-cond11-static.
2646 * nptl/tst-cond11-static.c: New File.
2647 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
2648 tst-affinity-static.
2650 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
2652 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
2653 (USE_VSYSCALL): Likewise.
2654 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
2655 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
2657 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
2659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2662 2018-11-23 Joseph Myers <joseph@codesourcery.com>
2665 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2666 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2669 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
2671 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
2672 (tst-cet-legacy-1a-ARGS): New.
2673 ($(objpfx)tst-cet-legacy-1a): New target.
2674 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
2676 2018-11-22 Joseph Myers <joseph@codesourcery.com>
2678 * conform/conformtest.py (CompileSubTest.__init__): Set
2679 self.run_early to False.
2680 (ExecuteSubTest.__init__): Likewise.
2681 (HeaderTests.run): Try running all non-optional, non-XFAILed
2682 compilation tests in a single execution of the compiler.
2684 * conform/conformtest.py (CompileSubTest): New class.
2685 (ExecuteSubTest): Likewise.
2686 (ElementTest.run): Rename to gen_subtests. Append tests to
2687 self.subtests instead of running them.
2688 (ConstantTest.run): Likewise.
2689 (SymbolTest.run): Likewise.
2690 (TypeTest.run): Likewise.
2691 (TagTest.run): Likewise.
2692 (FunctionTest.run): Likewise.
2693 (VariableTest.run): Likewise.
2694 (MacroFunctionTest.run): Likewise.
2695 (MacroStrTest.run): Likewise.
2696 (HeaderTests.handle_test_line): Generate subtests for tests.
2697 (HeaderTests.run): Run subtests for tests.
2699 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2701 * math/Versions (GLIBC_2.29): Add pow.
2702 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
2704 * math/w_pow.c: New file.
2705 * sysdeps/i386/fpu/w_pow.c: New file.
2706 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
2707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
2708 and add necessary aliases.
2709 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
2710 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
2711 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2712 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2713 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2714 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2715 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2716 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2717 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2718 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2719 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2720 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2721 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2722 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2723 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2728 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2730 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2731 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2732 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2733 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2734 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2735 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
2737 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
2738 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
2739 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
2741 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2743 * math/Versions (GLIBC_2.29): Add log2.
2744 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
2746 * math/w_log2.c: New file.
2747 * sysdeps/i386/fpu/w_log2.c: New file.
2748 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
2749 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
2750 and add necessary aliases.
2751 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
2752 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
2753 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2754 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2755 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2756 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2757 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2758 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2759 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2760 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2761 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2762 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2763 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2764 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2765 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2770 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2771 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2772 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2773 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2774 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2775 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2776 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2778 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2780 * math/Versions (GLIBC_2.29): Add log.
2781 * math/w_log_compat.c (__log_compat): Change to versioned compat
2783 * math/w_log.c: New file.
2784 * sysdeps/i386/fpu/w_log.c: New file.
2785 * sysdeps/ia64/fpu/e_log.S: Update.
2786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
2787 and add necessary aliases.
2788 * sysdeps/ieee754/dbl-64/w_log.c: New file.
2789 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
2790 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2791 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2792 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2793 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2794 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2795 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2796 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2797 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2798 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2799 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2800 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2801 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2802 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2808 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2809 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2810 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2811 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2812 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2813 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2814 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
2816 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
2817 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
2818 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
2819 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
2821 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2823 * math/Versions (GLIBC_2.29): Add exp and exp2.
2824 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
2825 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
2826 * math/w_exp_compat.c (__exp_compat): Likewise.
2827 * math/w_exp.c: New file.
2828 * math/w_exp2.c: New file.
2829 * sysdeps/i386/fpu/w_exp.c: New file.
2830 * sysdeps/i386/fpu/w_exp2.c: New file.
2831 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
2832 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2833 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
2834 and add necessary aliases.
2835 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
2836 and add necessary aliases.
2837 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
2838 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
2839 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
2840 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
2841 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2842 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2843 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2844 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2845 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2846 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2847 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2848 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2849 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2850 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2851 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2852 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2853 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2858 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2859 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2860 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2861 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2862 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2863 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2864 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2865 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
2866 (__ieee754_exp): Rename to __exp.
2867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
2868 (__ieee754_exp): Rename to __exp.
2869 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
2870 (__ieee754_exp): Rename to __exp.
2871 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
2873 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
2875 2018-11-20 DJ Delorie <dj@redhat.com>
2877 * malloc/malloc.c (tcache_entry): Add key field.
2878 (tcache_put): Set it.
2879 (tcache_get): Likewise.
2880 (_int_free): Check for double free in tcache.
2881 * malloc/tst-tcfree1.c: New.
2882 * malloc/tst-tcfree2.c: New.
2883 * malloc/Makefile: Run the new tests.
2884 * manual/probes.texi: Document memory_tcache_double_free probe.
2886 * dlfcn/dlerror.c (check_free): Prevent double frees.
2888 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
2890 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
2892 2018-11-20 Joseph Myers <joseph@codesourcery.com>
2894 * conform/conformtest.py (ElementTest.run): Use unique identifiers
2895 in tests. Use names for format arguments.
2896 (ConstantTest.run): Likewise.
2897 (SymbolTest.run): Likewise.
2898 (TypeTest.run): Likewise.
2899 (TagTest.run): Likewise.
2900 (FunctionTest.run): Likewise.
2901 (VariableTest.run): Likewise.
2902 (MacroFunctionTest.run): Likewise.
2903 (MacroStrTest.run): Likewise.
2904 (HeaderTests.__init__): Set self.num_tests.
2905 (HeaderTests.handle_test_line): Set test.num. Increment
2908 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2910 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
2911 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
2914 2018-11-19 Mao Han <han_mao@c-sky.com>
2916 * scripts/config.guess: Update to version 2018-08-29.
2917 * scripts/config.sub: Update to version 2018-08-29.
2919 2018-11-19 Florian Weimer <fweimer@redhat.com>
2921 support: Print timestamps in timeout handler.
2922 * support/support_test_main.c (print_timestamp): New function.
2923 (signal_handler): Use it to print the termination time and the
2924 time of the last write to standard output.
2926 2018-11-16 Zack Weinberg <zackw@panix.com>
2927 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2929 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
2930 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
2932 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
2933 and add flags argument. Check flags instead of __ldbl_is_dbl when
2934 deciding whether to set is_long_double.
2935 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
2936 passing zero for flags argument.
2937 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
2939 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2940 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
2941 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
2942 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
2943 variable names. Remove libc_hidden_def/libc_hidden_proto from
2944 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
2945 longer called from within the library.
2946 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
2947 for __nldbl___vstrfmon_l, declare it explicitly.
2949 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
2951 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
2953 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
2955 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
2956 F_SETLK64, F_SETLKW64, respectively.
2957 * sysdeps/mach/hurd/f_setlk.c: New file.
2958 * sysdeps/mach/hurd/f_setlk.h: New file.
2959 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
2961 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
2962 (__libc_fcntl): Move non-flock operations to...
2963 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
2964 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
2966 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
2968 mktime: DEBUG_MKTIME cleanup
2969 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
2970 And it’s no longer needed now that glibc and Gnulib both have
2971 their own testing mechanisms for mktime.
2972 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
2974 mktime: fix non-EOVERFLOW errno handling
2976 mktime was not properly reporting failures when the underlying
2977 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
2978 them like EOVERFLOW failures, and set errno to EOVERFLOW.
2979 The problem could happen on non-glibc platforms, with Gnulib.
2980 * time/mktime.c (guess_time_tm): Remove, replacing with ...
2981 (tm_diff): ... this simpler function, which does not change errno.
2982 All callers changed to deal with errno themselves.
2983 (ranged_convert, __mktime_internal): Return failure immediately if
2984 the underlying function reports any failure other than EOVERFLOW.
2985 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
2988 mktime: fix bug with Y2038 DST transition
2990 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
2991 mishandle a DST transition that jumps over the Y2038 boundary.
2992 No such DST transitions are known so this is only a theoretical
2993 bug, but we might as well do things right.
2995 mktime: make more room for overflow
2997 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
2998 This is so that we can add tm_diff results to a previous guess,
2999 which will be useful in a later patch.
3001 mktime: simplify offset guess
3003 * time/mktime.c (__mktime_internal): Omit excess precision.
3005 mktime: new test for mktime failure
3007 Based on a test suggested by Albert Aribaud in:
3008 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3009 * time/Makefile (tests): Add bug-mktime4.
3010 * time/bug-mktime4.c: New file.
3012 mktime: fix EOVERFLOW bug
3014 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3015 Include libc-config.h, not config.h, for __set_errno.
3016 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3018 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3020 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3021 __attribute_copy__ to copy attributes from name. Drop static qualifier
3022 to avoid warnings about leaf attribute not having effect on static
3025 2018-11-13 Florian Weimer <fweimer@redhat.com>
3027 * malloc/malloc.c (fastbin_push_entry): New function.
3028 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3029 (REMOVE_FB): Remove macro.
3030 (_int_malloc): Use fastbin_pop_entry and reindent.
3031 (_int_free): Use fastbin_push_entry.
3032 (malloc_consolidate): Use atomic_exchange_acquire.
3034 2018-11-13 Joseph Myers <joseph@codesourcery.com>
3036 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3037 alias attribute, not with strong_alias.
3039 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3040 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3041 with additional parameter thread.
3042 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3043 in terms of __hidden_ver2.
3044 (hidden_tls_def): New macro.
3045 (libc_hidden_tls_def): Likewise.
3046 (rtld_hidden_tls_def): Likewise.
3047 (libm_hidden_tls_def): Likewise.
3048 (libmvec_hidden_tls_def): Likewise.
3049 (libresolv_hidden_tls_def): Likewise.
3050 (librt_hidden_tls_def): Likewise.
3051 (libdl_hidden_tls_def): Likewise.
3052 (libnss_files_hidden_tls_def): Likewise.
3053 (libnsl_hidden_tls_def): Likewise.
3054 (libnss_nisplus_hidden_tls_def): Likewise.
3055 (libutil_hidden_tls_def): Likewise.
3056 (libutil_hidden_tls_def): Likweise.
3057 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3058 libc_hidden_tls_def.
3059 (__sim_disabled_exceptions_thread): Likewise.
3060 (__sim_round_mode_thread): Likewise.
3062 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3063 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3064 copy attributes from name.
3066 2018-11-12 Joseph Myers <joseph@codesourcery.com>
3068 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
3069 Use __attribute_copy__ to copy attributes from name.
3071 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
3072 with __hidden_ver1 call.
3073 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
3074 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
3075 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
3076 (__cosf): Do not declare here.
3077 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
3078 (__sincosf): Do not declare here.
3079 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
3080 (__sinf): Do not declare here.
3082 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
3083 (__BIG_ENDIAN): Likewise.
3084 (__BYTE_ORDER): Likewise.
3085 (strong_alias): Likewise.
3086 (_strong_alias): Likewise.
3088 2018-11-12 Florian Weimer <fweimer@redhat.com>
3090 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
3091 function. Move after the definition of in_smallbin_range. Do not
3092 use __builtin_expect for paths that lead to a noreturn function.
3093 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
3094 because it is unclear whether this is in fact an unlikely
3096 (_int_malloc, _int_free): Adjust.
3097 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
3099 * malloc/arena.c (heap_trim): Likewise.
3101 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3103 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
3104 it, free it if needed.
3105 (reauthenticate): Test and use ccwdir.
3106 (child_init_port): In non-resetids case, test and use ccwdir.
3107 (child_chdir): New nested function to set ccwdir.
3108 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
3109 * hurd/hurd/port.h (_hurd_port_move): New function.
3110 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
3111 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
3112 * hurd/Versions (_hurd_port_move): Export function.
3113 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
3115 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
3116 of dtablesize for allocating dtable_cloexec.
3118 2018-11-09 Martin Sebor <msebor@redhat.com>
3120 * include/libc-symbols.h (__attribute_copy__): Define macro unless
3121 it's already defined.
3122 (_strong_alias): Use __attribute_copy__.
3123 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
3124 * misc/sys/cdefs.h (__attribute_copy__): New macro.
3125 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
3126 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
3127 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
3128 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
3129 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
3130 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
3131 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
3132 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
3133 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
3134 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
3135 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
3136 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
3137 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
3138 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
3139 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
3140 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
3141 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
3143 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3145 * misc/tst-efgcvt.c: Include support/check.h and
3146 support/test-driver.c. Do not include test-skeleton.c.
3147 (error_count): Remove.
3148 (output_error): Replace increments to error_count with calls to
3149 support_record_failure.
3150 (output_r_error): Likewise.
3151 (special): Likewise.
3152 (do_test): Unconditionally return zero.
3153 (TEST_FUNCTION): Remove.
3155 2018-11-09 Joseph Myers <joseph@codesourcery.com>
3157 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
3159 ($(linknamespace-header-tests)): Likewise.
3161 * conform/conformtest.py: New file.
3162 * conform/conformtest.pl: Remove.
3163 * conform/GlibcConform.pm: Likewise.
3164 * conform/glibcconform.py (KEYWORDS_C90): New constant.
3165 (KEYWORDS_C99): Likewise.
3166 (KEYWORDS): Likewise.
3167 * conform/Makefile ($(conformtest-header-tests)): Use
3168 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
3169 option. Use --header instead of --headers.
3170 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
3172 * conform/data/spawn.h-data: Likewise.
3173 * conform/data/fcntl.h-data (openat): Add space after function
3175 * conform/data/wchar.h-data (wcscasecmp): Likewise.
3176 (wcscasecmp_l): Likewise.
3177 * conform/data/termios.h-data (c_cc): Add space after element
3180 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3182 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
3183 instead of manually comparing and reporting mismatching strings.
3184 * misc/tst-ldbl-error.c (do_one_test): Likewise.
3185 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3187 2018-11-08 Joseph Myers <joseph@codesourcery.com>
3189 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
3190 __ASSUME_SOCKETCALL.
3191 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3192 (__ASSUME_SOCKETCALL): Remove.
3193 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3194 (__ASSUME_SOCKETCALL): Likewise.
3195 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3196 (__ASSUME_SOCKETCALL): Likewise.
3197 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3198 (__ASSUME_SOCKETCALL): Likewise.
3199 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3200 (__ASSUME_SOCKETCALL): Likewise.
3201 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3202 (__ASSUME_SOCKETCALL): Likewise.
3203 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3204 (__ASSUME_SOCKETCALL): Likewise.
3206 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
3209 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
3210 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
3211 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
3212 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
3213 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
3216 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
3219 * resolv/tst-resolv-network.c: Add test for getnetbyname.
3221 2018-11-07 Joseph Myers <joseph@codesourcery.com>
3224 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3225 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3226 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3227 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3229 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3231 * support/support_test_compare_string.c
3232 (support_test_compare_string): Fix printf format.
3234 2018-11-07 Florian Weimer <fweimer@redhat.com>
3236 Implement TEST_COMPARE_STRING.
3237 * support/check.h (TEST_COMPARE_STRING): Define.
3238 (support_test_compare_string): Declare.
3239 * support/Makefile (libsupport-routines): Add
3240 support_test_compare_string.
3241 (tests): Add tst-test_compare_string.
3242 * support/support_test_compare_string.c: New file.
3243 * support/tst-test_compare_string.c: Likewise.
3245 2018-11-07 Andreas Schwab <schwab@suse.de>
3248 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
3249 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
3252 2018-11-06 Joseph Myers <joseph@codesourcery.com>
3255 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3256 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
3257 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
3258 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3261 2018-11-06 Florian Weimer <fweimer@redhat.com>
3264 * posix/Makefile (routines): Add spawn_faction_addchdir.
3265 (tests): Add tst-spawn-chdir.
3266 * posix/Versions (GLIBC_2.29): Add
3267 posix_spawn_file_actions_addchdir_np.
3268 * posix/spawn_faction_addchdir.c: New file.
3269 * posix/spawn_faction_destroy.c
3270 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
3271 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
3272 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
3274 * posix/tst-spawn-chdir.c: New file.
3275 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
3276 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3277 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3278 posix_spawn_file_actions_addchdir_np.
3279 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3281 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3283 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3284 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3286 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3288 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3290 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3292 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3294 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3296 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3297 (GLIBC_2.29): Likewise.
3298 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3299 (GLIBC_2.29): Likewise.
3300 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3301 (GLIBC_2.29): Likewise.
3302 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3303 (GLIBC_2.29): Likewise.
3304 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3307 (GLIBC_2.29): Likewise.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3309 (GLIBC_2.29): Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3311 (GLIBC_2.29): Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3313 (GLIBC_2.29): Likewise.
3314 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3316 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3318 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3320 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3321 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3323 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3325 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3327 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3330 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3332 * misc/Makefile (tests): Add tst-ldbl-error.
3333 * misc/tst-ldbl-error.c: New file.
3335 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3337 * misc/Makefile (tests): Add tst-ldbl-warn.
3338 * misc/tst-ldbl-warn.c: New file.
3340 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3342 * argp/Makefile (tests): Add tst-ldbl-argp.
3343 * argp/tst-ldbl-argp.c: New file.
3345 2018-11-05 Arjun Shankar <arjun@redhat.com>
3347 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
3348 __gconv_path_elem and call __gconv_get_path unconditionally.
3350 2018-11-05 Andreas Schwab <schwab@suse.de>
3353 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
3354 creating the first helper thread failed.
3356 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3358 * sysdeps/mach/hurd/msync.c: New file.
3360 2018-11-02 Florian Weimer <fweimer@redhat.com>
3362 * support/shell-container.c (copy_func): Call
3363 support_copy_file_range instead of copy_file_range to support
3364 cross-device copies.
3366 2018-11-02 Florian Weimer <fweimer@redhat.com>
3368 * support/test-container.c: Include <libc-pointer-arith.h> for
3371 2018-11-01 Zong Li <zong@andestech.com>
3373 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
3374 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
3375 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
3376 (__FP_FRAC_SET_8): Add implementation for RV32 use.
3378 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
3379 variable to avoid overlap arguments.
3381 2018-11-01 Joseph Myers <joseph@codesourcery.com>
3383 * posix/bug-regex22.c (main): Use puts with distinct error
3384 messages for unexpected success of re_compile_pattern, not printf
3385 with NULL argument to %s.
3387 * stdio-common/bug22.c: Include <libc-diag.h>.
3388 (do_test): Disable -Wformat-overflow= warnings around fprintf
3389 calls outputting more than INT_MAX characters.
3390 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
3391 around printf call with NULL %s argument.
3394 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
3395 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
3397 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3398 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3399 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3400 (__ASSUME_SENDTO_SYSCALL): Likewise.
3401 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3402 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
3404 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3405 (__ASSUME_CONNECT_SYSCALL): Likewise.
3406 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3407 (__ASSUME_RECVFROM_SYSCALL): Likewise.
3408 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
3410 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
3412 [__LINUX_KERNEL_VERSION >= 0x040400]
3413 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3414 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
3417 (setsockopt): Likewise.
3419 2018-11-01 Fredrik Noring <noring@nocrew.org>
3421 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
3422 with the ISA override.
3424 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
3426 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
3429 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3431 * manual/errno.texi (EIEIO): Document how translators should
3432 translate the error message.
3433 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
3434 printing trailing whitespaces refused by git.
3435 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
3436 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3437 * hurd/Makefile (user-interfaces): Add pci.
3439 2018-10-30 Joseph Myers <joseph@codesourcery.com>
3441 * conform/linknamespace.py: New file.
3442 * conform/linknamespace.pl: Remove file.
3443 * conform/Makefile ($(linknamespace-header-tests)): Use
3444 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
3447 2018-10-30 Florian Weimer <fweimer@redhat.com>
3449 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
3452 2018-10-30 Florian Weimer <fweimer@redhat.com>
3454 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
3456 2018-10-30 Florian Weimer <fweimer@redhat.com>
3458 * stdlib/tst-strtod-overflow.c (do_test): Switch to
3459 support_blob_repeat.
3461 2018-10-30 Florian Weimer <fweimer@redhat.com>
3463 Avoid spurious test failures in stdlib/test-bz22786.
3464 * support/Makefile (libsupport-routines): Add blob_repeat.
3465 (tests): Add tst-support_blob_repeat.
3466 * support/blob_repeat.h: New file.
3467 * support/blob_repeat.c: Likewise.
3468 * support/tst-support_blob_repeat.c: Likewise.
3469 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
3470 support_blob_repeat_allocate.
3472 2018-10-30 Andreas Schwab <schwab@suse.de>
3475 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
3476 Don't use tail call.
3477 * elf/tst-unwind-main.c: New file.
3478 * elf/Makefile (tests): Add tst-unwind-main.
3479 (CFLAGS-tst-unwind-main.c): Define.
3481 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
3484 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
3486 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
3488 2018-10-29 Joseph Myers <joseph@codesourcery.com>
3490 * conform/glibcconform.py: Do not import shutil.
3491 (list_exported_functions): Use tempfile.TemporaryDirectory instead
3494 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
3495 critic_missing for versions before 3.4.
3496 * configure: Regenerated.
3497 * manual/install.texi (Tools for Compilation): Document
3498 requirement for Python to build glibc.
3499 * INSTALL: Regenerated.
3500 * Rules [PYTHON]: Make code unconditional.
3501 * benchtests/Makefile [PYTHON]: Likewise.
3502 * conform/Makefile [PYTHON]: Likewise.
3503 * manual/Makefile [PYTHON]: Likewise.
3504 * math/Makefile [PYTHON]: Likewise.
3506 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3508 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
3509 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
3510 answer to interrupt_operation, return EIEIO instead of EINTR.
3511 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
3512 _hurd_intr_rpc_msg_about_to global point to start of controlled
3513 assembly snippet. Make it check canceled flag.
3514 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
3515 the _hurd_intr_rpc_msg_about_to point.
3516 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
3517 issue, remove cancel flag check.
3519 2018-10-26 Joseph Myers <joseph@codesourcery.com>
3521 * scripts/build-many-glibcs.py: Remove compatibility for missing
3522 os.cpu_count and re.fullmatch.
3524 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3527 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
3528 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
3529 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
3531 2018-10-25 Joseph Myers <joseph@codesourcery.com>
3533 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
3536 2018-10-25 Florian Weimer <fweimer@redhat.com>
3540 XFAIL siginfo_t si_band conform test on sparc64.
3541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3542 (__SI_BAND_TYPE): Only override long int default type on sparc64.
3543 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3544 (conformtest-xfail-conds): Add sparc64-linux.
3545 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
3547 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
3549 2018-10-25 Joseph Myers <joseph@codesourcery.com>
3551 * elf/elf.h (NT_MIPS_DSP): New macro.
3552 (NT_MIPS_FP_MODE): Likewise.
3554 2018-10-25 Zong Li <zong@andestech.com>
3556 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
3557 name by adding the file extension (.so).
3559 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3561 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
3562 (test-xfail-ISO11/threads.h/linknamespace,
3563 test-xfail-ISO11/threads.h/conform): Add.
3565 2018-10-24 Joseph Myers <joseph@codesourcery.com>
3567 * math/gen-libm-test.py: Import os.
3568 (ALL_FLOATS_MANUAL): New constant.
3569 (ALL_FLOATS_SUFFIX): Likewise.
3570 (Ulps.all_functions): New function.
3571 (real_all_ulps): Likewise.
3572 (generate_err_table_sub): Likewise.
3573 (generate_err_table): Likewise.
3574 (main): Handle -s and -m options.
3575 * manual/libm-err-tab.pl: Remove.
3576 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
3577 instead of libm-err-tab.pl.
3578 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
3580 * manual/install.texi (Tools for Compilation): Document
3581 requirement for Python to build manual.
3582 * INSTALL: Regenerated.
3584 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3586 * bits/time64.h: New file.
3587 * include/time.h: Replace internal_time_t with __time64_t.
3588 * posix/bits/types (__time64_t): Add.
3589 * stdlib/Makefile: Add bits/time64.h to includes.
3590 * time/tzfile.c: Replace internal_time_t with __time64_t.
3592 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3594 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
3595 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
3596 __posix_spawn_file_actions_init, __posix_spawnattr_init,
3597 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
3598 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
3600 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
3601 * posix/spawn_faction_addclose.c
3602 (__posix_spawn_file_actions_addclose): Add hidden definition.
3603 * posix/spawn_faction_adddup2.c
3604 (__posix_spawn_file_actions_adddup2): Likewise.
3605 * posix/spawn_faction_destroy.c
3606 (__posix_spawn_file_actions_destroy): Likewise.
3607 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
3609 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
3610 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
3611 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
3613 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
3614 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
3617 2018-10-24 Andreas Schwab <schwab@suse.de>
3620 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
3622 * elf/cache.c (print_cache): Likewise.
3624 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3626 * bits/timesize.h: New file.
3627 * stdlib/Makefile (headers): Add bits/timesize.h.
3628 * sysdeps/unix/sysv/linux/bits/msq-pad.h
3629 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
3630 * sysdeps/unix/sysv/linux/bits/sem-pad.h
3631 (__SEM_PAD_AFTER_TIME): Likewise.
3632 * sysdeps/unix/sysv/linux/bits/shm-pad.h
3633 (__SHM_PAD_AFTER_TIME): Likewise.
3634 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
3635 (__MSQ_PAD_BEFORE_TIME): Likewise.
3636 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
3637 (__SEM_PAD_BEFORE_TIME): Likewise.
3638 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
3639 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
3640 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
3641 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
3642 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
3643 (__MSQ_PAD_BEFORE_TIME): Likewise.
3644 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
3645 (__SEM_PAD_BEFORE_TIME): Likewise.
3646 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
3647 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
3648 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
3649 (__MSQ_PAD_BEFORE_TIME): Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
3651 (__SEM_PAD_BEFORE_TIME): Likewise.
3652 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
3653 (__SHM_PAD_BEFORE_TIME): Likewise.
3654 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
3655 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
3656 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
3658 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
3660 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
3661 USE_RDTSCP is defined.
3662 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
3663 USE_RDTSCP is defined.
3665 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3667 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
3671 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
3672 independently of other flags.
3674 2018-10-23 Florian Weimer <fweimer@redhat.com>
3676 * time/tst-mktime2.c (N_STRINGS): Remove.
3677 (set_timezone): New function.
3678 (spring_forward_gap): Call it. Use FAIL_EXIT1.
3679 (mktime_test1): Report localtime failure and check errno value.
3681 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
3682 (do_test): Remove alarm call. Use set_timezone and array_length.
3684 2018-10-23 Andreas Schwab <schwab@suse.de>
3686 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
3687 (__start_context): Use END instead of PSEUDO_END.
3689 2018-10-22 Joseph Myers <joseph@codesourcery.com>
3691 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3694 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3698 * wcsmbs/c32rtomb.c: New file.
3699 * wcsmbs/mbrtoc32.c: Likewise.
3700 * wcsmbs/tst-c32-state.c: Likewise.
3701 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
3702 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
3703 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
3704 (tests): Add tst-c32-state.
3705 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
3708 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
3710 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
3711 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
3713 2018-10-19 Joseph Myers <joseph@codesourcery.com>
3716 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
3717 pair and return 0 in that case, and use saved character to
3718 interpret following character.
3719 * wcsmbs/tst-c16-surrogate.c: New file.
3720 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
3721 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
3722 Depend on $(gen-locales)
3724 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
3727 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3728 (struct siginfo_t): Use correct type for si_band.
3730 2018-10-19 Florian Weimer <fweimer@redhat.com>
3733 * resource/bits/types/struct_rusage.h (struct rusage): Update
3734 comment on struct. Remove extraneous field comment.
3736 2018-10-18 David S. Miller <davem@davemloft.net>
3738 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
3739 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
3740 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
3741 sysdep_routines in subdir elf.
3742 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
3743 version for __vdso_clock_gettime.
3744 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
3746 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3747 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3749 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3751 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
3753 * sysdeps/i386/init-arch.h: Removed.
3754 * sysdeps/i386/i586/init-arch.h: Likewise.
3755 * sysdeps/i386/i686/init-arch.h: Likewise.
3756 * sysdeps/i386/i686/hp-timing.h: Likewise.
3757 * sysdeps/x86_64/hp-timing.h: Likewise.
3758 * sysdeps/i386/isa.h: New file.
3759 * sysdeps/i386/i586/isa.h: Likewise.
3760 * sysdeps/i386/i686/isa.h: Likewise.
3761 * sysdeps/x86_64/isa.h: Likewise.
3762 * sysdeps/x86/hp-timing.h: New file.
3763 * sysdeps/x86/init-arch.h: Include <isa.h>.
3765 2018-10-17 Joseph Myers <joseph@codesourcery.com>
3767 * math/libm-test-pow.inc (pow_test_data): Do not allow
3768 divide-by-zero exception for pow(+/- 0, -Inf).
3770 2018-10-17 Zack Weinberg <zackw@panix.com>
3772 * manual/job.texi (Job Control is Optional): Remove node, as
3773 job control has not been optional in quite some time.
3774 (Job Control): Mention briefly that systems older than
3775 POSIX.1-2001 might not support job control.
3776 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
3777 defined on systems conforming to POSIX.1-2001.
3779 2018-10-17 Arjun Shankar <arjun@redhat.com>
3782 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
3784 * (__gconv_read_conf): Mark function static.
3785 * (once): New static variable.
3786 * (__gconv_load_conf): New function.
3787 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
3788 * iconv/gconv_db.c (once): Remove static variable.
3789 * (__gconv_compare_alias): Use __gconv_load_conf instead of
3791 * (__gconv_find_transform): Likewise.
3792 * iconv/tst-iconv-mt.c: New test.
3793 * iconv/Makefile: Add tst-iconv_mt.
3795 2018-10-17 Joseph Myers <joseph@codesourcery.com>
3797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3799 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
3800 (shmatt_t): Define as __syscall_ulong_t.
3801 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
3802 and [__SHM_PAD_AFTER_TIME].
3803 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
3804 Define shm_segsz and associated padding based on
3805 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
3806 Use __syscall_ulong_t instead of unsigned long int.
3807 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
3809 [__USE_MISC] (struct shm_info): Likewise.
3810 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
3811 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
3812 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
3813 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
3814 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
3815 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
3816 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
3817 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3819 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3820 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3824 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
3825 (SHMLBA): Remove macro.
3826 (__getpagesize): Remove function declaration.
3827 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
3829 (SHMLBA): Remove macro.
3830 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
3832 (SHMLBA): Remove macro.
3833 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
3835 (SHMLBA): Remove macro.
3836 (__getpagesize): Remove function declaration.
3837 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
3839 (SHMLBA): Remove macro.
3840 (__getshmlba): Remove function declaration.
3841 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
3842 (SHMLBA): Remove macro.
3843 (__getpagesize): Remove function declaration.
3844 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
3845 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
3846 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3847 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
3848 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
3849 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
3850 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
3851 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
3852 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
3853 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
3855 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
3858 * nptl/tst-mutex10.c: New File.
3859 * nptl/Makefile (tests): Add tst-mutex10.
3860 (tst-mutex10-ENV): New variable.
3861 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
3862 Ensure that elision path is used if elision is available.
3863 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
3865 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
3867 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
3868 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
3869 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
3870 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
3872 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
3873 (__pthread_mutex_cond_lock_adjust): Likewise.
3874 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3876 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
3877 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3878 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3879 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
3881 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3882 Use atomic_load_relaxed and atomic_store_relaxed.
3883 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
3884 Use atomic_store_relaxed.
3886 2018-10-17 Andreas Schwab <schwab@suse.de>
3888 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
3889 * crypt/badsalttest.c (TIMEOUT): Likewise.
3890 * crypt/sha256c-test.c (TIMEOUT): Likewise.
3891 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
3892 * io/test-lfs.c (TIMEOUT): Likewise.
3893 * libio/tst-atime.c (TIMEOUT): Likewise.
3894 * localedata/tst-leaks.c (TIMEOUT): Likewise.
3895 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
3896 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
3897 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
3898 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
3899 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
3900 * nptl/tst-cond11.c (TIMEOUT): Likewise.
3901 * nptl/tst-cond14.c (TIMEOUT): Likewise.
3902 * nptl/tst-cond15.c (TIMEOUT): Likewise.
3903 * nptl/tst-cond24.c (TIMEOUT): Likewise.
3904 * nptl/tst-cond25.c (TIMEOUT): Likewise.
3905 * nptl/tst-kill2.c (TIMEOUT): Likewise.
3906 * nptl/tst-kill3.c (TIMEOUT): Likewise.
3907 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
3908 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
3909 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
3910 * nptl/tst-once2.c (TIMEOUT): Likewise.
3911 * nptl/tst-once3.c (TIMEOUT): Likewise.
3912 * nptl/tst-once4.c (TIMEOUT): Likewise.
3913 * nptl/tst-robust8.c (TIMEOUT): Likewise.
3914 * nptl/tst-robust9.c (TIMEOUT): Likewise.
3915 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
3916 * nptl/tst-sem14.c (TIMEOUT): Likewise.
3917 * nptl/tst-sem6.c (TIMEOUT): Likewise.
3918 * nptl/tst-signal3.c (TIMEOUT): Likewise.
3919 * nptl/tst-spin4.c (TIMEOUT): Likewise.
3920 * nptl/tst-tls3.c (TIMEOUT): Likewise.
3921 * nptl/tst-tls4.c (TIMEOUT): Likewise.
3922 * posix/tst-chmod.c (TIMEOUT): Likewise.
3923 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
3924 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
3925 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
3926 * posix/tst-regex2.c (TIMEOUT): Likewise.
3927 * posix/tst-waitid.c (TIMEOUT): Likewise.
3928 * rt/tst-aio.c (TIMEOUT): Likewise.
3929 * rt/tst-aio10.c (TIMEOUT): Likewise.
3930 * rt/tst-aio4.c (TIMEOUT): Likewise.
3931 * rt/tst-aio5.c (TIMEOUT): Likewise.
3932 * rt/tst-aio6.c (TIMEOUT): Likewise.
3933 * rt/tst-aio64.c (TIMEOUT): Likewise.
3934 * rt/tst-aio7.c (TIMEOUT): Likewise.
3935 * rt/tst-aio9.c (TIMEOUT): Likewise.
3936 * rt/tst-clock.c (TIMEOUT): Likewise.
3937 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
3938 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
3939 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
3940 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
3941 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
3942 * rt/tst-timer4.c (TIMEOUT): Likewise.
3943 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
3944 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
3945 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
3946 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
3947 * time/tst-ftime.c (TIMEOUT): Likewise.
3948 * timezone/tst-tzset.c (TIMEOUT): Likewise.
3950 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3952 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
3953 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
3956 2018-10-15 Joseph Myers <joseph@codesourcery.com>
3958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3960 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
3961 instead of <bits/wordsize.h>.
3962 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
3963 and [__SEM_PAD_AFTER_TIME].
3964 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
3965 __syscall_ulong_t instead of unsigned long int.
3966 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
3967 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
3968 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
3969 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
3970 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
3971 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
3972 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
3973 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
3974 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3975 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3976 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3978 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
3980 regex: simplify by using intprops.h
3982 * posix/regex_internal.h [_LIBC]: Include intprops.h.
3983 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
3984 intprops.h defines them.
3986 regex: __builtin_expect → __glibc_unlikely
3988 This refactoring was prompted by a problem when the regex code is
3989 used as part of Gnulib and when the builder’s compiler does not grok
3990 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
3991 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
3992 Although this refactoring does not fix the problem directly,
3993 we might as well have Gawk use the now-preferred glibc style for when
3994 __builtin_expect is unavailable.
3995 * posix/regex_internal.h (BE): Remove.
3996 All uses replaced by __glibc_unlikely or __glibc_likely.
3998 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4000 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4002 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4003 instead of <bits/wordsize.h>.
4004 (msgqnum_t): Define as __syscall_ulong_t.
4005 (msglen_t): Likewise.
4006 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4007 and [__MSQ_PAD_AFTER_TIME].
4008 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4009 __syscall_ulong_t instead of unsigned long int.
4010 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4011 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4012 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4014 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4015 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4016 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4017 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4018 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4019 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4020 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4022 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4024 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4025 (struct shmid_ds): Condition padding after time fields on
4027 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4028 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4029 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4031 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4032 (struct semid_ds): Condition padding after time fields on
4034 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4035 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4036 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4037 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4039 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4040 (struct msqid_ds): Condition padding after time fields on
4042 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4043 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4044 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4045 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4047 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4049 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4051 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4053 * libio/tst-readline.c (TIMEOUT): Define.
4055 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4057 mktime fix for Gnulib + coreutils
4059 This fix affects only Gnulib. Problem discovered when
4060 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4062 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4063 Do not define since it is not used. Defining an unused static
4064 function prompts a warning from GCC when Coreutils is configured
4065 with --enable-gcc-warnings.
4067 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4069 * benchtests/scripts/compare_bench.py (main): set float type on
4072 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
4075 * localedata/locales/kl_GL (mon): Update, the relative case.
4076 (alt_mon): Add, fill with month names in the nominative case.
4077 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
4078 (d_fmt): Set to "%b %d %Y".
4080 2018-10-04 Joseph Myers <joseph@codesourcery.com>
4082 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4083 <bits/mman-linux.h>.
4084 (PROT_READ): Don't define here.
4085 (PROT_WRITE): Likewise.
4086 (PROT_EXEC): Likewise.
4087 (PROT_NONE): Likewise.
4088 (PROT_GROWSDOWN): Likewise.
4089 (PROT_GROWSUP): Likewise.
4090 (MAP_SHARED): Likewise.
4091 (MAP_PRIVATE): Likewise.
4092 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
4093 [__USE_MISC] (MAP_FILE): Likewise.
4094 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
4095 [__USE_MISC] (MAP_ANON): Likewise.
4096 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
4097 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
4098 (MCL_CURRENT): Likewise.
4099 (MCL_FUTURE): Likewise.
4100 (MCL_ONFAULT): Likewise.
4101 [__USE_MISC] (MADV_NORMAL): Likewise.
4102 [__USE_MISC] (MADV_RANDOM): Likewise.
4103 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
4104 [__USE_MISC] (MADV_WILLNEED): Likewise.
4105 [__USE_MISC] (MADV_DONTNEED): Likewise.
4106 [__USE_MISC] (MADV_FREE): Likewise.
4107 [__USE_MISC] (MADV_REMOVE): Likewise.
4108 [__USE_MISC] (MADV_DONTFORK): Likewise.
4109 [__USE_MISC] (MADV_DOFORK): Likewise.
4110 [__USE_MISC] (MADV_HWPOISON): Likewise.
4111 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
4112 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
4113 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
4114 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
4115 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
4116 (__MAP_ANONYMOUS): New macro.
4117 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
4118 <bits/mman-linux.h> inclusion.
4119 (MAP_FIXED): Likewise.
4120 (MS_SYNC): Likewise.
4121 (MS_ASYNC): Likewise.
4122 (MS_INVALIDATE): Likewise.
4123 [__USE_MISC] (MADV_MERGEABLE): Likewise.
4124 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
4125 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
4126 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
4127 [__USE_MISC] (MADV_DONTDUMP): Likewise.
4128 [__USE_MISC] (MADV_DODUMP): Likewise.
4129 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4130 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4133 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
4135 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
4136 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
4137 Add test-nldbl-redirect.
4138 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
4139 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
4140 $(objpfx)libnldbl_nonshared.a.
4142 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
4144 * support/support.h (support_objdir_elf_ldso): New variable.
4145 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
4146 * support/Makefile (CFLAGS-support_paths.c): Add definition
4147 for OBJDIR_ELF_LDSO_PATH.
4148 * support/test-container.c (main): Search for the ld.so
4149 which is also used by the testsuite.
4151 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
4154 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
4155 should be "sap" rather than "sab".
4156 (day): Fix spelling of Sunday, should be "sapaat" rather than
4159 2018-10-02 Joseph Myers <joseph@codesourcery.com>
4161 * math/libm-test-fma.inc (fma_test_data): Add more tests.
4163 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
4166 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
4167 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
4168 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
4170 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4172 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
4174 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
4176 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
4178 (CFLAGS-elision-unlock.c): Likewise.
4179 (CFLAGS-elision-timed.c): Likewise.
4180 (CFLAGS-elision-trylock.c): Likewise.
4181 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
4183 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4186 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
4187 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
4188 new fd_to_filename interface.
4189 * libio/freopen64.c (freopen64): Likewise.
4190 * libio/tst-memstream.h: New file.
4191 * libio/tst-memstream4.c: Likewise.
4192 * libio/tst-wmemstream4.c: Likewise.
4193 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
4194 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
4195 and remove internal dynamic allocation.
4197 2018-10-01 Joseph Myers <joseph@codesourcery.com>
4199 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4200 (MREMAP_MAYMOVE): Do not define here.
4201 [__USE_GNU] (MREMAP_FIXED): Likewise.
4202 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
4203 (MREMAP_MAYMOVE): Define here instead.
4204 [__USE_GNU] (MREMAP_FIXED): Likewise.
4205 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
4206 (MREMAP_MAYMOVE): Remove.
4207 [__USE_GNU] (MREMAP_FIXED): Likewise.
4209 2018-09-28 Joseph Myers <joseph@codesourcery.com>
4211 * math/fromfp.h: Do not include <math_private.h>.
4212 * math/s_cacosh_template.c: Likewise.
4213 * math/s_casin_template.c: Likewise.
4214 * math/s_casinh_template.c: Likewise.
4215 * math/s_ccos_template.c: Likewise.
4216 * math/s_cproj_template.c: Likewise.
4217 * math/s_fdim_template.c: Likewise.
4218 * math/s_fmaxmag_template.c: Likewise.
4219 * math/s_fminmag_template.c: Likewise.
4220 * math/s_iseqsig_template.c: Likewise.
4221 * math/s_ldexp_template.c: Likewise.
4222 * math/s_nextdown_template.c: Likewise.
4223 * math/w_log1p_template.c: Likewise.
4224 * math/w_scalbln_template.c: Likewise.
4225 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4226 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4227 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4228 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4229 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
4230 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
4231 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4232 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4233 * sysdeps/i386/fpu/s_atanl.c: Likewise.
4234 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4235 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4236 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4237 * sysdeps/i386/fpu/s_logbl.c: Likewise.
4238 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4239 * sysdeps/i386/fpu/s_significandl.c: Likewise.
4240 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
4241 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4246 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4247 * sysdeps/ieee754/k_standardf.c: Likewise.
4248 * sysdeps/ieee754/k_standardl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4251 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4257 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4258 * sysdeps/ieee754/s_signgam.c: Likewise.
4259 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4260 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
4261 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
4262 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4263 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4264 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4265 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4266 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4267 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4268 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4269 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4270 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4271 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4272 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4273 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4274 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4275 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4276 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4277 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4278 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4279 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4280 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4281 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4282 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4283 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4284 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4285 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4286 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4287 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4288 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4289 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4290 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4291 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4292 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4293 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4294 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4295 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
4297 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4299 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
4302 * sysdeps/i386/dl-cet.c: Removed.
4303 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
4305 (_dl_runtime_profile_shstk): Likewise.
4306 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
4307 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
4309 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4312 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
4313 do_test_with_invalid_iov): New tests.
4314 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
4315 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
4316 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
4318 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4319 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4320 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4322 2018-09-27 Joseph Myers <joseph@codesourcery.com>
4324 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4325 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
4326 (MATH_REDIRECT_BINARY_ARGS): New macro.
4327 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4328 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
4329 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
4331 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
4332 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4333 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
4334 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4344 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
4345 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
4346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
4350 * sysdeps/generic/math_private_calls.h
4351 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
4352 Do not declare and define as an inline function.
4353 * math/divtc3.c (__divtc3): Use copysign functions instead of
4354 __copysign variants.
4355 * math/multc3.c (__multc3): Likewise.
4356 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
4357 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
4358 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4359 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4361 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4362 (__ieee754_yn): Likewise.
4363 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4364 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
4365 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4366 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4367 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
4369 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
4370 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4376 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4377 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4379 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4380 (__ieee754_ynf): Likewise.
4381 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4382 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4383 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4386 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4387 (__ieee754_ynl): Likewise.
4388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4389 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4390 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4393 (__ieee754_ynl): Likewise.
4394 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
4395 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4396 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4397 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4399 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4401 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
4402 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4403 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
4404 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4405 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4407 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4408 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
4409 using MATH_REDIRECT.
4410 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
4412 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4415 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
4416 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
4420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
4421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
4422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
4423 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4424 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4426 (round): Redirect to __round.
4427 (__roundl): Call round instead of __round.
4428 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
4430 [_ARCH_PWR5X] (__roundf): Likewise.
4431 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
4432 functions instead of __round variants.
4433 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4434 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4438 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4440 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
4443 (__ieee754_expl): Call roundl instead of __roundl.
4445 2018-09-27 Andreas Schwab <schwab@suse.de>
4448 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
4449 (do_test): Make st1 static.
4451 2018-09-26 Andreas Schwab <schwab@suse.de>
4454 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
4455 * elf/Makefile (tests): Add tst-unwind-ctor.
4456 (modules-names): Add tst-unwind-ctor-lib.
4457 ($(objpfx)tst-unwind-ctor): Depend on
4458 $(objpfx)tst-unwind-ctor-lib.so.
4460 2018-09-26 Joseph Myers <joseph@codesourcery.com>
4462 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
4463 file. Most contents moved from ....
4464 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
4465 and include <bits/mman-map-flags-generic.h>.
4466 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4467 (sysdep_headers): Add bits/mman-map-flags-generic.h.
4468 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
4469 <bits/mman-map-flags-generic.h>.
4470 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
4471 macros defined in <bits/mman-map-flags-generic.h>.
4472 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
4473 <bits/mman-map-flags-generic.h>.
4474 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
4475 defined in <bits/mman-map-flags-generic.h>.
4477 2018-09-26 Andreas Schwab <schwab@suse.de>
4479 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
4482 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
4483 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4484 Fangrui Song <maskray@google.com>
4487 * config.make.in (have-textrel_ifunc): New define.
4488 * configure.ac: Add check if linker supports textrel relocation with
4490 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
4492 (CFLAGS-tst-ifunc-textrel.c): New rule.
4493 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
4494 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
4495 * elf/tst-ifunc-textrel.c: New file.
4497 2018-09-25 Joseph Myers <joseph@codesourcery.com>
4499 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4500 <bits/procfs-prregset.h>.
4501 (prgregset_t): Define using __prgregset_t.
4502 (prfpregset_t): Define using __prfpregset_t.
4503 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4504 (sysdep_headers): Add bits/procfs-prregset.h.
4505 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
4506 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
4507 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
4508 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
4510 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4511 <bits/procfs-id.h> and <bits/procfs-extra.h>.
4512 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
4514 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4515 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
4516 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
4517 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
4518 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
4519 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
4520 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
4521 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
4522 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
4523 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
4524 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
4525 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
4526 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
4527 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
4528 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
4529 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
4530 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
4531 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
4532 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
4533 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
4534 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
4535 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
4536 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4537 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
4539 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
4540 AArch64 version. Include <bits/procfs.h>.
4541 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4542 (sysdep_headers): Add bits/procfs.h.
4543 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
4544 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
4545 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
4546 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
4547 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
4548 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
4549 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
4550 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
4551 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
4552 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
4553 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
4554 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
4555 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
4556 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4557 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
4558 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4559 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
4561 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4563 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
4566 2018-09-25 Arjun Shankar <arjun@redhat.com>
4568 * iconv/gconv_int.h (__gconv_path_elem): Remove.
4569 (__gconv_max_path_elem_len): Likewise.
4570 (__gconv_nmodules): Likewise.
4571 (__gconv_get_path): Likewise.
4572 (path_elem): Move to ...
4573 * iconv/gconv_conf.c: ... here.
4574 (__gconv_get_path): Mark function static.
4575 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
4576 * iconv/gconv_open.c: ... here.
4578 2018-09-24 Andreas Schwab <schwab@suse.de>
4580 * scripts/haveversions.awk: New file.
4581 * Makerules ($(common-objpfx)Versions.def)
4582 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4583 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4585 * Makeconfig ($(common-objpfx)Versions.def)
4586 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4587 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4589 ($(common-objpfx)Versions.mk): New rule. Include it.
4590 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
4591 Emit error if build-obsolete-nsl = yes.
4592 * manual/install.texi (Configuring and compiling): Describe
4593 --enable-obsolete-nsl as unavaiable after version 2.28.
4594 * INSTALL: Regenerate.
4596 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4598 * NEWS: Add note about new TLE support on powerpc64le.
4599 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
4600 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
4602 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
4603 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
4604 * sysdeps/powerpc/powerpc32/sysdep.h,
4605 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
4606 ABORT_TRANSACTION): Remove macros.
4607 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
4608 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
4609 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
4611 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4612 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
4614 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
4616 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
4619 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
4620 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
4621 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
4622 which is the same as in it_IT.
4623 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
4624 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
4626 2018-09-20 Joseph Myers <joseph@codesourcery.com>
4628 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4629 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
4630 using MATH_REDIRECT.
4631 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
4633 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4635 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4637 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
4640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
4641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
4642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
4643 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4644 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4645 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4646 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4647 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
4648 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
4649 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4651 (ceil): Redirect to __ceil.
4652 (floor): Redirect to __floor.
4653 (trunc): Redirect to __trunc.
4654 (__truncl): Call trunc instead of __trunc.
4655 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
4657 [_ARCH_PWR5X] (__truncf): Likewise.
4658 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
4659 trunc functions instead of __trunc variants.
4660 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4662 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4664 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4666 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4669 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
4670 [__i586__ || __pentium__].
4671 [__i486__]: Handle explicitly.
4672 (HAS_CPUID): Define to 1 if above macros are undefined.
4673 (HAS_I586): Likewise.
4674 (HAS_I686): Likewise.
4676 2018-09-20 Florian Weimer <fweimer@redhat.com>
4678 * misc/tst-gethostid.c: New file.
4679 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
4680 (tst-gethostid): Link with -ldl.
4682 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
4684 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
4685 value from gethostbyname_r.
4687 2018-09-19 Carlos O'Donell <carlos@redhat.com>
4689 * stdlib/tst-setcontext9.c (f1): Rename to...
4691 (f1b): New function implementing lower half of f1 in alternate stack.
4693 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
4695 Fix mktime localtime offset confusion
4697 * include/time.h (__mktime_internal): The localtime offset is now
4698 of type long int instead of time_t. This is the longstanding type
4699 in glibc, and it is more than enough to represent difference
4700 between localtime and gmtime even if it is 32 bits and time_t is
4701 64. Changing it now will let us avoid an unnecessary change when
4702 time_t is widened to 64 bits on 32-bit platforms.
4703 * time/mktime-internal.h (mktime_offset_t): Now long int.
4705 Merge mktime, timegm from upstream Gnulib
4706 [BZ #23603][BZ #16346]
4707 This fixes some obscure problems with integer overflow.
4708 Although it looks scary, it is almost all a byte-for-byte copy
4709 from Gnulib, and the Gnulib code has been tested reasonably well.
4710 * include/intprops.h: New file, copied from Gnulib.
4711 * include/verify.h, time/mktime-internal.h:
4712 New tiny files, simplified from Gnulib.
4713 * time/mktime.c: Copy from Gnulib. This has the following changes:
4714 Do not include config.h if DEBUG_MKTIME is nonzero.
4715 Include stdbool.h, intprops.h, verify.h.
4716 Include string.h only if needed.
4717 Include stdlib.h on MS-Windows.
4718 Include mktime-internal.h.
4719 (DEBUG_MKTIME): Default to 0, and simplify later uses.
4720 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
4721 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
4722 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
4723 simplify later conditionals; default the others to zero. Use
4724 these conditionals to express only the code needed on the current
4725 platform. In uses of these conditionals, explicitly spell out how
4726 _LIBC affects things, so it’s easier to review from a glibc
4728 (WRAPV): Remove; no longer needed now that we have
4729 systematic overflow checking.
4730 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
4731 compartmentalize tzset issues. Move system-dependent tzsettish
4732 code here from mktime.
4733 (verify): Remove; now done by verify.h. All uses changed.
4734 (long_int): Use a more-conservative definition, to avoid
4736 (SHR): Remove, replacing with ...
4737 (shr): New function, which means we needn’t worry about side
4738 effects in args, and conversion analysis is simpler.
4739 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
4740 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
4741 (time_t_avg, time_t_add_ok): Remove.
4742 (mktime_min, mktime_max): New constants.
4743 (leapyear, isdst_differ): Use bool for booleans.
4744 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
4745 Use long_int, not time_t, for mktime differences.
4746 (long_int_avg): New function, replacing time_t_avg.
4747 INT_ADD_WRAPV replaces time_t_add_ok.
4748 (guess_time_tm): 6th arg is now long_int, not time_t const *.
4750 (convert_time): New function.
4751 (ranged_convert): Use it.
4752 (__mktime_internal): Last arg now points to mktime_offset_t, not
4753 time_t. All uses changed. This is a no-op on glibc, where
4754 mktime_offset_t is always time_t. Use int, not time_t, for UTC
4755 offset guess. Directly check for integer overflow instead of
4756 using a heuristic that works only 99.9...% of the time.
4757 Access *OFFSET only once, to avoid an unlikely race if the
4758 compiler delays a load and if this cascades into a signed integer
4760 (mktime): Move tzsettish code to my_tzset, and move
4761 localtime_offset to within mktime so that it doesn’t
4762 need a separate ifdef.
4763 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
4764 instead of localtime.
4765 * time/timegm.c: Copy from Gnulib. This has the following changes:
4766 Include mktime-internal.h.
4767 [!_LIBC]: Include config.h and time.h. Do not include
4768 timegm.h or time_r.h. Make __mktime_internal a macro,
4769 and include mktime-internal.h to get its declaration.
4770 (timegm): Temporary is now mktime_offset_t, not time_t.
4771 This affects only Gnulib.
4773 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
4776 * string/test-strstr.c (pr23637): New function.
4777 (test_main): Add tests with longer needles.
4778 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
4779 * string/strstr.c (AVAILABLE): Likewise.
4781 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
4783 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
4785 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
4787 * NEWS: Mention pow improvements.
4788 * math/Makefile (type-double-routines): Add e_pow_log_data.
4789 * sysdeps/generic/math_private.h (__exp1): Remove.
4790 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
4791 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
4792 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
4794 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
4795 (exp_inline): Remove.
4796 (__ieee754_exp): Only single double input is handled.
4797 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
4798 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
4799 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
4800 (__pow_log_data): Define.
4801 * sysdeps/ieee754/dbl-64/upow.h: Remove.
4802 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
4803 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
4804 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
4806 (CFLAGS-e_pow-fma4.c): Likewise.
4808 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
4810 Simplify tzfile fstat failure code
4812 * time/tzfile.c (__tzfile_read): Simplify slightly.
4814 Fix tzfile low-memory assertion failure
4816 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
4817 when registering time zone abbreviations.
4819 2018-09-18 Joseph Myers <joseph@codesourcery.com>
4821 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
4822 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
4823 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
4824 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
4825 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
4826 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
4827 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
4828 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4829 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4831 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
4833 (__ceill): Call ceil instead of __ceil.
4834 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
4836 (__floorl): Call floor instead of __floor.
4838 2018-09-17 Joseph Myers <joseph@codesourcery.com>
4840 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4841 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
4842 using MATH_REDIRECT.
4843 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
4845 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
4846 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4848 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
4849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4852 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
4853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
4854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
4855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
4856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
4857 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4858 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4861 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4862 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4863 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
4865 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
4866 functions instead of __ceil variants.
4867 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4868 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4870 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4872 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4873 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4875 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4876 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4879 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
4881 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
4882 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
4883 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
4884 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
4885 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
4886 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
4887 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
4888 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
4889 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
4890 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4891 (ILL_BADIADDR): Remove constant.
4892 (TRAP_BRANCH): Likewise.
4893 (TRAP_HWBKPT): Likewise.
4895 2018-09-14 Joseph Myers <joseph@codesourcery.com>
4898 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
4899 Remove [_MIPS_SIM = _ABIN32] conditional case.
4900 (struct elf_prpsinfo): Likewise.
4903 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
4904 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
4905 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
4907 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
4908 elf_prpsinfo): Likewise.
4909 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
4910 elf_prpsinfo): Likewise.
4911 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
4914 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4915 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
4916 using MATH_REDIRECT.
4917 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
4919 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
4920 * sysdeps/alpha/fpu/s_rint.c: Likewise.
4921 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
4922 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4925 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
4926 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4927 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4928 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4929 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
4930 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
4931 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
4932 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
4933 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
4934 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4935 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4936 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
4937 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
4939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4942 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4943 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4944 * sysdeps/x86_64/fpu/math_private.h: Remove file.
4945 * math/e_scalb.c (invalid_fn): Use rint functions instead of
4947 * math/e_scalbf.c (invalid_fn): Likewise.
4948 * math/e_scalbl.c (invalid_fn): Likewise.
4949 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4951 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4953 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4954 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
4955 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4957 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4959 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4961 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
4962 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
4964 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4965 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
4967 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4968 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
4969 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4970 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
4971 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4972 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
4973 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4974 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
4975 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4976 && !NO_MATH_REDIRECT] (floor): Likewise.
4977 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
4979 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
4980 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4981 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4982 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
4983 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4984 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4986 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
4987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
4988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
4989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
4990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
4991 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4992 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4995 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4996 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4997 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
4999 [_ARCH_PWR5X] (__floorf): Likewise.
5000 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5002 [__SSE4_1__] (__floorf): Likewise.
5003 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5004 instead of __floor variants.
5005 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5006 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5007 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5008 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5009 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5010 * math/w_tgamma_compat.c (__tgamma): Likewise.
5011 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5012 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5013 * math/w_tgammal_compat.c (__tgammal): Likewise.
5014 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5017 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5018 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5019 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5022 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5023 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5025 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5026 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5029 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5031 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5032 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5033 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5034 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5035 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5036 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5038 2018-09-12 Joseph Myers <joseph@codesourcery.com>
5040 * elf/Makefile (modules-names-tests): New variable.
5042 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5044 * NEWS: Mention log2 improvements.
5045 * math/Makefile (type-double-routines): Add e_log2_data.
5046 * sysdeps/i386/fpu/e_log2_data.c: New file.
5047 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5048 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5049 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5050 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5051 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5052 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5054 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5056 * NEWS: Mention log improvement.
5057 * math/Makefile (type-double-routines): Add e_log_data.
5058 * sysdeps/i386/fpu/e_log_data.c: New file.
5059 * sysdeps/ia64/fpu/e_log_data.c: New file.
5060 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5061 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5062 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5063 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5064 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5065 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5067 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5068 Xuepeng Guo <xuepeng.guo@intel.com>
5071 * sysdeps/i386/start.S: Include <sysdep.h>
5072 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
5073 enabled. Add cfi_undefined (eip).
5075 2018-09-11 Joseph Myers <joseph@codesourcery.com>
5077 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
5079 (EXTRACT_WORDS64): Likewise.
5080 (INSERT_WORDS64): Likewise.
5081 (GET_FLOAT_WORD): Likewise.
5082 (SET_FLOAT_WORD): Likewise.
5084 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
5086 (Config.build_gcc): Use --disable-libsanitizer for first GCC
5087 build, but not for second build if --full-gcc. Use
5088 --enable-languages=all for second build if --full-gcc.
5089 (get_parser): Add --full-gcc option.
5090 (main): Update call to Context.
5092 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
5095 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
5096 Single Quotation Mark).
5097 (thousands_sep): Likewise.
5098 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
5099 * localedata/locales/it_IT (thousands_sep): Use ".".
5100 (grouping): Use "3;3".
5102 2018-09-10 Joseph Myers <joseph@codesourcery.com>
5104 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5105 x86_64 and i686 configs using --enable-obsolete-rpc
5106 --enable-obsolete-nsl.
5108 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5110 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5112 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5114 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5115 Increment size of new_argv by one.
5117 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
5120 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
5121 * localedata/locales/ar_IN (d_fmt): Likewise.
5122 * localedata/locales/bhb_IN (d_fmt): Likewise.
5123 * localedata/locales/bho_IN (d_fmt): Likewise.
5124 * localedata/locales/bn_BD (d_fmt): Likewise.
5125 * localedata/locales/bn_IN (d_fmt): Likewise.
5126 * localedata/locales/doi_IN (d_fmt): Likewise.
5127 * localedata/locales/gu_IN (d_fmt): Likewise.
5128 * localedata/locales/hi_IN (d_fmt): Likewise.
5129 * localedata/locales/hne_IN (d_fmt): Likewise.
5130 * localedata/locales/kn_IN (d_fmt): Likewise.
5131 * localedata/locales/mag_IN (d_fmt): Likewise.
5132 * localedata/locales/mai_IN (d_fmt): Likewise.
5133 * localedata/locales/mjw_IN (d_fmt): Likewise.
5134 * localedata/locales/ml_IN (d_fmt): Likewise.
5135 * localedata/locales/mni_IN (d_fmt): Likewise.
5136 * localedata/locales/mr_IN (d_fmt): Likewise.
5137 * localedata/locales/pa_IN (d_fmt): Likewise.
5138 * localedata/locales/raj_IN (d_fmt): Likewise.
5139 * localedata/locales/sat_IN (d_fmt): Likewise.
5140 * localedata/locales/sd_IN (d_fmt): Likewise.
5141 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
5142 * localedata/locales/ta_IN (d_fmt): Likewise.
5143 * localedata/locales/ta_LK (d_fmt): Likewise.
5144 * localedata/locales/tcy_IN (d_fmt): Likewise.
5145 * localedata/locales/ur_IN (d_fmt): Likewise.
5147 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
5148 * localedata/locales/ks_IN (d_fmt): Likewise.
5149 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
5151 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
5152 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
5153 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
5154 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
5156 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5158 * NEWS: Mention exp and exp2 improvements.
5159 * math/Makefile (libm-support): Remove t_exp.
5160 (type-double-routines): Add math_err and e_exp_data.
5161 * sysdeps/aarch64/libm-test-ulps: Update.
5162 * sysdeps/arm/libm-test-ulps: Update.
5163 * sysdeps/i386/fpu/e_exp_data.c: New file.
5164 * sysdeps/i386/fpu/math_err.c: New file.
5165 * sysdeps/i386/fpu/t_exp.c: Remove.
5166 * sysdeps/ia64/fpu/e_exp_data.c: New file.
5167 * sysdeps/ia64/fpu/math_err.c: New file.
5168 * sysdeps/ia64/fpu/t_exp.c: Remove.
5169 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
5170 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
5171 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
5172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
5173 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
5174 * sysdeps/ieee754/dbl-64/math_config.h: New file.
5175 * sysdeps/ieee754/dbl-64/math_err.c: New file.
5176 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
5177 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
5178 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
5179 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
5180 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
5181 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
5182 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
5183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5186 2018-09-05 Joseph Myers <joseph@codesourcery.com>
5188 * sysdeps/alpha/fpu/math_private.h: Remove.
5190 * sysdeps/generic/math_private.h
5191 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
5192 Move this inline function ....
5193 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
5194 * include/math.h [!_ISOMAC]: To here....
5196 2018-09-04 Joseph Myers <joseph@codesourcery.com>
5198 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
5200 [!FE_HAVE_ROUNDING_MODES]: And this code ....
5201 * include/fenv.h [!_ISOMAC]: ... to here.
5202 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
5203 (feraiseexcept): Likewise.
5204 * math/fromfp.h: Do not include <fenv_private.h>.
5205 * math/s_cexp_template.c: Likewise.
5206 * math/s_csin_template.c: Likewise.
5207 * math/s_csinh_template.c: Likewise.
5208 * math/s_ctan_template.c: Likewise.
5209 * math/s_ctanh_template.c: Likewise.
5210 * math/s_iseqsig_template.c: Likewise.
5211 * math/w_acos_compat.c: Likewise.
5212 * math/w_acosf_compat.c: Likewise.
5213 * math/w_acosl_compat.c: Likewise.
5214 * math/w_asin_compat.c: Likewise.
5215 * math/w_asinf_compat.c: Likewise.
5216 * math/w_asinl_compat.c: Likewise.
5217 * math/w_j0_compat.c: Likewise.
5218 * math/w_j0f_compat.c: Likewise.
5219 * math/w_j0l_compat.c: Likewise.
5220 * math/w_j1_compat.c: Likewise.
5221 * math/w_j1f_compat.c: Likewise.
5222 * math/w_j1l_compat.c: Likewise.
5223 * math/w_jn_compat.c: Likewise.
5224 * math/w_jnf_compat.c: Likewise.
5225 * math/w_log10_compat.c: Likewise.
5226 * math/w_log10f_compat.c: Likewise.
5227 * math/w_log10l_compat.c: Likewise.
5228 * math/w_log2_compat.c: Likewise.
5229 * math/w_log2f_compat.c: Likewise.
5230 * math/w_log2l_compat.c: Likewise.
5231 * math/w_log_compat.c: Likewise.
5232 * math/w_logf_compat.c: Likewise.
5233 * math/w_logl_compat.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5239 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5240 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5241 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5242 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5243 * sysdeps/ieee754/k_standardl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5256 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5257 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5261 * math/w_ilogb_template.c: Include <fenv.h> instead of
5263 * math/w_llogb_template.c: Likewise.
5264 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5265 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5267 2018-09-03 Joseph Myers <joseph@codesourcery.com>
5269 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
5270 * math/fromfp.h: Include <fenv_private.h>.
5271 * math/math-narrow.h: Likewise.
5272 * math/s_cexp_template.c: Likewise.
5273 * math/s_csin_template.c: Likewise.
5274 * math/s_csinh_template.c: Likewise.
5275 * math/s_ctan_template.c: Likewise.
5276 * math/s_ctanh_template.c: Likewise.
5277 * math/s_iseqsig_template.c: Likewise.
5278 * math/w_acos_compat.c: Likewise.
5279 * math/w_acosf_compat.c: Likewise.
5280 * math/w_acosl_compat.c: Likewise.
5281 * math/w_asin_compat.c: Likewise.
5282 * math/w_asinf_compat.c: Likewise.
5283 * math/w_asinl_compat.c: Likewise.
5284 * math/w_ilogb_template.c: Likewise.
5285 * math/w_j0_compat.c: Likewise.
5286 * math/w_j0f_compat.c: Likewise.
5287 * math/w_j0l_compat.c: Likewise.
5288 * math/w_j1_compat.c: Likewise.
5289 * math/w_j1f_compat.c: Likewise.
5290 * math/w_j1l_compat.c: Likewise.
5291 * math/w_jn_compat.c: Likewise.
5292 * math/w_jnf_compat.c: Likewise.
5293 * math/w_llogb_template.c: Likewise.
5294 * math/w_log10_compat.c: Likewise.
5295 * math/w_log10f_compat.c: Likewise.
5296 * math/w_log10l_compat.c: Likewise.
5297 * math/w_log2_compat.c: Likewise.
5298 * math/w_log2f_compat.c: Likewise.
5299 * math/w_log2l_compat.c: Likewise.
5300 * math/w_log_compat.c: Likewise.
5301 * math/w_logf_compat.c: Likewise.
5302 * math/w_logl_compat.c: Likewise.
5303 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5304 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5305 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5306 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5309 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5310 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5311 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5331 * sysdeps/ieee754/float128/float128_private.h: Likewise.
5332 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5333 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5335 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5336 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5337 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5338 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5339 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5340 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5341 * sysdeps/ieee754/k_standardl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5344 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5349 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5354 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5357 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5359 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5361 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5362 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5367 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5368 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5372 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5373 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5378 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5379 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5380 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5381 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5382 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5383 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5384 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5385 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5386 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5387 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5388 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5389 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5390 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5391 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5392 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5393 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5394 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5395 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5396 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5397 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5398 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5399 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5400 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5401 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5402 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5403 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5404 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5405 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5406 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5407 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5408 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5409 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5410 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5411 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5412 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5414 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5417 * include/stdio.h (__libc_fatal): Mention newline in comment.
5418 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
5419 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
5420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5421 * nss/nsswitch.c (__nss_next2): Likewise.
5422 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
5423 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
5424 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
5425 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5426 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
5427 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
5428 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
5429 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
5430 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
5431 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
5432 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
5433 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5434 (__netlink_assert_response): Likewise.
5436 2018-08-31 Joseph Myers <joseph@codesourcery.com>
5438 * conform/glibcconform.py: New file.
5439 * conform/list-header-symbols.py: Likewise.
5440 * conform/list-header-symbols.pl: Remove.
5441 * conform/Makefile (tests-special): Only add linknamespace tests
5443 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
5445 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
5448 * support/Makefile (libsupport-routines): Add
5449 support_copy_file_range and xcopy_file_range.
5450 * support/support.h: Include <sys/types.h>.
5451 (support_copy_file_range): New prototype.
5452 * support/support_copy_file_range.c: New file. Copied and
5453 modified from io/copy_file_range-compat.c.
5454 * support/test-container.c (copy_one_file): Call xcopy_file_rang
5455 instead of copy_file_range.
5456 * support/xcopy_file_range.c: New file.
5457 * support/xunistd.h (xcopy_file_range): New prototype.
5459 2018-08-30 Carlos O'Donell <carlos@redhat.com>
5461 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
5462 xpthread_create and xpthread_join.
5464 2018-08-30 Florian Weimer <fweimer@redhat.com>
5466 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
5468 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
5470 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
5473 2018-08-29 Joseph Myers <joseph@codesourcery.com>
5475 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
5476 and minus_oflow as non-finite.
5478 2018-08-28 Joseph Myers <joseph@codesourcery.com>
5480 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
5481 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
5482 moved to fenv_private.h except for ...
5483 (TOINT_INTRINSICS): Kept in math_private.h.
5484 (roundtoint): Likewise.
5485 (converttoint): Likewise.
5486 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
5487 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5488 * sysdeps/arm/math_private.h: Remove.
5489 * sysdeps/generic/fenv_private.h: New file. Contents moved from
5491 * sysdeps/generic/math_private.h: ... this file. Include
5492 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
5493 Include <fenv_private.h>. Remove functions and macros moved to
5495 * sysdeps/i386/fpu/math_private.h: Remove.
5496 * sysdeps/mips/math_private.h: Move to ....
5497 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
5498 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
5499 [__mips_hard_float] conditional. Include next <fenv_private.h>.
5500 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
5501 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5502 * sysdeps/powerpc/fpu/math_private.h: Do not include
5504 * sysdeps/riscv/rvf/math_private.h: Move to ....
5505 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
5506 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
5508 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
5509 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5510 * sysdeps/sparc/fpu/math_private.h: Remove.
5511 * sysdeps/i386/fpu/fenv_private.h: Move to ....
5512 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
5513 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
5515 * sysdeps/x86_64/fpu/math_private.h: Do not include
5516 <sysdeps/i386/fpu/fenv_private.h>.
5518 2018-08-28 Florian Weimer <fweimer@redhat.com>
5521 * posix/tst-regcomp-truncated.c: New file.
5522 * posix/Makefile (tests): Add it.
5523 (tst-regcomp-truncated.out): Depend on generated locales.
5525 2018-08-28 Florian Weimer <fweimer@redhat.com>
5527 * support/test-container.c (main): Treat unshare failure with
5528 EPERM as an unsupported test.
5530 2018-08-28 Florian Weimer <fweimer@redhat.com>
5533 nscd: Fix use-after-free in addgetnetgrentX and its callers.
5534 * nscd/netgroupcache.c
5535 (addgetnetgrentX): Add tofreep parameter. Do not free
5536 heap-allocated buffer.
5537 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
5538 (addgetnetgrentX_ignore): New function.
5539 (addgetnetgrent): Call it.
5540 (readdgetnetgrent): Likewise.
5542 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5544 * string/memmem.c: Use memcmp for first match.
5546 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5549 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
5551 2018-08-27 DJ Delorie <dj@redhat.com>
5553 * support/Makefile (others): Don't list programs explicitly as a
5554 dependency of "others".
5556 2018-08-27 Joseph Myers <joseph@codesourcery.com>
5558 * sysdeps/generic/math-tests-trap-force.h: New file.
5559 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
5560 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
5561 * sysdeps/powerpc/math-tests.h: Remove file.
5562 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
5564 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
5565 Torvald Riegel <triegel@redhat.com>
5568 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
5569 Update r to include the set wake-request flag if waiters are
5570 remaining after spinning.
5572 2018-08-27 Joseph Myers <joseph@codesourcery.com>
5574 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
5576 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
5579 regex: fix uninitialized memory access
5580 I introduced this bug into gnulib in commit
5581 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
5582 eventually it was merged into glibc. The bug was found by
5583 project-repo <bugs@feusi.co> and reported here:
5584 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
5585 Diagnosis and draft fix reported by Assaf Gordon here:
5586 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
5587 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
5588 * posix/regex_internal.c (build_wcs_upper_buffer):
5589 Fix bug when mbrtowc returns 0.
5591 2018-08-24 Carlos O'Donell <carlos@redhat.com>
5593 * po/be.po: Update translation.
5595 2018-08-24 DJ Delorie <dj@delorie.com>
5597 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
5600 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5603 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
5604 create temporary files in source tree.
5606 2018-08-24 Joseph Myers <joseph@codesourcery.com>
5608 * sysdeps/generic/math-tests-trap.h: New file.
5609 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
5610 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
5611 * sysdeps/aarch64/math-tests.h: Remove file.
5612 * sysdeps/arm/math-tests.h: Likewise.
5613 * sysdeps/riscv/math-tests.h: Likewise.
5614 * sysdeps/aarch64/math-tests-trap.h: New file.
5615 * sysdeps/arm/math-tests-trap.h: Likewise.
5616 * sysdeps/riscv/math-tests-trap.h: Likewise.
5618 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
5620 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
5621 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
5622 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
5623 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
5624 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
5625 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
5629 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5630 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5632 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5633 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
5634 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
5635 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
5636 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5637 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5639 2018-08-23 Joseph Myers <joseph@codesourcery.com>
5641 * sysdeps/generic/math-tests-exceptions.h: New file.
5642 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
5643 (EXCEPTION_TESTS_float): Do not define here.
5644 (EXCEPTION_TESTS_double): Likewise.
5645 (EXCEPTION_TESTS_long_double): Likewise.
5646 (EXCEPTION_TESTS_float128): Likewise.
5647 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
5649 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
5650 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
5651 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
5652 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
5653 * sysdeps/mips/math-tests.h: Likewise.
5654 * sysdeps/nios2/math-tests.h: Likewise.
5655 * sysdeps/riscv/math-tests.h [!__riscv_flen]
5656 (EXCEPTION_TESTS_float): Do not define here.
5657 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
5658 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
5659 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
5661 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
5663 * NEWS: Move optimized sinf entry to 2.29.
5665 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
5667 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
5669 2018-08-22 DJ Delorie <dj@redhat.com>
5671 * Makefile (testroot.pristine): New rules to initialize the
5672 test-in-container "testroot".
5673 * Makerules (all-testsuite): Add tests-container.
5674 * Rules (tests-expected): Add tests-container.
5675 (binaries-all-tests): Likewise.
5676 (tests-container): New, run these tests in the testroot container.
5677 * support/Makefile (others): Add *-container, support_paths.c,
5678 xmkdirp, and links-dso-program.
5679 * support/links-dso-program-c.c: New.
5680 * support/links-dso-program.cc: New.
5681 * support/test-container.c: New.
5682 * support/shell-container.c: New.
5683 * support/echo-container.c: New.
5684 * support/true-container.c: New.
5685 * support/xmkdirp.c: New.
5686 * support/xsymlink.c: New.
5687 * support/support_paths.c: New.
5688 * support/support.h: Add support paths prototypes.
5689 * support/xunistd.h: Add xmkdirp () and xsymlink ().
5691 * nss/tst-nss-test3.c: Convert to test-in-container.
5692 * nss/tst-nss-test3.root/: New.
5694 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
5696 regex: port Gnulib code to z/OS POSIX environment
5697 Problem reported by Arnold Robbins in:
5698 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
5699 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
5702 2018-08-22 Joseph Myers <joseph@codesourcery.com>
5704 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
5705 (ROUNDING_TESTS_double): Remove.
5706 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
5707 (ROUNDING_TESTS_double): Remove.
5708 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
5709 (ROUNDING_TESTS_double): Remove.
5710 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
5711 (ROUNDING_TESTS_float): Remove.
5712 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
5713 (ROUNDING_TESTS_float): Remove.
5714 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
5715 (ROUNDING_TESTS_float): Remove.
5716 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
5718 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5719 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5721 * sysdeps/generic/math-tests-rounding.h: New file.
5722 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
5723 (ROUNDING_TESTS_float): Do not define here.
5724 (ROUNDING_TESTS_double): Likewise.
5725 (ROUNDING_TESTS_long_double): Likewise.
5726 (ROUNDING_TESTS_float128): Likewise.
5727 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
5728 (ROUNDING_TESTS_double): Undefine before defining.
5729 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
5730 (ROUNDING_TESTS_double): Undefine before defining.
5731 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
5732 (ROUNDING_TESTS_double): Undefine before defining.
5733 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
5734 (ROUNDING_TESTS_float): Undefine before defining.
5735 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
5736 (ROUNDING_TESTS_float): Undefine before defining.
5737 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
5738 (ROUNDING_TESTS_float): Undefine before defining.
5739 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
5740 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
5742 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
5743 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
5744 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
5745 * sysdeps/riscv/math-tests.h [!__riscv_flen]
5746 (ROUNDING_TESTS_float): Do not define here.
5747 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
5748 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
5749 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
5750 (ROUNDING_TESTS_float): Likewise.
5751 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
5752 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
5753 * sysdeps/mips/math-tests.h [__mips_soft_float]
5754 (ROUNDING_TESTS_float): Likewise.
5755 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
5756 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
5757 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
5758 (ROUNDING_TESTS_double): Likewise.
5759 (ROUNDING_TESTS_long_double): Likewise.
5761 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
5763 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
5764 (PF_XDP): New macro.
5765 (AF_XDP): New macro.
5766 (SOL_XDP): New macro.
5768 2018-08-21 Joseph Myers <joseph@codesourcery.com>
5770 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
5771 (TCP_INQ): Likewise.
5772 (TCP_CM_INQ): Likewise.
5773 (TCP_REPAIR_ON): Likewise.
5774 (TCP_REPAIR_OFF): Likewise.
5775 (TCP_REPAIR_OFF_NO_WP): Likewise.
5776 (struct tcp_zerocopy_receive): New type.
5778 2018-08-21 Florian Weimer <fweimer@redhat.com>
5780 * support/support.h (support_descriptor_supports_holes): Declare.
5781 * support/Makefile (libsupport-routines): Add
5782 support_descriptor_supports_holes.
5783 * support/support_descriptor_supports_holes.c: New file.
5784 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
5785 and stop testing if holes are not supported.
5786 * io/test-lfs.c (do_prepare): Likewise.
5787 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
5789 * timezone/tst-tzset.c (create_tz_file): Likewise.
5790 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
5792 (do_prepare): Set it.
5793 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
5795 2018-08-21 Florian Weimer <fweimer@redhat.com>
5798 * Makeconfig (+cflags): Do not sort (and deduplicate).
5800 2018-08-21 Florian Weimer <fweimer@redhat.com>
5802 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
5803 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
5805 2018-08-20 Florian Weimer <fweimer@redhat.com>
5807 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
5808 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
5810 2018-08-20 Joseph Myers <joseph@codesourcery.com>
5812 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
5813 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
5814 and ssi_arch members.
5816 * elf/elf.c (NT_VMCOREDD): New macro.
5817 (AT_MINSIGSTKSZ): Likewise.
5819 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5822 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
5823 s_cosf-ppc64 and s_cosf-power8.
5824 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
5825 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5826 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5827 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
5829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5834 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5835 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5837 2018-08-17 Florian Weimer <fweimer@redhat.com>
5839 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5841 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
5843 * malloc/malloc.c (_int_malloc): Additional binning code checks.
5845 2018-08-16 Florian Weimer <fweimer@redhat.com>
5847 * configure.ac: Add --with-nonshared-cflags option.
5848 * config.make.in (extra-nonshared-cflags): Set variable.
5849 * Makeconfig (CFLAGS-.oS): Use it.
5850 * manual/install.texi (Configuring and compiling): Document
5851 --with-nonshared-cflags.
5852 * configure: Regenerate.
5853 * INSTALL: Likewise.
5855 2018-08-16 Florian Weimer <fweimer@redhat.com>
5857 * Makeconfig (ASFLAGS): Always append required assembler flags.
5859 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
5861 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
5862 (malloc_consolidate): Likewise.
5864 2018-08-16 Pochang Chen <johnchen902@gmail.com>
5866 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
5868 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5870 * benchtests/bench-strlen.c (do_test): Allocate buffers before
5873 * benchtests/bench-strlen.c: Print performance numbers in json.
5875 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5877 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5878 (sysdep_routines): Build strcmp-power9 and strncmp-power9
5879 only for little endian.
5880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5881 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
5882 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
5883 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
5884 Add check for little endian.
5885 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5886 (__strcmp_power9): Add check for little endian.
5887 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
5888 Add check for little endian.
5889 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5890 (__strncmp_power9): Add check for little endian.
5891 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
5892 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
5893 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5894 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
5895 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
5897 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
5899 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
5900 [!STRLEN](STRLEN): Set to __strlen.
5901 * sysdeps/aarch64/multiarch/strlen.c: New file.
5902 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
5903 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
5904 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5905 (__libc_ifunc_impl_list): Add strlen.
5906 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
5907 strlen_generic and strlen_asimd.
5909 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5911 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
5912 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
5913 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5915 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5917 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
5919 2018-08-14 Florian Weimer <fweimer@redhat.com>
5922 * include/stdio.h (__vfxprintf): Declare.
5923 * stdio-common/fxprintf.c (__vfxprintf): New function.
5924 (__fxprintf): Call it.
5925 * misc/err.c (convert_and_print): Remove function.
5926 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
5927 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
5928 * misc/Makefile (tests): Add tst-warn-wide.
5929 * misc/tst-warn-wide.c: New file.
5931 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
5932 Szabolcs Nagy <szabolcs.nagy@arm.com>
5934 * NEWS: Mention sinf, cosf, sincosf.
5935 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
5936 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
5937 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
5938 constants rather than including generic sincosf.h.
5939 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
5940 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
5941 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
5942 (reduced_cos): Remove.
5943 (sinf_poly): New function.
5944 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
5946 2018-08-14 Florian Weimer <fweimer@redhat.com>
5950 * nss/nss_files/files-alias.c (get_next_alias): During :include:
5951 processing, bail out if no room, and close the stream before
5953 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
5954 (tst-nss-files-alias-leak): Link with libdl.
5955 (tst-nss-files-alias-leak.out): Depend on nss_files.
5957 * nss/tst-nss-files-alias-leak.c: New file.
5959 2018-08-14 Florian Weimer <fweimer@redhat.com>
5961 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
5962 server_user, stat_user.
5964 2018-08-13 Joseph Myers <joseph@codesourcery.com>
5966 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5968 (io_pgetevents): New syscall.
5971 * manual/install.texi (Configuring and compiling): Do not list
5972 tools used for testing pretty printers here.
5973 (Tools for Compilation): List Python, PExpect and GDB here.
5974 Update descriptions of uses of Perl and Python.
5975 * INSTALL: Regenerate.
5977 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5980 2018-08-13 Florian Weimer <fweimer@redhat.com>
5982 * misc/error.c (error): Add missing va_end call.
5983 (error_at_line): Likewise.
5985 2018-08-13 Florian Weimer <fweimer@redhat.com>
5987 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
5989 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5991 * benchtests/scripts/benchout.schema.json (properties): Add
5994 * benchtests/bench-skeleton.c (main): Add duration and
5995 iterations attributes.
5997 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
5999 regex: Gnulib unibyte RRI uses bytes not chars
6000 Adjust the non-glibc code to agree with what Gawk needs for
6001 rational range interpretation (RRI) for regular expression ranges.
6002 In unibyte locales, Gawk wants ranges to use the underlying byte
6003 rather than the character code point. This change does not affect
6005 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6006 In unibyte locales, use the byte value rather than
6007 running it through btowc.
6009 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6011 * sysdeps/generic/math-tests-snan.h: New file.
6012 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6013 (SNAN_TESTS_float): Do not define here.
6014 (SNAN_TESTS_double): Likewise.
6015 (SNAN_TESTS_long_double): Likewise.
6016 (SNAN_TESTS_float128): Likewise.
6017 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6018 * sysdeps/i386/fpu/math-tests.h: Remove file.
6019 * sysdeps/ia64/math-tests-snan.h: New file.
6020 * sysdeps/ia64/math-tests.h: Remove file.
6021 * sysdeps/x86/math-tests.h: Likewise.
6022 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6024 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6025 Szabolcs Nagy <szabolcs.nagy@arm.com>
6027 * math/Makefile: Add s_sincosf_data.c.
6028 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6029 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6030 (sincosf_poly): Likewise.
6031 (reduce_small): Likewise.
6032 (reduce_large): Likewise.
6033 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6034 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6035 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6036 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6038 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6039 Szabolcs Nagy <szabolcs.nagy@arm.com>
6041 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6042 (converttoint): Use lround.
6043 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6044 document the semantics when TOINT_INTRINSICS is set.
6045 (converttoint): Likewise.
6046 (TOINT_RINT): Remove.
6047 (TOINT_SHIFT): Remove.
6048 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6051 2018-08-10 Florian Weimer <fweimer@redhat.com>
6054 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6056 (__old_getdents64): Use getdents64. Convert entries without
6058 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6059 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6060 tst-readdir64-compat.
6062 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6064 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6067 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6069 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
6070 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
6071 code to s390x-mcount.h and #include it.
6072 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
6073 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6076 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6078 * stdlib/Versions: Remove __fentry__.
6079 * sysdeps/i386/Versions: Add __fentry__.
6080 * sysdeps/x86_64/Versions: Add __fentry__.
6082 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6084 * sysdeps/s390/Makefile: Register the new tests.
6085 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
6086 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
6087 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
6088 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
6089 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
6090 * sysdeps/s390/tst-dl-runtime.c: New file.
6092 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6094 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6097 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6099 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6102 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6104 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6107 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6109 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6112 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6114 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6115 Use symbolic offsets for stack variables.
6117 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6119 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6120 Use symbolic offsets for stack variables.
6122 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6124 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6125 Use symbolic offsets for stack variables.
6127 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6129 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6130 Use symbolic offsets for stack variables.
6132 2018-08-09 Joseph Myers <joseph@codesourcery.com>
6134 * math/gen-libm-test.py: New file.
6135 * math/gen-libm-test.pl: Remove.
6136 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
6137 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
6139 ($(libm-test-c-noauto-obj)): Likewise.
6140 ($(libm-test-c-auto-obj)): Likewise.
6141 ($(libm-test-c-narrow-obj)): Likewise.
6142 (regen-ulps): Likewise.
6143 * math/README.libm-test: Update references to gen-libm-test.pl.
6144 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
6145 referencing gen-libm-test.pl.
6146 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
6147 * math/libm-test-support.c: Likewise.
6148 * math/libm-test-support.h: Likewise.
6149 * sysdeps/generic/libm-test-ulps: Likewise.
6151 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
6153 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
6156 2018-08-08 Joseph Myers <joseph@codesourcery.com>
6158 * math/libm-test-nextdown.inc (do_test): Move comment to ....
6159 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
6161 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6163 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
6165 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
6166 __pthread_setspecific): Add hidden proto.
6167 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
6168 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
6170 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6172 * benchtests/bench-string.h (buf1_size, buf2_size): New
6174 (init_sizes): New function.
6175 (test_init): Use it.
6176 (alloc_buf, exit_error): New functions.
6177 (alloc_bufs): Use ALLOC_BUF.
6178 (realloc_bufs): Remove.
6179 * benchtests/bench-memcmp.c (do_test): Adjust.
6180 * benchtests/bench-memset-large.c (do_test): Likewise.
6181 * benchtests/bench-memset-walk.c (do_test): Likewise.
6182 * benchtests/bench-memset.c (do_test): Likewise.
6183 * benchtests/bench-strncmp.c (do_test): Likewise.
6185 2018-08-06 Andreas Schwab <schwab@suse.de>
6187 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
6188 of CONST_THREAD_AREA.
6190 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
6192 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
6193 (STATE_SAVE_MASK): Likewise.
6194 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
6195 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
6196 (STATE_SAVE_MASK): Likewise.
6197 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
6198 instead of <cpu-features.h>.
6200 2018-08-03 DJ Delorie <dj@redhat.com>
6202 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
6203 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
6205 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6207 2018-08-03 Joseph Myers <joseph@codesourcery.com>
6209 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
6211 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
6212 * math/libm-test-logb.inc (logb_test_data): Likewise.
6214 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
6216 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
6217 * string/strstr.c (AVAILABLE): Likewise.
6219 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6221 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
6223 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
6224 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
6225 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
6227 2018-08-03 Carlos O'Donell <carlos@redhat.com>
6229 * po/be.po: Update translation.
6231 * po/be.po: Update translation.
6233 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6235 * sysdeps/x86/cpu-features-offsets.sym
6236 (rtld_global_ro_offsetof): Removed.
6237 (CPU_FEATURES_SIZE): Likewise.
6238 (CPUID_OFFSET): Likewise.
6239 (CPUID_SIZE): Likewise.
6240 (CPUID_EAX_OFFSET): Likewise.
6241 (CPUID_EBX_OFFSET): Likewise.
6242 (CPUID_ECX_OFFSET): Likewise.
6243 (CPUID_EDX_OFFSET): Likewise.
6244 (FAMILY_OFFSET): Likewise.
6245 (MODEL_OFFSET): Likewise.
6246 (FEATURE_OFFSET): Likewise.
6247 (FEATURE_SIZ): Likewise.
6248 (COMMON_CPUID_INDEX_1): Likewise.
6249 (COMMON_CPUID_INDEX_7): Likewise.
6250 (FEATURE_INDEX_1): Likewise.
6251 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
6253 2018-08-02 Carlos O'Donell <carlos@redhat.com>
6255 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
6256 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
6257 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
6258 (install-locales): Depend on install-locale-archive.
6259 (install-locale-archive): Define.
6260 (install-locale-files): Define.
6261 (build-one-locale): Define macro.
6262 * manual/install.texi (Running make install): Document.
6263 * manual/INSTALL: Regenerate.
6265 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6267 * benchtests/scripts/compare_strings.py: Import traceback.
6268 (parse_file): Pretty-print error.
6270 * NEWS: Mention the change.
6271 * elf/dl-tunables.list: Rename tune namespace to cpu.
6272 * sysdeps/powerpc/dl-tunables.list: Likewise.
6273 * sysdeps/x86/dl-tunables.list: Likewise.
6274 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
6276 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
6277 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
6278 * manual/README.tunables: Likewise.
6279 * manual/tunables.texi: Likewise.
6280 * sysdeps/powerpc/cpu-features.c: Likewise.
6281 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6282 (init_cpu_features): Likewise.
6283 * sysdeps/x86/cpu-features.c: Likewise.
6284 * sysdeps/x86/cpu-features.h: Likewise.
6285 * sysdeps/x86/cpu-tunables.c: Likewise.
6286 * sysdeps/x86_64/Makefile: Likewise.
6287 * sysdeps/x86/dl-cet.c: Likewise.
6289 2018-08-02 Joseph Myers <joseph@codesourcery.com>
6292 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
6293 [__mips_hard_float].
6294 (FE_UNDERFLOW): Likewise.
6295 (FE_OVERFLOW): Likewise.
6296 (FE_DIVBYZERO): Likewise.
6297 (FE_INVALID): Likewise.
6298 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
6299 (FE_TOWARDZERO): Define only if [__mips_hard_float].
6300 (FE_UPWARD): Likewise.
6301 (FE_DOWNWARD): Likewise.
6302 (__FE_UNDEFINED): Define if [!__mips_hard_float]
6303 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
6304 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
6305 [__mips_hard_float].
6306 (FP_ROUNDMODE): Likewise.
6307 (FP_RND_NEAREST): Likewise.
6308 (FP_RND_ZERO): Likewise.
6309 (FP_RND_PINF): Likewise.
6310 (FP_RND_MINF): Likewise.
6311 (FP_EX_INVALID): Likewise.
6312 (FP_EX_OVERFLOW): Likewise.
6313 (FP_EX_UNDERFLOW): Likewise.
6314 (FP_EX_DIVZERO): Likewise.
6315 (FP_EX_INEXACT): Likewise.
6316 (FP_INIT_ROUNDMODE): Likewise.
6317 * sysdeps/mips/nofpu/fesetenv.c: New file.
6318 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
6320 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6322 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
6323 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
6324 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
6325 conditional on [FE_UPWARD].
6327 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
6329 regex: fix memory leak in Gnulib
6330 Problem and fix reported by Assaf Gordon in:
6331 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
6332 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
6333 range_ends members too, as they are defined in 'struct
6334 re_charset_t' even if not _LIBC. This affects only Gnulib.
6336 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
6338 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
6340 (get_common_indices): This.
6341 (init_cpu_features): Updated.
6343 2018-08-01 Joseph Myers <joseph@codesourcery.com>
6345 * sysdeps/generic/math-tests-snan-payload.h: New file.
6346 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
6347 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
6348 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
6349 * sysdeps/generic/math-tests.h: Include
6350 <math-tests-snan-payload.h>.
6351 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6352 * sysdeps/hppa/math-tests.h: Remove file.
6353 * sysdeps/mips/math-tests.h [!__mips_nan2008]
6354 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6355 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
6358 * sysdeps/generic/math-tests-snan-cast.h: New file.
6359 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
6360 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
6361 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
6362 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
6364 2018-08-01 Carlos O'Donel <carlos@redhat.com>
6366 * version.h (RELEASE): Set to "development".
6367 (VERSION): Set to "2.28.9000".
6368 * NEWS (2.29): New section.
6370 * version.h (RELEASE): Set to "stable".
6371 (VERSION): Set to "2.28".
6372 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
6373 * NEWS: Add the list of bugs fixed in 2.28.
6375 * po/ca.po: Update to latest version.
6376 * po/cs.po: Likewise
6377 * po/da.po: Likewise
6378 * po/el.po: Likewise
6379 * po/eo.po: Likewise
6380 * po/es.po: Likewise
6381 * po/fi.po: Likewise
6382 * po/fr.po: Likewise
6383 * po/gl.po: Likewise
6384 * po/hu.po: Likewise
6385 * po/ia.po: Likewise
6386 * po/id.po: Likewise
6387 * po/it.po: Likewise
6388 * po/ja.po: Likewise
6389 * po/ko.po: Likewise
6390 * po/lt.po: Likewise
6391 * po/nb.po: Likewise
6392 * po/nl.po: Likewise
6393 * po/pt_BR.po: Likewise
6394 * po/ru.po: Likewise
6395 * po/rw.po: Likewise
6396 * po/sk.po: Likewise
6397 * po/sl.po: Likewise
6398 * po/tr.po: Likewise
6399 * po/zh_CN.po: Likewise
6400 * po/zh_TW.po: Likewise
6402 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6404 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
6406 (init): ... before initializing libpthread.
6408 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
6409 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
6410 (__mach_setup_tls): ... new function.
6411 (mach_setup_tls): New alias.
6412 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
6413 __mach_setup_thread.
6414 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
6415 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
6416 * mach/Versions [libc] (mach_setup_tls): Add symbol.
6417 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
6419 2018-07-31 Carlos O'Donell <carlos@redhat.com>
6421 * manual/install.texi: Update versions.
6422 * INSTALL: Regenerate.
6424 * manual/contrib.texi (Contributors): Update contributions.
6426 2018-07-31 Carlos O'Donell <carlos@redhat.com>
6428 * po/be.po: Update translations.
6430 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6432 * sysdeps/sh/libm-test-ulps: Update.
6434 2018-07-30 Carlos O'Donell <carlos@redhat.com>
6436 * po/bg.po: Update translations.
6437 * po/de.po: Likewise.
6438 * po/hr.po: Likewise.
6439 * po/pt_BR.po: Likewise.
6440 * po/sv.po: Likewise.
6441 * po/vi.po: Likewise.
6443 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6446 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6447 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
6448 (CFLAGS-tst-cet-property-1.o): New.
6449 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
6450 ($(objpfx)tst-cet-property-2): Likewise.
6451 ($(objpfx)tst-cet-property-2.out): Likewise.
6452 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
6453 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
6454 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
6455 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
6456 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
6458 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6461 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
6463 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6465 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
6466 __sbrk): Do not set attribute_hidden.
6467 * sysdeps/mach/hurd/not-errno.h: New file.
6468 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6469 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
6471 2018-07-27 Carlos O'Donell <carlos@redhat.com>
6473 * po/uk.po: Update translations.
6474 * po/cs.po: Likewise.
6475 * po/pl.po: Likewise.
6477 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
6479 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
6480 parse beyond the note end.
6482 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6484 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
6485 kernel does not support OFD locks.
6486 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
6488 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6490 * sysdeps/mach/hurd/Versions (libc): Make __access and
6491 __access_noerrno external so they can override the ld symbols.
6492 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
6493 __writev, __open64, __access_noerrno extern so they can be overrided.
6494 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
6495 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6497 2018-07-26 Carlos O'Donell <carlos@redhat.com>
6499 * po/libc.pot: Regenerate.
6501 2018-07-26 Joseph Myers <joseph@codesourcery.com>
6503 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6505 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6508 * sysdeps/x86/cpu-features.c (get_extended_indices): New
6510 (init_cpu_features): Call get_extended_indices for both Intel
6512 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
6513 Remove "for AMD" comment.
6515 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6518 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
6519 COMMON_CPUID_INDEX_80000001.
6521 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
6523 * string/tst-xbzero-opt.c (use_test_buffer): New function.
6524 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
6526 2018-07-26 Florian Weimer <fweimer@redhat.com>
6528 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
6529 aliases for symbols not in the implementation namespace.
6531 2018-07-25 Carlos O'Donell <carlos@redhat.com>
6534 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
6535 lowercase in LATIN script.
6536 * localedata/Makefile (test-input): Add en_US.UTF-8.
6537 * localedata/en_US.UTF-8.in: New file.
6538 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
6539 and restore old tests.
6540 * posix/tst-regexloc.c (do_test): Add back range expression test.
6542 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6544 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
6546 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6548 * nptl/threads.h: Move to ...
6549 * sysdeps/nptl/threads.h: ... here.
6550 * sysdeps/hurd/stdc-predef.h: New file.
6552 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6554 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6555 tst-cet-setcontext-1 if CET is enabled.
6556 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
6557 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
6559 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6561 * include/threads.h: Move to ...
6562 * sysdeps/nptl/threads.h: ... here.
6563 * sysdeps/htl/threads.h: New file.
6564 * conform/Makefile (linknamespace-libs-ISO11): Use
6565 static-thread-library instead of linking libpthread.
6566 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
6568 2018-07-25 Florian Weimer <fweimer@redhat.com>
6570 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
6571 nanoseconds into seconds.
6572 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
6573 (do_test): Likewise.
6574 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
6575 (do_test): Likewise. Avoid nanosecond overflow and spurious
6576 timeouts due to system load.
6577 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
6578 (child_wait): Increment it.
6579 (do_test): Wait as long as necessary until all expected threads
6582 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
6583 H.J. Lu <hongjiu.lu@intel.com>
6585 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
6587 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
6588 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
6589 (__push___start_context): New.
6590 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
6592 (__getcontext): Record the current shadow stack base. Save the
6593 caller's shadow stack pointer and base.
6594 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
6595 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
6596 (__push___start_context): New prototype.
6597 (__makecontext): Call __push___start_context to allocate a new
6598 shadow stack, push __start_context onto the new stack as well
6599 as the new shadow stack.
6600 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
6602 (__setcontext): Restore the target shadow stack.
6603 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
6605 (__swapcontext): Record the current shadow stack base. Save
6606 the caller's shadow stack pointer and base. Restore the target
6608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6609 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
6610 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
6612 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6614 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
6615 tst-setcontext8 and tst-setcontext9.
6616 * stdlib/tst-setcontext6.c: New file.
6617 * stdlib/tst-setcontext7.c: Likewise.
6618 * stdlib/tst-setcontext8.c: Likewise.
6619 * stdlib/tst-setcontext9.c: Likewise.
6621 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6623 * stdlib/Makefile ((tests): Add tst-setcontext5.
6624 * stdlib/tst-setcontext5.c: New file.
6626 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6628 * stdlib/Makefile (tests): Add tst-setcontext4.
6629 * stdlib/tst-setcontext4.c: New file.
6631 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6633 * stdlib/Makefile (tests): Add tst-swapcontext1.
6634 * stdlib/tst-swapcontext1.c: New test.
6636 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6638 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
6639 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
6640 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
6641 and tst-cet-legacy-4c.
6642 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
6643 and tst-cet-legacy-mod-4.
6644 (CFLAGS-tst-cet-legacy-2.c): New.
6645 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
6646 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
6647 (CFLAGS-tst-cet-legacy-3.c): Likewise.
6648 (CFLAGS-tst-cet-legacy-4.c): Likewise.
6649 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
6650 ($(objpfx)tst-cet-legacy-1): Likewise.
6651 ($(objpfx)tst-cet-legacy-2): Likewise.
6652 ($(objpfx)tst-cet-legacy-2.out): Likewise.
6653 ($(objpfx)tst-cet-legacy-2a): Likewise.
6654 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
6655 ($(objpfx)tst-cet-legacy-4): Likewise.
6656 ($(objpfx)tst-cet-legacy-4.out): Likewise.
6657 ($(objpfx)tst-cet-legacy-4a): Likewise.
6658 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
6659 (tst-cet-legacy-4a-ENV): Likewise.
6660 ($(objpfx)tst-cet-legacy-4b): Likewise.
6661 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
6662 (tst-cet-legacy-4b-ENV): Likewise.
6663 ($(objpfx)tst-cet-legacy-4c): Likewise.
6664 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
6665 (tst-cet-legacy-4c-ENV): Likewise.
6666 * sysdeps/x86/tst-cet-legacy-1.c: New file.
6667 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
6668 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
6669 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
6670 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
6671 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
6672 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
6673 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
6674 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
6675 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
6676 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
6678 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6680 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6681 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6683 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6684 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6687 2018-07-25 Andreas Schwab <schwab@suse.de>
6690 * locale/weightwc.h (findidx): Handle the case where usrc is a
6691 prefix of cp but one character too short.
6693 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6695 * NEWS: Add ISO C threads addition.
6697 2018-07-24 Florian Weimer <fweimer@redhat.com>
6699 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6700 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
6701 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
6704 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6706 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
6707 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
6708 <sys/prctl.h> and <asm/prctl.h>.
6709 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
6710 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
6712 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
6713 ARCH_CET_LEGACY_BITMAP.
6714 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
6715 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
6716 * sysdeps/x86/libc-start.c: Include <startup.h>.
6718 2018-07-24 Florian Weimer <fweimer@redhat.com>
6720 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
6721 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
6723 2018-07-24 Rical Jasan <rj@2c3t.io>
6724 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6725 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
6728 * manual/debug.texi: Update adjacent chapter name.
6729 * manual/probes.texi: Likewise.
6730 * manual/threads.texi (ISO C Threads): New section.
6731 (POSIX Threads): Convert to a section.
6733 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6734 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
6737 * nptl/Makefile (tests): Add new test files.
6738 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
6739 * nptl/tst-cnd-basic.c: Likewise.
6740 * nptl/tst-cnd-broadcast.c: Likewise.
6741 * nptl/tst-cnd-timedwait.c: Likewise.
6742 * nptl/tst-mtx-basic.c: Likewise.
6743 * nptl/tst-mtx-recursive.c: Likewise.
6744 * nptl/tst-mtx-timedlock.c: Likewise.
6745 * nptl/tst-mtx-trylock.c: Likewise.
6746 * nptl/tst-thrd-basic.c: Likewise.
6747 * nptl/tst-thrd-detach.c: Likewise.
6748 * nptl/tst-thrd-sleep.c: Likewise.
6749 * nptl/tst-tss-basic.c: Likewise.
6751 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6754 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
6755 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
6757 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6758 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6759 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6760 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6761 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6762 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6763 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6764 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6765 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6766 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6767 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6768 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6776 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6777 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6778 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6779 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6780 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6781 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6782 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6783 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6784 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
6785 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
6786 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
6787 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
6788 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
6790 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
6791 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
6792 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
6793 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
6794 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
6795 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
6796 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
6797 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
6798 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
6799 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
6800 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
6801 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6808 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
6809 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
6810 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
6811 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
6812 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
6813 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
6814 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
6815 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
6818 * conform/data/threads.h-data (thread_local): New macro.
6819 (TSS_DTOR_ITERATIONS): Likewise.
6821 (tss_dtor_t): Likewise.
6822 (tss_create): New function.
6823 (tss_get): Likewise.
6824 (tss_set): Likewise.
6825 (tss_delete): Likewise.
6826 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
6827 tss_get, and tss_set objects.
6828 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
6829 * nptl/tss_create.c: New file.
6830 * nptl/tss_delete.c: Likewise.
6831 * nptl/tss_get.c: Likewise.
6832 * nptl/tss_set.c: Likewise.
6833 * sysdeps/nptl/threads.h (thread_local): New define.
6834 (TSS_DTOR_ITERATIONS): Likewise.
6835 (tss_t): New typedef.
6836 (tss_dtor_t): Likewise.
6837 (tss_create): New prototype.
6838 (tss_get): Likewise.
6839 (tss_set): Likewise.
6840 (tss_delete): Likewise.
6843 * conform/data/threads.h-data (cnd_t): New type.
6844 (cnd_init): New function.
6845 (cnd_signal): Likewise.
6846 (cnd_broadcast): Likewise.
6847 (cnd_wait): Likewise.
6848 (cnd_timedwait): Likewise.
6849 (cnd_destroy): Likewise.
6850 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
6851 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
6853 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
6854 * nptl/cnd_broadcast.c: New file.
6855 * nptl/cnd_destroy.c: Likewise.
6856 * nptl/cnd_init.c: Likewise.
6857 * nptl/cnd_signal.c: Likewise.
6858 * nptl/cnd_timedwait.c: Likewise.
6859 * nptl/cnd_wait.c: Likewise.
6860 * sysdeps/nptl/threads.h (cnd_t): New type.
6861 (cnd_init): New prototype.
6862 (cnd_signa): Likewise.
6863 (cnd_broadcast): Likewise.
6864 (cnd_wait): Likewise.
6865 (cnd_timedwait): Likewise.
6866 (cnd_destroy): Likewise.
6869 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
6870 (once_flag): New type.
6871 (call_once): New function.
6872 * nptl/Makefile (libpthread-routines): Add call_once object.
6873 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
6874 * nptl/call_once.c: New file.
6875 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
6876 (once_flag): New type.
6877 (call_once): New prototype.
6880 * conform/data/threads.h-data (mtx_plain): New constant.
6881 (mtx_recursive): Likewise.
6882 (mtx_timed): Likewise.
6884 (mtx_init): New function.
6885 (mtx_lock): Likewise.
6886 (mtx_timedlock): Likewise.
6887 (mtx_trylock): Likewise.
6888 (mtx_unlock): Likewise.
6889 (mtx_destroy): Likewise.
6890 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
6891 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
6892 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
6893 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
6894 * nptl/mtx_destroy.c: New file.
6895 * nptl/mtx_init.c: Likewise.
6896 * nptl/mtx_lock.c: Likewise.
6897 * nptl/mtx_timedlock.c: Likewise.
6898 * nptl/mtx_trylock.c: Likewise.
6899 * nptl/mtx_unlock.c: Likewise.
6900 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
6901 (mtx_recursive): Likewise.
6902 (mtx_timed): Likewise.
6904 (mtx_init): New prototype.
6905 (mtx_lock): Likewise.
6906 (mtx_timedlock): Likewise.
6907 (mtx_trylock): Likewise.
6908 (mtx_unlock): Likewise.
6909 (mtx_destroy): Likewise.
6912 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
6913 (linknamespace-libs-ISO11): Add libpthread.a.
6914 * conform/data/threads.h-data: New file: add C11 thrd_* types and
6916 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
6917 * nptl/Makefile (headers): Add threads.h.
6918 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
6919 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
6921 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
6922 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
6923 thrd_join, thrd_sleep, and thrd_yield symbols.
6924 * nptl/descr.h (struct pthread): Add c11 field.
6925 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
6926 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
6927 routine with expected function prototype.
6928 (__pthread_create_2_1): Add C11 threads check based on attribute
6930 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
6931 * nptl/thrd_create.c: New file.
6932 * nptl/thrd_current.c: Likewise.
6933 * nptl/thrd_detach.c: Likewise.
6934 * nptl/thrd_equal.c: Likewise.
6935 * nptl/thrd_exit.c: Likewise.
6936 * nptl/thrd_join.c: Likewise.
6937 * nptl/thrd_priv.h: Likewise.
6938 * nptl/thrd_sleep.c: Likewise.
6939 * nptl/thrd_yield.c: Likewise.
6940 * include/threads.h: Likewise.
6942 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6944 * bits/indirect-return.h: New file.
6945 * misc/sys/cdefs.h (__glibc_has_attribute): New.
6946 * sysdeps/x86/bits/indirect-return.h: Likewise.
6947 * stdlib/Makefile (headers): Add bits/indirect-return.h.
6948 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
6949 (swapcontext): Add __INDIRECT_RETURN.
6950 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
6951 (prepare_test_buffer): Use it.
6953 2018-07-24 Andreas Schwab <schwab@suse.de>
6956 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
6957 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
6959 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6961 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
6962 Redefine if shadow stack is enabled.
6963 (SYSCALL_ERROR_LABEL): Likewise.
6964 (__vfork): Pop shadow stack and jump back to to caller directly
6965 when shadow stack is in use.
6966 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
6967 Redefine if shadow stack is enabled.
6968 (SYSCALL_ERROR_LABEL): Likewise.
6969 (__vfork): Pop shadow stack and jump back to to caller directly
6970 when shadow stack is in use.
6972 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6974 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
6977 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
6980 2018-07-20 Joseph Myers <joseph@codesourcery.com>
6982 * scripts/build-many-glibcs.py (Context.checkout): Default
6983 binutils version to 2.31 branch.
6985 2018-07-20 Zong Li <zong@andestech.com>
6987 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
6988 URL of gcc's tarball.
6990 2018-07-20 Florian Weimer <fweimer@redhat.com>
6993 * posix/regcomp.c (build_equiv_class): When comparing weights, do
6994 not compare an extra byte after the end of the weights.
6996 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6998 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7000 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7002 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7003 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7004 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7005 list of libraries whose stack executability is expected.
7006 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7007 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7009 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7010 libc.so libpthread.so.
7012 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7014 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7016 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7018 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7020 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7022 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7024 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7025 library to improve command line parsing.
7026 (__main__): make schema file as optional parameter (--schema),
7027 defaulting to benchtests/scripts/benchout.schema.json.
7028 (main): move out of the parsing stuff to __main_ and leave it
7029 only as caller of main comparison functions.
7031 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7033 * NEWS: Add a note for Intel CET status.
7034 * manual/install.texi: Likewise.
7035 * INSTALL: Regenerated.
7037 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7040 * localedata/locales/oc_FR (mon): Rename to...
7041 (alt_mon): This, then update October (typo fix).
7042 (mon): New content (genitive case, month names preceded by
7046 * localedata/locales/oc_FR (abday): Update all items.
7047 (day): Update Wednesday and Saturday (typo fixes).
7048 (abmon): Update all items, except May.
7049 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7050 (LC_IDENTIFICATION): Bump the revision number and date.
7051 Keep the "category" entries in alphabetic order.
7052 (LC_ADDRESS): Remove no longer needed comment.
7053 (LC_COLLATE): Use “copy "ca_ES"”.
7054 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7057 2018-07-18 Joseph Myers <joseph@codesourcery.com>
7059 * grp/tst_fgetgrent.c: Include <unistd.h>.
7060 (main): Use mkstemp instead of tmpnam.
7061 * io/test-utime.c (main): Likewise.
7062 * posix/annexc.c (macrofile): Change to modifiable array.
7063 (main): Remove macrofile here.
7064 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7066 (check_header): Do not remove macrofile here.
7067 * posix/bug-getopt1.c: Include <stdlib.h>.
7068 (do_test): Use mkstemp instead of tmpnam.
7069 * posix/bug-getopt2.c: Include <stdlib.h>.
7070 (do_test): Use mkstemp instead of tmpnam.
7071 * posix/bug-getopt3.c: Include <stdlib.h>.
7072 (do_test): Use mkstemp instead of tmpnam.
7073 * posix/bug-getopt4.c: Include <stdlib.h>.
7074 (do_test): Use mkstemp instead of tmpnam.
7075 * posix/bug-getopt5.c: Include <stdlib.h>.
7076 (do_test): Use mkstemp instead of tmpnam.
7077 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
7078 (main): Use mkstemp instead of tmpnam.
7079 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
7080 (main): Use mkstemp instead of tmpnam.
7081 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
7082 (main): use mkstemp instead of tmpnam.
7083 * stdlib/isomac.c (macrofile): Change to modifiable array.
7084 (main): Remove macrofile here.
7085 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7087 (check_header): Do not remove macrofile here.
7089 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7091 * manual/tunables.texi: Document glibc.tune.x86_ibt and
7092 glibc.tune.x86_shstk.
7094 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7096 * NEWS: Mention --enable-cet.
7097 * manual/install.texi: Document --enable-cet.
7098 * INSTALL: Regenerated.
7100 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7102 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
7103 Add _CET_NOTRACK before indirect jump to jump table.
7105 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7107 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
7108 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7111 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7113 * sysdeps/i386/i686/multiarch/strcat-sse2.S
7114 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7117 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
7120 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7123 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7125 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
7126 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7129 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7131 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
7132 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7134 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
7136 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7138 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
7139 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7142 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7144 * sysdeps/i386/i686/multiarch/memset-sse2.S
7145 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7148 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7150 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
7151 indirect jump to jump table.
7153 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
7156 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7160 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
7163 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7167 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7169 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7170 _CET_NOTRACK before indirect jump to jump table.
7172 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7174 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
7175 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7178 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7180 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
7181 indirect jump to jump table.
7183 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
7186 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
7187 (LOCALES): Likewise.
7188 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
7189 * localedata/locales/sah_RU: New file.
7190 * localedata/sah_RU.UTF-8.in: New file.
7192 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7194 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
7196 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7197 _CET_ENDBR to indirect jump targets and adjust jump destination
7199 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
7201 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7202 _CET_ENDBR to indirect jump targets and adjust jump destination
7204 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
7206 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
7207 _CET_ENDBR to indirect jump targets and adjust jump destination
7210 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7212 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7215 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7217 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
7219 (_dl_tlsdesc_undefweak): Likewise.
7220 (_dl_tlsdesc_dynamic): Likewise.
7221 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
7222 (_dl_tlsdesc_resolve_rel): Likewise.
7223 (_dl_tlsdesc_resolve_rela): Likewise.
7224 (_dl_tlsdesc_resolve_hold): Likewise.
7225 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
7226 (_dl_tlsdesc_undefweak): Likewise.
7227 (_dl_tlsdesc_dynamic): Likewise.
7228 (_dl_tlsdesc_resolve_rela): Likewise.
7229 (_dl_tlsdesc_resolve_hold): Likewise.
7231 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7233 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
7235 * sysdeps/x86_64/crti.S (_init): Likewise.
7238 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
7241 * localedata/locales/os_RU (mon): Rename to...
7243 (mon): Import from CLDR (genitive case).
7245 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7247 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
7248 cet-tunables.h> when CET is enabled.
7250 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
7253 * configure.ac: Add --enable-cet.
7254 * configure: Regenerated.
7255 * elf/Makefille (all-built-dso): Add a comment.
7256 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
7257 Include <dl-prop.h>.
7258 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
7260 * elf/dl-open.c: Include <dl-prop.h>.
7261 (dl_open_worker): Call _dl_open_check.
7262 * elf/rtld.c: Include <dl-prop.h>.
7263 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
7265 * sysdeps/generic/dl-prop.h: New file.
7266 * sysdeps/i386/dl-cet.c: Likewise.
7267 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
7268 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
7269 * sysdeps/x86/cet-tunables.h: Likewise.
7270 * sysdeps/x86/check-cet.awk: Likewise.
7271 * sysdeps/x86/configure: Likewise.
7272 * sysdeps/x86/configure.ac: Likewise.
7273 * sysdeps/x86/dl-cet.c: Likewise.
7274 * sysdeps/x86/dl-procruntime.c: Likewise.
7275 * sysdeps/x86/dl-prop.h: Likewise.
7276 * sysdeps/x86/libc-start.h: Likewise.
7277 * sysdeps/x86/link_map.h: Likewise.
7278 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
7280 (_dl_runtime_profile): Likewise.
7281 (_dl_runtime_resolve_shstk): New.
7282 (_dl_runtime_profile_shstk): Likewise.
7283 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
7285 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
7286 (CFLAGS-.os): Likewise.
7287 (CFLAGS-.op): Likewise.
7288 (CFLAGS-.oS): Likewise.
7289 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
7291 (tests-special): Add $(objpfx)check-cet.out.
7292 (cet-built-dso): New.
7293 (+$(cet-built-dso:=.note)): Likewise.
7294 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
7295 ($(objpfx)check-cet.out): New.
7296 (generated): Add check-cet.out.
7297 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
7299 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
7300 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7301 (init_cpu_features): Call get_cet_status to check CET status
7302 and update dl_x86_feature_1 with CET status. Call
7303 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
7304 (set_x86_shstk). Disable and lock CET in libc.a.
7305 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
7306 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
7307 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7308 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
7309 (_CET_ENDBR): Define if not defined.
7310 (ENTRY): Add _CET_ENDBR.
7311 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
7313 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
7315 (_dl_runtime_profile): Likewise.
7317 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7320 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
7321 restore r2 on longjmp.
7322 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
7324 Added rules to build test tst-setjmp-bug21895-static.
7325 Added module setjmp-bug21895 and rules to build a shared object from it.
7326 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
7327 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
7329 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
7331 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
7332 * benchtests/bench-strstr.c: Likewise.
7333 * string/memmem.c (FASTSEARCH): Define.
7334 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
7335 Add support for FASTSEARCH.
7336 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
7337 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
7338 (FASTSEARCH): Define.
7339 * string/test-strcasestr.c: Rename __strnlen to strnlen.
7340 * string/test-strstr.c: Likewise.
7342 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
7344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
7345 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
7347 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
7348 H.J. Lu <hongjiu.lu@intel.com>
7350 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
7351 (__longjmp): Restore shadow stack pointer if shadow stack is
7352 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7353 isn't defined for __longjmp_cancel.
7354 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
7355 (_setjmp): Save shadow stack pointer if shadow stack is enabled
7356 and SHADOW_STACK_POINTER_OFFSET is defined.
7357 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
7358 (setjmp): Save shadow stack pointer if shadow stack is enabled
7359 and SHADOW_STACK_POINTER_OFFSET is defined.
7360 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
7361 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7362 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7363 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
7365 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7366 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7367 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7368 Remove jmp_buf-ssp.sym.
7369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7371 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7372 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7373 * sysdeps/x86/Makefile (gen-as-const-headers): Add
7375 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
7376 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
7377 (__longjmp): Restore shadow stack pointer if shadow stack is
7378 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7379 isn't defined for __longjmp_cancel.
7380 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
7381 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7382 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7384 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
7387 * nptl/pthread_create.c: Include <tls-setup.h>.
7388 (__pthread_create_2_1): Call tls_setup_tcbhead.
7389 * sysdeps/generic/tls-setup.h: New file.
7390 * sysdeps/x86/nptl/tls-setup.h: Likewise.
7391 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7392 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
7394 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
7396 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7397 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
7398 (X86_FEATURE_1_SHSTK): Likewise.
7399 (CET_ENABLED): Likewise.
7400 (IBT_ENABLED): Likewise.
7401 (SHSTK_ENABLED): Likewise.
7403 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
7406 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
7407 (LOCALES): Likewise.
7408 * localedata/dsb_DE.UTF-8.in: New file.
7409 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
7411 2018-07-12 Florian Weimer <fweimer@redhat.com>
7413 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
7414 __mprotect, not mprotect.
7416 2018-07-11 Florian Weimer <fweimer@redhat.com>
7418 * io/Makefile (headers): Add bits/statx.h.
7420 2018-07-10 Mike FABIAN <mfabian@redhat.com>
7422 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
7423 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
7425 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
7426 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
7429 2018-07-10 Florian Weimer <fweimer@redhat.com>
7431 * io/Makefile (routines): Add statx.
7432 (tests-internal): Add tst-statx.
7433 * io/Versions (GLIBC_2.28): Export statx.
7434 * io/bits/statx.h: New file.
7435 * io/sys/stat.h [__USE_GNU]: Include it.
7436 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
7437 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
7439 * io/statx.c: New file.
7440 * io/statx_generic.: Likewise.
7441 * io/tst-statx.: Likewise.
7442 * include/bits/statx.h: Likewise.
7443 * sysdeps/unix/sysv/linux/kernel-features.h
7444 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
7445 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7446 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
7447 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
7449 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7450 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
7451 * sysdeps/unix/sysv/linux/statx.c: New file.
7452 * manual/filesys.texi: Note that statx is undocumented.
7453 * sysdeps/**/libc*.abilist: Update.
7455 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7457 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
7458 a kernel issue which lead to test failure in some cases.
7460 2018-07-10 Florian Weimer <fweimer@redhat.com>
7463 * posix/regexec.c (check_node_accept_bytes): When comparing
7464 weights, do not compare an extra byte after the end of the
7467 2018-07-10 Florian Weimer <fweimer@redhat.com>
7469 * libio/readline.c: Fix copyright year.
7470 * libio/tst-readline.c Likewise.
7471 * nss/tst-nss-files-hosts-getent.c: Likewise.
7473 2018-07-06 Florian Weimer <fweimer@redhat.com>
7476 * nss/nss_files/files-XXX.c (internal_getent): Use
7477 __libc_readline_unlocked. Seek back to the start of the line if
7478 parsing failes with ERANGE.
7479 (get_contents_ret, get_contents): Remove.
7480 * nss/tst-nss-files-hosts-getent.c: New file.
7481 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
7482 (tst-nss-files-hosts-getent): Link with -ldl.
7484 2018-07-06 Florian Weimer <fweimer@redhat.com>
7486 * include/stdio.h (__libc_readline_unlocked): Declare.
7487 (__ftello64, __fseeko64): Declare aliases.
7488 * libio/readline.c: New file.
7489 * libio/tst-readline.c: Likewise.
7490 (routines): Add readline.
7491 (tests-internal): Add tst-readlime.
7492 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
7493 __libc_readline_unlocked.
7494 * libio/fseeko.c (__fseeko): Rename from fseeko.
7495 (fseeko): Add alias.
7496 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
7497 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
7498 (fseeko64): Add alias.
7499 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
7500 * libio/ftello64.c (__ftello64): Rename from ftello64.
7501 (ftello64): Add alias.
7503 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7505 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
7508 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7510 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
7511 Use dl_hwcap without masking.
7512 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
7515 2018-07-06 Florian Weimer <fweimer@redhat.com>
7517 * conform/conformtest.pl (checknamespace): Escape literal braces
7518 in regular expressions.
7520 2018-07-06 Amit Pawar <amit.pawar@amd.com>
7522 * sysdeps/x86/cpu-features.c (get_common_indeces):
7523 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
7524 * sysdeps/x86/cpu-features.c (init_cpu_features):
7525 AVX_Fast_Unaligned_Load is disabled for Excavator core.
7527 2018-07-05 Florian Weimer <fweimer@redhat.com>
7529 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
7531 (CFLAGS-elf-init.oS): Likewise.
7533 2018-07-05 Florian Weimer <fweimer@redhat.com>
7534 Carlos O'Donell <carlos@redhat.com>
7536 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
7537 $(no-stack-protector). stack_chk_fail_local.c can be compiled
7538 with stack protector enabled because there is no risk of infinite
7541 2018-07-05 Maciej W. Rozycki <macro@mips.com>
7545 * libc-abis (ABSOLUTE): New ABI.
7546 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
7547 * NEWS: Mention the new ABI.
7549 2018-07-05 Florian Weimer <fweimer@redhat.com>
7552 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
7553 (RENAME_WHITEOUT): Define.
7554 [__USE_GNU] (renameat2): Declare.
7555 * stdio-common/Makefile (routines): Add renameat2.
7556 (tests): Add tst-renameat2.
7557 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
7558 * stdio-common/renameat2.c: New file.
7559 * stdio-common/tst-renameat2.c: Likewise.
7560 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
7561 * manual/filesys.texi (Temporary Files): Note that renameat2 is
7563 * sysdeps/unix/sysv/linux/kernel-features.h
7564 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
7565 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7566 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7568 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7569 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7570 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
7571 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7572 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
7573 * include/stdio.h (__renameat): Add alias for renameat.
7574 * stdio-common/renameat.c (__renameat): Rename from renameat.
7575 Add hidden definition and alias.
7576 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7577 * sysdeps/mach/hurd/renameat.c: Likewise.
7578 * sysdeps/**/libc*.abilist: Add renameat2.
7580 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7582 * posix/bug-regex33.c: Fix build after regex sync.
7584 2018-07-04 Carlos O'Donell <carlos@redhat.com>
7587 * localedata/tst-langinfo-setlocale.c: New file.
7588 * localedata/tst-langinfo-setlocale-static.c: New file.
7589 * localedata/tst-langinfo-newlocale.c: New file.
7590 * localedata/tst-langinfo-newlocale-static.c: New file.
7591 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
7592 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
7593 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
7594 (tests-static): Remove tst-langinfo-static. Add
7595 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
7596 (tests-special): Remove $(objpfx)tst-langinfo.out,
7597 $(objpfx)tst-langinfo-static.out. Add
7598 $(objpfx)tst-langinfo-setlocale.out,
7599 $(objpfx)tst-langinfo-newlocale.out,
7600 $(objpfx)tst-langinfo-setlocale-static.out,
7601 $(objpfx)tst-langinfo-newlocale-static.out.
7602 ($(objpfx)tst-langinfo.out): Remove.
7603 ($(objpfx)tst-langinfo-static.out): Remove.
7604 ($(objpfx)tst-langinfo-newlocale.out): New target.
7605 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
7606 (test-xfail-tst-langinfo-newlocale-static): Add.
7607 ($(objpfx)tst-langinfo-setlocale.out): New target.
7608 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
7609 * localedata/tst-langinfo.c: Call test_locale.
7610 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
7613 2018-07-04 Florian Weimer <fweimer@redhat.com>
7615 testrun.sh: Implement --tool=strace, --tool=valgrind
7616 * Makefile (testrun-script): Define variable.
7617 (testrun.sh): Use variable.
7618 * manual/install.texi (Tools for Compilation): make 4.0 or later
7620 * configure.ac: Check for make 4.0 or later.
7621 * INSTALL: Regenerate.
7622 * configure: Likewise.
7624 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7630 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
7631 * posix/PCRE.tests: Remove invalid test.
7632 * posix/bug-regex28.c: Fix expected values for used syntax.
7633 * posix/bug-regex37.c: New file.
7634 * posix/bug-regex38.c: Likewise.
7635 * posix/regcomp.c: Sync with gnulib.
7636 * posix/regex.c: Likewise.
7637 * posix/regex.h: Likewise.
7638 * posix/regex_internal.c: Likewise.
7639 * posix/regex_internal.h: Likewise.
7640 * posix/regexec.c: Likewise.
7642 2018-06-26 Mike FABIAN <mfabian@redhat.com>
7645 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
7646 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
7647 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
7648 * localedata/unicode-gen/PropList.txt: likewise.
7649 * localedata/unicode-gen/UnicodeData.txt: likewise.
7650 * localedata/charmaps/UTF-8: Regenerate.
7651 * localedata/locales/i18n_ctype: likewise.
7652 * localedata/locales/tr_TR: likewise.
7653 * localedata/locales/translit_circle: likewise.
7654 * localedata/locales/translit_cjk_compat: likewise.
7655 * localedata/locales/translit_combining: likewise.
7656 * localedata/locales/translit_compat: likewise.
7657 * localedata/locales/translit_font: likewise.
7658 * localedata/locales/translit_fraction: likewise.
7660 2018-07-03 Florian Weimer <fweimer@redhat.com>
7663 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
7664 * stdio-common/tst-printf.sh: Adjust expected output.
7667 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7669 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
7672 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7674 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
7675 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
7676 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
7677 * stdio-common/tst-printfsz-islongdouble.c: New file.
7678 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
7679 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
7680 [subdir == stdio-common] (routines): Add ieee128-printf_size.
7681 [subdir == stdio-common] (tests-internal): Add
7682 test-printf-size-ieee128, and test-printf-size-ibm128.
7683 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
7684 (CFLAGS-test-printf-size-ibm128.c): New variables.
7685 [subdir == stdio-common] (tests-special): Add
7686 $(objpfx)test-printf-size-ieee128.out and
7687 $(objpfx)test-printf-size-ibm128.out.
7688 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
7689 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
7690 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
7691 __printf_sizeieee128.
7692 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
7694 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
7696 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
7699 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7701 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
7702 (exp2f_inline): Likewise.
7703 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
7704 (__math_uflowf): Likewise.
7705 (__math_may_uflowf): Likewise.
7706 (__math_divzerof): Likewise.
7707 (__math_invalidf): Likewise.
7708 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
7709 (__math_oflowf): Likewise.
7710 (__math_uflowf): Likewise.
7711 (__math_may_uflowf): Likewise.
7712 (__math_divzerof): Likewise.
7713 (__math_invalidf): Likewise.
7715 2018-06-29 DJ Delorie <dj@redhat.com>
7716 Carlos O'Donell <carlos@redhat.com>
7719 * include/libc-symbols.h: Comment the freeres framework.
7720 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
7721 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
7722 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
7723 * dlfcn/dlerror.c: Include libc-symbols.h
7724 (__dlerror_main_freeres): New function.
7725 * dlfcn/dlfreeres.c: New file.
7726 * dlfcn/sdlfreeres.c: New file.
7727 * include/dlfcn.h: Declare __dlerror_main_freeres.
7728 * malloc/set-freeres.c: Declare __libdl_freeres, and
7729 __libpthread_freeres.
7730 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
7731 the releavant libraries are loaded.
7732 * malloc/thread-freeres.c: Add comments.
7733 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
7734 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
7735 * nptl/allocatestack.c (__nptl_free_stacks): New function.
7736 (__free_stacks): Rename to...
7737 (free_stacks): ...this. Mark static.
7738 (queue_stack): Call free_stacks.
7739 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
7740 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
7741 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
7742 ptr_freeres element from struct.
7743 (pthread_functions): Remove .ptr_freeres from struct initializer.
7744 [SHARED] (nptl_freeres): Remove.
7745 * nptl/nptlfreeres.c: New file.
7747 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
7748 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
7750 (__free_stacks): Rename to...
7751 (__nptl_stacks_freeres): ...this.
7752 (__shm_directory_freeres): Declare.
7753 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
7754 (__nptl_unwind_freeres): ...this.
7755 * resolv/res-close.c: Add comment.
7756 * resolv/resolv_conf.c: Include libc-symbols.h.
7757 * string/strerror_l.c: Include libc-symbols.h.
7758 * sunrpc/rpc_thread.c: Include libc-symbols.h.
7759 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
7760 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
7761 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
7763 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7765 * stdlib/tst-strfmon_l.c: Add tests for long double.
7767 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
7770 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
7771 * localedata/locales/dsb_DE: New file.
7773 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7776 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
7778 (alt_mon): New entry, import from CLDR (nominative case).
7780 2018-06-29 Sylvain Lesage <severo@rednegra.net>
7783 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
7785 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
7787 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
7788 Use vector registers.
7790 * sysdeps/aarch64/multiarch/memmove_falkor.S
7791 (__memcpy_falkor): Use vector registers.
7793 2018-06-29 Martin Sebor <msebor@redhat.com>
7795 * manual/stdio.texi (Customizing Printf): Mention interaction
7798 2018-06-29 Maciej W. Rozycki <macro@mips.com>
7801 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
7802 `st_value' is 0 if `st_shndx' is SHN_ABS.
7803 * elf/tst-absolute-zero.c: New file.
7804 * elf/tst-absolute-zero-lib.c: New file.
7805 * elf/tst-absolute-zero-lib.lds: New file.
7806 * elf/Makefile (tests): Add `tst-absolute-zero'.
7807 (modules-names): Add `tst-absolute-zero-lib'.
7808 (LDLIBS-tst-absolute-zero-lib.so): New variable.
7809 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
7810 ($(objpfx)tst-absolute-zero: New dependency.
7812 2018-06-29 Zack Weinberg <zackw@panix.com>
7814 * configure.ac: New command-line option --disable-crypt.
7815 Force --disable-nss-crypt when --disable-crypt is given, with a
7816 warning if it was explicitly enabled.
7817 * configure: Regenerate.
7818 * config.make.in: New boolean substitution variable $(build-crypt).
7819 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
7820 when $(build-crypt).
7821 * manual/install.texi: Document --disable-crypt.
7822 * INSTALL: Regenerate.
7824 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
7826 * conform/Makefile: Only include libcrypt.a in
7827 linknamespace-libs-xsi and linknamespace-libs-XPG4
7828 when $(build-crypt).
7829 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
7830 USE_CRYPT to 1 when $(build-crypt).
7831 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
7832 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
7833 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
7835 2018-06-29 Zack Weinberg <zackw@panix.com>
7837 * crypt/crypt.h, posix/unistd.h: Update comments and
7838 prototypes for crypt and crypt_r.
7840 * manual/crypt.texi (Cryptographic Functions): New initial
7842 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
7843 (Unpredictable Bytes): Improve initial exposition. Clarify error
7844 behavior of getentropy and getrandom.
7845 * manual/examples/genpass.c: Generate a salt using getentropy
7846 instead of the current time. Use hash $5$ (SHA-2-256).
7847 * manual/examples/testpass.c: Demonstrate validation against
7848 hashes generated with three different one-way functions.
7850 * manual/intro.texi: crypt.texi does not need an overview
7853 * manual/nss.texi, manual/memory.texi, manual/socket.texi
7854 * manual/terminal.texi: Consistently refer to "passphrases"
7855 * instead of "passwords", and to the "user database" instead
7856 * of the "password database".
7857 * manual/users.texi: Similarly. Add notes about how actual
7858 passphrase hashes are now stored in the shadow database.
7859 Remove 20-year-old junk todo note.
7861 2018-06-29 Zack Weinberg <zackw@panix.com>
7863 * manual/crypt.texi: Use a normal top-level @node declaration.
7864 Move most of the introductory text to the 'crypt' section.
7865 Move the example programs below the @deftypefun for 'crypt_r'.
7866 Move the 'getpass' section...
7867 * manual/terminal.texi: ...here.
7869 2018-06-29 Zack Weinberg <zackw@panix.com>
7870 Florian Weimer <fweimer@redhat.com>
7872 * posix/unistd.h: Do not declare encrypt.
7873 (_XOPEN_CRYPT): Remove macro definition.
7874 (crypt): Declare only for _USE_MISC.
7875 * stdlib/stdlib.h: Do not declare setkey.
7876 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
7877 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
7879 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
7880 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
7881 into compat symbols. Don't define initial_perm if it's not
7883 * crypt/cert.c: Link explicitly with the expected versions for
7884 setkey and encrypt. If they are not available at all, mark
7885 the test as unsupported.
7887 * sunrpc/des_crypt.c: Unconditionally block linkage with
7888 cbc_crypt and ecb_crypt for new binaries.
7889 * sunrpc/des_soft.c: Unconditionally block linkage with
7890 des_setparity for new binaries.
7892 * manual/crypt.texi: Remove the entire "DES Encryption"
7893 section. Also remove the paragraph talking about FIPS 140-2
7894 from the introduction.
7895 * manual/string.texi (strfry, memfrob): Revise. Recommend use
7896 of libgcrypt for "real" encryption, not DES.
7897 * manual/conf.texi (Constants for Sysconf): Mention that
7898 _XOPEN_CRYPT is no longer impelemented.
7900 * conform/data/unistd.h-data: Remove crypt function declaration.
7902 2018-06-29 Florian Weimer <fweimer@redhat.com>
7905 * malloc/hooks.c: Update comments on restoring of dumped heaps.
7906 (disallow_malloc_check): Remove variable.
7907 (__malloc_check_init): Adjust.
7908 (malloc_set_state): Update comment.
7909 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
7912 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7915 * localedata/locales/ast_ES (mon): Rename to...
7917 (mon): Import from CLDR (genitive case).
7919 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
7920 Jakub Sitnicki <jkbs@redhat.com>
7923 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
7926 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
7928 * manual/llio.texi: Remove spurious space.
7930 2018-06-28 Florian Weimer <fweimer@redhat.com>
7933 * time/bits/types/struct_timespec.h: Change header inclusion guard to
7936 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7938 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
7939 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
7940 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
7941 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
7942 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
7943 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
7944 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
7946 2018-06-27 Maciej W. Rozycki <macro@mips.com>
7949 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
7950 Copy and null-terminate entries that are not terminated, in
7951 addition to empty ones.
7953 2018-06-27 Florian Weimer <fweimer@redhat.com>
7956 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
7957 (extend_alloca_account): Remove.
7958 * manual/stdio.texi (Variable Arguments Output): Update comment.
7960 2018-06-27 Joseph Myers <joseph@codesourcery.com>
7962 * nptl/sockperf.c: Remove file.
7964 2018-06-27 Florian Weimer <fweimer@redhat.com>
7967 * elf/dl-deps.c (_dl_map_object_deps): Use struct
7968 scratch_buffer instead of extend_alloca.
7970 2018-06-27 Florian Weimer <fweimer@redhat.com>
7973 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
7974 scratch_buffer instead of extend_alloca. Update comments.
7976 2018-06-27 Florian Weimer <fweimer@redhat.com>
7979 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
7980 instead of extend_alloca.
7982 2018-06-26 Joseph Myers <joseph@codesourcery.com>
7985 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
7986 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
7988 * scripts/test-installation.pl: Put temporary files in build
7989 directory, not /tmp.
7990 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
7991 (CFLAGS-bug4.c): Likewise.
7992 (CFLAGS-bug5.c): Likewise.
7993 (CFLAGS-test-fseek.c): Likewise.
7994 (CFLAGS-test-popen.c): Likewise.
7995 (CFLAGS-test_rdwr.c): Likewise.
7996 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
7998 * stdio-common/bug4.c (main): Likewise.
7999 * stdio-common/bug5.c (main): Likewise.
8000 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8001 * stdio-common/test-popen.c (do_test): Likewise.
8002 * stdio-common/test_rdwr.c (main): Likewise.
8004 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8006 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8007 (sem_open): Set sem.newsem.pad to zero for valgrind.
8009 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8012 * NEWS: Mention fcntl64 addition.
8013 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8014 * login/utmp_file.c: Likewise.
8015 * sysdeps/posix/fdopendir.c: Likewise.
8016 * sysdeps/posix/opendir.c: Likewise.
8017 * sysdeps/unix/pt-fcntl.c: Likewise.
8018 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8019 __fcntl64_nocancel_adjusted): New prototype.
8020 (__fcntl_nocancel_adjusted): Remove prototype.
8021 * io/Makefile (routines): Add fcntl64.
8022 (CFLAGS-fcntl64.c): New rule.
8023 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8024 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8025 * io/fcntl.h (fcntl64): Add prototype and redirect if
8026 __USE_FILE_OFFSET64 is defined.
8027 * io/fcntl64.c: New file.
8028 * manual/llio.text: Add a note for which commands fcntl acts a
8030 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8031 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8032 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8034 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8035 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8037 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8038 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8039 to __fcntl64_nocancel.
8040 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8041 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8042 to __fcntl64_nocancel.
8043 * sysdeps/generic/not-cancel.h: Likewise.
8044 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8045 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8046 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8047 (fcntl64): New symbol.
8048 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8049 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8050 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8053 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8054 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8055 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8056 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8057 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8058 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8060 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8061 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8062 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8063 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8064 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8065 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8066 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8067 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8068 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8073 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8074 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8075 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8077 2018-06-26 Florian Weimer <fweimer@redhat.com>
8079 Run thread shutdown functions in an explicit order.
8080 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
8082 (__libc_thread_freeres): Call thread shutdown functions
8084 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
8085 * include/string.h (__strerror_thread_freeres): Declare.
8086 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
8087 arena_thread_freeres. No longer static. Remove thread shutdown
8089 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
8091 * resolv/res-close.c (__res_thread_freeres): Renamed from
8092 res_thread_freeres. No longer static. Remove thread shutdown
8094 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
8095 * resolv/resolv_conf.c (freeres): Remove incorrect section
8096 attribute and use libc_freeres_fn.
8097 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
8098 strerror_thread_freeres. No longer static. Remove thread
8099 shutdown hook registration.
8100 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
8101 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
8102 shutdown hook registration.
8103 * Makerules (shlib.lds): Do not provide section boundary symbols
8104 for __libc_thread_subfreeres.
8105 * manual/memory.texi (Basic Allocation): Update comment.
8107 2018-06-26 Florian Weimer <fweimer@redhat.com>
8109 Remove always-defined _RPC_THREAD_SAFE_ macro.
8110 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
8111 Do not define _RPC_THREAD_SAFE_.
8112 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
8114 * sunrpc/clnt_perr.c: Likewise.
8115 * sunrpc/clnt_raw.c: Likewise.
8116 * sunrpc/clnt_simp.c: Likewise.
8117 * sunrpc/key_call.c: Likewise.
8118 * sunrpc/rpc_common.c: Likewise.
8119 * sunrpc/rpc_main.c: Likewise.
8120 * sunrpc/rpc_thread.c: Likewise.
8121 * sunrpc/svc.c: Likewise.
8122 * sunrpc/svc_raw.c: Likewise.
8123 * sunrpc/svc_simple.c: Likewise.
8124 * sumrpc/svcauth_des.c: Likewise.
8126 2018-06-26 Florian Weimer <fweimer@redhat.com>
8128 * libio/Makefile (tests-internal): Add tst-vtables,
8129 tst-vtables-interposed.
8130 * libio/tst-vtables.c: New file.
8131 * libio/tst-vtables-common.c: Likewise.
8132 * libio/tst-vtables-interposed.c: Likewise.
8134 2018-06-26 Florian Weimer <fweimer@redhat.com>
8136 * support/support_test_main.c (support_test_main): Only call
8137 setvbuf if not disables.
8138 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
8139 * support/test-driver.h (struct test_config): Add no_setvbuf member.
8141 2018-06-26 Florian Weimer <fweimer@redhat.com>
8144 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
8146 2018-06-25 Florian Weimer <fweimer@redhat.com>
8149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8150 Use struct scratch_buffer instead of extend_alloca.
8152 2018-06-25 Florian Weimer <fweimer@redhat.com>
8155 * nss/getent.c (initgroups_keys): Use dynarray instead of
8158 2018-06-25 Florian Weimer <fweimer@redhat.com>
8161 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
8162 Use struct scratch_buffer instead of extend_alloca.
8164 2018-06-25 Florian Weimer <fweimer@redhat.com>
8167 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
8168 back to malloc directly, without stack allocations.
8170 2018-06-25 Florian Weimer <fweimer@redhat.com>
8173 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
8176 2018-06-25 Florian Weimer <fweimer@redhat.com>
8179 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
8181 * nscd/hstcache.c (addhstbyX): Likewise.
8182 * nscd/pwdcache.c (addpwbyX): Likewise.
8183 * nscd/servicescache.c (addservbyX): Likewise.
8185 2018-06-25 Florian Weimer <fweimer@redhat.com>
8188 * nscd/connections.c (read_cmdline): New function.
8189 (restart): Use it. Update comment.
8191 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8194 * localedata/locales/csb_PL (mon): Rename to...
8196 (abmon): Rename to...
8198 (mon): Add with proper genitive forms, copy from Wikipedia.
8201 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8204 * localedata/locales/csb_PL (mon): Fix typos:
8205 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
8206 (yesstr): Add, value is "jo".
8207 (nostr): Add, value is "nié".
8209 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8211 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
8212 all log1p and significand functions on m680x0.
8213 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
8214 of s_significand.c..
8215 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8216 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
8217 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
8218 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
8219 s_log1p.c and include it..
8221 2018-06-21 Vincent Chen <vincentc@andestech.com>
8223 * elf/elf.h (R_NDS32_NONE): New define.
8224 (R_NDS32_32_RELA): Likewise.
8225 (R_NDS32_COPY): Likewise.
8226 (R_NDS32_GLOB_DAT): Likewise.
8227 (R_NDS32_JUMP_SLOT): Likewise.
8228 (R_NDS32_RELATIVE): Likewise.
8229 (R_NDS32_TLS_TPOFF): Likewise.
8230 (R_NDS32_TLS_DESC): Likewise.
8232 2018-06-21 Mark Wielaard <mark@klomp.org>
8234 * elf/elf.h (R_BPF_MAP_FD): Removed.
8235 (R_BPF_64_64, R_BPF_64_32): New.
8237 2018-06-21 Florian Weimer <fweimer@redhat.com>
8240 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
8241 Renamed from libc_feholdsetround_ctx.
8242 (default_libc_feresetround_ctx): Renamed from
8243 libc_feresetround_ctx.
8244 (default_libc_feholdsetround_noex_ctx): Renamed from
8245 libc_feholdsetround_noex_ctx.
8246 (default_libc_feresetround_noex_ctx): Renamed from
8247 libc_feresetround_noex_ctx.
8248 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
8249 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
8250 forwardning to the old implementations under the new names.
8251 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
8252 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
8253 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
8254 (libc_feresetround_ctx): Forward to default implements for i386
8255 and MATH_SET_BOTH_ROUNDING_MODES.
8256 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
8257 Add -DMATH_SET_BOTH_ROUNDING_MODES.
8259 2018-06-20 Joseph Myers <joseph@codesourcery.com>
8261 * string/tst-cmp.c: Include <libc-diag.h>.
8262 (strncmp_max): Disable -Wstringop-overflow= around call to
8264 (strncasecmp_max): Disable -Wstringop-overflow= around call to
8267 * string/bug-strpbrk1.c: Include <libc-diag.h>.
8268 (main): Disable -Wunused-value around call to strpbrk.
8269 * string/bug-strspn1.c: Include <libc-diag.h>.
8270 (main): Disable -Wunused-value around call to strspn.
8272 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8273 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8275 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
8276 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
8278 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8280 * math/Makefile (libm-calls): Move s_significandF to...
8281 (gen-libm-calls): ... here.
8282 * math/s_significand_template.c: New file.
8283 * math/s_significand.c: Removed.
8284 * math/s_significandf.c: Removed.
8285 * math/s_significandl.c: Removed.
8286 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
8287 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
8289 * math/e_exp2_template.c (declare_mgen_finite_alias,
8290 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
8291 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
8292 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
8294 2018-06-20 Florian Weimer <fweimer@redhat.com>
8296 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
8298 2018-06-19 Joseph Myers <joseph@codesourcery.com>
8301 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
8302 floating-point number to strtod functions rather than possibly
8303 negating result of those functions.
8304 * stdio-common/tst-scanf-round.c: New file.
8305 * stdio-common/Makefile (tests): Add tst-scanf-round.
8306 ($(objpfx)tst-scanf-round): Depend on $(libm).
8308 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8310 * sysdeps/mach/hurd/localplt.data: Move to...
8311 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
8312 R_386_GLOB_DAT like on Linux i386.
8314 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8316 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
8317 (SHM_STAT_ANY): New macro.
8318 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
8319 (SHM_STAT_ANY): Likewise.
8320 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
8321 (SHM_STAT_ANY): Likewise.
8322 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
8323 (SHM_STAT_ANY): Likewise.
8324 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
8325 (SHM_STAT_ANY): Likewise.
8326 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
8327 (SHM_STAT_ANY): Likewise.
8328 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
8329 (SHM_STAT_ANY): Likewise.
8330 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
8331 (SHM_STAT_ANY): Likewise.
8332 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
8333 (SHM_STAT_ANY): Likewise.
8334 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
8335 (SHM_STAT_ANY): Likewise.
8336 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
8337 (SHM_STAT_ANY): Likewise.
8338 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
8339 (SHM_STAT_ANY): Likewise.
8341 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
8342 (SEM_STAT_ANY): New macro.
8343 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
8344 (SEM_STAT_ANY): Likewise.
8345 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
8346 (SEM_STAT_ANY): Likewise.
8347 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
8348 (SEM_STAT_ANY): Likewise.
8349 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
8350 (SEM_STAT_ANY): Likewise.
8351 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
8352 (SEM_STAT_ANY): Likewise.
8353 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
8354 (SEM_STAT_ANY): Likewise.
8355 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
8356 (SEM_STAT_ANY): Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
8358 (SEM_STAT_ANY): Likewise.
8359 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
8360 (SEM_STAT_ANY): Likewise.
8362 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
8363 (MSG_STAT_ANY): New macro.
8364 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
8365 (MSG_STAT_ANY): Likewise.
8366 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
8367 (MSG_STAT_ANY): Likewise.
8368 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
8369 (MSG_STAT_ANY): Likewise.
8370 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
8371 (MSG_STAT_ANY): Likewise.
8372 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
8373 (MSG_STAT_ANY): Likewise.
8374 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
8375 (MSG_STAT_ANY): Likewise.
8376 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
8377 (MSG_STAT_ANY): Likewise.
8378 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
8379 (MSG_STAT_ANY): Likewise.
8380 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
8381 (MSG_STAT_ANY): Likewise.
8383 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8384 (MAP_TYPE): Change value to 0x2b.
8386 2018-06-18 Florian Weimer <fweimer@redhat.com>
8389 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
8390 socket with SOCK_CLOEXEC.
8392 2018-06-18 Joseph Myers <joseph@codesourcery.com>
8395 * sysdeps/powerpc/powerpc64/le/Makefile
8396 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
8397 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
8398 (gnulib-tests): Also add $(f128-loader-link) for
8399 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
8401 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8403 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
8404 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
8406 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
8407 (sendfile64): New strong alias.
8408 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
8409 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
8410 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
8411 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
8413 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
8414 ___pthread_get_cleanup_stack.
8415 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
8416 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
8417 * mach/shortcut.awk: Make syscall stubs include
8418 <mach-shortcuts-hidden.h> and add hidden definition.
8419 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
8420 (__mach_msg): Add hidden prototype.
8421 * mach/msg.c: Include <mach.h>.
8422 (__mach_msg): Add hidden definition.
8423 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
8424 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
8425 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
8426 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8427 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
8428 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
8429 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
8430 prototype and definition.
8431 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
8432 hidden target for _hurd_self_sigstate.
8434 2018-06-15 Joseph Myers <joseph@codesourcery.com>
8437 * stdlib/tst-strtod-nan-sign-main.c: New file.
8438 * stdlib/tst-strtod-nan-sign.c: Likewise.
8439 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
8440 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
8441 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
8442 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
8443 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
8445 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
8448 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
8451 2018-06-14 Florian Weimer <fweimer@redhat.com>
8454 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
8455 that the result stays within the ISO-8859-1 range.
8456 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
8457 characters are defined in IBM273.
8459 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8461 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
8462 __mach_task_self): Remove attribute_hidden.
8464 2018-06-14 Joseph Myers <joseph@codesourcery.com>
8466 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
8467 ignore -Wrestrict for one test.
8469 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
8470 Szabolcs Nagy <szabolcs.nagy@arm.com>
8472 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
8474 2018-06-14 Florian Weimer <fweimer@redhat.com>
8476 * scripts/update-abilist.sh: Accept empty list of files to patch.
8478 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8480 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
8481 test-xfail-check-abi-libmachuser): Add.
8482 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
8483 __libc_read and __libc_write to __read and __write.
8484 * sysdeps/hurd/include/hurd/port.h: New file.
8485 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
8486 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
8487 __thread_switch, __evc_wait): Move declarations to...
8488 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
8490 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
8491 use PLT to call _hurd_self_sigstate.
8493 2018-06-13 Joseph Myers <joseph@codesourcery.com>
8496 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
8497 MAX_EXP as overflowing.
8498 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
8500 (round_str): Output also whether result overflows in each rounding
8502 * stdlib/tst-strtod-round-data: Add more tests.
8503 * stdlib/tst-strtod-round-data.h: Regenerated.
8504 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
8505 (TEST): Handle extra arguments for overflow flags.
8506 (struct test_overflow): New type.
8507 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
8508 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
8509 (test_in_one_mode): Take argument with overflow information.
8510 (do_test): Update calls to test_in_one_mode.
8512 2018-06-12 Carlos O'Donell <carlos@redhat.com>
8514 * elf/dl-load (_dl_dst_substitute): Correct comment.
8515 (_dl_dst_count): Likewise.
8517 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
8518 lll_futex_timed_wait.
8520 2018-06-12 Joseph Myers <joseph@codesourcery.com>
8523 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
8525 * math/test-nan-const.c: New file.
8526 * math/Makefile (tests): Add test-nan-const.
8527 (CFLAGS-test-nan-const.c): New variable.
8529 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8531 * benchtests/scripts/compare_strings.py (process_results): Add
8532 funcs argument. Compare only functions which are selected.
8533 (main): Check if base function is among selected functions.
8534 Pass selected functions to process_results.
8535 (__main__): Add -f/--functions argument.
8537 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
8538 Hongbo Zhang <hongbo.zhang@linaro.org>
8540 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
8541 __memcpy_falkor for phecda core.
8542 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
8543 __memmove_falkor for phecda core.
8544 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
8545 __memset_falkor for phecda core.
8546 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
8548 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
8549 macro to identify phecda core.
8551 2018-06-12 Carlos O'Donell <carlos@redhat.com>
8552 Andreas Schwab <schwab@suse.de>
8553 Dmitry V. Levin <ldv@altlinux.org>
8554 Florian Weimer <fweimer@redhat.com>
8561 * elf/dl-dst.h: Remove DL_DST_COUNT.
8562 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
8563 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
8564 (is_dst): Comment. Support ELF gABI.
8565 (_dl_dst_count): Comment. Simplify and count DSTs.
8566 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
8567 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
8570 2018-06-12 Zack Weinberg <zackw@panix.com>
8572 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
8573 * sysdeps/unix/sysv/linux/dl-sysdep.c
8574 Include not-cancel.h. Use __close_nocancel instead of __close,
8575 __open64_nocancel instead of __open, __read_nocancel instead of
8576 __libc_read, and __write_nocancel instead of __libc_write.
8578 * csu/check_fds.c (check_one_fd)
8579 * sysdeps/posix/fdopendir.c (__fdopendir)
8580 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
8581 instead of __fcntl and/or __libc_fcntl.
8583 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
8584 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
8585 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
8586 Use __open64_nocancel instead of __open_nocancel.
8588 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
8589 hidden_proto declarations to the end and issue them if either
8590 IS_IN(libc) or IS_IN(rtld).
8591 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
8592 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
8593 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
8594 read_nocancel, waitpid_nocancel, write_nocancel.
8596 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
8597 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
8598 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
8600 * nptl/pt-fcntl.c: New file.
8601 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
8602 (libpthread-routines): Add pt-fcntl.
8603 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
8604 (__libc_fcntl): Remove attribute_hidden.
8605 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
8606 __fcntl_nocancel_adjusted, not fcntl_common.
8607 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
8608 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
8609 to fcntl_nocancel.c.
8610 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8613 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
8615 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
8616 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
8617 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
8618 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
8619 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
8620 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
8621 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
8622 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
8623 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
8624 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
8625 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
8626 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
8627 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
8628 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
8629 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
8630 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
8631 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
8632 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
8633 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
8634 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
8636 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
8637 libpthread-routines.
8638 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
8641 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
8642 __libc_read, and __write instead of __libc_write. Define
8643 __open64 in addition to __open.
8645 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8649 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
8650 to _private_tm[3] and add __glibc_reserved2.
8651 Add _Static_assert of offset of __private_ss == 0x30.
8652 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
8653 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
8655 2018-06-12 Florian Weimer <fweimer@redhat.com>
8657 x86: Make strncmp usable from rtld.
8658 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
8659 __strncmp_ia32 if in libc (and not in rtld).
8660 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
8661 strncmp if not in libc (and not to __strncmp_sse2).
8663 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
8666 * localedata/locales/gd_GB (mon): Rename to...
8668 (mon): Import from CLDR (genitive case).
8669 * localedata/locales/hsb_DE (mon): Rename to...
8671 (mon): Import from CLDR (genitive case).
8672 * localedata/locales/wa_BE (mon): Rename to...
8674 (mon): Add, fill with the proper genitive forms, but CLDR data
8675 is incomplete; completed according to the comments in this file.
8676 (d_t_fmt): Do not use "di" before the month name, no longer needed.
8678 * localedata/locales/wa_BE (country_name): Reword
8679 "Beljike" -> "Beldjike".
8681 2018-06-11 Joseph Myers <joseph@codesourcery.com>
8684 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
8685 cases of non-finite arguments.
8686 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8688 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
8691 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
8693 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8696 * include/unistd.h (__execvpex): New prototype.
8697 * posix/Makefile (tests): Add tst-spawn4.
8698 (tests-internal): Add tst-spawn4-compat.
8699 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
8700 * posix/tst-spawn4-compat.c: New file.
8701 * posix/tst-spawn4.c: Likewise.
8702 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
8703 binaries as shell scripts.
8704 * sysdeps/posix/spawni.c (__spawni): Likewise.
8706 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
8709 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
8710 ($(all-built-dso:=.dynsym): New target.
8711 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
8712 ($(objpfx)check-initfini.out): New target.
8713 (generated): Add check-initfini.out.
8714 * scripts/check-initfini.awk: New file.
8715 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
8717 * sysdeps/alpha/crti.S (_init): Mark as hidden.
8719 * sysdeps/arm/crti.S (_init): Mark as hidden.
8721 * sysdeps/hppa/crti.S (_init): Mark as hidden.
8723 * sysdeps/i386/crti.S (_init): Mark as hidden.
8725 * sysdeps/ia64/crti.S (_init): Mark as hidden.
8727 * sysdeps/m68k/crti.S (_init): Mark as hidden.
8729 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
8731 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
8733 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
8735 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
8737 * sysdeps/nios2/crti.S (_init): Mark as hidden.
8739 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
8741 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
8743 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
8745 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
8747 * sysdeps/sh/crti.S (_init): Mark as hidden.
8749 * sysdeps/sparc/crti.S (_init): Mark as hidden.
8751 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
8754 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8756 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
8757 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
8758 and TF redirection to KFtype and KF only when the default
8759 long double type is not the IEEE 128-bit floating point type.
8761 2018-06-05 Joseph Myers <joseph@codesourcery.com>
8763 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
8765 (HWCAP_USCAT): Likewise.
8766 (HWCAP_ILRCPC): Likewise.
8767 (HWCAP_FLAGM): Likewise.
8768 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8770 (_dl_aarch64_cap_flags): Add new flag names.
8772 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
8773 (MAP_FIXED_NOREPLACE): New macro.
8774 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
8775 (MAP_FIXED_NOREPLACE): Likewise.
8776 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
8777 (MAP_FIXED_NOREPLACE): Likewise.
8778 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8779 (MAP_FIXED_NOREPLACE): Likewise.
8780 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
8781 (MAP_FIXED_NOREPLACE): Likewise.
8782 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
8783 (MAP_FIXED_NOREPLACE): Likewise.
8784 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
8785 (MAP_FIXED_NOREPLACE): Likewise.
8786 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
8787 (MAP_FIXED_NOREPLACE): Likewise.
8788 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
8789 (MAP_FIXED_NOREPLACE): Likewise.
8790 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
8791 (MAP_FIXED_NOREPLACE): Likewise.
8792 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
8793 (MAP_FIXED_NOREPLACE): Likewise.
8794 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
8795 (MAP_FIXED_NOREPLACE): Likewise.
8796 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
8797 (MAP_FIXED_NOREPLACE): Likewise.
8798 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
8799 (MAP_FIXED_NOREPLACE): Likewise.
8800 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
8801 (MAP_FIXED_NOREPLACE): Likewise.
8803 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8806 2018-06-04 Joseph Myers <joseph@codesourcery.com>
8808 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8811 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8813 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
8815 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
8817 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8819 * benchtests/scripts/compare_string.py: (process_results) Catch
8820 exception in non-existent base_func and catch exception in
8821 non-existent attribute.
8822 (parse_file) Catch exception if input file does not exist.
8824 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8826 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
8827 options to avoid diff calculation and omit header, respectively.
8828 (main): process --no-diff and --no-header
8830 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8831 H.J. Lu <hongjiu.lu@intel.com>
8833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8834 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
8836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8837 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
8838 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
8840 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
8841 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
8842 AVX unaligned load is fast and vzeroupper is preferred.
8843 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
8844 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
8845 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
8846 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
8847 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
8848 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
8849 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
8850 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
8851 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
8852 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
8855 2018-06-01 Florian Weimer <fweimer@redhat.com>
8857 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
8858 configuring with --disable-multi-arch, building with
8859 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
8862 2018-06-01 Florian Weimer <fweimer@redhat.com>
8864 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
8865 results from building with “-march=x86-64 -mtune=generic
8866 -mfpmath=sse” and running on a Haswell-era CPU.
8868 2018-06-01 Joseph Myers <joseph@codesourcery.com>
8871 * soft-fp/sqrttf2.c: Remove file.
8872 * soft-fp/sqrtdf2.c: Move to ....
8873 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
8875 (__sqrtdf2): Make conditional on
8876 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
8878 * soft-fp/sqrtsf2.c: Move to ....
8879 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
8881 (__sqrtsf2): Make conditional on
8882 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
8884 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
8885 (gcc-double-routines): Remove sqrtdf2.
8886 (gcc-quad-routines): Remove sqrttf2.
8887 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
8888 Do not filter out sqrtsf2 and sqrtdf2.
8889 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8890 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
8892 2018-06-01 Florian Weimer <fweimer@redhat.com>
8894 * sysdeps/generic/libcidn.abilist: Remove file.
8896 2018-06-01 Florian Weimer <fweimer@redhat.com>
8899 * libio/strfile.h (struct _IO_str_fields): Rename members to
8900 discourage their use and add comment.
8901 (_IO_STR_DYNAMIC): Remove unused macro.
8902 * libio/strops.c (_IO_str_init_static_internal): Do not use
8903 callback pointers. Call malloc and free.
8904 (_IO_str_overflow): Do not use callback pointers. Call malloc
8906 (enlarge_userbuf): Likewise.
8907 (_IO_str_finish): Call free.
8908 * libio/wstrops.c (_IO_wstr_init_static): Initialize
8909 _allocate_buffer_unused.
8910 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
8912 (enlarge_userbuf): Likewise.
8913 (_IO_wstr_finish): Call free.
8914 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
8915 _allocate_buffer_unused, _free_buffer_unused.
8916 * libio/memstream.c (__open_memstream): Likewise.
8917 * libio/vasprintf.c (_IO_vasprintf): Likewise.
8918 * libio/wmemstream.c (open_wmemstream): Likewise.
8920 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8922 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
8925 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8927 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
8928 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
8929 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
8931 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
8933 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
8935 2018-05-29 Florian Weimer <fweimer@redhat.com>
8937 * support/Makefile (libsupport-routines): Add
8938 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
8939 xpthread_barrierattr_setpshared.
8940 * support/xpthread_barrierattr_destroy.c: New file.
8941 * support/xpthread_barrierattr_init.c: Likewise.
8942 * support/xpthread_barrierattr_setpshared.c: Likewise.
8944 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
8947 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
8948 _r_debug and update DT_DEBUG for debugger.
8950 2018-05-29 Florian Weimer <fweimer@redhat.com>
8952 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
8953 (tst-strtod5i.out): Likewise.
8955 2018-05-25 Joseph Myers <joseph@codesourcery.com>
8957 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
8958 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
8959 (sparc64-quad-routines): New variable. Moved from ....
8960 [$(subdir) = soft-fp] (sysdep_routines): Add
8961 $(sparc64-quad-routines). Moved from ....
8962 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
8963 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
8964 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
8966 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
8967 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
8968 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
8969 * sysdeps/sparc/sparc64/qp_add.c: ... here.
8970 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
8971 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
8972 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
8973 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
8974 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
8975 * sysdeps/sparc/sparc64/qp_div.c: ... here.
8976 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
8977 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
8978 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
8979 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
8980 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
8981 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
8982 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
8983 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
8984 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
8985 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
8986 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
8987 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
8988 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
8989 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
8990 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
8991 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
8992 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
8993 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
8994 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
8995 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
8996 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
8997 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
8998 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
8999 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9000 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9001 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9002 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9003 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9004 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9005 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9006 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9007 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9008 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9009 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9010 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9011 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9012 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9013 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9014 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9015 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9016 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9017 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9018 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9019 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9020 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9021 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9022 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9023 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9025 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9026 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9027 (sparc32-quad-routines): New variable. Moved from ....
9028 [$(subdir) = soft-fp] (sysdep_routines): Add
9029 $(sparc32-quad-routines). Moved from ....
9030 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9031 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9033 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9034 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9035 * sysdeps/sparc/sparc32/q_add.c: ... here.
9036 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9037 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9038 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9039 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9040 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9041 * sysdeps/sparc/sparc32/q_div.c: ... here.
9042 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9043 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9044 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9045 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9046 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9047 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9048 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9049 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9050 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9051 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9052 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9053 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9054 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9055 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9056 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9057 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9058 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9059 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9060 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9061 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9062 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9063 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9064 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9065 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9066 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9067 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9068 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
9069 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
9070 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
9071 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
9072 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
9073 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
9074 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
9075 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
9076 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
9077 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
9078 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
9079 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
9080 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
9081 * sysdeps/sparc/sparc32/q_sub.c: ... here.
9082 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
9083 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
9084 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
9085 * sysdeps/sparc/sparc32/q_util.c: ... here.
9086 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
9087 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
9088 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
9089 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
9091 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9092 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9094 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
9095 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
9096 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
9097 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
9099 2018-05-24 Joseph Myers <joseph@codesourcery.com>
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9105 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
9106 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
9108 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9111 * math/math.h [C++] (iseqsig): Fix parameter type for the long
9114 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9116 * sysdeps/sh/Implies: Remove sh/soft-fp.
9117 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
9118 * sysdeps/sh/sfp-machine.h: ... here.
9120 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9122 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9123 (__mempcpy_erms): Skip zero length.
9124 (__memmove_erms): Likewise.
9125 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9126 (__memset_erms): Likewise.
9128 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9130 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
9131 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9132 Add functions moved from ....
9133 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
9134 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
9135 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
9137 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
9138 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
9139 * sysdeps/alpha/e_sqrtl.c: ... here.
9140 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
9141 * sysdeps/alpha/local-soft-fp.h: ... here.
9142 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
9143 * sysdeps/alpha/ots_add.c: ... here.
9144 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
9145 * sysdeps/alpha/ots_cmp.c: ... here.
9146 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
9147 * sysdeps/alpha/ots_cmpe.c: ... here.
9148 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
9149 * sysdeps/alpha/ots_cvtqux.c: ... here.
9150 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
9151 * sysdeps/alpha/ots_cvtqx.c: ... here.
9152 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
9153 * sysdeps/alpha/ots_cvttx.c: ... here.
9154 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
9155 * sysdeps/alpha/ots_cvtxq.c: ... here.
9156 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
9157 * sysdeps/alpha/ots_cvtxt.c: ... here.
9158 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
9159 * sysdeps/alpha/ots_div.c: ... here.
9160 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
9161 * sysdeps/alpha/ots_mul.c: ... here.
9162 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
9163 * sysdeps/alpha/ots_nintxq.c: ... here.
9164 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
9165 * sysdeps/alpha/ots_sub.c: ... here.
9166 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
9167 * sysdeps/alpha/sfp-machine.h: ... here.
9169 2018-05-23 Florian Weimer <fweimer@redhat.com>
9177 Switch to extern IDNA implementation (libidn2).
9178 * libidn: Remove subdirectory.
9179 * LICENSES: Do not mention licensing conditions for the removed
9181 * config.h.in (HAVE_LIBIDN): Remove.
9182 * include/dlfcn.h (__libc_dlopen): Update comment.
9183 * include/idna.h: Remove file.
9184 * inet/Makefile (routines): Add idna.
9185 (tests-static, tests-internal): Add tst-idna_name_classify.
9186 (LOCALES): Generate locales for tests.
9187 (tst-idna_name_classify.out): Depend on generated locales.
9188 * inet/idna_name_classify.c: New file.
9189 * inet/tst-idna_name_classify.c: Likewise.
9190 * inet/net-internal.h (__idna_to_dns_encoding)
9191 (__idna_from_dns_encoding): Declare.
9192 * inet/net-internal.h (enum idna_name_classification): Define.
9193 (__idna_name_classify): Declare.
9194 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
9195 __idna_from_dns_encoding.
9196 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
9197 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
9198 name as a fallback in case of encoding errors.
9199 (getnameinfo): Use DEPRECATED_NI_IDN.
9200 * inet/idna.c: New file.
9201 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
9202 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
9203 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
9204 (modules-names): Add tst-no-libidn2.
9205 (extra-test-objs): Add tst-no-libidn2.os.
9206 (LDFLAGS-tst-no-libidn2.so): Set soname.
9207 (LOCALES): Set, and generate locales.
9208 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
9209 (tst-resolv-ai_idn-latin1): Likewise.
9210 (tst-resolv-ai_idn-nolibidn2): Likewise.
9211 (tst-resolv-ai_idn.out): Depend on locales.
9212 (tst-resolv-ai_idn-latin1.out): Depend on locales.
9213 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
9215 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
9216 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
9217 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
9218 * resolv/tst-resolv-ai_idn.c: New file.
9219 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
9220 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
9221 * resolv/tst-no-libidn2.c: Likewise.
9222 * support/support_format_addrinfo.c (format_ai_flags): Do not
9223 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
9224 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
9225 (gaih_inet): Call __idna_to_dns_encoding and
9226 __idna_from_dns_encoding, and use the original (punycode) name if
9227 __idna_from_dns_encoding fails due to an encoding error.
9228 (getaddrinfo): Use DEPRECATED_AI_IDN.
9229 * sysdeps/unix/inet/Subdirs (libidn): Remove.
9230 * sysdeps/unix/inet/configure: Remove file.
9231 * sysdeps/unix/inet/configure.ac: Likewise.
9233 2018-05-23 Florian Weimer <fweimer@redhat.com>
9235 Implement allocate_once.
9236 * include/allocate_once.h: New file.
9237 * misc/allocate_once.c: Likewise.
9238 * misc/tst-allocate_once.c: Likewise.
9239 * misc/Makefile (routines): Add allocate_once.
9240 (tests-internal): Add tst-allocate_once.
9241 (generated): Add tst-allocate_once.mtrace,
9242 tst-allocate_once-mem.out.
9243 (tests-special): Add tst-allocate_once-mem.out.
9244 (tst-allocate_once-ENV): Set MALLOC_TRACE.
9245 (tst-allocate_once-mem.out): Call mtrace.
9246 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
9248 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9251 * string/test-memcpy.c (do_test1): New function.
9252 (test_main): Call it.
9254 2018-05-23 Andreas Schwab <schwab@suse.de>
9258 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
9259 (L(preloop_large)): Save initial destination pointer in %r11 and
9260 use it instead of %rax after the loop.
9261 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
9263 2018-05-22 Joseph Myers <joseph@codesourcery.com>
9265 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
9266 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
9267 -I../soft-fp. Moved from ....
9268 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
9269 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
9270 * sysdeps/aarch64/e_sqrtl.c: ... here.
9271 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
9272 * sysdeps/aarch64/sfp-machine.h: ... here.
9274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
9275 -Wmaybe-uninitialized around access to fq[0].
9276 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9280 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
9281 aliases for non-libc case of versioned symbols.
9282 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
9283 (llseek): Define as compat symbol if
9284 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
9286 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
9287 Make into a compat symbol, disabled for minimum symbol version
9288 GLIBC_2.28 and later.
9289 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
9291 2018-05-22 Florian Weimer <fweimer@redhat.com>
9293 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
9294 not add -mpreferred-stack-boundary=4.
9295 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
9296 (stack-align-test-flags): Likewise.
9297 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
9299 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
9300 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
9301 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
9302 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
9303 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
9304 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
9305 (CFLAGS-tst-align2.c): Likewise.
9307 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9309 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
9310 (index_arch_Prefer_FSRM): Likewise.
9311 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9312 Also check Prefer_FSRM.
9313 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
9314 Also return OPTIMIZE (erms) for Prefer_FSRM.
9316 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9318 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
9319 (index_cpu_FSRM): Likewise.
9320 (reg_FSRM): Likewise.
9322 2018-05-18 Joseph Myers <joseph@codesourcery.com>
9324 * math/gen-tgmath-tests.py: Import sys.
9325 (Tests.__init__): Initialize macros_seen.
9326 (Tests.add_tests): Add macro to macros_seen. Only generate tests
9327 if requested to do so for this macro.
9328 (Tests.add_all_tests): Take argument for macro for which to
9330 (Tests.check_macro_list): New function.
9331 (main): Handle check-list argument and argument specifying macro
9332 for which to generate tests.
9333 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
9334 [PYTHON] (tgmath3-macro-tests): Likewise.
9335 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
9336 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
9338 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
9339 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
9341 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
9343 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
9345 [PYTHON] (tests-special): Add
9346 $(objpfx)test-tgmath3-macro-list.out.
9347 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
9349 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
9350 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
9354 * time/tzset.c (SECSPERDAY): Cast to time_t.
9355 * time/tst-y2039.c: New file.
9356 * time/Makefile (tests): Add tst-y2039.
9358 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9360 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9361 (PREFETCH_ONE_SET): Remove duplicate line.
9363 2018-05-17 Florian Weimer <fweimer@redhat.com>
9365 * sysdeps/generic/math-type-macros-double.h: Include
9366 <math-nan-payload-double.h> after <libm-alias-double.h>.
9367 * sysdeps/generic/math-type-macros-float.h: Include
9368 <math-nan-payload-float.h> after <libm-alias-float.h>.
9369 * sysdeps/generic/math-type-macros-float128.h: Include
9370 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
9371 * sysdeps/generic/math-type-macros-ldouble.h: Include
9372 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
9374 2018-05-17 Andreas Schwab <schwab@suse.de>
9376 * resolv/res_send.c (__res_context_send): Don't set errno when
9377 returing error after malloc failure.
9379 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
9381 * nptl/allocatestack.c (allocate_stack): Remove the
9382 !__ASSUME_PRIVATE_FUTEX paths.
9383 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
9384 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9386 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
9387 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9388 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9389 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9390 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
9391 !__ASSUME_PRIVATE_FUTEX path.
9392 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
9393 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
9394 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9395 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
9396 !__ASSUME_PRIVATE_FUTEX macros.
9397 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9398 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9399 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9400 * sysdeps/unix/sysv/linux/kernel-features.h
9401 (__ASSUME_PRIVATE_FUTEX): Removed.
9403 2018-05-17 Joseph Myers <joseph@codesourcery.com>
9405 * math/Makefile (libm-narrow-fns): Add div.
9406 (libm-test-funcs-narrow): Likewise.
9407 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
9408 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
9409 * math/gen-auto-libm-tests.c (test_functions): Add div.
9410 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
9411 (NARROW_DIV_ROUND_TO_ODD): Likewise.
9412 (NARROW_DIV_TRIVIAL): Likewise.
9413 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
9415 (__ddivl): Likewise.
9416 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
9418 (CFLAGS-nldbl-ddiv.c): New variable.
9419 (CFLAGS-nldbl-fdiv.c): Likewise.
9420 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9422 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
9424 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
9425 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
9426 * math/auto-libm-test-in: Add tests of div.
9427 * math/auto-libm-test-out-narrow-div: New generated file.
9428 * math/libm-test-narrow-div.inc: New file.
9429 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
9432 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
9433 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
9434 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
9443 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
9444 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
9445 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
9446 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
9447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9448 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9449 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9450 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9451 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9452 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9453 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9454 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9455 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9456 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9457 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9458 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9459 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9460 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9465 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9466 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9467 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9468 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9469 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9470 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9471 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9472 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9474 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9477 * nscd/nscd-client.h (sendfileall): Remove prototype.
9478 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
9479 (handle_request): Use writeall instead of sendfileall.
9480 * nscd/aicache.c (addhstaiX): Likewise.
9481 * nscd/grpcache.c (cache_addgr): Likewise.
9482 * nscd/hstcache.c (cache_addhst): Likewise.
9483 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9484 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
9485 * nscd/pwdcache.c (cache_addpw): Likewise.
9486 * nscd/servicescache.c (cache_addserv): Likewise.
9487 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
9488 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
9489 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
9492 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
9494 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
9495 Include <string/strncat.c>.
9496 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
9498 (__GI___strncat): New hidden alias.
9500 2018-05-16 Joseph Myers <joseph@codesourcery.com>
9502 * sysdeps/mips/mips32/libm-test-ulps: Update.
9503 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9505 2018-05-16 Florian Weimer <fweimer@redhat.com>
9507 * support/Makefile (libsupport-routines): Add support_quote_blob,
9508 support_test_compare_blob.
9509 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
9510 * support/check.h (TEST_COMPARE_BLOB): Define.
9511 (support_test_compare_blob): Declare.
9512 * support/support.h (support_quote_blob): Declare.
9513 * support/support_quote_blob.c: New file.
9514 * support/support_test_compare_blob.c: Likewise.
9515 * support/tst-support_quote_blob.c: Likewise.
9516 * support/tst-test_compare_blob.c: Likewise.
9518 2018-05-16 Florian Weimer <fweimer@redhat.com>
9520 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
9521 of <strtod_nan_double.h>.
9522 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
9523 instead of SET_MANTISSA.
9524 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
9525 of include <strtod_nan_float.h>.
9526 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
9527 instead of <strtod_nan_ldouble.h>.
9528 * stdlib/strtod_nan_double.h: Move to ...
9529 * sysdeps/generic/math-nan-payload-double.h: ... here.
9530 (FLOAT): Remove definition.
9531 (SET_MANTISSA): Rename to ...
9532 (SET_NAN_PAYLOAD): ... this.
9533 * stdlib/strtod_nan_float.h: Move to ...
9534 * sysdeps/generic/math-nan-payload-float.h: ... here.
9535 (FLOAT): Remove definition.
9536 (SET_MANTISSA): Rename to ...
9537 (SET_NAN_PAYLOAD): ... this.
9538 * sysdeps/generic/math-type-macros-double.h: Include
9539 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
9540 instead of <math-svid-compat.h>.
9541 * sysdeps/generic/math-type-macros-float.h: Include
9542 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
9543 instead of <math-svid-compat.h>.
9544 * sysdeps/generic/math-type-macros-float128.h: Include
9545 <math-nan-payload-float128.h>.
9546 * sysdeps/generic/math-type-macros-ldouble.h: Include
9547 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
9548 instead of <math-svid-compat.h>.
9549 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
9550 check for definition.
9551 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
9552 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
9553 Include <ieee754_float128.h>.
9554 (FLOAT): Remove definition.
9555 (SET_MANTISSA): Rename to ...
9556 (SET_NAN_PAYLOAD): ... this.
9557 * sysdeps/ieee754/float128/strtof128_nan.c: Include
9558 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
9559 Do not include <float128_private.h>.
9560 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
9562 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
9563 (FLOAT): Remove definition.
9564 (SET_MANTISSA): Rename to ...
9565 (SET_NAN_PAYLOAD): ... this.
9566 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
9567 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
9568 (FLOAT): Remove definition.
9569 (SET_MANTISSA): Rename to ...
9570 (SET_NAN_PAYLOAD): ... this.
9571 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
9572 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
9573 (FLOAT): Remove definition.
9574 (SET_MANTISSA): Rename to ...
9575 (SET_NAN_PAYLOAD): ... this.
9576 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
9577 of "../stdlib/strtod_nan_double.h".
9578 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
9579 of "../stdlib/strtod_nan_float.h".
9580 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
9581 instead of "../stdlib/strtod_nan_ldouble.h".
9582 * manual/arith.texi (Parsing of Floats): Adjust comment.
9584 2018-05-16 Joseph Myers <joseph@codesourcery.com>
9586 * math/Makefile (libm-narrow-fns): Add mul.
9587 (libm-test-funcs-narrow): Likewise.
9588 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
9589 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
9590 * math/gen-auto-libm-tests.c (test_functions): Add mul.
9591 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
9592 (NARROW_MUL_ROUND_TO_ODD): Likewise.
9593 (NARROW_MUL_TRIVIAL): Likewise.
9594 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
9595 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
9597 (__dmull): Likewise.
9598 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
9600 (CFLAGS-nldbl-dmul.c): New variable.
9601 (CFLAGS-nldbl-fmul.c): Likewise.
9602 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9604 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
9606 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
9607 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
9608 * math/auto-libm-test-in: Add tests of mul.
9609 * math/auto-libm-test-out-narrow-mul: New generated file.
9610 * math/libm-test-narrow-mul.inc: New file.
9611 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
9614 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
9615 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
9616 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
9622 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
9623 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
9624 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
9625 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
9626 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
9627 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
9628 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
9629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9630 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9631 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9632 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9633 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9634 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9635 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9636 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9637 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9638 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9639 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9640 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9641 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9642 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9647 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9648 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9649 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9650 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9651 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9653 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9654 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9656 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9658 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9661 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9663 * sysdeps/i386/ldsodefs.h: Removed.
9664 * sysdeps/x86_64/ldsodefs.h: Moved to ...
9665 * sysdeps/x86/ldsodefs.h: This.
9667 (La_i86_retval): Likewise.
9668 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
9669 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
9671 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9673 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
9676 2018-05-13 Alan Modra <amodra@gmail.com>
9678 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
9679 R_PARISC_TLS_DTPOFF32 reloc addend.
9681 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9683 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
9684 * math/math.h: Restrict the prototype definition for the functions
9685 issignaling(_Float128) and iszero(_Float128); and template
9686 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
9687 __HAVE_FLOAT128_UNLIKE_LDBL.
9688 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
9689 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
9690 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
9691 __f128() constants; define the type _Float128 as long double;
9692 and reuse long double in __CFLOAT128.
9694 2018-05-11 Joseph Myers <joseph@codesourcery.com>
9696 * sysdeps/generic/math_private.h: Do not include
9698 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
9700 * math/fromfp.h: Include <math-barriers.h>.
9701 * math/math-narrow.h: Likewise.
9702 * math/s_nextafter.c: Likewise.
9703 * math/s_nexttowardf.c: Likewise.
9704 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9705 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9706 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9707 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9708 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9709 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9710 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9723 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9724 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9725 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9726 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9727 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9728 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9729 * sysdeps/ieee754/k_standardl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9746 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9747 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9750 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
9751 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
9753 2018-05-11 Florian Weimer <fweimer@redhat.com>
9755 Use 64-bit epoch values in the time zone file parser.
9756 * include/time.h (internal_time_t): Define.
9757 (__tzfile_compute): Use it.
9758 * time/tzfile.c (struct leap): Use internal_time_t for epoch
9760 (transitions): Switch to internal_time_t.
9761 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
9763 (__tzfile_compute): Use internal_time_t for timer argument. Check
9764 for truncation before calling __offtime.
9766 2018-05-11 Florian Weimer <fweimer@redhat.com>
9769 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
9770 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
9772 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
9773 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
9774 export without --enable-obsolete-rpc.
9775 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
9776 symbol. This should not have been exported, ever.
9778 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
9781 * localedata/locales/gd_GB (abmon): Fix typo in May:
9782 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
9784 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9786 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9787 Use multiple registers to copy data in loop tail.
9789 * sysdeps/aarch64/multiarch/memmove_falkor.S
9790 (__memmove_falkor): Use multiple registers to move data in
9793 2018-05-10 Joseph Myers <joseph@codesourcery.com>
9795 * math/math-underflow.h: New file.
9796 * sysdeps/generic/math_private.h: Do not include <float.h>.
9797 (fabs_tg): Remove macro. Moved to math-underflow.h.
9798 (min_of_type_f): Likewise.
9799 (min_of_type_): Likewise.
9800 (min_of_type_l): Likewise.
9801 (min_of_type_f128): Likewise.
9802 (min_of_type): Likewise.
9803 (math_check_force_underflow): Likewise.
9804 (math_check_force_underflow_nonneg): Likewise.
9805 (math_check_force_underflow_complex): Likewise.
9806 * math/e_exp2_template.c: Include <math-underflow.h>.
9807 * math/k_casinh_template.c: Likewise.
9808 * math/s_catan_template.c: Likewise.
9809 * math/s_catanh_template.c: Likewise.
9810 * math/s_ccosh_template.c: Likewise.
9811 * math/s_cexp_template.c: Likewise.
9812 * math/s_clog10_template.c: Likewise.
9813 * math/s_clog_template.c: Likewise.
9814 * math/s_csin_template.c: Likewise.
9815 * math/s_csinh_template.c: Likewise.
9816 * math/s_csqrt_template.c: Likewise.
9817 * math/s_ctan_template.c: Likewise.
9818 * math/s_ctanh_template.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9833 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9834 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9835 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9836 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9837 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9838 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9840 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9841 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9842 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9843 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9844 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9845 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9846 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9847 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9848 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9849 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9850 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9887 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9896 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9897 * sysdeps/x86/fpu/powl_helper.c: Likewise.
9898 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
9899 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9904 2018-05-09 Joseph Myers <joseph@codesourcery.com>
9906 * sysdeps/generic/math-barriers.h: New file.
9907 * sysdeps/generic/math_private.h [!math_opt_barrier]
9908 (math_opt_barrier): Move to math-barriers.h.
9909 [!math_opt_barrier] (math_force_eval): Likewise.
9910 * sysdeps/aarch64/fpu/math-barriers.h: New file.
9911 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
9913 (math_force_eval): Likewise.
9914 * sysdeps/alpha/fpu/math-barriers.h: New file.
9915 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
9917 (math_force_eval): Likewise.
9918 * sysdeps/x86/fpu/math-barriers.h: New file.
9919 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
9921 (math_force_eval): Likewise.
9922 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
9923 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
9924 multiple-include guard for rename.
9925 * sysdeps/powerpc/fpu/math-barriers.h: New file.
9926 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
9928 (math_force_eval): Likewise.
9930 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9934 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
9936 * stdlib/Makefile (test-bz22786): New test.
9937 * stdlib/test-bz22786.c: New test.
9939 2018-05-09 Joseph Myers <joseph@codesourcery.com>
9941 * include/math-narrow-eval.h: New file. Contents moved from ....
9942 * sysdeps/generic/math_private.h: ... here.
9943 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
9944 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9945 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
9946 * stdlib/strtod_l.c: Likewise.
9947 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9948 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9949 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9950 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9951 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9952 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9953 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9954 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9955 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9957 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9958 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9959 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9960 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9961 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9962 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9963 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9964 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9965 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9966 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9967 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9968 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9969 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9970 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9971 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9972 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9973 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9974 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9975 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9977 2018-05-08 Andreas Schwab <schwab@suse.de>
9979 * sysdeps/nptl/internaltypes.h: Fix comment.
9981 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
9983 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9984 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
9987 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9989 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
9990 of I into loop header.
9991 * benchtests/bench-memmove-walk.c
9992 (test_main): Likewise.
9994 2018-05-07 Alexandre Oliva <oliva@gnu.org>
9997 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
9998 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10000 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10003 * elf/dl-load.c (open_verify): Fix stack overflow.
10004 * elf/Makefile (tst-big-note): New test.
10005 * elf/tst-big-note-lib.S: New.
10006 * elf/tst-big-note.c: New.
10008 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10010 * scripts/abilist.awk: Ignore absolute symbols.
10011 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10012 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10013 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10014 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10015 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10016 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10017 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10018 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10019 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10020 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10021 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10022 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10023 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10024 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10025 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10026 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10027 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10028 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10029 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10030 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10031 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10032 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10033 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10034 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10035 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10036 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10037 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10038 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10039 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10040 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10041 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10042 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10043 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10044 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10045 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10046 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10047 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10048 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10049 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10050 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10051 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10052 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10053 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10054 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10055 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10056 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10057 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10058 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10059 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10060 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10061 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10062 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10063 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10064 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10065 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10066 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10067 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10068 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10069 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
10070 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10071 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
10072 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
10073 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
10074 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
10075 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10076 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
10077 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
10078 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10079 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
10080 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
10081 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10082 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
10083 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10084 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
10085 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
10086 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
10087 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
10088 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10089 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
10090 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
10091 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10092 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
10093 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
10094 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10095 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
10096 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10097 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
10098 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
10099 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
10100 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
10101 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10102 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10104 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
10105 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10106 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
10107 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
10108 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10109 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
10110 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10111 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
10112 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
10113 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
10114 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
10115 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10116 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10118 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
10119 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10120 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
10122 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10123 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
10124 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10125 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
10126 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
10127 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
10128 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
10129 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10130 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
10131 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
10132 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10133 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
10134 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
10135 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10136 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
10137 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10138 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
10139 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
10140 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
10141 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
10142 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10143 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10144 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10146 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
10147 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
10148 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
10149 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
10150 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10151 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
10152 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
10153 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
10154 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
10155 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
10156 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
10157 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
10158 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
10159 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10160 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
10161 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
10162 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
10163 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
10164 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10165 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10167 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
10174 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
10175 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
10176 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10177 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10178 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
10179 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10180 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10181 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
10182 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10183 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
10184 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
10185 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10186 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
10187 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
10188 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10189 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
10190 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10191 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
10192 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
10193 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
10194 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
10212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
10237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
10247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
10254 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
10255 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
10257 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
10258 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10259 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
10260 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
10261 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10262 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
10263 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10264 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
10265 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
10266 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
10267 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
10268 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
10269 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10270 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10272 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10273 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
10274 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
10275 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10276 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
10277 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10278 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
10279 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
10280 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
10281 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
10282 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10283 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10285 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10286 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
10287 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
10288 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10289 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
10290 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10291 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
10292 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
10293 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
10294 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
10295 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10296 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
10297 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
10298 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10299 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
10300 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
10301 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10302 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
10303 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10304 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
10305 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
10306 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
10307 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
10308 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10309 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10311 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
10312 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10313 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
10314 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
10315 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10316 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
10317 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10318 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
10319 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
10320 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
10321 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
10322 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10323 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
10326 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10327 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
10328 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
10329 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10330 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
10331 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10332 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
10333 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
10334 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
10335 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
10336 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10337 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
10338 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
10339 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10340 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
10341 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
10342 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10343 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
10344 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10345 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
10346 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
10347 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
10348 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10350 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10351 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
10352 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
10353 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10354 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
10355 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
10356 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10357 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
10358 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10359 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
10360 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
10361 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
10362 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
10364 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
10367 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
10368 Use atomic_load_acquire to load __tid.
10370 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10372 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
10373 Restore the pointer into %rdx, after syscall and use %rdx,
10374 instead of %rsi, to restore context.
10376 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10378 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
10379 Pop the pointer into %rdx after syscall and use %rdx, instead
10380 of %rsi, to restore context.
10382 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10384 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
10385 handlers after setjmp.
10386 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
10388 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
10389 <libc-pointer-arith.h>.
10390 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
10391 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
10392 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
10393 _JUMP_BUF_SIGSET_BITS_PER_WORD.
10394 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
10395 * sysdeps/x86/__longjmp_cancel.S: New file.
10396 * sysdeps/x86/longjmp.c: Likewise.
10397 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
10399 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10401 * NEWS: Add ustat.h deprecation entry.
10402 * bits/ustat.h: Remove file.
10403 * misc/sys/ustat.h: Likewise.
10404 * misc/ustat.h: Likewise.
10405 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
10406 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
10407 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
10408 compatibility mode.
10409 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
10410 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
10411 generic Linux implementation.
10413 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10415 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
10416 * math/w_expl_compat.c: Likewise.
10417 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
10419 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10421 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10423 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10425 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
10426 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
10427 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
10429 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10431 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10432 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
10433 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
10436 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10438 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
10440 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
10441 * math/w_asin_template.c: Likewise.
10442 * math/w_atanh_template.c: Likewise.
10444 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10446 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
10447 to powerpc/powerpc64/be for big-endian.
10448 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
10451 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
10452 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
10453 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
10454 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
10455 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10456 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
10457 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
10458 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
10459 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
10460 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10461 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
10462 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
10463 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
10464 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
10465 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
10466 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
10467 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
10468 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
10469 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
10470 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
10471 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
10472 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10473 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
10474 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
10475 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
10476 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10477 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
10478 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
10479 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
10480 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10481 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10482 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10484 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
10485 adjusted to imply powerpc64 and older processors on powerpc64/be.
10486 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
10487 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
10488 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
10489 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
10490 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
10491 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
10492 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
10493 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
10494 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
10495 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
10496 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
10497 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
10498 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
10499 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
10500 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
10501 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
10502 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
10503 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
10504 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
10505 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
10506 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
10507 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
10508 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
10509 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
10510 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
10511 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
10512 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
10513 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
10514 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
10515 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
10516 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
10518 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
10519 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
10520 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
10521 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
10523 * sysdeps/powerpc/powerpc64/be/Implies: New file.
10524 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
10525 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
10526 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
10528 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
10529 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
10530 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
10531 * sysdeps/powerpc/powerpc64le/configure: Likewise.
10532 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
10533 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
10534 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
10535 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
10536 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
10537 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
10538 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
10540 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
10541 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
10542 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
10543 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
10544 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
10545 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
10546 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
10547 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
10548 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
10549 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
10550 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
10552 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
10553 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
10554 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
10555 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
10556 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
10557 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
10558 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
10559 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
10560 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
10561 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
10562 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
10563 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
10565 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
10566 and adjusted to imply olders processors.
10567 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
10568 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
10569 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
10570 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
10571 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
10572 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
10573 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
10574 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
10575 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
10576 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
10577 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
10581 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
10596 powerpc64 and adjusted.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
10602 2018-04-27 Joseph Myers <joseph@codesourcery.com>
10604 * sysdeps/tile: Remove.
10605 * sysdeps/unix/sysv/linux/tile: Likewise.
10606 * README (tilegx-*-linux-gnu): Remove from list of supported
10608 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
10609 contribution of support for generic Linux kernel syscall
10611 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
10612 tilegx configurations.
10613 (Config.install_linux_headers): Do not handle tile.
10614 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
10616 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
10617 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
10618 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
10619 conditional undefine and redefine.
10620 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
10622 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
10623 conditional undefine and redefine.
10625 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
10627 * signal/tst-sigaction.c: New file to test BZ #23069.
10628 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
10630 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10633 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
10634 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
10635 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
10636 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10638 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10640 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
10641 _DIRENT_MATCHES_DIRENT64 is not defined.
10642 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
10643 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
10645 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
10646 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
10648 2018-04-25 Joseph Myers <joseph@codesourcery.com>
10650 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
10651 version to GCC 8 branch.
10653 2018-04-24 Joseph Myers <joseph@codesourcery.com>
10655 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
10656 (check_no_hidden): Use type of original function when declaring
10659 * sysdeps/unix/sysv/linux/sys/ptrace.h
10660 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
10661 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
10662 (struct __ptrace_seccomp_metadata): New type.
10663 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10664 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10665 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
10666 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
10668 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10670 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10672 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10673 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10674 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10675 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
10676 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10677 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
10678 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10680 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10682 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
10684 * dirent/versionsort.c (versionsort): Likewise.
10685 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
10686 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
10687 * dirent/versionsort64.c (versionsort64): Likewise.
10688 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
10689 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
10690 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
10691 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
10692 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
10693 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
10694 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
10695 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
10696 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
10697 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
10703 2018-04-23 Joseph Myers <joseph@codesourcery.com>
10705 * elf/elf.h (NT_PPC_PKEY): New macro.
10707 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
10710 * localedata/locales/hr_HR: fix thousands_sep and
10713 2018-04-20 Joseph Myers <joseph@codesourcery.com>
10715 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
10716 (XTABS): Define to TAB3.
10718 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10720 * sysdeps/hppa/fpu/libm-test-ulps: Update.
10722 * dirent/scandir-tail-common.c: New file.
10723 * dirent/scandir-tail.c: Use scandir-tail-common.c.
10724 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
10725 * dirent/scandir.c: Use scandir-tail-common.c.
10726 * dirent/scandirat.c: Likewise.
10727 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
10728 * dirent/scandir64.c (scandir64): Always build and alias to scandir
10729 if _DIRENT_MATCHES_DIRENT64 is defined.
10730 * dirent/scandirat64.c (scandirat64): Likewise.
10731 * include/dirent.h (__scandir_tail): Only define iff
10732 _DIRENT_MATCHES_DIRENT64 is not defined.
10733 (__scandir64_tail): Define regardless.
10734 (__scandirat, scandirat64): Remove libc_hidden_proto.
10735 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
10736 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
10738 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
10739 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10740 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
10741 * sysdeps/unix/sysv/linux/scandir64.c: New file.
10743 2018-04-20 Joseph Myers <joseph@codesourcery.com>
10745 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
10747 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10749 (_dl_aarch64_cap_flags): Add asimdfhm.
10751 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
10753 * sysdeps/nios2/libm-test-ulps: Update.
10755 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10757 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
10758 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
10760 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
10762 (_DIRENT_MATCHES_DIRENT64): Undef
10763 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
10764 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
10765 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
10766 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
10767 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
10768 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
10769 use getdents64 syscalls as base.
10770 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
10771 symbol if required.
10772 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
10773 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
10774 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
10775 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
10776 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
10777 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
10778 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
10779 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
10780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10781 (__get_clockfreq_via_proc_openprom): Use __getdents64.
10782 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
10784 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10786 * scripts/test_printers_common.py (init_test): Disable lock elision.
10788 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10790 * math/test-tgmath.c (count_double, count_float,
10791 count_ldouble, count_cdouble, count_cfloat,
10792 count_cldouble): Use volatile int.
10794 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10796 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10797 (conformtest-xfail-conds): Add i386-gnu.
10798 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
10800 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
10801 ipc_perm.cuid, ipc_perm.cgid): Likewise.
10802 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
10803 msqid_ds.msg_lrpid): Likewise.
10804 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
10806 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
10807 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
10808 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
10809 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
10811 (struct statvfs64): Likewise.
10812 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
10814 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
10815 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
10816 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
10817 instead of wait_queue.
10818 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
10819 instead of vm_area_struct.
10820 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
10821 struct sched_param definition to it.
10822 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10823 * bits/types/struct_sched_param.h: New file.
10824 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
10825 <bits/types/struct_sched_param.h> instead of <sched.h>.
10826 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
10827 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
10828 generic version but include <bits/pthreadtypes.h> to make struct
10829 sigevent's sigev_notify_attributes field a pthread_attr_t*.
10830 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
10832 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
10833 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
10834 [__USE_XOPEN] (OFDEL): New macro.
10835 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
10836 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
10837 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
10839 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
10840 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
10841 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
10843 * sysdeps/i386/sys/ucontext.h: Likewise.
10844 * sysdeps/m68k/sys/ucontext.h: Likewise.
10845 * sysdeps/mips/sys/ucontext.h: Likewise.
10846 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
10847 * sysdeps/mach/hurd/i386/Makefile
10848 (test-xfail-POSIX/fcntl.h/conform): Add.
10849 (test-xfail-POSIX/signal.h/conform): Add.
10850 (test-xfail-POSIX/semaphore.h/conform): Add.
10851 (test-xfail-POSIX/regex.h/conform): Add.
10852 (test-xfail-POSIX/aio.h/conform): Add.
10853 (test-xfail-POSIX/mqueue.h/conform): Add.
10854 (test-xfail-POSIX/sys/types.h/conform): Add.
10855 (test-xfail-UNIX98/fcntl.h/conform): Add.
10856 (test-xfail-UNIX98/netdb.h/conform): Add.
10857 (test-xfail-UNIX98/signal.h/conform): Add.
10858 (test-xfail-UNIX98/semaphore.h/conform): Add.
10859 (test-xfail-UNIX98/regex.h/conform): Add.
10860 (test-xfail-UNIX98/aio.h/conform): Add.
10861 (test-xfail-UNIX98/ftw.h/conform): Add.
10862 (test-xfail-UNIX98/mqueue.h/conform): Add.
10863 (test-xfail-UNIX98/netinet/in.h/conform): Add.
10864 (test-xfail-UNIX98/sys/wait.h/conform): Add.
10865 (test-xfail-UNIX98/sys/sem.h/conform): Add.
10866 (test-xfail-UNIX98/sys/uio.h/conform): Add.
10867 (test-xfail-UNIX98/sys/socket.h/conform): Add.
10868 (test-xfail-UNIX98/sys/types.h/conform): Add.
10869 (test-xfail-UNIX98/stdlib.h/conform): Add.
10870 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
10871 (test-xfail-POSIX2008/fcntl.h/conform): Add.
10872 (test-xfail-POSIX2008/netdb.h/conform): Add.
10873 (test-xfail-POSIX2008/signal.h/conform): Add.
10874 (test-xfail-POSIX2008/semaphore.h/conform): Add.
10875 (test-xfail-POSIX2008/regex.h/conform): Add.
10876 (test-xfail-POSIX2008/aio.h/conform): Add.
10877 (test-xfail-POSIX2008/mqueue.h/conform): Add.
10878 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
10879 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
10880 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
10881 (test-xfail-POSIX2008/sys/types.h/conform): Add.
10882 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
10883 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
10884 (test-xfail-XOPEN2K/netdb.h/conform): Add.
10885 (test-xfail-XOPEN2K/signal.h/conform): Add.
10886 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
10887 (test-xfail-XOPEN2K/regex.h/conform): Add.
10888 (test-xfail-XOPEN2K/aio.h/conform): Add.
10889 (test-xfail-XOPEN2K/ftw.h/conform): Add.
10890 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
10891 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
10892 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
10893 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
10894 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
10895 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
10896 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
10897 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
10898 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
10899 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
10900 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
10901 (test-xfail-XOPEN2K8/signal.h/conform): Add.
10902 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
10903 (test-xfail-XOPEN2K8/regex.h/conform): Add.
10904 (test-xfail-XOPEN2K8/aio.h/conform): Add.
10905 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
10906 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
10907 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
10908 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
10909 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
10910 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
10911 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
10912 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
10913 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
10914 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
10915 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
10917 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
10918 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
10920 2018-04-18 Joseph Myers <joseph@codesourcery.com>
10922 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
10923 --enable-obsolete for powerpc-linux-gnuspe.
10925 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10927 * conform/data/sys/un.h-data: Allow sun_ prefix.
10928 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
10930 * sysdeps/mach/include/mach.h: Likewise.
10931 * sysdeps/mach/include/mach/mig_support.h: Likewise.
10932 * sysdeps/mach/include/mach_error.h: Likewise.
10934 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10936 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
10937 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
10938 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
10939 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
10941 2018-04-16 Andreas Schwab <schwab@suse.de>
10944 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
10946 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
10948 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
10949 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
10951 2018-04-12 DJ Delorie <dj@redhat.com>
10953 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10956 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10958 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
10959 (struct kernel_sigaction): Use the same definition on 31bit as is used
10962 2018-04-09 Florian Weimer <fweimer@redhat.com>
10965 * resolv/res_send.c (send_dg): Use designated initializers instead
10966 of assignment to zero-initialize other fields of struct mmsghdr.
10968 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10970 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
10971 __READDIR_ALIAS): Undefine after usage.
10972 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
10973 __READDIR_R_ALIAS): Likewise.
10974 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
10975 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
10976 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
10977 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
10978 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
10979 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
10980 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10981 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10982 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
10983 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
10984 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
10985 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
10986 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10987 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
10988 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
10989 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
10990 * sysdeps/unix/sysv/linux/readdir.c: New file.
10991 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
10992 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
10993 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10995 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10997 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
10999 * manual/charset.texi (Converting a Character): Fix typo.
11001 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11005 * sysdeps/arm/libm-test-ulps: Update.
11007 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11008 as base implementation.
11009 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11010 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11011 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11013 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11014 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11015 remove unrequired definitions and update comments.
11016 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11017 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11018 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11019 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11020 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11021 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11022 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11023 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11024 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11025 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11026 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11027 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11028 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11029 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11030 and RESET_SA_RESTORER hooks.
11032 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11034 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11036 2018-04-05 Florian Weimer <fweimer@redhat.com>
11038 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11039 integer overflow, memory leak on error, and indeterminate errno
11040 value. Add a null wide character to terminate the result string.
11041 * manual/charset.texi (Converting a Character): Mention embedded
11042 null bytes in the mbrtowc input string. Explain what happens in
11043 the -2 result case. Do not claim that mbrtowc is simple or
11044 obvious to use. Adjust the description of the code example. Use
11045 @code, not @var, for concrete variables.
11047 2018-04-05 Florian Weimer <fweimer@redhat.com>
11049 * manual/examples/mbstouwcs.c: New file.
11050 * manual/charset.texi (Converting a Character): Include it.
11052 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11054 * include/dirent.h (dirfd): Add hidden proto.
11055 * dirent/dirfd.c (dirfd): Add hidden def.
11056 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11057 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
11059 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11061 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11062 sin, cos and sincos to 1 ULP.
11064 2018-04-04 Maciej W. Rozycki <macro@mips.com>
11067 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
11069 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
11070 * elf/tst-absolute-sym.c: New file.
11071 * elf/tst-absolute-sym-lib.c: New file.
11072 * elf/tst-absolute-sym-lib.lds: New file.
11073 * elf/Makefile (tests): Add `tst-absolute-sym'.
11074 (modules-names): Add `tst-absolute-sym-lib'.
11075 (LDLIBS-tst-absolute-sym-lib.so): New variable.
11076 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
11077 ($(objpfx)tst-absolute-sym): New dependency.
11080 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
11082 (SYMBOL_ADDRESS): New macro.
11083 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
11084 SYMBOL_ADDRESS for symbol address calculation.
11085 * elf/dl-runtime.c (_dl_fixup): Likewise.
11086 (_dl_profile_fixup): Likewise.
11087 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
11088 * elf/rtld.c (dl_main): Likewise.
11089 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
11090 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
11091 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
11092 (elf_machine_rela): Likewise.
11093 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
11094 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
11095 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11096 (elf_machine_rela): Likewise.
11097 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11098 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11099 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
11100 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11102 (elf_machine_reloc): Likewise.
11103 (elf_machine_got_rel): Likewise.
11104 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
11105 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
11106 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11110 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
11111 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11113 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11115 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11116 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11118 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11120 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
11121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11123 2018-04-04 Zack Weinberg <zackw@panix.com>
11125 * sysdeps/generic/internal-signals.h: Include signal.h,
11126 sigsetops.h, and stdbool.h.
11127 (__libc_signal_block_all): Actually block all signals.
11128 (__libc_signal_block_app): Likewise.
11129 (__libc_signal_restore_set): Actually restore the signal mask.
11131 2018-04-04 Florian Weimer <fweimer@redhat.com>
11133 inet: Actually build and run tst-deadline.
11134 * inet/Makefile (tests-internal): Add tst-deadline and do not
11135 overwrite the variable.
11136 (tests-static-internal): Remove variable.
11138 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
11141 * bits/uio-ext.h (RWF_APPEND): New.
11142 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
11143 * manual/llio.texi: Document RWF_APPEND.
11144 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
11145 (RWF_SUPPORTED): Add RWF_APPEND.
11147 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11150 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
11151 check for internal nptl signals.
11152 * nptl/sigaction.c (__sigaction): Likewise.
11153 * signal/sigaddset.c (sigaddset): Likewise.
11154 * signal/sigdelset.c (sigdelset): Likewise.
11155 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11156 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
11158 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
11159 to filter out internal nptl signals.
11160 * signal/tst-sigset.c (do_test): Check ech signal indidually and
11161 also check realtime signals using standard macros.
11162 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
11163 __is_internal_signal, __libc_signal_block_all,
11164 __libc_signal_block_app, __libc_signal_restore_set): New functions.
11165 * sysdeps/nptl/sigfillset.c: Remove file.
11166 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
11167 Change return to bool.
11168 (__clear_internal_signals): Remove SIGTIMER clean since it is
11169 equal to SIGCANEL on Linux.
11170 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
11171 signal set was constructed using standard functions.
11173 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11175 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
11176 ifname is too long.
11177 * hurd/hurdsig.c (interrupted_reply_port_location): Use
11178 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
11179 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
11181 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
11182 * signal/sigaddset.c: Include <sigsetopts.h>.
11183 * signal/sigdelset.c: Likewise.
11185 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
11189 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
11190 logic as sin and cos.
11192 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11194 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
11195 inputs. Return correct sign.
11196 (do_sincos): Remove small input check before do_sin, let do_sin set
11201 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11203 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
11204 (do_cos_slow): Likewise.
11205 (do_sin_slow): Likewise.
11206 (reduce_and_compute): Likewise.
11211 (sloww1): Likewise.
11212 (sloww2): Likewise.
11214 (bslow1): Likewise.
11215 (bslow2): Likewise.
11216 (cslow2): Likewise.
11218 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11220 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
11221 (do_cos): Remove corp parameter and calculations.
11222 (do_sin): Likewise.
11223 (do_sincos): Remove cor variable.
11224 (__sin): Use do_sincos for huge inputs.
11226 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11227 (reduce_and_compute_sincos): Remove unused function.
11229 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11231 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
11232 reduce_sincos, improve accuracy to 136 bits.
11233 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
11234 (__sin): Use improved reduction and simplified do_sincos calculation.
11236 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11238 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11240 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
11241 (do_sincos_2): Likewise.
11242 (__sin): Remove middle range reduction case.
11244 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
11247 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11249 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
11250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
11253 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
11255 2018-04-03 Joseph Myers <joseph@codesourcery.com>
11257 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11260 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11262 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
11263 Remove definitions.
11264 (opendir_oflags): Use O_DIRECTORY regardless.
11265 (__opendir, __opendirat): Remove need_isdir_precheck usage.
11266 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
11268 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11270 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
11271 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
11273 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
11274 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
11275 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
11276 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
11277 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
11278 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
11280 * htl/Makefile: Bump licence to LGPL 2.1+.
11281 * htl/alloca_cutoff.c: Likewise.
11282 * htl/cthreads-compat.c: Likewise.
11283 * htl/lockfile.c: Likewise.
11284 * htl/pt-alloc.c: Likewise.
11285 * htl/pt-cancel.c: Likewise.
11286 * htl/pt-cleanup.c: Likewise.
11287 * htl/pt-create.c: Likewise.
11288 * htl/pt-dealloc.c: Likewise.
11289 * htl/pt-detach.c: Likewise.
11290 * htl/pt-exit.c: Likewise.
11291 * htl/pt-getattr.c: Likewise.
11292 * htl/pt-initialize.c: Likewise.
11293 * htl/pt-internal.h: Likewise.
11294 * htl/pt-join.c: Likewise.
11295 * htl/pt-self.c: Likewise.
11296 * htl/pt-setcancelstate.c: Likewise.
11297 * htl/pt-setcanceltype.c: Likewise.
11298 * htl/pt-sigmask.c: Likewise.
11299 * htl/pt-spin-inlines.c: Likewise.
11300 * htl/pt-testcancel.c: Likewise.
11301 * htl/pt-yield.c: Likewise.
11302 * htl/tests/test-1.c: Likewise.
11303 * htl/tests/test-10.c: Likewise.
11304 * htl/tests/test-11.c: Likewise.
11305 * htl/tests/test-12.c: Likewise.
11306 * htl/tests/test-13.c: Likewise.
11307 * htl/tests/test-14.c: Likewise.
11308 * htl/tests/test-15.c: Likewise.
11309 * htl/tests/test-16.c: Likewise.
11310 * htl/tests/test-17.c: Likewise.
11311 * htl/tests/test-2.c: Likewise.
11312 * htl/tests/test-3.c: Likewise.
11313 * htl/tests/test-4.c: Likewise.
11314 * htl/tests/test-5.c: Likewise.
11315 * htl/tests/test-6.c: Likewise.
11316 * htl/tests/test-7.c: Likewise.
11317 * htl/tests/test-8.c: Likewise.
11318 * htl/tests/test-9.c: Likewise.
11319 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
11320 * sysdeps/htl/bits/cancelation.h: Likewise.
11321 * sysdeps/htl/bits/pthread-np.h: Likewise.
11322 * sysdeps/htl/bits/pthread.h: Likewise.
11323 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
11324 * sysdeps/htl/bits/semaphore.h: Likewise.
11325 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
11326 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
11327 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
11328 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
11329 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
11330 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
11331 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
11332 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
11333 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
11334 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
11335 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
11336 * sysdeps/htl/old_pt-atfork.c: Likewise.
11337 * sysdeps/htl/pt-atfork.c: Likewise.
11338 * sysdeps/htl/pt-attr-destroy.c: Likewise.
11339 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
11340 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
11341 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
11342 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
11343 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
11344 * sysdeps/htl/pt-attr-getscope.c: Likewise.
11345 * sysdeps/htl/pt-attr-getstack.c: Likewise.
11346 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
11347 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
11348 * sysdeps/htl/pt-attr-init.c: Likewise.
11349 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
11350 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
11351 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
11352 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
11353 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
11354 * sysdeps/htl/pt-attr-setscope.c: Likewise.
11355 * sysdeps/htl/pt-attr-setstack.c: Likewise.
11356 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
11357 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
11358 * sysdeps/htl/pt-attr.c: Likewise.
11359 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
11360 * sysdeps/htl/pt-barrier-init.c: Likewise.
11361 * sysdeps/htl/pt-barrier-wait.c: Likewise.
11362 * sysdeps/htl/pt-barrier.c: Likewise.
11363 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
11364 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
11365 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
11366 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
11367 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
11368 * sysdeps/htl/pt-cond-destroy.c: Likewise.
11369 * sysdeps/htl/pt-cond-init.c: Likewise.
11370 * sysdeps/htl/pt-cond-signal.c: Likewise.
11371 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
11372 * sysdeps/htl/pt-cond-wait.c: Likewise.
11373 * sysdeps/htl/pt-cond.c: Likewise.
11374 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
11375 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
11376 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
11377 * sysdeps/htl/pt-condattr-init.c: Likewise.
11378 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
11379 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
11380 * sysdeps/htl/pt-destroy-specific.c: Likewise.
11381 * sysdeps/htl/pt-equal.c: Likewise.
11382 * sysdeps/htl/pt-getconcurrency.c: Likewise.
11383 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
11384 * sysdeps/htl/pt-getschedparam.c: Likewise.
11385 * sysdeps/htl/pt-getspecific.c: Likewise.
11386 * sysdeps/htl/pt-init-specific.c: Likewise.
11387 * sysdeps/htl/pt-key-create.c: Likewise.
11388 * sysdeps/htl/pt-key-delete.c: Likewise.
11389 * sysdeps/htl/pt-key.h: Likewise.
11390 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
11391 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
11392 * sysdeps/htl/pt-mutex-init.c: Likewise.
11393 * sysdeps/htl/pt-mutex-lock.c: Likewise.
11394 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
11395 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
11396 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
11397 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
11398 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
11399 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
11400 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
11401 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
11402 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
11403 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
11404 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
11405 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
11406 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
11407 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
11408 * sysdeps/htl/pt-mutexattr.c: Likewise.
11409 * sysdeps/htl/pt-once.c: Likewise.
11410 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
11411 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
11412 * sysdeps/htl/pt-rwlock-init.c: Likewise.
11413 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
11414 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
11415 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
11416 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
11417 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
11418 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
11419 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
11420 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
11421 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
11422 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
11423 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
11424 * sysdeps/htl/pt-setconcurrency.c: Likewise.
11425 * sysdeps/htl/pt-setschedparam.c: Likewise.
11426 * sysdeps/htl/pt-setschedprio.c: Likewise.
11427 * sysdeps/htl/pt-setspecific.c: Likewise.
11428 * sysdeps/htl/pt-spin.c: Likewise.
11429 * sysdeps/htl/pt-startup.c: Likewise.
11430 * sysdeps/htl/pthread.h: Likewise.
11431 * sysdeps/htl/sem-close.c: Likewise.
11432 * sysdeps/htl/sem-destroy.c: Likewise.
11433 * sysdeps/htl/sem-getvalue.c: Likewise.
11434 * sysdeps/htl/sem-init.c: Likewise.
11435 * sysdeps/htl/sem-open.c: Likewise.
11436 * sysdeps/htl/sem-post.c: Likewise.
11437 * sysdeps/htl/sem-timedwait.c: Likewise.
11438 * sysdeps/htl/sem-trywait.c: Likewise.
11439 * sysdeps/htl/sem-unlink.c: Likewise.
11440 * sysdeps/htl/sem-wait.c: Likewise.
11441 * sysdeps/hurd/htl/pt-kill.c: Likewise.
11442 * sysdeps/i386/htl/pt-machdep.h: Likewise.
11443 * sysdeps/mach/htl/pt-block.c: Likewise.
11444 * sysdeps/mach/htl/pt-spin.c: Likewise.
11445 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
11446 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
11447 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
11448 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
11449 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
11450 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
11451 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
11452 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
11453 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
11454 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
11455 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
11456 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
11457 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
11458 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
11459 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
11460 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
11461 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
11462 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
11463 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
11464 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
11465 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
11466 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
11467 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
11468 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
11469 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
11470 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
11471 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
11472 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
11473 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
11474 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
11475 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
11476 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
11477 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
11478 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
11479 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
11480 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
11481 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
11482 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
11483 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
11484 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
11485 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
11486 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
11487 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
11489 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
11490 * README: Remove the mention of out-of-tree patches needed for
11493 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
11494 (UTIME_NOW, UTIME_OMIT): Define macros.
11496 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
11497 instead of pthread_detach.
11498 (__cthread_fork): Call __pthread_create instead of pthread_create.
11499 (__cthread_keycreate): Call __pthread_key_create instead of
11500 pthread_key_create.
11501 (__cthread_getspecific): Call __pthread_getspecific instead of
11502 pthread_getspecific.
11503 (__cthread_setspecific): Call __pthread_setspecific instead of
11504 pthread_setspecific.
11505 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
11506 __pthread_mutex_unlock instead of pthread_mutex_lock and
11507 pthread_mutex_unlock.
11508 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
11509 ___pthread_get_cleanup_stack.
11510 (__pthread_get_cleanup_stack): New strong alias.
11511 * htl/pt-create.c: Include <pthreadP.h>.
11512 (entry_point): Call __pthread_exit instead of pthread_exit.
11513 (pthread_create): Rename to __pthread_create.
11514 (pthread_create): New strong alias.
11515 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
11516 (pthread_detach): New strong alias.
11517 (__pthread_detach): Call __pthread_cond_broadcast instead of
11518 pthread_cond_broadcast.
11519 * htl/pt-exit.c: Include <pthreadP.h>.
11520 (__pthread_exit): Call __pthread_setcancelstate and
11521 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
11522 __pthread_get_cleanup_stack.
11523 * htl/pt-testcancel.c: Include <pthreadP.h>.
11524 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
11525 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
11526 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
11527 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
11528 pthread_attr_getstacksize.
11529 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
11530 Rename to __pthread_attr_getstackaddr.
11531 (pthread_attr_getstackaddr): New strong alias.
11532 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
11533 Rename to __pthread_attr_getstacksize.
11534 (pthread_attr_getstacksize): New strong alias.
11535 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
11536 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
11537 (pthread_attr_setstack): New strong alias.
11538 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
11539 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
11540 pthread_attr_getstacksize, pthread_attr_setstacksize and
11541 pthread_attr_setstackaddr.
11542 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
11543 Rename to __pthread_attr_setstackaddr.
11544 (pthread_attr_setstackaddr): New strong alias.
11545 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
11546 Rename to __pthread_attr_setstacksize.
11547 (pthread_attr_setstacksize): New strong alias.
11548 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
11549 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
11551 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
11552 (__pthread_key_create): New hidden def.
11553 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
11554 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
11555 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
11556 __pthread_exit, __pthread_key_create, __pthread_getspecific,
11557 __pthread_setspecific, __pthread_setcancelstate,
11558 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
11559 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
11560 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
11562 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
11563 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
11564 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
11565 (pthread_attr_setstackaddr): New strong alias.
11566 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
11567 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
11568 (pthread_attr_setstacksize): New strong alias.
11569 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
11570 (call_exit): Call __pthread_exit instead of pthread_exit.
11571 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
11572 (_pthread_mutex_init): New hidden definition.
11573 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
11574 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
11575 instead of pthread_attr_init and pthread_attr_setstack.
11577 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
11578 __vm_deallocate instead of vm_allocate and vm_deallocate.
11579 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
11581 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
11583 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
11585 * hurd/siginfo.c: Include <libioP.h>.
11586 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
11587 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
11589 * mach/devstream.c: Include <libioP.h>.
11590 (dealloc_ref): Call __mach_port_deallocate instead of
11591 mach_port_deallocate.
11592 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
11593 Call __mach_port_deallocate instead of mach_port_deallocate.
11594 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
11596 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
11598 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
11599 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
11600 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
11602 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
11604 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
11605 instead of sysconf.
11606 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
11607 __clock_gettime instead of clock_gettime.
11608 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
11609 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11610 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
11611 * sysdeps/unix/bsd/stty.c (stty): Likewise.
11612 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
11614 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
11615 __clock_gettime and __nanosleep instead of clock_gettime and
11617 * hurd/catch-signal.c (hurd_catch_signal): Rename to
11618 __hurd_catch_signal.
11619 (hurd_catch_signal): New strong alias.
11620 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
11621 __hurd_catch_signal instead of hurd_catch_signal.
11622 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
11623 * hurd/hurdexec.c (_hurd_init): Add hidden def.
11624 * hurd/hurdinit.c (_hurd_init): Add hidden def.
11625 * hurd/hurdsig.c: Include <mach/mig_support.h>.
11626 (_hurd_thread_sigstate): Add hidden def.
11627 (_hurd_internal_post_signal): Use __mutex_unlock instead of
11629 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
11630 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
11631 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
11632 __hurd_file_name_path_lookup.
11633 (hurd_file_name_path_lookup): New strong alias.
11634 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
11635 hurd_file_name_path_lookup.
11636 * mach/errstring.c (mach_error_type): Add hidden def.
11637 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
11638 * mach/mutex-init.c (__mutex_init): Add hidden def.
11639 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
11640 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
11641 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
11642 * sysdeps/mach/hurd/getcwd.c
11643 (_hurd_canonicalize_directory_name_internal): Rename to
11644 __hurd_canonicalize_directory_name_internal.
11645 (_hurd_canonicalize_directory_name_internal): New strong alias.
11646 (__canonicalize_directory_name_internal, __getcwd): Call
11647 __hurd_canonicalize_directory_name_internal instead of
11648 _hurd_canonicalize_directory_name_internal.
11649 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
11650 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
11652 * sysdeps/hurd/include/hurd.h: New file.
11653 * sysdeps/hurd/include/hurd/fd.h: New file.
11654 * sysdeps/hurd/include/hurd/signal.h: New file.
11655 * sysdeps/mach/include/lock-intern.h: New file.
11656 * sysdeps/mach/include/mach.h: New file.
11657 * sysdeps/mach/include/mach/mig_support.h: New file.
11658 * sysdeps/mach/include/mach_error.h: New file.
11659 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
11661 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
11662 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
11663 _HEADER_H_HIDDEN_DEF macro.
11664 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
11665 _hurd_fd_error_signal): Add hidden prototype.
11666 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
11668 * libio/iolibio.h (_IO_puts): New hidden prototype.
11669 * libio/ioputs.c (_IO_puts): New hidden def.
11670 * sysdeps/mach/hurd/localplt.data: New file.
11672 2018-04-02 Agustina Arzille <avarzille@riseup.net>
11673 Amos Jeffries <squid3@treenet.co.nz>
11674 David Michael <fedora.dm0@gmail.com>
11675 Marco Gerards <marco@gnu.org>
11676 Marcus Brinkmann <marcus@gnu.org>
11677 Neal H. Walfield <neal@gnu.org>
11678 Pino Toscano <toscano.pino@tiscali.it>
11679 Richard Braun <rbraun@sceen.net>
11680 Roland McGrath <roland@gnu.org>
11681 Samuel Thibault <samuel.thibault@ens-lyon.org>
11682 Thomas DiModica <ricinwich@yahoo.com>
11683 Thomas Schwinge <tschwinge@gnu.org>
11685 * htl: New directory.
11686 * sysdeps/htl: New directory.
11687 * sysdeps/hurd/htl: New directory.
11688 * sysdeps/i386/htl: New directory.
11689 * sysdeps/mach/htl: New directory.
11690 * sysdeps/mach/hurd/htl: New directory.
11691 * sysdeps/mach/hurd/i386/htl: New directory.
11692 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
11693 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
11694 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
11696 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11698 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
11699 signals in thread created for runing timers.
11701 2018-04-01 Florian Weimer <fweimer@redhat.com>
11703 * support/support_format_addrinfo.c (support_format_addrinfo):
11704 Include unknown error number in formatted result.
11706 2018-03-29 Florian Weimer <fweimer@redhat.com>
11708 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
11711 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11713 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
11714 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
11715 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11716 (__ASSUME_CLONE_BACKWARDS): Define.
11718 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
11721 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
11722 early when linux sentinel value is set.
11724 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11726 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
11728 2018-03-27 Andreas Schwab <schwab@suse.de>
11731 * resolv/res_send.c (__res_context_send): Return ENOMEM if
11732 allocation of private copy of nsaddr_list fails.
11734 2018-03-26 Joseph Myers <joseph@codesourcery.com>
11737 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
11738 * sysdeps/unix/sysv/linux/umount.c: ... here.
11739 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
11740 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
11741 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
11742 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
11744 * sysdeps/unix/sysv/linux/umount.S: Likewise.
11745 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
11747 2018-03-26 Andreas Schwab <schwab@suse.de>
11749 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
11750 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
11751 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
11752 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
11753 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
11754 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
11755 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
11756 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
11757 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
11758 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
11759 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
11760 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
11761 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
11762 (R_RISCV_NUM): Define.
11764 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11766 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
11767 TLS declaration of errno.
11768 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
11770 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
11771 (ARCH_SETUP_TLS): Likewise.
11772 * sysdeps/mach/hurd/libc-start.h: New file copied from
11773 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
11774 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
11775 instead of __libc_setup_tls.
11776 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
11777 __libc_setup_tls before initializing libpthread and running _hurd_init
11778 which starts the signal thread.
11779 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
11781 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11783 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
11786 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
11787 after it is defined.
11789 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
11790 Max Horn <max@quendi.de>
11794 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
11796 * string/test-memmove.c (do_test2): New testcase.
11798 2018-03-22 Joseph Myers <joseph@codesourcery.com>
11800 * sysdeps/generic/frame.h: Remove file.
11801 * sysdeps/arm/frame.h: Likewise.
11802 * sysdeps/hppa/frame.h: Likewise.
11803 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
11805 (GET_FRAME): Likewise.
11806 (GET_STACK): Likewise.
11807 (CALL_SIGHANDLER): Likewise.
11808 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
11810 (GET_FRAME): Likewise.
11811 (GET_STACK): Likewise.
11812 (CALL_SIGHANDLER): Likewise.
11813 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
11814 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11815 (GET_FRAME): Likewise.
11816 (GET_STACK): Likewise.
11817 (CALL_SIGHANDLER): Likewise.
11818 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
11819 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11820 (GET_FRAME): Likewise.
11821 (GET_STACK): Likewise.
11822 (ADVANCE_STACK_FRAME): Likewise.
11823 (CALL_SIGHANDLER): Likewise.
11824 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
11825 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11826 (GET_FRAME): Likewise.
11827 (GET_STACK): Likewise.
11828 (CALL_SIGHANDLER): Likewise.
11829 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
11830 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11831 (GET_FRAME): Likewise.
11832 (GET_STACK): Likewise.
11833 (CALL_SIGHANDLER): Likewise.
11834 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
11835 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11836 (GET_FRAME): Likewise.
11837 (GET_STACK): Likewise.
11838 (CALL_SIGHANDLER): Likewise.
11839 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
11840 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11841 (GET_FRAME): Likewise.
11842 (GET_STACK): Likewise.
11843 (CALL_SIGHANDLER): Likewise.
11844 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
11845 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11846 (GET_FRAME): Likewise.
11847 (GET_STACK): Likewise.
11848 (CALL_SIGHANDLER): Likewise.
11849 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
11850 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11851 (GET_FRAME): Likewise.
11852 (GET_STACK): Likewise.
11853 (CALL_SIGHANDLER): Likewise.
11854 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
11855 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11856 (GET_FRAME): Likewise.
11857 (GET_STACK): Likewise.
11858 (CALL_SIGHANDLER): Likewise.
11859 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
11860 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11861 (GET_FRAME): Likewise.
11862 (GET_STACK): Likewise.
11863 (CALL_SIGHANDLER): Likewise.
11864 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
11865 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11866 (GET_FRAME): Likewise.
11867 (GET_STACK): Likewise.
11868 (CALL_SIGHANDLER): Likewise.
11869 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
11870 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11871 (FIRST_FRAME_POINTER): Likewise.
11872 (ADVANCE_STACK_FRAME): Likewise.
11873 (GET_STACK): Likewise.
11874 (GET_FRAME): Likewise.
11875 (CALL_SIGHANDLER): Likewise.
11876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
11877 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11878 (ADVANCE_STACK_FRAME): Likewise.
11879 (GET_STACK): Likewise.
11880 (GET_FRAME): Likewise.
11881 (CALL_SIGHANDLER): Likewise.
11882 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
11883 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11884 (GET_FRAME): Likewise.
11885 (GET_STACK): Likewise.
11886 (CALL_SIGHANDLER): Likewise.
11887 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
11888 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11889 (GET_FRAME): Likewise.
11890 (GET_STACK): Likewise.
11891 (CALL_SIGHANDLER): Likewise.
11893 2018-03-21 Joseph Myers <joseph@codesourcery.com>
11895 * sysdeps/x86_64/backtrace.c: Move to ....
11896 * debug/backtrace.c: ... here.
11897 * sysdeps/aarch64/backtrace.c: Remove file.
11898 * sysdeps/alpha/backtrace.c: Likewise.
11899 * sysdeps/hppa/backtrace.c: Likewise.
11900 * sysdeps/ia64/backtrace.c: Likewise.
11901 * sysdeps/mips/backtrace.c: Likewise.
11902 * sysdeps/nios2/backtrace.c: Likewise.
11903 * sysdeps/riscv/backtrace.c: Likewise.
11904 * sysdeps/sh/backtrace.c: Likewise.
11905 * sysdeps/tile/backtrace.c: Likewise.
11907 2018-03-20 Joseph Myers <joseph@codesourcery.com>
11910 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
11913 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
11916 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
11917 possibly overflowing computations.
11919 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11921 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
11922 values from Linux-specific section now that it is in the GNU section.
11923 * sysdeps/gnu/errlist.c: Regenerate.
11925 2018-03-20 Joseph Myers <joseph@codesourcery.com>
11927 * math/Makefile (libm-narrow-fns): Add sub.
11928 (libm-test-funcs-narrow): Likewise.
11929 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
11930 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
11931 * math/gen-auto-libm-tests.c (test_functions): Add sub.
11932 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
11933 (NARROW_SUB_ROUND_TO_ODD): Likewise.
11934 (NARROW_SUB_TRIVIAL): Likewise.
11935 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
11937 (__dsubl): Likewise.
11938 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
11940 (CFLAGS-nldbl-dsub.c): New variable.
11941 (CFLAGS-nldbl-fsub.c): Likewise.
11942 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11944 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
11946 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
11947 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
11948 * math/auto-libm-test-in: Add tests of sub.
11949 * math/auto-libm-test-out-narrow-sub: New generated file.
11950 * math/libm-test-narrow-sub.inc: New file.
11951 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11952 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
11953 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
11954 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
11955 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
11956 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
11965 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
11966 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
11967 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
11968 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
11969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11970 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11998 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12001 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12003 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12005 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12007 2018-03-18 Richard Braun <rbraun@sceen.net>
12009 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12012 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12014 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12015 (__libc_cleanup_fct): Define function.
12016 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12017 __libc_cleanup_end): Rewrite implementation using
12018 __attribute__ ((__cleanup__)).
12019 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12020 * hurd/Makefile (routines): Add hurdlock.
12021 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12023 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12024 * hurd/hurdpid.c: Include <lowlevellock.h>
12025 (_S_msg_proc_newids): Use lll_wait to synchronize.
12026 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12027 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12028 * mach/Makefile (lock-headers): Remove machine-lock.h.
12029 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12031 (__spin_lock_t): New type.
12032 (__SPIN_LOCK_INITIALIZER): New macro.
12033 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12034 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12035 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12036 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12037 (__mutex_init): Initialize with lll.
12038 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12039 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12041 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12042 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12043 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12044 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12045 (__setpgid): Use lll for synchronization.
12046 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12047 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12048 instead of <cthreads.h>.
12049 (_IO_lock_inexpensive): New macro
12050 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12051 (__libc_lock_self0): New declaration.
12052 (__libc_lock_owner_self): New macro.
12053 (__libc_key_t): Remove type.
12054 (_LIBC_LOCK_INITIALIZER): New macro.
12055 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12056 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12057 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12058 __libc_lock_define_initialized_recursive,
12059 __rtld_lock_define_initialized_recursive,
12060 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12061 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12062 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12063 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12064 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12065 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12066 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12068 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
12069 * hurd/hurdlock.c: New file.
12070 * hurd/hurdlock.h: New file.
12071 * mach/lowlevellock.h: New file
12073 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12075 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
12076 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
12077 when opening a symlink with O_NOFOLLOW.
12078 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
12079 path when flags contains O_NOFOLLOW.
12080 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
12081 if flags contains O_DIRECTORY and the result is a directory.
12082 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
12083 oneself when the pointer given in D is nul (as set by ext2fs).
12084 * sysdeps/mach/hurd/mlockall.c: New file.
12085 * sysdeps/mach/hurd/munlockall.c: New file.
12087 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12089 * hurd/hurdsig.c: Include <pthread.h>.
12090 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
12091 get the signal thread stack layout.
12092 * hurd/Makefile (headers): Remove threadvar.h.
12093 (inline-headers): Remove threadvar.h.
12094 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
12095 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
12096 __hurd_threadvar_max, __hurd_errno_location.
12097 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
12098 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
12099 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
12100 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
12101 unless TLS is not initialized yet, in which case we do not need a
12102 critical section yet anyway.
12103 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
12105 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
12107 (__hurd_threadvar_index): Remove enum.
12108 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
12109 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
12111 (__hurd_reply_port0): New variable declaration.
12112 (__hurd_local_reply_port): New macro.
12113 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
12114 (interrupted_reply_port_location): Add thread_t parameter. Use it
12115 with THREAD_TCB to access thread-local variables.
12116 (_hurdsig_abort_rpcs): Pass ss->thread to
12117 interrupted_reply_port_location.
12118 (_hurd_internal_post_signal): Likewise.
12119 (_hurdsig_init): Use presence of cthread_fork instead of
12120 __hurd_threadvar_stack_mask to start signal thread by hand.
12121 Remove signal thread threadvar initialization.
12122 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
12123 * hurd/sigunwind.c: Include <hurd/threadvar.h>
12124 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
12126 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
12128 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
12129 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
12130 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
12131 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
12132 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
12133 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
12134 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
12136 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
12137 <hurd/threadvar.h>.
12138 [IS_IN(rtld)] (rtld_errno): New variable.
12139 [IS_IN(rtld)] (__errno_location): New weak function.
12140 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
12141 * sysdeps/mach/hurd/errno.c: Remove file.
12142 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
12143 (__fork): Remove THREADVAR_SPACE macro and its use.
12144 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
12146 (init): Do not initialize threadvar.
12147 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
12149 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
12150 __hurd_local_reply_port instead of threadvar.
12151 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
12152 _hurd_sigstate fields.
12153 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
12154 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
12155 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
12156 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
12157 instead of threadvar.
12158 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
12159 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
12160 (use_threadvar, global_reply_port): Remove variables.
12161 (__hurd_reply_port0): New variable.
12162 (__mig_get_reply_port): Use __hurd_local_reply_port and
12163 __hurd_reply_port0 instead of threadvar.
12164 (__mig_dealloc_reply_port): Likewise.
12165 (__mig_init): Do not initialize threadvar.
12166 * sysdeps/mach/hurd/profil.c: Fix comment.
12167 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
12168 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
12169 cthread_keycreate, cthread_getspecific, cthread_setspecific to
12170 __cthread_fork, __cthread_detach, __pthread_getattr_np,
12171 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
12172 __cthread_setspecific.
12173 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
12174 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
12175 __cthread_t instead of cthread_fork, cthread_detach,
12176 pthread_getattr_np, pthread_attr_getstack.
12177 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
12178 __cthread_keycreate.
12179 (cthread_getspecific): Rename to __cthread_getspecific.
12180 (cthread_setspecific): Rename to __cthread_setspecific.
12181 (__libc_getspecific): Use __cthread_getspecific instead of
12182 cthread_getspecific.
12183 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
12184 __cthread_keycreate instead of cthread_keycreate.
12185 (__libc_setspecific): Use __cthread_setspecific instead of
12186 cthread_setspecific.
12187 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
12189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
12190 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
12191 testing whether it is defined.
12193 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12195 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
12197 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
12198 * sysdeps/mach/i386/thread_state.h
12199 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
12201 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
12203 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
12205 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
12206 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
12208 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
12210 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
12211 descriptor instead of creating a new one.
12212 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
12214 * mach/setup-thread.c: Include <ldsodefs.h>.
12215 (__mach_setup_thread): Call _dl_allocate_tls, pass
12216 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
12217 MACHINE_THREAD_STATE_FLAVOR, before getting
12218 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
12219 MACHINE_THREAD_STATE_FLAVOR with the result.
12220 * hurd/hurdfault.c (_hurdsig_fault_init): Call
12221 MACHINE_THREAD_STATE_FIX_NEW.
12222 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
12223 too. Add original thread parameter.
12225 2018-03-16 Joseph Myers <joseph@codesourcery.com>
12227 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
12228 Remove inline function.
12230 * sysdeps/i386/fpu/libm-test-ulps: Update.
12231 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12233 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
12235 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
12238 2018-03-15 Joseph Myers <joseph@codesourcery.com>
12240 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
12241 (__sincos_code): Remove define and undefine.
12242 [__FAST_MATH__] (__sincos): Remove inline function.
12243 [__FAST_MATH__] (__sincosf): Remove inline function.
12244 [__FAST_MATH__] (__sincosl): Remove inline function.
12245 (__atan2l): Remove inline functions.
12246 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
12247 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
12249 (floor): Remove inline function.
12251 [__FAST_MATH__] (__ldexp_code): Remove macro.
12252 [__FAST_MATH__] (ldexp): Remove inline function.
12253 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
12254 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
12255 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
12256 [__USE_ISOC99] (__lrint_code): Remove macro.
12257 [__USE_ISOC99] (__llrint_code): Likewise.
12258 [__USE_ISOC99] (lrintf): Remove inline function.
12259 [__USE_ISOC99] (lrint): Likewise.
12260 [__USE_ISOC99] (lrintl): Likewise.
12261 [__USE_ISOC99] (llrint): Likewise.
12262 [__USE_ISOC99] (llrintf): Likewise.
12263 [__USE_ISOC99] (llrintl): Likewise.
12265 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12267 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
12268 (__ieee754_sqrtf): Remove.
12269 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
12270 (__ieee754_sqrtf): Remove.
12271 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
12272 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12273 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
12274 (__ieee754_sqrtf): Remove.
12275 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
12276 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
12279 (__ieee754_sqrt): Remove.
12280 (__ieee754_sqrtf): Remove.
12281 (__ieee754_sqrtl): Remove.
12282 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12283 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
12284 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
12285 (__ieee754_sqrtf): Remove.
12286 (__ieee754_sqrtl): Remove.
12288 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12290 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
12291 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12292 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12293 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
12294 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
12295 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12296 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12297 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12299 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
12300 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
12301 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12302 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12303 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12304 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
12305 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12306 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12307 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12308 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12309 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
12310 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12311 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
12312 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
12313 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
12314 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12315 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12316 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12317 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12321 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
12322 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
12323 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
12324 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
12325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
12328 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12329 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12330 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
12331 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12332 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
12333 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12334 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
12336 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
12337 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12338 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
12340 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12342 * include/math.h (sqrt): Declare with asm redirect.
12345 (sqrtf128): Likewise.
12346 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
12347 nonlib and libnldbl with -fmath-errno.
12348 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
12349 * math/w_sqrt_template.c: Likewise.
12350 * math/w_sqrtf_compat.c: Likewise.
12351 * math/w_sqrtl_compat.c: Likewise.
12352 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
12353 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
12354 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
12357 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12359 * benchtests/Makefile: Define _ISOMAC.
12360 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
12361 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
12362 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
12363 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
12364 * benchtests/bench-timing.h: Define attribute_hidden.
12366 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12368 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
12371 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12374 * localedata/locales/cs_CZ (mon): Rename to...
12376 (mon): Import from CLDR (genitive case).
12378 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12381 * localedata/locales/el_CY (abmon): Rename to...
12382 (ab_alt_mon): This.
12383 (abmon): Import from CLDR (abbreviated genitive case).
12384 * localedata/locales/el_GR (abmon): Rename to...
12385 (ab_alt_mon): This.
12386 (abmon): Import from CLDR (abbreviated genitive case).
12388 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12391 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
12393 2018-03-15 Robert Buj <robert.buj@gmail.com>
12396 * localedata/locales/ca_ES (abmon): Rename to...
12397 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
12398 (mon): Rename to...
12400 (abmon): Import from CLDR (genitive case, month names preceded by
12403 (abday): Synchronize with CLDR.
12404 (d_t_fmt): Likewise.
12408 (LC_TIME): Improve indentation.
12409 (LC_TELEPHONE): Likewise.
12410 (LC_NAME): Likewise.
12411 (LC_ADDRESS): Likewise.
12413 2018-03-14 Joseph Myers <joseph@codesourcery.com>
12415 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
12416 (lrintf): Remove definitions used only with old GCC.
12417 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
12418 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
12419 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
12420 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
12421 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
12422 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
12423 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
12424 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
12425 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
12426 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
12427 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
12428 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
12429 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
12430 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
12431 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
12432 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
12433 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
12434 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
12435 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
12436 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
12437 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
12438 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
12439 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
12440 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
12441 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
12442 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
12443 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
12444 [__FAST_MATH__] (__M_SQRT2): Remove macro.
12446 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
12448 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
12449 instruction to unbreak builds with binutils 2.26 and older.
12451 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
12453 * sysdeps/aarch64/strncmp.S (count): New macro.
12454 (strncmp): Store misaligned length in SRC1 in COUNT.
12455 (mutual_align): Adjust.
12456 (misaligned8): Load dword at a time when it is safe.
12458 2018-03-12 Zack Weinberg <zackw@panix.com>
12462 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
12463 if the _IO_EOF_SEEN bit is already set; update commentary.
12464 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
12465 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12467 * support/support_openpty.c, support/tty.h: New files.
12468 * support/Makefile (libsupport-routines): Add support_openpty.
12470 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
12472 * libio/Makefile (tests): Add tst-fgetc-after-eof.
12473 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
12475 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
12477 * po/pt_BR.po: Update translations.
12479 2018-03-12 David Michael <fedora.dm0@gmail.com>
12481 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
12482 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
12483 get a port to the startup server.
12485 2018-03-11 Zack Weinberg <zackw@panix.com>
12487 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
12488 before nldbl-compat.h.
12490 2018-03-10 Zack Weinberg <zackw@panix.com>
12492 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
12493 math.h or math_private.h.
12495 * sysdeps/alpha/fpu/s_isnan.c
12496 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
12497 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
12498 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
12499 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
12500 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
12501 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
12502 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
12503 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
12504 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
12505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
12506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
12507 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
12508 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
12509 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
12510 Include math_private.h.
12512 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
12513 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
12514 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
12515 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
12516 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
12517 * sysdeps/powerpc/power7/fpu/s_logb.c:
12518 Include math.h and math_private.h.
12520 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
12521 uses of $at in .set noat / .set at.
12523 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
12525 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
12526 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
12527 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
12528 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
12531 2018-03-09 Florian Weimer <fweimer@redhat.com>
12533 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
12536 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
12539 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
12540 Add nop before __startcontext, add explaining comments.
12542 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12545 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
12547 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12548 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
12549 Do not build hardware transactional code for __SPE__.
12550 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12551 (__lll_trylock_elision): Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12553 (__lll_unlock_elision): Likewise.
12555 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
12556 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
12557 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
12558 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
12559 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
12560 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
12561 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
12562 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
12563 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
12564 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
12565 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
12566 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
12567 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
12568 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
12569 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
12570 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
12571 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
12572 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
12573 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
12574 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
12575 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
12576 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12577 (__ASSUME_CLONE_BACKWARDS): Define.
12578 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
12579 __clone2 if __NR_clone2 is defined.
12580 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12581 (__ASSUME_CLONE_BACKWARDS): Likewise.
12582 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12583 (__ASSUME_CLONE_BACKWARDS): Likewise.
12584 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12585 (__ASSUME_CLONE2): Likewise.
12586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12587 (__ASSUME_CLONE_BACKWARDS3): Likewise.
12588 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
12589 variants and the define architecture can use.
12590 (__ASSUME_CLONE_DEFAULT): Define as default.
12591 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12592 (__ASSUME_CLONE_BACKWARDS): Likewise.
12593 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12594 (__ASSUME_CLONE_BACKWARDS): Likewise.
12595 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12596 (__ASSUME_CLONE_BACKWARDS2): Likewise.
12598 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
12600 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
12602 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
12605 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
12606 (do_test_limit): Likewise.
12608 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
12609 for every implementation.
12610 (do_test): Likewise.
12612 * benchtests/bench-strncmp.c: Convert output to json.
12614 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12616 * io/futimens.c: Add missing start-of-file descriptive comment.
12617 * io/utime.c: Likewise.
12618 * misc/futimesat.c: Likewise.
12619 * misc/utimes.c: Likewise.
12620 * sysdeps/mach/hurd/futimesat.c: Likewise.
12621 * sysdeps/mach/hurd/utimes.c: Likewise.
12622 * sysdeps/posix/utime.c: Likewise.
12623 * sysdeps/posix/utimes.c: Likewise.
12624 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
12625 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12626 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
12627 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
12629 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12631 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
12633 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
12634 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
12635 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
12636 (__futimens): Move implementation to...
12637 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
12638 utime_tvalue_from_tspec): ... new helper functions.
12639 (hurd_futimens): New function.
12640 * sysdeps/mach/hurd/futimesat.c: New file.
12641 * sysdeps/mach/hurd/utimensat.c: New file.
12643 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
12645 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
12646 UTIME_OMIT): New macros.
12647 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
12648 before reverting to converting time spec to time value and calling
12650 * sysdeps/mach/hurd/utime-helper.c: New file.
12651 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
12652 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
12653 reverting to utime_tvalue_from_tval and __file_utimes.
12654 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
12655 (__lutimes): Just call hurd_futimens after lookup.
12656 * sysdeps/mach/hurd/utimes.c: Likewise.
12658 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12660 * bits/sigaction.h: Add include guard.
12661 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
12662 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
12663 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
12664 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
12665 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
12666 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
12667 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
12668 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
12669 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
12671 2018-03-05 Joseph Myers <joseph@codesourcery.com>
12673 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
12674 -Wmaybe-uninitialized for -Os.
12675 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
12678 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12680 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
12681 __INO_T_MATCHES_INO64_T is defined.
12682 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
12683 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
12685 * dirent/alphasort64.c: Likewise.
12686 * dirent/scandir.c: Likewise.
12687 * dirent/scandir64-tail.c: Likewise.
12688 * dirent/scandir64.c: Likewise.
12689 * dirent/scandirat.c: Likewise.
12690 * dirent/scandirat64.c: Likewise.
12691 * dirent/versionsort.c: Likewise.
12692 * dirent/versionsort64.c: Likewise.
12693 * include/dirent.h: Likewise.
12695 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
12696 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
12697 for socketpair endpoint.
12698 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
12699 WRITE_BUFFER_SIZE as buffer size for sending socket.
12700 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
12701 issue on system where send is implemented with sendto syscall.
12702 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
12703 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
12704 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
12705 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
12708 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
12709 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
12710 sa_restorer for vDSO case.
12711 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
12713 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12715 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
12716 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
12717 * hurd/hurd/ioctl.h: Include <mach/port.h>
12718 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
12719 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
12720 <mach/mach_types.h> and <mach/message.h>.
12721 (headers): Move mach/param.h to bits/mach/param.h.
12722 * sysdeps/mach/i386/mach/param.h: Move file to ...
12723 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
12724 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
12726 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
12727 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
12728 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
12729 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
12730 trivial, for C++ conformity.
12731 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
12732 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
12733 Process mig output through $(migheadersed).
12734 * hurd/Makefile (migheadersed): Define variable.
12735 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
12736 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
12738 * hurd/hurd.h: Include <bits/types/sigset_t.h>
12739 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
12740 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
12741 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
12742 <bits/types/sigset_t.h>.
12743 [!defined __USE_GNU]: Do not #error out.
12744 (struct hurd_sigstate): Use _NSIG instead of NSIG.
12745 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
12746 Include <stddef.h> and <bits/types/sigset_t.h>
12747 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
12748 instead of sighandler_t.
12749 * stdlib/errno.h (error_t): Move definition to...
12750 * bits/types/error_t.h: ... new header.
12751 * stdlib/Makefile (headers): Add bits/types/error_t.h.
12752 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
12753 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
12754 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
12755 * hurd/hurd.h: Include <bits/types/error_t.h>
12756 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
12757 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
12758 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
12759 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
12760 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
12761 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
12762 * sysdeps/mach/hurd/futimens.c: New file.
12764 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
12767 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
12768 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
12769 * nscd/gai.c (__nss_hosts_database): Readd definition.
12770 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
12771 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
12772 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
12774 2018-03-02 Joseph Myers <joseph@codesourcery.com>
12776 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
12777 (ifunc_one): Likewise.
12779 2018-03-01 DJ Delorie <dj@delorie.com>
12782 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
12785 2018-03-01 Maciej W. Rozycki <macro@mips.com>
12787 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
12788 `match_pid' parameter.
12789 (td_ta_thr_iter): Update accordingly.
12791 2018-03-01 Florian Weimer <fweimer@redhat.com>
12793 * nptl/Makefile (install-lib-ldscripts): Remove.
12794 (install): Remove rule.
12795 ($(inst_libdir)/libpthread.so): Likewise.
12797 2018-03-01 Mike FABIAN <mfabian@redhat.com>
12800 * localedata/locales/an_ES: update month and day names,
12801 improve d_fmt, improve postal_fmt, add country_post,
12804 2018-03-01 Mike FABIAN <mfabian@redhat.com>
12806 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
12807 Ukrainian instead of Bulgarian.
12809 2018-03-01 Florian Weimer <fweimer@redhat.com>
12811 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
12814 2018-03-01 Florian Weimer <fweimer@redhat.com>
12816 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
12817 * nptl/Makefile (routines): Add pthread_atfork.
12818 (static-only-routines): Set to pthread_atfork.
12819 (libpthread-routines): Remove pthread_atfork.
12820 (libpthread-static-only-routines): Remove.
12821 (install): Update comment.
12822 (libpthread.so): Do not install libpthread_nonshared.a.
12823 (tests): Do not link with libpthread_nonshared.a.
12824 (generated): Remove libpthread_nonshared.a.
12825 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
12826 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
12827 with libpthread_nonshared.a.
12829 2018-02-28 Joseph Myers <joseph@codesourcery.com>
12832 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
12833 (libc_feholdexcept_setroundf128): New macro.
12834 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
12837 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
12839 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
12840 * include/inttypes.h: New file.
12842 2018-02-27 Joseph Myers <joseph@codesourcery.com>
12844 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
12845 -Os in two more places.
12847 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12849 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
12850 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
12851 be sorted correctly at the moment because of a bug.
12853 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12855 [BZ #22550] - es_ES locale (and other es_* locales): collation should
12856 treat ñ as a primary different character, sync the collation
12857 for Spanish with CLDR.
12858 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
12859 * localedata/Makefile: Add new test files.
12860 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
12861 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
12863 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
12864 * localedata/am_ET.UTF-8.in: New test file.
12865 * localedata/az_AZ.UTF-8.in: Likewise.
12866 * localedata/be_BY.UTF-8.in: Likewise.
12867 * localedata/ber_DZ.UTF-8.in: Likewise.
12868 * localedata/ber_MA.UTF-8.in: Likewise.
12869 * localedata/bg_BG.UTF-8.in: Likewise.
12870 * localedata/br_FR.UTF-8.in: Likewise.
12871 * localedata/cmn_TW.UTF-8.in: Likewise.
12872 * localedata/crh_UA.UTF-8.in: Likewise.
12873 * localedata/csb_PL.UTF-8.in: Likewise.
12874 * localedata/cv_RU.UTF-8.in: Likewise.
12875 * localedata/cy_GB.UTF-8.in: Likewise.
12876 * localedata/dz_BT.UTF-8.in: Likewise.
12877 * localedata/eo.UTF-8.in: Likewise.
12878 * localedata/es_ES.UTF-8.in: Likewise.
12879 * localedata/fa_IR.UTF-8.in: Likewise.
12880 * localedata/fi_FI.UTF-8.in: Likewise.
12881 * localedata/fil_PH.UTF-8.in: Likewise.
12882 * localedata/fur_IT.UTF-8.in: Likewise.
12883 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
12884 * localedata/ha_NG.UTF-8.in: Likewise.
12885 * localedata/ig_NG.UTF-8.in: Likewise.
12886 * localedata/ik_CA.UTF-8.in: Likewise.
12887 * localedata/kk_KZ.UTF-8.in: Likewise.
12888 * localedata/ku_TR.UTF-8.in: Likewise.
12889 * localedata/ky_KG.UTF-8.in: Likewise.
12890 * localedata/ln_CD.UTF-8.in: Likewise.
12891 * localedata/mi_NZ.UTF-8.in: Likewise.
12892 * localedata/ml_IN.UTF-8.in: Likewise.
12893 * localedata/mn_MN.UTF-8.in: Likewise.
12894 * localedata/mr_IN.UTF-8.in: Likewise.
12895 * localedata/mt_MT.UTF-8.in: Likewise.
12896 * localedata/nb_NO.UTF-8.in: Likewise.
12897 * localedata/om_KE.UTF-8.in: Likewise.
12898 * localedata/os_RU.UTF-8.in: Likewise.
12899 * localedata/ps_AF.UTF-8.in: Likewise.
12900 * localedata/ro_RO.UTF-8.in: Likewise.
12901 * localedata/ru_RU.UTF-8.in: Likewise.
12902 * localedata/sc_IT.UTF-8.in: Likewise.
12903 * localedata/se_NO.UTF-8.in: Likewise.
12904 * localedata/sq_AL.UTF-8.in: Likewise.
12905 * localedata/sv_SE.UTF-8.in: Likewise.
12906 * localedata/szl_PL.UTF-8.in: Likewise.
12907 * localedata/tg_TJ.UTF-8.in: Likewise.
12908 * localedata/tk_TM.UTF-8.in: Likewise.
12909 * localedata/tt_RU.UTF-8.in: Likewise.
12910 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
12911 * localedata/ug_CN.UTF-8.in: Likewise.
12912 * localedata/uz_UZ.UTF-8.in: Likewise.
12913 * localedata/vi_VN.UTF-8.in: Likewise.
12914 * localedata/yi_US.UTF-8.in: Likewise.
12915 * localedata/yo_NG.UTF-8.in: Likewise.
12916 * localedata/zh_CN.UTF-8.in: Likewise.
12917 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
12918 file and fix bugs in the collation.
12919 * localedata/locales/az_AZ: Likewise.
12920 * localedata/locales/be_BY: Likewise.
12921 * localedata/locales/ber_DZ: Likewise.
12922 * localedata/locales/ber_MA: Likewise.
12923 * localedata/locales/bg_BG: Likewise.
12924 * localedata/locales/br_FR: Likewise.
12925 * localedata/locales/br_FR@euro: Likewise.
12926 * localedata/locales/ca_ES: Likewise.
12927 * localedata/locales/cns11643_stroke: Likewise.
12928 * localedata/locales/crh_UA: Likewise.
12929 * localedata/locales/cs_CZ: Likewise.
12930 * localedata/locales/csb_PL: Likewise.
12931 * localedata/locales/cv_RU: Likewise.
12932 * localedata/locales/cy_GB: Likewise.
12933 * localedata/locales/da_DK: Likewise.
12934 * localedata/locales/dz_BT: Likewise.
12935 * localedata/locales/en_CA: Likewise.
12936 * localedata/locales/eo: Likewise.
12937 * localedata/locales/es_CU: Likewise.
12938 * localedata/locales/es_EC: Likewise.
12939 * localedata/locales/es_ES: Likewise.
12940 * localedata/locales/es_US: Likewise.
12941 * localedata/locales/et_EE: Likewise.
12942 * localedata/locales/fa_IR: Likewise.
12943 * localedata/locales/fi_FI: Likewise.
12944 * localedata/locales/fil_PH: Likewise.
12945 * localedata/locales/fur_IT: Likewise.
12946 * localedata/locales/gez_ER@abegede: Likewise.
12947 * localedata/locales/ha_NG: Likewise.
12948 * localedata/locales/hr_HR: Likewise.
12949 * localedata/locales/hsb_DE: Likewise.
12950 * localedata/locales/hu_HU: Likewise.
12951 * localedata/locales/ig_NG: Likewise.
12952 * localedata/locales/ik_CA: Likewise.
12953 * localedata/locales/is_IS: Likewise.
12954 * localedata/locales/iso14651_t1_pinyin: Likewise.
12955 * localedata/locales/kk_KZ: Likewise.
12956 * localedata/locales/ku_TR: Likewise.
12957 * localedata/locales/ky_KG: Likewise.
12958 * localedata/locales/ln_CD: Likewise.
12959 * localedata/locales/lt_LT: Likewise.
12960 * localedata/locales/lv_LV: Likewise.
12961 * localedata/locales/mi_NZ: Likewise.
12962 * localedata/locales/ml_IN: Likewise.
12963 * localedata/locales/mn_MN: Likewise.
12964 * localedata/locales/mr_IN: Likewise.
12965 * localedata/locales/mt_MT: Likewise.
12966 * localedata/locales/nb_NO: Likewise.
12967 * localedata/locales/om_KE: Likewise.
12968 * localedata/locales/os_RU: Likewise.
12969 * localedata/locales/pl_PL: Likewise.
12970 * localedata/locales/ps_AF: Likewise.
12971 * localedata/locales/ro_RO: Likewise.
12972 * localedata/locales/ru_RU: Likewise.
12973 * localedata/locales/ru_UA: Likewise.
12974 * localedata/locales/sc_IT: Likewise.
12975 * localedata/locales/se_NO: Likewise.
12976 * localedata/locales/si_LK: Likewise.
12977 * localedata/locales/sq_AL: Likewise.
12978 * localedata/locales/sv_FI: Likewise.
12979 * localedata/locales/sv_FI@euro: Likewise.
12980 * localedata/locales/sv_SE: Likewise.
12981 * localedata/locales/szl_PL: Likewise.
12982 * localedata/locales/tg_TJ: Likewise.
12983 * localedata/locales/ti_ER: Likewise.
12984 * localedata/locales/tk_TM: Likewise.
12985 * localedata/locales/tl_PH: Likewise.
12986 * localedata/locales/tr_TR: Likewise.
12987 * localedata/locales/tt_RU: Likewise.
12988 * localedata/locales/tt_RU@iqtelif: Likewise.
12989 * localedata/locales/ug_CN: Likewise.
12990 * localedata/locales/uk_UA: Likewise.
12991 * localedata/locales/uz_UZ: Likewise.
12992 * localedata/locales/uz_UZ@cyrillic: Likewise.
12993 * localedata/locales/vi_VN: Likewise.
12994 * localedata/locales/yi_US: Likewise.
12995 * localedata/locales/yo_NG: Likewise.
12997 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12999 * gen-locales.mk: Make test files which contain @ modifiers in their
13001 * localedata/gen-locale.sh: Likewise.
13003 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13005 * posix/tst-fnmatch.input: Fix results for range expressions
13007 * posix/tst-regexloc.c: Do not use a range expression for
13008 de_DE.ISO-8859-1 locale.
13010 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13012 * posix/bug-regex5.c: Fix test case because with the new
13013 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13014 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13017 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13019 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13020 downloaded from ISO, the collation order of @-. and space has changed.
13021 Therefore, this test file needed to be adapted.
13022 * localedata/fr_CA.UTF-8.in: Likewise.
13023 * localedata/fr_FR.UTF-8.in: Likewise.
13024 * localedata/uk_UA.UTF-8.in: Likewise.
13026 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13028 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13029 order of ȥ in the new iso14651_t1_common file.
13030 * localedata/pl_PL.UTF-8.in: Likewise.
13032 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13034 * localedata/locales/iso14651_t1_common: Add sections for various
13035 scripts to the iso14651_t1_common file.
13037 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13039 * localedata/locales/iso14651_t1_common: Use the code point of a
13040 character in the fourth collation level instead of IGNORE for all
13041 entries which have IGNORE on all 4 levels.
13043 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13045 * localedata/locales/iso14651_t1_common: Add some convenient collation
13046 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13047 rules similar to those in CLDR.
13049 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13051 * localedata/locales/iso14651_t1_common: The new version of this
13052 file downloaded from ISO contained several syntax errors which
13053 are fixed by this patch.
13055 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13057 * localedata/locales/iso14651_t1_common: replace all <U.....>
13058 with <U000.....> because glibc understands only 4 digit or 8 digit
13060 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13062 * localedata/locales/iso14651_t1_common: Necessary changes
13063 to make the file downloaded from ISO usable by glibc.
13065 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13068 * localedata/locales/iso14651_t1_common: Update file to
13069 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
13071 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13073 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
13074 of <nptl/pthreadP.h>
13075 (thread_attr_compare): Move function to...
13076 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
13077 * sysdeps/nptl/timer_routines.h: ... new header.
13078 * sysdeps/mach/hurd/gai_misc.h: New file.
13080 2018-02-26 Joseph Myers <joseph@codesourcery.com>
13082 * string/strcoll_l.c: Include <libc-diag.h>.
13083 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13084 declarations of seq1 and seq2.
13087 * stdlib/atoi.c (atoi): Use libc_hidden_def.
13088 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
13090 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
13094 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
13095 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
13096 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
13097 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
13098 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
13099 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
13101 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13103 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
13104 macros used in __ptrace_request.
13106 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
13109 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
13111 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
13112 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
13113 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
13116 2018-02-23 Joseph Myers <joseph@codesourcery.com>
13119 * ctype/ctype.c (tolower): Use libc_hidden_def.
13120 (toupper): Likewise.
13121 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
13122 [!_ISOMAC] (toupper): Likewise.
13124 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13126 * localedata/Makefile: Remove --quiet argument when
13129 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13132 * localedata/locales/pt_BR (LC_TIME): use / instead of -
13134 * localedata/locales/pt_PT (LC_TIME): likewise
13136 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13139 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
13140 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
13141 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
13143 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13147 * nptl/Makefile (routines): Remove unregister-atfork.
13148 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
13149 (fork_handler_alloc): Remove function.
13150 (fork_handlers, fork_handler_init): New variables.
13151 (__fork_lock): Rename to atfork_lock.
13152 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
13153 to use a dynamic array to add/remove atfork handlers.
13154 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13155 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
13156 Remove declaration.
13157 (fork_handler): Remove next, refcntr, and need_signal member.
13158 (__run_fork_handler_type): New enum.
13159 (__run_fork_handlers): New prototype.
13160 * nptl/register-atfork.c: Remove file.
13161 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
13163 * sysdeps/nptl/nptl-signals.h: Move to ...
13164 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
13166 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
13167 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
13168 unnecessary check for SIGTIMER.
13169 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
13170 remove unnecessary removal of SIGTIMER.
13171 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
13172 include-signals.h rename.
13173 * nptl/pthreadP.h: Likewise.
13174 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
13175 __is_internal_signal instead of __nptl_is_internal_signal.
13177 2018-02-22 Andrew Waterman <andrew@sifive.com>
13180 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
13181 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
13182 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
13183 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
13185 2018-02-22 DJ Delorie <dj@delorie.com>
13187 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
13189 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
13191 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
13192 do_misaligned, not misaligned8.
13194 2018-02-22 Steve Ellcey <sellcey@cavium.com>
13196 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
13197 Add memcpy_thunderx2.
13198 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13200 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
13201 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
13202 and IS_THUNDERX2PA checks.
13203 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
13204 Use macro to set name appropriately.
13205 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
13206 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
13207 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
13209 (IS_THUNDERX2): New macro.
13211 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13213 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13215 2018-02-21 Zack Weinberg <zackw@panix.com>
13217 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
13218 Define here, unconditionally.
13219 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
13220 * libio/libioP.h: Remove #if 0 blocks.
13221 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
13222 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
13223 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
13225 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
13226 Assume weak_alias is always defined.
13228 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
13229 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
13230 Remove #if 0 and #ifdef TODO blocks.
13231 Assume text_set_element is always defined.
13233 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
13234 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
13235 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
13237 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
13238 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
13239 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
13240 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
13241 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
13242 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
13243 Reformat bit flags for _flags field to make occupancy clearer.
13245 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
13246 Keep definitions consistent with those in libio/libio.h.
13248 * libio/libio.h (_IO_file_flags): Remove macro.
13249 All uses changed to _flags.
13251 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
13252 (__HAVE_COLUMN, _IO_BE): Don't define.
13253 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
13254 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
13255 * libio/libioP.h (EOF): Don't define.
13256 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
13257 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
13258 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
13259 testing _IO_UNIFIED_JUMPTABLES.
13261 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
13262 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
13263 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
13264 (_IO_size_t): Delete; all uses changed to size_t.
13265 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
13266 (_IO_off_t): Delete; all uses changed to off_t.
13267 (_IO_off64_t): Delete; all uses changed to off64_t.
13268 (_IO_pid_t): Delete; all uses changed to pid_t.
13269 (_IO_uid_t): Delete; all uses changed to uid_t.
13270 (_IO_wint_t): Delete; all uses changed to wint_t.
13271 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
13272 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
13273 (_IO_cookie_io_functions_t): Delete; all uses changed to
13274 cookie_io_functions_t.
13275 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
13276 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
13277 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
13278 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
13280 * libio/iofopncook.c: Remove unnecessary forward declarations.
13281 * libio/iolibio.h: Correct outdated commentary.
13282 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
13283 * stdio-common/fxprintf.c (__fxprintf_nocancel):
13284 Remove unnecessary casts.
13285 * stdio-common/getline.c: Use _IO_getdelim directly.
13286 Don't redefine ssize_t.
13287 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
13288 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
13289 Remove outdated comments.
13290 * stdio-common/vfscanf.c: Don't redefine va_list.
13292 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
13293 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
13294 Remove preprocessor conditionals on _LIBC and __USE_GNU,
13295 which are always true, and __cplusplus, which is always false.
13297 2018-02-21 Joseph Myers <joseph@codesourcery.com>
13301 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
13302 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
13303 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
13304 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
13306 [!_ISOMAC] (putc_unlocked): Likewise.
13307 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
13308 define inline if [__USE_EXTERN_INLINES].
13309 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
13314 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
13315 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
13316 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
13317 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
13318 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
13320 * time/tzfile.c (__tzfile_read): Likewise.
13322 2018-02-21 Mike FABIAN <mfabian@redhat.com>
13325 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
13327 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13329 * io/fcntl.h: Fix a typo in a comment.
13331 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
13334 * include/features.h: Add _ISOC11_SOURCE to test for whether to
13335 define _DEFAULT_SOURCE.
13336 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
13338 2018-02-21 Florian Weimer <fweimer@redhat.com>
13341 * elf/cache.c (save_cache): Call fsync on temporary file before
13343 (save_aux_cache): Call fdatasync on temporary file before renaming
13346 2018-02-21 Florian Weimer <fweimer@redhat.com>
13349 * include/caller.h: Remove file.
13350 * elf/dl-caller.c: Likewise.
13351 * elf/Makefile (dl-routines): Remove dl-caller.
13352 (shared-only-routines): Do not add dl-caller.
13353 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
13355 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
13357 (dl_open_worker): Do not call __check_caller.
13358 (_dl_open): Do not set caller_dl_open member.
13359 * elf/rtld.c (_rtld_global_ro): Do not initialize
13360 _dl_check_caller member.
13361 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
13362 _dl_check_caller member.
13363 (_dl_check_caller): Remove declaration.
13364 * sysdeps/unix/sysv/linux/dl-execstack.c
13365 (_dl_make_stack_executable): Do not call __check_caller.
13367 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13369 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
13370 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
13372 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13374 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
13377 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
13380 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
13381 of 199606L, 200112L, and 200809L.
13382 (_XOPEN_SOURCE): Document special values of 600 and 700.
13383 (_ISOC11_SOURCE): Document macro.
13384 (_ATFILE_SOURCE): Likewise.
13385 (_FORTIFY_SOURCE): Likewise.
13387 2018-02-19 Joseph Myers <joseph@codesourcery.com>
13391 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
13392 and define as weak alias of __ferror_unlocked. Use
13394 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
13396 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
13397 function if [__USE_EXTERN_INLINES].
13398 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
13401 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
13404 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
13406 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13409 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
13410 the GLIBC_2.1 version.
13412 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13415 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
13416 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
13417 intl/tst-gettext-de.po from po/de.po by removing the
13418 POT-Creation-Date line.
13419 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
13421 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
13424 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13426 * mach/Makefile (headers): Add mach/param.h.
13427 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
13428 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
13429 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
13430 (__ptsname_r): Move implementation to...
13431 (__ptsname_internal): ... new function. Add filling the STP
13434 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
13436 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
13439 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
13441 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
13444 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13446 * nptl/Makefile (tst-mutex8-ENV): Delete.
13447 * nptl/tst-mutex8.c (check_type):
13448 Add runtime check if mutex will be elided.
13450 2018-02-15 Joseph Myers <joseph@codesourcery.com>
13454 * manual/install.texi (Configuring and compiling): Describe
13455 passing CC and CFLAGS on configure command line, not as
13456 environment variables. Use @code markup on those variables.
13457 Specify what options go in CC and what go in CFLAGS. Note the
13458 requirement to compile with optimization.
13459 * INSTALL: Regenerated.
13462 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
13463 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
13464 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
13465 __sigprocmask instead of sigprocmask.
13466 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
13468 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
13469 __sigsetjmp and sigprocmask.
13472 * include/argz.h (argz_next): Use libc_hidden_proto.
13473 (__argz_next): Likewise.
13474 * string-argz-next.c (__argz_next): Use libc_hidden_def.
13475 (argz_next): Use libc_hidden_weak.
13478 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
13480 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
13484 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
13486 * libio/iofputs.c (fputs): Use libc_hidden_weak.
13490 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
13491 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
13492 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
13493 (__feof_unlocked): New declaration, and inline function if
13494 [__USE_EXTERN_INLINES].
13495 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
13496 instead of feof_unlocked.
13497 * intl/localealias.c [_LIBC] (FEOF): Likewise.
13498 * nss/nsswitch.c (nss_parse_file): Likewise.
13499 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
13501 * time/getdate.c (__getdate_r): Likewise.
13502 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
13503 Define as macro to call __feof_unlocked.
13505 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13507 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
13509 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13511 * math/Makefile: Remove mpexp.c and mplog.c
13512 * sysdeps/i386/fpu/mpexp.c: Delete file.
13513 * sysdeps/i386/fpu/mplog.c: Likewise.
13514 * sysdeps/ia64/fpu/mpexp.c: Likewise.
13515 * sysdeps/ia64/fpu/mplog.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
13517 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
13518 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
13519 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13520 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
13521 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
13522 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
13523 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
13524 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13525 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13526 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
13527 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13528 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13529 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
13530 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13531 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13533 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13535 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13537 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13539 * sysdeps/sh/libm-test-ulps: Update.
13541 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13543 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
13546 2018-02-12 Zack Weinberg <zackw@panix.com>
13549 * posix/sys/types.h: Don't include sys/sysmacros.h.
13550 * misc/sys/sysmacros.h: Remove the conditional deprecation
13551 warnings for the macros defined by this header.
13553 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13555 * manual/probes.texi: Remove slowexp probes.
13556 * math/Makefile: Remove slowexp.
13557 * sysdeps/generic/math_private.h (__slowexp): Remove.
13558 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
13559 document error bounds.
13560 * sysdeps/i386/fpu/slowexp.c: Remove.
13561 * sysdeps/ia64/fpu/slowexp.c: Remove.
13562 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
13563 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
13564 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
13565 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
13566 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
13567 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
13568 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
13569 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
13570 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
13571 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
13572 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
13574 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
13577 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
13578 * benchtests/pow-inputs: Update comment for slow path cases.
13579 * manual/probes.texi (slowpow_p10): Delete removed probe.
13580 (slowpow_p10): Likewise.
13581 * math/Makefile: Remove halfulp.c and slowpow.c.
13582 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
13583 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
13584 (__halfulp): Remove.
13585 (__slowpow): Remove.
13586 * sysdeps/i386/fpu/halfulp.c: Delete file.
13587 * sysdeps/i386/fpu/slowpow.c: Likewise.
13588 * sysdeps/ia64/fpu/halfulp.c: Likewise.
13589 * sysdeps/ia64/fpu/slowpow.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
13591 improve comments and add error analysis.
13592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
13593 (power1): Remove function:
13594 (log1): Remove error argument, add error analysis.
13595 (my_log2): Remove function.
13596 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
13597 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13598 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
13599 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
13600 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
13601 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
13602 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
13603 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
13604 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
13605 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
13606 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
13607 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13608 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13609 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13611 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
13613 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
13614 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
13616 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
13619 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
13620 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
13621 and PTRACE_SETHBPREGS.
13623 2018-02-10 Zack Weinberg <zackw@panix.com>
13626 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
13628 * malloc/tst-malloc-stats-cancellation.c: New test case.
13629 * malloc/Makefile: Add new test case.
13631 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
13633 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
13635 2018-02-10 Joseph Myers <joseph@codesourcery.com>
13637 * math/Makefile (libm-narrow-fns): Add add.
13638 (libm-test-funcs-narrow): Likewise.
13639 * math/Versions (GLIBC_2.28): Add narrowing add functions.
13640 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
13641 * math/gen-auto-libm-tests.c (test_functions): Add add.
13642 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
13643 (NARROW_ADD_ROUND_TO_ODD): Likewise.
13644 (NARROW_ADD_TRIVIAL): Likewise.
13645 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
13647 (__daddl): Likewise.
13648 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
13650 (CFLAGS-nldbl-dadd.c): New variable.
13651 (CFLAGS-nldbl-fadd.c): Likewise.
13652 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13654 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
13656 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
13657 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
13658 * math/auto-libm-test-in: Add tests of add.
13659 * math/auto-libm-test-out-narrow-add: New generated file.
13660 * math/libm-test-narrow-add.inc: New file.
13661 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
13664 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
13665 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
13666 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
13671 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
13675 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
13676 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
13677 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
13678 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
13679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13680 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13683 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13684 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13708 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
13709 (f128-pairs): New variable.
13710 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
13711 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
13713 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
13714 Also make tests add $(f128-loader-link) to gnulib-tests.
13716 2018-02-09 DJ Delorie <dj@redhat.com>
13719 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
13720 64-bit ELF type for 64-bit ELF objects.
13722 2018-02-09 Joseph Myers <joseph@codesourcery.com>
13724 * math/libm-test-driver.c (snan_tests_arg): New variable.
13725 * math/libm-test-support.h (snan_tests_arg): New declaration.
13726 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
13728 * math/Makefile (test-type-pairs): New variable.
13729 (test-type-pairs-f64xf128-yes): Likewise.
13730 (tests): Add test-narrow-macros.
13731 (libm-test-funcs-narrow): New variable.
13732 (libm-test-c-narrow): Likewise.
13733 (generated): Add $(libm-test-c-narrow).
13734 (libm-tests-base-narrow): New variable.
13735 (libm-tests-narrow): Likewise.
13736 (libm-tests): Add $(libm-tests-narrow).
13737 (libm-tests-for-type): Handle $(libm-tests-narrow).
13738 (libm-test-c-narrow-obj): New variable.
13739 ($(libm-test-c-narrow-obj)): New rule.
13740 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
13741 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
13742 $(o-iterator) to set dependencies and CFLAGS.
13743 * math/gen-auto-libm-tests.c: Document use for narrowing
13745 (output_for_one_input_case): Take argument NARROW.
13746 (generate_output): Likewise. Update call to
13747 output_for_one_input_case.
13748 (main): Take --narrow option. Update call to generate_output.
13749 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
13750 (apply_lit): Update call to _apply_lit.
13751 (apply_arglit): New function.
13752 (parse_args): Handle "a" arguments.
13753 (parse_auto_input): Handle format names using ":".
13754 * math/README.libm-test: Document "a" parameter type.
13755 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
13756 (ARG_TYPE_TRUE_MIN): Likewise.
13757 (ARG_TYPE_MAX): Likwise.
13758 (ARG_MIN_EXP): Likewise.
13759 (ARG_MAX_EXP): Likewise.
13760 (ARG_MANT_DIG): Likewise.
13761 (TEST_COND_arg_ibm128): Likewise.
13762 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
13763 (TEST_COND_arg_fmt): New macro.
13764 (init_max_error): Update prototype.
13765 * math/libm-test-support.c (test_ibm128): New variable.
13766 (init_max_error): Take argument testing_ibm128 and set test_ibm128
13767 instead of using [TEST_COND_ibm128] conditional.
13768 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
13769 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
13770 [TEST_NARROW] (TEST_MSG): New definition.
13771 (arg_plus_zero): New macro.
13772 (arg_minus_zero): Likewise.
13773 (arg_plus_infty): Likewise.
13774 (arg_minus_infty): Likewise.
13775 (arg_qnan_value_pl): Likewise.
13776 (arg_qnan_value): Likewise.
13777 (arg_snan_value_pl): Likewise.
13778 (arg_snan_value): Likewise.
13779 (arg_max_value): Likewise.
13780 (arg_min_value): Likewise.
13781 (arg_min_subnorm_value): Likewise.
13782 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
13783 (RUN_TEST_LOOP_aa_f): New macro.
13784 (TEST_SUFF): New macro.
13785 (TEST_SUFF_STR): Likewise.
13786 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
13787 (TEST_COND_any_ibm128): New macro.
13788 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
13789 this_func. Update call to init_max_error.
13790 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
13791 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
13792 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
13793 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
13794 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
13795 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
13796 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
13797 * math/test-math-scalar.h (TEST_NARROW): Likewise.
13798 * math/test-math-vector.h (TEST_NARROW): Likewise.
13799 * math/test-arg-double.h: New file.
13800 * math/test-arg-float128.h: Likewise.
13801 * math/test-arg-float32x.h: Likewise.
13802 * math/test-arg-float64.h: Likewise.
13803 * math/test-arg-float64x.h: Likewise.
13804 * math/test-arg-ldouble.h: Likewise.
13805 * math/test-math-narrow.h: Likewise.
13806 * math/test-narrow-macros.c: Likewise.
13807 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
13808 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
13809 test-narrow-macros-ldbl-64.
13810 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
13812 * math/bits/mathcalls-narrow.h: New file.
13813 * include/bits/mathcalls-narrow.h: Likewise.
13814 * math/math-narrow.h: Likewise.
13815 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
13816 (__MATHCALL_NARROW_ARGS_2): Likewise.
13817 (__MATHCALL_NARROW_ARGS_3): Likewise.
13818 (__MATHCALL_NARROW_NORMAL): Likewise.
13819 (__MATHCALL_NARROW_REDIR): Likewise.
13820 (__MATHCALL_NARROW): Likewise.
13821 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
13822 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
13824 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
13825 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
13826 (libm-narrow-fns): New variable.
13827 (libm-narrow-types-basic): Likewise.
13828 (libm-narrow-types-ldouble-yes): Likewise.
13829 (libm-narrow-types-float128-yes): Likewise.
13830 (libm-narrow-types-float128-alias-yes): Likewise.
13831 (libm-narrow-types): Likewise.
13832 (libm-routines): Add narrowing functions.
13833 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
13834 (libc_feholdexcept_setroundf128): New macro.
13835 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
13836 * sysdeps/ieee754/float128/float128_private.h: Include
13837 <math/math-narrow.h>.
13838 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
13839 Undefine and redefine.
13840 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
13841 (libm_alias_float_ldouble): Undefine and redefine.
13842 (libm_alias_double_ldouble): Likewise.
13844 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
13846 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
13848 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
13851 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
13853 * manual/creature.texi: Convert references to gcc.info to gcc.
13854 * manual/stdio.texi: Likewise.
13855 * manual/string.texi: Likewise.
13857 2018-02-07 Joseph Myers <joseph@codesourcery.com>
13860 * posix/bits/types.h (__int_least8_t): New typedef.
13861 (__uint_least8_t): Likewise.
13862 (__int_least16_t): Likewise.
13863 (__uint_least16_t): Likewise.
13864 (__int_least32_t): Likewise.
13865 (__uint_least32_t): Likewise.
13866 (__int_least64_t): Likewise.
13867 (__uint_least64_t): Likewise.
13868 * sysdeps/generic/stdint.h (int_least8_t): Define using
13870 (int_least16_t): Define using __int_least16_t.
13871 (int_least32_t): Define using __int_least32_t.
13872 (int_least64_t): Define using __int_least64_t.
13873 (uint_least8_t): Define using __uint_least8_t.
13874 (uint_least16_t): Define using __uint_least16_t.
13875 (uint_least32_t): Define using __uint_least32_t.
13876 (uint_least64_t): Define using __uint_least64_t.
13877 * wcsmbs/uchar.h: Include <bits/types.h>.
13878 (char16_t): Define using __uint_least16_t conditional only on
13880 (char32_t): Define using __uint_least32_t conditional only on
13882 * wcsmbs/test-char-types.c: New file.
13883 * wcsmbs/Makefile (tests): Add test-char-types.
13885 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
13888 2018-02-07 Zack Weinberg <zackw@panix.com>
13890 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
13891 Delete all contents except for definitions of _G_HAVE_MMAP and
13892 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
13893 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
13894 sysdeps/unix/sysv/linux/_G_config.h. Make same content
13897 * libio/libio.h: Don't include bits/_G_config.h here.
13898 Include stddef.h with __need_wchar_t defined. Include
13899 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
13900 Define _IO_iconv_t here, directly.
13901 Don't define _IO_HAVE_ST_BLKSIZE.
13902 * libio/libioP.h: Include _G_config.h here. Move include of
13903 shlib-compat.h up with rest of includes. Simplify conditionals
13904 controlling definition of _IO_JUMPS_OFFSET.
13906 * csu/init.c: Remove always-true #if around entire file.
13907 Don't include stdio.h. Set _IO_stdin_used to hardwired
13908 constant 0x20001, and update commentary.
13909 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
13910 Replace all uses of _G_va_list with __gnuc_va_list.
13911 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
13912 instead of #if _IO_HAVE_ST_BLKSIZE.
13913 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
13914 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
13917 * libio/bits/libio.h: Move back to libio/libio.h and adjust
13918 multiple-include guard to match.
13919 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
13921 Remove preprocessor conditionals that are always true and/or
13922 redundant to other preprocessor conditionals in the same nest.
13923 Include shlib-compat.h unconditionally.
13924 Error out if _LIBC is not defined, or if _ISOMAC is defined,
13925 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
13926 defined after including stdio.h.
13927 Use __BEGIN_DECLS/__END_DECLS.
13929 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
13930 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
13931 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
13933 2018-02-07 Zack Weinberg <zackw@panix.com>
13935 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
13936 New single-type headers split from _G_config.h.
13937 * libio/bits/types/cookie_io_functions_t.h
13938 * libio/bits/types/struct_FILE.h
13939 New single-type headers split from libio.h.
13941 * libio/Makefile: Install the above new headers. Don't install
13942 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
13944 * libio/_G_config.h, libio/libio.h: Delete file.
13946 * libio/bits/libio.h: Remove improper-inclusion guard.
13947 Include stdio.h and don't repeat anything that it does.
13948 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
13949 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
13950 __io_read_fn as cookie_read_function_t,
13951 __io_write_fn as cookie_write_function_t,
13952 __io_seek_fn as cookie_seek_function_t,
13953 __io_close_fn as cookie_close_function_t,
13954 and _IO_cookie_io_functions_t as cookie_io_functions_t.
13955 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
13956 here, in the "compatibility defines" section. Remove an #if 0
13957 block. Use the "body" macros from bits/types/struct_FILE.h to
13958 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
13959 and _IO_ferror_unlocked.
13960 Move prototypes of __uflow and __overflow...
13962 * libio/stdio.h: ...here. Don't include bits/libio.h.
13963 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
13964 directly from stdarg.h. Include bits/types/__fpos_t.h,
13965 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
13966 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
13967 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
13968 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
13969 cookie_io_functions_t, not _IO_cookie_io_functions_t;
13970 __ssize_t, not _IO_ssize_t. Unconditionally define
13971 BUFSIZ as 8192 and EOF as (-1).
13973 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
13974 macros from bits/types/struct_FILE.h instead of _IO_* macros
13975 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
13976 instead of _IO_ssize_t.
13977 * libio/bits/stdio2.h: Similarly.
13979 * libio/iolibio.h: Add multiple-include guard.
13980 Include bits/libio.h after stdio.h.
13981 * libio/libioP.h: Add multiple-include guard.
13982 Include stdio.h and bits/libio.h before iolibio.h.
13984 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
13985 * include/bits/types/cookie_io_functions_t.h
13986 * include/bits/types/struct_FILE.h: New wrappers.
13988 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
13989 Get definitions of _G_fpos_t and _G_fpos64_t from
13990 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
13991 respectively. Remove improper-inclusion guards.
13993 * conform/data/stdio.h-data: Update expectations of va_list.
13994 * scripts/check-installed-headers.sh: Remove special case for
13995 libio.h and _G_config.h.
13997 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14001 * include/sys/sysmacros.h [!_ISOMAC]
14002 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14003 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14004 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14005 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14007 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14008 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14010 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14011 Undefine and redefine to add use __gnu_dev_ prefix.
14012 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14014 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14015 and define as hidden inline function.
14016 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14018 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14020 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14021 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14022 (gnu_dev_minor): Likewise.
14023 (gnu_dev_makedev): Likewise.
14024 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14026 * posix/wordexp.c (exec_comm_child): Likewise.
14027 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14028 instead of minor and __gnu_dev_major instead of major.
14029 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14030 __gnu_dev_major instead of major.
14031 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14032 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14033 instead of gnu_dev_minor.
14034 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14035 (SLAVE_P): Likewise.
14036 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14037 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14041 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14043 * locale/weightwc.h (findidx): Likewise.
14045 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14047 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14048 (slowlog_inexact): Likewise
14049 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14050 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14052 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14055 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14056 missing second underscore to parameter name.
14058 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14064 * bits/byteswap.h: Update file comment. Do not include
14065 <bits/byteswap-16.h>.
14066 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14068 (__bswap_16): Define as inline function.
14069 (__bswap_constant_32): Reformat definition.
14070 (__bswap_32): Always define as inline function, not macro, using
14071 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
14072 otherwise __bswap_constant_32.
14073 (__bswap_constant_64): Reformat definition. Do not use
14074 __extension__ here.
14075 (__bswap_64): Always define as inline function, not macro. Use
14076 __extension__ on function definition. Use __builtin_bswap64 if
14077 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
14078 * string/test-endian-file-scope.c: New file.
14079 * string/test-endian-sign-conversion.c: Likewise.
14080 * string/Makefile (headers): Remove bits/byteswap-16.h.
14081 (tests): Add test-endian-file-scope and
14082 test-endian-sign-conversion.
14083 (CFLAGS-test-endian-sign-conversion.c): New variable.
14084 * bits/byteswap-16.h: Remove file.
14085 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
14086 * sysdeps/ia64/bits/byteswap.h: Likewise.
14087 * sysdeps/m68k/bits/byteswap.h: Likewise.
14088 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14089 * sysdeps/s390/bits/byteswap.h: Likewise.
14090 * sysdeps/tile/bits/byteswap.h: Likewise.
14091 * sysdeps/x86/bits/byteswap-16.h: Likewise.
14092 * sysdeps/x86/bits/byteswap.h: Likewise.
14095 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
14096 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
14097 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
14098 199901L] (__restrict): Define to restrict.
14101 * string/testcopy.c: Include <support/support.h>. Do not include
14102 <malloc.h>. Use <support/test-driver.c>.
14103 (main): Rename to do_test. Make static. Use xmalloc instead of
14107 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
14108 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
14109 (SSIZE_MAX): Define to INT_MAX.
14110 * posix/test-ssize-max.c: New file.
14111 * posix/Makefile (tests): Add test-ssize-max.
14114 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
14115 <support/support.h>. Do not include <malloc.h>.
14116 (query_auxv): Use xmalloc instead of malloc.
14119 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
14120 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
14123 2018-02-06 Florian Weimer <fweimer@redhat.com>
14126 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14127 Use scratch_buffer instead of extend_alloca.
14129 2018-02-06 Zack Weinberg <zackw@panix.com>
14131 * libio/stdio.h: Don't define getc or putc as macros.
14132 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
14133 not _IO_getc and _IO_putc.
14135 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
14136 * stdio-common/tstgetln.c: Don't redefine ssize_t.
14138 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14140 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
14141 (TCP_FASTOPEN_NO_COOKIE): Likewise.
14143 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
14146 * elf/elf.h (NT_PRFPREG): New macro.
14147 (NT_S390_VXRS_LOW): Likewise.
14148 (NT_S390_VXRS_HIGH): Likewise.
14149 (NT_S390_GS_CB): Likewise.
14150 (NT_S390_GS_BC): Likewise.
14151 (NT_S390_RI_CB): Likewise.
14153 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14154 (MAP_SYNC): New macro.
14155 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
14157 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14158 (MAP_SYNC): Likewise.
14159 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14160 (MAP_SYNC): Likewise.
14161 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14162 (MAP_SYNC): Likewise.
14163 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14164 (MAP_SYNC): Likewise.
14165 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14166 (MAP_SYNC): Likewise.
14167 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14168 (MAP_SYNC): Likewise.
14169 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
14171 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
14174 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
14175 (MAP_SHARED_VALIDATE): New macro.
14176 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14177 (MAP_SHARED_VALIDATE): Likewise.
14179 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14181 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
14182 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
14183 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14185 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14187 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
14188 (DT_NUM): Updated to 35.
14190 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
14193 __builtin_expect with __glibc_likely and __glibc_unlikely.
14194 (elf_machine_rela): Likewise.
14195 (elf_machine_lazy_rel): Likewise.
14197 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
14200 __builtin_expect with __glibc_likely and __glibc_unlikely.
14201 (elf_machine_lazy_rel): Likewise.
14203 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14206 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
14208 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
14210 2018-02-05 Andreas Schwab <schwab@suse.de>
14213 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
14216 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14218 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
14219 not check against PTHREAD_STACK_MIN.
14221 2018-02-02 Sean McKean <smckean83@gmail.com>
14224 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
14226 2018-02-02 Florian Weimer <fweimer@redhat.com>
14229 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
14230 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14231 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14232 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
14233 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14234 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14235 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14236 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
14237 * manual/llio.texi (Scatter-Gather): Mention offset -1.
14238 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
14239 * misc/tst-preadvwritev2.c (do_test): Call it.
14240 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
14242 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14244 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
14246 * benchtests/bench-memcmp.c: Print json instead of plain text.
14248 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
14251 2018-02-01 Joseph Myers <joseph@codesourcery.com>
14253 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14255 (s390_sthyi): New syscall.
14257 * sysdeps/generic/ldbl-classify-compat.h: New file.
14258 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
14259 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
14260 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
14261 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
14262 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
14263 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
14264 * sysdeps/ieee754/dbl-64/s_finite.c: Include
14265 <ldbl-classify-compat.h>.
14266 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14267 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
14268 <ldbl-classify-compat.h>.
14269 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14270 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
14271 <ldbl-classify-compat.h>.
14272 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14273 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
14274 <ldbl-classify-compat.h>.
14275 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
14277 <ldbl-classify-compat.h>.
14278 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
14280 <ldbl-classify-compat.h>.
14281 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14282 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
14283 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14284 * sysdeps/m68k/coldfire/math_private.h: Remove file.
14285 * sysdeps/microblaze/math_private.h: Likewise.
14286 * sysdeps/nios2/math_private.h: Likewise.
14287 * sysdeps/sh/math_private.h: Likewise.
14289 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
14290 * sysdeps/m68k/coldfire/math_private.h: ... here.
14291 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
14292 * sysdeps/tile/math_private.h: Likewise.
14293 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
14295 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
14298 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
14300 (libc_fetestexcept): Likewise.
14301 (libc_feupdateenv_test): Likewise.
14302 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
14303 (libc_fetestexcept): Likewise.
14304 (libc_feupdateenv_test): Likewise.
14305 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
14306 (libc_fetestexcept): Likewise.
14307 (libc_feupdateenv_test): Likewise.
14308 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
14309 (libc_fetestexcept): Likewise.
14310 (libc_feupdateenv_test): Likewise.
14312 * sysdeps/generic/math_private.h
14313 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
14314 New inline function.
14315 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
14318 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
14319 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
14320 * sysdeps/generic/math_private.h
14321 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
14323 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
14325 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
14327 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
14329 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
14331 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
14333 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
14334 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
14335 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
14336 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
14337 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
14338 (__fegetenv): Likewise.
14339 (fesetenv): Likewise.
14340 (__fesetenv): Likewise.
14341 (feupdateenv): Likewise.
14342 (__feupdateenv): Likewise.
14343 (fegetround): Likewise.
14344 (__fegetround): Likewise.
14345 (fesetround): Likewise.
14346 (__fesetround): Likewise.
14348 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
14349 (feraiseexcept): New macro.
14350 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
14351 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
14353 (__feraiseexcept): Likewise.
14354 (feclearexcept): Likewise.
14355 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
14356 (__feraiseexcept): Likewise.
14357 (feclearexcept): Likewise.
14358 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
14359 (__feraiseexcept): Likewise.
14360 (feclearexcept): Likewise.
14361 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
14362 (__feraiseexcept): Likewise.
14363 (feclearexcept): Likewise.
14364 (fetestexcept): Likewise.
14366 * sysdeps/m68k/coldfire/math-tests.h: New file.
14368 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
14369 * sysdeps/m68k/bits/fenv.h: ... here.
14370 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
14372 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
14374 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
14376 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
14378 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
14380 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
14382 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
14383 (__FE_UNDEFINED): New enum constant.
14384 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
14386 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
14388 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
14390 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
14391 to match generic bits/fenv.h.
14392 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
14395 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
14397 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
14398 * soft-fp/half.h (union _FP_UNION_H): Likewise.
14399 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
14400 * soft-fp/single.h (union _FP_UNION_S): Likewise.
14402 2018-02-01 Carlos O'Donell <carlos@redhat.com>
14403 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
14404 Joseph Myers <joseph@codesourcery.com>
14407 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
14408 (__log1p): Disable -Wmaybe-uninitialized for -Os around
14409 computation using c.
14410 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
14411 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
14412 computation using c.
14414 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14416 * version.h (RELEASE): Set to "development".
14417 (VERSION): Set to "2.27.9000".
14418 * NEWS (2.28): New section.
14420 * version.h (RELEASE): Set to "stable".
14421 (VERSION): Set to "2.27".
14422 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
14424 * NEWS: Add the list of bugs fixed in 2.27.
14426 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14428 * stdlib/test-atexit-race-common.c (do_test): Check stack size
14429 against PTHREAD_STACK_MIN.
14431 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14433 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
14435 (Rafal Luzynski, Andreas Schwab): Update.
14437 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
14440 * NEWS: List the languages which actually use the alternative
14441 months feature in this release. Also explain that "alt_mon" and
14442 "ab_alt_mon" are optional.
14444 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
14447 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
14449 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
14451 * manual/install.texi (Tools for Compilation): Update the newest
14452 versions of gcc, binutils, texinfo, gawk, bison, and sed.
14453 * INSTALL: Regenerated.
14455 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14457 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
14458 instead of __builtin_expect.
14460 2018-01-30 Florian Weimer <fweimer@redhat.com>
14462 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
14464 * nss/tst-nss-getpwent.c (do_test): Likewise.
14466 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
14469 * localedata/locales/hr_HR (mon): Rename to...
14471 (mon): Import from CLDR (genitive case).
14472 (d_t_fmt): Update the comment.
14474 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
14476 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
14477 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
14478 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
14480 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14482 * mach/Versions: Fix version when __mach_host_self_ was added.
14483 * hurd/Versions: Fix version when _hurd_exec_paths was added.
14484 * sysdeps/mach/hurd/i386/ld.abilist: New file.
14485 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
14486 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
14487 * sysdeps/mach/hurd/i386/libc.abilist: New file.
14488 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
14489 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
14490 * sysdeps/mach/hurd/i386/libm.abilist: New file.
14491 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
14492 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
14493 * sysdeps/mach/hurd/i386/librt.abilist: New file.
14494 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
14495 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
14496 || to respect codestyle.
14497 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
14498 (do_test_bz20181): Rename accordingly.
14499 * malloc/malloc.c: Include <assert.h>.
14500 (assert): Do not define.
14501 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
14502 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
14503 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
14504 * sysdeps/mach/hurd/hp-timing.h: New file.
14505 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
14507 2018-01-29 Darius Rad <darius@bluespec.com>
14509 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
14511 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
14513 * sysdeps/init_array/crti.S (.section .init_array): Add
14514 PREINIT_FUNCTION when defined.
14515 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
14516 * config.h.in: Regenerate.
14517 * manual/platform.texi: Add RISC-V documenation for
14518 __riscv_flush_icache.
14519 * sysdeps/riscv/__longjmp.S: New file.
14520 * sysdeps/riscv/backtrace.c: Likewise.
14521 * sysdeps/riscv/bits/endian.h: Likewise.
14522 * sysdeps/riscv/bits/setjmp.h: Likewise.
14523 * sysdeps/riscv/bits/wordsize.h: Likewise.
14524 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
14525 * sysdeps/riscv/bsd-setjmp.c: Likewise.
14526 * sysdeps/riscv/dl-trampoline.S: Likewise.
14527 * sysdeps/riscv/gccframe.h: Likewise.
14528 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
14529 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
14530 * sysdeps/riscv/machine-gmon.h: Likewise.
14531 * sysdeps/riscv/memusage.h: Likewise.
14532 * sysdeps/riscv/setjmp.S: Likewise.
14533 * sysdeps/riscv/sys/asm.h: Likewise.
14534 * sysdeps/riscv/tls-macros.h: Likewise.
14535 * sysdeps/riscv/dl-tls.h: New file.
14536 * sysdeps/riscv/libc-tls.c: Likewise.
14537 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
14538 * sysdeps/riscv/nptl/tls.h: Likewise.
14539 * sysdeps/riscv/stackinfo.h: Likewise.
14540 * sysdeps/riscv/bits/fenv.h: New file.
14541 * sysdeps/riscv/e_sqrtl.c: Likewise.
14542 * sysdeps/riscv/fpu_control.h: Likewise.
14543 * sysdeps/riscv/math-tests.h: Likewise.
14544 * sysdeps/riscv/nofpu/Implies: Likewise.
14545 * sysdeps/riscv/sfp-machine.h: Likewise.
14546 * sysdeps/riscv/tininess.h: Likewise.
14547 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
14548 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
14549 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
14550 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
14551 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
14552 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
14553 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
14554 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
14555 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
14556 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
14557 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
14558 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
14559 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
14560 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
14561 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
14562 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
14563 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
14564 * sysdeps/riscv/rvd/s_finite.c: Likewise.
14565 * sysdeps/riscv/rvd/s_fma.c: Likewise.
14566 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
14567 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
14568 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
14569 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
14570 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
14571 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
14572 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
14573 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
14574 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
14575 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
14576 * sysdeps/riscv/rvf/fegetround.c: Likewise.
14577 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
14578 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
14579 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
14580 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
14581 * sysdeps/riscv/rvf/fesetround.c: Likewise.
14582 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
14583 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
14584 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
14585 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
14586 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
14587 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
14588 * sysdeps/riscv/rvf/math_private.h: Likewise.
14589 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
14590 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
14591 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
14592 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
14593 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
14594 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
14595 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
14596 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
14597 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
14598 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
14599 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
14600 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
14601 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
14602 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
14603 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
14604 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
14605 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
14606 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
14607 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
14608 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
14609 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
14610 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14611 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
14612 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
14613 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
14614 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
14615 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
14616 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
14617 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
14618 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
14619 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
14620 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
14621 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
14622 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
14623 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
14624 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
14625 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
14626 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
14627 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
14628 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
14629 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
14630 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
14631 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
14632 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
14633 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
14634 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
14635 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
14636 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
14637 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
14638 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
14639 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
14640 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
14641 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
14642 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
14643 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
14644 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
14645 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
14646 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
14647 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
14648 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
14649 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14657 * sysdeps/riscv/Implies: New file.
14658 * sysdeps/riscv/Makefile: Likewise.
14659 * sysdeps/riscv/configure: Likewise.
14660 * sysdeps/riscv/configure.ac: Likewise.
14661 * sysdeps/riscv/nptl/Makefile: Likewise.
14662 * sysdeps/riscv/preconfigure: Likewise.
14663 * sysdeps/riscv/rv64/Implies-after: Likewise.
14664 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
14665 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
14666 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
14667 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
14668 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
14669 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
14670 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
14671 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
14672 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
14673 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
14674 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
14675 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
14676 (Config): Likewise.
14678 2018-01-29 Florian Weimer <fweimer@redhat.com>
14681 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
14682 libnsl_hidden_proto.
14683 * include/rpcsvc/yp.h (yp_xdrall): Declare with
14684 libnsl_hidden_proto.
14685 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
14686 * nis/Makefile (libnsl-routines): Add nss-default only for
14687 build-obsolete-nsl.
14688 * nis/nis_defaults.c (__nis_default_ttl): Add
14689 libnsl_hidden_nolink_def.
14690 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
14692 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
14693 * nis/ypclnt.c (yp_maplist): Likewise.
14695 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
14697 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14698 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
14700 2018-01-29 Joseph Myers <joseph@codesourcery.com>
14702 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
14703 clean -dxfq for git updates when replacing sources.
14705 * scripts/build-many-glibcs.py (Config.build_gcc): Use
14706 --disable-libcilkrts unconditionally, not just for the final GCC
14709 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14712 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14715 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
14718 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14721 * localedata/locales/be_BY (mon): Rename to...
14722 (alt_mon): This, then synchronize with CLDR (nominative case).
14723 (abmon): Rename to...
14724 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14725 (mon): Import from CLDR (genitive case).
14727 * localedata/locales/be_BY@latin (mon): Rename to...
14729 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
14731 * localedata/locales/be_BY@latin (lang_name): Reworded to
14732 "biełaruskaja mova".
14734 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14737 * localedata/locales/el_CY (mon): Renamed to...
14739 (mon): Import from CLDR (genitive case).
14740 * localedata/locales/el_GR: Likewise.
14742 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14745 * localedata/locales/ru_RU (mon): Rename to...
14747 (abmon): Rename to...
14748 (ab_alt_mon): This.
14749 (mon): Import from CLDR (genitive case).
14750 (abmon): Copy from the old content except the 5th month which is
14751 now in the genitive case, even when abbreviated.
14752 * localedata/locales/ru_UA: Likewise.
14753 * time/tst-strptime.c (day_tests): Add an actual example of
14754 a difference between %b and %Ob in Russian.
14756 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14758 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
14759 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
14761 * resolv/res-close.c: Include <stdlib.h>.
14762 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
14763 <sys/wait.h>, <time.h>, <sys/uio.h>.
14764 (NOT_CANCEL_H): Add inclusion guard.
14765 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
14766 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
14767 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
14769 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
14770 vm_address_t * to ElfW(Addr) * for dl_main parameter.
14771 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
14773 * sysdeps/pthread/timer_create.c (timer_create): Do not use
14774 timer_ptr2id to cast struct timer_node * to void *.
14775 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
14776 --disable-libcilkrts to gcc configure.
14777 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
14778 and make them the default for now.
14779 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
14780 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
14781 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
14782 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
14783 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
14785 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
14786 __task_terminate would ever return successfully.
14787 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
14789 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
14790 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
14791 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
14792 critical section to make code simpler and avoid warning.
14793 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
14794 critical section to make code simpler and avoid warning.
14795 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
14796 const char * instead of char *.
14797 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
14798 __hurd_file_name_split, hurd_file_name_split,
14799 __hurd_directory_name_split, hurd_directory_name_split,
14800 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
14801 hurd_file_name_path_lookup): Make lookup function parameter take a
14802 const char *name instead of char *name.
14803 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
14804 __hurd_directory_name_split): Likewise.
14805 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
14806 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
14807 * sysdeps/mach/hurd/check_native.c: New file.
14808 * sysdeps/mach/hurd/check_pf.c: New file.
14809 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
14810 (__freeifaddrs): Define macro to freeifaddrs.
14811 * sysdeps/mach/hurd/libhurduser.abilist: New file.
14812 * sysdeps/mach/libmachuser.abilist: New file.
14813 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
14814 (do_test_bz20181): Rename accordingly.
14815 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
14816 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
14818 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
14819 version only if __USE_EXTERN_INLINES is defined.
14820 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
14821 __hurd_sockfail): Likewise.
14822 (_hurd_fd_get): Always declare functions, and provide inline versions
14823 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
14824 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
14825 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
14826 _hurd_port_set): Always declare functions, and provide inline versions
14827 only if __USE_EXTERN_INLINES and _LIBC are defined and
14829 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
14830 _hurd_critical_section_unlock): Likewise.
14831 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
14832 * __hurd_threadvar_location): Likewise.
14833 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
14834 _hurd_userlink_clear): Likewise.
14835 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
14836 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
14837 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
14838 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
14839 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
14840 __spin_lock_locked): Likewise.
14841 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
14842 __spin_lock_locked): Likewise.
14843 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
14844 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
14845 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
14846 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
14847 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
14848 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
14849 _POSIX_NO_TRUNC): Define to 0.
14850 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
14851 check size against PTHREAD_STACK_MIN.
14852 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
14853 IS_IN(libpthread)]: Include <sigsetops.h>.
14854 * mach/Makefile (user-interfaces): Add mach/gnumach.
14855 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
14856 * sysdeps/mach/configure (mach_interface_list): Regenerate.
14857 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
14858 instead of invalid -1.
14859 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
14860 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
14861 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
14864 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
14866 * hurd/fcntl-internal.h: New file.
14868 2018-01-27 James Clarke <jrtc27@jrtc27.com>
14870 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14872 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14874 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
14877 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
14878 Build only shared objects.
14880 2018-01-26 Carlos O'Donell <carlos@redhat.com>
14882 * README: Update for hppa.
14884 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14886 * sysdeps/sparc/fpu/libm-test-ulps: Update
14887 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
14889 2018-01-26 Carlos O'Donell <carlos@redhat.com>
14893 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14896 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14897 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14898 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14899 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14902 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14905 * bits/types/__cancel_jmp_buf_tag.h: New file.
14906 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14907 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14908 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14909 * nptl/Makefile (headers): Add
14910 bits/types/__cancel_jmp_buf_tag.h.
14911 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14912 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14913 * sysdeps/nptl/pthread.h: Include
14914 <bits/types/__cancel_jmp_buf_tag.h>.
14915 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14917 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14919 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14922 * localedata/locales/uk_UA (mon): Renamed to...
14924 (alt_digits): "0" removed and then renamed to...
14926 (date_fmt): Definition changed not to use the alternative
14929 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
14931 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
14932 FLAG_RISCV_FLOAT_ABI_DOUBLE.
14933 * elf/elf.h (EF_RISCV_RVC): New define.
14934 (EF_RISCV_FLOAT_ABI): Likewise.
14935 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
14936 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
14937 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14938 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
14939 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
14941 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14943 2018-01-25 Andreas Schwab <schwab@suse.de>
14945 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
14947 * sysdeps/gnu/configure: Regenerate.
14948 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14949 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14951 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14952 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14953 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
14954 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14955 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14957 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14959 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
14960 URL, and run autoconf, make it the default for now.
14962 2018-01-24 Joseph Myers <joseph@codesourcery.com>
14964 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14965 soft-float ColdFire configuration.
14967 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
14968 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
14969 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
14971 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
14974 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
14976 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
14978 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
14981 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
14982 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
14983 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
14986 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
14989 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
14990 Rename to __reserved and add comment.
14991 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
14992 Rename to __reserved.
14994 2018-01-24 Joseph Myers <joseph@codesourcery.com>
14996 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14997 i686-gnu configurations.
14998 (Context.run_builds): Include mig, gnumach and hurd in components
15000 (Context.checkout): Add mig, gnumach and hurd to components.
15001 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15003 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15004 (Config.build): Install gnumach headers, build mig and install
15005 hurd headers for 'gnu' OS.
15006 (Config.install_gnumach_headers): New function.
15007 (Config.install_hurd_headers): Likewise.
15008 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15009 when building for 'gnu' OS.
15011 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15013 * manual/tunables.texi (Hardware Capability Tunables): Fix
15016 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15018 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15019 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15020 (ALTMON_11, ALTMON_12): Improve documentation.
15021 * manual/time.texi (strftime): Likewise.
15023 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15026 * localedata/locales/pl_PL: Alternative month names added,
15027 primary month names are genitive now.
15028 * time/tst-strptime.c (day_tests): Actually use a genitive case
15029 of a month name in Polish language.
15031 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15034 * manual/locale.texi: Document ALTMON_1..12 constants for
15035 nl_langinfo. Specify when to use ALTMON instead of MON.
15036 * manual/time.texi (strftime, strptime): Document GNU extension
15037 permitting O modifier with %B and %b. Specify when to use
15040 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15043 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15044 names, define them as the same as abbreviated month names explicitly.
15045 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15046 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15047 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15048 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15049 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15050 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15051 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15052 _NL_WABALTMON_12): New enum constants.
15053 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15054 wab_alt_mon, and ab_alt_mon_defined members.
15055 (time_output): Output ab_alt_mon and wab_alt_mon members.
15056 (time_read): Read them, initialize them as copies of abmon and wabmon
15057 respectively if they are missing, initialize ab_alt_mon_defined.
15058 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15059 * locale/programs/locfile-kw.h: Regenerate.
15060 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15061 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15063 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15064 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15065 (__strftime_internal): Handle %Ob and %Oh formats.
15066 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15067 (__strptime_internal): Handle %Ob and %Oh formats.
15068 * time/tst-strptime.c (day_tests): Add more tests to parse different
15069 forms of month names including the new %Ob format specifier.
15071 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15074 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
15075 define them as the same as primary full month names explicitly.
15076 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
15077 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
15078 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
15079 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
15080 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
15081 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
15082 _NL_WALTMON_12): New enum constants.
15083 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
15084 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
15086 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
15087 walt_mon, and alt_mon_defined members.
15088 (time_output): Output alt_mon and walt_mon members.
15089 (time_read): Read them, initialize them as copies of mon and wmon
15090 respectively if they are missing, initialize alt_mon_defined.
15091 * locale/programs/locfile-kw.gperf (alt_mon): Define.
15092 * locale/programs/locfile-kw.h: Regenerate.
15093 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
15094 * localedata/tst-langinfo.c (map): Add tests for the new constants
15095 ALTMON_1 .. ALTMON_12.
15096 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
15098 * time/strftime_l.c (f_altmonth): New macro.
15099 (__strftime_internal): Handle %OB format.
15100 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
15101 (__strptime_internal): Handle %OB format.
15102 * time/tst-strptime.c (day_tests): Add tests to parse different forms
15103 of month names including the new %OB format specifier.
15105 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15108 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
15109 from ABORT_TRANSACTION.
15110 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
15111 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
15112 ABORT_TRANSACTION_IMPL): Likewise.
15113 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
15114 Linux code, but remove the code that aborts transactions.
15116 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15118 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
15120 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15122 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
15123 in date: "2004-14-09" should be "2004-09-14".
15124 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
15125 "2003-15-09" should be "2003-09-15".
15127 2018-01-18 Arjun Shankar <arjun@redhat.com>
15133 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
15135 (_int_memalign): check for integer overflow before calling
15137 * malloc/tst-malloc-too-large.c: New test.
15138 * malloc/Makefile: Add tst-malloc-too-large.
15140 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
15142 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
15143 in date: "2017-24-07" should be "2017-07-24".
15144 * localedata/locales/mai_IN: Likewise.
15145 * localedata/locales/mai_NP: Likewise.
15147 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
15149 * po/ru.po: Update translations.
15151 2018-01-17 Joseph Myers <joseph@codesourcery.com>
15154 * sysdeps/hppa/backtrace.c: New file.
15156 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
15159 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
15160 align La_x86_64_retval to VEC_SIZE.
15162 2018-01-16 Joseph Myers <joseph@codesourcery.com>
15164 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
15165 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
15167 2018-01-16 Florian Weimer <fweimer@redhat.com>
15169 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
15170 Move tst-thread-exit-clobber ...
15171 [$(CXX)] (tests-unsupported): ... to here.
15173 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15175 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
15176 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
15177 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15178 (_dl_aarch64_cap_flags): Update.
15179 (_DL_HWCAP_COUNT): Update.
15181 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15183 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
15184 (_DL_HWCAP_LAST): Remove.
15185 (_DL_HWCAP_COUNT): Move to ...
15186 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15187 (_DL_HWCAP_COUNT): ... here.
15189 2018-01-16 Florian Weimer <fweimer@redhat.com>
15191 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
15192 mode with GNU extensions.
15194 2018-01-15 Alan Hayward <alan.hayward@arm.com>
15196 * elf/elf.h (NT_ARM_SVE): Define.
15198 2018-01-15 Florian Weimer <fweimer@redhat.com>
15201 * nptl/tst-minstack-throw.cc: New file.
15202 * nptl/Makefile (tests): Add tst-minstack-throw.
15203 (LDLIBS-tst-minstack-throw): Link with libstdc++.
15204 [!CXX] (tests-unsupported): Add tst-minstack-throw.
15206 2018-01-15 Joseph Myers <joseph@codesourcery.com>
15208 * scripts/build-many-glibcs.py (Context.checkout): Default
15209 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
15212 2018-01-13 Carlos O'Donell <carlos@redhat.com>
15215 * elf/elf.h (DF_1_STUB): Define.
15216 (DF_1_PIE): Define.
15218 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15221 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
15222 Do not add 0.5 to integer or out-of-range arguments.
15224 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15226 * po/bg.po: Update translations.
15227 * po/cs.po: Likewise.
15228 * po/de.po: Likewise.
15229 * po/ko.po: Likewise.
15230 * po/pl.po: Likewise.
15231 * po/sv.po: Likewise.
15232 * po/uk.po: Likewise.
15233 * po/vi.po: Likewise.
15235 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15237 * aarch64/start.S (_start): Use __wrap_main.
15238 (__wrap_main): New local symbol.
15240 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15244 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
15245 generic_getcwd if the path returned by getcwd syscall is not absolute.
15246 * io/tst-getcwd-abspath.c: New test.
15247 * io/Makefile (tests): Add tst-getcwd-abspath.
15249 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
15251 * malloc/malloc.c (malloc_consolidate): Add size check.
15253 2018-01-12 Florian Weimer <fweimer@redhat.com>
15255 * support/write_message.c (write_message): Preserve errno.
15256 * support/check.c (print_failure): Likewise.
15257 * support/support_test_verify_impl.c (support_test_verify_impl):
15259 * support/support_test_compare_failure.c
15260 (support_test_compare_failure): Likewise.
15262 2018-01-12 Florian Weimer <fweimer@redhat.com>
15265 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
15266 Prevent installation of libnsl.so.
15267 (libnsl-inhibit-o): Do not build (or install) static libraries.
15269 2018-01-12 Egmont Koblinger <egmont@gmail.com>
15272 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
15273 before the day number which may produce a double space.
15274 (date_fmt): Likewise.
15276 2018-01-12 Joseph Myers <joseph@codesourcery.com>
15278 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
15279 instead of fegetenv.
15281 2018-01-11 Joseph Myers <joseph@codesourcery.com>
15284 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
15285 comment to say exceptions are discarded.
15286 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
15288 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
15291 2018-01-11 Florian Weimer <fweimer@redhat.com>
15293 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
15296 2018-01-11 Florian Weimer <fweimer@redhat.com>
15299 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
15300 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
15302 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15305 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
15306 negative arguments in test for NaN or infinity argument.
15308 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
15310 * po/libc.pot: Regenerate.
15312 2018-01-10 Florian Weimer <fweimer@redhat.com>
15315 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
15316 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
15318 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15320 * hurd/hurd/fd.h: Include <fcntl.h>
15321 (__hurd_at_flags): New function.
15322 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
15323 with call to __hurd_at_flags.
15324 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
15325 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
15327 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
15328 (__access_noerrno): Use __faccessat_common instead of access_common.
15329 (__access): Likewise.
15330 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
15331 with a call to __faccessat.
15332 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
15333 (__faccessat_common): ... this. Move implementation of __access into it when
15334 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
15335 reauthenticate_cwdir_at helper to implement AT mechanism.
15336 (__faccessat_noerrno): New function, just calls __faccessat_common.
15337 (__faccessat): New function, just calls __faccessat_common.
15338 (faccessat): Define weak alias.
15340 2018-01-10 Joseph Myers <joseph@codesourcery.com>
15343 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15344 (CFLAGS-s_fmaxmagl.c): New variable.
15345 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
15349 long int for arguments of possibly overflowing addition or
15351 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15353 2018-01-09 Joseph Myers <joseph@codesourcery.com>
15356 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15357 (CFLAGS-e_remainderl.c): New variable.
15360 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
15362 (CFLAGS-s_cacoshl.c): Likewise.
15363 (CFLAGS-s_casinhl.c): Likewise.
15364 (CFLAGS-s_catanl.c): Likewise.
15365 (CFLAGS-s_catanhl.c): Likewise.
15366 (CFLAGS-s_cexpl.c): Likewise.
15367 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
15368 (CFLAGS-s_csinhl.c): Likewise.
15369 (CFLAGS-s_clogl.c): Likewise.
15370 (CFLAGS-s_clog10l.c): Likewise.
15371 (CFLAGS-s_csinl.c): Likewise.
15372 (CFLAGS-s_csqrtl.c): Likewise.
15374 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
15375 2017-01-09 Svante Signell <svante.signell@gmail.com>
15377 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
15378 (_hurd_exec_paths): New function.
15379 * hurd/hurd.h (_hurd_exec): Deprecate function.
15380 (_hurd_exec_paths): Declare function.
15381 * hurd/Versions: Export _hurd_exec_paths.
15382 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
15383 (__execve): Use __getcwd to build absolute path, and use
15384 _hurd_exec_paths instead of _hurd_exec.
15385 * sysdeps/mach/hurd/spawni.c: Likewise.
15386 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
15389 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
15391 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
15392 test instead of failing in case of ENOENT returned by posix_openpt.
15394 2018-01-08 Florian Weimer <fweimer@redhat.com>
15396 resolv: Support binary labels in test framework.
15397 * support/resolv_test.c (struct to_be_freed): Remove.
15398 (struct compressed_name): New.
15399 (allocate_compressed_name, ascii_tolower)
15400 (compare_compressed_name): New functions.
15401 (struct resolv_response_builder): Update type of
15402 compression_offsets for use with tsearch. Rempve to_be_freed.
15403 (response_push_pointer_to_free): Remove function.
15404 (resolv_response_add_name): Rewrite using struct compressed_name
15405 and tsearch instead of hsearch_r.
15406 (response_builder_allocate): Remove initialization of
15407 compression_offsets.
15408 (response_builder_free): Update for removal of to_be_freed. Use
15409 tdestroy instead of hdestroy_r.
15410 * resolv/Makefile (tests): Add tst-resolv-binary.
15411 (tst-resolv-binary): Link with -lresolv -lpthread.
15413 2018-01-08 Florian Weimer <fweimer@redhat.com>
15415 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
15416 time. Pass positive flag instead of negative flag to
15417 support_test_compare_failure.
15418 (support_test_compare_failure): Change negative parameter to
15420 * support/support_test_compare_failure.c (report)
15421 (support_test_compare_failure): Likewise.
15422 * support/tst-test_compare.c (return_ssize_t, return_int): New.
15423 (do_test): Check int/size_t, ssize_t/size_t comparisons.
15425 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
15428 * nptl/descr.h (stackblock, stackblock_size): Update comments.
15429 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
15430 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
15432 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15434 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
15436 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15437 Add s_sincosf-sse2 and s_sincosf-fma.
15438 (CFLAGS-s_sincosf-fma.c): New.
15439 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
15440 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
15441 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
15442 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
15443 __sincosf is defined.
15445 2018-01-08 Florian Weimer <fweimer@redhat.com>
15447 * nptl/tst-thread-exit-clobber.cc: New file.
15448 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
15450 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
15451 (tests): Add tst-thread-exit-clobber.
15452 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
15454 2018-01-08 Florian Weimer <fweimer@redhat.com>
15456 * support/check.h (support_static_assert): Define.
15457 (TEST_COMPARE): Use it.
15459 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
15461 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
15462 [!__RLIM_T_MATCHES_RLIM64_T]
15463 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
15464 __getrlimit64. Add libc_hidden_weak.
15466 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
15468 * elf/elf.h (R_RISCV_NONE): New define.
15469 (R_RISCV_32): Likewise.
15470 (R_RISCV_64): Likewise.
15471 (R_RISCV_RELATIVE): Likewise.
15472 (R_RISCV_COPY): Likewise.
15473 (R_RISCV_JUMP_SLOT): Likewise.
15474 (R_RISCV_TLS_DTPMOD32): Likewise.
15475 (R_RISCV_TLS_DTPMOD64): Likewise.
15476 (R_RISCV_TLS_DTPREL32): Likewise.
15477 (R_RISCV_TLS_DTPREL64): Likewise.
15478 (R_RISCV_TLS_TPREL32): Likewise.
15479 (R_RISCV_TLS_TPREL64): Likewise.
15480 * Makerules (make-link-multidir): Make directories before linking into
15482 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
15484 (VDSO_HASH_LINUX_4_15): Likewise.
15485 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
15486 in subdirectories of lib.
15487 * nptl/Makefile (/librt.so): Always depend on
15488 "$(shared-thread-library)".
15490 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15492 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
15493 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
15494 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
15496 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
15497 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
15499 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
15500 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
15501 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
15502 * sysdeps/gnu/glob-lstat-compat.c: New file.
15503 * sysdeps/gnu/glob64-lstat-compat.c: New file.
15504 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
15506 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15508 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
15509 Reserve 16 chars to reloc_addr before calling _itoa_word.
15511 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15514 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
15515 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
15517 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
15518 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
15520 * resource/tst-getrlimit.c: Add copyright header.
15522 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15523 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15525 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15526 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
15527 Define __GI_getrlimit64 as weak alias of __getrlimit64.
15528 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
15530 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15531 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
15532 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
15533 RLIM64_INFINITY): Fix values to match the kernel ones.
15534 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
15535 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
15536 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
15537 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
15538 getrlimit64@@GLIBC_2_27.
15539 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
15541 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
15542 getrlimit, setrlimit, getrlimit64 and setrlimit64.
15543 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
15544 setrlimit, getrlimit64 and setrlimit64.
15546 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15549 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
15550 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
15552 2018-01-04 Joseph Myers <joseph@codesourcery.com>
15554 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
15555 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
15556 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
15558 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15562 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
15563 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
15567 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
15568 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
15569 * sysdeps/alpha/fpu/s_floor.c: Likewise.
15570 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
15572 2018-01-04 Florian Weimer <fweimer@redhat.com>
15575 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15576 Align the stack before calling exit.
15577 * stdlib/tst-makecontext-align.c: New file.
15578 * stdlib/Makefile (tests): Add tst-makecontext-align.
15580 2018-01-04 Florian Weimer <fweimer@redhat.com>
15582 Add support for calling dlvsym from libc.so.
15583 * include/dlfcn.h (__libc_dlvsym): Declare.
15584 * elf/Makefile (tests-static-internal): Add
15585 tst-libc_dlvsym-static.
15586 (tests-internal): Add tst-libc_dlvsym.
15587 (modules-names): Add tst-libc_dlvsym-dso.
15588 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
15589 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
15590 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
15591 object tst-libc_dlvsym-dso.so needs to be built before running
15593 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
15594 * elf/Versions: Export __libc_dlvsym.
15595 * elf/dl-libc.c (struct do_dlvsym_args): New.
15596 (do_dlvsym, __libc_dlvsym): New functions.
15597 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
15598 (_dl_open_hook2): New variable.
15599 (__libc_register_dl_open_hook): Set it.
15600 * elf/tst-libc_dlvsym-dso.c: New file.
15601 * elf/tst-libc_dlvsym-static.c: Likewise.
15602 * elf/tst-libc_dlvsym.c: Likewise.
15603 * elf/tst-libc_dlvsym.h: Likewise.
15605 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15607 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
15608 include <sys/mount.h>.
15610 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
15612 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
15613 Add __NO_MATH_ERRNO__ check.
15615 2018-01-02 Joseph Myers <joseph@codesourcery.com>
15617 * sysdeps/mips/mips32/libm-test-ulps: Update.
15618 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15620 2018-01-02 Florian Weimer <fweimer@redhat.com>
15622 * misc/tst-pselect.c: Add copyright header.
15624 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
15626 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
15628 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
15630 (settrlimit): Rename into setrlimit.
15631 (__sttrlimit): Rename into __setrlimit.
15633 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
15634 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
15635 never defined in that case.
15637 2018-01-02 Joseph Myers <joseph@codesourcery.com>
15639 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
15641 * sysdeps/arm/libm-test-ulps: Update.
15643 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
15644 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
15646 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15648 * NEWS: Add cosf and sincosf to list of optimized functions.
15650 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
15653 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
15654 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
15655 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
15656 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
15658 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
15661 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
15663 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
15664 making a copy of it.
15666 2018-01-01 Joseph Myers <joseph@codesourcery.com>
15668 * manual/texinfo.tex: Update to version 2017-12-26.21 with
15669 trailing whitespace removed.
15670 * scripts/config.guess: Update to version 2018-01-01.
15671 * scripts/config.sub: Update to version 2018-01-01.
15672 * scripts/move-if-change: Update from gnulib.
15674 * NEWS: Update copyright dates.
15675 * catgets/gencat.c (print_version): Likewise.
15676 * csu/version.c (banner): Likewise.
15677 * debug/catchsegv.sh: Likewise.
15678 * debug/pcprofiledump.c (print_version): Likewise.
15679 * debug/xtrace.sh (do_version): Likewise.
15680 * elf/ldconfig.c (print_version): Likewise.
15681 * elf/ldd.bash.in: Likewise.
15682 * elf/pldd.c (print_version): Likewise.
15683 * elf/sotruss.sh: Likewise.
15684 * elf/sprof.c (print_version): Likewise.
15685 * iconv/iconv_prog.c (print_version): Likewise.
15686 * iconv/iconvconfig.c (print_version): Likewise.
15687 * locale/programs/locale.c (print_version): Likewise.
15688 * locale/programs/localedef.c (print_version): Likewise.
15689 * login/programs/pt_chown.c (print_version): Likewise.
15690 * malloc/memusage.sh (do_version): Likewise.
15691 * malloc/memusagestat.c (print_version): Likewise.
15692 * malloc/mtrace.pl: Likewise.
15693 * manual/libc.texinfo: Likewise.
15694 * nptl/version.c (banner): Likewise.
15695 * nscd/nscd.c (print_version): Likewise.
15696 * nss/getent.c (print_version): Likewise.
15697 * nss/makedb.c (print_version): Likewise.
15698 * posix/getconf.c (main): Likewise.
15699 * scripts/test-installation.pl: Likewise.
15700 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15702 * All files with FSF copyright notices: Update copyright dates
15703 using scripts/update-copyrights.
15704 * locale/programs/charmap-kw.h: Regenerated.
15705 * locale/programs/locfile-kw.h: Likewise.
15707 2017-12-31 Zack Weinberg <zackw@panix.com>
15709 * libio/bits/libio-ldbl.h: Correct check for improper
15710 inclusion. Add own multiple include guard.
15712 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
15713 Dmitry V. Levin <ldv@altlinux.org>
15717 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
15718 string token expansion. Check for NULL pointer or empty string possibly
15719 returned by expand_dynamic_string_token.
15720 (decompose_rpath): Check for empty path after dynamic string
15723 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
15726 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
15728 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
15729 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
15730 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
15731 and PTRACE_SYSCALL.
15732 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
15733 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15734 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15735 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15736 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15737 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
15739 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
15740 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
15741 __ptrace_peeksiginfo_flags, ptrace): Move to ...
15742 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
15743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15744 bits/ptrace-shared.h.
15745 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
15746 <bits/ptrace-shared.h>.
15747 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
15748 __ptrace_peeksiginfo_flags, ptrace): Remove.
15749 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15750 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15751 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15752 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15753 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
15755 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
15758 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
15759 end of the loop. Improve comments.
15761 2017-12-29 Zack Weinberg <zackw@panix.com>
15764 * manual/errno.texi (Checking for Errors): Explicitly say that errno
15765 might be set on success.
15767 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
15770 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
15771 is unchanged on success.
15773 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
15775 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
15777 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
15778 expand_dynamic_string_token): Likewise.
15779 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
15782 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
15785 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
15786 is set and name contains ':', and all code depending on these checks.
15788 2017-12-24 Zack Weinberg <zackw@panix.com>
15790 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
15791 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
15793 * libio/libio.h: Rename the original version of this file to
15794 libio/bits/libio.h. Error out if not included by stdio.h or the
15796 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
15797 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
15798 if not included by bits/libio.h or the stub _G_config.h.
15799 * sysdeps/unix/sysv/linux/_G_config.h: Move to
15800 sysdeps/unix/sysv/linux/bits. Error out if not included by
15801 bits/libio.h or the stub _G_config.h.
15802 * libio/stdio.h: Include bits/libio.h, not libio.h.
15803 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
15804 well as libio.h and _G_config.h.
15806 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
15807 * libio/strfile.h, stdio-common/vfscanf.c
15808 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
15809 Include stdio.h, not _G_config.h nor libio.h.
15810 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
15811 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
15813 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
15815 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
15818 * stdlib/getrandom.c (getrandom): Fix comment.
15819 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
15821 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
15824 * manual/arith.texi (strtoul): Fix a typo.
15827 * manual/arith.texi (finite): Fix the description of the return
15830 2017-12-22 Eric Blake <ebb9@byu.net>
15832 Avoid gcc warnings on cygwin
15833 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
15834 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
15835 Avoid unused variable.
15837 2017-12-22 Florian Weimer <fweimer@redhat.com>
15839 * io/Makefile (routines): Add copy_file_range.
15840 (tests): Add tst-copy_file_range.
15841 (tests-static, tests-internal): Add tst-copy_file_range-compat.
15842 * io/Versions (GLIBC_2.27): Export copy_file_range.
15843 * io/copy_file_range-compat.c: New file.
15844 * io/copy_file_range.c: Likewise.
15845 * io/tst-copy_file_range-compat.c: Likewise.
15846 * io/tst-copy_file_range.c: Likewise.
15847 * manual/llio.texi (Copying File Data): New section.
15848 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
15849 * support/Makefile (libsupport-routines): Add support-xfstat,
15850 xftruncate, xlseek.
15851 * support/support-xfstat.c: New file.
15852 * support/xftruncate.c: Likewise.
15853 * support/xlseek.c: Likewise.
15854 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
15855 * sysdeps/unix/sysv/linux/**.abilist: Update.
15856 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
15858 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
15860 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15861 disable-multi-arch variant to aarch64-linux-gnu.
15863 2017-12-20 Joseph Myers <joseph@codesourcery.com>
15865 * manual/texinfo.tex: Update to version 2017-12-18.20 with
15866 trailing whitespace removed.
15867 * scripts/config.guess: Update to version 2017-12-17.
15868 * scripts/config.sub: Update to version 2017-11-23.
15869 * scripts/install-sh: Update to version 2017-09-23.17.
15870 * scripts/move-if-change: Update to version 2017-09-13 06:45.
15872 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15874 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
15875 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15876 * sysdeps/tile/_mcount.S (__mcount): Likewise.
15877 * sysdeps/tile/crti.S (_init, _fini): Likewise.
15878 * sysdeps/tile/crtn.S: Likewise.
15879 * sysdeps/tile/dl-start.S (_start): Likewise.
15880 * sysdeps/tile/dl-trampoline.S: Likewise.
15881 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
15882 * sysdeps/tile/start.S (_start): Likewise.
15883 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
15884 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
15885 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
15886 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
15887 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
15888 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
15889 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
15891 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
15893 * sysdeps/tile/preconfigure: Remove tilegx folder.
15894 * sysdeps/tile/tilegx/Implies: Move definitions to ...
15895 * sysdeps/tile/Implies: ... here.
15896 * sysdeps/tile/tilegx/Makefile: Move rules to ...
15897 * sysdeps/tile/Makefile: ... here.
15898 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
15899 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
15900 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
15901 * sysdeps/tile/bits/wordsize.h: ... here.
15902 * sysdeps/tile/tilegx/*: Move to ...
15903 * sysdeps/tile/*: ... here.
15904 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
15905 * sysdeps/tile/tilegx32/Implies: ... here.
15906 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
15907 * sysdeps/tile/tilegx64/Implies: ... here.
15908 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
15910 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15911 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
15912 * sysdeps/unix/sysv/linux/tile/*: ... here.
15913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
15914 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
15915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
15916 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
15918 * README: Remove tilepro-*-linux-gnu from supported architecture.
15919 * scripts/build-many-glibcs.py: Likewise.
15920 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15921 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
15922 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
15923 elf_machine_matches_host, elf_machine_dynamic,
15924 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
15925 howto, elf_machine_rela): Likewise.
15926 * sysdeps/tile/dl-start.S (_start): Likewise.
15927 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
15928 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
15929 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
15930 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
15931 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
15932 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15934 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
15935 * sysdeps/tile/preconfigure: Likewise.
15936 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
15937 POINTER_CHK_GUARD): Likewise.
15938 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
15939 * sysdeps/tile/start.S (_start): Likewise.
15940 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
15942 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
15943 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
15945 * sysdeps/unix/sysv/linux/tile/bits/environments.h
15946 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
15947 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
15949 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
15950 * sysdeps/tile/tilepro/Implies: Remove file.
15951 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
15952 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15953 * sysdeps/tile/tilepro/memchr.c: Likewise.
15954 * sysdeps/tile/tilepro/memcpy.S: Likewise.
15955 * sysdeps/tile/tilepro/memset.c: Likewise.
15956 * sysdeps/tile/tilepro/memusage.h: Likewise.
15957 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
15958 * sysdeps/tile/tilepro/strchr.c: Likewise.
15959 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
15960 * sysdeps/tile/tilepro/strlen.c: Likewise.
15961 * sysdeps/tile/tilepro/strrchr.c: Likewise.
15962 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
15963 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
15964 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
15965 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
15967 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15969 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15974 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
15981 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
15982 tilepro mention in comment.
15984 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
15985 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
15986 * nptl/pthread_join_common.c: New file: common function used on
15987 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
15988 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
15989 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
15990 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15991 (cleanup): Move definition to pthread_join_common.c.
15992 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
15993 Remove superflous checks.
15994 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
15997 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
15999 * sysdeps/aarch64/libm-test-ulps: Update.
16001 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16003 * sysdeps/aarch64/memset.S (MEMSET): Define.
16005 2017-12-20 Florian Weimer <fweimer@redhat.com>
16008 nptl: Provide full implementation of pthread_self in libc.so.
16009 * nptl/Makefile (routines): Add pthread_self.
16010 (libpthread-routines): Replace pthread_self with
16011 compat-pthread_self.
16012 * nptl/forward.c (pthread_self): Remove.
16013 * nptl/nptl-init.c (pthread_functions): Do not initialize
16015 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16016 * nptl/compat-pthread_self.c: New file.
16017 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16018 Remove ptr_pthread_self.
16020 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16022 * posix/regcomp.c: Fix spelling in comments.
16023 * posix/regex.h: Likewise.
16024 * posix/regex_internal.c: Likewise.
16025 * posix/regexec.c: Likewise.
16027 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16030 * math/Makefile [C++] (tests): Add test for iseqsig.
16031 * math/math.h [C++] (iseqsig): New implementation, which does
16032 not rely on __MATH_TG/__builtin_types_compatible_p.
16033 * math/test-math-iseqsig.cc: New file.
16034 * sysdeps/powerpc/powerpc64le/Makefile
16035 (CFLAGS-test-math-iseqsig.cc): New variable.
16037 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16039 * elf/dl-load.c (is_trusted_path): Remove.
16040 (fillin_rpath): Remove check_trusted argument and its use,
16041 all callers changed.
16043 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16046 * Makeconfig (link-pie-before-libc): Replace -pie with
16047 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16048 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16049 (tst-dlopen-aout-no-pie): New.
16050 (LDFLAGS-tst-prelink): Removed.
16051 (tst-prelink-no-pie): New.
16052 (LDFLAGS-tst-main1): Removed.
16053 (tst-main1-no-pie): New.
16054 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16055 (tst-gmon-no-pie): New.
16057 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16059 * manual/install.texi: Document that --enable-static-pie
16061 * INSTALL: Regenerated.
16063 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16066 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
16069 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16073 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16077 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16079 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16080 <errno.h>. Include "eexp.tbl".
16081 (half): New constant.
16083 (__ieee754_exp): Rewrite.
16084 (__slowexp): Remove prototype.
16085 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16086 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16087 * sysdeps/i386/fpu/slowexp.c: Likewise.
16088 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16089 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16090 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16091 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16093 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16094 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16096 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16097 (CPPFLAGS-slowexp.c): Remove variable.
16098 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16099 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16100 (CFLAGS-slowexp-fma.c): Remove variable.
16101 (CFLAGS-slowexp-fma4.c): Likewise.
16102 (CFLAGS-slowexp-avx.c): Likewise.
16103 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16105 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16106 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16107 * math/Makefile (type-double-routines): Remove slowexp.
16108 * manual/probes.texi (slowexp_p6): Remove.
16109 (slowexp_p32): Likewise.
16111 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16113 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
16116 * lib/glob.c (glob): Do not pass NULL to mempcpy.
16118 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16122 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16124 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16125 <errno.h>. Include "eexp.tbl".
16126 (half): New constant.
16128 (__ieee754_exp): Rewrite.
16129 (__slowexp): Remove prototype.
16130 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16131 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16132 * sysdeps/i386/fpu/slowexp.c: Likewise.
16133 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16134 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16135 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16136 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16137 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16138 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16139 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16141 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16142 (CPPFLAGS-slowexp.c): Remove variable.
16143 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16144 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16145 (CFLAGS-slowexp-fma.c): Remove variable.
16146 (CFLAGS-slowexp-fma4.c): Likewise.
16147 (CFLAGS-slowexp-avx.c): Likewise.
16148 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16150 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16151 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16152 * math/Makefile (type-double-routines): Remove slowexp.
16153 * manual/probes.texi (slowexp_p6): Remove.
16154 (slowexp_p32): Likewise.
16156 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16157 James Clarke <jrtc27@jrtc27.com>
16160 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
16163 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16166 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
16169 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16172 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16173 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16174 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16175 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16178 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16181 * bits/types/__cancel_jmp_buf_tag.h: New file.
16182 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16183 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16184 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16185 * nptl/Makefile (headers): Add
16186 bits/types/__cancel_jmp_buf_tag.h.
16187 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16188 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16189 * sysdeps/nptl/pthread.h: Include
16190 <bits/types/__cancel_jmp_buf_tag.h>.
16191 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16193 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16195 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16197 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16198 --enable-static-pie variants to x86_64, x32 and i686.
16200 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16203 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
16204 argument for attrubutes. All callers changed.
16205 (__inline_mathop1): Likewise. All callers changed.
16206 (__inline_mathop): Likewise. All callers changed.
16207 [__USE_MISC] (scalbn): Use __inline_forward instead of
16208 __inline_forward_c.
16209 [__USE_ISOC99] (scalbln): Likewise.
16210 [__USE_ISOC99] (nearbyint): Likewise.
16211 [__USE_ISOC99] (lrint): Likewise.
16212 [__USE_MISC] (scalbnf): Likewise.
16213 [__USE_ISOC99] (scalblnf): Likewise.
16214 [__USE_ISOC99] (nearbyintf): Likewise.
16215 [__USE_ISOC99] (lrintf): Likewise.
16216 [__USE_MISC] (scalbnl): Likewise.
16217 [__USE_ISOC99] (scalblnl): Likewise.
16218 [__USE_ISOC99] (nearbyintl): Likewise.
16219 [__USE_ISOC99] (lrintl): Likewise.
16220 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
16221 __inline_mathop and __m81_defun changed.
16223 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
16224 CPU or FPU for ARM hard-float configurations.
16226 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16228 * nptl/tst-attr3.c: Include <libc-diag.h>.
16229 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
16231 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
16233 * string/tester.c (test_strncat): Also disable -Warray-bounds
16234 warnings for two tests.
16236 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16239 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
16240 $(cc-pie-default) == yes.
16241 * config.make.in (cc-pie-default): New.
16242 * configure.ac (libc_cv_pie_default): Renamed to ...
16243 (libc_cv_cc_pie_default): This.
16244 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
16245 * configure: Regenerated.
16247 2017-12-18 Florian Weimer <fweimer@redhat.com>
16250 ld.so: Harden dl-libc/libdl hooks.
16251 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
16252 (rtld_active): New function.
16253 * dlfcn/dladdr.c (__dladdr): Call it.
16254 * dlfcn/dladdr1.c (__dladdr1): Likewise.
16255 * dlfcn/dlclose.c (__dlcose): Likewise.
16256 * dlfcn/dlerror.c (__dlerror): Likewise.
16257 * dlfcn/dlinfo.c (__dlinfo): Likewise.
16258 * dlfcn/dlmopen.c (__dlmopen): Likewise.
16259 * dlfcn/dlopen.c (__dlopen): Likewise.
16260 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16261 * dlfcn/dlsym.c (__dlsym): Likewise.
16262 * dlfcn/dlvsym.c (__dlvsym): Likewise.
16263 * libio/vtables.c (_IO_vtable_check): Likewise.
16264 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
16265 (__libc_dlclose): Likewise.
16266 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
16269 2017-12-18 Joseph Myers <joseph@codesourcery.com>
16272 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
16273 buffers for readlink input and output.
16275 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
16278 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
16279 inhibit_stack_protector.
16282 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
16283 inhibit_stack_protector.
16285 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
16288 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
16289 code and invocation.
16291 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16293 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
16295 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
16298 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
16300 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16302 * sysdeps/s390/fpu/libm-test-ulps: Update.
16304 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16308 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16310 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
16311 constants to s_sincosf.h file.
16312 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16313 * sysdeps/ieee754/flt-32/s_sincosf.c: New
16315 * sysdeps/ieee754/flt-32/s_sincosf.h:
16318 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16321 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
16324 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
16327 * INSTALL: Regenerated.
16328 * Makeconfig (real-static-start-installed-name): New.
16329 (pic-default): Updated for --enable-static-pie.
16330 (pie-default): New for --enable-static-pie.
16331 (default-pie-ldflag): Likewise.
16332 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16333 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
16334 Replace $(static-start-installed-name) with
16335 $(real-static-start-installed-name).
16336 (+prectorT): Updated for --enable-static-pie.
16337 (+postctorT): Likewise.
16338 (CFLAGS-.o): Add $(pie-default).
16339 (CFLAGS-.op): Likewise.
16340 * NEWS: Mention --enable-static-pie.
16341 * config.h.in (ENABLE_STATIC_PIE): New.
16342 * configure.ac (--enable-static-pie): New configure option.
16343 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
16344 (have-static-pie): Likewise.
16345 Enable static PIE if linker supports --no-dynamic-linker.
16346 (ENABLE_STATIC_PIE): New AC_DEFINE.
16347 (enable-static-pie): New LIBC_CONFIG_VAR.
16348 * configure: Regenerated.
16349 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
16350 gr$(start-installed-name) for --enable-static-pie.
16351 (extra-objs): Likewise.
16352 (install-lib): Likewise.
16353 (extra-objs): Add static-reloc.o and static-reloc.os
16354 ($(objpfx)$(start-installed-name)): Also depend on
16355 $(objpfx)static-reloc.o.
16356 ($(objpfx)r$(start-installed-name)): New.
16357 ($(objpfx)g$(start-installed-name)): Also depend on
16358 $(objpfx)static-reloc.os.
16359 ($(objpfx)gr$(start-installed-name)): New.
16360 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
16362 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
16364 * csu/static-reloc.c: New file.
16365 * elf/Makefile (routines): Add dl-reloc-static-pie.
16366 (elide-routines.os): Likewise.
16367 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
16368 (tst-tls1-static-non-pie-no-pie): New.
16369 * elf/dl-reloc-static-pie.c: New file.
16370 * elf/dl-support.c (_dl_get_dl_main_map): New function.
16371 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
16372 STATIC_PIE_BOOTSTRAP.
16373 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16374 * gmon/Makefile (tests): Add tst-gmon-static-pie.
16375 (tests-static): Likewise.
16376 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
16377 (tst-gmon-static-no-pie): New.
16378 (CFLAGS-tst-gmon-static-pie.c): Likewise.
16379 (CRT-tst-gmon-static-pie): Likewise.
16380 (tst-gmon-static-pie-ENV): Likewise.
16381 (tests-special): Likewise.
16382 ($(objpfx)tst-gmon-static-pie.out): Likewise.
16383 (clean-tst-gmon-static-pie-data): Likewise.
16384 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
16385 * gmon/tst-gmon-static-pie.c: New file.
16386 * manual/install.texi: Document --enable-static-pie.
16387 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
16388 (_dl_get_dl_main_map): Likewise.
16389 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
16390 * sysdeps/x86_64/configure.ac: Likewise.
16391 * sysdeps/i386/configure: Regenerated.
16392 * sysdeps/x86_64/configure: Likewise.
16393 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
16394 (ASFLAGS-.op): Likewise.
16396 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16398 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
16399 * posix/tst-mmap-offset.c (fname): Use /tmp.
16400 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
16402 2017-12-15 Steve Ellcey <sellcey@cavium.com>
16404 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
16406 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
16408 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
16411 2017-12-15 Joseph Myers <joseph@codesourcery.com>
16413 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16414 --with-float=hard for arm-linux-gnueabihf configurations.
16417 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
16418 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
16419 ($(mo-installed)): Use $(objpfx)%.mo.
16420 (realclean): Remove rule.
16422 * po/Makefile (linguas): Remove rule and dependencies.
16423 (linguas.mo): Likewise.
16424 (.PHONY): Do not depend on linguas and linguas.mo.
16425 (podir): Remove variable.
16426 (pofiles): Likewise.
16427 [$(pofiles)] (%.po): Remove rule.
16429 * sysdeps/sparc/sparc32/Makefile
16430 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
16431 start-of-line whitespace in argument of echo.
16432 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
16433 with whitespace. Generate __wrap_.udiv alias.
16434 * sysdeps/sparc/sparc32/rem.S: Regenerated.
16435 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16436 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16437 * sysdeps/sparc/sparc32/urem.S: Likewise.
16439 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16441 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
16442 for aligned inputs.
16444 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16446 * benchtests/bench-strcmp.c: Print output in JSON format.
16448 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
16450 2017-12-14 Florian Weimer <fweimer@redhat.com>
16454 * elf/dl-load.c (_dl_init_paths): Compute number of components in
16455 the expanded path string.
16457 2017-12-14 Florian Weimer <fweimer@redhat.com>
16461 * elf/dl-load.c (system_dirs): Update comment.
16462 (nsystem_dirs_len): Use array_length.
16463 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
16465 2017-12-14 Florian Weimer <fweimer@redhat.com>
16467 Simplify compiling most of support/ outside of glibc.
16468 * support/check_addrinfo.c: Include <string.h>.
16469 * support/check_dns_packet.c: Likewise.
16470 * support/check_hostent.c: Likewise.
16471 * support/support_can_chroot.c: Include <support/xunistd.h>.
16472 * support/support_format_addrinfo.c: Include <stdlib.h>
16473 * support/support_format_dns_packet.c: Include <stdbool.h>.
16474 * support/support_format_hostent.c: Include <stdlib.h>.
16475 * support/support_format_netent.c: Likewise.
16476 * support/support_write_string.c: Include <support/xunistd.h>.
16477 * support/xdlfcn.c: Include <stddef.h>.
16479 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
16481 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
16483 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16484 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16486 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16487 (sysdeps_routines): Add memset-niagara7.
16488 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
16490 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
16492 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
16493 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16494 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
16495 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
16496 Add niagara7 option.
16497 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
16500 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16501 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
16502 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
16504 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
16506 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
16507 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
16508 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16509 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
16510 and __memmove_niagara7.
16511 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
16512 Add niagara7 option.
16513 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
16514 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
16515 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
16516 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
16517 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
16519 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
16521 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
16522 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
16523 * sysdeps/sparc/sparc64/memmove.S: Likewise.
16524 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
16526 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
16527 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
16528 _dl_sparc_cap_flags array.
16529 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
16531 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16533 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
16534 time whenever possible.
16536 2017-12-12 Carlos O'Donell <carlos@redhat.com>
16538 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
16539 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
16541 2017-12-12 Joseph Myers <joseph@codesourcery.com>
16543 * soft-fp/fmadf4.c: Move to ....
16544 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
16545 * soft-fp/fmasf4.c: Move to ....
16546 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
16547 * soft-fp/fmatf4.c: Move to ....
16548 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
16549 * sysdeps/ieee754/soft-fp/Makefile: New file.
16550 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
16551 * sysdeps/arm/preconfigure: Regenerated.
16552 * sysdeps/arm/nofpu/Implies: New file.
16553 * sysdeps/arm/s_fma.c: Remove file.
16554 * sysdeps/arm/s_fmaf.c: Likewise.
16555 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
16556 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
16557 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16558 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
16559 * sysdeps/microblaze/s_fma.c: Remove file.
16560 * sysdeps/microblaze/s_fmaf.c: Likewise.
16561 * sysdeps/mips/mips32/nofpu/Implies: New file.
16562 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
16563 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
16564 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
16565 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
16566 * sysdeps/mips/ieee754/s_fma.c: Remove file.
16567 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
16568 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
16570 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
16571 * sysdeps/nios2/s_fma.c: Remove file.
16572 * sysdeps/nios2/s_fmaf.c: Likewise.
16573 * sysdeps/sh/nofpu/Implies: New file.
16574 * sysdeps/sh/s_fma.c: Remove file.
16575 * sysdeps/sh/s_fmaf.c: Likewise.
16576 * sysdeps/tile/Implies: Add ieee754/soft-fp.
16577 * sysdeps/tile/s_fma.c: Remove file.
16578 * sysdeps/tile/s_fmaf.c: Likewise.
16580 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
16582 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16583 Add s_cosf-sse2 and s_cosf-fma.
16584 (CFLAGS-s_cosf-fma.c): New.
16585 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
16586 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
16587 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
16589 2017-12-12 Steve Ellcey <sellcey@cavium.com>
16591 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
16593 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16595 * libio/Makefile (tests): Add tst-bz22415.
16596 (tst-bz22415-ENV): New rule.
16597 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
16598 (tests-special): Add tst-bz22415-mem.out.
16599 ($(objpfx)tst-bz22415-mem.out): New rule.
16600 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
16601 in case of a successful seek operation.
16602 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16603 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
16604 buffer is required.
16605 * libio/tst-bz22415.c: New test.
16607 * sysdeps/ia64/fpu/libm-test-ulps: Update.
16609 2017-12-12 James Clarke <jrtc27@jrtc27.com>
16611 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
16612 __IPC_64 to 0 to avoid IPC_64 being set.
16614 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16617 * math/bits/mathcalls.h (nextafter): Remove const.
16618 (nexttoward): Likewise.
16620 2017-12-12 Joseph Myers <joseph@codesourcery.com>
16622 * configure.ac (--with-fp): Remove configure option.
16623 (with_fp_cond): New variable.
16624 (libc_cv_with_fp): New configure test. Use this variable instead
16626 * configure: Regenerated.
16627 * config.make.in (with-fp): Use @libc_cv_with_fp@.
16628 * manual/install.texi (Configuring and compiling): Remove
16630 * INSTALL: Regenerated.
16631 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
16632 * sysdeps/mips/preconfigure (with_fp_cond): Define.
16633 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
16634 * sysdeps/sh/preconfigure (with_fp_cond): Define.
16635 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
16636 use --without-fp to configure glibc.
16638 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
16640 * manual/locale.texi (nl_langinfo): Fix a typo.
16642 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
16645 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
16647 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
16649 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
16650 (CFLAGS-argp-parse.c): Likewise.
16651 (CFLAGS-argp-fmtstream.c): Likewise.
16652 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
16653 (CPPFLAGS-sha512-crypt.c): Likewise.
16654 (CPPFLAGS-md5-crypt.c): Likewise.
16655 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
16656 (CFLAGS-stack_chk_fail_local.c): Likewise.
16657 (CFLAGS-backtrace.c): Likewise.
16658 (CFLAGS-sprintf_chk.c): Likewise.
16659 (CFLAGS-snprintf_chk.c): Likewise.
16660 (CFLAGS-vsprintf_chk.c): Likewise.
16661 (CFLAGS-vsnprintf_chk.c): Likewise.
16662 (CFLAGS-asprintf_chk.c): Likewise.
16663 (CFLAGS-vasprintf_chk.c): Likewise.
16664 (CFLAGS-obprintf_chk.c): Likewise.
16665 (CFLAGS-dprintf_chk.c): Likewise.
16666 (CFLAGS-vdprintf_chk.c): Likewise.
16667 (CFLAGS-printf_chk.c): Likewise.
16668 (CFLAGS-fprintf_chk.c): Likewise.
16669 (CFLAGS-vprintf_chk.c): Likewise.
16670 (CFLAGS-vfprintf_chk.c): Likewise.
16671 (CFLAGS-gets_chk.c): Likewise.
16672 (CFLAGS-fgets_chk.c): Likewise.
16673 (CFLAGS-fgets_u_chk.c): Likewise.
16674 (CFLAGS-fread_chk.c): Likewise.
16675 (CFLAGS-fread_u_chk.c): Likewise.
16676 (CFLAGS-swprintf_chk.c): Likewise.
16677 (CFLAGS-vswprintf_chk.c): Likewise.
16678 (CFLAGS-wprintf_chk.c): Likewise.
16679 (CFLAGS-fwprintf_chk.c): Likewise.
16680 (CFLAGS-vwprintf_chk.c): Likewise.
16681 (CFLAGS-vfwprintf_chk.c): Likewise.
16682 (CFLAGS-fgetws_chk.c): Likewise.
16683 (CFLAGS-fgetws_u_chk.c): Likewise.
16684 (CFLAGS-read_chk.c): Likewise.
16685 (CFLAGS-pread_chk.c): Likewise.
16686 (CFLAGS-pread64_chk.c): Likewise.
16687 (CFLAGS-recv_chk.c): Likewise.
16688 (CFLAGS-recvfrom_chk.c): Likewise.
16689 (CFLAGS-tst-longjmp_chk.c): Likewise.
16690 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
16691 (CFLAGS-tst-longjmp_chk2.c): Likewise.
16692 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
16693 (CFLAGS-tst-longjmp_chk3.c): Likewise.
16694 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16695 (CFLAGS-tst-chk1.c): Likewise.
16696 (CFLAGS-tst-chk2.c): Likewise.
16697 (CFLAGS-tst-chk3.c): Likewise.
16698 (CFLAGS-tst-chk4.cc): Likewise.
16699 (CFLAGS-tst-chk5.cc): Likewise.
16700 (CFLAGS-tst-chk6.cc): Likewise.
16701 (CFLAGS-tst-lfschk1.c): Likewise.
16702 (CFLAGS-tst-lfschk2.c): Likewise.
16703 (CFLAGS-tst-lfschk3.c): Likewise.
16704 (CFLAGS-tst-lfschk4.cc): Likewise.
16705 (CFLAGS-tst-lfschk5.cc): Likewise.
16706 (CFLAGS-tst-lfschk6.cc): Likewise.
16707 (CFLAGS-tst-ssp-1.c): Likewise.
16708 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
16709 (CFLAGS-scandir64.c): Likewise.
16710 (CFLAGS-scandir-tail.c): Likewise.
16711 (CFLAGS-scandir64-tail.c): Likewise.
16712 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
16713 (CFLAGS-dl-tunables.c): Likewise.
16714 (CFLAGS-dl-runtime.c): Likewise.
16715 (CFLAGS-dl-lookup.c): Likewise.
16716 (CFLAGS-dl-iterate-phdr.c): Likewise.
16717 (CFLAGS-vismain.c): Likewise.
16718 (CFLAGS-tst-linkall-static.c): Likewise.
16719 (CFLAGS-tst-linkall-static.c): Likewise.
16720 (CPPFLAGS-dl-load.c): Likewise.
16721 (CFLAGS-ldconfig.c): Likewise.
16722 (CFLAGS-dl-cache.c): Likewise.
16723 (CFLAGS-cache.c): Likewise.
16724 (CFLAGS-rtld.c): Likewise.
16725 (CFLAGS-multiload.c): Likewise.
16726 (CFLAGS-filtmod1.c): Likewise.
16727 (CFLAGS-tst-align.c): Likewise.
16728 (CFLAGS-tst-align2.c): Likewise.
16729 (CFLAGS-tst-alignmod.c): Likewise.
16730 (CFLAGS-tst-alignmod2.c): Likewise.
16731 (CPPFLAGS-tst-execstack.c): Likewise.
16732 (CFLAGS-tst-ptrguard1-static.c): Likewise.
16733 (CFLAGS-tst-latepthreadmod.c): Likewise.
16734 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
16735 (CFLAGS-getgrnam_r.c): Likewise.
16736 (CFLAGS-getgrent_r.c): Likewise.
16737 (CFLAGS-getgrent.c): Likewise.
16738 (CFLAGS-fgetgrent.c): Likewise.
16739 (CFLAGS-fgetgrent_r.c): Likewise.
16740 (CFLAGS-putgrent.c): Likewise.
16741 (CFLAGS-initgroups.c): Likewise.
16742 (CFLAGS-getgrgid.c): Likewise.
16743 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
16744 (CFLAGS-getsgent.c): Likewise.
16745 (CFLAGS-fgetsgent.c): Likewise.
16746 (CFLAGS-fgetsgent_r.c): Likewise.
16747 (CFLAGS-putsgent.c): Likewise.
16748 (CFLAGS-getsgnam.c): Likewise.
16749 (CFLAGS-getsgnam_r.c): Likewise.
16750 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
16751 (CFLAGS-iconv_charmap.c): Likewise.
16752 (CFLAGS-dummy-repertoire.c): Likewise.
16753 (CFLAGS-charmap.c): Likewise.
16754 (CFLAGS-linereader.c): Likewise.
16755 (CFLAGS-simple-hash.c): Likewise.
16756 (CFLAGS-gconv_conf.c): Likewise.
16757 (CFLAGS-iconvconfig.c): Likewise.
16758 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16759 (CFLAGS-gethstbyad.c): Likewise.
16760 (CFLAGS-gethstbynm_r.c): Likewise.
16761 (CFLAGS-gethstbynm.c): Likewise.
16762 (CFLAGS-gethstbynm2_r.c): Likewise.
16763 (CFLAGS-gethstbynm2.c): Likewise.
16764 (CFLAGS-gethstent_r.c): Likewise.
16765 (CFLAGS-gethstent.c): Likewise.
16766 (CFLAGS-rcmd.c): Likewise.
16767 (CFLAGS-getnetbynm_r.c): Likewise.
16768 (CFLAGS-getnetbynm.c): Likewise.
16769 (CFLAGS-getnetbyad_r.c): Likewise.
16770 (CFLAGS-getnetbyad.c): Likewise.
16771 (CFLAGS-getnetent_r.c): Likewise.
16772 (CFLAGS-getnetent.c): Likewise.
16773 (CFLAGS-getaliasent_r.c): Likewise.
16774 (CFLAGS-getaliasent.c): Likewise.
16775 (CFLAGS-getrpcent_r.c): Likewise.
16776 (CFLAGS-getrpcent.c): Likewise.
16777 (CFLAGS-getservent_r.c): Likewise.
16778 (CFLAGS-getservent.c): Likewise.
16779 (CFLAGS-getprtent_r.c): Likewise.
16780 (CFLAGS-getprtent.c): Likewise.
16781 (CFLAGS-either_ntoh.c): Likewise.
16782 (CFLAGS-either_hton.c): Likewise.
16783 (CFLAGS-getnetgrent.c): Likewise.
16784 (CFLAGS-getnetgrent_r.c): Likewise.
16785 (CFLAGS-tst-checks-posix.c): Likewise.
16786 (CFLAGS-tst-sockaddr.c): Likewise.
16787 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
16788 (CFLAGS-tst-translit.c): Likewise.
16789 (CFLAGS-tst-gettext2.c): Likewise.
16790 (CFLAGS-tst-codeset.c): Likewise.
16791 (CFLAGS-tst-gettext3.c): Likewise.
16792 (CFLAGS-tst-gettext4.c): Likewise.
16793 (CFLAGS-tst-gettext5.c): Likewise.
16794 (CFLAGS-tst-gettext6.c): Likewise.
16795 * io/Makefile (CFLAGS-open.c): Likewise.
16796 (CFLAGS-open64.c): Likewise.
16797 (CFLAGS-creat.c): Likewise.
16798 (CFLAGS-creat64.c): Likewise.
16799 (CFLAGS-fcntl.c): Likewise.
16800 (CFLAGS-poll.c): Likewise.
16801 (CFLAGS-ppoll.c): Likewise.
16802 (CFLAGS-lockf.c): Likewise.
16803 (CFLAGS-statfs.c): Likewise.
16804 (CFLAGS-fstatfs.c): Likewise.
16805 (CFLAGS-statvfs.c): Likewise.
16806 (CFLAGS-fstatvfs.c): Likewise.
16807 (CFLAGS-fts.c): Likewise.
16808 (CFLAGS-fts64.c): Likewise.
16809 (CFLAGS-ftw.c): Likewise.
16810 (CFLAGS-ftw64.c): Likewise.
16811 (CFLAGS-lockf.c): Likewise.
16812 (CFLAGS-posix_fallocate.c): Likewise.
16813 (CFLAGS-posix_fallocate64.c): Likewise.
16814 (CFLAGS-fallocate.c): Likewise.
16815 (CFLAGS-fallocate64.c): Likewise.
16816 (CFLAGS-read.c): Likewise.
16817 (CFLAGS-write.c): Likewise.
16818 (CFLAGS-test-stat.c): Likewise.
16819 (CFLAGS-test-lfs.c): Likewise.
16820 * libio/Makefile (CFLAGS-fileops.c): Likewise.
16821 (CFLAGS-fputc.c): Likewise.
16822 (CFLAGS-fputwc.c): Likewise.
16823 (CFLAGS-freopen64.c): Likewise.
16824 (CFLAGS-freopen.c): Likewise.
16825 (CFLAGS-fseek.c): Likewise.
16826 (CFLAGS-fseeko64.c): Likewise.
16827 (CFLAGS-fseeko.c): Likewise.
16828 (CFLAGS-ftello64.c): Likewise.
16829 (CFLAGS-ftello.c): Likewise.
16830 (CFLAGS-fwide.c): Likewise.
16831 (CFLAGS-genops.c): Likewise.
16832 (CFLAGS-getc.c): Likewise.
16833 (CFLAGS-getchar.c): Likewise.
16834 (CFLAGS-getwc.c): Likewise.
16835 (CFLAGS-getwchar.c): Likewise.
16836 (CFLAGS-iofclose.c): Likewise.
16837 (CFLAGS-iofflush.c): Likewise.
16838 (CFLAGS-iofgetpos64.c): Likewise.
16839 (CFLAGS-iofgetpos.c): Likewise.
16840 (CFLAGS-iofgets.c): Likewise.
16841 (CFLAGS-iofgetws.c): Likewise.
16842 (CFLAGS-iofputs.c): Likewise.
16843 (CFLAGS-iofputws.c): Likewise.
16844 (CFLAGS-iofread.c): Likewise.
16845 (CFLAGS-iofsetpos64.c): Likewise.
16846 (CFLAGS-iofsetpos.c): Likewise.
16847 (CFLAGS-ioftell.c): Likewise.
16848 (CFLAGS-iofwrite.c): Likewise.
16849 (CFLAGS-iogetdelim.c): Likewise.
16850 (CFLAGS-iogetline.c): Likewise.
16851 (CFLAGS-iogets.c): Likewise.
16852 (CFLAGS-iogetwline.c): Likewise.
16853 (CFLAGS-ioputs.c): Likewise.
16854 (CFLAGS-ioseekoff.c): Likewise.
16855 (CFLAGS-ioseekpos.c): Likewise.
16856 (CFLAGS-iosetbuffer.c): Likewise.
16857 (CFLAGS-iosetvbuf.c): Likewise.
16858 (CFLAGS-ioungetc.c): Likewise.
16859 (CFLAGS-ioungetwc.c): Likewise.
16860 (CFLAGS-oldfileops.c): Likewise.
16861 (CFLAGS-oldiofclose.c): Likewise.
16862 (CFLAGS-oldiofgetpos64.c): Likewise.
16863 (CFLAGS-oldiofgetpos.c): Likewise.
16864 (CFLAGS-oldiofsetpos64.c): Likewise.
16865 (CFLAGS-oldiofsetpos.c): Likewise.
16866 (CFLAGS-peekc.c): Likewise.
16867 (CFLAGS-putc.c): Likewise.
16868 (CFLAGS-putchar.c): Likewise.
16869 (CFLAGS-putwc.c): Likewise.
16870 (CFLAGS-putwchar.c): Likewise.
16871 (CFLAGS-rewind.c): Likewise.
16872 (CFLAGS-wfileops.c): Likewise.
16873 (CFLAGS-wgenops.c): Likewise.
16874 (CFLAGS-oldiofopen.c): Likewise.
16875 (CFLAGS-iofopen.c): Likewise.
16876 (CFLAGS-iofopen64.c): Likewise.
16877 (CFLAGS-oldtmpfile.c): Likewise.
16878 (CFLAGS-tst_putwc.c): Likewise.
16879 * locale/Makefile (CFLAGS-md5.c): Likewise.
16880 (CFLAGS-charmap.c): Likewise.
16881 (CFLAGS-locfile.c): Likewise.
16882 (CFLAGS-charmap-dir.c): Likewise.
16883 * login/Makefile (CFLAGS-grantpt.c): Likewise.
16884 (CFLAGS-getpt.c): Likewise.
16885 (CFLAGS-pt_chown.c): Likewise.
16886 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
16887 (CFLAGS-obstack.c): Likewise.
16888 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
16889 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
16890 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
16891 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
16892 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
16893 (CFLAGS-test-tgmath.c): Likewise.
16894 (CFLAGS-test-tgmath2.c): Likewise.
16895 (CFLAGS-test-tgmath-ret.c): Likewise.
16896 (CFLAGS-test-powl.c): Likewise.
16897 (CFLAGS-test-snan.c): Likewise.
16898 (CFLAGS-test-signgam-finite.c): Likewise.
16899 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16900 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16901 (CFLAGS-test-signgam-uchar.c): Likewise.
16902 (CFLAGS-test-signgam-uchar-init.c): Likewise.
16903 (CFLAGS-test-signgam-uchar-static.c): Likewise.
16904 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16905 (CFLAGS-test-signgam-uint.c): Likewise.
16906 (CFLAGS-test-signgam-uint-init.c): Likewise.
16907 (CFLAGS-test-signgam-uint-static.c): Likewise.
16908 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16909 (CFLAGS-test-signgam-ullong.c): Likewise.
16910 (CFLAGS-test-signgam-ullong-init.c): Likewise.
16911 (CFLAGS-test-signgam-ullong-static.c): Likewise.
16912 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16913 (CFLAGS-test-math-cxx11.cc): Likewise.
16914 (CFLAGS-test-math-isinff.cc): Likewise.
16915 (CFLAGS-test-math-iszero.cc): Likewise.
16916 (CFLAGS-test-math-issignaling.cc): Likewise.
16917 (CFLAGS-test-math-iscanonical.cc): Likewise.
16918 (CFLAGS-test-iszero-excess-precision.c): Likewise.
16919 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
16920 (CFLAGS-test-flt-eval-method.c): Likewise.
16921 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
16922 (CFLAGS-test-finite-macros.c): Likewise.
16923 * misc/Makefile (CFLAGS-select.c): Likewise.
16924 (CFLAGS-tsearch.c): Likewise.
16925 (CFLAGS-lsearch.c): Likewise.
16926 (CFLAGS-pselect.c): Likewise.
16927 (CFLAGS-readv.c): Likewise.
16928 (CFLAGS-writev.c): Likewise.
16929 (CFLAGS-preadv.c): Likewise.
16930 (CFLAGS-preadv64.c): Likewise.
16931 (CFLAGS-pwritev.c): Likewise.
16932 (CFLAGS-pwritev64.c): Likewise.
16933 (CFLAGS-preadv2.c): Likewise.
16934 (CFLAGS-preadv64v2.c): Likewise.
16935 (CFLAGS-pwritev2.c): Likewise.
16936 (CFLAGS-pwritev64v2.c): Likewise.
16937 (CFLAGS-usleep.c): Likewise.
16938 (CFLAGS-syslog.c): Likewise.
16939 (CFLAGS-error.c): Likewise.
16940 (CFLAGS-getpass.c): Likewise.
16941 (CFLAGS-mkstemp.c): Likewise.
16942 (CFLAGS-mkstemp64.c): Likewise.
16943 (CFLAGS-getsysstats.c): Likewise.
16944 (CFLAGS-getusershell.c): Likewise.
16945 (CFLAGS-err.c): Likewise.
16946 (CFLAGS-tst-tsearch.c): Likewise.
16947 (CFLAGS-msync.c): Likewise.
16948 (CFLAGS-fdatasync.c): Likewise.
16949 (CFLAGS-fsync.c): Likewise.
16950 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
16951 (CFLAGS-unwind.c): Likewise.
16952 (CFLAGS-unwind-forcedunwind.c): Likewise.
16953 (CFLAGS-pthread_cancel.c): Likewise.
16954 (CFLAGS-pthread_setcancelstate.c): Likewise.
16955 (CFLAGS-pthread_setcanceltype.c): Likewise.
16956 (CFLAGS-cancellation.c): Likewise.
16957 (CFLAGS-libc-cancellation.c): Likewise.
16958 (CFLAGS-pthread_exit.c): Likewise.
16959 (CFLAGS-forward.c): Likewise.
16960 (CFLAGS-pthread_testcancel.c): Likewise.
16961 (CFLAGS-pthread_join.c): Likewise.
16962 (CFLAGS-pthread_timedjoin.c): Likewise.
16963 (CFLAGS-pthread_once.c): Likewise.
16964 (CFLAGS-pthread_cond_wait.c): Likewise.
16965 (CFLAGS-sem_wait.c): Likewise.
16966 (CFLAGS-sem_timedwait.c): Likewise.
16967 (CFLAGS-fcntl.c): Likewise.
16968 (CFLAGS-lockf.c): Likewise.
16969 (CFLAGS-pread.c): Likewise.
16970 (CFLAGS-pread64.c): Likewise.
16971 (CFLAGS-pwrite.c): Likewise.
16972 (CFLAGS-pwrite64.c): Likewise.
16973 (CFLAGS-wait.c): Likewise.
16974 (CFLAGS-waitpid.c): Likewise.
16975 (CFLAGS-sigwait.c): Likewise.
16976 (CFLAGS-msgrcv.c): Likewise.
16977 (CFLAGS-msgsnd.c): Likewise.
16978 (CFLAGS-tcdrain.c): Likewise.
16979 (CFLAGS-open.c): Likewise.
16980 (CFLAGS-open64.c): Likewise.
16981 (CFLAGS-pause.c): Likewise.
16982 (CFLAGS-recv.c): Likewise.
16983 (CFLAGS-send.c): Likewise.
16984 (CFLAGS-accept.c): Likewise.
16985 (CFLAGS-sendto.c): Likewise.
16986 (CFLAGS-connect.c): Likewise.
16987 (CFLAGS-recvfrom.c): Likewise.
16988 (CFLAGS-recvmsg.c): Likewise.
16989 (CFLAGS-sendmsg.c): Likewise.
16990 (CFLAGS-close.c): Likewise.
16991 (CFLAGS-read.c): Likewise.
16992 (CFLAGS-write.c): Likewise.
16993 (CFLAGS-nanosleep.c): Likewise.
16994 (CFLAGS-sigsuspend.c): Likewise.
16995 (CFLAGS-msync.c): Likewise.
16996 (CFLAGS-fdatasync.c): Likewise.
16997 (CFLAGS-fsync.c): Likewise.
16998 (CFLAGS-pt-system.c): Likewise.
16999 (CFLAGS-tst-cleanup2.c): Likewise.
17000 (CFLAGS-tst-cleanupx2.c): Likewise.
17001 (CFLAGS-flockfile.c): Likewise.
17002 (CFLAGS-ftrylockfile.c): Likewise.
17003 (CFLAGS-funlockfile.c): Likewise.
17004 (CFLAGS-tst-initializers1.c): Likewise.
17005 (CFLAGS-tst-initializers1-c89.c): Likewise.
17006 (CFLAGS-tst-initializers1-c99.c): Likewise.
17007 (CFLAGS-tst-initializers1-c11.c): Likewise.
17008 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17009 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17010 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17011 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17012 (CFLAGS-nscd_getgr_r.c): Likewise.
17013 (CFLAGS-nscd_gethst_r.c): Likewise.
17014 (CFLAGS-nscd_getai.c): Likewise.
17015 (CFLAGS-nscd_initgroups.c): Likewise.
17016 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17017 (CFLAGS-pause.c): Likewise.
17018 (CFLAGS-pread.c): Likewise.
17019 (CFLAGS-pread64.c): Likewise.
17020 (CFLAGS-pwrite.c): Likewise.
17021 (CFLAGS-pwrite64.c): Likewise.
17022 (CFLAGS-sleep.c): Likewise.
17023 (CFLAGS-wait.c): Likewise.
17024 (CFLAGS-waitid.c): Likewise.
17025 (CFLAGS-waitpid.c): Likewise.
17026 (CFLAGS-getopt.c): Likewise.
17027 (CFLAGS-wordexp.c): Likewise.
17028 (CFLAGS-sysconf.c): Likewise.
17029 (CFLAGS-pathconf.c): Likewise.
17030 (CFLAGS-fpathconf.c): Likewise.
17031 (CFLAGS-spawn.c): Likewise.
17032 (CFLAGS-spawnp.c): Likewise.
17033 (CFLAGS-spawni.c): Likewise.
17034 (CFLAGS-glob.c): Likewise.
17035 (CFLAGS-glob64.c): Likewise.
17036 (CFLAGS-getconf.c): Likewise.
17037 (CFLAGS-nanosleep.c): Likewise.
17038 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17039 (CFLAGS-getpwent.c): Likewise.
17040 (CFLAGS-getpw.c): Likewise.
17041 (CFLAGS-fgetpwent_r.c): Likewise.
17042 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17043 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17044 (CFLAGS-mq_timedreceive.c): Likewise.
17045 (CFLAGS-mq_timedsend.c): Likewise.
17046 (CFLAGS-clock_nanosleep.c): Likewise.
17047 (CFLAGS-librt-cancellation.c): Likewise.
17048 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17049 (CFLAGS-getspent.c): Likewise.
17050 (CFLAGS-fgetspent.c): Likewise.
17051 (CFLAGS-fgetspent_r.c): Likewise.
17052 (CFLAGS-putspent.c): Likewise.
17053 (CFLAGS-getspnam.c): Likewise.
17054 (CFLAGS-getspnam_r.c): Likewise.
17055 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17056 (CFLAGS-sigsuspend.c): Likewise.
17057 (CFLAGS-sigtimedwait.c): Likewise.
17058 (CFLAGS-sigwait.c): Likewise.
17059 (CFLAGS-sigwaitinfo.c): Likewise.
17060 (CFLAGS-sigreturn.c): Likewise.
17061 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17062 (CFLAGS-vfwprintf.c): Likewise.
17063 (CFLAGS-tmpfile.c): Likewise.
17064 (CFLAGS-tmpfile64.c): Likewise.
17065 (CFLAGS-tempname.c): Likewise.
17066 (CFLAGS-psignal.c): Likewise.
17067 (CFLAGS-vprintf.c): Likewise.
17068 (CFLAGS-cuserid.c): Likewise.
17069 (CFLAGS-errlist.c): Likewise.
17070 (CFLAGS-siglist.c): Likewise.
17071 (CFLAGS-scanf15.c): Likewise.
17072 (CFLAGS-scanf17.c): Likewise.
17073 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
17074 (CFLAGS-msort.c): Likewise.
17075 (CFLAGS-qsort.c): Likewise.
17076 (CFLAGS-system.c): Likewise.
17077 (CFLAGS-fmtmsg.c): Likewise.
17078 (CFLAGS-strfmon.c): Likewise.
17079 (CFLAGS-strfmon_l.c): Likewise.
17080 (CFLAGS-strfromd.c): Likewise.
17081 (CFLAGS-strfromf.c): Likewise.
17082 (CFLAGS-strfroml.c): Likewise.
17083 (CFLAGS-tst-bsearch.c): Likewise.
17084 (CFLAGS-tst-qsort.c): Likewise.
17085 (CFLAGS-tst-makecontext2.c): Likewise.
17086 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
17087 (CFLAGS-xnlm_prot.c): Likewise.
17088 (CFLAGS-xrstat.c): Likewise.
17089 (CFLAGS-xyppasswd.c): Likewise.
17090 (CFLAGS-xklm_prot.c): Likewise.
17091 (CFLAGS-xrex.c): Likewise.
17092 (CFLAGS-xsm_inter.c): Likewise.
17093 (CFLAGS-xmount.c): Likewise.
17094 (CFLAGS-xrusers.c): Likewise.
17095 (CFLAGS-xspray.c): Likewise.
17096 (CFLAGS-xnfs_prot.c): Likewise.
17097 (CFLAGS-xrquota.c): Likewise.
17098 (CFLAGS-xkey_prot.c): Likewise.
17099 (CFLAGS-auth_unix.c): Likewise.
17100 (CFLAGS-key_call.c): Likewise.
17101 (CFLAGS-pmap_rmt.c): Likewise.
17102 (CFLAGS-clnt_perr.c): Likewise.
17103 (CFLAGS-openchild.c): Likewise.
17104 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
17105 (CFLAGS-msgsnd.c): Likewise.
17106 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
17107 * time/Makefile (CFLAGS-tzfile.c): Likewise.
17108 (CFLAGS-tzset.c): Likewise.
17109 (CFLAGS-getdate.c): Likewise.
17110 (CFLAGS-test_time.c): Likewise.
17111 (CPPFLAGS-tst-tzname.c): Likewise.
17112 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
17113 (CFLAGS-zic.c): Likewise.
17114 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
17115 (CFLAGS-wcswidth.c): Likewise.
17116 (CFLAGS-wcstol.c): Likewise.
17117 (CFLAGS-wcstoul.c): Likewise.
17118 (CFLAGS-wcstoll.c): Likewise.
17119 (CFLAGS-wcstoull.c): Likewise.
17120 (CFLAGS-wcstod.c): Likewise.
17121 (CFLAGS-wcstold.c): Likewise.
17122 (CFLAGS-wcstof128.c): Likewise.
17123 (CFLAGS-wcstof.c): Likewise.
17124 (CFLAGS-wcstol_l.c): Likewise.
17125 (CFLAGS-wcstoul_l.c): Likewise.
17126 (CFLAGS-wcstoll_l.c): Likewise.
17127 (CFLAGS-wcstoull_l.c): Likewise.
17128 (CFLAGS-wcstod_l.c): Likewise.
17129 (CFLAGS-wcstold_l.c): Likewise.
17130 (CFLAGS-wcstof128_l.c): Likewise.
17131 (CFLAGS-wcstof_l.c): Likewise.
17132 (CPPFLAGS-tst-wchar-h.c): Likewise.
17133 (CPPFLAGS-wcstold_l.c): Likewise.
17135 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
17137 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
17139 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17140 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17142 * manual/tunables.texi (Hardware Capability Tunables): Document
17143 glibc.tune.cached_memopt.
17144 * sysdeps/powerpc/cpu-features.c: New file.
17145 * sysdeps/powerpc/cpu-features.h: New file.
17146 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
17147 _dl_powerpc_cpu_features.
17148 * sysdeps/powerpc/dl-tunables.list: New file.
17149 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
17150 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17151 (INIT_ARCH): Initialize use_aligned_memopt.
17152 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
17153 IS_IN(rtld))]: Restrict dl_platform_init availability and
17154 initialize CPU features used by tunables.
17155 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
17156 Add memcpy-power8-cached.
17157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
17158 __memcpy_power8_cached.
17159 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17160 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
17163 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17165 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
17166 (CFLAGS-noinl-tester.c): Likewise.
17167 (CFLAGS-tst-strlen.c): Likewise.
17168 (CFLAGS-stratcliff.c): Likewise.
17169 (CFLAGS-test-ffs.c): Likewise.
17170 (CFLAGS-tst-inlcall.c): Likewise.
17171 (CFLAGS-tst-xbzero-opt.c): Likewise.
17172 (CFLAGS-memcpy.c): Likewise.
17173 (CFLAGS-wordcopy.c): Likewise.
17175 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17177 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
17178 Store r15 on stack and add cfi rule.
17179 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17182 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
17185 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
17188 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17190 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17191 Add s_sinf-sse2 and s_sinf-fma.
17192 (CFLAGS-s_sinf-fma.c): New.
17193 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
17194 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
17195 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
17197 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17199 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
17201 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17204 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
17205 part of result to imaginary part of argument if it is zero and the
17206 real part of the argument is not finite.
17207 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
17208 of result to real part of argument if it is zero and the imaginary
17209 part of the argument is not finite.
17211 2017-12-07 Mike FABIAN <mfabian@redhat.com>
17214 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
17215 and to the list of locales to be built for testing.
17216 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
17217 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
17218 and build the collation rules upon that.
17220 2017-12-07 Joseph Myers <joseph@codesourcery.com>
17222 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
17223 * manual/math.texi (Mathematics): Document support for _Float32.
17224 * math/Makefile (test-types): Add float32.
17225 * math/Versions (GLIBC_2.27): Add _Float32 functions.
17226 * stdlib/Versions (GLIBC_2.27): Likewise.
17227 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17228 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17229 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17230 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17231 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17232 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17233 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17234 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17235 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17236 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17239 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17240 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17241 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17242 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17243 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17244 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17247 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17248 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17250 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17252 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17272 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17273 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17275 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17276 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17277 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17278 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17279 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17280 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17281 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17290 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17291 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17296 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17297 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17299 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17301 * stdlib/strtof.c: Include <bits/floatn.h>
17302 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
17303 and later undefine as macro. Define as weak alias if
17305 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
17306 and later undefine as macro. Define as weak alias if
17308 * stdlib/strtof_l.c: Include <bits/floatn.h>
17309 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
17310 and later undefine as macro. Define as weak alias if
17312 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
17313 and later undefine as macro. Define as weak alias if
17316 * stdlib/strfromf.c: Include <bits/floatn.h>.
17317 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
17318 and later undefine as macro and define as weak alias.
17320 * math/test-float32.h: New file.
17322 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
17323 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
17324 (libm_alias_float_other_r): Create f32 alias.
17325 (libm_alias_float_r): Use semicolon before call to
17326 libm_alias_float_other_r.
17328 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
17329 second argument to libm_alias_float_other.
17330 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
17331 second argument to libm_alias_float_other.
17332 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
17333 argument to libm_alias_float_other.
17336 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
17337 real part of result for argument 0 + i * NaN.
17338 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
17339 results for tests of 0 + i * NaN.
17341 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17343 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17345 2017-12-06 David S. Miller <davem@davemloft.net>
17347 * sysdeps/sparc/fpu/libm-test-ulps: Update
17348 exp_{downward,towardzero,upward} ulps.
17350 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17352 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
17355 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
17357 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
17359 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
17361 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
17364 2017-12-06 Mike FABIAN <mfabian@redhat.com>
17367 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
17368 and to the list of locales to be built for testing.
17369 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
17370 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
17371 and build the collation rules upon that.
17373 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17375 * NEWS: Add sinf to list of optimized functions.
17377 2017-12-06 Joseph Myers <joseph@codesourcery.com>
17379 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
17380 (__HAVE_FLOAT32X): Likewise.
17381 * manual/math.texi (Mathematics): Document support for _Float64
17383 * math/Makefile (test-types): Add float64 and float32x.
17384 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
17386 * stdlib/Versions (GLIBC_2.27): Likewise.
17387 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17388 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17389 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17391 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17403 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17404 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17408 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17410 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17411 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17412 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17413 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17414 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17431 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17432 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17433 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17434 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17435 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17436 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17437 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17438 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17439 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17440 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17449 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17450 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17451 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17452 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17453 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17454 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17455 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17456 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17458 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17460 * bits/floatn-common.h: Include <bits/long-double.h>.
17461 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17462 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
17463 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17464 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
17465 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17466 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
17467 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17468 (__builtin_huge_valf64): Use __builtin_huge_vall.
17469 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17470 (__builtin_inff64): Use __builtin_infl.
17471 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17472 (__builtin_nanf64): Use __builtin_nanl.
17473 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17474 (__builtin_nansf64): Use __builtin_nansl.
17476 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
17477 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17478 Carlos O'Donnell <carlos@redhat.com>
17480 * elf/dl-tunables.list: Add elision parameters.
17481 * manual/tunables.texi: Add entries about elision tunable.
17482 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
17483 Add callback functions to dynamically enable/disable elision.
17484 Add multiple callbacks functions to set elision parameters.
17485 Deleted __libc_enable_secure check.
17486 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
17487 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
17488 * configure: Regenerated.
17489 * configure.ac: Option enable_lock_elision was deleted.
17490 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
17491 * config.make.in: Remove references to enable_lock_elision.
17492 * manual/install.texi: Elision configure option was removed.
17493 * INSTALL: Regenerated to remove enable_lock_elision.
17495 Disable elision so it can verify error case for destroying a mutex.
17496 * sysdeps/powerpc/nptl/elide.h:
17497 Cleanup ENABLE_LOCK_ELISION check.
17498 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
17499 * sysdeps/s390/configure: Regenerated.
17500 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
17501 * nptl/tst-mutex8.c:
17502 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
17503 * sysdeps/powerpc/powerpc32/sysdep.h:
17504 Deleted all ENABLE_LOCK_ELISION checks.
17505 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17506 * sysdeps/powerpc/sysdep.h: Likewise.
17507 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
17508 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
17509 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17510 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17511 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17512 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
17513 enable-lock-elision.
17515 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17517 * stdlib/strtod.c: Include <bits/floatn.h>.
17518 (BUILD_DOUBLE): New macro.
17519 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17520 (strtof64): Define and later undefine as macro. Define as weak
17521 alias if [!USE_WIDE_CHAR].
17522 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17523 (wcstof64): Define and later undefine as macro. Define as weak
17524 alias if [USE_WIDE_CHAR].
17525 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17526 (strtof32x): Define and later undefine as macro. Define as weak
17527 alias if [!USE_WIDE_CHAR].
17528 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17529 (wcstof32x): Define and later undefine as macro. Define as weak
17530 alias if [USE_WIDE_CHAR].
17531 * stdlib/strtod_l.c: Include <bits/floatn.h>.
17532 (BUILD_DOUBLE): New macro.
17533 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17534 (strtof64_l): Define and later undefine as macro. Define as weak
17535 alias if [!USE_WIDE_CHAR].
17536 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17537 (wcstof64_l): Define and later undefine as macro. Define as weak
17538 alias if [USE_WIDE_CHAR].
17539 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17540 (strtof32x_l): Define and later undefine as macro. Define as weak
17541 alias if [!USE_WIDE_CHAR].
17542 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17543 (wcstof32x_l): Define and later undefine as macro. Define as weak
17544 alias if [USE_WIDE_CHAR].
17546 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17548 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
17549 (reduced): Use ones as double instead of integer.
17551 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
17553 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
17555 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17557 * stdlib/strfromd.c: Include <bits/floatn.h>.
17558 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
17559 and later undefine as macro and define as weak alias.
17560 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
17563 * math/test-float32x.h: New file.
17564 * math/test-float64.h: Likewise.
17566 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
17567 (libm_alias_double_other_r_f64): New macro.
17568 (libm_alias_double_other_r_f32x): Likewise.
17569 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17570 libm_alias_double_other_r_f32x.
17571 (libm_alias_double_r): Use semicolon before call to
17572 libm_alias_double_other_r.
17573 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
17575 (libm_alias_double_other_r_f64): New macro.
17576 (libm_alias_double_other_r_f32x): Likewise.
17577 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17578 libm_alias_double_other_r_f32x.
17580 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
17582 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
17584 (SINF_FUNC): Likewise. Replace floor with simple casts.
17586 2017-12-05 Mike FABIAN <mfabian@redhat.com>
17589 * localedata/Makefile: Add et_EE.UTF-8 to test-input
17590 and to the list of locales to be built for testing.
17591 * localedata/et_EE.UTF-8.in: New file for testing the collation.
17592 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
17593 and build the collation rules upon that.
17595 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
17597 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
17598 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
17599 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
17600 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
17601 instead of __insn__xxx.
17602 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
17603 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
17604 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
17605 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
17606 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
17607 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
17609 2017-12-05 Florian Weimer <fweimer@redhat.com>
17611 Linux: Implement interfaces for memory protection keys
17612 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
17614 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
17615 * support/xunistd.h (xsysconf): Declare.
17616 * support/xraise.c: New file.
17617 * support/xsigaction.c: Likewise.
17618 * support/xsignal.c: Likewise.
17619 * support/xsysconf.c: Likewise.
17620 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
17621 pkey_set, pkey_get, pkey_mprotect.
17622 [misc] (tests): Add tst-pkey.
17623 (tst-pkey): Link with -lpthread.
17624 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
17625 pkey_free, pkey_set, pkey_get, pkey_mprotect.
17626 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
17627 (PKEY_DISABLE_WRITE): Define.
17628 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
17630 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
17631 (SEGV_PKUERR): Add.
17632 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
17633 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
17634 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
17635 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
17637 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
17638 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
17639 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
17640 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
17641 * sysdeps/unix/sysv/linux/**.abilist: Update.
17643 2017-12-05 Florian Weimer <fweimer@redhat.com>
17645 * support/tst-test_compare.c (subprocess): Use long long instead
17646 of long argument for consistent type width across 32-bit and
17647 64-bit architectures.
17648 (do_test): Adjust expected output.
17650 2017-12-05 Joseph Myers <joseph@codesourcery.com>
17652 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
17653 (cosf): Define using libm_alias_float.
17654 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
17655 (fabsf): Define using libm_alias_float.
17656 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
17657 (fmaf): Define using libm_alias_float.
17658 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
17659 (rintf): Define using libm_alias_float.
17660 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
17661 (sinf): Define using libm_alias_float.
17662 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
17663 <libm-alias-float.h>.
17664 (modff): Define using libm_alias_float.
17665 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
17666 <libm-alias-float.h>.
17667 (logbf): Define using libm_alias_float.
17668 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
17669 <libm-alias-float.h>.
17670 (ceilf): Define using libm_alias_float.
17671 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17672 <libm-alias-float.h>.
17673 (copysignf): Define using libm_alias_float.
17674 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
17675 <libm-alias-float.h>.
17676 (floorf): Define using libm_alias_float.
17677 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
17678 <libm-alias-float.h>.
17679 (llrintf): Define using libm_alias_float.
17680 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17681 <libm-alias-float.h>.
17682 (llroundf): Define using libm_alias_float.
17683 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17684 <libm-alias-float.h>.
17685 (lrintf): Define using libm_alias_float.
17686 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17687 <libm-alias-float.h>.
17688 (lroundf): Define using libm_alias_float.
17689 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
17690 <libm-alias-float.h>.
17691 (nearbyintf): Define using libm_alias_float.
17692 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
17693 <libm-alias-float.h>.
17694 (rintf): Define using libm_alias_float.
17695 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
17696 <libm-alias-float.h>.
17697 (roundf): Define using libm_alias_float.
17698 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
17699 <libm-alias-float.h>.
17700 (truncf): Define using libm_alias_float.
17701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
17702 Include <libm-alias-float.h>.
17703 (ceilf): Define using libm_alias_float.
17704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
17705 Include <libm-alias-float.h>.
17706 (copysignf): Define using libm_alias_float.
17707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
17708 Include <libm-alias-float.h>.
17709 (floorf): Define using libm_alias_float.
17710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
17711 Include <libm-alias-float.h>.
17712 (llrintf): Define using libm_alias_float.
17713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
17714 Include <libm-alias-float.h>.
17715 (llroundf): Define using libm_alias_float.
17716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
17717 Include <libm-alias-float.h>.
17718 (logbf): Define using libm_alias_float.
17719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
17720 Include <libm-alias-float.h>.
17721 (lrintf): Define using libm_alias_float.
17722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
17723 Include <libm-alias-float.h>.
17724 (lroundf): Define using libm_alias_float.
17725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
17726 Include <libm-alias-float.h>.
17727 (modff): Define using libm_alias_float.
17728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
17729 Include <libm-alias-float.h>.
17730 (roundf): Define using libm_alias_float.
17731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
17732 Include <libm-alias-float.h>.
17733 (truncf): Define using libm_alias_float.
17734 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
17735 <libm-alias-float.h>.
17736 (llrintf): Define using libm_alias_float.
17737 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17738 <libm-alias-float.h>.
17739 (llroundf): Define using libm_alias_float.
17740 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
17741 <libm-alias-float.h>.
17742 (ceilf): Define using libm_alias_float.
17743 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
17744 <libm-alias-float.h>.
17745 (floorf): Define using libm_alias_float.
17746 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17747 <libm-alias-float.h>.
17748 (llroundf): Define using libm_alias_float.
17749 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17750 <libm-alias-float.h>.
17751 (lroundf): Define using libm_alias_float.
17752 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
17753 <libm-alias-float.h>.
17754 (roundf): Define using libm_alias_float.
17755 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
17756 <libm-alias-float.h>.
17757 (truncf): Define using libm_alias_float.
17758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17759 <libm-alias-float.h>.
17760 (copysignf): Define using libm_alias_float.
17761 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
17762 <libm-alias-float.h>.
17763 (llrintf): Define using libm_alias_float.
17764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
17765 <libm-alias-float.h>.
17766 (llroundf): Define using libm_alias_float.
17767 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
17768 <libm-alias-float.h>.
17769 (lrintf): Define using libm_alias_float.
17770 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
17771 <libm-alias-float.h>.
17772 (lroundf): Define using libm_alias_float.
17773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
17774 <libm-alias-float.h>.
17775 (ceilf): Define using libm_alias_float.
17776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
17777 <libm-alias-float.h>.
17778 (copysignf): Define using libm_alias_float.
17779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
17780 <libm-alias-float.h>.
17781 (cosf): Define using libm_alias_float.
17782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
17783 <libm-alias-float.h>.
17784 (floorf): Define using libm_alias_float.
17785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
17786 <libm-alias-float.h>.
17787 (llrintf): Define using libm_alias_float.
17788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
17789 <libm-alias-float.h>.
17790 (llroundf): Define using libm_alias_float.
17791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
17792 <libm-alias-float.h>.
17793 (logbf): Define using libm_alias_float.
17794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
17795 <libm-alias-float.h>.
17796 (modff): Define using libm_alias_float.
17797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
17798 <libm-alias-float.h>.
17799 (roundf): Define using libm_alias_float.
17800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
17801 <libm-alias-float.h>.
17802 (sinf): Define using libm_alias_float.
17803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
17804 <libm-alias-float.h>.
17805 (truncf): Define using libm_alias_float.
17806 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
17807 <libm-alias-float.h>.
17808 (ceilf): Define using libm_alias_float.
17809 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
17810 <libm-alias-float.h>.
17811 (copysignf): Define using libm_alias_float.
17812 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
17813 <libm-alias-float.h>.
17814 (floorf): Define using libm_alias_float.
17815 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
17816 <libm-alias-float.h>.
17817 (llrintf): Define using libm_alias_float.
17818 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
17819 <libm-alias-float.h>.
17820 (llroundf): Define using libm_alias_float.
17821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
17822 <libm-alias-float.h>.
17823 (nearbyintf): Define using libm_alias_float.
17824 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
17825 <libm-alias-float.h>.
17826 (rintf): Define using libm_alias_float.
17827 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
17828 <libm-alias-float.h>.
17829 (roundf): Define using libm_alias_float.
17830 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
17831 <libm-alias-float.h>.
17832 (truncf): Define using libm_alias_float.
17833 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
17834 <libm-alias-float.h>.
17835 (ceilf): Define using libm_alias_float.
17836 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
17837 <libm-alias-float.h>.
17838 (floorf): Define using libm_alias_float.
17839 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
17840 <libm-alias-float.h>.
17841 (llroundf): Define using libm_alias_float.
17842 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
17843 <libm-alias-float.h>.
17844 (roundf): Define using libm_alias_float.
17845 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
17846 <libm-alias-float.h>.
17847 (truncf): Define using libm_alias_float.
17848 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
17849 <libm-alias-float.h>.
17850 (copysignf): Define using libm_alias_float.
17851 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
17852 <libm-alias-float.h>.
17853 (llrintf): Define using libm_alias_float.
17854 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
17855 <libm-alias-float.h>.
17856 (llroundf): Define using libm_alias_float.
17857 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
17858 <libm-alias-float.h>.
17859 (cosf): Define using libm_alias_float.
17860 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
17861 <libm-alias-float.h>.
17862 (llrintf): Define using libm_alias_float.
17863 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
17864 <libm-alias-float.h>.
17865 (llroundf): Define using libm_alias_float.
17866 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
17867 <libm-alias-float.h>.
17868 (sinf): Define using libm_alias_float.
17870 2017-12-04 Florian Weimer <fweimer@redhat.com>
17872 * support/check.h (TEST_COMPARE): Define.
17873 (support_test_compare_failure): Declare.
17874 * support/Makefile (libsupport-routines): Add
17875 support_test_compare_failure.
17876 (tests): Add tst-test_compare.
17877 * support /support_test_compare_failure.c: New file.
17878 * support/tst-test_compare.c: Likewise.
17880 2017-12-04 Mike FABIAN <mfabian@redhat.com>
17883 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
17884 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
17885 available, this rewrite of the collation rules does reproduce
17886 the test file in the same order.
17888 2017-12-04 Mike FABIAN <mfabian@redhat.com>
17891 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
17892 digraphs in the month and day names. Using single code points for
17893 digraphs is deprecated. While there are dedicated Unicode
17894 codepoints, for the digraphs, these are included for backwards
17895 compatibility and modern texts use a sequence of Basic Latin
17896 characters. See: https://www.unicode.org/faq/ligature_digraph.html
17897 This makes the month and day names agree exactly with CLDR now,
17898 CLDR does not use the single code points for the digraphs either.
17900 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
17902 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
17904 2017-12-04 Joseph Myers <joseph@codesourcery.com>
17906 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
17909 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
17911 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
17912 Define only for libc.so.
17914 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17917 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
17918 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
17919 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
17920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17922 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17925 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
17927 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
17930 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
17931 PREINIT_FUNCTION_WEAK is nonzero.
17932 (gmon_initializer): New function. Put procedure label for it in
17933 .init_array section.
17934 (_init): Don't call PREINIT_FUNCTION.
17935 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
17936 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
17937 value when map argument is null.
17939 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
17940 depi instruction from PIC pc-relative sequence.
17941 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
17942 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
17943 (elf_machine_load_address): Likewise.
17944 (elf_machine_runtime_setup): Likewise.
17946 2017-12-02 Joseph Myers <joseph@codesourcery.com>
17948 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
17949 <libm-alias-double.h>.
17950 (logb): Define using libm_alias_double.
17951 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17952 <libm-alias-double.h>.
17953 (copysign): Define using libm_alias_double.
17954 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
17955 <libm-alias-double.h>.
17956 (llrint): Define using libm_alias_double.
17957 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
17958 <libm-alias-double.h>.
17959 (llround): Define using libm_alias_double.
17960 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17961 <libm-alias-double.h>.
17962 (lrint): Define using libm_alias_double.
17963 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17964 <libm-alias-double.h>.
17965 (lround): Define using libm_alias_double.
17966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17967 Include <libm-alias-double.h>.
17968 (copysign): Define using libm_alias_double.
17969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
17970 Include <libm-alias-double.h>.
17971 (llrint): Define using libm_alias_double.
17972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
17973 Include <libm-alias-double.h>.
17974 (llround): Define using libm_alias_double.
17975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
17976 <libm-alias-double.h>.
17977 (logb): Define using libm_alias_double.
17978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
17979 Include <libm-alias-double.h>.
17980 (lrint): Define using libm_alias_double.
17981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
17982 Include <libm-alias-double.h>.
17983 (lround): Define using libm_alias_double.
17984 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
17985 <libm-alias-double.h>.
17986 (llrint): Define using libm_alias_double.
17987 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17988 <libm-alias-double.h>.
17989 (llround): Define using libm_alias_double.
17990 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17991 <libm-alias-double.h>.
17992 (llround): Define using libm_alias_double.
17993 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17994 <libm-alias-double.h>.
17995 (lround): Define using libm_alias_double.
17996 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17997 <libm-alias-double.h>.
17998 (copysign): Define using libm_alias_double.
17999 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18000 <libm-alias-double.h>.
18001 (llrint): Define using libm_alias_double.
18002 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18003 <libm-alias-double.h>.
18004 (llround): Define using libm_alias_double.
18005 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18006 <libm-alias-double.h>.
18007 (lrint): Define using libm_alias_double.
18008 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18009 <libm-alias-double.h>.
18010 (lround): Define using libm_alias_double.
18011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18012 <libm-alias-double.h>.
18013 (copysign): Define using libm_alias_double.
18014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18015 <libm-alias-double.h>.
18016 (llrint): Define using libm_alias_double.
18018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18019 <libm-alias-double.h>.
18020 (llround): Define using libm_alias_double.
18021 (lround): Likewise.
18022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18023 <libm-alias-double.h>.
18024 (logb): Define using libm_alias_double.
18025 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18026 <libm-alias-double.h>.
18027 (copysign): Define using libm_alias_double.
18028 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18029 <libm-alias-double.h>.
18030 (llrint): Define using libm_alias_double.
18032 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18033 <libm-alias-double.h>.
18034 (llround): Define using libm_alias_double.
18035 (lround): Likewise.
18036 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18037 <libm-alias-double.h>.
18038 (llround): Define using libm_alias_double.
18039 (lround): Likewise.
18040 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18041 <libm-alias-double.h>.
18042 (copysign): Define using libm_alias_double.
18043 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18044 <libm-alias-double.h>.
18045 (llrint): Define using libm_alias_double.
18047 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18048 <libm-alias-double.h>.
18049 (llround): Define using libm_alias_double.
18050 (lround): Likewise.
18051 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18052 <libm-alias-double.h>.
18053 (llrint): Define using libm_alias_double.
18055 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18056 <libm-alias-double.h>.
18057 (llround): Define using libm_alias_double.
18058 (lround): Likewise.
18060 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18063 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18064 compat symbol based on llround.
18066 * sysdeps/powerpc/power7/fpu/s_logb.c
18067 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18068 symbol based on __logb, not on logb.
18069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
18070 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
18072 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18074 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
18075 (rint): Define using libm_alias_double.
18076 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
18077 <libm-alias-double.h>.
18078 (modf): Define using libm_alias_double.
18079 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
18080 <libm-alias-double.h>.
18081 (ceil): Define using libm_alias_double.
18082 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
18083 <libm-alias-double.h>.
18084 (floor): Define using libm_alias_double.
18085 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
18086 <libm-alias-double.h>.
18087 (nearbyint): Define using libm_alias_double.
18088 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
18089 <libm-alias-double.h>.
18090 (rint): Define using libm_alias_double.
18091 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
18092 <libm-alias-double.h>.
18093 (round): Define using libm_alias_double.
18094 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
18095 <libm-alias-double.h>.
18096 (trunc): Define using libm_alias_double.
18097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
18098 <libm-alias-double.h>.
18099 (ceil): Define using libm_alias_double.
18100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
18101 Include <libm-alias-double.h>.
18102 (floor): Define using libm_alias_double.
18103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
18104 <libm-alias-double.h>.
18105 (modf): Define using libm_alias_double.
18106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
18107 Include <libm-alias-double.h>.
18108 (round): Define using libm_alias_double.
18109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
18110 Include <libm-alias-double.h>.
18111 (trunc): Define using libm_alias_double.
18112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
18113 <libm-alias-double.h>.
18114 (ceil): Define using libm_alias_double.
18115 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
18116 <libm-alias-double.h>.
18117 (floor): Define using libm_alias_double.
18118 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
18119 <libm-alias-double.h>.
18120 (round): Define using libm_alias_double.
18121 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
18122 <libm-alias-double.h>.
18123 (trunc): Define using libm_alias_double.
18124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
18125 <libm-alias-double.h>.
18126 (ceil): Define using libm_alias_double.
18127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
18128 <libm-alias-double.h>.
18129 (floor): Define using libm_alias_double.
18130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
18131 <libm-alias-double.h>.
18132 (modf): Define using libm_alias_double.
18133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
18134 <libm-alias-double.h>.
18135 (round): Define using libm_alias_double.
18136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
18137 <libm-alias-double.h>.
18138 (trunc): Define using libm_alias_double.
18139 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
18140 <libm-alias-double.h>.
18141 (ceil): Define using libm_alias_double.
18142 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
18143 <libm-alias-double.h>.
18144 (floor): Define using libm_alias_double.
18145 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
18146 <libm-alias-double.h>.
18147 (nearbyint): Define using libm_alias_double.
18148 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
18149 <libm-alias-double.h>.
18150 (rint): Define using libm_alias_double.
18151 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
18152 <libm-alias-double.h>.
18153 (round): Define using libm_alias_double.
18154 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
18155 <libm-alias-double.h>.
18156 (trunc): Define using libm_alias_double.
18157 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
18158 <libm-alias-double.h>.
18159 (ceil): Define using libm_alias_double.
18160 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
18161 <libm-alias-double.h>.
18162 (floor): Define using libm_alias_double.
18163 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
18164 <libm-alias-double.h>.
18165 (round): Define using libm_alias_double.
18166 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
18167 <libm-alias-double.h>.
18168 (trunc): Define using libm_alias_double.
18170 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
18171 (fabs): Define using libm_alias_double.
18172 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
18173 (fma): Define using libm_alias_double.
18174 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
18175 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
18176 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
18177 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
18179 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18181 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
18183 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
18184 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
18185 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
18188 due redirect macro.
18190 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
18192 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
18194 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18196 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
18197 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
18198 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
18199 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
18201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18202 (libm-sysdep_routines): Add s_nearbyintf-generic and
18203 s_nearbyint-generic.
18204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
18206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
18207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
18209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
18211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
18213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18217 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
18218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
18220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
18221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
18223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
18224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
18225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18228 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
18229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
18231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
18232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
18234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
18235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
18236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
18238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18239 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
18240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
18242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
18243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
18245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
18246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
18247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18250 (sysdep_calls): New rule.
18251 (sysdep_routines): Use sysdep_calls as base.
18252 (libm-sysdep_routines): Add generic rule for symbols shared with
18253 libc. Add s_copysign-generic and s_copysign-generic objects.
18254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
18256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
18257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
18259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
18260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
18261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
18263 2017-12-01 Mike FABIAN <mfabian@redhat.com>
18266 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
18267 the list of locales to be built for testing.
18268 * localedata/is_IS.UTF-8.in: New file.
18269 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
18272 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18274 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
18275 <libm-alias-float.h>.
18276 (fabsf): Define using libm_alias_float.
18278 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18280 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
18282 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18284 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
18285 <libm-alias-float.h>.
18286 (fabsf): Define using libm_alias_float.
18287 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
18288 <libm-alias-float.h>.
18289 (lrintf): Define using libm_alias_float.
18290 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
18291 <libm-alias-float.h>.
18292 (rintf): Define using libm_alias_float.
18294 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
18295 <libm-alias-double.h>.
18296 (fabs): Define using libm_alias_double.
18297 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
18298 <libm-alias-double.h>.
18299 (lrint): Define using libm_alias_double.
18300 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
18301 <libm-alias-double.h>.
18302 (rint): Define using libm_alias_double.
18304 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
18305 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
18306 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
18307 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
18308 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
18309 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
18310 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
18311 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
18312 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
18313 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
18314 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
18315 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
18316 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
18317 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
18318 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
18319 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
18320 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
18321 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
18323 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
18324 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
18325 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
18327 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
18328 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
18329 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
18331 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
18332 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
18333 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
18334 s_expm1_template.c.
18335 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
18336 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
18337 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
18339 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
18340 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
18341 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
18342 s_floor_template.c.
18343 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
18344 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
18345 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
18346 s_frexp_template.c.
18347 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
18348 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
18349 s_lrint_template.c.
18350 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
18351 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
18352 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
18354 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
18355 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
18356 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
18357 s_nearbyint_template.c.
18358 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
18359 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
18360 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
18361 s_remquo_template.c.
18362 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
18363 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
18364 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
18366 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
18367 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
18368 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
18370 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
18371 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
18372 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
18373 s_sincos_template.c.
18374 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
18375 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
18376 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
18378 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
18379 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
18380 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
18382 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
18383 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
18384 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
18385 s_trunc_template.c.
18386 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
18387 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
18388 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
18389 s_atan.c instead of including s_atan.c.
18390 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
18391 s_atanf.c instead of including s_atanf.c.
18392 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
18393 s_atanl.c instead of including s_atanl.c.
18394 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
18395 instead of s_atan.c.
18396 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
18397 instead of s_atanf.c.
18398 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
18399 instead of s_atanl.c.
18401 * scripts/update-copyrights: Do not handle intl/plural.c
18404 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
18407 * configure.ac (BISON): Require to be present.
18408 * configure: Regenerated.
18409 * intl/Makefile (generated): Add plural.c.
18410 [$(BISON) != no]: Make code unconditional.
18411 (plural.c): Change rule to $(objpfx)plural.c.
18412 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
18413 * intl/plural.c: Remove.
18414 * manual/install.texi (Tools for Compilation): Document bison as
18416 * INSTALL: Regenerated.
18418 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18420 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
18421 <libm-alias-double.h>.
18422 (llrint): Define using libm_alias_double.
18423 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
18424 <libm-alias-float.h>.
18425 (llrintf): Define using libm_alias_float.
18426 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
18427 <libm-alias-ldouble.h>.
18428 (llrintl): Define using libm_alias_ldouble.
18430 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
18431 declare_mgen_alias instead of weak_alias.
18432 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
18433 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
18434 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
18436 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18438 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18440 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
18441 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
18442 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
18444 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18445 Add submul_1-generic.
18446 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
18447 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
18448 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
18450 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18451 Add addmul_1-generic.
18452 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
18453 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
18454 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
18456 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18458 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
18459 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
18460 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
18462 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18464 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
18465 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
18466 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
18468 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18470 According to CLDR, collation rules for Serbian and Bosnian
18471 should be the same as for Croatian.
18474 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
18475 and to the list of locales to be built for testing.
18476 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18477 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18478 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
18479 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
18481 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18483 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
18484 to make test case pass.
18485 * localedata/hr_HR.UTF-8.in: Add more test strings.
18487 2017-11-30 Mike FABIAN <mfabian@redhat.com>
18489 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
18491 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
18493 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
18494 the list of locales to built for testing.
18495 * localedata/hr_HR.UTF-8.in: New file.
18497 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
18500 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
18502 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
18503 CLDR (except use ligatures for the digraphs, CLDR does not use
18504 the ligatures), add first_workday, some fixes in the date and time
18506 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
18508 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
18509 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
18510 Add int_p_cs_precedes and int_n_cs_precedes.
18511 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
18512 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
18514 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
18515 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
18517 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
18518 and lang_lib. Change postal_fmt.
18520 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18522 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
18524 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18525 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
18526 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18527 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
18528 * sysdeps/generic/setjmpP.h: New file.
18529 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
18530 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
18531 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
18532 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
18533 Add jmp_buf-ssp.sym.
18534 (tests): Add tst-saved_mask-1.
18536 2017-11-30 Arjun Shankar <arjun@redhat.com>
18540 * malloc/malloc.c (__libc_malloc): Use checked_request2size
18541 instead of request2size.
18543 2017-11-30 Joseph Myers <joseph@codesourcery.com>
18545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
18546 (__lllrint): Remove alias.
18547 (lllrint): Likewise.
18548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
18549 (__lllrintf): Likewise.
18550 (lllrintf): Likewise.
18552 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
18553 <libm-alias-float.h>.
18554 (copysignf): Define using libm_alias_float.
18555 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
18556 <libm-alias-float.h>.
18557 (fabsf): Define using libm_alias_float.
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18559 Include <libm-alias-float.h>.
18560 (copysignf): Define using libm_alias_float.
18561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
18562 <libm-alias-float.h>.
18563 (fabsf): Define using libm_alias_float.
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
18565 <libm-alias-float.h>.
18566 (fdimf): Define using libm_alias_float.
18567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
18568 <libm-alias-float.h>.
18569 (fmaf): Define using libm_alias_float.
18570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
18571 <libm-alias-float.h>.
18572 (llrintf): Define using libm_alias_float.
18573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18574 Include <libm-alias-float.h>.
18575 (nearbyintf): Define using libm_alias_float.
18576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
18577 <libm-alias-float.h>.
18578 (rintf): Define using libm_alias_float.
18579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
18580 <libm-alias-float.h>.
18581 (llrintf): Define using libm_alias_float.
18582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
18583 <libm-alias-float.h>.
18584 (lrintf): Define using libm_alias_float.
18585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
18586 <libm-alias-float.h>.
18587 (nearbyintf): Define using libm_alias_float.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
18589 <libm-alias-float.h>.
18590 (rintf): Define using libm_alias_float.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
18592 <libm-alias-float.h>.
18593 (ceilf): Define using libm_alias_float.
18594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
18595 <libm-alias-float.h>.
18596 (floorf): Define using libm_alias_float.
18597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
18598 <libm-alias-float.h>.
18599 (fmaf): Define using libm_alias_float.
18600 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
18601 <libm-alias-float.h>.
18602 (lrintf): Define using libm_alias_float.
18603 (llrintf): Likewise.
18604 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
18605 <libm-alias-float.h>.
18606 (nearbyintf): Define using libm_alias_float.
18607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
18608 <libm-alias-float.h>.
18609 (rintf): Define using libm_alias_float.
18610 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
18611 <libm-alias-float.h>.
18612 (truncf): Define using libm_alias_float.
18613 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
18614 <libm-alias-float.h>.
18615 (copysignf): Define using libm_alias_float.
18616 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
18617 <libm-alias-float.h>.
18618 (fabsf): Define using libm_alias_float.
18619 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
18620 <libm-alias-float.h>.
18621 (lrintf): Define using libm_alias_float.
18622 (llrintf): Likewise.
18623 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
18624 <libm-alias-float.h>.
18625 (nearbyintf): Define using libm_alias_float.
18626 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
18627 <libm-alias-float.h>.
18628 (rintf): Define using libm_alias_float.
18630 2017-11-29 Joseph Myers <joseph@codesourcery.com>
18632 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
18633 <libm-alias-double.h>.
18634 (copysign): Define using libm_alias_double.
18635 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
18636 <libm-alias-double.h>.
18637 (fabs): Define using libm_alias_double.
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18639 Include <libm-alias-double.h>.
18640 (copysign): Define using libm_alias_double.
18641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
18642 <libm-alias-double.h>.
18643 (fabs): Define using libm_alias_double.
18644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
18645 <libm-alias-double.h>.
18646 (fdim): Define using libm_alias_double.
18647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
18648 <libm-alias-double.h>.
18649 (fma): Define using libm_alias_double.
18650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
18651 <libm-alias-double.h>.
18652 (llrint): Define using libm_alias_double.
18653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
18654 Include <libm-alias-double.h>.
18655 (nearbyint): Define using libm_alias_double.
18656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
18657 <libm-alias-double.h>.
18658 (rint): Define using libm_alias_double.
18659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
18660 <libm-alias-double.h>.
18661 (fabs): Define using libm_alias_double.
18662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
18663 <libm-alias-double.h>.
18664 (llrint): Define using libm_alias_double.
18665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
18666 <libm-alias-double.h>.
18667 (nearbyint): Define using libm_alias_double.
18668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
18669 <libm-alias-double.h>.
18670 (rint): Define using libm_alias_double.
18671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
18672 <libm-alias-double.h>.
18673 (ceil): Define using libm_alias_double.
18674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
18675 <libm-alias-double.h>.
18676 (floor): Define using libm_alias_double.
18677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
18678 <libm-alias-double.h>.
18679 (fma): Define using libm_alias_double.
18680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
18681 <libm-alias-double.h>.
18682 (lrint): Define using libm_alias_double.
18683 (llrint): Likewise.
18684 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
18685 <libm-alias-double.h>.
18686 (nearbyint): Define using libm_alias_double.
18687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
18688 <libm-alias-double.h>.
18689 (rint): Define using libm_alias_double.
18690 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
18691 <libm-alias-double.h>.
18692 (trunc): Define using libm_alias_double.
18693 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
18694 <libm-alias-double.h>.
18695 (copysign): Define using libm_alias_double.
18696 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
18697 <libm-alias-double.h>.
18698 (fabs): Define using libm_alias_double.
18699 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
18700 <libm-alias-double.h>.
18701 (lrint): Define using libm_alias_double.
18702 (llrint): Likewise.
18703 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
18704 <libm-alias-double.h>.
18705 (nearbyint): Define using libm_alias_double.
18706 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
18707 <libm-alias-double.h>.
18708 (rint): Define using libm_alias_double.
18711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
18713 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
18715 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18716 SPARC --disable-multi-arch glibc variants.
18718 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
18719 <libm-alias-float.h>.
18720 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18722 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
18723 <libm-alias-float.h>.
18724 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18726 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
18727 <libm-alias-float.h>.
18728 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18730 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
18731 <libm-alias-float.h>.
18732 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18734 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
18735 <libm-alias-float.h>.
18736 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18738 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
18739 <libm-alias-float.h>.
18740 (ceilf): Define using libm_alias_float.
18741 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
18742 <libm-alias-float.h>.
18743 (floorf): Define using libm_alias_float.
18744 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
18745 <libm-alias-float.h>.
18746 (fmaf): Define using libm_alias_float.
18747 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
18748 <libm-alias-float.h>.
18749 (nearbyintf): Define using libm_alias_float.
18750 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
18751 <libm-alias-float.h>.
18752 (rintf): Define using libm_alias_float.
18753 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
18754 <libm-alias-float.h>.
18755 (truncf): Define using libm_alias_float.
18756 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
18757 (copysignf): Define using libm_alias_float.
18758 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
18759 (cosf): Define using libm_alias_float.
18760 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
18761 (fabsf): Define using libm_alias_float.
18762 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18763 (fmaxf): Define using libm_alias_float.
18764 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
18765 (fminf): Define using libm_alias_float.
18766 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
18767 (llrintf): Define using libm_alias_float.
18768 [!__ILP32__] (lrintf): Likewise.
18769 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
18770 (sincosf): Define using libm_alias_float.
18771 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
18772 (sinf): Define using libm_alias_float.
18773 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
18774 (lrintf): Define using libm_alias_float.
18776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
18777 <libm-alias-double.h>.
18778 (atan): Define using libm_alias_double.
18779 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
18780 <libm-alias-double.h>.
18781 (ceil): Define using libm_alias_double.
18782 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
18783 <libm-alias-double.h>.
18784 (floor): Define using libm_alias_double.
18785 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
18786 <libm-alias-double.h>.
18787 (fma): Define using libm_alias_double.
18788 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
18789 <libm-alias-double.h>.
18790 (nearbyint): Define using libm_alias_double.
18791 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
18792 <libm-alias-double.h>.
18793 (rint): Define using libm_alias_double.
18794 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
18795 <libm-alias-double.h>.
18796 (sin): Define using libm_alias_double.
18798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
18799 <libm-alias-double.h>.
18800 (tan): Define using libm_alias_double.
18801 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
18802 <libm-alias-double.h>.
18803 (trunc): Define using libm_alias_double.
18804 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
18805 (copysign): Define using libm_alias_double.
18806 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
18807 (fabs): Define using libm_alias_double.
18808 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
18809 (fmax): Define using libm_alias_double.
18810 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
18811 (fmin): Define using libm_alias_double.
18812 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
18813 (llrint): Define using libm_alias_double.
18814 [!__ILP32__] (lrint): Likewise.
18815 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
18816 (lrint): Define using libm_alias_double.
18818 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18821 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
18823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
18824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
18825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
18826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
18827 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
18828 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18831 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
18833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
18834 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
18835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
18836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
18837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
18838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18841 (libm-sysdep_routines): Add s_nearbyint-generic and
18842 s_nearbyintf-generic objects.
18843 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
18844 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
18845 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
18846 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
18847 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
18848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
18850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18851 Add s_finitef-generic and s_finite-generic objects.
18852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
18853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
18854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
18855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
18856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
18857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
18859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18860 Add s_isinff-generic and s_isinf-generic objects.
18861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
18862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
18863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
18864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
18865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
18866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18869 Add s_isnanf-generic and s_isnan-generic objects.
18870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
18871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
18872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
18873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
18874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
18875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18877 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
18879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
18881 (sysdep_routines): Use sysdep_calls as base.
18882 (libm-sysdep_routines): Add generic rule for symbols shared with
18883 libc. Add s_signbit-generic and s_signbitf-generic objects.
18884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
18885 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
18886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
18887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
18888 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
18889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18891 2017-11-29 Joseph Myers <joseph@codesourcery.com>
18893 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
18894 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
18895 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
18896 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
18897 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
18898 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
18899 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
18900 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
18901 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
18902 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
18903 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
18904 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
18905 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
18906 libm_alias_float_r.
18907 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
18908 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
18910 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
18911 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
18912 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
18913 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
18914 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
18915 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
18916 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
18917 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
18918 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
18919 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
18921 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
18923 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
18924 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
18925 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
18926 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
18927 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
18928 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
18929 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
18930 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
18931 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
18932 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
18933 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
18934 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
18935 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
18936 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
18937 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
18938 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
18939 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
18940 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
18941 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
18943 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
18944 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
18945 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
18946 * sysdeps/ia64/fpu/w_lgammaf_main.c
18947 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
18948 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
18950 2017-11-28 Mike FABIAN <mfabian@redhat.com>
18951 Alexandre Oliva <aoliva@redhat.com>
18954 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
18955 * localedata/fr_CA.UTF-8.in: New file with test data for backward
18957 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
18959 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
18960 * localedata/locales/de_DE (LC_COLLATE): Likewise.
18961 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
18962 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
18963 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
18964 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
18965 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
18966 instead of “ifdef DIACRIT_BACKWARD”.
18968 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18970 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
18971 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
18972 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18973 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
18974 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
18975 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18984 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
18985 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18986 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
18987 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18989 ($(have-as-vis3) == yes): Remove conditional.
18990 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
18996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
18998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19006 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19007 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19009 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19011 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19012 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19013 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19014 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19015 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19016 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19017 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19018 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19019 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19020 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19021 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19022 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19023 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19024 libm_alias_double_r.
19025 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19027 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19028 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19029 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19030 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19031 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19032 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19033 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19034 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19035 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19036 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19037 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19039 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19041 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19042 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19043 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19044 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19045 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19046 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19047 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19048 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19049 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19050 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19051 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19052 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19053 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19054 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19055 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19056 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19057 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19058 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19060 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19061 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19062 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19063 * sysdeps/ia64/fpu/w_lgamma_main.c
19064 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19065 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19067 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
19069 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
19070 address of $global$ into %dp register earlier. Use pc-relative
19071 instruction sequence for PIC case.
19073 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19075 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
19076 (asinhf): Define using libm_alias_float.
19077 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
19078 (atanf): Define using libm_alias_float.
19079 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
19080 (cbrtf): Define using libm_alias_float.
19081 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
19082 (ceilf): Define using libm_alias_float.
19083 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19084 (copysignf): Define using libm_alias_float.
19085 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
19086 (expm1f): Define using libm_alias_float.
19087 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
19088 (fabsf): Define using libm_alias_float.
19089 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
19090 (floorf): Define using libm_alias_float.
19091 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19092 (fmaxf): Define using libm_alias_float.
19093 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
19094 (fminf): Define using libm_alias_float.
19095 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
19096 (frexpf): Define using libm_alias_float.
19097 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19098 (llrintf): Define using libm_alias_float.
19099 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
19100 (logbf): Define using libm_alias_float.
19101 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19102 (lrintf): Define using libm_alias_float.
19103 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
19104 (nearbyintf): Define using libm_alias_float.
19105 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
19106 (remquof): Define using libm_alias_float.
19107 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
19108 (rintf): Define using libm_alias_float.
19109 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
19110 (truncf): Define using libm_alias_float.
19111 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
19112 <libm-alias-float.h>.
19113 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19115 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
19116 <libm-alias-float.h>.
19117 (expf): Define using libm_alias_float, or libm_alias_float_other
19119 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
19120 <libm-alias-float.h>.
19121 (log2f): Define using libm_alias_float, or libm_alias_float_other
19123 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
19124 <libm-alias-float.h>.
19125 (logf): Define using libm_alias_float, or libm_alias_float_other
19127 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
19128 <libm-alias-float.h>.
19129 (powf): Define using libm_alias_float, or libm_alias_float_other
19131 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
19132 <libm-alias-float.h>.
19133 (cosf): Define using libm_alias_float.
19134 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
19135 <libm-alias-float.h>.
19136 (sincosf): Define using libm_alias_float.
19137 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
19138 <libm-alias-float.h>.
19139 (sinf): Define using libm_alias_float.
19140 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19141 (fmaxf): Define using libm_alias_float.
19142 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
19143 (fminf): Define using libm_alias_float.
19144 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19145 <libm-alias-float.h>.
19146 (fmaf): Define using libm_alias_float.
19148 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
19149 (asinh): Define using libm_alias_double.
19150 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
19151 (atan): Define using libm_alias_double.
19152 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
19153 (cbrt): Define using libm_alias_double.
19154 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
19155 (ceil): Define using libm_alias_double.
19156 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
19157 (copysign): Define using libm_alias_double.
19158 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
19159 (expm1): Define using libm_alias_double.
19160 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
19161 (fabs): Define using libm_alias_double.
19162 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
19163 (fdim): Define using libm_alias_double.
19164 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
19165 (floor): Define using libm_alias_double.
19166 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
19167 (fmax): Define using libm_alias_double.
19168 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
19169 (fmin): Define using libm_alias_double.
19170 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
19171 (frexp): Define using libm_alias_double.
19172 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
19173 (llrint): Define using libm_alias_double.
19174 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
19175 (logb): Define using libm_alias_double.
19176 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
19177 (lrint): Define using libm_alias_double.
19178 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
19179 (nearbyint): Define using libm_alias_double.
19180 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
19181 (remquo): Define using libm_alias_double.
19182 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
19183 (rint): Define using libm_alias_double.
19184 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
19185 (trunc): Define using libm_alias_double.
19186 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
19187 (fmax): Define using libm_alias_double.
19188 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
19189 (fmin): Define using libm_alias_double.
19190 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
19191 (fma): Define using libm_alias_double.
19193 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
19196 * elf/dl-hwcaps.c (ROUND): Removed.
19197 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
19198 and ELF_NOTE_NEXT_OFFSET.
19199 * elf/dl-load.c (ROUND): Removed.
19200 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19201 * elf/readelflib.c (ROUND): Removed.
19202 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19203 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
19204 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
19205 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
19207 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19209 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19210 [!__fmaf] (fmaf): Define using libm_alias_float.
19212 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
19213 [!__fma] (fma): Define using libm_alias_double.
19214 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
19216 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19219 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
19220 and implement the collation rules for cs from CLDR on top of that.
19221 * Makefile: Add cs_CZ.UTF-8 to test-input.
19222 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
19224 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
19226 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
19228 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19229 Icarus Sparry <icarus.w.sparry@intel.com>
19231 * benchtests/Makefile:Add BENCHSET to allow subsets of
19232 benchmarks to be run.
19233 * benchtests/README: Add documentation for: Running subsets of
19236 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19238 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
19239 range of tests names.
19241 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
19242 result from property and remove "max", min" and "mean" from
19243 required properties based on benchtests/bench-skeleton.c.
19245 2017-11-28 Florian Weimer <fweimer@redhat.com>
19248 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
19249 due to Internet requirement.
19250 * posix/Makefile (tests): Remove tst-getaddrinfo4,
19252 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
19254 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19256 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19257 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
19258 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19259 (sysdep_routines): Add memset-ultra1.
19260 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
19262 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
19263 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
19264 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
19265 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
19266 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
19267 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
19268 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
19269 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19271 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
19273 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
19274 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
19275 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
19276 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
19277 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
19278 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
19279 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
19281 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19282 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
19283 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19284 (sysdep_routines): Add memcpy-ultra1.
19285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
19286 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
19288 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19290 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
19291 (cfloat_versions): Take function argument without trailing 'f'.
19292 Call libm_alias_float_other.
19293 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
19294 * sysdeps/alpha/fpu/cargf.c: Likewise.
19295 * sysdeps/alpha/fpu/cimagf.c: Likewise.
19296 * sysdeps/alpha/fpu/conjf.c: Likewise.
19297 * sysdeps/alpha/fpu/crealf.c: Likewise.
19298 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
19299 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
19300 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
19301 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
19302 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
19303 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
19304 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
19305 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19306 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
19307 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
19308 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
19309 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
19310 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
19311 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
19312 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
19313 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
19314 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
19315 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
19316 (clog10f): Use libm_alias_float_other.
19317 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19318 (ceilf): Define using libm_alias_float.
19319 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
19320 (copysignf): Define using libm_alias_float.
19321 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19322 (fabsf): Define using libm_alias_float.
19323 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
19324 (floorf): Define using libm_alias_float.
19325 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
19326 (fmaxf): Define using libm_alias_float.
19327 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
19328 (fminf): Define using libm_alias_float.
19329 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19330 (lrintf): Define using libm_alias_float.
19331 (llrintf): Likewise.
19332 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19333 (lroundf): Define using libm_alias_float.
19334 (llroundf): Likewise.
19335 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
19336 (rintf): Define using libm_alias_float.
19337 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
19338 (truncf): Define using libm_alias_float.
19340 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19341 (ceilf): Define using libm_alias_float.
19342 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
19343 (floorf): Define using libm_alias_float.
19344 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19345 (fmaf): Define using libm_alias_float.
19346 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
19347 (fmaxf): Define using libm_alias_float.
19348 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
19349 (fminf): Define using libm_alias_float.
19350 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
19351 (llrintf): Define using libm_alias_float.
19352 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
19353 (llroundf): Define using libm_alias_float.
19354 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19355 (lrintf): Define using libm_alias_float.
19356 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19357 (lroundf): Define using libm_alias_float.
19358 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
19359 <libm-alias-float.h>.
19360 (nearbyintf): Define using libm_alias_float.
19361 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
19362 (rintf): Define using libm_alias_float.
19363 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
19364 (roundf): Define using libm_alias_float.
19365 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
19366 (truncf): Define using libm_alias_float.
19368 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
19369 (ceil): Define using libm_alias_double.
19370 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
19371 (copysign): Define using libm_alias_double.
19372 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
19373 (fabs): Define using libm_alias_double.
19374 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
19375 (floor): Define using libm_alias_double.
19376 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
19377 (fmax): Define using libm_alias_double.
19378 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
19379 (fmin): Define using libm_alias_double.
19380 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
19381 (lrint): Define using libm_alias_double.
19382 (llrint): Likewise.
19383 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
19384 (lround): Define using libm_alias_double.
19385 (llround): Likewise.
19386 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
19387 (rint): Define using libm_alias_double.
19388 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
19389 (trunc): Define using libm_alias_double.
19391 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
19392 (libm_alias_double_r): Add semicolon after weak_alias call.
19394 2017-11-27 Joseph Myers <joseph@codesourcery.com>
19396 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
19397 (ceil): Define using libm_alias_double.
19398 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
19399 (floor): Define using libm_alias_double.
19400 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
19401 (fma): Define using libm_alias_double.
19402 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
19403 (fmax): Define using libm_alias_double.
19404 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
19405 (fmin): Define using libm_alias_double.
19406 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
19407 (llrint): Define using libm_alias_double.
19408 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
19409 (llround): Define using libm_alias_double.
19410 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
19411 (lrint): Define using libm_alias_double.
19412 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
19413 (lround): Define using libm_alias_double.
19414 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
19415 (nearbyint): Define using libm_alias_double.
19416 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
19417 (rint): Define using libm_alias_double.
19418 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
19419 (round): Define using libm_alias_double.
19420 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
19421 (trunc): Define using libm_alias_double.
19423 2017-11-27 Florian Weimer <fweimer@redhat.com>
19425 * sysdeps/unix/sysv/linux/mlock2.c: New file.
19426 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
19427 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
19428 (tests): Add tst-mlock2.
19429 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
19430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
19431 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
19432 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
19433 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
19434 for mlock. Document mlock2.
19436 2017-11-27 Joseph Myers <joseph@codesourcery.com>
19438 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
19439 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
19441 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
19443 * sysdeps/x86/Makeconfig: New file.
19444 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
19445 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19446 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
19447 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19448 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19449 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19450 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
19452 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19453 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19454 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19455 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19456 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19457 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19458 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19459 * manual/math.texi (Mathematics): Document support for _Float64x.
19460 * math/Versions (GLIBC_2.27): Add _Float64x functions.
19461 * stdlib/Versions (GLIBC_2.27): Likewise.
19462 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19463 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19464 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19465 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19466 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19467 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19468 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19469 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19470 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19471 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19472 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19473 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19478 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19479 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19480 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19481 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19482 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19483 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19484 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19485 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19486 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19487 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19488 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19489 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19490 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19491 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19493 2017-11-27 Andreas Schwab <schwab@suse.de>
19495 * elf/Makefile (dl-routines): Add dl-sort-maps.
19496 * elf/dl-sort-maps.c: New file.
19497 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
19498 (_dl_sort_maps): Declare.
19499 * elf/dl-fini.c (_dl_sort_fini): Remove.
19500 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
19501 * elf/dl-close.c (_dl_close_worker): Likewise.
19502 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
19504 * elf/dl-open.c (dl_open_worker): Likewise.
19506 2017-11-24 Joseph Myers <joseph@codesourcery.com>
19508 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
19509 using libm_alias_float128.
19510 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
19512 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
19514 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
19515 (setpayloadsigf128): Likewise.
19516 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
19518 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
19521 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
19522 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
19523 -mfloat128 to CFLAGS.
19525 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
19527 (CFLAGS-libm-test-support-float64x.c): New variable.
19528 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
19529 $(f128-loader-link) to gnulib-tests.
19531 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
19532 (libm_alias_float128_other_r): If
19533 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
19535 (libm_alias_float128_r): Add semicolon after weak_alias call.
19536 * sysdeps/generic/libm-alias-ldouble.h
19537 (libm_alias_ldouble_other_r_f128): New macro.
19538 (libm_alias_ldouble_other_r_f64x): Likewise.
19539 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19540 and libm_alias_ldouble_other_r_f64x.
19541 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
19542 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
19543 (libm_alias_ldouble_other_r_f128): New macro.
19544 (libm_alias_ldouble_other_r_f64x): Likewise.
19545 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19546 and libm_alias_ldouble_other_r_f64x.
19548 * stdlib/strfroml.c: Always include <stdlib.h>.
19549 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
19550 undefine as macro and define as weak alias.
19551 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
19552 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
19554 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
19555 Define and later undefine as macro and define as weak alias.
19557 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19558 Define and later undefine as macro. Define as weak alias if
19560 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
19561 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19562 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
19563 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19564 Define and later undefine as macro. Define as weak alias if
19566 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
19567 Define and later undefine as macro. Define as weak alias if
19569 * sysdeps/ieee754/float128/strtof128_l.c
19570 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
19571 Define and later undefine as macro. Define as weak alias if
19573 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
19574 Define and later undefine as macro. Define as weak alias if
19576 * sysdeps/ieee754/ldbl-128/strtold_l.c
19577 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19578 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19579 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19580 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19581 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
19582 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19583 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19584 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19585 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19586 * sysdeps/ieee754/ldbl-96/strtold_l.c
19587 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19588 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19589 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19590 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19592 * math/test-float64x.h: New file.
19593 * math/Makefile (type-float64x-yes): New variable.
19594 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
19596 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
19597 function-like macro.
19598 (min_of_type_): Likewise.
19599 (min_of_type_l): Likewise.
19600 (min_of_type_f128): Likewise.
19601 (min_of_type): Pass () as last argument of __MATH_TG.
19603 * stdlib/tst-strtod-round-skeleton.c
19604 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
19607 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
19608 for combinations of long double with _Float64 and _Float64x.
19610 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
19611 (__DECL_SIMD_cosf32): Likewise.
19612 (__DECL_SIMD_cosf64): Likewise.
19613 (__DECL_SIMD_cosf32x): Likewise.
19614 (__DECL_SIMD_cosf64x): Likewise.
19615 (__DECL_SIMD_cosf128x): Likewise.
19616 (__DECL_SIMD_sinf16): Likewise.
19617 (__DECL_SIMD_sinf32): Likewise.
19618 (__DECL_SIMD_sinf64): Likewise.
19619 (__DECL_SIMD_sinf32x): Likewise.
19620 (__DECL_SIMD_sinf64x): Likewise.
19621 (__DECL_SIMD_sinf128x): Likewise.
19622 (__DECL_SIMD_sincosf16): Likewise.
19623 (__DECL_SIMD_sincosf32): Likewise.
19624 (__DECL_SIMD_sincosf64): Likewise.
19625 (__DECL_SIMD_sincosf32x): Likewise.
19626 (__DECL_SIMD_sincosf64x): Likewise.
19627 (__DECL_SIMD_sincosf128x): Likewise.
19628 (__DECL_SIMD_logf16): Likewise.
19629 (__DECL_SIMD_logf32): Likewise.
19630 (__DECL_SIMD_logf64): Likewise.
19631 (__DECL_SIMD_logf32x): Likewise.
19632 (__DECL_SIMD_logf64x): Likewise.
19633 (__DECL_SIMD_logf128x): Likewise.
19634 (__DECL_SIMD_expf16): Likewise.
19635 (__DECL_SIMD_expf32): Likewise.
19636 (__DECL_SIMD_expf64): Likewise.
19637 (__DECL_SIMD_expf32x): Likewise.
19638 (__DECL_SIMD_expf64x): Likewise.
19639 (__DECL_SIMD_expf128x): Likewise.
19640 (__DECL_SIMD_powf16): Likewise.
19641 (__DECL_SIMD_powf32): Likewise.
19642 (__DECL_SIMD_powf64): Likewise.
19643 (__DECL_SIMD_powf32x): Likewise.
19644 (__DECL_SIMD_powf64x): Likewise.
19645 (__DECL_SIMD_powf128x): Likewise.
19647 * stdlib/Versions (libc): Move entries for wcstof128 and
19648 wcstof128_l to ....
19649 * wcsmbs/Versions (libc): ... here.
19650 Include <float128-abi.h>.
19652 2017-11-24 Florian Weimer <fweimer@redhat.com>
19654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19655 bits/mman-shared.h.
19656 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
19657 <bits/mman-shared.h>.
19658 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
19660 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
19661 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
19662 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
19663 <bits/mman-shared.h>.
19665 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19668 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
19669 posix_memalign/free.
19670 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
19672 2017-11-22 Mike FABIAN <mfabian@redhat.com>
19675 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
19676 and implement the collation rules for pl from CLDR on top of that.
19677 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
19678 of locales to be built for testing.
19679 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
19681 2017-11-23 Joseph Myers <joseph@codesourcery.com>
19683 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
19684 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
19685 libm_alias_ldouble_other.
19686 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
19687 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
19688 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
19689 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
19690 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
19691 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
19692 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
19693 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
19694 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
19695 libm_alias_ldouble_r.
19696 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
19697 libm_alias_ldouble_other.
19698 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
19699 (log10l): Likewise.
19700 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
19701 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
19702 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
19703 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
19704 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
19705 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
19706 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
19707 (atan2l): Likewise.
19708 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
19709 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
19710 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
19711 libm_alias_ldouble.
19712 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
19714 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
19715 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
19716 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
19718 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
19719 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
19720 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
19721 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
19722 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
19723 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
19724 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
19725 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
19726 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
19727 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
19728 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
19729 libm_alias_ldouble.
19730 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
19731 libm_alias_ldouble_other.
19732 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
19733 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
19734 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
19735 libm_alias_ldouble.
19736 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
19737 libm_alias_ldouble_other.
19738 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
19739 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
19740 * sysdeps/ia64/fpu/w_lgammal_main.c
19741 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
19742 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
19744 2017-11-23 Florian Weimer <fweimer@redhat.com>
19746 * malloc/malloc.c (tcache_thread_shutdown): Rename from
19747 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
19748 alike. Remove freeres marker.
19749 * malloc/arena.c (arena_thread_freeres): Call
19750 tcache_thread_shutdown.
19752 2017-11-23 Florian Weimer <fweimer@redhat.com>
19755 Export nscd hash function as __nss_hash.
19756 * include/nss.h (__nss_hash): Declare.
19757 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
19759 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
19760 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
19762 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
19763 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
19764 * nss/Makefiles (routines): Add nss_hash.
19765 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
19766 * nss/nss_hash.c: Rename from nis/nis_hash.c.
19767 (__nss_hash): Rename from __nis_hash. Define hidden alias.
19768 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
19770 2017-11-23 Florian Weimer <fweimer@redhat.com>
19773 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
19774 Return error code, not -1.
19775 * signal/tst-sigwait-eintr.c: New file.
19776 * signal/Makefile (tests): Add tst-sigwait-eintr.
19778 2017-11-23 Florian Weimer <fweimer@redhat.com>
19780 Linux: Add memfd_create system call wrapper
19781 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
19783 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
19784 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
19785 [__USE_GNU] (memfd_create): Declare.
19786 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
19787 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
19788 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
19789 * sysdeps/unix/sysv/linux/**.abilist: Update.
19790 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
19792 2017-11-22 Joseph Myers <joseph@codesourcery.com>
19794 * localedata/gen-locale.sh: Fix typo in variable name.
19796 * resolv/res_debug.c (p_secstodate): Condition definition on
19797 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
19798 directly as __p_secstodate, and as a compat symbol. Do not use
19799 libresolv_hidden_def.
19800 * resolv/resolv.h (p_secstodate): Remove macro and function
19802 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
19803 using p_secstodate.
19804 * include/resolv.h (__p_secstodate): Do not use
19805 libresolv_hidden_proto.
19806 * resolv/Makefile (tests): Move tst-p_secstodate to ....
19807 (tests-internal): ... here.
19808 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
19809 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
19810 and declare and use __p_secstodate and use compat_symbol_reference
19812 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
19813 implementation returning 77.
19816 * resolv/res_debug.c: Include <libc-diag.h>.
19817 (p_secstodate): Assert time_t at least as wide as u_long. On
19818 overflow, use integer seconds since the epoch as output, or use
19819 "<overflow>" as output and set errno to EOVERFLOW if integer
19820 seconds since the epoch would be 14 or more characters.
19821 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
19823 * resolv/tst-p_secstodate.c: New file.
19824 * resolv/Makefile (tests): Add tst-p_secstodate.
19825 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
19827 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
19828 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19829 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
19831 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
19833 * posix/regcomp.c (init_word_char): Add comments.
19835 2017-11-22 Joseph Myers <joseph@codesourcery.com>
19838 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
19839 strlen to compute length of ut_user and set trailing NUL byte of
19842 2017-11-21 Mike FABIAN <mfabian@redhat.com>
19845 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
19846 using “copy "iso14651_t1"” and then implementing the
19847 collation rules for lv from CLDR on top of that.
19848 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
19849 of locales to be built for testing.
19850 * lv_LV.UTF-8.in: New file with test data to test the Latvian
19853 2017-11-21 Joseph Myers <joseph@codesourcery.com>
19855 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
19856 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
19857 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
19858 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
19859 [__USE_MISC] (MADV_HWPOISON): New macro.
19860 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
19862 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19864 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
19865 -Wmissing-braces on GCC 4.9.
19867 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
19869 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
19870 * sysdeps/s390/s390-32/start.S (_start): Likewise
19871 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
19872 (thread_start): Likewise.
19873 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
19874 (thread_start): Likewise.
19875 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
19876 (__makecontext_ret): Likewise.
19877 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
19878 (__makecontext_ret): Likewise.
19880 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
19882 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
19883 __wcschrnul): Remove attribute_hidden.
19885 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
19887 regex: don't assume uint64_t or uint32_t
19888 This avoids -Werror=overflow errors for 32-bit systems in
19889 the 64-bit case. Problem reported by Joseph Myers in:
19890 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
19891 Also, when this code is used in Gnulib it ports to platforms
19892 that lack uint64_t and uint32_t. The C standard doesn't guarantee
19893 them, and on some 32-bit compilers there is no uint64_t.
19894 Problem reported by Gianluigi Tiesi in:
19895 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
19896 * posix/regcomp.c (init_word_char): Don't assume that the types
19897 uint64_t and uint32_t exist. Adapted from Gnulib patch
19898 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
19899 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
19901 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
19903 * sysdeps/aarch64/memset-reg.h: New file.
19904 * sysdeps/aarch64/memset.S: Use it.
19905 (__memset): Rename to MEMSET macro.
19906 [ZVA_MACRO]: Use zva_macro.
19907 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19908 Add memset_generic and memset_falkor.
19909 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
19910 (__libc_ifunc_impl_list): Add memset ifuncs.
19911 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
19912 local variable zva_size.
19913 * sysdeps/aarch64/multiarch/memset.c: New file.
19914 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
19915 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
19916 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
19917 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
19918 (DCZID_DZP_MASK): New macro.
19919 (DCZID_BS_MASK): Likewise.
19920 (init_cpu_features): Read and set zva_size.
19921 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
19922 (struct cpu_features): New member zva_size.
19924 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
19925 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
19926 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
19928 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
19929 backwards. Fix timing computation.
19930 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
19931 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
19932 on memset by N at a time. Fix timing computation.
19934 2017-11-20 Florian Weimer <fweimer@redhat.com>
19936 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
19937 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
19939 2017-11-19 Florian Weimer <fweimer@redhat.com>
19941 manual: Document mprotect
19942 * manual/memory.texi (Memory Protection): New section.
19943 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
19944 documentation of PROT_* flags and reference the Memory Protection
19947 2017-11-19 Florian Weimer <fweimer@redhat.com>
19949 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
19950 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
19951 (Scatter-Gather): ... to here. Remove misleading comment.
19953 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
19955 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
19958 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
19959 when /proc/<pid>/setgroups does not exist.
19961 2017-11-18 Florian Weimer <fweimer@redhat.com>
19963 * sysdeps/unix/sysv/linux/tst-ttyname.c
19964 (become_root_in_mount_ns): Remove.
19965 (do_in_chroot_1): Call support_enter_mount_namespace.
19966 (do_in_chroot_2): Likewise.
19967 (do_test): Call support_become_root early.
19969 2017-11-18 Florian Weimer <fweimer@redhat.com>
19971 * support/namespace.h (support_enter_mount_namespace): Declare.
19972 * support/support_enter_mount_namespace.c: New file.
19973 * support/Makefile (libsupport-routines): Add
19974 support_enter_mount_namespace.
19976 2017-11-18 Florian Weimer <fweimer@redhat.com>
19978 * support/temp_file.c (support_create_temp_directory): Use
19979 test_dir and do not rely on the presence of the XXXXXX suffix.
19980 * support/temp_file.h (support_create_temp_directory): Update
19982 * support/tst-xreadlink.c (do_test): Adjust.
19983 * support/support_chroot.c (support_chroot_create): Likewise.
19985 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19987 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
19989 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
19992 2017-11-17 Joseph Myers <joseph@codesourcery.com>
19994 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19995 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19996 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19997 (ceill): Define using libm_alias_ldouble.
19998 * sysdeps/x86_64/fpu/s_copysignl.S: Include
19999 <libm-alias-ldouble.h>.
20000 (copysignl): Define using libm_alias_ldouble.
20001 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20002 (fabsl): Define using libm_alias_ldouble.
20003 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20004 (floorl): Define using libm_alias_ldouble.
20005 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20006 (fmaxl): Define using libm_alias_ldouble.
20007 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20008 (fminl): Define using libm_alias_ldouble.
20009 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20010 (llrintl): Define using libm_alias_ldouble.
20011 (lrintl): Likewise.
20012 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20013 <libm-alias-ldouble.h>.
20014 (nearbyintl): Define using libm_alias_ldouble.
20015 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20016 (truncl): Define using libm_alias_ldouble.
20017 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20018 <libm-alias-ldouble.h>.
20019 (lrintl): Define using libm_alias_ldouble.
20021 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20022 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20023 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20024 (asinhl): Define using libm_alias_ldouble.
20025 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20026 (atanl): Define using libm_alias_ldouble.
20027 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20028 (cbrtl): Define using libm_alias_ldouble.
20029 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20030 (ceill): Define using libm_alias_ldouble.
20031 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20032 (copysignl): Define using libm_alias_ldouble.
20033 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20034 (fabsl): Define using libm_alias_ldouble.
20035 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20036 (floorl): Define using libm_alias_ldouble.
20037 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20038 (fmaxl): Define using libm_alias_ldouble.
20039 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20040 (fminl): Define using libm_alias_ldouble.
20041 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20042 (frexpl): Define using libm_alias_ldouble.
20043 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20044 (llrintl): Define using libm_alias_ldouble.
20045 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20046 (logbl): Define using libm_alias_ldouble.
20047 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20048 (lrintl): Define using libm_alias_ldouble.
20049 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20050 (nearbyintl): Define using libm_alias_ldouble.
20051 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20052 (nextafterl): Define using libm_alias_ldouble.
20053 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20054 (remquol): Define using libm_alias_ldouble.
20055 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20056 (rintl): Define using libm_alias_ldouble.
20057 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20058 (truncl): Define using libm_alias_ldouble.
20059 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20060 (fmaxl): Define using libm_alias_ldouble.
20061 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20062 (fminl): Define using libm_alias_ldouble.
20064 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20065 to C syntax instead of availability and properties of types.
20066 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20067 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20068 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
20069 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
20070 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
20071 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
20073 2017-11-17 Florian Weimer <fweimer@redhat.com>
20075 support_become_root: Enable file creation in namespaces.
20076 * support/support_become_root.c (setup_mapping): New function.
20077 (support_become_root): Call it.
20079 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20081 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
20084 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20086 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
20087 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
20089 2017-11-16 Joseph Myers <joseph@codesourcery.com>
20091 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
20093 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20096 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20098 * INSTALL: Fix botched up regeneration.
20100 * NEWS: Update sourceare link to https.
20101 * configure.ac: Likewise.
20102 * crypt/md5test-giant.c: Likewise.
20103 * dlfcn/bug-atexit1.c: Likewise.
20104 * dlfcn/bug-atexit2.c: Likewise.
20105 * localedata/README: Likewise.
20106 * malloc/tst-mallocfork.c: Likewise.
20107 * manual/install.texi: Likewise.
20108 * nptl/tst-pthread-getattr.c: Likewise.
20109 * stdio-common/tst-fgets.c: Likewise.
20110 * stdio-common/tst-fwrite.c: Likewise.
20111 * sunrpc/Makefile: Likewise.
20112 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
20113 * wcsmbs/tst-mbrtowc2.c: Likewise.
20114 * configure: Regenerate.
20115 * INSTALL: Regenerate.
20117 2017-11-15 Martin Sebor <msebor@redhat.com>
20119 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
20120 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
20121 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
20123 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20126 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
20127 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
20130 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
20131 Defer is_pty check until end of the function.
20132 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20135 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
20136 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
20137 (ttyname): Likewise.
20138 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
20139 (__ttyname_r): Likewise.
20141 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
20144 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
20146 * manual/terminal.texi (Is It a Terminal):
20147 Mention ENODEV for ttyname and ttyname_r.
20149 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20151 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
20152 constant and macro.
20154 * sysdeps/unix/sysv/linux/bits/mman-linux.h
20155 [__USE_MISC] (MADV_WIPEONFORK): New macro.
20156 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20157 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20158 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
20159 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20161 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20163 * signal/sigrelse.c (sigrelse): Optimize implementation.
20165 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
20166 (__sigpause): Rely on __sigsuspend to implement single thread
20167 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
20169 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20171 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20172 kernel version to 4.14.
20174 2017-11-15 Steve Ellcey <sellcey@cavium.com>
20177 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
20178 Check if ifname is too long.
20180 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20182 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
20184 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20186 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
20187 was accidentally lost.
20189 2017-11-15 Mike FABIAN <mfabian@redhat.com>
20191 * localedata/locales/az_IR: Add standard copyright header.
20193 2017-11-15 Florian Weimer <fweimer@redhat.com>
20196 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
20197 not just the top one. Output a new "subheaps" statistic.
20199 2017-11-15 Florian Weimer <fweimer@redhat.com>
20202 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
20203 under the per-arena lock.
20204 * malloc/Makefile (tests): Add tst-malloc_info.
20205 (tst-malloc_info): Link with libpthread.
20206 * malloc/tst-malloc_info.c: New file.
20208 2017-11-15 Joseph Myers <joseph@codesourcery.com>
20211 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
20212 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
20213 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
20214 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
20215 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
20216 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
20217 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
20218 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
20219 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
20220 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
20221 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
20222 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
20223 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
20224 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
20225 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
20226 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
20227 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
20228 (__floating_type): Likewise.
20229 (__real_integer_type): Likewise.
20230 (__complex_integer_type): Likewise.
20231 (__expr_is_real): Likewise.
20232 (__tgmath_real_type_sub): Likewise.
20233 (__tgmath_real_type): Likewise.
20234 (__tgmath_complex_type_sub): Likewise.
20235 (__tgmath_complex_type): Likewise.
20236 (__TGMATH_F128): Likewise.
20237 (__TGMATH_CF128): Likewise.
20238 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
20240 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20241 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
20243 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
20245 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
20246 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20247 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20248 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
20250 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20251 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
20253 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
20254 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
20255 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
20257 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
20258 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
20259 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
20263 2017-11-14 Joseph Myers <joseph@codesourcery.com>
20265 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
20266 for stpncpy calls for GCC 8.
20267 (test_strncat): Disable -Wstringop-truncation warning for strncat
20268 calls for GCC 8. Disable -Wstringop-overflow= warning for one
20269 strncat call for GCC 7.
20270 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
20272 (test_memcmp): Use memcpy instead of strncpy for calls not copying
20275 * string/bug-strncat1.c: Include <libc-diag.h>.
20276 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
20278 2017-11-13 Claude Paroz <claude@2xlibre.net>
20281 * localedata/locales/aa_DJ: Improved readibility by replacing
20282 <Uxxxx> sequences in the ASCII printable range by their ASCII
20283 character equivalents.
20284 * localedata/locales/aa_ER: Likewise.
20285 * localedata/locales/aa_ER@saaho: Likewise.
20286 * localedata/locales/aa_ET: Likewise.
20287 * localedata/locales/af_ZA: Likewise.
20288 * localedata/locales/agr_PE: Likewise.
20289 * localedata/locales/ak_GH: Likewise.
20290 * localedata/locales/am_ET: Likewise.
20291 * localedata/locales/anp_IN: Likewise.
20292 * localedata/locales/ar_AE: Likewise.
20293 * localedata/locales/ar_BH: Likewise.
20294 * localedata/locales/ar_DZ: Likewise.
20295 * localedata/locales/ar_EG: Likewise.
20296 * localedata/locales/ar_IN: Likewise.
20297 * localedata/locales/ar_IQ: Likewise.
20298 * localedata/locales/ar_JO: Likewise.
20299 * localedata/locales/ar_KW: Likewise.
20300 * localedata/locales/ar_LB: Likewise.
20301 * localedata/locales/ar_LY: Likewise.
20302 * localedata/locales/ar_MA: Likewise.
20303 * localedata/locales/ar_OM: Likewise.
20304 * localedata/locales/ar_QA: Likewise.
20305 * localedata/locales/ar_SA: Likewise.
20306 * localedata/locales/ar_SD: Likewise.
20307 * localedata/locales/ar_SS: Likewise.
20308 * localedata/locales/ar_SY: Likewise.
20309 * localedata/locales/ar_TN: Likewise.
20310 * localedata/locales/ar_YE: Likewise.
20311 * localedata/locales/as_IN: Likewise.
20312 * localedata/locales/ast_ES: Likewise.
20313 * localedata/locales/ayc_PE: Likewise.
20314 * localedata/locales/az_AZ: Likewise.
20315 * localedata/locales/az_IR: Likewise.
20316 * localedata/locales/be_BY: Likewise.
20317 * localedata/locales/be_BY@latin: Likewise.
20318 * localedata/locales/bem_ZM: Likewise.
20319 * localedata/locales/ber_DZ: Likewise.
20320 * localedata/locales/ber_MA: Likewise.
20321 * localedata/locales/bg_BG: Likewise.
20322 * localedata/locales/bhb_IN: Likewise.
20323 * localedata/locales/bho_IN: Likewise.
20324 * localedata/locales/bi_VU: Likewise.
20325 * localedata/locales/bn_BD: Likewise.
20326 * localedata/locales/bn_IN: Likewise.
20327 * localedata/locales/bo_CN: Likewise.
20328 * localedata/locales/bo_IN: Likewise.
20329 * localedata/locales/br_FR: Likewise.
20330 * localedata/locales/brx_IN: Likewise.
20331 * localedata/locales/bs_BA: Likewise.
20332 * localedata/locales/byn_ER: Likewise.
20333 * localedata/locales/ca_AD: Likewise.
20334 * localedata/locales/ca_ES: Likewise.
20335 * localedata/locales/ca_FR: Likewise.
20336 * localedata/locales/ca_IT: Likewise.
20337 * localedata/locales/ce_RU: Likewise.
20338 * localedata/locales/chr_US: Likewise.
20339 * localedata/locales/cmn_TW: Likewise.
20340 * localedata/locales/crh_UA: Likewise.
20341 * localedata/locales/cs_CZ: Likewise.
20342 * localedata/locales/csb_PL: Likewise.
20343 * localedata/locales/cv_RU: Likewise.
20344 * localedata/locales/cy_GB: Likewise.
20345 * localedata/locales/da_DK: Likewise.
20346 * localedata/locales/de_AT: Likewise.
20347 * localedata/locales/de_BE: Likewise.
20348 * localedata/locales/de_CH: Likewise.
20349 * localedata/locales/de_DE: Likewise.
20350 * localedata/locales/de_IT: Likewise.
20351 * localedata/locales/de_LI: Likewise.
20352 * localedata/locales/de_LU: Likewise.
20353 * localedata/locales/doi_IN: Likewise.
20354 * localedata/locales/dv_MV: Likewise.
20355 * localedata/locales/dz_BT: Likewise.
20356 * localedata/locales/el_CY: Likewise.
20357 * localedata/locales/el_GR: Likewise.
20358 * localedata/locales/en_AG: Likewise.
20359 * localedata/locales/en_AU: Likewise.
20360 * localedata/locales/en_BW: Likewise.
20361 * localedata/locales/en_CA: Likewise.
20362 * localedata/locales/en_DK: Likewise.
20363 * localedata/locales/en_GB: Likewise.
20364 * localedata/locales/en_HK: Likewise.
20365 * localedata/locales/en_IE: Likewise.
20366 * localedata/locales/en_IL: Likewise.
20367 * localedata/locales/en_IN: Likewise.
20368 * localedata/locales/en_NG: Likewise.
20369 * localedata/locales/en_NZ: Likewise.
20370 * localedata/locales/en_PH: Likewise.
20371 * localedata/locales/en_SG: Likewise.
20372 * localedata/locales/en_US: Likewise.
20373 * localedata/locales/en_ZA: Likewise.
20374 * localedata/locales/en_ZM: Likewise.
20375 * localedata/locales/en_ZW: Likewise.
20376 * localedata/locales/eo: Likewise.
20377 * localedata/locales/es_AR: Likewise.
20378 * localedata/locales/es_BO: Likewise.
20379 * localedata/locales/es_CL: Likewise.
20380 * localedata/locales/es_CO: Likewise.
20381 * localedata/locales/es_CR: Likewise.
20382 * localedata/locales/es_CU: Likewise.
20383 * localedata/locales/es_DO: Likewise.
20384 * localedata/locales/es_EC: Likewise.
20385 * localedata/locales/es_ES: Likewise.
20386 * localedata/locales/es_GT: Likewise.
20387 * localedata/locales/es_HN: Likewise.
20388 * localedata/locales/es_MX: Likewise.
20389 * localedata/locales/es_NI: Likewise.
20390 * localedata/locales/es_PA: Likewise.
20391 * localedata/locales/es_PE: Likewise.
20392 * localedata/locales/es_PR: Likewise.
20393 * localedata/locales/es_PY: Likewise.
20394 * localedata/locales/es_SV: Likewise.
20395 * localedata/locales/es_US: Likewise.
20396 * localedata/locales/es_UY: Likewise.
20397 * localedata/locales/es_VE: Likewise.
20398 * localedata/locales/et_EE: Likewise.
20399 * localedata/locales/eu_ES: Likewise.
20400 * localedata/locales/eu_ES@euro: Likewise.
20401 * localedata/locales/fa_IR: Likewise.
20402 * localedata/locales/ff_SN: Likewise.
20403 * localedata/locales/fi_FI: Likewise.
20404 * localedata/locales/fil_PH: Likewise.
20405 * localedata/locales/fo_FO: Likewise.
20406 * localedata/locales/fr_BE: Likewise.
20407 * localedata/locales/fr_CA: Likewise.
20408 * localedata/locales/fr_CH: Likewise.
20409 * localedata/locales/fr_FR: Likewise.
20410 * localedata/locales/fr_LU: Likewise.
20411 * localedata/locales/fur_IT: Likewise.
20412 * localedata/locales/fy_DE: Likewise.
20413 * localedata/locales/fy_NL: Likewise.
20414 * localedata/locales/ga_IE: Likewise.
20415 * localedata/locales/gd_GB: Likewise.
20416 * localedata/locales/gez_ER: Likewise.
20417 * localedata/locales/gez_ET: Likewise.
20418 * localedata/locales/gl_ES: Likewise.
20419 * localedata/locales/gu_IN: Likewise.
20420 * localedata/locales/gv_GB: Likewise.
20421 * localedata/locales/ha_NG: Likewise.
20422 * localedata/locales/hak_TW: Likewise.
20423 * localedata/locales/he_IL: Likewise.
20424 * localedata/locales/hi_IN: Likewise.
20425 * localedata/locales/hif_FJ: Likewise.
20426 * localedata/locales/hne_IN: Likewise.
20427 * localedata/locales/hr_HR: Likewise.
20428 * localedata/locales/hsb_DE: Likewise.
20429 * localedata/locales/ht_HT: Likewise.
20430 * localedata/locales/hu_HU: Likewise.
20431 * localedata/locales/hy_AM: Likewise.
20432 * localedata/locales/i18n: Likewise.
20433 * localedata/locales/ia_FR: Likewise.
20434 * localedata/locales/id_ID: Likewise.
20435 * localedata/locales/ig_NG: Likewise.
20436 * localedata/locales/ik_CA: Likewise.
20437 * localedata/locales/is_IS: Likewise.
20438 * localedata/locales/it_CH: Likewise.
20439 * localedata/locales/it_IT: Likewise.
20440 * localedata/locales/iu_CA: Likewise.
20441 * localedata/locales/ja_JP: Likewise.
20442 * localedata/locales/ka_GE: Likewise.
20443 * localedata/locales/kk_KZ: Likewise.
20444 * localedata/locales/kl_GL: Likewise.
20445 * localedata/locales/kn_IN: Likewise.
20446 * localedata/locales/ko_KR: Likewise.
20447 * localedata/locales/kok_IN: Likewise.
20448 * localedata/locales/ks_IN: Likewise.
20449 * localedata/locales/ks_IN@devanagari: Likewise.
20450 * localedata/locales/ku_TR: Likewise.
20451 * localedata/locales/kw_GB: Likewise.
20452 * localedata/locales/ky_KG: Likewise.
20453 * localedata/locales/lb_LU: Likewise.
20454 * localedata/locales/lg_UG: Likewise.
20455 * localedata/locales/li_BE: Likewise.
20456 * localedata/locales/li_NL: Likewise.
20457 * localedata/locales/lij_IT: Likewise.
20458 * localedata/locales/ln_CD: Likewise.
20459 * localedata/locales/lo_LA: Likewise.
20460 * localedata/locales/lt_LT: Likewise.
20461 * localedata/locales/lv_LV: Likewise.
20462 * localedata/locales/lzh_TW: Likewise.
20463 * localedata/locales/mag_IN: Likewise.
20464 * localedata/locales/mai_IN: Likewise.
20465 * localedata/locales/mg_MG: Likewise.
20466 * localedata/locales/mhr_RU: Likewise.
20467 * localedata/locales/mi_NZ: Likewise.
20468 * localedata/locales/mk_MK: Likewise.
20469 * localedata/locales/ml_IN: Likewise.
20470 * localedata/locales/mn_MN: Likewise.
20471 * localedata/locales/mni_IN: Likewise.
20472 * localedata/locales/mr_IN: Likewise.
20473 * localedata/locales/ms_MY: Likewise.
20474 * localedata/locales/mt_MT: Likewise.
20475 * localedata/locales/my_MM: Likewise.
20476 * localedata/locales/nan_TW: Likewise.
20477 * localedata/locales/nan_TW@latin: Likewise.
20478 * localedata/locales/nb_NO: Likewise.
20479 * localedata/locales/nds_DE: Likewise.
20480 * localedata/locales/nds_NL: Likewise.
20481 * localedata/locales/ne_NP: Likewise.
20482 * localedata/locales/nhn_MX: Likewise.
20483 * localedata/locales/niu_NU: Likewise.
20484 * localedata/locales/niu_NZ: Likewise.
20485 * localedata/locales/nl_AW: Likewise.
20486 * localedata/locales/nl_BE: Likewise.
20487 * localedata/locales/nl_NL: Likewise.
20488 * localedata/locales/nn_NO: Likewise.
20489 * localedata/locales/nr_ZA: Likewise.
20490 * localedata/locales/nso_ZA: Likewise.
20491 * localedata/locales/oc_FR: Likewise.
20492 * localedata/locales/om_ET: Likewise.
20493 * localedata/locales/om_KE: Likewise.
20494 * localedata/locales/or_IN: Likewise.
20495 * localedata/locales/os_RU: Likewise.
20496 * localedata/locales/pa_IN: Likewise.
20497 * localedata/locales/pa_PK: Likewise.
20498 * localedata/locales/pap_AW: Likewise.
20499 * localedata/locales/pap_CW: Likewise.
20500 * localedata/locales/pl_PL: Likewise.
20501 * localedata/locales/ps_AF: Likewise.
20502 * localedata/locales/pt_BR: Likewise.
20503 * localedata/locales/pt_PT: Likewise.
20504 * localedata/locales/quz_PE: Likewise.
20505 * localedata/locales/raj_IN: Likewise.
20506 * localedata/locales/ro_RO: Likewise.
20507 * localedata/locales/ru_RU: Likewise.
20508 * localedata/locales/ru_UA: Likewise.
20509 * localedata/locales/rw_RW: Likewise.
20510 * localedata/locales/sa_IN: Likewise.
20511 * localedata/locales/sat_IN: Likewise.
20512 * localedata/locales/sc_IT: Likewise.
20513 * localedata/locales/sd_IN: Likewise.
20514 * localedata/locales/sd_IN@devanagari: Likewise.
20515 * localedata/locales/se_NO: Likewise.
20516 * localedata/locales/sgs_LT: Likewise.
20517 * localedata/locales/shs_CA: Likewise.
20518 * localedata/locales/si_LK: Likewise.
20519 * localedata/locales/sid_ET: Likewise.
20520 * localedata/locales/sk_SK: Likewise.
20521 * localedata/locales/sl_SI: Likewise.
20522 * localedata/locales/sm_WS: Likewise.
20523 * localedata/locales/so_DJ: Likewise.
20524 * localedata/locales/so_ET: Likewise.
20525 * localedata/locales/so_KE: Likewise.
20526 * localedata/locales/so_SO: Likewise.
20527 * localedata/locales/sq_AL: Likewise.
20528 * localedata/locales/sq_MK: Likewise.
20529 * localedata/locales/sr_ME: Likewise.
20530 * localedata/locales/sr_RS: Likewise.
20531 * localedata/locales/sr_RS@latin: Likewise.
20532 * localedata/locales/ss_ZA: Likewise.
20533 * localedata/locales/st_ZA: Likewise.
20534 * localedata/locales/sv_FI: Likewise.
20535 * localedata/locales/sv_SE: Likewise.
20536 * localedata/locales/sw_KE: Likewise.
20537 * localedata/locales/sw_TZ: Likewise.
20538 * localedata/locales/szl_PL: Likewise.
20539 * localedata/locales/ta_IN: Likewise.
20540 * localedata/locales/ta_LK: Likewise.
20541 * localedata/locales/tcy_IN: Likewise.
20542 * localedata/locales/te_IN: Likewise.
20543 * localedata/locales/tg_TJ: Likewise.
20544 * localedata/locales/th_TH: Likewise.
20545 * localedata/locales/the_NP: Likewise.
20546 * localedata/locales/ti_ER: Likewise.
20547 * localedata/locales/ti_ET: Likewise.
20548 * localedata/locales/tig_ER: Likewise.
20549 * localedata/locales/tk_TM: Likewise.
20550 * localedata/locales/tl_PH: Likewise.
20551 * localedata/locales/tn_ZA: Likewise.
20552 * localedata/locales/to_TO: Likewise.
20553 * localedata/locales/tpi_PG: Likewise.
20554 * localedata/locales/tr_CY: Likewise.
20555 * localedata/locales/tr_TR: Likewise.
20556 * localedata/locales/ts_ZA: Likewise.
20557 * localedata/locales/tt_RU: Likewise.
20558 * localedata/locales/tt_RU@iqtelif: Likewise.
20559 * localedata/locales/ug_CN: Likewise.
20560 * localedata/locales/uk_UA: Likewise.
20561 * localedata/locales/unm_US: Likewise.
20562 * localedata/locales/ur_IN: Likewise.
20563 * localedata/locales/ur_PK: Likewise.
20564 * localedata/locales/uz_UZ: Likewise.
20565 * localedata/locales/uz_UZ@cyrillic: Likewise.
20566 * localedata/locales/ve_ZA: Likewise.
20567 * localedata/locales/vi_VN: Likewise.
20568 * localedata/locales/wa_BE: Likewise.
20569 * localedata/locales/wae_CH: Likewise.
20570 * localedata/locales/wal_ET: Likewise.
20571 * localedata/locales/wo_SN: Likewise.
20572 * localedata/locales/xh_ZA: Likewise.
20573 * localedata/locales/yi_US: Likewise.
20574 * localedata/locales/yo_NG: Likewise.
20575 * localedata/locales/yue_HK: Likewise.
20576 * localedata/locales/yuw_PG: Likewise.
20577 * localedata/locales/zh_CN: Likewise.
20578 * localedata/locales/zh_HK: Likewise.
20579 * localedata/locales/zh_SG: Likewise.
20580 * localedata/locales/zh_TW: Likewise.
20581 * localedata/locales/zu_ZA: Likewise.
20583 2017-11-13 Florian Weimer <fweimer@redhat.com>
20585 * support/next_to_fault.h, support/next_to_fault.c: New files.
20586 * support/Makefile (libsupport-routines): Add next_to_fault.
20587 * resolv/tst-inet_pton.c (struct next_to_fault)
20588 (next_to_fault_allocate, next_to_fault_free): Remove.
20589 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
20591 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
20593 * elf/dl-support.c: Include <dl-procruntime.c>.
20594 * include/link.h: Include <link_map.h>.
20595 * sysdeps/generic/dl-procruntime.c: New file.
20596 * sysdeps/generic/link_map.h: Likewise.
20597 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
20598 the writable ld.so namespace.
20600 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
20602 timezone: pacify GCC -Wstringop-truncation
20603 Problem reported by Martin Sebor in:
20604 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
20605 * timezone/zic.c (writezone): Use memcpy, not strncpy.
20607 2017-11-12 Florian Weimer <fweimer@redhat.com>
20609 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
20611 (tests): Add tst-xreadlink.
20612 * support/support.h (xstrndup): Declare.
20613 * support/xunistd.h (xunlink, xreadlink): Declare.
20614 * support/temp_file.h (support_create_temp_directory): Declare.
20615 * support/temp_file.c (support_create_temp_directory): New function.
20616 * support/support_chroot.c (support_chroot_create): Use it.
20617 * support/xreadlink.c: New file.
20618 * support/xstrndup.c: Likewise.
20619 * support/xunlink.c: Likewise.
20620 * support/tst-xreadlink.c: Likewise.
20622 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
20624 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
20626 2017-11-11 Florian Weimer <fweimer@redhat.com>
20630 * resolv/res_comp.c (printable_string, binary_hnok)
20631 (binary_leading_dash): New functions.
20632 (res_hnok): Reimplement using these functions and ns_name_pton.
20633 (res_ownok): Likewise.
20634 (res_mailok): Reimplement using printable_string, ns_name_pton and
20636 (res_dnok): Reimplement using printable_string and ns_name_pton.
20637 * resolv/tst-res_hnok.c (tests): Add additional tests.
20638 (LETTERDIGITS, PRINTABLE): Define.
20639 (do_test): Adjust one_char results.
20641 2017-11-11 Florian Weimer <fweimer@redhat.com>
20644 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
20645 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
20647 2017-11-11 Florian Weimer <fweimer@redhat.com>
20649 * resolv/tst-ns_name_pton.c: New file.
20650 * resolv/Makefile (tests): Add tst-ns_name_pton.
20651 (tst-ns_name_pton): Link against libresolv.
20653 2017-11-11 Florian Weimer <fweimer@redhat.com>
20655 * resolv/tst-res_hnok.c: New file.
20656 * resolv/Makefile (tests): Add tst-res_hnok.
20657 (tst-res_hnok): Link against libresolv.
20659 2017-11-11 Florian Weimer <fweimer@redhat.com>
20661 * resolv/tst-resolv-network.c: Use test framework instead explicit
20664 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
20666 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
20667 <jmp_buf-macros.h>.
20668 [!_ISOMAC] (STR_HELPER): New.
20669 [!_ISOMAC] (STR): Likewise.
20670 [!_ISOMAC] (TEST_SIZE): Likewise.
20671 [!_ISOMAC] (TEST_ALIGN): Likewise.
20672 [!_ISOMAC] (TEST_OFFSET): Likewise.
20673 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
20674 field offsets of jmp_buf as well as sigjmp_buf.
20675 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
20676 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
20677 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
20678 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
20679 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
20680 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
20681 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
20682 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
20683 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
20684 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
20686 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
20688 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
20689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
20691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
20693 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
20694 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
20695 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
20696 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
20697 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
20698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
20700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
20702 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20703 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
20704 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
20706 2017-11-07 Joseph Myers <joseph@codesourcery.com>
20709 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20710 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
20711 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20712 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
20713 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20714 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
20715 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20716 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
20717 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20718 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
20719 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20720 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
20721 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20722 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
20723 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20724 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
20725 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20726 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
20727 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20728 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
20729 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20730 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
20731 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20732 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
20733 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20734 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
20735 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20736 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
20737 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20738 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
20739 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20740 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
20741 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20742 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
20743 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20744 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
20745 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20746 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
20747 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20748 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
20749 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20750 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
20751 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20752 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
20753 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20754 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
20755 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20756 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
20757 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20758 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
20759 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20760 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
20761 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20762 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
20763 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20764 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
20765 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20766 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
20767 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20768 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
20769 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20770 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
20771 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20772 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
20773 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20774 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
20775 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20776 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
20777 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20778 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
20779 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20780 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
20781 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20782 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
20783 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20784 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
20785 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20786 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
20787 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20788 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
20789 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20790 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
20791 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20792 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
20793 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20794 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
20795 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20796 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
20798 * stdlib/tst-strtod.h (F16): New macro.
20804 (IF_FLOAT16): Likewise.
20805 (IF_FLOAT32): Likewise.
20806 (IF_FLOAT64): Likewise.
20807 (IF_FLOAT32X): Likewise.
20808 (IF_FLOAT64X): Likewise.
20809 (IF_FLOAT128X): Likewise.
20810 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
20811 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
20812 (STRTOD_TEST_FOREACH): Likewise.
20813 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
20814 (CHOOSE_f64): Likewise.
20815 (CHOOSE_f32x): Likewise.
20816 (CHOOSE_f64x): Likewise.
20818 2017-11-07 Andreas Schwab <schwab@suse.de>
20820 * nptl/Makefile (tests-internal): Remove tst-typesizes.
20822 2017-11-07 Mike FABIAN <mfabian@redhat.com>
20825 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
20827 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
20830 2017-11-07 Claude Paroz <claude@2xlibre.net>
20833 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
20835 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
20837 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
20840 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20843 * nptl/allocatestack.c (allocate_stack): Check if
20844 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
20845 __PTHREAD_MUTEX_HAVE_PREV is defined.
20846 * nptl/descr.h (pthread): Likewise.
20847 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20849 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20850 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20851 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
20852 * sysdeps/nptl/bits/thread-shared-types.h
20853 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
20855 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
20856 of __WORDSIZE for internal layout.
20857 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
20858 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
20859 instead of __WORDSIZE whether to use an union for __spins and __list
20861 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
20863 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
20864 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
20866 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
20867 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20869 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
20870 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20872 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
20873 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20875 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
20876 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20878 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
20879 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20881 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
20882 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20884 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
20885 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20887 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
20888 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20890 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
20891 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20893 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
20894 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20896 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
20897 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20899 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
20900 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20902 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
20903 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20905 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
20906 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20909 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
20911 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
20912 checks for expected input type size.
20913 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20914 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20916 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20917 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
20918 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20919 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
20920 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20921 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
20922 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
20923 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
20924 superflous runtime assert check.
20925 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
20927 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
20929 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20931 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
20933 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
20935 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
20937 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
20938 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
20939 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20941 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20943 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20945 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
20947 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20949 * nptl/pthread_attr_setinheritsched.c
20950 (__pthread_attr_setinheritsched): Likewise.
20951 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
20953 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
20955 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
20956 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
20957 __old_pthread_attr_setstack): Likewise.
20958 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20960 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20962 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
20964 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20965 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20967 * nptl/tst-typesizes.c: Remove file.
20969 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
20970 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
20971 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
20972 checks for internal pthread_mutex_t offsets.
20973 * sysdeps/aarch64/nptl/pthread-offsets.h
20974 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
20975 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
20976 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
20977 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
20978 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
20979 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
20980 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
20981 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
20982 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
20983 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
20984 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
20985 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
20986 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
20987 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
20988 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
20989 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
20990 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
20991 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
20993 2017-11-07 Florian Weimer <fweimer@redhat.com>
20995 * bits/mman-linux.h: Move ...
20996 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
20998 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21001 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21003 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21004 Redefine STRNLEN as __strnlen_power8.
21006 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21008 * signal/sighold.c (sighold): Optimize implementation.
21010 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21011 __NR_rt_sigqueueinfo.
21013 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21015 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21016 assume __NR_rt_sigtimedwait.
21017 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21018 and add LIBC_CANCEL_HANDLED for cancellation marking.
21019 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21021 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21022 (sysdeps_routines): Add memchr_noneon.
21023 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21024 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21025 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21026 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21027 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21028 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21029 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21031 * sysdeps/arm/arm-ifunc.h: New file.
21032 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21033 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21034 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21035 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21036 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21037 (__memcpy_neon): Avoid create hidden alias.
21038 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21039 (__memcpy_vfp): Likewise.
21040 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21041 (sysdep_routines): Add memcpy_arm.
21042 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21044 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21047 * Makerules (make-link-multidir): New.
21048 * config.make.in (multidir): New.
21049 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21050 * configure: Regenerated.
21051 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21052 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21053 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21056 2017-11-06 Joseph Myers <joseph@codesourcery.com>
21059 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21060 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21062 2017-11-04 Mike FABIAN <mfabian@redhat.com>
21064 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21067 2017-11-04 Florian Weimer <fweimer@redhat.com>
21069 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
21071 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21073 * math/math.h [__HAVE_DISTINCT_FLOAT16
21074 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21075 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21076 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21077 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
21078 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
21079 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
21080 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21081 (__MATH_TG_F32): New macro.
21082 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21083 (__MATH_TG_F64X): Likewise.
21084 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21085 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
21087 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
21089 * po/de.po: Update translations.
21090 * po/ru.po: Likewise.
21092 2017-11-03 Florian Weimer <fweimer@redhat.com>
21094 * manual/filesys.texi (Hard Links): Document linkat.
21096 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21098 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
21099 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21100 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21101 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21102 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21103 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21104 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
21105 the same as _Float128.
21106 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21107 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21108 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
21111 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
21113 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
21115 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
21117 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21118 (strtof32x): Likewise.
21119 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21120 (strtof64x): Likewise.
21121 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21122 (strtof128x): Likewise.
21123 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21124 (strfromf16): Likewise.
21125 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21126 (strfromf32): Likewise.
21127 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21128 (strfromf64): Likewise.
21129 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21130 (strfromf32x): Likewise.
21131 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21132 (strfromf64x): Likewise.
21133 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21134 (strfromf128x): Likewise.
21135 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
21136 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
21137 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
21138 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
21139 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
21140 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
21142 2017-11-03 Richard Henderson <rth@twiddle.net>
21144 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
21146 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21148 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
21150 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21152 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
21153 DT_TLSDESC_GOT initialization.
21154 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
21155 (_dl_tlsdesc_resolve_hold): Likewise.
21156 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
21157 (_dl_tlsdesc_resolve_hold): Likewise.
21158 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
21159 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21161 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21163 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
21165 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21168 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
21169 non-lazily for R_ARM_TLS_DESC.
21171 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21174 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
21175 R_ARM_TLS_DESC case.
21176 (elf_machine_lazy_rel): Remove the prelink check.
21178 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21180 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
21181 DT_TLSDESC_GOT initialization.
21182 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
21183 (_dl_tlsdesc_resolve_rela): Likewise.
21184 (_dl_tlsdesc_resolve_hold): Likewise.
21185 (_dl_tlsdesc_undefweak): Remove ldar.
21186 (_dl_tlsdesc_dynamic): Likewise.
21187 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
21188 (_dl_tlsdesc_resolve_rela): Likewise.
21189 (_dl_tlsdesc_resolve_hold): Likewise.
21190 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
21191 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21192 (_dl_tlsdesc_resolve_rela): Likewise.
21193 (_dl_tlsdesc_resolve_hold): Likewise.
21195 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21197 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
21198 binding and initialization non-lazily for R_AARCH64_TLSDESC.
21200 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21202 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
21203 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21205 2017-11-02 Joseph Myers <joseph@codesourcery.com>
21207 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
21209 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
21210 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
21211 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
21212 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
21213 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
21214 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
21215 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
21216 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
21217 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
21218 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
21219 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
21221 2017-11-02 Mike FABIAN <mfabian@redhat.com>
21224 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
21225 * localedata/locales/tpi_PG: Add standard header.
21227 2017-11-02 Florian Weimer <fweimer@redhat.com>
21229 test-errno-linux: quotactl can fail with EPERM in containers.
21230 * sysdeps/unix/sysv/linux/test-errno-linux.c
21231 (LIST, LIST_FORWARD): New macros.
21232 (check_error_in_list): New function.
21233 (test_wrp_rv): Accept list of permitted error codes.
21234 (test_wrp_rv2): Remove.
21235 (test_wrp): Call test_wrp_rv with list of error codes.
21236 (test_wrp2): Accept list of error codes.
21237 (do_test): Adjust. Allow EPERM for quotactl.
21239 2017-11-02 Florian Weimer <fweimer@redhat.com>
21241 * stdio-common/bug16.c (do_test): Use array_length.
21242 * stdio-common/errlist.c (_sys_nerr): Likewise.
21243 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
21244 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
21245 * stdio-common/psiginfo.c (psiginfo): Use array_length.
21246 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
21247 (do_test): Use array_length.
21248 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
21249 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
21250 * stdio-common/tst-printf-round.c (do_test): Likewise.
21251 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
21252 (CHECK): Use array_length.
21253 * stdio-common/tstdiomisc.c (t3, F): Likewise.
21254 * stdio-common/tstscanf.c (main): Likewise.
21255 * stdio-common/vfprintf.c (process_string_arg): Likewise.
21257 2017-11-02 Florian Weimer <fweimer@redhat.com>
21259 Add array_length and array_end macros.
21260 * include/array_length.h: New file.
21262 2017-11-02 Florian Weimer <fweimer@redhat.com>
21265 * posix/tst-glob-tilde.c (do_noescape): New variable.
21266 (one_test): Process it.
21267 (do_test): Set do_noescape. Add unescaping test case.
21269 2017-11-01 Joseph Myers <joseph@codesourcery.com>
21272 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
21273 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
21274 with appropriate macros defined and undefined.
21275 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
21276 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21277 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
21278 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21279 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
21280 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21281 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
21282 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21283 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
21284 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21287 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
21288 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
21289 that for long double. Do not condition define and undefine of
21290 _Mdouble_complex_ on [__CFLOAT128].
21292 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
21294 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21295 of <sysdeps/generic/sysdep.h>.
21296 (ALIGNARG): Removed.
21297 (ASM_SIZE_DIRECTIVE): Likewise.
21300 (ENTRY_CHK): Likewise.
21301 (END_CHK): Likewise.
21302 (syscall_error): Likewise.
21303 (mcount): Likewise.
21304 (PSEUDO_END): Likewise.
21306 (atom_text_section): Likewise.
21307 * sysdeps/x86/sysdep.h: New file.
21308 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21309 of <sysdeps/generic/sysdep.h>.
21310 (ALIGNARG): Removed.
21311 (ASM_SIZE_DIRECTIVE): Likewise.
21314 (ENTRY_CHK): Likewise.
21315 (END_CHK): Likewise.
21316 (syscall_error): Likewise.
21317 (mcount): Likewise.
21318 (PSEUDO_END): Likewise.
21320 (atom_text_section): Likewise.
21322 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
21324 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
21325 category of LC_CTYPE set to "i18n:2012".
21326 * localedata/locales/i18n_ctype: Regenerate.
21328 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
21330 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
21331 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
21332 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21333 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21335 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
21336 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
21337 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
21338 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
21340 2017-10-31 Joseph Myers <joseph@codesourcery.com>
21343 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
21345 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
21347 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
21349 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21350 (CMPLXF32X): Likewise.
21351 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21352 (CMPLXF64X): Likewise.
21353 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21354 (CMPLXF128X): Likewise.
21357 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
21358 (__MATH_EVAL_FMT2): Define to add 0.0f.
21360 2017-10-31 Alan Modra <amodra@gmail.com>
21362 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
21364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
21365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
21366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
21367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
21368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
21369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
21370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
21371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
21372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
21373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
21374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
21375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
21376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
21377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
21378 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
21379 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
21380 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
21381 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
21382 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
21383 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
21384 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
21385 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
21386 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
21387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
21388 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21389 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
21390 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
21391 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
21392 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
21393 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
21394 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21395 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21396 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
21397 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
21398 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
21399 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
21400 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
21401 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
21402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
21403 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21404 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
21405 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
21406 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
21407 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
21408 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
21409 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
21410 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
21411 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
21412 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21413 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21414 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
21415 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
21416 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
21417 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
21418 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21419 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
21420 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
21421 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
21422 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21423 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21424 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21425 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
21426 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
21427 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21428 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
21429 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
21430 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
21431 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
21432 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
21434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
21435 include sysdep.h and math_ldbl_opt.h.
21437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
21438 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
21439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
21440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
21441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
21442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
21443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
21444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
21445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
21446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
21447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
21448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
21449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
21450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
21451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
21452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
21453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
21454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
21455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
21456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
21457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
21458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
21459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
21460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
21461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
21462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
21464 2017-10-31 Alan Modra <amodra@gmail.com>
21466 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
21467 string/strncase_l.c, not string/strncase.c.
21468 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
21469 (libc_hidden_def): Redefine.
21471 2017-10-31 Alan Modra <amodra@gmail.com>
21473 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
21474 (__STRCMP, STRCMP, __strcasecmp_l): Define.
21475 (__strcasecmp): Don't define.
21477 2017-10-31 Alan Modra <amodra@gmail.com>
21479 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
21481 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21482 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21483 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21485 2017-10-31 Alan Modra <amodra@gmail.com>
21487 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
21490 2017-10-31 Alan Modra <amodra@gmail.com>
21492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
21493 Redefine only when SHARED.
21495 2017-10-30 Joseph Myers <joseph@codesourcery.com>
21497 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21498 Include <bits/math-finite.h> with appropriate macros defined and
21500 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21501 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21502 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21503 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21504 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21506 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
21507 [!_Mlong_double_] (_Mlong_double_): Likewise.
21508 [!_Mfloat16_] (_Mfloat16_): Likewise.
21509 [!_Mfloat32_] (_Mfloat32_): Likewise.
21510 [!_Mfloat64_] (_Mfloat64_): Likewise.
21511 [!_Mfloat128_] (_Mfloat128_): Likewise.
21512 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
21513 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
21514 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
21515 (_Mdouble_): Define without indirection through those macros.
21516 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
21517 [!_Mfloat128_] (_Mfloat128_): Likewise.
21518 [_Mlong_double_] (_Mlong_double_): Likewise.
21519 (_Mdouble_): Define without indirection through those macros.
21520 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
21521 not add -D_Mlong_double_=double.
21522 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
21523 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
21525 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21527 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
21529 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21531 * sysdeps/x86/libc-start.c: Reformat.
21533 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21536 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
21537 (1): Renamed to ...
21540 (L(Src2)): Likewise.
21541 (L(1)): Renamed to ...
21544 2017-10-30 Joseph Myers <joseph@codesourcery.com>
21546 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
21547 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
21548 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
21549 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
21550 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
21551 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
21552 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
21553 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
21554 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
21555 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
21556 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
21557 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
21558 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
21559 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
21560 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
21561 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
21562 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
21563 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
21564 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
21565 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
21566 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
21567 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
21568 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
21569 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
21570 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
21571 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
21572 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
21573 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
21574 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
21575 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
21576 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
21577 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
21578 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
21579 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
21580 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
21581 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
21582 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
21583 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
21584 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
21585 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
21586 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
21587 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
21588 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
21589 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
21590 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
21591 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
21592 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
21593 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
21594 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
21595 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
21596 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
21597 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
21598 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
21599 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
21600 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
21601 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
21602 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
21603 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
21604 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
21605 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
21606 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
21607 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
21608 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
21609 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
21610 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
21611 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
21613 2017-10-30 Florian Weimer <fweimer@redhat.com>
21615 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
21617 * io/tst-mkdirat.c (do_test): Likewise.
21618 * io/tst-mkfifoat.c (do_test): Likewise.
21619 * io/tst-mknodat.c (do_test): Likewise.
21620 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
21621 * locale/programs/locale.c (select_dirs): Likewise.
21622 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
21623 * posix/bug-glob2.c (my_readdir): Likewise.
21624 * posix/tst-dir.c (main): Likewise.
21625 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
21626 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
21628 2017-10-30 Florian Weimer <fweimer@redhat.com>
21630 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
21633 2017-10-30 Florian Weimer <fweimer@redhat.com>
21635 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
21636 Convert to support/test-driver.c.
21637 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
21638 New macro parameters.
21639 (PRINTF): Remove macro. Use test_verbose conditionals instead.
21640 * posix/tst-gnuglob.c: New file.
21641 * posix/tst-gnuglob64.c: Likewise.
21642 * posix/Makefile (tests): Add tst-gnuglob64.
21644 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
21647 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
21648 and use a better translation for March in “mon”.
21649 * localedata/locales/csb_PL: Use more ASCII to improve the
21650 readability of the source.
21652 2017-10-30 Mike FABIAN <mfabian@redhat.com>
21655 * localedata/locales/km_KH: Use ASCII as much
21656 as possible for better readability of the source and
21657 remove useless comments.
21658 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
21659 was commented out and apparently wrong anyway because it was
21660 using Lao characters. If Buddhist era should be used
21661 for km_KH, a native speaker should write the correct formaat
21663 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
21664 (According to CLDR, the first weekday for Cambodia is Sunday).
21665 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
21666 (These were using Lao characters which must be wrong. If we get
21667 the correct data from a native speaker, we could add it back, until
21668 then it is better not to have name_mr and name_mrs at all than
21671 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
21673 * locale/loadlocale.c: Correct size of
21674 _nl_value_type_LC_<category> arrays.
21676 2017-10-27 Joseph Myers <joseph@codesourcery.com>
21678 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21679 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
21680 with appropriate macros defined and undefined.
21681 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21682 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21683 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21684 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21685 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21687 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
21689 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21692 2017-10-27 Mike FABIAN <mfabian@redhat.com>
21694 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
21695 with lowercase letters to make it agree with CLDR.
21697 2017-10-27 Mike FABIAN <mfabian@redhat.com>
21700 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
21701 first letters of yesstr and nostr in yesexpr and noexpr,
21702 not for the full words.
21703 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21704 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
21705 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
21706 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
21707 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
21708 first letters of yesstr and nostr in yesexpr and noexpr,
21709 until now only English was matched in yesexpr and noexpr.
21710 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
21711 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
21712 fil but not for tl. As tl and fil are very similar, using fil
21713 is probably better than using English.
21715 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
21718 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
21719 in yesstr and nostr.
21721 2017-10-26 Joseph Myers <joseph@codesourcery.com>
21723 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
21724 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
21725 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
21727 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
21729 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
21731 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
21733 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21734 (SNANF128X): Likewise.
21736 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
21737 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
21738 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21739 (HUGE_VAL_F32): Likewise.
21740 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21741 (HUGE_VAL_F64): Likewise.
21742 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21743 (HUGE_VAL_F32X): Likewise.
21744 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21745 (HUGE_VAL_F64X): Likewise.
21746 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21747 (HUGE_VAL_F128X): Likewise.
21749 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
21751 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
21752 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
21753 for the br_FR locale.
21755 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
21758 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
21760 2017-10-25 Carlos O'Donell <carlos@redhat.com>
21762 * locale/programs/record-status.h: Define globals, and function
21763 prototypes. Move function bodies...
21764 * locale/programs/record-status.c: ... to here. New file.
21765 * iconv/Makefile (iconv_prog-modules): Add record-status.
21766 * locale/Makefile (lib-modules): Likewise.
21767 * iconv/iconv_prog.c: Remove verbose.
21768 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
21769 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
21770 record a warning about ASCII compatibility.
21771 * locale/programs/ld-monetary.c (monetary_finish): If
21772 warn_int_curr_symbol is true then record a warning about the symbol
21773 not being in our ISO 4217 list.
21774 * locale/programs/locale.c: Include record-status.h. Remove verbose.
21775 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
21776 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
21777 (OPT_NO_WARN): Define.
21778 (OPT_WARN): Define.
21779 (options): Add entry for --no-warnings, and --warnings.
21780 (set_warnings): New function to enable/disable warnings.
21781 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
21782 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
21783 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
21784 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
21785 Pass flags to generate_locale.
21786 (generate_locale): Accept new flag argument and pass it to localedef
21788 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
21789 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
21791 * localedata/Makefile (test-input-data): Use full file name.
21792 * localedata/da_DK.in: Rename to...
21793 * localedata/da_DK.ISO-8859-1.in: ...this.
21794 * localedata/de_DE.in: Rename to...
21795 * localedata/de_DE.ISO-8859-1.in: ...this.
21796 * localedata/en_US.in: Rename to...
21797 * localedata/en_US.ISO-8859-1.in: ...this.
21798 * localedata/fr_FR.in: Rename to...
21799 * localedata/fr_FR.UTF-8.in: ... this.
21800 * localedata/hr_HR.in: Rename to...
21801 * localedata/hr_HR.ISO-8859-2.in: ...this.
21802 * localedata/hu_HU.in: Rename to...
21803 * localedata/hu_HU.UTF-8.in: ...this.
21804 * localedata/si_LK.in: Rename to...
21805 * localedata/si_LK.UTF-8.in: ...this.
21806 * localedata/sv_SE.in: Rename to...
21807 * localedata/sv_SE.ISO-8859-1.in: ...this.
21808 * localedata/tr_TR.in: Rename to...
21809 * localedata/tr_TR.UTF-8.in: ...this.
21810 * localedata/uk_UA.in: Rename to...
21811 * localedata/uk_UA.UTF-8.in: ...this.
21812 * localedata/sort-test.sh: Test file is locale name with the
21815 * localedata/unicode-gen/Makefile (check_i18n): Rename to
21816 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
21818 * localedata/locales/i18n_ctype: Regenerate.
21819 * localedata/locales/tr_TR: Likewise.
21820 * localedata/locales/translit_circle: Likewise.
21821 * localedata/locales/translit_cjk_compat: Likewise.
21822 * localedata/locales/translit_combining: Likewise.
21823 * localedata/locales/translit_compat: Likewise.
21824 * localedata/locales/translit_font: Likewise.
21825 * localedata/locales/translit_fraction: Likewise.
21827 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21829 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
21830 lxvd2x/stxvd2x with lvx/stvx.
21831 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
21833 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
21835 * include/alloc_buffer.h: Replace "if if " with "if " in
21837 * sysdeps/mips/memcpy.S: Likkewise.
21838 * sysdeps/mips/memset.S: Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
21841 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
21843 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
21846 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21849 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
21850 yesexpr and noexpr.
21851 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21852 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21853 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21854 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21855 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
21856 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
21857 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
21859 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21861 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
21862 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
21863 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21864 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21865 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21866 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
21867 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21868 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21869 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21870 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
21871 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
21872 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
21874 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21876 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
21877 as possible for better readability of the source.
21878 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
21879 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
21880 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
21881 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
21882 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
21883 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
21884 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
21885 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
21886 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
21887 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
21888 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
21889 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
21890 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
21891 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
21892 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
21893 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
21894 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
21895 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
21896 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
21897 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
21898 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
21899 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
21900 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
21901 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
21902 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
21903 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
21904 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
21905 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
21906 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
21907 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
21908 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
21909 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21910 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
21911 * localedata/locales/en_US (LC_MESSAGES): Likewise.
21912 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
21913 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
21914 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
21915 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
21916 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
21917 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
21918 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
21919 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
21920 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
21921 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
21922 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
21923 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
21924 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
21925 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
21926 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
21927 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
21928 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
21929 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
21930 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
21931 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21932 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21933 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
21934 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
21935 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21936 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
21937 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
21938 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
21939 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
21940 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
21941 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
21942 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
21943 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
21944 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
21945 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
21946 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
21947 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
21948 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
21949 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
21950 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
21951 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
21952 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21953 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
21954 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
21955 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
21956 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
21957 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
21958 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
21959 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
21960 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
21961 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21962 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
21963 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
21964 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
21965 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21966 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
21967 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
21968 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
21969 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
21970 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21971 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
21972 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
21973 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21974 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
21975 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21976 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
21977 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
21978 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
21979 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
21980 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
21981 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
21982 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
21983 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
21984 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
21985 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
21986 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
21987 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
21988 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
21989 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
21990 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21991 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
21992 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
21993 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
21994 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
21995 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
21996 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
21997 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
21998 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
21999 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22000 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22001 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22002 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22003 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22004 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22005 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22006 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22007 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22008 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22009 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22010 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22011 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22012 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22013 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22014 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22015 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22016 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22017 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22018 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22019 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22020 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22021 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22022 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22023 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22024 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22025 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22026 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22027 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22028 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22029 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22030 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22031 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22032 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22033 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22034 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22035 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22036 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22037 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22038 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22039 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22040 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22041 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22042 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22043 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22044 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22045 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22046 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22047 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22048 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22049 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22050 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22051 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22053 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22055 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22056 (Use first letters of yesstr and nostr correctly instead of using
22059 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22061 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22062 (Use first letters of yesstr and nostr correctly).
22064 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22066 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22067 also check for the first characters of yesstr and nostr.
22068 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
22069 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
22071 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22073 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22074 also check for Chinese characters.
22076 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22078 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
22079 match also for the contents of yesstr and nostr. As the first letter
22080 of yesstr and nostr is equal, checking only for the first letter
22083 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22085 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
22086 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
22088 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22090 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
22091 of main contributor.
22093 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22095 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
22096 instead of using English.
22098 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22100 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
22101 by including the first letters of nostr and yesexpr in the regexp.
22102 Also make it more readable by using ASCII where possible.
22104 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22106 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
22107 the first letter of nostr in the regexp. It agrees with CLDR now.
22108 Also make it more readable by using ASCII where possible.
22110 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22112 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
22113 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22114 these strings contain a U+17D6 (which somewhat looks like a colon)
22115 instead of a real colon to separate the full words for “yes”
22116 and “no” from the single letter responses.
22118 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22120 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
22121 it agree with CLDR (include the first letter of yesstr).
22122 Also make it more readable by using ASCII where possible.
22124 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22126 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
22127 and improve yesexpr and noexpr. The yesstr and nostr apparently
22128 came from CLDR. And CLDR has a bug there: these strings contain
22129 a U+0903 (which looks like a colon) instead of a real colon
22130 to separate the full words for “yes” and “no” from the single
22133 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22135 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
22136 letters of the full yesstr and nostr in yesexpr and noexpr.
22138 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22140 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
22141 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
22142 * localedata/locales/an_ES: Make source more readable by using ASCII
22145 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22148 * localedata/locales/yuw_PG: New file.
22149 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
22150 * locale/iso-639.def: Add Yau (Uruwa).
22152 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22154 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
22156 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22158 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
22159 (__libc_realloc): Likewise.
22160 (_mid_memalign): Likewise.
22161 (__libc_calloc): Likewise.
22163 2017-10-23 Mike FABIAN <mfabian@redhat.com>
22165 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
22166 by adding the generic +1 and -0 as in all other locales.
22167 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
22168 day names and make it more readable by using ASCII where possible.
22170 2017-10-24 Joseph Myers <joseph@codesourcery.com>
22172 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
22173 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
22175 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22177 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
22178 WNOHANG in waitpid call.
22180 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
22182 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
22183 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
22185 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
22186 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
22187 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
22188 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
22189 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
22190 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
22191 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
22192 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
22195 2017-10-23 Michael Collison <michael.collison@arm.com>
22197 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
22198 with __builtin_sqrt.
22199 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
22200 with __builtin_sqrtf.
22201 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
22202 with __builtin_ceil.
22203 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
22204 with __builtin_ceilf.
22205 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
22206 with __builtin_floor.
22207 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
22208 with __builtin_floorf.
22209 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
22210 with __builtin_fma.
22211 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
22212 with __builtin_fmaf.
22213 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
22214 with __builtin_fmax.
22215 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
22216 with __builtin_fmaxf.
22217 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
22218 with __builtin_fmin.
22219 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
22220 with __builtin_fminf.
22221 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
22222 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
22223 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
22224 with builtin_rint and conversion to int.
22225 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
22226 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
22227 with builtin_llround.
22228 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
22229 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
22230 with builtin_rint and conversion to long int.
22231 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
22232 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
22233 with builtin_lround.
22234 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
22235 with builtin_lroundf.
22236 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
22237 statements with __builtin_nearbyint.
22238 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
22239 statements with __builtin_nearbyintf.
22240 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
22241 with __builtin_rint.
22242 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
22243 with __builtin_rintf.
22244 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
22245 with __builtin_round.
22246 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
22247 with __builtin_roundf.
22248 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
22249 with __builtin_trunc.
22250 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
22251 with __builtin_truncf.
22252 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
22253 and s_l[l]round[f].c too.
22255 2017-10-23 Alan Modra <amodra@gmail.com>
22257 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
22258 Adjust stack after restoring regs. Add missing LR cfi_restore.
22260 2017-10-23 Alan Modra <amodra@gmail.com>
22262 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
22263 Move LR save and frame setup/teardown and LR restore to
22264 immediately around memset call. Provide cfi.
22266 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22268 * sysdeps/i386/fpu/e_powf.S: Removed.
22269 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
22270 * sysdeps/i386/fpu/w_powf.c: Likewise.
22271 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
22272 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22273 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22275 (CFLAGS-e_powf-sse2.c): New.
22276 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
22277 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
22279 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22281 * sysdeps/i386/fpu/e_log2f.S: Removed.
22282 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
22283 * sysdeps/i386/fpu/w_log2f.c: Likewise.
22284 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
22285 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22286 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22288 (CFLAGS-e_log2f-sse2.c): New.
22289 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
22290 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
22292 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22294 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22296 (CFLAGS-e_powf-fma.c): New.
22297 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
22298 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
22300 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22302 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22304 (CFLAGS-e_log2f-fma.c): New.
22305 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
22306 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
22308 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22310 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22312 (CFLAGS-e_logf-fma.c): New.
22313 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
22314 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
22316 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22318 * sysdeps/i386/fpu/e_logf.S: Removed.
22319 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
22320 * sysdeps/i386/fpu/w_logf.c: Likewise.
22321 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
22322 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
22323 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22324 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22326 (CFLAGS-e_logf-sse2.c): New.
22327 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
22328 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
22330 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22332 * sysdeps/i386/fpu/e_exp2f.S: Removed.
22333 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
22334 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
22335 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22336 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22338 (CFLAGS-e_exp2f-sse2.c): New.
22339 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
22340 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
22342 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22344 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22346 (CFLAGS-e_exp2f-fma.c): New.
22347 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
22348 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
22350 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22352 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
22353 * sysdeps/i386/fpu/e_expf.S: Likewise.
22354 * sysdeps/i386/fpu/math_errf.c: Likewise.
22355 * sysdeps/i386/fpu/w_expf.c: Likewise.
22356 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
22357 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22358 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
22359 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
22360 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22361 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22362 Remove e_expf-ia32.
22363 (CFLAGS-e_expf-sse2.c): New.
22364 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
22365 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
22367 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22369 * sysdeps/x86_64/fpu/e_expf.S: Removed.
22370 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
22371 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
22372 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
22374 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
22376 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
22377 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
22379 (__redirect_expf): This.
22380 (SYMBOL_NAME): Changed to expf.
22381 (__ieee754_expf): Renamed to ...
22383 (__GI___expf): This.
22384 (__ieee754_expf): Add strong_alias.
22385 (__expf_finite): Likewise.
22387 Include <sysdeps/ieee754/flt-32/e_expf.c>.
22389 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
22392 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
22395 2017-10-21 Florian Weimer <fweimer@redhat.com>
22397 * posix/Makefile (tests): Add tst-glob-tilde.
22398 (tests-special): Add tst-glob-tilde-mem.out
22399 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
22400 (tst-glob-tilde-mem.out): Add mtrace check.
22401 * posix/tst-glob-tilde.c: New file.
22403 2017-10-20 Joseph Myers <joseph@codesourcery.com>
22405 * bits/floatn-common.h: New file.
22406 * math/Makefile (headers): Add bits/floatn-common.h.
22407 * bits/floatn.h: Include <bits/floatn-common.h>.
22408 * sysdeps/ia64/bits/floatn.h: Likewise.
22409 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22410 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
22411 * sysdeps/powerpc/bits/floatn.h: Likewise.
22412 * sysdeps/x86/bits/floatn.h: Likewise.
22414 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22416 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
22417 indicates whether compiler emits an warning for alias for
22418 functions with incompatible types.
22421 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
22422 the auxiliary process is terminated by a signal before calling _exit
22425 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22428 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
22430 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
22431 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
22432 and bit_arch_XSAVEC_Usable if needed.
22433 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
22434 and bit_arch_Use_dl_runtime_resolve_opt.
22435 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
22437 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
22438 (bit_arch_Prefer_No_AVX512): Updated.
22439 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
22440 (bit_arch_XSAVEC_Usable): New.
22441 (STATE_SAVE_OFFSET): Likewise.
22442 (STATE_SAVE_MASK): Likewise.
22443 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
22444 (cpu_features): Add xsave_state_size and xsave_state_full_size.
22445 (index_arch_Use_dl_runtime_resolve_opt): Removed.
22446 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
22447 (index_arch_XSAVEC_Usable): New.
22448 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
22449 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
22450 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
22452 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
22453 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
22454 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
22455 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
22456 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
22457 _dl_runtime_resolve_xsavec.
22458 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
22460 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
22461 instead of VEC_SIZE.
22462 (REGISTER_SAVE_BND0): Removed.
22463 (REGISTER_SAVE_BND1): Likewise.
22464 (REGISTER_SAVE_BND3): Likewise.
22465 (REGISTER_SAVE_RAX): Always defined to 0.
22467 (_dl_runtime_resolve_avx): Likewise.
22468 (_dl_runtime_resolve_avx_slow): Likewise.
22469 (_dl_runtime_resolve_avx_opt): Likewise.
22470 (_dl_runtime_resolve_avx512): Likewise.
22471 (_dl_runtime_resolve_avx512_opt): Likewise.
22472 (_dl_runtime_resolve_sse): Likewise.
22473 (_dl_runtime_resolve_sse_vex): Likewise.
22475 (_dl_runtime_resolve_fxsave): Likewise.
22476 (USE_XSAVE): Likewise.
22477 (_dl_runtime_resolve_xsave): Likewise.
22478 (USE_XSAVEC): Likewise.
22479 (_dl_runtime_resolve_xsavec): Likewise.
22480 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
22482 (_dl_runtime_resolve_avx512_opt): Likewise.
22483 (_dl_runtime_resolve_avx): Likewise.
22484 (_dl_runtime_resolve_avx_opt): Likewise.
22485 (_dl_runtime_resolve_sse): Likewise.
22486 (_dl_runtime_resolve_sse_vex): Likewise.
22487 (_dl_runtime_resolve_fxsave): New.
22488 (_dl_runtime_resolve_xsave): Likewise.
22489 (_dl_runtime_resolve_xsavec): Likewise.
22491 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
22495 * posix/glob.c (__glob): Fix one-byte overflow.
22497 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22499 * malloc/malloc.c (sysdep-cancel.h): Add include.
22501 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22503 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
22505 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
22507 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
22508 (tests): Remove $(objpfx)ga_test depdendency.
22509 * resolv/ga_test.c: Remove file.
22511 2017-10-20 Mike FABIAN <mfabian@redhat.com>
22514 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
22515 * localedata/locales/kab_DZ: New file.
22517 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22519 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
22520 _dl_relocate_static_pie instead of _dl_start to compute load
22521 address in static PIE.
22523 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22525 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
22527 2017-10-20 Mike FABIAN <mfabian@redhat.com>
22530 * localedata/SUPPORTED: Add shn_MM/UTF-8.
22531 * localedata/locales/shn_MM: New file.
22533 2017-10-20 Florian Weimer <fweimer@redhat.com>
22536 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
22537 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
22538 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
22539 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
22540 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
22541 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
22543 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
22545 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22547 2017-10-19 Joseph Myers <joseph@codesourcery.com>
22549 * sysdeps/mips/ieee754/bits/floatn.h: New file.
22552 * sysdeps/mips/bits/long-double.h: Move to ....
22553 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
22555 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
22557 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
22559 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
22560 H.J. Lu <hongjiu.lu@intel.com>
22563 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22564 GLRO(dl_platform) to NULL.
22565 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
22566 (modules-names): Add tst-platformmod-1 and
22567 x86_64/tst-platformmod-2.
22568 (CFLAGS-tst-platform-1.c): New.
22569 (CFLAGS-tst-platformmod-1.c): Likewise.
22570 (CFLAGS-tst-platformmod-2.c): Likewise.
22571 (LDFLAGS-tst-platformmod-2.so): Likewise.
22572 ($(objpfx)tst-platform-1): Likewise.
22573 ($(objpfx)tst-platform-1.out): Likewise.
22574 (tst-platform-1-ENV): Likewise.
22575 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
22576 * sysdeps/x86_64/tst-platform-1.c: New file.
22577 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
22578 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
22580 2017-10-19 Mike FABIAN <mfabian@redhat.com>
22583 * locale/iso-639.def: Add Karbi.
22584 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
22585 * localedata/locales/mjw_IN: New file.
22587 2017-10-18 Joseph Myers <joseph@codesourcery.com>
22589 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
22590 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22591 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
22592 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
22593 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22594 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22595 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
22597 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22598 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22599 * manual/math.texi (Mathematics): Document additional architecture
22600 support for _Float128.
22601 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22602 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22603 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22604 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22605 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22606 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22607 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22608 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22609 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22612 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22613 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22614 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22615 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22617 2017-10-18 Renlin Li <renlin.li@arm.com>
22619 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
22620 _DYNAMIC symbol to calculate load address.
22622 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
22624 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
22625 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
22627 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
22628 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
22630 2017-10-18 Mike FABIAN <mfabian@redhat.com>
22633 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
22634 and improve readability by using more ASCII.
22635 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
22636 and improve readability by using more ASCII.
22638 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
22640 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
22641 not all targets support atomics on bool.
22643 2017-10-17 Joseph Myers <joseph@codesourcery.com>
22645 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
22646 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
22648 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22649 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
22650 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22651 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
22652 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22653 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
22655 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22657 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
22660 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22663 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
22664 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
22665 (do_check_remalloced_chunk): Fix build bug.
22666 (do_check_malloc_state): Add assert that checks arena->top.
22667 (malloc_consolidate): Remove initialization.
22668 (int_mallinfo): Remove call to malloc_consolidate.
22669 (__libc_mallopt): Clarify why malloc_consolidate is needed.
22671 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22673 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
22674 (have_fastchunks): Remove.
22675 (clear_fastchunks): Remove.
22676 (set_fastchunks): Remove.
22677 (malloc_state): Add have_fastchunks.
22678 (malloc_init_state): Use have_fastchunks.
22679 (do_check_malloc_state): Remove incorrect invariant checks.
22680 (_int_malloc): Use have_fastchunks.
22681 (_int_free): Likewise.
22682 (malloc_consolidate): Likewise.
22684 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22686 * malloc/malloc.c (tcache_put): Inline.
22687 (tcache_get): Inline.
22689 2017-10-17 Jordi Mallach <jordi@gnu.org>
22691 Aurelien Jarno <aurelien@aurel32.net>
22693 * localedata/locales/ca_ES@valencia: New file.
22694 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
22696 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
22699 * math/math.h: Let signbit use the builtin in C++ mode with gcc
22702 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22704 * scripts/build-many-glibcs.py (Context.add_all_configs):
22705 Add arm-linux-gnueabihf multiarch extra_glibcs.
22707 * sysdeps/generic/ifunc-init.h: New file.
22708 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
22710 2017-10-17 Mike FABIAN <mfabian@redhat.com>
22713 * localedata/locales/el_GR: Set n_cs_precedes to 0.
22714 * localedata/locales/el_CY: copy "el_GR" because it is identical.
22715 * stdlib/tst-strfmon_l.c: adapt test case.
22717 2017-10-16 Joseph Myers <joseph@codesourcery.com>
22719 * sysdeps/generic/float128-abi.h: New file.
22720 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
22721 non-__prefixed symbols to ....
22722 * math/Versions: ... here. Include <float128-abi.h>.
22723 * stdlib/Versions ... and here. Include <float128-abi.h>
22725 2017-10-16 Florian Weimer <fweimer@redhat.com>
22727 * version.h (VERSION): Switch to ".9000" as the development
22730 2017-10-16 Florian Weimer <fweimer@redhat.com>
22733 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
22734 compat_symbol_reference to access non-default version.
22736 2017-10-16 Florian Weimer <fweimer@redhat.com>
22738 * malloc/Makefile (others-extras): Set to mcheck-init.o.
22740 2017-10-16 Carlos O'Donell <carlos@redhat.com>
22742 * include/shlib-compat.h (compat_symbol_reference): Update
22745 2017-10-16 Joseph Myers <joseph@codesourcery.com>
22747 * math/Makefile (test-types): Add
22748 $(type-float128-$(float128-alias-fcts)).
22749 * math/test-float128.h (TYPE_STR): Define conditional on
22750 [FLT128_MANT_DIG == LDBL_MANT_DIG].
22751 (ULP_IDX): Likewise.
22752 (ULP_I_IDX): Likewise.
22754 * stdlib/strtold.c: Include <bits/floatn.h>
22755 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
22756 and later undefine as macro. Define as weak alias if
22758 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
22759 and later undefine as macro. Define as weak alias if
22761 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
22762 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
22763 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22764 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
22765 Define and later undefine as macro. Define as weak alias if
22767 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
22769 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
22770 Define and later undefine as macro. Define as weak alias if
22772 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
22773 Define and later undefine as macro. Define as weak alias if
22776 2017-10-15 Carlos O'Donell <carlos@redhat.com>
22778 * localedata/collate-test.c (allocate_arrays): Don't use \n in
22779 record_verbose messages.
22781 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
22784 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
22785 to silence -O3 -Wall warning with GCC 7.
22787 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
22789 * Makeconfig (+link-static-before-libc): Use the first of
22790 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
22791 * gmon/Makefile (tests): Add tst-gmon-static.
22792 (tests-static): Likewise.
22793 (CFLAGS-tst-gmon-static.c): New.
22794 (CRT-tst-gmon-static): Likewise.
22795 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
22796 (tst-gmon-static-ENV): Likewise.
22797 (tests-special): Likewise.
22798 ($(objpfx)tst-gmon-static.out): Likewise.
22799 (clean-tst-gmon-static-data): Likewise.
22800 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
22801 * gmon/tst-gmon-static-gprof.sh: New file.
22802 * gmon/tst-gmon-static.c: Likewise.
22804 2017-10-13 Carlos O'Donell <carlos@redhat.com>
22807 * locale/programs/linereader.c (get_string): Don't warn on
22808 non-symbolic character.
22811 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
22815 * locale/programs/record-status.h: New file
22816 * locale/programs/locale.c: Add comment.
22817 * locale/programs/charmap-dir.c: Don't include error.h.
22818 (charmap_opendir): Use record_error.
22819 * locale/programs/charmap.c: Don't include error.h.
22820 (charmap_read): Use record_error, and record_warning.
22821 (parse_charmap): Likewise.
22822 * locale/programs/ld-address.c: Don't include error.h.
22823 (address_finish): Use record_error, and record_warning.
22824 * locale/programs/ld-collate.c: Don't include error.h.
22825 (collate_finish): Use record_error, and record_error_at_line.
22826 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
22827 (ctype_class_new): Likewise.
22828 (ctype_map_new): Likewise.
22829 (set_one_default): Likewise.
22830 (set_class_defaults): Likewise.
22831 (translit_flatten): Likewise.
22832 (allocate_arrays): Use record_error, and record_verbose.
22833 * locale/programs/ld-identification.c: Don't include error.h.
22834 (indentation_finish): Use record_error and record_warning.
22835 * locale/programs/ld-measurement.c: Don't include error.h.
22836 (measurement_finish): Use record_error.
22837 * locale/programs/ld-messages.c
22838 (message_finish): Likewise.
22839 * locale/programs/ld-monetary.c
22840 (monetary_finish): Likewise.
22841 * locale/programs/ld-name.c (name_finish): Use record_error
22842 and record_warning.
22843 * locale/programs/ld-numeric.c
22844 (numeric_finish): Use record_error.
22845 * locale/programs/ld-paper.c: Don't include error.h.
22846 (paper_finish): Use record_error.
22847 * locale/programs/ld-telephone.c: Don't include error.h.
22848 (telephone_finish): Use record_error.
22849 * locale/programs/ld-time.c (time_finish): Likewise.
22850 * locale/programs/linereader.h (lr_error): Make inline func.
22851 * locale/programs/localedef.c: Define recorded_warning_count,
22852 and recorded_error_count.
22853 (main): Use record_error. Use recorded_error_count and
22854 recorded_warning_count to issue correct error returns.
22855 (add_to_readlist): Use record_error.
22856 (find_locale): Likewise.
22857 (load_locale): Likewise.
22858 * locale/programs/localedef.h: Remove be_quiet
22859 and WITH_CUR_LOCALE.
22860 * locale/programs/locarchive.c (compare_from_file): Use
22862 * locale/programs/locfile.c (write_locale_data): Use
22864 * locale/programs/repertoire.c: Dont include error.h.
22865 (repertoire_complain): Use record_error.
22866 * localedata/tst-fmon.sh: Expect failures from localedef.
22867 * localedata/tst-locale.sh: Likewise.
22868 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
22870 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
22871 (REPORTS): Likewise.
22873 (i18n): Rename to...
22874 (i18n_ctype): ...this.
22875 (i18n-report): Rename to...
22876 (i18n_ctype-report): ...this.
22877 * localedata/locales/i18n_ctype: Regenerate.
22878 * localedata/locales/i18n: copy i18n_ctype.
22880 2017-10-13 Joseph Myers <joseph@codesourcery.com>
22882 * stdlib/strfroml.c: Include <bits/floatn.h>.
22883 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
22884 Define before include of <stdlib.h> and undefine afterwards, then
22885 define as weak alias.
22887 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
22888 Undefine and restore default definition. Use
22889 libm_alias_ldouble_other.
22891 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
22894 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
22897 2017-10-13 James Clarke <jrtc27@jrtc27.com>
22899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22900 Assign sym_map to be map for local symbols, as TLS relocations
22901 use sym_map to determine whether the symbol is defined and to
22902 extract the TLS information.
22903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22904 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22906 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22909 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
22910 (math_force_eval): Add powerpc version.
22913 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
22915 (do_test): Likewise.
22916 * stdio-common/tst-printf.sh: Likewise.
22917 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
22918 ifdef clause in order to set the carry bit right. Replace r0 by
22919 0 without changing the behavior.
22921 2017-10-13 Joseph Myers <joseph@codesourcery.com>
22923 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
22924 <libm-alias-ldouble.h>.
22925 (fabsl): Define using libm_alias_ldouble.
22926 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
22927 <libm-alias-ldouble.h>.
22928 (fabsl): Define using libm_alias_ldouble.
22930 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
22931 Remove conditional code.
22933 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
22934 Rename to __clog10_internal_l.
22935 (__clog10_internal_l): Define aliases using
22936 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
22939 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22941 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
22942 * benchtests/sincosf-inputs: New file.
22943 * benchtests/cosf-inputs: New file.
22944 * benchtests/sinf-inputs: New file.
22946 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22948 * posix/tst-spawn.c (do_test): Wait for both children.
22950 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
22953 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
22954 tests-pie): Add tst-gmon-pie.
22955 (CFLAGS-tst-gmon-pie.c): New.
22956 (CRT-tst-gmon-pie): Likewise.
22957 (tst-gmon-pie-ENV): Likewise.
22958 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
22959 ($(objpfx)tst-gmon-pie.out): Likewise.
22960 (clean-tst-gmon-pie-data): Likewise.
22961 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
22962 * gmon/gmon.c [PIC]: Include <link.h>.
22963 [PIC] (callback): New function.
22964 (write_hist): Add an argument for load address. Subtract load
22966 (write_call_graph): Likewise.
22967 (write_gmon): Call __dl_iterate_phdr to get load address, pass
22968 it to write_hist and write_call_graph.
22969 * gmon/tst-gmon-pie.c: New file.
22971 2017-10-11 Joseph Myers <joseph@codesourcery.com>
22973 * math/Makefile (test-types-basic): New variable.
22974 (test-types): Likewise.
22975 (libm-test-support): Use $(test-types) instead of $(types).
22976 (libm-tests-base-normal): Likewise.
22977 (libm-tests-base-finite): Likewise.
22978 (libm-tests-base-inline): Likewise.
22979 (generated): Likewise.
22980 ($(objpfx)libm-test-support-$(t).c): Likewise.
22981 (libm-tests-for-type iterator): Likewise.
22982 (libm-test-support iterator): Likewise.
22983 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
22984 (ulp_idx): Use ULP_IDX.
22985 * math/test-ldouble.h: Include <float.h>.
22986 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
22987 (ULP_IDX): New macro.
22988 (ULP_I_IDX): Likewise.
22989 * math/test-double.h (ULP_IDX): Likewise.
22990 (ULP_I_IDX): Likewise.
22991 * math/test-float.h (ULP_IDX): Likewise.
22992 (ULP_I_IDX): Likewise.
22993 * math/test-float128.h (ULP_IDX): Likewise.
22994 (ULP_I_IDX): Likewise.
22996 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22998 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
22999 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23000 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23001 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23002 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23003 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23004 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23007 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23008 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23009 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23010 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23011 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23012 (SINGLE_THREAD_BY_GLOBAL): Define.
23013 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23015 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23017 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23019 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23021 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23022 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23026 2017-10-11 Andreas Schwab <schwab@suse.de>
23028 * nis/Makefile (aux): Remove.
23029 * nscd/Makefile (aux): Add nscd_hash.
23030 (nscd-modules): Likewise.
23031 ($(objpfx)nscd): Don't depend on libnsl.
23032 * nscd/nscd_hash.c: New file.
23033 * nscd/nscd_hash.h: Likewise.
23034 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23035 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23036 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23037 instead of <nis/rpcsvc/nis.h>.
23038 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23040 2017-10-11 Florian Weimer <fweimer@redhat.com>
23043 Avoid large NSS buffers with many addresses, aliases.
23044 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23045 using dynarrays and struct alloc_buffer.
23046 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23047 (tst-nss-files-hosts-multi): Link with -ldl.
23048 * nss/tst-nss-files-hosts-multi.c: New file.
23050 2017-10-11 Florian Weimer <fweimer@redhat.com>
23053 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23054 scratch_buffer. Eliminate gotos.
23056 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23058 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23059 libm_alias_ldouble_other.
23060 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23061 undefine and redefine.
23062 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23063 (exp10l): Do not define here.
23064 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23065 (weak_alias): Undefine and redefine.
23066 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23067 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23068 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
23069 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
23071 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
23072 [!__fma] (fma): Define using libm_alias_double.
23073 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
23074 [!__fmaf] (fmaf): Define using libm_alias_float.
23075 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
23076 (fmal): Define using libm_alias_ldouble.
23078 2017-10-10 Joseph Myers <joseph@codesourcery.com>
23080 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
23082 (libm_alias_double_other): Likewise.
23083 (libm_alias_double_r): Use libm_alias_double_other_r.
23084 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
23086 (libm_alias_float_other): Likewise.
23087 (libm_alias_float_r): Use libm_alias_float_other_r.
23088 * sysdeps/generic/libm-alias-float128.h
23089 (libm_alias_float128_other_r): New macro.
23090 (libm_alias_float128_other): Likewise.
23091 (libm_alias_float128_r): Use libm_alias_float128_other_r.
23092 * sysdeps/generic/libm-alias-ldouble.h
23093 (libm_alias_ldouble_other_r): New macro.
23094 (libm_alias_ldouble_other): Likewise.
23095 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23096 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23097 (libm_alias_double_other_r): New macro.
23098 (libm_alias_double_other): Likewise.
23099 (libm_alias_double_r): Use libm_alias_double_other_r.
23100 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23101 (libm_alias_ldouble_other_r): New macro.
23102 (libm_alias_ldouble_other): Likewise.
23103 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23104 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
23105 [!USE_AS_COMPAT]: Use libm_alias_double_other.
23106 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
23107 [!USE_AS_COMPAT]: Use libm_alias_float_other.
23108 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
23109 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
23110 * math/w_exp2f.c: Use libm_alias_float_other.
23111 * math/w_expf.c: Likewise.
23112 * math/w_log2f.c: Likewise.
23113 * math/w_logf.c: Likewise.
23114 * math/w_powf.c: Likewise.
23115 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
23116 [!__exp2f]: Use libm_alias_float_other.
23117 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
23118 [!__expf]: Use libm_alias_float_other.
23119 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
23120 [!__log2f]: Use libm_alias_float_other.
23121 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
23122 [!__logf]: Use libm_alias_float_other.
23123 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
23124 [!__powf]: Use libm_alias_float_other.
23126 2017-10-10 Florian Weimer <fweimer@redhat.com>
23128 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
23130 (_nss_files_gethostbyname3_r): Call it.
23132 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23134 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
23135 error. Remove default definition of declare_mgen_alias.
23136 [!declare_mgen_alias_r]: Likewise.
23137 * sysdeps/generic/math-type-macros-double.h
23138 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
23139 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
23140 (declare_mgen_alias_r): Likewise.
23141 * sysdeps/generic/math-type-macros-float128.h
23142 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23143 * sysdeps/generic/math-type-macros-ldouble.h
23144 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23145 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
23147 (declare_mgen_alias_r_s): Likewise.
23148 (declare_mgen_alias_r): Likewise.
23149 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
23150 (lgamma_r): Define using libm_alias_double_r.
23151 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
23152 (lgammaf_r): Define using libm_alias_float_r.
23153 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
23154 (lgammal_r): Define using libm_alias_ldouble_r.
23155 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
23156 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
23158 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23160 * lib/glob.c (__glob_pattern_type): Remove now-spurious
23161 extern declaration.
23163 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23165 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
23167 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
23170 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
23171 [__cplusplus >= 201103] (__USE_ISOC99): Define.
23172 * math/Makefile (test-math-cxx11): New test.
23173 * math/test-math-cxx11.cc: New file.
23175 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
23177 * login/openpty.c (openpty): Close slave pty file descriptor on error.
23179 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
23180 call to allocate the slave pty file descriptor.
23182 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23184 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
23185 [!__fma] (fma): Define using libm_alias_double.
23186 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
23187 [!__fma] (fma): Define using libm_alias_double.
23189 * sysdeps/ieee754/float128/float128_private.h: Include
23190 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
23191 (libm_alias_ldouble_r): Undefine and redefine.
23192 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
23193 <libm-alias-ldouble.h>.
23194 (asinhl): Define using libm_alias_ldouble.
23195 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
23196 <libm-alias-ldouble.h>.
23197 (atanl): Define using libm_alias_ldouble.
23198 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
23199 <libm-alias-ldouble.h>.
23200 (cbrtl): Define using libm_alias_ldouble.
23201 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
23202 <libm-alias-ldouble.h>.
23203 (ceill): Define using libm_alias_ldouble.
23204 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
23205 <libm-alias-ldouble.h>.
23206 (copysignl): Define using libm_alias_ldouble.
23207 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
23208 <libm-alias-ldouble.h>.
23209 (cosl): Define using libm_alias_ldouble.
23210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
23211 <libm-alias-ldouble.h>.
23212 (erfl): Define using libm_alias_ldouble.
23214 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
23215 <libm-alias-ldouble.h>.
23216 (expm1l): Define using libm_alias_ldouble.
23217 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
23218 <libm-alias-ldouble.h>.
23219 (fabsl): Define using libm_alias_ldouble.
23220 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
23221 <libm-alias-ldouble.h>.
23222 (floorl): Define using libm_alias_ldouble.
23223 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
23224 <libm-alias-ldouble.h>.
23225 (fmal): Define using libm_alias_ldouble.
23226 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
23227 <libm-alias-ldouble.h>.
23228 (frexpl): Define using libm_alias_ldouble.
23229 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
23230 libm_alias_ldouble.
23231 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
23232 <libm-alias-ldouble.h>.
23233 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
23234 libm_alias_ldouble.
23235 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
23236 <libm-alias-ldouble.h>.
23237 (getpayloadl): Define using libm_alias_ldouble.
23238 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
23239 <libm-alias-ldouble.h>.
23240 (llrintl): Define using libm_alias_ldouble.
23241 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
23242 <libm-alias-ldouble.h>.
23243 (llroundl): Define using libm_alias_ldouble.
23244 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
23245 <libm-alias-ldouble.h>.
23246 (logbl): Define using libm_alias_ldouble.
23247 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
23248 <libm-alias-ldouble.h>.
23249 (lrintl): Define using libm_alias_ldouble.
23250 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
23251 <libm-alias-ldouble.h>.
23252 (lroundl): Define using libm_alias_ldouble.
23253 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
23254 <libm-alias-ldouble.h>.
23255 (modfl): Define using libm_alias_ldouble.
23256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
23257 <libm-alias-ldouble.h>.
23258 (nearbyintl): Define using libm_alias_ldouble.
23259 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
23260 <libm-alias-ldouble.h>.
23261 (nextafterl): Define using libm_alias_ldouble.
23262 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
23263 <libm-alias-ldouble.h>.
23264 (nextupl): Define using libm_alias_ldouble.
23265 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
23266 <libm-alias-ldouble.h>.
23267 (remquol): Define using libm_alias_ldouble.
23268 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
23269 <libm-alias-ldouble.h>.
23270 (rintl): Define using libm_alias_ldouble.
23271 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
23272 <libm-alias-ldouble.h>.
23273 (roundevenl): Define using libm_alias_ldouble.
23274 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
23275 <libm-alias-ldouble.h>.
23276 (roundl): Define using libm_alias_ldouble.
23277 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
23278 using libm_alias_ldouble.
23279 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
23280 <libm-alias-ldouble.h>.
23281 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
23282 Define using libm_alias_ldouble.
23283 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
23284 <libm-alias-ldouble.h>.
23285 (sincosl): Define using libm_alias_ldouble.
23286 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
23287 <libm-alias-ldouble.h>.
23288 (sinl): Define using libm_alias_ldouble.
23289 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
23290 <libm-alias-ldouble.h>.
23291 (tanhl): Define using libm_alias_ldouble.
23292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
23293 <libm-alias-ldouble.h>.
23294 (tanl): Define using libm_alias_ldouble.
23295 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
23296 <libm-alias-ldouble.h>.
23297 (totalorderl): Define using libm_alias_ldouble.
23298 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
23299 <libm-alias-ldouble.h>.
23300 (totalordermagl): Define using libm_alias_ldouble.
23301 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
23302 <libm-alias-ldouble.h>.
23303 (truncl): Define using libm_alias_ldouble.
23304 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
23305 libm_alias_ldouble.
23306 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
23307 libm_alias_ldouble.
23308 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
23309 <libm-alias-ldouble.h>.
23310 (weak_alias): Do not undefine and redefine.
23311 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23312 (copysignl): Define with long_double_symbol only if [IS_IN
23314 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
23315 <libm-alias-ldouble.h>.
23316 (weak_alias): Do not undefine and redefine.
23317 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23318 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
23319 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
23320 <libm-alias-ldouble.h>.
23321 (weak_alias): Do not undefine and redefine.
23322 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23323 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
23324 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
23325 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
23328 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
23331 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
23333 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
23334 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
23341 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
23347 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
23349 2017-10-06 Carlos O'Donell <carlos@redhat.com>
23352 * malloc/malloc.c (tcache_shutting_down): Use bool type.
23353 (tcache_thread_freeres): Set tcache_shutting_down before
23354 freeing the tcache.
23355 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
23356 * malloc/tst-malloc-tcache-leak.c: New file.
23358 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23360 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
23361 back to powerpc32 file.
23362 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23363 (memrchr): Add __memrchr_power8 to ifunc list.
23364 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
23365 extra bytes for unaligned inputs.
23367 2017-10-06 Joseph Myers <joseph@codesourcery.com>
23369 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
23370 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23373 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23375 2017-10-05 Joseph Myers <joseph@codesourcery.com>
23377 * sysdeps/arm/libm-test-ulps: Update.
23379 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
23380 <libm-alias-ldouble.h>.
23381 (asinhl): Define using libm_alias_ldouble.
23382 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
23383 <libm-alias-ldouble.h>.
23384 (cbrtl): Define using libm_alias_ldouble.
23385 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
23386 <libm-alias-ldouble.h>.
23387 (copysignl): Define using libm_alias_ldouble.
23388 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
23389 <libm-alias-ldouble.h>.
23390 (cosl): Define using libm_alias_ldouble.
23391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
23392 <libm-alias-ldouble.h>.
23393 (erfl): Define using libm_alias_ldouble.
23395 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
23396 <libm-alias-ldouble.h>.
23397 (fmal): Define using libm_alias_ldouble.
23398 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
23399 <libm-alias-ldouble.h>.
23400 (frexpl): Define using libm_alias_ldouble.
23401 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
23402 libm_alias_ldouble.
23403 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
23404 <libm-alias-ldouble.h>.
23405 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
23406 libm_alias_ldouble.
23407 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
23408 <libm-alias-ldouble.h>.
23409 (getpayloadl): Define using libm_alias_ldouble.
23410 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
23411 <libm-alias-ldouble.h>.
23412 (llrintl): Define using libm_alias_ldouble.
23413 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
23414 <libm-alias-ldouble.h>.
23415 (llroundl): Define using libm_alias_ldouble.
23416 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
23417 <libm-alias-ldouble.h>.
23418 (lrintl): Define using libm_alias_ldouble.
23419 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
23420 <libm-alias-ldouble.h>.
23421 (lroundl): Define using libm_alias_ldouble.
23422 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
23423 <libm-alias-ldouble.h>.
23424 (modfl): Define using libm_alias_ldouble.
23425 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
23426 <libm-alias-ldouble.h>.
23427 (nextupl): Define using libm_alias_ldouble.
23428 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
23429 <libm-alias-ldouble.h>.
23430 (remquol): Define using libm_alias_ldouble.
23431 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
23432 <libm-alias-ldouble.h>.
23433 (roundevenl): Define using libm_alias_ldouble.
23434 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
23435 <libm-alias-ldouble.h>.
23436 (roundl): Define using libm_alias_ldouble.
23437 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
23438 using libm_alias_ldouble.
23439 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
23440 <libm-alias-ldouble.h>.
23441 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
23442 <libm-alias-ldouble.h>.
23443 (setpayloadsigl): Define using libm_alias_ldouble.
23444 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
23445 <libm-alias-ldouble.h>.
23446 (sincosl): Define using libm_alias_ldouble.
23447 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
23448 <libm-alias-ldouble.h>.
23449 (sinl): Define using libm_alias_ldouble.
23450 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
23451 <libm-alias-ldouble.h>.
23452 (tanhl): Define using libm_alias_ldouble.
23453 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
23454 <libm-alias-ldouble.h>.
23455 (tanl): Define using libm_alias_ldouble.
23456 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
23457 <libm-alias-ldouble.h>.
23458 (totalorderl): Define using libm_alias_ldouble.
23459 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
23460 <libm-alias-ldouble.h>.
23461 (totalordermagl): Define using libm_alias_ldouble.
23462 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
23463 libm_alias_ldouble.
23464 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
23465 libm_alias_ldouble.
23467 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
23469 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
23471 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23472 (__libc_ifunc_impl_list): Likewise.
23473 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
23474 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
23476 * benchtests/bench-memmove-walk.c: New file.
23477 * benchtests/Makefile (string-benchset): Add it.
23479 * benchtests/bench-memset-walk.c: New file.
23480 * benchtests/Makefile (string-benchset): Add it.
23482 * benchtests/bench-memcpy-walk.c: New file.
23483 * benchtests/Makefile (string-benchset): Add it.
23485 2017-10-05 Florian Weimer <fweimer@redhat.com>
23487 nscd: Eliminate compilation time dependency in the build output.
23488 * nscd/nscd_stat.c (STATDATA_VERSION)
23489 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
23490 (STATDATA_VERSION_FULL): New macro definitions.
23491 (compilation): Remove.
23492 (struct statdata): Adjust version member.
23493 (send_stats): Set version from STATDATA_VERSION_FULL.
23494 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
23496 2017-10-05 Joseph Myers <joseph@codesourcery.com>
23498 * configure.ac (--enable-add-ons): Remove option.
23499 (machine): Do not mention add-ons in comment.
23500 (LIBC_PRECONFIGURE): Likewise.
23501 (add_ons): Remove variable and sanity checks and logic to locate
23503 (add_ons_automatic): Remove variable.
23504 (configured_add_ons): Likewise.
23505 (add_ons_sfx): Likewise.
23506 (add_ons_pfx): Likewise.
23507 (add_on_subdirs): Likewise.
23508 (sysnames_add_ons): Likewise. Remove loop over add-ons and
23509 consideration of add-ons in Implies handling.
23510 (sysdeps_add_ons): Likewise.
23511 * configure: Regenerated.
23512 * libidn/configure.ac: Remove.
23513 * libidn/configure: Likewise.
23514 * sysdeps/unix/inet/configure.ac: New file.
23515 * sysdeps/unix/inet/configure: New generated file.
23516 * sysdeps/unix/inet/Subdirs: Add libidn.
23517 * Makeconfig (sysdeps-srcdirs): Remove variable.
23518 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
23519 ($(common-objpfx)config.status): Do not depend on add-on files.
23520 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
23522 (all-subdirs): Do not include $(add-on-subdirs).
23523 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
23524 * config.make.in (add-ons): Remove variable.
23525 (add-on-subdirs): Likewise.
23526 (sysdeps-add-ons): Likewise.
23527 * manual/Makefile (add-chapters): Remove.
23528 ($(objpfx)texis): Do not depend on $(add-chapters).
23529 (nonexamples): Do not handle $(add-chapters).
23530 (examples): Do not handle $(add-ons).
23531 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
23533 * manual/install.texi (Installation): Do not mention add-ons.
23534 (--enable-add-ons): Do not document configure option.
23535 * INSTALL: Regenerated.
23536 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
23537 * manual/maint.texi (Hierarchy Conventions): Do not mention
23539 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
23541 * scripts/gen-sorted.awk: Do not handle Subdirs files from
23543 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
23544 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
23546 2017-10-05 Andreas Schwab <schwab@suse.de>
23549 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
23550 (_IO_flush_all_lockp): Always lock list_all_lock.
23551 (_IO_flush_all_linebuffered): Likewise.
23552 (_IO_unbuffer_all): Likewise.
23554 2017-10-05 Florian Weimer <fweimer@redhat.com>
23557 Do not flush stdio streams on abort.
23558 * stdlib/abort.c (fflush): Remove macro definition.
23559 (abort): Remove stages related to stdio flushing.
23561 2017-10-05 Florian Weimer <fweimer@redhat.com>
23563 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
23565 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
23567 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23569 2017-10-05 Florian Weimer <fweimer@redhat.com>
23571 * support/support_format_hostent.c (support_format_hostent): Add
23572 more error information for NETDB_INTERNAL.
23574 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23576 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
23577 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
23578 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
23579 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
23580 AC_DEFINE if multi-arch is enabled.
23581 * sysdeps/i386/configure: Regenerated.
23583 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23585 * Makeconfig (+link-static-before-libc): Use
23586 $(DEFAULT-LDFLAGS-$(@F)).
23587 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
23588 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
23589 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
23591 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23593 * elf/Makefile (tests): Add tst-main1.
23594 (modules-names): Add tst-main1mod.
23595 ($(objpfx)tst-main1): New.
23596 (CRT-tst-main1): Likewise.
23597 (LDFLAGS-tst-main1): Likewise.
23598 (LDLIBS-tst-main1): Likewise.
23599 (tst-main1mod.so-no-z-defs): Likewise.
23600 * elf/tst-main1.c: New file.
23601 * elf/tst-main1mod.c: Likewise.
23603 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23605 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
23607 2017-10-04 Joseph Myers <joseph@codesourcery.com>
23609 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
23610 (fma): Define using libm_alias_double.
23611 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
23612 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
23614 (fmal): Do not define as compat symbol here.
23615 * sysdeps/alpha/fpu/s_fma.c: New file.
23617 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23619 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
23621 2017-10-04 Joseph Myers <joseph@codesourcery.com>
23624 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23626 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
23628 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
23629 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23630 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
23631 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
23632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23633 Include <math_ldbl_opt.h>
23634 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
23636 (compat_symbol): Undefine and redefine.
23637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23639 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23640 (compat_symbol): Undefine and redefine.
23641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
23642 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
23643 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
23644 GLIBC_2_1 for libm.
23645 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
23646 GLIBC_2.0 copysignl symbol.
23647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23648 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
23650 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
23652 2017-10-04 Florian Weimer <fweimer@redhat.com>
23654 * scripts/check-local-headers.sh: Ignore nspr4 header file
23655 directory in addition to nspr.
23657 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
23660 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
23661 * configure: Regenerate.
23662 * crypt/Makefile (nss-cpp-flags): New variable.
23663 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
23664 (CPPFLAGS-md5-crypt.c): Use it.
23665 * scripts/check-local-headers.sh: Ignore nspr header file
23668 2017-10-04 Andreas Schwab <schwab@suse.de>
23670 * nis/Makefile (services): Remove compat.
23671 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
23672 ($(objpfx)libnss_compat.so): Remove rule.
23673 * nis/Versions (libnss_compat): Remove.
23674 * nss/Makefile (services): Add compat.
23675 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
23676 * nss/Versions (libnss_compat): Define.
23677 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
23678 Don't include <rpc/types.h>. Replace bool_t by bool.
23679 * nss/nss_compat/compat-initgroups.c: Likewise.
23680 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
23681 instead of <rpcsrv/ypclnt.h>.
23682 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
23683 yp_get_default_domain.
23684 * nss/nss_compat/compat-pwd.c: Likewise.
23685 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
23686 yp_get_default_domain.
23687 * nss/nss_compat/nisdomain.c: New file.
23688 * nss/nss_compat/nisdomain.h: Likewise.
23690 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23693 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
23694 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23696 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23699 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
23700 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
23702 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23704 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
23705 "movl main@GOTOFF(%ebx), %eax".
23707 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23709 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
23710 allow undefined _DYNAMIC in PIE libc.a.
23711 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23714 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23716 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
23719 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23721 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
23724 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23726 * math/test-math-iscanonical.cc (error): Replace bool with int.
23728 2017-10-03 Joseph Myers <joseph@codesourcery.com>
23730 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
23731 (modf): Define using libm_alias_double, only if [!__modf].
23732 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
23733 <libm-alias-double.h>.
23734 (modf): Define using libm_alias_double, only if [!__modf].
23735 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
23736 compat symbol here.
23737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
23738 (weak_alias): Do not undefine and redefine.
23739 (strong_alias): Likewise.
23740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
23741 (weak_alias): Likewise.
23742 (strong_alias): Likewise.
23744 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
23745 (logb): Define using libm_alias_double, only if [!__logb].
23746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
23747 <libm-alias-double.h>.
23748 (logb): Define using libm_alias_double, only if [!__logb].
23749 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
23750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
23751 (weak_alias): Do not undefine and redefine.
23752 (strong_alias): Likewise.
23753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
23754 (weak_alias): Likewise.
23755 (strong_alias): Likewise.
23757 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23759 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
23760 Check SHARED instead PIC.
23762 2017-10-03 Joseph Myers <joseph@codesourcery.com>
23764 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
23765 [!__fmaf] (fmaf): Define using libm_alias_float.
23767 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
23768 (frexp): Define using libm_alias_double.
23769 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
23770 <libm-alias-double.h>.
23771 (frexp): Define using libm_alias_double.
23772 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
23773 compat symbol here.
23775 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23778 * math/math.h: Trivial fix for unbalanced parentheses in comment.
23779 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
23780 (CFLAGS-test-math-iscanonical.cc): New variable.
23781 * math/test-math-iscanonical.cc: New file.
23782 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
23783 Provide a C++ implementation based on function overloading,
23784 rather than using __MATH_TG, which uses C-only builtins.
23785 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
23787 * sysdeps/powerpc/powerpc64le/Makefile
23788 (CFLAGS-test-math-iscanonical.cc): New variable.
23790 2017-10-03 Joseph Myers <joseph@codesourcery.com>
23792 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
23793 (ceil): Define using libm_alias_double.
23794 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
23795 (floor): Define using libm_alias_double.
23796 * sysdeps/ieee754/dbl-64/s_llround.c: Include
23797 <libm-alias-double.h>.
23798 (llround): Define using libm_alias_double.
23799 * sysdeps/ieee754/dbl-64/s_lround.c: Include
23800 <libm-alias-double.h>.
23801 (lround): Define using libm_alias_double.
23802 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
23803 <libm-alias-double.h>.
23804 (nearbyint): Define using libm_alias_double.
23805 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
23806 <libm-alias-double.h>.
23807 (remquo): Define using libm_alias_double.
23808 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
23809 (rint): Define using libm_alias_double.
23810 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
23811 (round): Define using libm_alias_double.
23812 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
23813 (trunc): Define using libm_alias_double.
23814 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
23815 <libm-alias-double.h>.
23816 (ceil): Define using libm_alias_double.
23817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
23818 <libm-alias-double.h>.
23819 (floor): Define using libm_alias_double.
23820 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
23821 <libm-alias-double.h>.
23822 (llround): Define using libm_alias_double.
23823 [_LP64] (lround): Likewise.
23824 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
23825 <libm-alias-double.h>.
23826 [!_LP64] (lround): Define using libm_alias_double.
23827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
23828 <libm-alias-double.h>.
23829 (nearbyint): Define using libm_alias_double.
23830 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
23831 <libm-alias-double.h>.
23832 (remquo): Define using libm_alias_double.
23833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
23834 <libm-alias-double.h>.
23835 (rint): Define using libm_alias_double.
23836 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
23837 <libm-alias-double.h>.
23838 (round): Define using libm_alias_double.
23839 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
23840 <libm-alias-double.h>.
23841 (trunc): Define using libm_alias_double.
23842 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
23843 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
23844 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
23845 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
23846 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
23847 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
23848 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
23849 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
23850 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
23852 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23854 * math/w_remainder.c: New file.
23855 * math/w_remainderf.c: New file.
23856 * math/w_remainderl.c: New file.
23858 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23860 * elf/rtld.c (BOOTSTRAP_MAP): New.
23861 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
23862 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23864 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23866 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23869 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23871 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
23872 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
23873 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
23874 rtld_hidden_data_ver): Define to empty.
23875 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
23876 __assert_perror_fail): Likewise.
23877 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23878 (__rewinddir): Likewise.
23879 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23880 (__profile_frequency): Likewise.
23881 * include/setjmp.h (__sigsetjmp): Likewise.
23882 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
23883 __libc_sigaction): Likewise.
23884 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
23885 not set hidden attribute.
23886 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
23887 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
23888 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
23889 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
23890 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
23891 __fxstatat64): Likewise.
23892 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23893 (__uname): Likewise.
23894 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23895 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
23896 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
23897 (NO_RTLD_HIDDEN): Set.
23898 * sysdeps/mach/hurd/configure: Refresh.
23899 * config.h.in: Refresh.
23901 2017-10-02 Joseph Myers <joseph@codesourcery.com>
23903 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
23904 (atan): Define using libm_alias_double.
23905 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
23906 (tan): Define using libm_alias_double.
23907 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
23908 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
23911 define as weak alias of __atan. Do not define any aliases if
23913 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
23914 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
23915 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
23916 as weak alias of __tan. Do not define any aliases if [__tan].
23917 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
23918 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
23919 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
23921 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
23922 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
23923 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
23924 and define as weak alias of __atan.
23925 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
23927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
23928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
23929 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
23930 define as weak alias of __tan.
23932 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23934 * math/w_lgamma.c: New file.
23935 * math/w_lgammaf.c: New file.
23936 * math/w_lgammal.c: New file.
23938 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23940 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
23941 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
23942 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
23943 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
23944 * sysdeps/ieee754/flt-32/w_logf.c: New file.
23945 * sysdeps/ieee754/flt-32/w_powf.c: New file.
23946 * sysdeps/i386/fpu/w_log2f.c: New file.
23947 * sysdeps/i386/fpu/w_logf.c: New file.
23948 * sysdeps/i386/fpu/w_powf.c: New file.
23949 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
23950 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
23951 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
23953 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23954 H.J. Lu <hongjiu.lu@intel.com>
23956 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
23957 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
23958 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
23959 * sysdeps/ieee754/flt-32/w_expf.c: New file.
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
23962 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
23963 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
23964 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
23965 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
23966 * sysdeps/i386/fpu/w_exp2f.c: New file.
23967 * sysdeps/i386/fpu/w_expf.c: New file.
23968 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
23969 * sysdeps/x86_64/fpu/w_expf.c: New file.
23971 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23973 * math/Versions (logf): New libm symbol at GLIBC_2.27.
23976 * math/w_log2f.c: New file.
23977 * math/w_logf.c: New file.
23978 * math/w_powf.c: New file.
23979 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
23980 * math/w_logf_compat.c (__logf_compat): Likewise.
23981 * math/w_powf_compat.c (__powf_compat): Likewise.
23982 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
23983 * sysdeps/ia64/fpu/e_logf.S: Likewise.
23984 * sysdeps/ia64/fpu/e_powf.S: Likewise.
23985 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23986 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23987 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23988 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23989 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23990 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23991 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23992 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23993 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23994 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23995 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23996 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24005 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24006 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24007 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24009 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24014 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24015 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24016 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24018 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24020 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24021 (sysdep_routines): Add memrchr_power8.
24022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24023 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24024 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24026 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24027 (memrchr): Add __memrchr_power8 to ifunc list.
24028 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24033 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24034 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24036 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24037 (__posix_fallocate64_l64): Likewise.
24039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24042 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24043 (__sched_setaffinity_new): Add libc_hidden_proto and
24046 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24049 * include/glob.h (__glob64): Add libc_hidden_proto.
24050 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24056 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24062 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24067 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
24070 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24073 * csu/version.c (__libc_print_version): Add attribute_hidden.
24075 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24078 * include/libc-internal.h (__init_misc): Add attribute_hidden.
24080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24083 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
24085 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24088 * nscd/nscd_helper.c (__nis_hash): New prototype.
24090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24093 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
24094 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
24096 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24097 * termios/tcgetattr.c (__tcgetattr): Likewise.
24099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24102 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
24103 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
24104 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
24105 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
24106 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
24108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24111 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
24113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24116 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
24117 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
24119 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24122 * intl/hash-string.h (__hash_string): Add attribute_hidden.
24124 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24127 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
24128 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
24130 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24133 * include/ifreq.h: New file.
24134 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
24135 (__ifreq): Likewise.
24136 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
24137 (__ifreq): Likewise.
24139 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24142 * include/idna.h: New file.
24143 * inet/getnameinfo.c: Include <idna.h> instead of
24145 (__idna_to_unicode_lzlz): Removed.
24146 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
24148 (__idna_to_ascii_lz): Removed.
24149 (__idna_to_unicode_lzlz): Likewise.
24151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24154 * include/plural-exp.h: New file.
24155 * intl/plural-exp.c: Include <plural-exp.h> instead of
24158 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24161 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
24162 "getsourcefilter.h".
24163 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
24164 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
24165 "getsourcefilter.h".
24166 (__get_sol): Removed.
24168 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24171 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
24173 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
24175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24178 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
24181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24184 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
24186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24189 * include/search.h (__tdestroy): Add libc_hidden_proto.
24190 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
24192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24195 * include/assert.h (__assert_fail_base): Add attribute_hidden.
24197 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24200 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
24203 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24206 * include/signal.h (__kill): Add libc_hidden_proto.
24207 (__sigblock): Likewise.
24208 (__sigprocmask): Likewise.
24209 (__sigaltstack): Likewise.
24210 * signal/kill.c (__kill): Add libc_hidden_def.
24211 * signal/sigblock.c (__sigblock): Likewise.
24212 * signal/sigprocmask.c (__sigprocmask): Likewise.
24213 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
24214 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24215 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24216 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24217 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
24219 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24221 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24222 (__sigprocmask): Likewise.
24223 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
24225 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24226 (__sigprocmask): Likewise.
24227 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24233 * include/string.h (__strsep): Add libc_hidden_proto.
24234 * string/strsep.c (__strsep): Add libc_hidden_def.
24236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24239 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
24241 (__spawni): Likewise.
24243 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24246 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
24247 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
24250 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24253 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
24255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24258 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
24259 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
24260 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24261 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
24262 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
24264 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
24265 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
24267 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24270 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
24271 (__dcigettext): Likewise.
24273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24276 * include/sys/sysinfo.h (__get_nprocs_conf): Add
24278 (__get_nprocs): Likewise.
24279 (__get_phys_pages): Likewise.
24280 (__get_avphys_pages): Likewise.
24281 (__get_child_max): Add attribute_hidden.
24282 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
24283 (__get_nprocs): Likewise.
24284 (__get_phys_pages): Likewise.
24285 (__get_avphys_pages): Likewise.
24286 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
24288 (__get_nprocs): Likewise.
24289 (__get_phys_pages): Likewise.
24290 (__get_avphys_pages): Likewise.
24291 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
24293 (__get_nprocs_conf): Likewise.
24294 (__get_phys_pages): Likewise.
24295 (__get_avphys_pages): Likewise.
24297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24300 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
24302 (__netlink_close): Likewise.
24303 (__netlink_free_handle): Likewise.
24304 (__netlink_request): Likewise.
24306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24309 * include/rpc/rpc.h (__rpc_thread_variables): Add
24311 (__rpc_thread_svc_cleanup): Likewise.
24312 (__rpc_thread_clnt_cleanup): Likewise.
24313 (__rpc_thread_key_cleanup): Likewise.
24315 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24318 * include/sys/uio.h (__readv): Add libc_hidden_proto.
24319 (__writev): Likewise.
24320 * misc/readv.c (__readv): Add libc_hidden_def.
24321 * misc/writev.c (__writev): Likewise.
24322 * sysdeps/posix/readv.c (__readv): Likewise.
24323 * sysdeps/posix/writev.c (__writev): Likewise.
24324 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
24325 (__readv): Likewise.
24326 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
24327 (__writev): Likewise.
24329 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24332 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
24333 (__regcomp): Add libc_hidden_proto.
24334 (__regexec): Likewise.
24335 (__regfree): Likewise.
24336 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
24337 (__regfree): Likewise.
24338 * posix/regexec.c (__regexec): Likewise.
24340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24343 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
24344 (__getutent): Likewise.
24345 (__getutid): Likewise.
24346 (__getutline): Likewise.
24347 (__pututline): Likewise.
24348 (__getutent_r): Likewise.
24349 (__getutid_r): Likewise.
24350 (__getutline_r): Likewise.
24351 (__utmpname): Add attribute_hidden.
24352 (__setutent): Likewise.
24353 (__endutent): Likewise.
24354 * login/getutent.c (__getutent): Add libc_hidden_def.
24355 * login/getutent_r.c (__getutent_r): Likewise.
24356 (__pututline): Likewise.
24357 * login/getutid.c (__getutid): Likewise.
24358 * login/getutid_r.c (__getutid_r): Likewise.
24359 * login/getutline.c (__getutline): Likewise.
24360 * login/getutline_r.c (__getutline_r): Likewise.
24361 * login/updwtmp.c (__updwtmp): Likewise.
24363 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24366 * include/dirent.h (__opendir): Always add attribute_hidden.
24367 (__fdopendir): Likewise.
24368 (__closedir): Likewise.
24369 (__readdir): Likewise.
24370 (__readdir64): Add libc_hidden_proto.
24371 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
24372 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
24373 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
24374 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
24377 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24380 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
24381 * include/netdb.h (__gethostbyaddr_r): Likewise.
24382 (__gethostbyname_r): Likewise.
24383 (__gethostbyname2_r): Likewise.
24384 (__getnetbyaddr_r): Likewise.
24385 (__getnetbyname_r): Likewise.
24386 (__getservbyname_r): Likewise.
24387 (__getservbyport_r): Likewise.
24388 (__getprotobyname_r): Likewise.
24389 (__getprotobynumber_r): Likewise.
24390 (__getnetgrent_r): Likewise.
24391 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
24392 (__getrpcbynumber_r): Likewise.
24393 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
24395 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24398 * include/stdio.h (__fcloseall): Add attribute_hidden.
24399 (__getline): Likewise.
24400 (__path_search): Likewise.
24401 (__gen_tempname): Likewise.
24402 (__libc_message): Likewise.
24403 (__flockfile): Likewise.
24404 (__funlockfile): Likewise.
24405 (__fxprintf): Likewise.
24406 (__fxprintf_nocancel): Likewise.
24408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24411 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
24412 (__sgetsgent_r): Likewise.
24414 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24417 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
24418 (__statfs64): Likewise.
24419 (__fstatfs64): Likewise.
24420 * include/sys/statvfs.h (__statvfs64): Likewise.
24421 (__fstatvfs64): Likewise.
24422 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
24423 (__statfs_filesize_max): Likewise.
24424 (__statfs_symlinks): Likewise.
24425 (__statfs_chown_restricted): Likewise.
24427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24430 * include/time.h (__tzstring): Add attribute_hidden.
24431 (__tzfile_read): Likewise.
24432 (__tzfile_compute): Likewise.
24433 (__tzfile_default): Likewise.
24434 (__tzset_parse_tz): Likewise.
24435 (__offtime): Likewise.
24436 (__asctime_r): Likewise.
24437 (__tzset): Likewise.
24438 (__tz_convert): Likewise.
24439 (__getdate_r): Likewise.
24440 (__getclktck): Likewise.
24442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24445 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
24446 (__nscd_unmap): Likewise.
24447 (__nscd_cache_search): Likewise.
24448 (__nscd_get_nl_timestamp): Likewise.
24449 (__nscd_getpwnam_r): Likewise.
24450 (__nscd_getpwuid_r): Likewise.
24451 (__nscd_getgrnam_r): Likewise.
24452 (__nscd_getgrgid_r): Likewise.
24453 (__nscd_gethostbyname_r): Likewise.
24454 (__nscd_gethostbyname2_r): Likewise.
24455 (__nscd_gethostbyaddr_r): Likewise.
24456 (__nscd_getai): Likewise.
24457 (__nscd_getgrouplist): Likewise.
24458 (__nscd_getservbyname_r): Likewise.
24459 (__nscd_getservbyport_r): Likewise.
24460 (__nscd_innetgr): Likewise.
24461 (__nscd_setnetgrent): Likewise.
24463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24466 * include/gmp.h: Declare internal functions only if _ISOMAC is
24468 (__mpn_extract_double): Add attribute_hidden.
24469 (__mpn_extract_long_double): Likewise.
24470 (__mpn_extract_float128): Likewise.
24471 (__mpn_construct_float): Likewise.
24472 (__mpn_construct_double): Likewise.
24473 (__mpn_construct_long_double): Likewise.
24474 (__mpn_construct_float128): Likewise.
24475 (mpn_add_1): Likewise.
24476 (mpn_addmul_1): Likewise.
24477 (mpn_add_n): Likewise.
24478 (mpn_cmp): Likewise.
24479 (mpn_divrem): Likewise.
24480 (mpn_lshift): Likewise.
24481 (mpn_mul): Likewise.
24482 (mpn_mul_1): Likewise.
24483 (mpn_rshift): Likewise.
24484 (mpn_sub_1): Likewise.
24485 (mpn_submul_1): Likewise.
24486 (mpn_sub_n): Likewise.
24488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24491 * include/wchar.h (__wcsnlen): Add attribute_hidden.
24492 (__wcscat): Likewise.
24493 (__btowc): Likewise.
24494 (__wcrtomb): Likewise.
24495 (__mbsrtowcs): Likewise.
24496 (__wcsrtombs): Likewise.
24497 (__mbsnrtowcs): Likewise.
24498 (__wcsnrtombs): Likewise.
24499 (__wcsncpy): Likewise.
24500 (__wcpncpy): Likewise.
24501 (__wmemcpy): Likewise.
24502 (__wmempcpy): Likewise.
24503 (__wmemmove): Likewise.
24504 (__wcschrnul): Likewise.
24505 (__vfwscanf): Likewise.
24506 (__vswprintf): Likewise.
24507 (__fwprintf): Likewise.
24508 (__vfwprintf): Likewise.
24510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24513 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
24514 (__getgrgid_r): Likewise.
24515 (__getgrnam_r): Likewise.
24516 * include/pwd.h (__getpwuid_r): Likewise.
24517 (__getpwnam_r): Likewise.
24518 (__fgetpwent_r): Likewise.
24519 * include/shadow.h (__getspnam_r): Likewise.
24520 (__sgetspent_r): Likewise.
24521 (__fgetspent_r): Likewise.
24523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24526 * include/unistd.h (__access): Add attribute_hidden.
24527 (__lseek64): Likewise.
24528 (__libc_pread64): Likewise.
24529 (__pipe2): Likewise.
24530 (__sleep): Likewise.
24531 (__chdir): Likewise.
24532 (__fchdir): Likewise.
24533 (__getcwd): Likewise.
24534 (__rmdir): Likewise.
24535 (__execvpe): Likewise.
24536 (__execve): Likewise.
24537 (__setsid): Likewise.
24538 (__getuid): Likewise.
24539 (__geteuid): Likewise.
24540 (__getgid): Likewise.
24541 (__getegid): Likewise.
24542 (__getgroups): Likewise.
24543 (__group_member): Likewise.
24544 (__ttyname_r): Likewise.
24545 (__isatty): Likewise.
24546 (__readlink): Likewise.
24547 (__unlink): Likewise.
24548 (__gethostname): Likewise.
24549 (__profil): Likewise.
24550 (__getdtablesize): Likewise.
24552 (__ftruncate): Likewise.
24553 (__ftruncate64): Likewise.
24555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24558 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
24559 * argp/argp-fs-xinl.c: Likewise.
24560 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
24561 * argp/argp-parse.c: Include <argp.h>.
24562 * argp/argp-xinl.c: Likewise.
24563 * include/argp-fmtstream.h: New file.
24564 * include/argp.h (__argp_error): Add attribute_hidden.
24565 (__argp_failure): Likewise.
24566 (__argp_input): Likewise.
24567 (__argp_state_help): Likewise.
24569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24572 * include/wchar.h (____wcstof_l_internal): New prototype.
24573 (____wcstod_l_internal): Likewise.
24574 (____wcstold_l_internal): Likewise.
24575 (____wcstol_l_internal): Likewise.
24576 (____wcstoul_l_internal): Likewise.
24577 (____wcstoll_l_internal): Likewise.
24578 (____wcstoull_l_internal): Likewise.
24579 (____wcstof128_l_internal): Likewise.
24580 * sysdeps/ieee754/float128/wcstof128.c
24581 (____wcstof128_l_internal): Removed.
24582 * sysdeps/ieee754/float128/wcstof128_l.c
24583 (____wcstof128_l_internal): Likewise.
24584 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
24585 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
24586 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
24587 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
24588 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
24589 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
24590 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
24591 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
24592 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
24593 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
24595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24598 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
24599 instead of <sys/statvfs.h>.
24600 (__internal_statvfs): Removed.
24601 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
24602 instead of <sys/statvfs.h>.
24603 (__internal_statvfs64): Removed.
24604 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
24605 "internal_statvfs.h" instead of <sys/statvfs.h>.
24606 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
24607 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
24608 instead of <sys/statvfs.h>.
24609 (__internal_statvfs): Removed.
24610 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
24611 instead of <sys/statvfs.h>.
24612 (__internal_statvfs64): Removed.
24614 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24617 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
24618 (__gconv_close): Likewise.
24619 (__gconv): Likewise.
24620 (__gconv_find_transform): Likewise.
24621 (__gconv_lookup_cache): Likewise.
24622 (__gconv_compare_alias_cache): Likewise.
24623 (__gconv_load_cache): Likewise.
24624 (__gconv_get_path): Likewise.
24625 (__gconv_close_transform): Likewise.
24626 (__gconv_release_cache): Likewise.
24627 (__gconv_find_shlib): Likewise.
24628 (__gconv_release_shlib): Likewise.
24629 (__gconv_get_builtin_trans): Likewise.
24630 (__gconv_compare_alias): Likewise.
24631 * include/dlfcn.h (_dlerror_run): Likewise.
24632 * include/stdio.h (__fortify_fail_abort): Likewise.
24633 * include/time.h (__tz_compute): Likewise.
24634 (__strptime_internal): Likewise.
24635 * intl/gettextP.h (_nl_find_domain): Likewise.
24636 (_nl_load_domain): Likewise.
24637 (_nl_find_msg): Likewise.
24638 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
24639 (EXTRACT_PLURAL_EXPRESSION): Likewise.
24640 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
24641 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
24642 (__gai_find_request): Likewise.
24643 (__gai_remove_request): Likewise.
24644 (__gai_notify): Likewise.
24645 (__gai_notify_only): Likewise.
24646 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
24647 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
24648 (_dl_non_dynamic_init): Likewise.
24649 (_dl_aux_init): Likewise.
24650 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
24651 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
24653 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
24654 (__wcsmbs_clone_conv): Likewise.
24655 (__wcsmbs_named_conv): Likewise.
24657 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24660 * include/stdlib.h (__random): Add attribute_hidden.
24661 (__random_r): Likewise.
24662 (__srandom_r): Likewise.
24663 (__initstate_r): Likewise.
24664 (__setstate_r): Likewise.
24665 (__erand48_r): Likewise.
24666 (__nrand48_r): Likewise.
24667 (__jrand48_r): Likewise.
24668 (__srand48_r): Likewise.
24669 (__seed48_r): Likewise.
24670 (__lcong48_r): Likewise.
24671 (__drand48_iterate): Likewise.
24672 (__setenv): Likewise.
24673 (__unsetenv): Likewise.
24674 (__clearenv): Likewise.
24675 (__ptsname_r): Likewise.
24676 (__posix_openpt): Likewise.
24677 (__add_to_environ): Likewise.
24678 (__realpath): Add libc_hidden_proto.
24679 (__ecvt_r): Likewise.
24680 (__fcvt_r): Likewise.
24681 (__qecvt_r): Likewise.
24682 (__qfcvt_r): Likewise.
24683 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
24684 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
24686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24689 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
24690 * include/time.h (__mktime_internal): Likewise.
24691 * libio/iolibio.h (__fopen_internal): Likewise.
24693 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
24695 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
24697 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
24698 Correct offset used to restore PIC register.
24700 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
24703 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
24704 code to load address of __getcontext_ret when generating PIC code.
24706 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
24708 * elf/Makefile (tests-static-internal): Add
24709 tst-tls1-static-non-pie.
24710 (LDFLAGS-tst-tls1-static-non-pie): New.
24711 * elf/tst-tls1-static-non-pie.c: New file.
24713 2017-09-29 Joseph Myers <joseph@codesourcery.com>
24715 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
24716 (asinh): Define using libm_alias_double.
24717 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
24718 (cbrt): Define using libm_alias_double.
24719 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
24720 <libm-alias-double.h>.
24721 (copysign): Define using libm_alias_double.
24722 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
24723 (erf): Define using libm_alias_double.
24725 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
24726 (expm1): Define using libm_alias_double.
24727 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
24728 (fabs): Define using libm_alias_double.
24729 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
24731 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
24732 <libm-alias-double.h>.
24733 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
24735 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
24736 <libm-alias-double.h>.
24737 (getpayload): Define using libm_alias_double.
24738 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
24739 <libm-alias-double.h>.
24740 (llrint): Define using libm_alias_double.
24741 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
24742 (lrint): Define using libm_alias_double.
24743 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
24744 <libm-alias-double.h>.
24745 (nextup): Define using libm_alias_double.
24746 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
24747 <libm-alias-double.h>.
24748 (roundeven): Define using libm_alias_double.
24749 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
24751 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
24752 <libm-alias-double.h>.
24753 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
24754 using libm_alias_double.
24755 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
24756 (cos): Define using libm_alias_double.
24758 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
24759 <libm-alias-double.h>.
24760 (sincos): Define using libm_alias_double.
24761 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
24762 (tanh): Define using libm_alias_double.
24763 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
24764 <libm-alias-double.h>.
24765 (totalorder): Define using libm_alias_double.
24766 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
24767 <libm-alias-double.h>.
24768 (totalordermag): Define using libm_alias_double.
24769 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
24771 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
24773 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
24774 <libm-alias-double.h>.
24775 (getpayload): Define using libm_alias_double.
24776 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
24777 <libm-alias-double.h>.
24778 (roundeven): Define using libm_alias_double.
24779 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
24780 <libm-alias-double.h>.
24781 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
24782 <libm-alias-double.h>.
24783 (totalorder): Define using libm_alias_double.
24784 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
24785 <libm-alias-double.h>.
24786 (totalordermag): Define using libm_alias_double.
24787 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
24788 libc compat symbol here.
24789 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
24790 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
24791 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
24792 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
24793 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
24794 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
24795 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
24796 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
24797 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
24798 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
24800 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24802 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
24803 _dl_relocate_static_pie instead of _dl_start to compute load
24804 address in static PIE. Return 0 if _DYNAMIC is undefined for
24807 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24809 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
24810 _DYNAMIC is undefined for static executable.
24812 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24814 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
24816 2017-09-29 Joseph Myers <joseph@codesourcery.com>
24818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24820 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
24822 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24823 (__ieee754_lgamma_r): Use fabs rather than __fabs.
24824 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24825 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24826 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24827 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
24828 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
24829 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
24830 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
24831 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
24832 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
24833 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
24835 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
24836 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24838 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
24840 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
24842 * math/bits/cmathcalls.h (cimag): Remove inline.
24843 (creal): Remove inline.
24844 (conj): Remove inline.
24846 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24848 * math/Makefile (type-float-routines): Add e_powf_log2_data.
24849 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
24850 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
24851 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
24852 (issignalingf_inline): Likewise.
24853 (POWF_LOG2_TABLE_BITS): Likewise.
24854 (POWF_LOG2_POLY_ORDER): Likewise.
24855 (POWF_SCALE_BITS): Likewise.
24856 (POWF_SCALE): Likewise.
24857 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
24858 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
24859 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
24861 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24863 * math/Makefile (type-float-routines): Add e_log2f_data.
24864 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
24865 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
24866 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
24867 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
24868 * sysdeps/i386/fpu/e_log2f_data.c: New file.
24869 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
24870 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
24872 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24874 * math/Makefile (type-float-routines): Add e_logf_data.
24875 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
24876 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
24877 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
24878 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
24879 * sysdeps/i386/fpu/e_logf_data.c: New file.
24880 * sysdeps/ia64/fpu/e_logf_data.c: New file.
24881 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
24883 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
24885 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
24886 undefined _DYNAMIC in PIE libc.a.
24887 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24890 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24892 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
24893 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
24894 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
24895 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
24896 (__signbit): Remove.
24897 (__signbitl): Remove.
24898 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
24899 (__signbit): Remove.
24900 (__signbitl): Remove.
24901 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
24902 (__signbit): Remove.
24903 (__signbitl): Remove.
24904 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
24905 (__signbit): Remove.
24906 (__signbitl): Remove.
24907 * sysdeps/tile/bits/mathinline.h: Delete file.
24908 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
24909 (__signbit): Remove.
24910 (__signbitl): Remove.
24912 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24914 * math/math.h: Improve handling of C99 isgreater macros.
24915 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
24916 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
24917 * sysdeps/powerpc/bits/mathinline.h: Likewise.
24918 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24919 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
24921 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
24923 * sysdeps/aarch64/libm-test-ulps: Update.
24925 2017-09-28 Joseph Myers <joseph@codesourcery.com>
24928 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24929 math_opt_barrier on argument when doing arithmetic on it.
24930 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24931 Likewise. Use math_force_eval not math_opt_barrier after
24933 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
24934 math_opt_barrier on argument when doing arithmetic on it.
24935 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24938 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
24940 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
24942 (__freeifaddrs): Likewise.
24944 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
24946 * include/dirent.h (__dirfd): New declaration.
24947 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
24949 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
24950 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
24951 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
24952 * include/unistd.h (__revoke): New declaration.
24953 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
24955 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24956 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
24958 * include/dirent.h (__seekdir): New declaration.
24959 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
24960 redefine as weak alias.
24961 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
24963 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
24964 and use libc_hidden_def on them.
24965 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
24967 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
24968 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
24969 instead of getifaddrs and freeifaddrs.
24971 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24974 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
24975 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
24976 (__dso_handle): Remove declaration.
24977 * dlfcn/tstatexit.c (__dso_handle): Removed.
24978 (main): Don't check __dso_handle.
24979 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
24980 (main): Don't check __dso_handle.
24981 * include/dso_handle.h: New file.
24982 * malloc/mtrace.c: Include <dso_handle.h>.
24983 (mtrace): Pass __dso_handle directly.
24984 * nptl/pthread_atfork.c: Include <dso_handle.h>.
24985 (__dso_handle): Remove declaration.
24986 (__pthread_atfork): Pass __dso_handle directly.
24987 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
24988 (__dso_handle): Removed.
24989 * posix/wordexp-test.c: Include <dso_handle.h>.
24990 (__dso_handle): Remove declaration.
24991 (__app_register_atfork): Pass __dso_handle directly.
24992 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
24993 (__dso_handle): Remove declaration.
24994 (at_quick_exit): Pass __dso_handle directly.
24995 * stdlib/atexit.c: Include <dso_handle.h>.
24996 (__dso_handle): Remove declaration.
24997 (atexit): Pass __dso_handle directly.
24998 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
24999 (__dso_handle): Removed.
25001 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25003 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25006 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25008 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25009 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25010 values to correct default value for given type.
25012 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25015 * elf/Makefile (tests): Add tst-debug1.
25016 ($(objpfx)tst-debug1): New.
25017 ($(objpfx)tst-debug1.out): Likewise.
25018 ($(objpfx)tst-debug1mod1.so): Likewise.
25019 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25020 with p_filesz == 0.
25021 * elf/tst-debug1.c: New file.
25023 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25025 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25026 Define using __ifunc.
25028 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25030 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25033 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25036 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25038 2017-09-26 Florian Weimer <fweimer@redhat.com>
25040 * resolv/Makefile (tests-internal): Fix typo in comment.
25042 2017-09-26 Florian Weimer <fweimer@redhat.com>
25044 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25046 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25048 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25049 Use an union instead of a max_align_t array for __space,
25050 so that __space is the same size on all platforms.
25051 * malloc/scratch_buffer_grow_preserve.c
25052 (__libc_scratch_buffer_grow_preserve): Likewise.
25055 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25057 * posix/Makefile (routines): Add glob-lstat-compat and
25058 glob64-lstat-compat.
25059 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25060 * posix/glob-lstat-compat.c: New file.
25061 * posix/glob64-lstat-compat.c: Likewise.
25062 * posix/tst-glob_lstat_compat.c: Likewise.
25063 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25064 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25065 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25066 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25068 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
25069 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25070 * posix/glob.c (glob_lstat): New function.
25071 (glob): Rename to __glob and add versioned symbol to 2.27.
25072 (glob_in_dir): Use glob_lstat.
25073 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
25074 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25075 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
25077 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
25078 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
25079 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
25080 gl_lstat on glob call.
25081 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
25082 and glob64 symbols.
25083 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25084 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25085 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25086 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25087 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25088 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25089 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25090 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25091 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25092 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25093 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25094 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25097 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
25098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25099 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25100 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25101 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25102 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25103 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25106 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25107 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25108 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25110 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
25112 * configure.ac (AS): Require binutils 2.25 or later.
25113 * configure: Regenerated.
25115 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25118 * stdlib/test-atexit-race-common.c (do_test): Minimize required
25121 2017-09-25 DJ Delorie <dj@redhat.com>
25124 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
25127 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25129 * sysdeps/ieee754/dbl-64/sincos32.h
25130 [SINCCOS32_H]: Remove define.
25131 [SINCOS32_H]: Define.
25133 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25135 * math/Versions (expf): New libm symbol at GLIBC_2.27.
25137 * math/w_exp2f.c: New file.
25138 * math/w_expf.c: New file.
25139 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
25140 * math/w_expf_compat.c (__expf_compat): Likewise.
25141 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
25142 * sysdeps/ia64/fpu/e_expf.S: Likewise.
25143 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25144 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25145 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25146 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25147 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25148 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25149 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25150 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25151 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25152 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25153 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25154 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25163 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25165 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25166 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25167 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25172 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25173 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25174 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25176 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25178 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
25179 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
25180 (roundtoint, converttoint): Likewise.
25181 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
25182 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
25183 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
25184 * sysdeps/ieee754/flt-32/math_config.h: New file.
25185 * sysdeps/ieee754/flt-32/math_errf.c: New file.
25186 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
25187 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
25188 * sysdeps/i386/fpu/math_errf.c: New file.
25189 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
25190 * sysdeps/ia64/fpu/math_errf.c: New file.
25191 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
25192 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
25194 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
25196 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
25197 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
25198 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
25199 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
25200 to make sure that these symbols are defined.
25201 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
25203 (__need_NULL): Do not define.
25204 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
25206 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
25207 CMGROUP_MAX, cmsgcred): Do not define.
25208 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
25210 * bits/socket.h: Likewise.
25211 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
25212 __gettimeofday instead of gettimeofday.
25213 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
25214 instead of settimeofday.
25216 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25218 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
25219 (asinhf): Define using libm_alias_float.
25220 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
25221 (atanf): Define using libm_alias_float.
25222 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
25223 (cbrtf): Define using libm_alias_float.
25224 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
25225 (ceilf): Define using libm_alias_float.
25226 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
25227 <libm-alias-float.h>.
25228 (copysignf): Define using libm_alias_float.
25229 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
25230 (cosf): Define using libm_alias_float.
25231 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25232 (erff): Define using libm_alias_float.
25234 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
25235 (expm1f): Define using libm_alias_float.
25236 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
25237 (fabsf): Define using libm_alias_float.
25238 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
25239 (floorf): Define using libm_alias_float.
25240 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
25241 (frexpf): Define using libm_alias_float.
25242 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
25244 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
25245 <libm-alias-float.h>.
25246 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
25248 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
25249 <libm-alias-float.h>.
25250 (getpayloadf): Define using libm_alias_float.
25251 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
25252 <libm-alias-float.h>.
25253 (llrintf): Define using libm_alias_float.
25254 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
25255 <libm-alias-float.h>.
25256 (llroundf): Define using libm_alias_float.
25257 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
25258 (logbf): Define using libm_alias_float.
25259 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
25260 (lrintf): Define using libm_alias_float.
25261 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
25262 (lroundf): Define using libm_alias_float.
25263 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
25264 (modff): Define using libm_alias_float.
25265 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
25266 <libm-alias-float.h>.
25267 (nearbyintf): Define using libm_alias_float.
25268 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
25269 <libm-alias-float.h>.
25270 (nextafterf): Define using libm_alias_float.
25271 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
25272 <libm-alias-float.h>.
25273 (nextupf): Define using libm_alias_float.
25274 * sysdeps/ieee754/flt-32/s_remquof.c: Include
25275 <libm-alias-float.h>.
25276 (remquof): Define using libm_alias_float.
25277 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
25278 (rintf): Define using libm_alias_float.
25279 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
25280 <libm-alias-float.h>.
25281 (roundevenf): Define using libm_alias_float.
25282 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
25283 (roundf): Define using libm_alias_float.
25284 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
25285 using libm_alias_float.
25286 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
25287 <libm-alias-float.h>.
25288 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
25289 Define using libm_alias_float.
25290 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
25291 <libm-alias-float.h>.
25292 (sincosf): Define using libm_alias_float.
25293 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
25294 (sinf): Define using libm_alias_float.
25295 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
25296 (tanf): Define using libm_alias_float.
25297 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
25298 (tanhf): Define using libm_alias_float.
25299 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
25300 <libm-alias-float.h>.
25301 (totalorderf): Define using libm_alias_float.
25302 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
25303 <libm-alias-float.h>.
25304 (totalordermagf): Define using libm_alias_float.
25305 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
25306 (truncf): Define using libm_alias_float.
25307 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
25309 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
25312 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25315 math/math.h: Let fpclassify use the builtin in C++ mode, even
25316 when optimazing for size.
25318 2017-09-22 Joseph Myers <joseph@codesourcery.com>
25320 * csu/Makefile (generated): Do not add version-info.h.
25321 (before-compile): Likewise.
25322 (all-Banner-files): Remove variable.
25323 ($(objpfx)version-info.h): Remove rule.
25324 * csu/version.c (banner): Do not include "version-info.h".
25325 * libidn/Banner: Remove.
25326 * manual/contrib.texi (Simon Josefsson): New entry.
25328 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25330 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25331 Remove conditionals on LDBL_MANT_DIG.
25332 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25333 (__ieee754_lgammal_r): Likewise.
25335 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
25339 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
25340 _Float128 and L(). Replace _Float128 with long double and L(x)
25341 with xL, throughout the file.
25342 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25347 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
25350 sysdeps/ieee754/ldbl-128ibm.
25351 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
25352 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
25353 of including it. Keep _Float128 and L() intact. These will be
25354 reviewed by a separate patch.
25355 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25356 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25360 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
25363 (__finitef128): Define to __redirect___finitef128.
25364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
25365 (__isinff128): Define to __redirect___isinff128.
25366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
25367 (__isnanf128): Define to __redirect___isnanf128.
25369 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25371 * sysdeps/powerpc/powerpc64le/Makefile
25372 (CFLAGS-tst-strtod-nan-locale.c): New variable.
25373 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
25375 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
25376 Carlos O'Donell <carlos@redhat.com>
25379 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
25380 * stdlib/test-dlclose-exit-race.c: New file.
25381 * stdlib/test-dlclose-exit-race-helper.c: New file.
25382 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
25384 2017-09-21 Joseph Myers <joseph@codesourcery.com>
25386 * crypt/Banner: Remove file.
25387 * nptl/Banner: Likewise.
25388 * resolv/Banner: Likewise.
25389 * soft-fp/Banner: Likewise.
25390 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
25391 ($(objpfx)version.d): Remove dependency on banner.h.
25392 ($(objpfx)version.os): Likewise.
25393 * nptl/version.c (banner): Do not include banner.h.
25394 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
25395 Jelinek and BIND code.
25397 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25398 Carlos O'Donell <carlos@redhat.com>
25400 * support/xdlfcn.h: New file.
25401 * support/xdlfcn.c: New file.
25402 * support/Makefile (libsupport-routines): Add xdlfcn.
25403 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
25405 2017-09-20 Joseph Myers <joseph@codesourcery.com>
25408 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25409 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
25410 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
25411 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
25412 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
25413 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
25414 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
25415 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
25417 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25418 Ricky Zhou <rickyz@google.com>
25419 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
25422 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
25424 (__new_exitfn): Fail registration when we finished at_exit processing.
25425 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25426 * stdlib/on_exit.c (__on_exit): Likewise.
25427 * stdlib/exit.c (__exit_funcs_done): New variable.
25428 (__run_exit_handlers): Use __exit_funcs_lock.
25429 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
25431 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
25432 (test-cxa_atexit-race, test-on_exit-race): New tests.
25433 * stdlib/test-atexit-race-common.c: New file.
25434 * stdlib/test-atexit-race.c: New file.
25435 * stdlib/test-at_quick_exit-race.c: New file.
25436 * stdlib/test-cxa_atexit-race.c: New file.
25437 * stdlib/test-on_exit-race.c: New file.
25439 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
25441 * benchtests/Makefile: Add exp2f and log2f benchmarks.
25442 * benchtests/exp2f-inputs: Copy of expf-inputs.
25443 * benchtests/log2f-inputs: Copy of logf-inputs.
25445 2017-09-19 Joseph Myers <joseph@codesourcery.com>
25447 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
25448 Explicitly take address of first element of array arguments in
25449 call to INLINE_SYSCALL.
25451 2017-09-19 Andreas Schwab <schwab@suse.de>
25454 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
25456 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
25458 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
25459 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
25460 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25461 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
25462 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25463 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25464 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25465 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25466 * posix/Makefile (tests): Add tst-fexecve.
25467 * posix/tst-fexecve.c: New file.
25469 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25471 * benchtests/Makefile: Add logf benchmark.
25472 * benchtests/logf-inputs: Add reduced trace from wrf_r.
25474 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25476 * benchtests/Makefile: Add expf benchmark.
25477 * benchtests/expf-inputs: Add reduced trace from wrf_r.
25479 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25481 * csu/Makefile: Add -funwind-tables to libc-start.c.
25482 * debug/Makefile: Add -funwind-tables to backtrace.c.
25483 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
25484 * sysdeps/arm/Makefile: Likewise.
25485 * sysdeps/i386/Makefile: Likewise.
25486 * sysdeps/m68k/Makefile: Likewise.
25487 * sysdeps/mips/Makefile: Likewise.
25488 * sysdeps/nios2/Makefile: Likewise.
25489 * sysdeps/sh/Makefile: Likewise.
25490 * sysdeps/sparc/Makefile: Likewise.
25492 2017-09-19 Joseph Myers <joseph@codesourcery.com>
25494 * benchtests/Makefile (bench-math): Add trunc and truncf.
25495 (CFLAGS-bench-trunc.c): New variable.
25496 (CFLAGS-bench-truncf.c): Likewise.
25497 * benchtests/trunc-inputs: New file.
25498 * benchtests/truncf-inputs: Likewise.
25500 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25502 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
25504 2017-09-18 Joseph Myers <joseph@codesourcery.com>
25506 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
25507 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
25509 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25510 (exp10l): Define as weak alias.
25511 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
25512 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
25514 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
25515 (remainderl): Define as weak alias.
25517 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
25518 (fmal): Define using libm_alias_ldouble.
25519 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
25520 (acoshl): Define using libm_alias_ldouble.
25521 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
25522 (acosl): Define using libm_alias_ldouble.
25523 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
25524 (asinl): Define using libm_alias_ldouble.
25525 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
25526 (atan2l): Define using libm_alias_ldouble.
25527 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
25528 (atanhl): Define using libm_alias_ldouble.
25529 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
25530 (coshl): Define using libm_alias_ldouble.
25531 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
25532 (exp10l): Define using libm_alias_ldouble.
25533 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
25534 (exp2l): Define using libm_alias_ldouble.
25535 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
25536 (expl): Define using libm_alias_ldouble.
25537 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
25538 (fmodl): Define using libm_alias_ldouble.
25539 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
25540 (hypotl): Define using libm_alias_ldouble.
25541 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
25542 (j0l): Define using libm_alias_ldouble.
25544 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
25545 (j1l): Define using libm_alias_ldouble.
25547 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
25548 (jnl): Define using libm_alias_ldouble.
25550 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
25551 (log10l): Define using libm_alias_ldouble.
25552 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
25553 (log2l): Define using libm_alias_ldouble.
25554 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
25555 (logl): Define using libm_alias_ldouble.
25556 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
25557 (powl): Define using libm_alias_ldouble.
25558 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
25559 (remainderl): Define using libm_alias_ldouble.
25560 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
25561 (sinhl): Define using libm_alias_ldouble.
25562 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
25563 (sqrtl): Define using libm_alias_ldouble.
25564 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
25565 (tgammal): Define using libm_alias_ldouble.
25566 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
25567 (exp10l): Do not use long_double_symbol here.
25568 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25569 [LIBM_SVID_COMPAT] (remainderl): Likewise.
25570 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
25571 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25572 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25573 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25574 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25575 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25576 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25577 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25578 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25579 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25580 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25581 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25582 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25583 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25584 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25585 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25586 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25587 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25588 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25589 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25591 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
25593 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
25594 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
25596 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
25598 * io/read.c (read): Add libc_hidden_weak.
25599 * sysdeps/mach/hurd/read.c (read): Likewise.
25600 * io/write.c (write): Likewise.
25601 * sysdeps/mach/hurd/write.c (write): Likewise.
25602 * io/pread64.c (__pread64): Likewise.
25603 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
25604 * posix/pread64.c (__pread64): Add libc_hidden_def.
25606 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25608 * benchtests/scripts/compare_strings.py: New option -g.
25609 (draw_graph): Print a message that a graph is being generated.
25610 (process_results): Generate graph only if -g is passed.
25611 (main): Process option -g.
25613 * benchtests/scripts/compare_strings.py (process_results):
25614 Better spacing for output.
25616 * benchtests/scripts/compare_strings.py: Use argparse.
25617 * benchtests/README: Document existence of compare_strings.py.
25619 2017-09-15 Joseph Myers <joseph@codesourcery.com>
25621 * math/s_fma.c: Include <libm-alias-double.h>.
25622 (fma): Define using libm_alias_double.
25623 * math/s_nextafter.c: Include <libm-alias-double.h>.
25624 (nextafter): Define using libm_alias_double.
25625 * math/w_acos_compat.c: Include <libm-alias-double.h>.
25626 (acos): Define using libm_alias_double.
25627 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
25628 (aocsh): Define using libm_alias_double.
25629 * math/w_asin_compat.c: Include <libm-alias-double.h>.
25630 (asin): Define using libm_alias_double.
25631 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
25632 (atan2): Define using libm_alias_double.
25633 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
25634 (atanh): Define using libm_alias_double.
25635 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
25636 (cosh): Define using libm_alias_double.
25637 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
25638 (exp10): Define using libm_alias_double.
25639 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
25640 (exp2): Define using libm_alias_double.
25641 * math/w_exp_compat.c: Include <libm-alias-double.h>.
25642 (exp): Define using libm_alias_double.
25643 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
25644 (fmod): Define using libm_alias_double.
25645 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
25646 (hypot): Define using libm_alias_double.
25647 * math/w_j0_compat.c: Include <libm-alias-double.h>.
25648 (j0): Define using libm_alias_double.
25650 * math/w_j1_compat.c: Include <libm-alias-double.h>.
25651 (j1): Define using libm_alias_double.
25653 * math/w_jn_compat.c: Include <libm-alias-double.h>.
25654 (jn): Define using libm_alias_double.
25656 * math/w_log10_compat.c: Include <libm-alias-double.h>.
25657 (log10): Define using libm_alias_double.
25658 * math/w_log2_compat.c: Include <libm-alias-double.h>.
25659 (log2): Define using libm_alias_double.
25660 * math/w_log_compat.c: Include <libm-alias-double.h>.
25661 (log): Define using libm_alias_double.
25662 * math/w_pow_compat.c: Include <libm-alias-double.h>.
25663 (pow): Define using libm_alias_double.
25664 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
25665 (remainder): Define using libm_alias_double.
25666 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
25667 (sinh): Define using libm_alias_double.
25668 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
25669 (sqrt): Define using libm_alias_double.
25670 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
25671 (tgamma): Define using libm_alias_double.
25672 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
25673 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
25674 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
25675 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
25676 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
25677 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
25678 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
25679 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
25680 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
25681 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
25682 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
25683 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
25684 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
25685 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
25686 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
25687 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
25688 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
25689 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
25690 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
25691 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
25692 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
25693 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
25694 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
25695 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
25696 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
25698 * math/e_acoshl.c: Remove.
25699 * math/e_acosl.c: Likewise.
25700 * math/e_asinl.c: Likewise.
25701 * math/e_atan2l.c: Likewise.
25702 * math/e_atanhl.c: Likewise.
25703 * math/e_coshl.c: Likewise.
25704 * math/e_expl.c: Likewise.
25705 * math/e_fmodl.c: Likewise.
25706 * math/e_gammal_r.c: Likewise.
25707 * math/e_hypotl.c: Likewise.
25708 * math/e_j0l.c: Likewise.
25709 * math/e_j1l.c: Likewise.
25710 * math/e_jnl.c: Likewise.
25711 * math/e_lgammal_r.c: Likewise.
25712 * math/e_log10l.c: Likewise.
25713 * math/e_log2l.c: Likewise.
25714 * math/e_logl.c: Likewise.
25715 * math/e_powl.c: Likewise.
25716 * math/e_rem_pio2l.c: Likewise.
25717 * math/e_sinhl.c: Likewise.
25718 * math/e_sqrtf128.c: Likewise.
25719 * math/e_sqrtl.c: Likewise.
25720 * math/k_cosl.c: Likewise.
25721 * math/k_sinl.c: Likewise.
25722 * math/k_tanl.c: Likewise.
25723 * math/s_asinhl.c: Likewise.
25724 * math/s_atanl.c: Likewise.
25725 * math/s_cbrtl.c: Likewise.
25726 * math/s_erfl.c: Likewise.
25727 * math/s_expm1l.c: Likewise.
25728 * math/s_log1pl.c: Likewise.
25729 * math/s_tanhl.c: Likewise.
25731 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25734 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
25735 [$(subdir) = math] (sysdep_calls): New variable. Has the
25736 previous contents of sysdep_routines, but re-sorted..
25737 [$(subdir) = math] (sysdep_routines): Re-use the contents from
25739 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
25740 defined in sysdep_calls and replace by the respective m_* names.
25741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
25742 (compat_symbol): Undefine to avoid duplicated compat symbols in
25745 2017-09-15 Joseph Myers <joseph@codesourcery.com>
25747 * math/s_fmaf.c: Include <libm-alias-float.h>.
25748 (fmaf): Define using libm_alias_float.
25749 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
25750 (acosf): Define using libm_alias_float.
25751 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
25752 (acoshf): Define using libm_alias_float.
25753 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
25754 (asinf): Define using libm_alias_float.
25755 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
25756 (atan2f): Define using libm_alias_float.
25757 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
25758 (atanhf): Define using libm_alias_float.
25759 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
25760 (coshf): Define using libm_alias_float.
25761 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
25762 (exp10f): Define using libm_alias_float.
25763 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
25764 (fmodf): Define using libm_alias_float.
25765 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
25766 (hypotf): Define using libm_alias_float.
25767 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
25768 (j0f): Define using libm_alias_float.
25770 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
25771 (j1f): Define using libm_alias_float.
25773 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
25774 (jnf): Define using libm_alias_float.
25776 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
25777 (log10f): Define using libm_alias_float.
25778 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
25779 (log2f): Define using libm_alias_float.
25780 * math/w_logf_compat.c: Include <libm-alias-float.h>.
25781 (logf): Define using libm_alias_float.
25782 * math/w_powf_compat.c: Include <libm-alias-float.h>.
25783 (powf): Define using libm_alias_float.
25784 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
25785 (remainderf): Define using libm_alias_float.
25786 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
25787 (sinhf): Define using libm_alias_float.
25788 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
25789 (sqrtf): Define using libm_alias_float.
25790 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
25791 (tgammaf): Define using libm_alias_float.
25793 2017-09-14 Joseph Myers <joseph@codesourcery.com>
25795 * include/math.h (roundeven): Change hidden_proto call to
25797 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
25799 [NO_LONG_DOUBLE] (__j0l): New strong alias.
25800 (y0): Rename to __y0 and define as weak alias.
25801 [NO_LONG_DOUBLE] (__y0l): New strong alias.
25802 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
25804 (y0f): Rename to __y0f and define as weak alias.
25805 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
25807 [NO_LONG_DOUBLE] (__j1l): New strong alias.
25808 (y1): Rename to __y1 and define as weak alias.
25809 [NO_LONG_DOUBLE] (__y1l): New strong alias.
25810 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
25812 (y1f): Rename to __y1f and define as weak alias.
25813 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
25815 [NO_LONG_DOUBLE] (__jnl): New strong alias.
25816 (yn): Rename to __yn and define as weak alias.
25817 [NO_LONG_DOUBLE] (__ynl): New strong alias.
25818 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
25820 (ynf): Rename to __ynf and define as weak alias.
25821 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
25822 (fromfp): Define as weak alias.
25823 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
25824 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
25825 (fromfpx): Define as weak alias.
25826 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
25827 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
25828 __getpayload and define as weak alias.
25829 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
25830 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
25831 __roundeven and define as weak alias.
25832 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
25833 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
25835 (setpayload): Define as weak alias.
25836 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
25837 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
25839 (setpayloadsig): Define as weak alias.
25840 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
25841 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
25842 __totalorder and define as weak alias.
25843 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
25844 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
25845 to __totalordermag and define as weak alias.
25846 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
25847 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
25848 (ufromfp): Define as weak alias.
25849 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
25850 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
25852 (ufromfpx): Define as weak alias.
25853 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
25854 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
25855 Rename to __getpayload and define as weak alias.
25856 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
25857 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
25858 Rename to __roundeven and define as weak alias.
25859 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
25860 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
25861 Rename to __totalorder and define as weak alias.
25862 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
25863 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
25864 (totalordermag): Rename to __totalordermag and define as weak
25866 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
25867 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
25869 (__roundevenl): Likewise.
25870 (__totalorderl): Likewise.
25871 (__totalordermagl): Likewise
25872 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
25874 (fromfpf128): Define as weak alias.
25875 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
25877 (fromfpxf128): Define as weak alias.
25878 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
25880 (setpayloadf128): Define as weak alias.
25881 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
25882 __setpayloadsigf128.
25883 (setpayloadsigf128): Define as weak alias.
25884 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
25886 (ufromfpf128): Define as weak alias.
25887 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
25889 (ufromfpxf128): Define as weak alias.
25890 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
25891 (fromfpf): Define as weak alias.
25892 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
25894 (fromfpxf): Define as weak alias.
25895 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
25896 __getpayloadf and define as weak alias.
25897 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
25898 __roundevenf and define as weak alias.
25899 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
25901 (setpayloadf): Define as weak alias.
25902 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
25904 (setpayloadsigf): Define as weak alias.
25905 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
25906 __totalorderf and define as weak alias.
25907 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
25908 Rename to __totalordermagf and define as weak alias.
25909 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
25911 (ufromfpf): Define as weak alias.
25912 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
25914 (ufromfpxf): Define as weak alias.
25915 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
25917 (fromfpl): Define as weak alias.
25918 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
25920 (fromfpxl): Define as weak alias.
25921 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
25922 to __getpayloadl and define as weak alias.
25923 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
25924 __roundevenl and define as weak alias.
25925 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
25927 (setpayloadl): Define as weak alias.
25928 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
25930 (setpayloadsigl): Define as weak alias.
25931 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
25932 to __totalorderl and define as weak alias.
25933 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
25934 Rename to __totalordermagl and define as weak alias.
25935 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
25937 (ufromfpl): Define as weak alias.
25938 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
25940 (ufromfpxl): Define as weak alias.
25941 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
25943 (fromfpl): Define as weak alias.
25944 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
25946 (fromfpxl): Define as weak alias.
25947 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
25948 Rename to __getpayloadl and define as weak alias.
25949 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
25950 to __roundevenl and define as weak alias. Call __roundeven
25951 instead of roundeven.
25952 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
25954 (setpayloadl): Define as weak alias.
25955 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
25957 (setpayloadsigl): Define as weak alias.
25958 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
25959 Rename to __totalorderl and define as weak alias.
25960 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
25961 Rename to __totalordermagl and define as weak alias.
25962 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
25964 (ufromfpl): Define as weak alias.
25965 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
25967 (ufromfpxl): Define as weak alias.
25968 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
25970 (fromfpl): Define as weak alias.
25971 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
25973 (fromfpxl): Define as weak alias.
25974 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
25975 __getpayloadl and define as weak alias.
25976 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
25977 __roundevenl and define as weak alias.
25978 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
25980 (setpayloadl): Define as weak alias.
25981 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
25983 (setpayloadsigl): Define as weak alias.
25984 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
25985 __totalorderl and define as weak alias.
25986 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
25987 Rename to __totalordermagl and define as weak alias.
25988 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
25990 (ufromfpl): Define as weak alias.
25991 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
25993 (ufromfpxl): Define as weak alias.
25995 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
25997 * benchtests/bench-string.h (realloc_bufs): New function.
25998 (test_init): Call it.
25999 * benchtests/bench-memset-large.c (do_test): Likewise.
26000 * benchtests/bench-memset.c (do_test): Likewise.
26002 * benchtests/bench-memset-large.c: Print output in JSON
26004 * benchtests/bench-memset.c: Likewise.
26006 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26009 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26010 * iconvdata/Makefile: Add IBM858.
26011 * iconvdata/gconv-modules: Likewise.
26012 * iconvdata/tst-tables.sh: Likewise.
26013 * iconvdata/ibm858.c: New file.
26014 * localedata/charmaps/IBM858: Likewise.
26016 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26019 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26020 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26022 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26025 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26026 and add tel_int_fmt.
26028 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26030 * sysdeps/generic/libm-alias-float128.h: New file.
26031 * sysdeps/generic/math-type-macros-float128.h: Include
26032 <libm-alias-float128.h>.
26033 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26035 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26037 * sysdeps/generic/libm-alias-ldouble.h: New file.
26038 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26039 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26040 * sysdeps/generic/math-type-macros-ldouble.h: Include
26041 <libm-alias-ldouble.h>.
26042 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26043 libm_alias_ldouble.
26045 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26047 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26048 * math/w_exp_compat.c: ... here.
26049 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26050 * math/w_expf_compat.c: ... here.
26051 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26052 * math/w_expl_compat.c: ... here.
26053 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26054 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26055 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26056 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26058 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26060 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26062 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26064 (ldexpl): Only define as compat symbol for libc, not libm.
26065 (scalbnl): Define as compat symbol for libc here.
26066 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26067 define for [IS_IN (libc)].
26068 (__ldexpl_2): Remove alias.
26069 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
26070 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
26071 name in long_double_symbol call.
26072 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
26073 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26074 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26075 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
26076 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
26078 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
26079 Define as compat symbol.
26081 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26083 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
26084 * sysdeps/unix/sysv/linux/alpha/Makefile
26085 [$(subdir) = csu] (sysdep_routines): Remove rule.
26087 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26089 * sysdeps/generic/libm-alias-double.h: New file.
26090 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
26091 * sysdeps/generic/math-type-macros-double.h: Include
26092 <libm-alias-double.h>.
26093 [declare_mgen_alias] (declare_mgen_alias): Define to use
26095 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
26096 (M_LIBM_NEED_COMPAT): Remove macro.
26097 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
26098 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
26099 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
26101 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26102 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26103 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26104 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26105 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26106 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26107 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26108 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26109 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26110 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26111 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26112 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26113 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26114 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26115 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26116 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26117 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26118 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26119 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26120 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26121 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26122 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26123 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26124 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26125 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26126 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26127 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26128 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
26129 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
26131 (declare_mgen_alias): New macro.
26132 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
26133 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
26134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
26135 (M_LIBM_NEED_COMPAT): Remove macro.
26136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
26137 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
26138 <first-versions.h>.
26139 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
26140 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
26142 2017-09-12 Joseph Myers <joseph@codesourcery.com>
26144 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
26145 (declare_mgen_alias_2): Remove.
26146 * sysdeps/generic/math-type-macros-double.h
26147 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
26149 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
26151 (ldexp): Define with declare_mgen_alias.
26152 (scalbn): Likewise.
26154 2017-09-12 Steve Ellcey <sellcey@cavium.com>
26156 * grp/initgroups.c: Include config.h.
26157 (DEFAULT_CONFIG): New macro.
26158 (internal_getgrouplist): Use DEFAULT_CONFIG.
26159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26160 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
26161 (DEFAULT_DEFCONFIG): New macro.
26162 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
26163 * nss/grp-lookup.c: Include config.h
26164 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
26165 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
26166 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
26167 * manual/nss.texi: Update default values section.
26169 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
26172 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
26174 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
26175 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26176 Handle MathVec_Prefer_No_AVX512.
26177 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
26178 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
26181 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
26183 * posix/sched_primax.c (__sched_get_priority_max): Add
26185 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
26186 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
26187 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
26188 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
26189 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
26190 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
26191 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
26192 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
26195 2017-09-11 Joseph Myers <joseph@codesourcery.com>
26197 * sysdeps/generic/libm-alias-float.h: New file.
26198 * sysdeps/generic/math-type-macros-float.h: Include
26199 <libm-alias-float.h>.
26200 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26202 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
26205 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
26206 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
26207 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
26208 (HWCAP_IMPORTANT): Likewise.
26209 (HWCAP_X86_64): New enum.
26210 (HWCAP_X86_AVX512_1): Updated.
26211 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
26212 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
26213 (modules-names): Add x86_64/tst-x86_64mod-1.
26214 (LDFLAGS-tst-x86_64mod-1.so): New.
26215 ($(objpfx)tst-x86_64-1): Likewise.
26216 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
26217 (tst-x86_64-1-clean): Likewise.
26218 * sysdeps/x86_64/tst-x86_64-1.c: New file.
26219 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
26221 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
26223 * po/sv.po: Update translations.
26224 * po/fr.po: Likewise.
26226 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26228 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
26230 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
26232 * elf/rtld-Rules: Fix $(error) use.
26234 2017-09-09 Mike FABIAN <mfabian@redhat.com>
26237 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
26238 * locale/iso-639.def: Change “Bengali” to “Bangla”.
26239 * localedata/locales/bn_BD: “Bengali” was still used in some
26240 comments. Change it to “Bangla”.
26242 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
26244 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
26246 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26248 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
26249 thunderx2t99p1 to list of cpu names.
26250 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
26251 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
26253 2017-09-08 Steve Ellcey <sellcey@cavium.com>
26255 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
26256 Use strcmp instead of tunable_is_name.
26258 2017-09-08 Joseph Myers <joseph@codesourcery.com>
26260 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26261 (F_GET_RW_HINT): New macro.
26262 [__USE_GNU] (F_SET_RW_HINT): Likewise.
26263 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
26264 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
26265 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
26266 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
26267 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
26268 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
26269 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
26270 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
26272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26273 (F_ADD_SEALS): New macro.
26274 [__USE_GNU] (F_GET_SEALS): Likewise.
26275 [__USE_GNU] (F_SEAL_SEAL): Likewise.
26276 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
26277 [__USE_GNU] (F_SEAL_GROW): Likewise.
26278 [__USE_GNU] (F_SEAL_WRITE): Likewise.
26280 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26282 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
26283 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
26284 * posix/glob_internal.h (__glob_pattern_type):
26285 * posix/glob.c (glob):
26286 * posix/glob_pattern_p.c (__glob_pattern_p):
26289 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
26290 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26291 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
26292 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
26293 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
26295 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
26296 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
26297 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26298 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26299 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26300 * sysdeps/wordsize-64/glob.c: Likewise.
26301 * sysdeps/wordsize-64/glob64.c: Likewise.
26302 * sysdeps/wordsize-64/globfree.c: Likewise.
26303 * sysdeps/wordsize-64/globfree64.c: Likewise.
26304 * sysdeps/unix/sysv/linux/glob.c: New file.
26305 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
26306 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
26307 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
26308 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26309 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
26310 adds !GLOB_NO_OLD_VERSION as an extra condition.
26311 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
26312 using relative path instead of absolute one.
26313 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
26314 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26315 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26316 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
26317 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
26318 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
26321 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
26322 (glob): Use the same scratch buffer for both getlogin_r and
26323 getpwnam_r. Don’t require preallocation of the login name. This
26324 simplifies storage allocation, and corrects the handling of
26328 * posix/glob.c (glob): Port recent patches to platforms
26329 lacking getpwnam_r.
26330 (glob): Fix longstanding misuse of errno after getpwnam_r, which
26331 returns an error number rather than setting errno.
26333 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
26334 instead of GCC extension.
26335 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
26336 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
26337 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
26341 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
26342 * posix/bug-glob1.c: Remove file.
26343 * posix/tst-glob_symlinks.c: New file.
26344 * posix/glob.c (__lstat64): New macro.
26345 (is_dir): New function.
26346 (glob, glob_in_dir): Match symlinks even if they are dangling.
26347 (link_stat, link_exists_p): Remove. All uses removed.
26351 * posix/glob.c (struct readdir_result): Remove skip_entry member.
26352 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
26357 * posix/Makefile (routines): Add globfree, globfree64, and
26359 * posix/flexmember.h: New file.
26360 * posix/glob_internal.h: Likewise.
26361 * posix/glob_pattern_p.c: Likewise.
26362 * posix/globfree.c: Likewise.
26363 * posix/globfree64.c: Likewise.
26364 * sysdeps/gnu/globfree64.c: Likewise.
26365 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
26366 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26367 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
26368 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26369 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26370 * sysdeps/wordsize-64/globfree.c: Likewise.
26371 * sysdeps/wordsize-64/globfree64.c: Likewise.
26372 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
26373 [NDEBUG): Remove comments.
26374 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
26375 (dirent_type): New type. Use uint_fast8_t not
26376 uint8_t, as C99 does not require uint8_t.
26377 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
26378 (struct readdir_result): Use dirent_type. Do not define skip_entry
26379 unless it is needed; this saves a byte on platforms lacking d_ino.
26380 (readdir_result_type, readdir_result_skip_entry):
26381 New functions, replacing ...
26382 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
26383 these functions, which were removed. This makes the callers
26384 easier to read. All callers changed.
26385 (D_INO_TO_RESULT): Now empty if there is no d_ino.
26386 (size_add_wrapv, glob_use_alloca): New static functions.
26387 (glob, glob_in_dir): Check for size_t overflow in several places,
26388 and fix some size_t checks that were not quite right.
26389 Remove old code using SHELL since Bash no longer
26391 (glob, prefix_array): Separate MS code better.
26392 (glob_in_dir): Remove old Amiga and VMS code.
26393 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
26395 (glob_in_dir): Do not rely on undefined behavior in accessing
26396 struct members beyond their bounds. Use a flexible array member
26398 (link_stat): Rename from link_exists2_p and return -1/0 instead of
26399 0/1. Caller changed.
26400 (glob): Fix memory leaks.
26401 * posix/glob64 (globfree64): Move to separate file.
26402 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
26403 (globfree64): Remove hidden alias.
26404 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
26406 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
26408 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
26410 Move compat code to separate file.
26411 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
26414 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
26416 * resolv/tst-resolv-qtypes.c (domain): Changed to
26417 "const char domain[] =".
26419 2017-09-07 Joseph Myers <joseph@codesourcery.com>
26421 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
26424 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
26425 (TCP_MD5SIG_EXT): Likewise.
26426 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
26427 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
26428 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
26430 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
26432 2017-09-07 Mike FABIAN <mfabian@redhat.com>
26434 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
26436 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
26439 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
26441 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
26443 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
26444 before assuming that the file is empty. Avoid testing buffer content
26447 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26450 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26452 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
26454 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
26456 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
26458 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26460 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
26462 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
26465 2017-09-06 Florian Weimer <fweimer@redhat.com>
26467 * malloc/dynarray_emplace_enlarge.c
26468 (__libc_dynarray_emplace_enlarge): Add missing else.
26470 2017-09-06 Florian Weimer <fweimer@redhat.com>
26473 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
26474 case of failure to obtain the global conf object.
26476 2017-09-06 Florian Weimer <fweimer@redhat.com>
26479 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
26480 dynarray allocation failure.
26482 2017-09-06 Florian Weimer <fweimer@redhat.com>
26484 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
26485 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
26486 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
26488 (response): Call them. Add 'p', '6' flag processing.
26489 (test_reverse): New function.
26490 (test_get2_any): Call it.
26491 (test_no_inet6): Add 'p' test.
26492 (test_inet6): Likewise.
26494 2017-09-06 Florian Weimer <fweimer@redhat.com>
26496 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
26497 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
26499 (test_gai): Adjust query names. Add additional tests.
26500 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
26501 test_get2. Adjust query names. Add additional tests.
26502 (test_no_inet6): New function, extracted from threadfunc.
26503 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
26504 Add additional tests.
26506 2017-09-06 Mike FABIAN <mfabian@redhat.com>
26509 * localedata/unicode-gen/utf8_gen.py: Set the width for
26510 characters with Prepended_Concatenation_Mark property to 1
26511 * localedata/charmaps/UTF-8: Updated using the improved script.
26513 2017-09-06 Mike FABIAN <mfabian@redhat.com>
26516 * localedata/unicode-gen/utf8_gen.py: Improve the script to
26517 use the range notation for all ranges of neighbouring characters
26518 with the same width.
26520 2017-09-05 Joseph Myers <joseph@codesourcery.com>
26522 * sysdeps/generic/math-type-macros-double.h: Include
26523 <math-svid-compat.h>.
26524 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26525 * sysdeps/generic/math-type-macros-float.h: Include
26526 <math-svid-compat.h>.
26527 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26528 * sysdeps/generic/math-type-macros-ldouble.h: Include
26529 <math-svid-compat.h>.
26530 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26531 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
26533 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
26534 * math/w_acosf_compat.c: Likewise.
26535 * math/w_acosh_compat.c: Likewise.
26536 * math/w_acoshf_compat.c: Likewise.
26537 * math/w_acoshl_compat.c: Likewise.
26538 * math/w_acosl_compat.c: Likewise.
26539 * math/w_asin_compat.c: Likewise.
26540 * math/w_asinf_compat.c: Likewise.
26541 * math/w_asinl_compat.c: Likewise.
26542 * math/w_atan2_compat.c: Likewise.
26543 * math/w_atan2f_compat.c: Likewise.
26544 * math/w_atan2l_compat.c: Likewise.
26545 * math/w_atanh_compat.c: Likewise.
26546 * math/w_atanhf_compat.c: Likewise.
26547 * math/w_atanhl_compat.c: Likewise.
26548 * math/w_cosh_compat.c: Likewise.
26549 * math/w_coshf_compat.c: Likewise.
26550 * math/w_coshl_compat.c: Likewise.
26551 * math/w_exp10_compat.c: Likewise.
26552 * math/w_exp10f_compat.c: Likewise.
26553 * math/w_exp10l_compat.c: Likewise.
26554 * math/w_exp2_compat.c: Likewise.
26555 * math/w_exp2f_compat.c: Likewise.
26556 * math/w_exp2l_compat.c: Likewise.
26557 * math/w_fmod_compat.c: Likewise.
26558 * math/w_fmodf_compat.c: Likewise.
26559 * math/w_fmodl_compat.c: Likewise.
26560 * math/w_hypot_compat.c: Likewise.
26561 * math/w_hypotf_compat.c: Likewise.
26562 * math/w_hypotl_compat.c: Likewise.
26563 * math/w_j0_compat.c: Likewise.
26564 * math/w_j0f_compat.c: Likewise.
26565 * math/w_j0l_compat.c: Likewise.
26566 * math/w_j1_compat.c: Likewise.
26567 * math/w_j1f_compat.c: Likewise.
26568 * math/w_j1l_compat.c: Likewise.
26569 * math/w_jn_compat.c: Likewise.
26570 * math/w_jnf_compat.c: Likewise.
26571 * math/w_jnl_compat.c: Likewise.
26572 * math/w_lgamma_r_compat.c: Likewise.
26573 * math/w_lgammaf_r_compat.c: Likewise.
26574 * math/w_lgammal_r_compat.c: Likewise.
26575 * math/w_log10_compat.c: Likewise.
26576 * math/w_log10f_compat.c: Likewise.
26577 * math/w_log10l_compat.c: Likewise.
26578 * math/w_log2_compat.c: Likewise.
26579 * math/w_log2f_compat.c: Likewise.
26580 * math/w_log2l_compat.c: Likewise.
26581 * math/w_log_compat.c: Likewise.
26582 * math/w_logf_compat.c: Likewise.
26583 * math/w_logl_compat.c: Likewise.
26584 * math/w_pow_compat.c: Likewise.
26585 * math/w_powf_compat.c: Likewise.
26586 * math/w_powl_compat.c: Likewise.
26587 * math/w_remainder_compat.c: Likewise.
26588 * math/w_remainderf_compat.c: Likewise.
26589 * math/w_remainderl_compat.c: Likewise.
26590 * math/w_sinh_compat.c: Likewise.
26591 * math/w_sinhf_compat.c: Likewise.
26592 * math/w_sinhl_compat.c: Likewise.
26593 * math/w_sqrt_compat.c: Likewise.
26594 * math/w_sqrtf_compat.c: Likewise.
26595 * math/w_sqrtl_compat.c: Likewise.
26596 * math/w_tgamma_compat.c: Likewise.
26597 * math/w_tgammaf_compat.c: Likewise.
26598 * math/w_tgammal_compat.c: Likewise.
26599 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
26600 [LIBM_SVID_COMPAT].
26601 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
26602 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
26603 [LIBM_SVID_COMPAT].
26604 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
26605 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
26606 [LIBM_SVID_COMPAT].
26607 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
26608 * sysdeps/i386/fpu/w_sqrt.c: New file.
26609 * sysdeps/ia64/fpu/w_acos.c: Likewise.
26610 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
26611 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
26612 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
26613 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
26614 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
26615 * sysdeps/ia64/fpu/w_asin.c: Likewise.
26616 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
26617 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
26618 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
26619 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
26620 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
26621 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
26622 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
26623 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
26624 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
26625 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
26626 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
26627 * sysdeps/ia64/fpu/w_exp.c: Likewise.
26628 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
26629 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
26630 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
26631 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
26632 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
26633 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
26634 * sysdeps/ia64/fpu/w_expf.c: Likewise.
26635 * sysdeps/ia64/fpu/w_expl.c: Likewise.
26636 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
26637 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
26638 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
26639 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
26640 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
26641 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
26642 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
26643 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
26644 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
26645 * sysdeps/ia64/fpu/w_log.c: Likewise.
26646 * sysdeps/ia64/fpu/w_log10.c: Likewise.
26647 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
26648 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
26649 * sysdeps/ia64/fpu/w_log2.c: Likewise.
26650 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
26651 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
26652 * sysdeps/ia64/fpu/w_logf.c: Likewise.
26653 * sysdeps/ia64/fpu/w_logl.c: Likewise.
26654 * sysdeps/ia64/fpu/w_pow.c: Likewise.
26655 * sysdeps/ia64/fpu/w_powf.c: Likewise.
26656 * sysdeps/ia64/fpu/w_powl.c: Likewise.
26657 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
26658 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
26659 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
26660 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
26661 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
26662 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
26663 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
26664 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
26665 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
26666 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
26667 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
26668 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
26670 [LIBM_SVID_COMPAT].
26671 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
26672 * sysdeps/ieee754/k_standard.c: Likewise.
26673 * sysdeps/ieee754/k_standardf.c: Likewise.
26674 * sysdeps/ieee754/k_standardl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
26677 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
26678 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
26679 long_double_symbol call on [LIBM_SVID_COMPAT].
26680 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26681 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26682 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26683 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26684 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26685 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26686 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26687 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26688 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26689 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26690 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26691 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26692 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26693 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26694 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26695 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26696 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
26697 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26698 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26699 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26700 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
26701 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
26703 2017-09-05 Steve Ellcey <sellcey@cavium.com>
26705 * include/shlib-compat.h (TEST_COMPAT): New Macro.
26706 * malloc/tst-mallocstate.c: Convert from test-skeleton
26707 to test-driver. Ifdef code using TEST_COMPAT macro.
26708 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
26709 * math/test-matherr.c: Likewise.
26711 2017-09-05 Joseph Myers <joseph@codesourcery.com>
26714 * debug/pcprofiledump.c (main): Use byte-swapped mask when
26715 comparing word with byte-swapped constant.
26717 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
26720 * locale/iso-639.def: add Miskito.
26721 * localedata/SUPPORTED: Add miq_NI/UTF-8.
26722 * localedata/locales/miq_NI: New file.
26724 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
26727 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
26728 (__mkdir): Likewise.
26729 * io/chmod.c (__chmod): Add libc_hidden_def.
26730 * io/mkdir.c (__mkdir): Likewise.
26731 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26732 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26733 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
26734 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
26736 2017-09-04 Joseph Myers <joseph@codesourcery.com>
26738 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26742 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
26743 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
26745 2017-09-04 Florian Weimer <fweimer@redhat.com>
26747 * math/math.h: Issue warning if log is defined.
26749 2017-09-04 Joseph Myers <joseph@codesourcery.com>
26751 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26752 kernel version to 4.13.
26754 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26756 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
26757 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
26759 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
26760 just <bits/types.h>.
26761 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
26762 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
26763 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
26764 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
26765 * misc/preadv2.c: Include <errno.h>.
26766 * misc/preadv64v2.c: Include <errno.h>.
26767 * misc/pwritev2.c: Include <errno.h>.
26768 * misc/pwritev64v2.c: Include <errno.h>.
26769 * sysdeps/posix/preadv2.c: Include <errno.h>.
26770 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
26771 Fix <unistd.h> inclusion.
26772 * sysdeps/posix/pwritev2.c: Include <errno.h>.
26773 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
26774 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
26775 __strtoul_internal): New functions.
26776 * sysdeps/posix/pause.c: Include <sigsetops.h>.
26777 * sysdeps/posix/system.c: Include <sigsetops.h>.
26778 * sysdeps/mach/hurd/i386/Makefile
26779 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
26780 [$(subdir) = csu] (sysdep-only-routines): Likewise.
26781 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
26782 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
26783 __feraiseexcept_renamed to feraiseexcept instead of
26784 __GI_feraiseexcept.
26785 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
26786 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
26787 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
26788 RWF_NOWAIT): Define to 0 if undefined already.
26789 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
26791 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
26792 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
26794 2017-09-01 Joseph Myers <joseph@codesourcery.com>
26796 * manual/math.texi (pow10): Do not document.
26797 (pow10f): Likewise.
26798 (pow10l): Likewise.
26799 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
26800 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
26801 * math/libm-test-exp10.inc (pow10_test): Remove.
26802 (do_test): Do not call pow10.
26803 * math/w_exp10_compat.c (pow10): Make into compat symbol.
26804 [NO_LONG_DOUBLE] (pow10l): Likewise.
26805 * math/w_exp10f_compat.c (pow10f): Likewise.
26806 * math/w_exp10l_compat.c (pow10l): Likewise.
26807 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
26808 (pow10): Make into compat symbol.
26809 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
26810 (pow10f): Make into compat symbol.
26811 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
26812 (pow10l): Make into compat symbol.
26813 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
26815 (CFLAGS-nldbl-pow10.c): Remove variable..
26816 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
26817 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
26818 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
26819 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
26820 Undefine and redefine.
26821 (pow10l): Make into compat symbol.
26822 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
26823 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26824 * sysdeps/arm/libm-test-ulps: Likewise.
26825 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
26826 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26827 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26828 * sysdeps/microblaze/libm-test-ulps: Likewise.
26829 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26830 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26831 * sysdeps/nios2/libm-test-ulps: Likewise.
26832 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26833 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26834 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26835 * sysdeps/sh/libm-test-ulps: Likewise.
26836 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26837 * sysdeps/tile/libm-test-ulps: Likewise.
26838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26840 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
26842 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
26844 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26846 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
26847 "../ChangeLog.old/ChangeLog.8".
26848 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
26849 "../ChangeLog.old/ChangeLog.14".
26851 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26853 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
26856 2017-09-01 Joseph Myers <joseph@codesourcery.com>
26858 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
26860 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26862 * csu/version.c (banner): Remove "by Roland McGrath et al.".
26863 * nptl/Banner: Remove "by Ulrich Drepper et al.".
26865 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
26867 * stdlib/tst-atexit-common.c (do_test): Test support for at least
26868 32 atexit handlers.
26870 2017-09-01 Zack Weinberg <zackw@panix.com>
26872 * math/math.h (HUGE_VAL): Improve commentary.
26874 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26875 Andreas Schwab <schwab@suse.de>
26878 * include/stdio.h (__gen_tempfd): New function.
26879 * stdio-common/Makefile (routines): Add gentempfd.
26880 * stdio-common/gentempfd.c: New file.
26881 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
26882 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
26883 unnamed file first.
26885 2017-09-01 Florian Weimer <fweimer@redhat.com>
26889 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
26890 result to determine success or failure, not the errno value.
26891 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
26892 (tst-nss-files-hosts-erange): Link with -ldl.
26893 * nss/tst-nss-files-hosts-erange.c: New file.
26894 * nss/tst-resolv-basic.c (response): Handle nodata.example.
26895 (do_test): Add NO_DATA tests.
26896 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
26897 (do_test): Call it.
26899 2017-09-01 Florian Weimer <fweimer@redhat.com>
26902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
26903 coming from gethostbyname2_r.
26905 2017-09-01 Florian Weimer <fweimer@redhat.com>
26907 * support/namespace.h (struct support_chroot_configuration): Add
26909 (struct support_chroot): Add path_hosts, path_host_conf.
26910 * support/support_chroot.c (write_file): New function.
26911 (support_chroot_create): Call it to process /etc/resolv.conf,
26912 /etc/hosts, /etc/host.conf.
26913 (support_chroot_free): Update.
26915 2017-09-01 Florian Weimer <fweimer@redhat.com>
26917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
26918 status indicates it is set.
26920 2017-09-01 Florian Weimer <fweimer@redhat.com>
26923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
26924 function lookup failures more reliable.
26926 2017-09-01 Florian Weimer <fweimer@redhat.com>
26928 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
26929 (getcanonname): Likewise.
26930 (gaih_inet): Likewise.
26932 2017-09-01 Florian Weimer <fweimer@redhat.com>
26934 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
26935 (getcanonname): Likewise.
26936 (gaih_inet): Likewise.
26938 2017-08-31 Steve Ellcey <sellcey@cavium.com>
26939 Richard Henderson <rth@twiddle.net>
26941 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
26942 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
26943 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
26944 (IREG_SIZE, OREG_SIZE): New macros.
26945 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
26946 (IREG_SIZE, OREG_SIZE): New macros.
26947 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
26948 (IREG_SIZE): New macro.
26949 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
26950 (IREG_SIZE): New macro.
26951 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
26953 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
26954 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26955 (__CONCATX): Handle exceptions correctly on large values that may
26957 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
26958 Initialize if not already set.
26959 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26961 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26963 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
26964 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
26966 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
26968 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
26970 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
26972 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
26974 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
26976 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
26978 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
26979 (NO_CANCELLATION): Likewise.
26980 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
26982 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
26984 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
26986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
26987 (NO_CANCELLATION): Likewise.
26988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
26989 (NO_CANCELLATION): Likewise.
26990 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
26992 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
26994 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
26996 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
26998 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27000 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27001 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27003 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27005 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27008 2017-08-31 Florian Weimer <fweimer@redhat.com>
27010 * include/libc-symbols.h (internal_function): Remove.
27012 2017-08-31 Florian Weimer <fweimer@redhat.com>
27014 * stdlib/fmtmsg.c (internal_addseverity): Remove
27017 2017-08-31 Florian Weimer <fweimer@redhat.com>
27019 * stdio-common/printf_fp.c (group_number): Remove
27021 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27023 2017-08-31 Florian Weimer <fweimer@redhat.com>
27025 * posix/fnmatch.c (internal_function): Remove definition.
27026 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27027 * posix/regcomp.c (peek_token, init_word_char)
27028 (duplicate_node_closure, fetch_token, peek_token)
27029 (peek_token_bracket, build_range_exp, build_collating_symbol):
27031 * posix/regex_internal.c (re_string_construct_common)
27032 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27033 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27034 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27035 (re_string_translate_buffer, re_string_reconstruct)
27036 (re_string_peek_byte_case, re_string_fetch_byte_case)
27037 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27038 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27039 (re_node_set_add_intersect, re_node_set_init_union)
27040 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27041 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27042 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27043 (re_acquire_state_context): Likewise.
27044 * posix/regex_internal.h (internal_function): Remove definition.
27045 (re_string_realloc_buffers, build_wcs_buffer)
27046 (build_wcs_upper_buffer, build_upper_buffer)
27047 (re_string_translate_buffer, re_string_context_at)
27048 (re_string_char_size_at, re_string_wchar_at)
27049 (re_string_elem_size_at): Likewise.
27050 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27051 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27052 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27053 (re_search_internal, re_search_2_stub, re_search_stub)
27054 (re_copy_regs, prune_impossible_nodes, check_matching)
27055 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27056 (free_fail_stack_return, sift_states_iter_mb)
27057 (sift_states_backward, build_sifted_states)
27058 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27059 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27060 (check_subexp_limits, sift_states_bkref, merge_state_array)
27061 (find_recover_state, transit_state, merge_state_with_log)
27062 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27063 (transit_state_mb, transit_state_bkref, get_subexp)
27064 (get_subexp_sub, find_subexp_node, check_arrival)
27065 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27066 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27067 (check_node_accept_bytes, find_collation_sequence_value)
27068 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
27069 (acquire_init_state_context, check_halt_node_context)
27070 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
27071 (sub_epsilon_src_nodes): Likewise.
27072 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
27073 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
27074 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
27075 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
27076 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
27077 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
27078 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
27079 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27080 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27081 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
27082 (PREADV): Likewise.
27083 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
27084 (PREADV): Likewise.
27085 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
27086 (PWRITEV): Likewise.
27087 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
27088 (PWRITEV): Likewise.
27089 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
27090 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27092 2017-08-31 Florian Weimer <fweimer@redhat.com>
27094 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
27095 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
27096 Remove internal_function.
27097 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27098 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
27099 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
27100 (__deallocate_stack, __libc_pthread_init)
27101 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
27102 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
27103 (__libc_disable_asynccancel, __librt_disable_asynccancel):
27105 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
27106 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
27107 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
27109 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
27110 (__pthread_mutex_unlock_usercnt): Likewise.
27112 2017-08-31 Florian Weimer <fweimer@redhat.com>
27114 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
27115 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
27116 (fts_safe_changedir): Remove internal_function.
27117 * io/ftw.c (internal_function): Remove definition.
27118 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
27120 2017-08-31 Florian Weimer <fweimer@redhat.com>
27122 * inet/deadline.c (__deadline_current_time)
27123 (__deadline_from_timeval, __deadline_to_ms): Remove
27125 * inet/getnameinfo.c (nrl_domainname): Likewise.
27126 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
27127 * inet/inet6_option.c (add_pad): Likewise.
27128 * inet/net-internal.h (__deadline_current_time)
27129 (__deadline_from_timeval, __deadline_to_ms): Likewise.
27130 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
27131 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
27132 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
27134 2017-08-31 Joseph Myers <joseph@codesourcery.com>
27136 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
27137 include <bits/nan.h>.
27138 * math/Makefile (headers): Remove bits/nan.h.
27139 * bits/nan.h: Remove.
27140 * sysdeps/ieee754/bits/nan.h: Likewise.
27141 * sysdeps/mips/bits/nan.h: Likewise.
27143 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
27144 not include <bits/inf.h>.
27145 * math/Makefile (headers): Remove bits/inf.h.
27146 * bits/inf.h: Remove.
27147 * sysdeps/ieee754/bits/inf.h: Likewise.
27149 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
27150 bits/huge_vall.h or bits/huge_val_flt128.h.
27151 (HUGE_VAL): Define directly here.
27152 [__USE_ISOC99] (HUGE_VALF): Likewise.
27153 [__USE_ISOC99] (HUGE_VALL): Likewise.
27154 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27155 (HUGE_VAL_F128): Likewise.
27156 * math/Makefile (headers): Remove bits/huge_val.h,
27157 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
27158 * bits/huge_val.h: Remove.
27159 * bits/huge_val_flt128.h: Likewise.
27160 * bits/huge_valf.h: Likewise.
27161 * bits/huge_vall.h: Likewise.
27162 * sysdeps/ia64/bits/huge_vall.h: Likewise.
27163 * sysdeps/ieee754/bits/huge_val.h: Likewise.
27164 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
27165 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
27166 * sysdeps/sh/bits/huge_val.h: Likewise.
27167 * sysdeps/sparc/bits/huge_vall.h: Likewise.
27168 * sysdeps/x86/bits/huge_vall.h: Likewise.
27170 2017-08-31 Florian Weimer <fweimer@redhat.com>
27172 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
27174 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
27176 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
27177 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27178 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
27179 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
27180 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27181 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27182 * elf/dl-libc.c (dlerror_run): Likewise.
27183 * elf/dl-load.c (add_name_to_object, decompose_rpath)
27184 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
27185 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
27186 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
27188 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
27189 (_dl_higher_prime_number, _dl_strtoul): Likewise.
27190 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
27191 * elf/dl-profile.c (_dl_start_profile): Likewise.
27192 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
27193 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
27195 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
27196 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
27197 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
27198 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
27199 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
27200 (_dl_allocate_tls_storage): Likewise.
27201 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
27202 (_dl_check_all_versions): Likewise.
27203 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27204 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
27205 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
27206 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27207 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
27208 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
27209 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
27210 internal_function from __dl_start.
27211 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
27212 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27213 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
27214 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
27215 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
27216 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
27217 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
27218 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
27219 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
27220 (_dl_next_ld_env_entry, _dl_important_hwcaps)
27221 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
27222 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
27223 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
27224 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
27225 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
27227 (struct rtld_global_ro): Remove internal_function from the
27228 _dl_lookup_symbol_x member.
27229 (_dl_symbol_value): Remove. No longer defined anywhere.
27230 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
27232 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27233 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27234 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
27235 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
27236 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
27237 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
27238 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
27239 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
27240 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
27241 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27242 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27243 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27245 2017-08-31 Florian Weimer <fweimer@redhat.com>
27247 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
27248 Remove internal_function.
27249 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27251 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27254 2017-08-31 Florian Weimer <fweimer@redhat.com>
27256 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
27257 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
27258 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
27260 2017-08-31 Florian Weimer <fweimer@redhat.com>
27262 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
27263 (__gai_enqueue_request): Remove internal_function.
27264 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
27265 (__gai_remove_request, __gai_notify, __gai_notify_only)
27266 (__gai_sigqueue): Likewise.
27267 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
27268 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27269 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
27270 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27273 2017-08-31 Florian Weimer <fweimer@redhat.com>
27275 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
27276 * include/dirent.h (__opendirat, __getdents, __getdents64)
27277 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
27278 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
27279 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27280 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27282 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
27284 2017-08-31 Florian Weimer <fweimer@redhat.com>
27286 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
27288 (GETCWD_RETURN_TYPE): Likewise.
27290 2017-08-31 Florian Weimer <fweimer@redhat.com>
27292 * include/time.h (__tz_compute, __strptime_internal): Remove
27294 * time/strptime_l.c (__strptime_internal): Likewise.
27295 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
27297 2017-08-31 Florian Weimer <fweimer@redhat.com>
27299 * iconv/gconv.c (__gconv): Remove internal_function.
27300 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
27301 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
27302 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
27303 (__gconv_release_cache): Likewise.
27304 * iconv/gconv_close.c (__gconv_close): Likewise.
27305 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
27306 (read_conf_file, __gconv_get_path): Likewise.
27307 * iconv/gconv_db.c (derivation_lookup, add_derivation)
27308 (__gconv_release_step, gen_steps, increment_counter)
27309 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
27310 (__gconv_close_transform, free_modules_db): Likewise.
27311 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
27313 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
27314 (__gconv_find_transform, __gconv_lookup_cache)
27315 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
27316 (__gconv_close_transform, __gconv_release_cache)
27317 (__gconv_loaded_object, __gconv_release_shlib)
27318 (__gconv_compare_alias): Likewise.
27319 * iconv/gconv_open.c (__gconv_open): Likewise.
27320 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
27321 * iconv/iconvconfig.c (add_module): Likewise.
27322 * intl/dcigettext.c (plural_lookup, guess_category_value)
27323 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
27324 * intl/eval-plural.h (plural_eval): Likewise.
27325 * intl/finddomain.c (_nl_find_domain): Likewise.
27326 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
27327 (_nl_load_domain, _nl_find_msg): Likewise.
27328 (internal_function): Remove definition.
27329 * intl/loadinfo.h (internal_function): Likewise.
27330 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
27332 * intl/localealias.c (internal_function): Remove definition.
27333 (read_alias_file): Remove internal_function.
27334 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
27335 * intl/plural-exp.h (internal_function): Remove definition.
27336 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
27338 * intl/plural.c: Regenerate.
27339 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
27340 * locale/coll-lookup.c (__collidx_table_lookup)
27341 (__collseq_table_lookup): Likewise.
27342 * locale/coll-lookup.h (__collidx_table_lookup)
27343 (__collseq_table_lookup): Likewise.
27344 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
27345 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27346 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
27347 (_nl_unload_locale): Likewise.
27348 * locale/localeinfo.h (struct __locale_data): Remove
27349 internal_function from cleanup member.
27350 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
27351 (_nl_remove_locale, _nl_load_locale_from_archive)
27352 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
27353 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
27354 (_nl_cleanup_time): Remove internal_function.
27355 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
27356 (_nl_parse_alt_digit): Likewise.
27357 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
27358 (_nl_select_era_entry): Likewise.
27359 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
27360 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27361 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27362 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27363 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
27365 2017-08-31 Florian Weimer <fweimer@redhat.com>
27367 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
27368 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27369 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
27370 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
27372 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
27373 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
27374 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
27375 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27377 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
27379 2017-08-31 Florian Weimer <fweimer@redhat.com>
27381 * misc/getttyent.c (skip, value): Remove internal_function.
27382 * misc/syslog.c (openlog_internal): Likewise.
27383 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
27385 2017-08-31 Florian Weimer <fweimer@redhat.com>
27387 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
27388 (__nss_rewrite_field): Remove internal_function.
27389 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27390 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27391 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27392 * nss/nsswitch.c (nss_parse_file, nss_getline)
27393 (nss_parse_service_list, nss_new_service): Likewise.
27394 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
27395 * nss/valid_field.c (__nss_valid_field): Likewise.
27396 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27398 2017-08-31 Florian Weimer <fweimer@redhat.com>
27400 * malloc/arena.c (__malloc_fork_lock_parent)
27401 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
27402 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
27403 internal_function from defintions.
27404 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
27405 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
27406 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
27407 internal_function from declarations.
27408 * malloc/malloc.c (internal_function): Do not define.
27409 (mem2mem_check): Remove internal_function from declaration.
27410 (munmap_chunk, mremap_chunk): Remove internal_function.
27411 * malloc/mtrace.c (tr_where): Likewise.
27413 2017-08-31 Florian Weimer <fweimer@redhat.com>
27415 * include/rpc/pmap_clnt.h (__get_socket): Remove
27417 * sunrpc/auth_des.c (synchronize): Likewise.
27418 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
27419 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
27420 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
27421 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
27422 (key_call): Likewise.
27423 * sunrpc/pm_getport.c (__get_socket): Likewise.
27424 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
27425 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
27426 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
27427 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
27428 (invalidate): Likewise.
27429 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
27430 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
27431 (set_input_fragment, get_input_bytes): Likewise.
27433 2017-08-31 Florian Weimer <fweimer@redhat.com>
27435 * malloc/malloc.c (_int_free): Remove locked variable and related
27438 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
27441 * Makerules (build-module-helper-objlist): Filter out
27442 $(elf-objpfx)sofini.os.
27443 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
27446 2017-08-31 Florian Weimer <fweimer@redhat.com>
27448 * libio/fcloseall.c: Assume weak_alias is defined.
27449 * libio/feof.c: Likewise.
27450 * libio/fileno.c: Likewise.
27451 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
27452 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27454 (_IO_file_open): Call __open directly.
27455 (_IO_new_file_sync): Assume ESPIPE is defined.
27456 (_IO_file_seekoff_maybe_mmap): Call __read directly.
27457 (_IO_new_file_write): Call __write directly.
27458 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
27459 * libio/ftello64.c (__ftello64): Assume EIO is defined.
27460 * libio/genops.c: Assume _LIBC is defined.
27461 (save_for_backup): Remove internal_function.
27462 * libio/getc.c: Assume weak_alias is defined.
27463 * libio/getwc.c: Likewise.
27464 * libio/iofclose.c: Assume _LIBC is defined.
27465 * libio/iofdopen.c: Likewise.
27466 (_IO_fcntl): Remove macro definition.
27467 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
27468 Call __fcntl directly.
27469 * libio/iofflush.c: Assume weak_alias is defined.
27470 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
27472 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
27473 * libio/iofgets.c: Likewise.
27474 * libio/iofopen.c: Assume _LIBC is defined.
27475 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
27476 * libio/iofputs.c: Assume weak_alias is defined.
27477 * libio/iofread.c: Likewise.
27478 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
27479 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27480 * libio/ioftell.c: Assume weak_alias is defined.
27481 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
27482 * libio/iofwide.c: Assume _LIBC is defined.
27483 (_IO_fwide): Drop SHARED conditional because it is implied by
27485 * libio/iofwrite.c: Assume weak_alias is defined.
27486 * libio/iogetdelim.c: Likewise.
27487 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
27488 * libio/iogetwline.c (wmemcpy): Remove macro definition.
27489 (_IO_getwline): Call __wmemcpy directly.
27490 * libio/iopopen.c: Assume _LIBC is defined.
27491 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27492 (_IO_close): Remove macro definitions.
27493 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
27495 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
27497 * libio/ioputs.c: Assume weak_alias is defined.
27498 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
27499 * libio/iosetbuffer.c: Assume weak_alias is defined.
27500 * libio/iosetvbuf.c: Likewise.
27501 * libio/ioungetc.c: Likewise.
27502 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
27503 libc_hidden_def, libc_hidden_weak, NULL are defined.
27504 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
27505 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
27507 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27509 (_IO_old_file_init_internal): Drop SHARED conditional because it
27510 is implied by SHLIB_COMPAT.
27511 (_IO_old_file_fopen): Call __open directly.
27512 (_IO_old_file_sync): Assume ESPIPE is defined.
27513 (_IO_old_file_write): Call __write directly.
27514 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
27515 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
27516 Call __fcntl directly.
27517 * libio/oldiofgetpos.c: Assume weak_alias is defined.
27518 (_IO_old_fgetpos): Assume EIO is defined.
27519 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
27520 (_IO_old_fgetpos64): Assume EIO is defined.
27521 * libio/oldiofsetpos.c: Assume weak_alias is defined.
27522 (_IO_old_fsetpos): Assume EIO is defined.
27523 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
27524 (_IO_old_fsetpos64): Assume EIO is defined.
27525 * libio/oldiopopen.c: Assume _LIBC is defined.
27526 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27527 (_IO_close): Remove macro definitions.
27528 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
27530 (_IO_old_proc_close): Call __close, __waitpid directly.
27531 * libio/put.c: Assume weak_alias is defined.
27532 * libio/stdfiles.c: Assume _LIBC is defined.
27533 * libio/stdio.c: Likewise.
27534 * libio/wfileops.c: Likewise.
27535 (_IO_wfile_sync): Assume ESPIPE is defined.
27536 * libio/wgenops.c: Assume _LIBC is defined.
27537 (save_for_wbackup): Remove internal_function.
27539 2017-08-31 Florian Weimer <fweimer@redhat.com>
27541 * malloc/malloc.c (top_check): Change return type to void. Remove
27543 * malloc/hooks.c (top_check): Likewise.
27544 (malloc_check, realloc_check, memalign_check): Adjust.
27546 2017-08-30 Joseph Myers <joseph@codesourcery.com>
27549 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27550 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
27551 sigcontext and namespace requirements.
27552 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27553 * sysdeps/m68k/sys/ucontext.h: Likewise.
27554 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
27555 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
27556 <bits/sigcontext.h>.
27557 (__ctx): Define earlier.
27558 (mcontext_t): Define structure contents rather than using struct
27560 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
27561 __glibc_reserved1 instead of __reserved.
27562 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
27563 <bits/sigcontext.h>.
27564 (__ctx): Define earlier.
27565 (mcontext_t): Define structure contents rather than using struct
27567 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
27568 mcontext_t instead of struct sigcontext.
27569 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
27570 <bits/sigcontext.h>.
27571 (__ctx): Define earlier.
27572 (mcontext_t): Define structure contents rather than using struct
27574 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
27575 <bits/sigcontext.h>.
27576 (__ctx): Define earlier.
27577 (mcontext_t): Define structure contents rather than using struct
27579 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
27580 mcontext_t instead of struct sigcontext.
27581 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
27582 mcontext_t instead of struct sigcontext.
27583 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
27584 <bits/sigcontext.h>.
27585 (__ctx): New macro.
27586 (struct __ia64_fpreg_mcontext): New type.
27587 (mcontext_t): Define structure contents rather than using struct
27589 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
27590 (uc_sigmask): Define using __ctx.
27591 (uc_stack): Likewise.
27592 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
27593 <bits/sigcontext.h>.
27594 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27595 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
27596 <bits/sigcontext.h>.
27597 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
27598 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
27599 <bits/sigcontext.h>.
27600 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
27601 <bits/sigcontext.h>.
27602 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
27603 <bits/sigcontext.h>.
27604 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
27605 <bits/sigcontext.h>.
27606 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
27607 <bits/sigcontext.h>.
27608 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
27609 <bits/sigcontext.h>.
27610 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
27611 <bits/sigcontext.h>.
27612 (__ctx): Define earlier.
27613 (mcontext_t): Define structure contents rather than using struct
27615 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
27616 <bits/sigcontext.h>. Include <bits/types.h>.
27617 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
27618 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
27619 (test-xfail-XPG42/ucontext.h/conform): Likewise.
27620 (test-xfail-UNIX98/signal.h/conform): Likewise.
27621 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27622 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27623 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27624 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27625 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27626 (test-xfail-POSIX2008/signal.h/conform): Likewise.
27627 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27628 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27629 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27631 2017-08-30 Florian Weimer <fweimer@redhat.com>
27633 * malloc/dynarray_emplace_enlarge.c
27634 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
27635 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
27636 * malloc/tst-dynarray.c (test_long_overflow): New function.
27637 (do_test): Call it.
27639 2017-08-30 Florian Weimer <fweimer@redhat.com>
27641 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
27642 (set_arena_corrupt): Remove definitions.
27643 (mtrim): Do not check for corrupt arena.
27644 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
27647 2017-08-30 Florian Weimer <fweimer@redhat.com>
27650 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
27652 (ptmalloc_init): Do not set or use check_action.
27653 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
27654 call to malloc_printerr. Remove return statement.
27655 (free_check): Likewise. Remove arena unlock.
27656 (top_check): Update comment. Adjust call to malloc_printerr.
27657 Remove heap repair code.
27658 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
27659 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
27660 (sysmalloc): Adjust call to malloc_printerr.
27661 (munmap_chunk, __libc_realloc): Likewise. Remove return
27663 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
27664 Remove errout label and corresponding gotos.
27665 (_int_free): Likewise. Remove arena unlock.
27666 (do_set_mallopt_check): Do not set check_action.
27667 (malloc_printerr): Adjust parameter list. Do not mark arena as
27669 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
27671 * manual/probes.texi (Memory Allocation Probes): Remove
27672 memory_mallopt_check_action.
27674 2017-08-30 Steve Ellcey <sellcey@cavium.com>
27676 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
27677 Use pointer to uint64_t instead of long int for sp.
27679 2017-08-30 Florian Weimer <fweimer@redhat.com>
27682 * malloc/malloc.c (malloc_printerr): Always terminate the process,
27683 without printing a backtrace. Do not leak any information in the
27685 * manual/memory.texi (Heap Consistency Checking): Update.
27686 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
27688 2017-08-30 Florian Weimer <fweimer@redhat.com>
27690 Do not scale NPTL tests with available number of CPUs.
27691 * nptl/tst-cond16.c (count): Set to constant value of 8.
27692 * nptl/tst-cond18.c (count): Likewise.
27694 2017-08-29 Joseph Myers <joseph@codesourcery.com>
27697 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
27698 Define to take a second argument that is a macro that
27699 concatentates a suffix, not the suffix itself.
27700 (__CONCAT_d): New macro.
27701 (__CONCAT_f): Likewise.
27702 (__CONCAT_l): Likewise.
27704 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
27706 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
27709 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27710 Aurelien Jarno <aurelien@aurel32.net>
27711 Maciej W. Rozycki <macro@imgtec.com>
27714 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
27715 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
27716 `mips16-syscall6' and `mips16-syscall7'.
27717 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
27718 (CFLAGS-mips16-syscall7.c): Remove.
27719 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
27720 Remove `__mips16_syscall5', `__mips16_syscall6' and
27721 `__mips16_syscall7'.
27722 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
27723 (__mips16_syscall0): Rename `__mips16_syscall_return' to
27724 `__mips_syscall_return'.
27725 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
27726 (__mips16_syscall1): Likewise.
27727 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
27728 (__mips16_syscall2): Likewise.
27729 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
27730 (__mips16_syscall3): Likewise.
27731 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
27732 (__mips16_syscall4): Likewise.
27733 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
27735 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
27737 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
27739 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
27740 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
27741 `__mips16_syscall5'. Remove prototype.
27742 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
27743 `__mips16_syscall6'. Remove prototype.
27744 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
27745 `__mips16_syscall7'. Remove prototype.
27746 (__nomips16, __mips16_syscall_return): Move to...
27747 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
27748 (__nomips16, __mips_syscall_return): ... here.
27749 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
27750 `__mips16_syscall_return' to `__mips_syscall_return'.
27751 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
27752 `internal_syscall##nr'.
27753 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
27754 `internal_syscall##nr'.
27755 (FORCE_FRAME_POINTER): Remove.
27756 (__mips_syscall5): New prototype.
27757 (internal_syscall5): Rewrite to call `__mips_syscall5'.
27758 (__mips_syscall6): New prototype.
27759 (internal_syscall6): Rewrite to call `__mips_syscall6'.
27760 (__mips_syscall7): New prototype.
27761 (internal_syscall7): Rewrite to call `__mips_syscall7'.
27762 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
27763 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
27764 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
27765 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
27766 (sysdep_routines): Add libc-do-syscall.
27767 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
27768 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
27770 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27773 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
27774 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
27775 (advise_stack_range): New function.
27776 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
27777 stack non required to advise_stack_range at allocatestack.c
27779 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27781 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
27783 2017-08-29 Florian Weimer <fweimer@redhat.com>
27786 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
27787 __end_fct. Mangle __end_fct after setting it to NULL.
27788 * iconv/Makefile (tests): Add tst-gconv-init-failure.
27789 (modules-names, modules-names-tests): Add
27790 tst-gconv-init-failure-mod.
27791 (gconv-modules): New target.
27792 (tst-gconv-init-failure-mod.so): Link against libsupport.
27793 (tst-gconv-init-failure): Depend on gconv-modules,
27794 tst-gconv-init-failure-mod.so.
27795 * iconv/tst-gconv-init-failure-mod.c: New file.
27796 * iconv/tst-gconv-init-failure.c: Likewise.
27797 * iconv/test-gconv-modules: Likewise.
27799 2017-08-29 Florian Weimer <fweimer@redhat.com>
27802 * iconv/gconv_db.c (free_derivation): Remove redundant
27804 (gen_steps): Unconditionally mangle __btowc_fct after
27806 (increment_counter): Likewise. Do not call init_fct for internal
27809 2017-08-29 Joseph Myers <joseph@codesourcery.com>
27812 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
27813 (_MSUF_): Remove macro.
27814 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
27816 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
27817 (__REDIRFROM_X): New macro.
27818 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
27820 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
27821 (__REDIRTO_X): Likewise.
27822 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
27824 (__MATH_REDIRCALL_2): Likewise.
27825 (__MATH_REDIRCALL_INTERNAL): Likewise.
27826 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27827 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
27828 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
27829 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27830 * math/test-finite-macros.c: New file.
27831 * math/Makefile (tests): Add test-finite-macros.
27832 (CFLAGS-test-finite-macros.c): New variable.
27834 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
27835 Jeff Law <law@redhat.com>
27838 Mangle NULL pointers in iconv/gconv.
27839 * iconv/gconv_cache.c (find_module): Demangle init_fct before
27840 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
27841 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
27842 is non-NULL before demangling the end_fct. Check for NULL
27843 end_fct after demangling.
27844 (__gconv_release_step): Demangle the end_fct before checking
27845 it for NULL. Remove assert on __shlibc_handle != NULL.
27846 (gen_steps): Don't check btowc_fct for NULL before mangling.
27847 Demangle init_fct before checking for NULL.
27848 (increment_counter): Likewise.
27849 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
27850 end_fct for NULL before mangling.
27851 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
27854 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
27857 * locale/iso-639.def: add Morisyen.
27859 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27862 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
27863 (iszero): New C++ implementation that does not use
27864 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
27865 signaling nans are enabled, since __builtin_types_compatible_p
27866 is a C-only feature.
27867 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
27868 defined, include ieee754_float128.h for access to the union and
27869 member ieee854_float128.ieee.
27870 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
27871 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
27872 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
27873 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
27874 options of test-math-zero on powerpc64le.
27876 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
27878 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27879 Change double to float.
27881 2017-08-28 Joseph Myers <joseph@codesourcery.com>
27883 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
27885 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
27886 conditional code; define contents only for [LIBM_SVID_COMPAT].
27888 2017-08-28 Florian Weimer <fweimer@redhat.com>
27890 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
27891 (abi-lp64_be-options): Remove.
27892 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
27893 (abi-hard-options): Likewise.
27894 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
27895 (abi-o32_hard-options, abi-o32_soft_2008-options)
27896 (abi-o32_hard_2008-options, abi-n32_soft-options)
27897 (abi-n32_hard-options, abi-n32_soft_2008-options)
27898 (abi-n32_hard_2008-options, abi-n64_soft-options)
27899 (abi-n64_hard-options, abi-n64_soft_2008-options)
27900 (abi-n64_hard_2008-options): Likewise.
27901 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
27902 (abi-64-v1-options, abi-64-v2-options): Likewise.
27903 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
27904 (abi-64-options): Likewise.
27905 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
27906 (abi-64-options): Likewise.
27907 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
27908 (abi-64-options): Likewise.
27909 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
27910 (abi-64-options, abi-x32-options): Likewise.
27912 2017-08-28 Florian Weimer <fweimer@redhat.com>
27914 Store supported list of SYS_* system calls in the source tree.
27915 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
27916 (bits/syscall.h): Generate from list file.
27917 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
27918 [$(subdir) = misc] (tests): Add tst-syscall-list.
27919 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
27920 [$(subdir) = misc] (tst-syscall-list-macros.list)
27921 [$(subdir) = misc] (tst-syscall-list-nr.list)
27922 (tst-syscall-list-sys.list): Helper targets for new
27923 tst-syscall-list test.
27924 [$(subdir) = misc] (tst-syscall-list.out): Run test script
27925 tst-syscall-list.sh.
27926 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
27927 target. Do not include bits/syscall.d.
27928 [$(subdir) = misc] (generated): Do not update.
27929 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
27930 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
27931 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
27932 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
27934 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
27936 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
27937 (tst-cxa_atexit, tst-on_exit): Likewise.
27938 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
27939 tst-cxa_atexit, and tst-on_exit.
27940 * stdlib/tst-atexit-common.c: New file.
27941 * stdlib/tst-atexit.c: New file.
27942 * stdlib/tst-at_quick_exit.c: New file.
27943 * stdlib/tst-cxa_atexit.c: New file.
27944 * stdlib/tst-on_exit.c: New file.
27946 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27948 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
27949 * mach/stack_chk_fail_local.c: New file.
27950 * hurd/stack_chk_fail_local.c: New file.
27951 * mach/Machrules ($(interface-library)-routines): Add
27952 stack_chk_fail_local.
27953 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
27954 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
27955 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
27956 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
27957 * hurd/Makefile (CFLAGS-hurdstartup.o,
27958 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
27960 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
27962 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
27963 (index_cpu_*, index_arch_*): Removed.
27965 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27967 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
27968 Use uint64_t instead of unsigned long.
27970 2017-08-25 Joseph Myers <joseph@codesourcery.com>
27972 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
27973 [__HAVE_DISTINCT_FLOAT128].
27975 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
27976 of <bits/math-finite.h>.
27977 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
27978 inclusion of <bits/math-finite.h>.
27979 * math/bits/math-finite.h (__REDIRTO_X): Do not define
27980 conditionally on [__MATH_DECLARING_LDOUBLE && defined
27981 __NO_LONG_DOUBLE_MATH].
27982 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
27983 (__MATH_REDIRCALL_2): Likewise.
27984 (__MATH_REDIRCALL_INTERNAL): Likewise.
27985 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27986 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
27987 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
27991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
27993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
27995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
27997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
27999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28001 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28002 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28003 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28004 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28006 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28007 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28008 w_sqrtf_compat-ppc32.
28010 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28012 * math/math.h [defined __cplusplus] (issignaling): In the long
28013 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28014 is not defined. Call __issignaling, otherwise.
28016 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28018 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28019 syscall definitions and replace __builtin_expect with __glibc_likely.
28020 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28022 (SYSCALL_CANCELLABLE): Removedefinition
28023 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28025 (PSEUDO_END): Likewise.
28026 [IS_IN (libpthread)] (CENABLE): Likewise.
28027 [IS_IN (libpthread)] (CDISABLE): Likewise.
28028 [IS_IN (libc)] (CENABLE): Likewise.
28029 [IS_IN (libc)] (CENABLE): Likewise.
28030 [IS_IN (librt)] (CDISABLE): Likewise.
28031 [IS_IN (librt)] (CDISABLE): Likewise.
28032 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28033 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28035 (PSEUDO_END): Likewise.
28036 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28037 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28038 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28039 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28040 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28041 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28042 (CENABLE): Likewise.
28043 (CDISABLE): Likewise.
28044 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28045 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28047 (PSEUDO_END): Likewise.
28048 [IS_IN (libpthread)] (CENABLE): Likewise.
28049 [IS_IN (libpthread)] (CDISABLE): Likewise.
28050 [IS_IN (libc)] (CENABLE): Likewise.
28051 [IS_IN (libc)] (CENABLE): Likewise.
28052 [IS_IN (librt)] (CDISABLE): Likewise.
28053 [IS_IN (librt)] (CDISABLE): Likewise.
28054 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28055 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28057 (PSEUDO_END): Likewise.
28058 [IS_IN (libpthread)] (CENABLE): Likewise.
28059 [IS_IN (libpthread)] (CDISABLE): Likewise.
28060 [IS_IN (libc)] (CENABLE): Likewise.
28061 [IS_IN (libc)] (CENABLE): Likewise.
28062 [IS_IN (librt)] (CDISABLE): Likewise.
28063 [IS_IN (librt)] (CDISABLE): Likewise.
28064 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28065 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28067 (PSEUDO_END): Likewise.
28068 [IS_IN (libpthread)] (CENABLE): Likewise.
28069 [IS_IN (libpthread)] (CDISABLE): Likewise.
28070 [IS_IN (libc)] (CENABLE): Likewise.
28071 [IS_IN (libc)] (CENABLE): Likewise.
28072 [IS_IN (librt)] (CDISABLE): Likewise.
28073 [IS_IN (librt)] (CDISABLE): Likewise.
28074 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28075 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
28077 (PSEUDO_END): Likewise.
28078 [IS_IN (libpthread)] (CENABLE): Likewise.
28079 [IS_IN (libpthread)] (CDISABLE): Likewise.
28080 [IS_IN (libc)] (CENABLE): Likewise.
28081 [IS_IN (libc)] (CENABLE): Likewise.
28082 [IS_IN (librt)] (CDISABLE): Likewise.
28083 [IS_IN (librt)] (CDISABLE): Likewise.
28084 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28085 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
28087 (PSEUDO_END): Likewise.
28088 [IS_IN (libpthread)] (CENABLE): Likewise.
28089 [IS_IN (libpthread)] (CDISABLE): Likewise.
28090 [IS_IN (libc)] (CENABLE): Likewise.
28091 [IS_IN (libc)] (CENABLE): Likewise.
28092 [IS_IN (librt)] (CDISABLE): Likewise.
28093 [IS_IN (librt)] (CDISABLE): Likewise.
28094 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28095 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
28097 (PSEUDO_END): Likewise.
28098 [IS_IN (libpthread)] (CENABLE): Likewise.
28099 [IS_IN (libpthread)] (CDISABLE): Likewise.
28100 [IS_IN (libc)] (CENABLE): Likewise.
28101 [IS_IN (libc)] (CENABLE): Likewise.
28102 [IS_IN (librt)] (CDISABLE): Likewise.
28103 [IS_IN (librt)] (CDISABLE): Likewise.
28104 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28105 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
28107 (PSEUDO_END): Likewise.
28108 [IS_IN (libpthread)] (CENABLE): Likewise.
28109 [IS_IN (libpthread)] (CDISABLE): Likewise.
28110 [IS_IN (libc)] (CENABLE): Likewise.
28111 [IS_IN (libc)] (CENABLE): Likewise.
28112 [IS_IN (librt)] (CDISABLE): Likewise.
28113 [IS_IN (librt)] (CDISABLE): Likewise.
28114 (SINGLE_THREAD_P): Likewise.
28115 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
28117 (PSEUDO_END): Likewise.
28118 [IS_IN (libpthread)] (CENABLE): Likewise.
28119 [IS_IN (libpthread)] (CDISABLE): Likewise.
28120 [IS_IN (libc)] (CENABLE): Likewise.
28121 [IS_IN (libc)] (CENABLE): Likewise.
28122 [IS_IN (librt)] (CDISABLE): Likewise.
28123 [IS_IN (librt)] (CDISABLE): Likewise.
28124 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28125 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
28127 (PSEUDO_END): Likewise.
28128 [IS_IN (libpthread)] (CENABLE): Likewise.
28129 [IS_IN (libpthread)] (CDISABLE): Likewise.
28130 [IS_IN (libc)] (CENABLE): Likewise.
28131 [IS_IN (libc)] (CENABLE): Likewise.
28132 [IS_IN (librt)] (CDISABLE): Likewise.
28133 [IS_IN (librt)] (CDISABLE): Likewise.
28134 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28135 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
28136 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28137 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
28138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
28140 (PSEUDO_END): Likewise.
28141 [IS_IN (libpthread)] (CENABLE): Likewise.
28142 [IS_IN (libpthread)] (CDISABLE): Likewise.
28143 [IS_IN (libc)] (CENABLE): Likewise.
28144 [IS_IN (libc)] (CENABLE): Likewise.
28145 [IS_IN (librt)] (CDISABLE): Likewise.
28146 [IS_IN (librt)] (CDISABLE): Likewise.
28147 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
28150 (PSEUDO_END): Likewise.
28151 [IS_IN (libpthread)] (CENABLE): Likewise.
28152 [IS_IN (libpthread)] (CDISABLE): Likewise.
28153 [IS_IN (libc)] (CENABLE): Likewise.
28154 [IS_IN (libc)] (CENABLE): Likewise.
28155 [IS_IN (librt)] (CDISABLE): Likewise.
28156 [IS_IN (librt)] (CDISABLE): Likewise.
28157 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28158 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
28160 (PSEUDO_END): Likewise.
28161 [IS_IN (libpthread)] (CENABLE): Likewise.
28162 [IS_IN (libpthread)] (CDISABLE): Likewise.
28163 [IS_IN (libc)] (CENABLE): Likewise.
28164 [IS_IN (libc)] (CENABLE): Likewise.
28165 [IS_IN (librt)] (CDISABLE): Likewise.
28166 [IS_IN (librt)] (CDISABLE): Likewise.
28167 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
28169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28170 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
28171 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
28173 (PSEUDO_END): Likewise.
28174 [IS_IN (libpthread)] (CENABLE): Likewise.
28175 [IS_IN (libpthread)] (CDISABLE): Likewise.
28176 [IS_IN (libc)] (CENABLE): Likewise.
28177 [IS_IN (libc)] (CENABLE): Likewise.
28178 [IS_IN (librt)] (CDISABLE): Likewise.
28179 [IS_IN (librt)] (CDISABLE): Likewise.
28180 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28181 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
28183 (PSEUDO_END): Likewise.
28184 [IS_IN (libpthread)] (CENABLE): Likewise.
28185 [IS_IN (libpthread)] (CDISABLE): Likewise.
28186 [IS_IN (libc)] (CENABLE): Likewise.
28187 [IS_IN (libc)] (CENABLE): Likewise.
28188 [IS_IN (librt)] (CDISABLE): Likewise.
28189 [IS_IN (librt)] (CDISABLE): Likewise.
28190 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28192 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28194 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
28196 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28198 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28200 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28203 * string/stratcliff.c (do_test): Declare size, nchars, inner,
28204 middle and outer with size_t instead of int. Repleace %d and
28205 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
28206 "MAX (outer, nchars - 64)" to support unsigned outer and
28207 nchars. Also exit loop when outer == 0.
28209 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28211 * include/fcntl.h (__fcntl_nocancel): Remove definition.
28212 * include/signal.h (__sigsuspend_nocancel): Likewise.
28213 * include/time.h (__nanosleep_nocancel): Likewise.
28214 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
28215 * login/utmp_file.c: Include non cancellable syscall header.
28216 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
28219 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28221 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
28222 .byte sequences with AVX512F instructions.
28223 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
28224 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
28225 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28226 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
28228 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28231 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
28232 Steve Ellcey <sellcey@cavium.com>
28234 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
28235 Use PTR_REG macro in cmp instruction.
28237 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28239 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
28240 Change the return type of the ifunc resolver to match the return
28241 type of the target function.
28243 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28245 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
28246 (preadv64): Likewise.
28247 (pwrite64(: Likewise.
28248 (pwritev64): Likewise.
28250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28251 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
28252 (LOAD_ARGS_0): Likewise.
28253 (LOAD_ARGS_1): Likewise.
28254 (LOAD_ARGS_2): Likewise.
28255 (LOAD_ARGS_3): Likewise.
28256 (LOAD_ARGS_4): Likewise.
28257 (LOAD_ARGS_5): Likewise.
28258 (LOAD_ARGS_6): Likewise.
28259 (LOAD_REGS_0): Likewise.
28260 (LOAD_REGS_1): Likewise.
28261 (LOAD_REGS_2): Likewise.
28262 (LOAD_REGS_3): Likewise.
28263 (LOAD_REGS_4): Likewise.
28264 (LOAD_REGS_5): Likewise.
28265 (LOAD_REGS_6): Likewise.
28266 (ASM_ARGS_0): Likewise.
28267 (ASM_ARGS_1): Likewise.
28268 (ASM_ARGS_2): Likewise.
28269 (ASM_ARGS_3): Likewise.
28270 (ASM_ARGS_4): Likewise.
28271 (ASM_ARGS_5): Likewise.
28272 (ASM_ARGS_6): Likewise.
28273 (LOAD_ARGS_TYPES_1): Likewise.
28274 (LOAD_ARGS_TYPES_2): Likewise.
28275 (LOAD_ARGS_TYPES_3): Likewise.
28276 (LOAD_ARGS_TYPES_4): Likewise.
28277 (LOAD_ARGS_TYPES_5): Likewise.
28278 (LOAD_ARGS_TYPES_6): Likewise.
28279 (LOAD_REGS_TYPES_1): Likewise.
28280 (LOAD_REGS_TYPES_2): Likewise.
28281 (LOAD_REGS_TYPES_3): Likewise.
28282 (LOAD_REGS_TYPES_4): Likewise.
28283 (LOAD_REGS_TYPES_5): Likewise.
28284 (LOAD_REGS_TYPES_6): Likewise.
28285 (TYPEFY): New define.
28286 (ARGIFY): Likewise.
28287 (internal_syscall0): Likewise.
28288 (internal_syscall1): Likewise.
28289 (internal_syscall2): Likewise.
28290 (internal_syscall3): Likewise.
28291 (internal_syscall4): Likewise.
28292 (internal_syscall5): Likewise.
28293 (internal_syscall6): Likewise.
28294 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
28295 (INTERNAL_SYSCALL_NCS): Remove define.
28296 (internal_syscall1): Add define.
28298 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28300 * math/w_remainder_compat.c: Remove duplicate inclusion of
28301 math-svid-compat.h.
28302 * math/w_remainderf_compat.c: Likewise.
28303 * math/w_remainderl_compat.c: Likewise.
28305 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28309 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28312 * math/tgmath.h (__floating_type): Simplify definitions.
28313 (__real_integer_type): New macro.
28314 (__complex_integer_type): Likewise.
28315 (__expr_is_real): Likewise.
28316 (__tgmath_real_type_sub): Update comment to describe handling of
28318 (__tgmath_complex_type_sub): New macro.
28319 (__tgmath_complex_type): Likewise.
28320 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28321 (__TGMATH_CF128): Use __expr_is_real.
28322 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
28324 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28325 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
28326 * math/gen-tgmath-tests.py (Type.create_type): Create complex
28329 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28331 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
28333 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
28335 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
28338 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
28339 nanosleep_not_cancel with __nanosleep_nocancel.
28340 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
28341 (__nanosleep_nocancel): New macro.
28342 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
28344 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
28346 (__nanosleep_nocancel): New prototype.
28348 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
28349 pause_not_cancel with __pause_nocancel.
28350 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
28351 (__pause_nocancel): New macro.
28352 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
28354 (__pause_nocancel): New prototype.
28355 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
28357 2017-08-22 Martin Sebor <msebor@redhat.com>
28359 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
28360 to return a pointer to the same type as the target function.
28362 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28366 * include/printf.h (__printf_fphex): Add attribute_hidden.
28367 (__guess_grouping): New prototype.
28368 * stdio-common/printf_fp.c (__guess_grouping): Removed.
28369 * stdio-common/reg-printf.c (__register_printf_specifier): Add
28370 libc_hidden_proto and libc_hidden_def.
28371 * stdlib/strfmon_l.c (__guess_grouping): Removed.
28372 (__vstrfmon_l): Remove the third argument passed to
28375 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28377 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
28378 definition for issignaling that does not rely on __MATH_TG,
28379 since __MATH_TG uses __builtin_types_compatible_p, which is only
28380 available in C mode.
28381 (CFLAGS-test-math-issignaling.cc): New variable.
28382 * math/Makefile [CXX] (tests): Add test-math-issignaling.
28383 * math/test-math-issignaling.cc: New test for C++ implementation
28384 of type-generic issignaling.
28385 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28386 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
28387 options of test-math-issignaling on powerpc64le.
28389 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28391 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28393 (hidden_proto): Likewise.
28394 (hidden_tls_proto): Likewise.
28395 (__hidden_proto): Likewise.
28397 2017-08-22 Florian Weimer <fweimer@redhat.com>
28399 math: Statically link tests of internal functionality.
28400 * math/Makefile (tests): Remove atest-exp, atest-sincos,
28402 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
28403 (gmp-objs): Remove assignment.
28404 (atest-exp, atest-sincos, atest-exp2): Remove targets.
28406 2017-08-22 Joseph Myers <joseph@codesourcery.com>
28409 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
28411 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
28413 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
28416 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
28417 variable definitions above inclusion of ../Rules.
28419 2017-08-21 Joseph Myers <joseph@codesourcery.com>
28421 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
28422 case calling __builtin_unreachable.
28424 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28426 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
28427 __waitpid_nocancel.
28428 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
28429 (__waitpid_nocancel): New macro.
28430 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
28432 (__waitpid_nocancel): Replace macro with a function.
28433 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
28436 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
28438 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
28439 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
28441 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
28442 __writev_nocancel_nostatus.
28443 (write_call_graph): Likewise.
28444 (write_bb_counts): Likewise.
28445 * resolv/herror.c (herror): Likewise.
28446 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
28448 (__writev_nocancel_nostatus): New macro.
28449 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
28451 (__writev_nocancel_nostatus): New function.
28453 2017-08-21 Joseph Myers <joseph@codesourcery.com>
28456 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28458 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28460 (hidden_proto): Likewise.
28461 (hidden_tls_proto): Likewise.
28462 (__hidden_proto): Likewise.
28465 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
28466 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
28475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
28476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28477 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28478 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28479 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28480 GLIBC_2.0 sqrtl symbol.
28482 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
28483 [__USE_MISC] (_LIB_VERSION): Likewise.
28484 [__USE_MISC] (struct exception): Likewise.
28485 [__USE_MISC] (matherr): Likewise.
28486 [__USE_MISC] (DOMAIN): Likewise.
28487 [__USE_MISC] (SING): Likewise.
28488 [__USE_MISC] (OVERFLOW): Likewise.
28489 [__USE_MISC] (UNDERFLOW): Likewise.
28490 [__USE_MISC] (TLOSS): Likewise.
28491 [__USE_MISC] (PLOSS): Likewise.
28492 [__USE_MISC] (HUGE): Likewise.
28493 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
28494 * math/math-svid-compat.h: New file.
28495 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
28497 * include/math.h [!_ISOMAC] (__matherr): Remove.
28498 * manual/arith.texi (FP Exceptions): Do not document matherr.
28499 * math/Makefile (tests): Change test-matherr to test-matherr-3.
28500 (tests-internal): New variable.
28501 (install-lib): Do not add libieee.a.
28502 (non-lib.a): Likewise.
28503 (extra-objs): Do not add libieee.a and ieee-math.o.
28504 (CPPFLAGS-s_lib_version.c): Remove variable.
28505 ($(objpfx)libieee.a): Remove rule.
28506 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
28507 * math/ieee-math.c: Remove.
28508 * math/libm-test-support.c (matherr): Remove.
28509 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
28510 and license notices. Include <math-svid-compat.h> and
28512 (matherr): Undefine as macro. Use compat_symbol_reference.
28513 (_LIB_VERSION): Likewise.
28514 * math/test-matherr-2.c: New file.
28515 * math/test-matherr-3.c: Likewise.
28516 * sysdeps/generic/math_private.h (__kernel_standard): Remove
28518 (__kernel_standard_f): Likewise.
28519 (__kernel_standard_l): Likewise.
28520 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
28521 <math_private.h>. Include <math-svid-compat.h>.
28522 (_LIB_VERSION): Undefine as macro.
28523 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
28524 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
28525 [LIBM_SVID_COMPAT], use compat_symbol.
28526 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
28527 <math_private.h>. Include <math-svid-compat.h>.
28528 (matherr): Undefine as macro.
28529 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
28531 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
28532 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
28533 compat_symbol_reference.
28534 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
28535 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
28536 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
28537 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
28538 (MATHERR_D): Remove declaration.
28539 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
28540 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
28541 [LIBM_BUILD] (pmatherrf): Likewise.
28542 [LIBM_BUILD] (pmatherr): Likewise.
28543 [LIBM_BUILD] (pmatherrl): Likewise.
28544 (DOMAIN): Likewise.
28546 (OVERFLOW): Likewise.
28547 (UNDERFLOW): Likewise.
28550 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
28551 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
28553 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
28554 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
28556 * math/lgamma-compat.h: Include <math-svid-compat.h>.
28557 * math/w_acos_compat.c: Likewise.
28558 * math/w_acosf_compat.c: Likewise.
28559 * math/w_acosh_compat.c: Likewise.
28560 * math/w_acoshf_compat.c: Likewise.
28561 * math/w_acoshl_compat.c: Likewise.
28562 * math/w_acosl_compat.c: Likewise.
28563 * math/w_asin_compat.c: Likewise.
28564 * math/w_asinf_compat.c: Likewise.
28565 * math/w_asinl_compat.c: Likewise.
28566 * math/w_atan2_compat.c: Likewise.
28567 * math/w_atan2f_compat.c: Likewise.
28568 * math/w_atan2l_compat.c: Likewise.
28569 * math/w_atanh_compat.c: Likewise.
28570 * math/w_atanhf_compat.c: Likewise.
28571 * math/w_atanhl_compat.c: Likewise.
28572 * math/w_cosh_compat.c: Likewise.
28573 * math/w_coshf_compat.c: Likewise.
28574 * math/w_coshl_compat.c: Likewise.
28575 * math/w_exp10_compat.c: Likewise.
28576 * math/w_exp10f_compat.c: Likewise.
28577 * math/w_exp10l_compat.c: Likewise.
28578 * math/w_exp2_compat.c: Likewise.
28579 * math/w_exp2f_compat.c: Likewise.
28580 * math/w_exp2l_compat.c: Likewise.
28581 * math/w_fmod_compat.c: Likewise.
28582 * math/w_fmodf_compat.c: Likewise.
28583 * math/w_fmodl_compat.c: Likewise.
28584 * math/w_hypot_compat.c: Likewise.
28585 * math/w_hypotf_compat.c: Likewise.
28586 * math/w_hypotl_compat.c: Likewise.
28587 * math/w_j0_compat.c: Likewise.
28588 * math/w_j0f_compat.c: Likewise.
28589 * math/w_j0l_compat.c: Likewise.
28590 * math/w_j1_compat.c: Likewise.
28591 * math/w_j1f_compat.c: Likewise.
28592 * math/w_j1l_compat.c: Likewise.
28593 * math/w_jn_compat.c: Likewise.
28594 * math/w_jnf_compat.c: Likewise.
28595 * math/w_jnl_compat.c: Likewise.
28596 * math/w_lgamma_main.c: Likewise.
28597 * math/w_lgamma_r_compat.c: Likewise.
28598 * math/w_lgammaf_main.c: Likewise.
28599 * math/w_lgammaf_r_compat.c: Likewise.
28600 * math/w_lgammal_main.c: Likewise.
28601 * math/w_lgammal_r_compat.c: Likewise.
28602 * math/w_log10_compat.c: Likewise.
28603 * math/w_log10f_compat.c: Likewise.
28604 * math/w_log10l_compat.c: Likewise.
28605 * math/w_log2_compat.c: Likewise.
28606 * math/w_log2f_compat.c: Likewise.
28607 * math/w_log2l_compat.c: Likewise.
28608 * math/w_log_compat.c: Likewise.
28609 * math/w_logf_compat.c: Likewise.
28610 * math/w_logl_compat.c: Likewise.
28611 * math/w_pow_compat.c: Likewise.
28612 * math/w_powf_compat.c: Likewise.
28613 * math/w_powl_compat.c: Likewise.
28614 * math/w_remainder_compat.c: Likewise.
28615 * math/w_remainderf_compat.c: Likewise.
28616 * math/w_remainderl_compat.c: Likewise.
28617 * math/w_scalb_compat.c: Likewise.
28618 * math/w_scalbf_compat.c: Likewise.
28619 * math/w_scalbl_compat.c: Likewise.
28620 * math/w_sinh_compat.c: Likewise.
28621 * math/w_sinhf_compat.c: Likewise.
28622 * math/w_sinhl_compat.c: Likewise.
28623 * math/w_sqrt_compat.c: Likewise.
28624 * math/w_sqrtf_compat.c: Likewise.
28625 * math/w_sqrtl_compat.c: Likewise.
28626 * math/w_tgamma_compat.c: Likewise.
28627 * math/w_tgammaf_compat.c: Likewise.
28628 * math/w_tgammal_compat.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
28630 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28631 * sysdeps/ieee754/k_standard.c: Likewise.
28632 * sysdeps/ieee754/k_standardf.c: Likewise.
28633 * sysdeps/ieee754/k_standardl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28636 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28637 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28638 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28639 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28640 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28641 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
28642 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
28648 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28649 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28650 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28652 2017-08-21 Florian Weimer <fweimer@redhat.com>
28655 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
28656 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
28657 Move before inclusion of ../Rules.
28659 2017-08-21 Florian Weimer <fweimer@redhat.com>
28662 * assert/assert.h (assert): Use static_cast (bool) for C++.
28663 Use the ternary operator in the warning branch for GNU C.
28664 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
28665 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
28666 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
28667 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
28668 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
28670 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28673 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28674 (__syscall_clock_gettime): Add attribute_hidden.
28675 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
28676 (__start_context): Likewise.
28678 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28680 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28682 (hidden_proto): Likewise.
28683 (hidden_tls_proto): Likewise.
28684 (__hidden_proto): Likewise.
28686 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28688 * include/libc-symbols.h (attribute_hidden): Enable hidden
28689 visibility in libc.a compiled with PIE.
28691 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28694 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
28695 Add attribute_hidden.
28697 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28700 * Makerules (all-nonlib): Add $(others-extras).
28701 * catgets/Makefile (others-extras): New.
28702 * elf/Makefile (others-extras): Likewise.
28703 * nss/Makefile (others-extras): Likewise.
28705 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28708 * csu/libc-start.c (__libc_multiple_libcs): Removed.
28709 * elf/dl-open.c: Include <libc-internal.h>.
28710 (__libc_multiple_libcs): Removed.
28711 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
28713 * include/libc-internal.h (__libc_multiple_libcs): New.
28714 * misc/sbrk.c: Include <libc-internal.h>.
28715 (__libc_multiple_libcs): Removed.
28717 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28720 * grp/initgroups.c (__nss_group_database): Removed.
28721 (__nss_initgroups_database): Likewise.
28722 * nscd/gai.c (__nss_hosts_database): Likewise.
28723 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
28724 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
28725 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
28726 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
28727 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
28728 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
28730 * nss/nsswitch.c (__nss_database_custom): Define only if
28731 USE_NSCD is defined.
28732 (__nss_configure_lookup): Use __nss_database_custom only if
28733 USE_NSCD is defined.
28734 * nss/nsswitch.h (__nss_database_custom): Declare only if
28735 USE_NSCD is defined. Add attribute_hidden.
28736 (__nss_setent): Add attribute_hidden.
28737 (__nss_endent): Likewise.
28738 (__nss_getent_r): Likewise.
28739 (__nss_getent): Likewise.
28740 (DEFINE_DATABASE): Declare __nss_##arg##_database.
28742 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28745 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
28746 libc_hidden_proto and libc_hidden_def.
28748 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28751 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
28752 Add libc_hidden_proto.
28753 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
28754 Add libc_hidden_def.
28756 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28759 * gmon/Makefile (routines): Remove bb_init_func and
28761 (elide-routines.os): Removed.
28762 * gmon/bb_exit_func.c: Likewise.
28763 * gmon/bb_init_func.c: Likewise.
28764 * include/sys/gmon.h (__bb): Likewise.
28765 (__bb_init_func): Likewise.
28766 (__bb_exit_func): Likewise.
28767 * sysdeps/alpha/bb_init_func.S: Likewise.
28769 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28771 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
28772 * include/setjmp.h (____longjmp_chk): Here. Add
28775 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
28778 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
28780 (__strspn_sse2): Likewise.
28782 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28784 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
28785 (close_not_cancel_no_status): Likewise.
28786 (__close_nocancel): New macro.
28787 (__close_nocancel_nostatus): Likewise.
28788 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
28790 (close_not_cancel): Likewise.
28791 (close_not_cancel_no_status): Likewise.
28792 (__close_nocancel): New prototype.
28793 (__close_nocancel_nostatus): New function.
28794 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
28795 * catgets/open_catalog.c (__open_catalog): Replace
28796 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
28797 * gmon/gmon.c (write_gmon): Likewise.
28798 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
28799 * intl/loadmsgcat.c (close): Likewise.
28800 * io/ftw.c (open_dir_stream): Likewise.
28801 (ftw_startup): Likewise.
28802 * libio/fileops.c (_IO_file_open): Likewise.
28803 (_IO_file_close_mmap): Likewise.
28804 (_IO_file_close): Likewise.
28805 * libio/iopopen.c (_IO_dup2): Likewise.
28806 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28807 * locale/loadlocale.c (_nl_load_locale): Likewise.
28808 * login/utmp_file.c (pututline_file): Likewise.
28809 (endutent_file): Likewise.
28810 * misc/daemon.c (daemon): Likewise.
28811 * nscd/nscd_getai.c (__nscd_getai): Likewise.
28812 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28813 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28814 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28815 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28816 * nscd/nscd_helper.c (open_socket): Likewise.
28817 (__nscd_open_socket): Likewise.
28818 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
28819 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
28820 (__nscd_innetgr): Likewise.
28821 * nss/nss_db/db-open.c (internal_setent): Likewise.
28822 * resolv/res-close.c (__res_iclose): Likewise.
28823 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
28824 * sysdeps/posix/closedir.c (__closedir): Likewise.
28825 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
28826 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28827 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
28828 (opendir_tail): Likewise.
28829 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28830 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
28831 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
28832 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28833 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28834 (gethostid): Likewise.
28835 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28836 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28839 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
28840 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28841 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28843 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
28844 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
28845 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28847 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
28848 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28850 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28852 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
28853 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28854 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28857 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
28858 (openat_not_cancel_3): Likewise.
28859 (openat64_not_cancel_3): Likewise).
28860 (openat_not_cancel_3): Likewise).
28861 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
28863 (openat_not_cancel_3): Likewise.
28864 (openat64_not_cancel): Likewise.
28865 (openat64_not_cancel_3): Likewise.
28866 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
28867 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
28868 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
28869 __open{64}_nocancel.
28870 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28871 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28872 * sysdeps/posix/opendir.c (__opendirat): Likewise.
28874 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28877 * include/argz.h (__argz_create_sep): New function prototype.
28878 (__argz_append): Likewise.
28879 (__argz_add): Likewise.
28880 (__argz_add_sep): Likewise.
28881 (__argz_delete): Likewise.
28882 (__argz_insert): Likewise.
28883 (__argz_replace): Likewise.
28884 * string/argz.h (__argz_create_sep): Removed.
28885 (__argz_append): Likewise.
28886 (__argz_add): Likewise.
28887 (__argz_add_sep): Likewise.
28888 (__argz_delete): Likewise.
28889 (__argz_insert): Likewise.
28890 (__argz_replace): Likewise.
28892 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28894 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
28895 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
28896 (GNU_PROPERTY_STACK_SIZE): Likewie.
28897 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
28898 (GNU_PROPERTY_LOPROC): Likewise.
28899 (GNU_PROPERTY_HIPROC): Likewise.
28900 (GNU_PROPERTY_LOUSER): Likewise.
28901 (GNU_PROPERTY_HIUSER): Likewise.
28902 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
28903 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
28904 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
28905 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
28906 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
28907 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
28908 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
28909 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
28910 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
28911 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
28912 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
28913 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
28914 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
28915 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
28916 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
28917 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
28918 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
28919 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
28920 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
28921 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
28922 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
28923 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
28924 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
28926 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28928 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
28931 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28934 * math/math.h (isinf): Check if in C or C++ mode before using
28935 __builtin_types_compatible_p, since this is a C mode feature.
28937 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28939 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
28940 (__write_nocancel): New macro.
28941 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
28942 Rewrite as a function prototype.
28943 (write_not_cancel): Remove macro.
28944 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
28945 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
28946 (write_gmon): Likewise.
28947 * libio/fileops.c (_IO_new_file_write): Likewise.
28948 * login/utmp_file.c (pututline_file): Likewise.
28949 (updwtmp_file): Likewise.
28950 * stdio-common/psiginfo.c (psiginfo): Likewise.
28951 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28952 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28953 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28955 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28958 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
28959 (__read_nocancel): New macro.
28960 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28962 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
28964 (__read_nocancel): New prototype.
28965 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
28966 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
28967 with __read_nocancel.
28968 * intl/loadmsgcat.c (read): Likewise.
28969 * libio/fileops.c (_IO_file_read): Likewise.
28970 * locale/loadlocale.c (_nl_load_locale): Likewise.
28971 * login/utmp_file.c (getutent_r_file): Likewise.
28972 (internal_getut_r): Likewise.
28973 (getutline_r_file): Likewise.
28974 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28975 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28976 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28977 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28979 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
28980 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28981 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28983 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28985 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28987 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28989 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28991 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28994 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
28995 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
28998 2017-08-17 DJ Delorie <dj@redhat.com>
29000 * bug17079.c: Update to new test harness.
29001 * test-digits-dots.c: Likewise.
29002 * test-netdb.c: Likewise.
29003 * tst-field.c: Likewise.
29004 * tst-nss-getpwent.c: Likewise.
29005 * tst-nss-static.c: Likewise.
29006 * tst-nss-test1.c: Likewise.
29007 * tst-nss-test2.c: Likewise.
29008 * tst-nss-test3.c: Likewise.
29009 * tst-nss-test4.c: Likewise.
29010 * tst-nss-test5.c: Likewise.
29012 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29014 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29015 (open_not_cancel_2): Likewise.
29016 (open_nocancel): New macro.
29017 (open64_nocancel): Likewise.
29018 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29019 (open_not_cancel_2): Likewise.
29020 (__open_nocancel): New prototype.
29021 (__open64_nocancel): Likewise.
29022 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29024 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29025 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29026 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29027 with __open_nocancel.
29028 * csu/check_fds.c (check_one_fd): Likewise.
29029 * gmon/gmon.c (write_gmon): Likewise.
29030 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29031 * intl/loadmsgcat.c (open): Likewise.
29032 * libio/fileops.c (_IO_file_open): Likewise.
29033 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29034 * locale/loadlocale.c (_nl_load_locale): Likewise.
29035 * login/utmp_file.c (setutent_file): Likewise.
29036 * misc/daemon.c (daemon): Likewise.
29037 * nss/nss_db/db-open.c (internal_setent): Likewise.
29038 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29039 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29040 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29041 (__opendir): Likewise.
29042 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29043 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29044 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29045 (gethostid): Likewise.
29046 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29047 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29050 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29051 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29052 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29054 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29056 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29058 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29060 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29062 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29064 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29065 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29067 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
29069 * benchtests/bench-skeleton.c (main): Add support for
29070 latency benchmarking.
29071 * benchtests/scripts/bench.py: Add support for latency benchmarking.
29073 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
29075 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
29076 the startup object.
29078 2017-08-17 Florian Weimer <fweimer@redhat.com>
29080 * include/sys/socket.h (__opensock): Remove internal_function.
29081 * socket/opensock.c (__opensock): Likewise.
29082 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
29084 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29087 * signal/bits/types/__sigval_t.h: New file.
29088 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
29089 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
29090 and define sigval_t using __sigval_t.
29091 * include/bits/types/__sigval_t.h: New file.
29092 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
29093 instead of <bits/types/__sigval_t.h>.
29094 (struct sigevent): Use __sigval_t instead of sigval_t.
29095 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
29096 instead of <bits/types/__sigval_t.h>.
29097 (siginfo_t): Use __sigval_t instead of sigval_t.
29098 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
29099 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29100 (struct sigevent): Use __sigval_t instead of sigval_t.
29101 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
29102 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29103 (siginfo_t): Use __sigval_t instead of sigval_t.
29104 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
29106 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29108 * NEWS: Remove "[Add new features here]" for 2.27.
29110 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29112 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
29115 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29117 * NEWS: Mention x86-64 FMA optimization.
29119 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29122 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29124 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
29125 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
29126 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
29128 2017-08-16 Andreas Schwab <schwab@suse.de>
29132 * elf/ldd.bash.in: Never run file directly.
29134 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
29137 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
29138 (L(SP_INF_0)): Likewise.
29140 2017-08-15 Florian Weimer <fweimer@redhat.com>
29142 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
29145 2017-08-15 Florian Weimer <fweimer@redhat.com>
29147 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
29148 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
29149 BROKEN_THREAD_SIGNALS code.
29150 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
29151 request_list): Remove caller_pid member used for
29152 BROKEN_THREAD_SIGNALS.
29153 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
29154 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29155 Remove BROKEN_THREAD_SIGNALS support.
29156 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
29157 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
29159 2017-08-15 Florian Weimer <fweimer@redhat.com>
29161 * gmon/Makefile (tests): Add tst-gmon.
29162 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
29164 (tests-special): Add tst-gmon-prof.out.
29165 (tst-gmon.out): Depend on clean-tst-gmon-data.
29166 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
29167 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
29168 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
29170 * aclocal.m4 (GPROF): Set and substitute.
29171 * config.amke.in (GPROF): Set.
29172 * configure: Regenerate.
29174 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
29176 * elf/elf.h A (NT_PPC_TAR): New macro.
29177 (NT_PPC_PPR): Likewise.
29178 (NT_PPC_DSCR): Likewise.
29179 (NT_PPC_EBB): Likewise.
29180 (NT_PPC_PMU): Likewise.
29181 (NT_PPC_TM_CGPR): Likewise.
29182 (NT_PPC_TM_CFPR): Likewise.
29183 (NT_PPC_TM_CVMX): Likewise.
29184 (NT_PPC_TM_CVSX): Likewise.
29185 (NT_PPC_TM_SPR): Likewise.
29186 (NT_PPC_TM_CTAR): Likewise.
29187 (NT_PPC_TM_CPPR): Likewise.
29188 (NT_PPC_TM_CDSCR): Likewise.
29190 2017-08-15 Florian Weimer <fweimer@redhat.com>
29192 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
29193 regparm (2) instead of internal_function.
29194 (_MCOUNT_DECL): Adjust.
29196 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
29198 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
29199 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29201 2017-08-14 Joseph Myers <joseph@codesourcery.com>
29203 * conform/data/sys/wait.h-data (si_value): Do not expect for
29206 2017-08-14 Florian Weimer <fweimer@redhat.com>
29209 NSS: Create stubs for accidentally exported lookup functions.
29210 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
29211 Remove declaration.
29212 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
29213 (ether_hostton): Call __nss_ethers_lookup2 instead.
29214 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
29215 (ether_ntohost): Call __nss_ethers_lookup2 instead.
29216 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
29217 (setup): Call __nss_netgroup_lookup2 instead.
29218 * nss/Makefile (routines): Add compat-lookup.
29219 * nss/Versions (GLIBC_2.27): Add symbol version.
29220 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
29221 (DB_COMPAT_FCT): Remove.
29222 * nss/compat-lookup.c: New file.
29223 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
29224 from databases.def.
29225 * nss/service-lookup.c (NO_COMPAT): Remove definition.
29226 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
29227 (netname2user): Call __nss_publickey_lookup2 instead.
29228 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
29229 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
29232 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29233 Sergei Trofimovich <slyfox@inbox.ru>
29236 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
29237 Rename to MMAP2_PAGE_UNIT.
29238 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
29239 __OFF_T_MATCHES_OFF64_T is not defined.
29240 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
29242 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
29243 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
29245 2017-08-14 Florian Weimer <fweimer@redhat.com>
29247 i386: Do not set internal_function.
29248 * config.h.in (USE_REGPARMS, internal_function): Remove.
29249 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
29250 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
29252 2017-08-14 Florian Weimer <fweimer@redhat.com>
29254 * elf/dl-init.c (_dl_init): Remove internal_function.
29255 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
29256 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
29258 2017-08-14 Florian Weimer <fweimer@redhat.com>
29260 * elf/rtld.c (_dl_start): Remove internal_function.
29261 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
29264 2017-08-14 Florian Weimer <fweimer@redhat.com>
29266 * elf/dl-fini.c (_dl_fini): Remove internal_function
29267 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29269 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
29271 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
29272 (bit_cpu_SHSTK): Likewise.
29273 (index_cpu_IBT): Likewise.
29274 (index_cpu_SHSTK): Likewise.
29275 (reg_IBT): Likewise.
29276 (reg_SHSTK): Likewise.
29277 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29278 Handle index_cpu_IBT and index_cpu_SHSTK.
29280 2017-08-14 Mike FABIAN <mfabian@redhat.com>
29283 * po/fr.po: Fix spelling mistake.
29285 2017-08-13 Florian Weimer <fweimer@redhat.com>
29287 * elf/dl-addr.c (_dl_addr): Remove internal_function.
29288 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
29289 (_dl_catch_error, _dl_receive_error): Likewise.
29290 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
29291 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
29292 (_dl_deallocate_tls): Likewise.
29293 * include/dlfcn.h (_dl_addr): Likewise.
29294 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
29295 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
29296 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
29299 2017-08-13 Florian Weimer <fweimer@redhat.com>
29301 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
29302 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
29304 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
29306 2017-08-13 Florian Weimer <fweimer@redhat.com>
29308 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
29310 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
29311 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
29312 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
29313 internal_function from _dl_make_stack_executable_hook member.
29314 (_dl_make_stack_executable): Remove internal_function.
29315 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
29317 * sysdeps/unix/sysv/linux/dl-execstack.c
29318 (_dl_make_stack_executable): Likewise.
29320 2017-08-13 Florian Weimer <fweimer@redhat.com>
29322 * sysdeps/unix/sysv/linux/netlinkaccess.h
29323 (__netlink_assert_response): Remove internal_function.
29324 * sysdeps/unix/sysv/linux/netlink_assert_response.c
29325 (__netlink_assert_response): Likewise.
29327 2017-08-13 Florian Weimer <fweimer@redhat.com>
29329 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
29331 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
29333 2017-08-13 Florian Weimer <fweimer@redhat.com>
29335 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
29337 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
29338 * inet/netgroup.h (__internal_setnetgrent)
29339 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29340 * inet/getnetgrent_r.c (__internal_setnetgrent)
29341 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29342 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
29343 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
29344 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
29345 * nss/nsswitch.h (db_lookup_function): Likewise.
29347 2017-08-13 Florian Weimer <fweimer@redhat.com>
29349 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
29350 Remove internal_function.
29351 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
29352 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
29353 message argument on the stack.
29354 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
29357 2017-08-12 Mike FABIAN <mfabian@redhat.com>
29359 Adapt test case data to the changes in the thousands
29363 * localedata/tst-langinfo.sh: Adapt test case data.
29364 * stdlib/tst-strfmon_l.c: Likewise.
29365 * stdlib/tst-strtod4.c: Likewise.
29366 * stdlib/tst-strtod5i.c: Likewise.
29368 2017-08-11 Florian Weimer <fweimer@redhat.com>
29371 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
29372 Suppress pedantic warning resulting from statement expression.
29373 (__ASSERT_FUNCTION): Add missing __extension__.
29375 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29377 * benchtests/bench-memmove-large.c: Print output in JSON
29379 * benchtests/bench-memmove.c: Likewise.
29381 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
29382 * benchtests/bench-memchr.c (do_one_test): Likewise.
29383 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
29384 * benchtests/bench-memcpy.c (do_one_test): Likewise.
29385 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
29386 * benchtests/bench-memmove.c (do_one_test): Likewise.
29387 * benchtests/bench-memset-large.c (do_one_test): Likewise.
29388 * benchtests/bench-memset.c (do_one_test): Likewise.
29389 * benchtests/bench-string.h (test_init): Remove memsets.
29391 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29394 (Computing the Width of an Integer Data Type): Rename section to
29395 "Width of an Integer Type". Remove inaccurate statement regarding
29396 lack of C language facilities for determining width of integer
29397 types, and reorder content to improve flow and context of
29400 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
29402 * lang.texi (va_copy): Change standard from ISO to C99.
29403 (__va_copy): Add standard and header annotation.
29404 Update description for clarity of origins and current use.
29406 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29409 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
29410 xssqrtqp requires operands to be in Vector Registers
29411 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
29412 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
29413 (__ieee754_sqrtf128): Likewise.
29415 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
29417 * sysdeps/aarch64/memcmp.S (memcmp):
29418 Rewrite of optimized memcmp.
29420 2017-08-10 Florian Weimer <fweimer@redhat.com>
29422 Introduce ld.so exceptions.
29423 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
29424 (_dl_exception_create, _dl_exception_create_format)
29425 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
29426 (_dl_catch_exception): Declare.
29427 (_dl_catch_error): Update comment.
29428 * elf/dl-error-skeleton.c (struct catch): Replace objname,
29429 errstring, malloced members with exception member.
29430 (_dl_out_of_memory): Remove.
29431 (fatal_error): New function, extracted from _dl_signal_error.
29432 (_dl_signal_exception, _dl_signal_cexception): New functions.
29433 (_dl_signal_error): Call _dl_exception_create to allocate an
29435 (_dl_catch_exception): New function, based on _dl_catch_error.
29436 (_dl_catch_error): Implement using _dl_catch_exception.
29437 * elf/dl-exception.c: New file.
29438 * elf/Makefile (dl-routines): Add dl-exception.
29439 (elide-routines.os): Likewise.
29440 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
29441 _dl_exception_create_format, _dl_exception_free.
29442 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
29443 _dl_signal_exception.
29444 * elf/dl-lookup.c (make_string): Remove.
29445 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
29446 _dl_signal_cexception, _dl_exception_free.
29447 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
29448 _dl_signal_exception.
29449 * elf/dl-sym.c (do_sym): Likewise.
29450 * elf/dl-version.c (make_string): Remove.
29451 (match_symbol): Use _dl_exception_create_format,
29452 _dl_signal_cexception, _dl_exception_free.
29453 (_dl_check_map_versions): Likewise.
29454 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
29455 _dl_catch_exception.
29456 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
29457 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
29458 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
29459 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
29460 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
29461 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
29462 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
29463 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
29465 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
29466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
29468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
29470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
29472 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
29473 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
29474 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
29476 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
29478 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
29480 2017-08-10 Florian Weimer <fweimer@redhat.com>
29482 * inet/net-internal.h (__inet6_scopeid_pton): Remove
29483 attribute_hidden, internal_function.
29484 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
29487 2017-08-10 Florian Weimer <fweimer@redhat.com>
29489 * malloc/malloc.c (get_max_fast): Reimplement as an inline
29490 function which calls __builtin_unreachable.
29492 2017-08-10 Mike FABIAN <mfabian@redhat.com>
29494 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
29495 Indian monetary formatting
29496 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
29499 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
29501 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
29502 Fix typo in comment.
29505 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
29506 PTRACE_SEIZE_DEVEL): Remove.
29507 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
29508 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29513 2017-08-09 Joseph Myers <joseph@codesourcery.com>
29515 * posix/bits/types.h (__qaddr_t): Remove.
29518 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
29519 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29521 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
29522 (ucontext_t): Use __ctx with uc_flags.
29523 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
29524 (__ctxt): Likewise.
29525 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29527 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
29528 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29530 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
29531 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29533 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
29535 (ucontext_t): Use __ctx with uc_flags.
29536 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
29537 (ucontext_t): Use __ctx with uc_flags.
29538 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
29539 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
29540 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
29541 (ucontext_t): Use __ctx with uc_flags.
29542 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
29543 undefine further down.
29544 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29546 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
29547 undefine further down.
29548 (ucontext_t): Use __ctx with uc_flags.
29549 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
29550 undefine further down.
29551 (ucontext_t): Use __ctx with uc_flags.
29552 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
29553 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
29554 Rename uc_pad to __glibc_reserved1.
29555 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
29556 undefine further down.
29557 (ucontext_t): Use __ctx with uc_flags.
29558 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
29560 (ucontext_t): Use __ctx with uc_flags.
29561 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
29562 __ctx with uc_flags.
29563 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
29564 (ucontext_t): Use __ctx with uc_flags.
29565 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
29566 __ctx with uc_flags.
29568 2017-08-09 Florian Weimer <fweimer@redhat.com>
29571 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
29572 before early return.
29574 2017-08-09 Andreas Schwab <schwab@suse.de>
29577 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
29581 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
29582 tst-compat-forwarder.
29583 (modules-names): Add tst-compat-forwarder-mod.
29584 ($(objpfx)tst-compat-forwarder): Depend on
29585 $(objpfx)tst-compat-forwarder-mod.so.
29586 * nptl/tst-compat-forwarder.c: New file.
29587 * nptl/tst-compat-forwarder-mod.c: New file.
29589 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
29591 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
29594 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
29595 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29597 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
29599 (__libc_ifunc_impl_list): Add __memcpy_falkor.
29600 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
29601 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
29602 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29604 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
29607 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29610 * manual/setjmp.texi (getcontex): Document uc_stack value
29611 compatibility differences.
29613 2017-08-08 Joseph Myers <joseph@codesourcery.com>
29615 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
29616 (old_malloc_hook): Likewise.
29617 (old_memalign_hook): Likewise.
29618 (old_realloc_hook): Likewise.
29619 (struct hdr): Likewise.
29621 (freehook): Likewise.
29622 (mallochook): Likewise.
29623 (memalignhook): Likewise.
29624 (reallochook): Likewise.
29625 (mprobe): Likewise.
29626 * malloc/mtrace.c (mallwatch): Likewise.
29627 (tr_old_free_hook): Likewise.
29628 (tr_old_malloc_hook): Likewise.
29629 (tr_old_realloc_hook): Likewise.
29630 (tr_old_memalign_hook): Likewise.
29631 (tr_where): Likewise.
29632 (lock_and_info): Likewise.
29633 (tr_freehook): Likewise.
29634 (tr_mallochook): Likewise.
29635 (tr_reallochook): Likewise.
29636 (tr_memalignhook): Likewise.
29637 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
29638 * misc/mmap.c (__mmap): Likewise.
29639 * misc/mmap64.c (__mmap64): Likewise.
29640 * misc/mprotect.c (__mprotect): Likewise.
29641 * misc/msync.c (msync): Likewise.
29642 * misc/munmap.c (__munmap): Likewise.
29643 * posix/posix_madvise.c (posix_madvise): Likewise.
29644 * socket/send.c (__send): Likewise.
29645 * socket/sendto.c (__sendto): Likewise.
29646 * socket/setsockopt.c (__setsockopt): Likewise.
29647 * string/memcmp.c (__ptr_t): Remove macro.
29648 (MEMCMP): Use void * instead of ptr_t.
29649 * string/memrchr.c (__ptr_t): Remove macro.
29650 (__memrchr): Use void * instead of ptr_t.
29651 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
29652 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29653 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29654 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
29655 * sysdeps/mach/msync.c (msync): Likewise.
29656 * sysdeps/mach/munmap.c (__munmap): Likewise.
29657 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
29659 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29660 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
29661 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
29662 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
29663 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
29664 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29665 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
29666 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
29668 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29669 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
29670 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
29671 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
29672 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
29673 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
29674 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
29675 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
29676 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
29678 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
29679 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
29680 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
29681 (MEMCMP): Use void * instead of ptr_t.
29682 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
29683 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
29685 2017-08-08 Florian Weimer <fweimer@redhat.com>
29687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
29690 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
29693 * csu/libc-tls.c: Include <startup.h> first.
29694 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
29695 * elf/dl-tunables.c: Include <startup.h> first.
29696 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
29697 * sysdeps/generic/startup.h: New file.
29698 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
29699 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
29700 (I386_USE_SYSENTER): New. Defined to 0.
29702 2017-08-08 Andreas Schwab <schwab@suse.de>
29705 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
29706 * nptl/pt-system.c (system): Likewise.
29708 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29711 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
29713 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
29714 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
29715 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
29716 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
29717 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
29718 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
29719 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
29721 2017-08-07 Joseph Myers <joseph@codesourcery.com>
29724 * bits/sigaction.h (struct sigaction): Define sa_handler and
29725 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
29726 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29727 [__USE_XOPEN_EXTENDED].
29728 (SA_RESTART): Likewise.
29729 (SA_NODEFER): Likewise.
29730 (SA_RESETHAND): Likewise.
29731 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
29732 (struct sigaction): Define sa_handler and sa_sigaction using union
29733 also for [__USE_XOPEN_EXTENDED].
29734 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29735 [__USE_XOPEN_EXTENDED].
29736 (SA_RESTART): Likewise.
29737 (SA_NODEFER): Likewise.
29738 (SA_RESETHAND): Likewise.
29739 * sysdeps/unix/sysv/linux/bits/sigaction.h
29740 (struct sigaction): Define sa_handler and sa_sigaction using union
29741 also for [__USE_XOPEN_EXTENDED].
29742 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29743 [__USE_XOPEN_EXTENDED].
29744 (SA_RESTART): Likewise.
29745 (SA_NODEFER): Likewise.
29746 (SA_RESETHAND): Likewise.
29747 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
29748 (struct sigaction): Define sa_handler and sa_sigaction using union
29749 also for [__USE_XOPEN_EXTENDED].
29750 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29751 [__USE_XOPEN_EXTENDED].
29752 (SA_RESTART): Likewise.
29753 (SA_NODEFER): Likewise.
29754 (SA_RESETHAND): Likewise.
29755 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
29756 (struct sigaction): Define sa_handler and sa_sigaction using union
29757 also for [__USE_XOPEN_EXTENDED].
29758 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29759 [__USE_XOPEN_EXTENDED].
29760 (SA_RESTART): Likewise.
29761 (SA_NODEFER): Likewise.
29762 (SA_RESETHAND): Likewise.
29763 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
29764 (struct sigaction): Define sa_handler and sa_sigaction using union
29765 also for [__USE_XOPEN_EXTENDED].
29766 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29767 [__USE_XOPEN_EXTENDED].
29768 (SA_RESTART): Likewise.
29769 (SA_NODEFER): Likewise.
29770 (SA_RESETHAND): Likewise.
29771 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29772 (struct sigaction): Define sa_handler and sa_sigaction using union
29773 also for [__USE_XOPEN_EXTENDED].
29774 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29775 [__USE_XOPEN_EXTENDED].
29776 (SA_RESTART): Likewise.
29777 (SA_NODEFER): Likewise.
29778 (SA_RESETHAND): Likewise.
29779 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29780 (struct sigaction): Define sa_handler and sa_sigaction using union
29781 also for [__USE_XOPEN_EXTENDED].
29782 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29783 [__USE_XOPEN_EXTENDED].
29784 (SA_RESTART): Likewise.
29785 (SA_NODEFER): Likewise. Define directly rather than as alias.
29786 (SA_RESETHAND): Likewise.
29787 (SA_INTERRUPT): Define only for [__USE_MISC].
29788 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
29789 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
29791 (SA_STACK): Define only for [__USE_MISC].
29792 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
29793 (struct sigaction): Define sa_handler and sa_sigaction using union
29794 also for [__USE_XOPEN_EXTENDED].
29795 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29796 [__USE_XOPEN_EXTENDED].
29797 (SA_RESTART): Likewise.
29798 (SA_NODEFER): Likewise.
29799 (SA_RESETHAND): Likewise.
29800 (SA_NOPTRACE): Define only for [__USE_MISC].
29802 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
29803 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
29804 (struct catalog_info): Likewise.
29805 * inet/htontest.c (lo): Likewise.
29807 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29808 * inet/inet_net.c (inet_network): Likewise.
29809 * inet/inet_netof.c (inet_netof): Likewise.
29810 * inet/rcmd.c (__ivaliduser): Likewise.
29811 (iruserok): Likewise.
29812 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
29813 * locale/programs/locale-spec.c (locale_special): Likewise.
29814 * nis/nis_findserv.c (struct findserv_req): Likewise.
29815 (__nis_findfastest_with_timeout): Likewise.
29816 * nss/test-netdb.c (test_network): Likewise.
29817 * resolv/inet_neta.c (inet_neta): Likewise.
29818 * resolv/ns_date.c (ns_datetosecs): Likewise.
29819 (SECS_PER_DAY): Likewise.
29820 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
29822 * resolv/res_comp.c (__putlong): Likewise.
29823 (__putshort): Likewise.
29824 (_getlong): Likewise.
29825 (_getshort): Likewise.
29826 * resolv/res_debug.c (p_time): Likewise.
29827 (precsize_ntoa): Likewise.
29828 (precsize_aton): Likewise.
29829 (latlon2ul): Likewise.
29830 (loc_aton): Likewise.
29831 (loc_ntoa): Likewise.
29832 * resolv/res_hconf.c (struct netaddr): Likewise.
29833 (_res_hconf_reorder_addrs): Likewise.
29834 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
29835 (clnttcp_control): Likewise.
29836 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29837 (clntudp_control): Likewise.
29838 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
29839 (clntunix_control): Likewise.
29840 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
29841 * sunrpc/rpc/auth.h (union des_block): Likewise.
29842 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
29843 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
29844 (xdrrec_create): Likewise.
29845 (xdrrec_endofrecord): Likewise.
29846 (flush_out): Likewise.
29847 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
29848 (xdrstdio_putlong): Likewise.
29849 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
29852 * misc/sys/cdefs.h (__long_double_t): Remove.
29853 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
29854 instead of __long_double_t,
29855 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
29857 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
29859 * benchtests/scripts/compare_strings.py: Avoid display error when
29860 running on a text terminal.
29862 * benchtests/scripts/compare_strings.py (main): Add an
29863 optional -base option.
29864 (process_results): New argument base_func.
29866 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
29868 * benchtests/bench-memcpy-large.c (test_name): Likewise.
29869 * benchtests/bench-memcpy-random.c (test_name): Likewise.
29871 2017-08-07 Andreas Schwab <schwab@suse.de>
29873 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
29874 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29875 * intl/Makefile ($(objpfx)tst-gettext.out)
29876 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
29877 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
29878 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29879 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29880 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
29881 * posix/Makefile ($(objpfx)globtest.out)
29882 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
29883 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
29884 ($(objpfx)tst-printf.out): Likewise.
29885 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
29886 ($(objpfx)tst-setcontext3.out): Likewise.
29888 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
29890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29891 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
29892 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
29893 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
29894 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
29896 (CFLAGS-doasin-fma.c): New.
29897 (CFLAGS-dosincos-fma.c): Likewise.
29898 (CFLAGS-e_asin-fma.c): Likewise.
29899 (CFLAGS-e_atan2-fma.c): Likewise.
29900 (CFLAGS-e_exp-fma.c): Likewise.
29901 (CFLAGS-e_log-fma.c): Likewise.
29902 (CFLAGS-e_pow-fma.c): Likewise.
29903 (CFLAGS-halfulp-fma.c): Likewise.
29904 (CFLAGS-mpa-fma.c): Likewise.
29905 (CFLAGS-mpatan-fma.c): Likewise.
29906 (CFLAGS-mpatan2-fma.c): Likewise.
29907 (CFLAGS-mpexp-fma.c): Likewise.
29908 (CFLAGS-mplog-fma.c): Likewise.
29909 (CFLAGS-mpsqrt-fma.c): Likewise.
29910 (CFLAGS-mptan-fma.c): Likewise.
29911 (CFLAGS-s_atan-fma.c): Likewise.
29912 (CFLAGS-sincos32-fma.c): Likewise.
29913 (CFLAGS-slowexp-fma.c): Likewise.
29914 (CFLAGS-slowpow-fma.c): Likewise.
29915 (CFLAGS-s_sin-fma.c): Likewise.
29916 (CFLAGS-s_tan-fma.c): Likewise.
29917 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
29918 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
29919 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
29920 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
29921 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
29922 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
29923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
29924 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
29925 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
29926 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
29927 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
29928 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
29929 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
29930 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
29931 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
29932 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
29933 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
29934 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
29935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
29936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
29937 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
29938 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
29939 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
29940 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
29941 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29942 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29943 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29944 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29945 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29946 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29947 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29949 2017-08-04 Joseph Myers <joseph@codesourcery.com>
29951 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
29952 (min_of_type_f): New macro.
29953 (min_of_type_): Likewise.
29954 (min_of_type_l): Likewise.
29955 (min_of_type_f128): Likewise.
29956 (min_of_type): Define using __MATH_TG and taking an expression
29958 (math_check_force_underflow): Pass expression instead of type to
29960 (math_check_force_underflow_nonneg): Likewise.
29962 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29964 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29965 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
29966 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
29968 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29971 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
29972 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
29973 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
29974 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
29975 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
29976 memcpy_chk-nonshared, mempcpy_chk-nonshared,
29977 memmove_chk-nonshared and memset_chk-nonshared
29978 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
29979 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
29980 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
29981 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
29982 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
29983 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
29984 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
29985 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
29986 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
29987 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
29988 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
29989 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
29990 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
29991 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
29992 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
29993 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
29994 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
29995 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
29996 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
29997 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
29998 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
29999 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30000 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30001 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30002 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30003 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30004 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30005 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30006 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30007 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30008 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30009 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30010 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30011 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30012 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30013 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30014 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30015 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30016 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30017 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30018 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30019 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30020 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30021 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30022 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30023 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30024 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30025 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30026 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30027 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30028 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30029 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30030 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30031 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30032 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30033 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30034 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30035 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30036 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30037 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30038 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30039 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30040 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30041 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30042 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30043 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30044 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30045 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30046 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30047 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30048 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30049 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30050 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30051 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30052 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30053 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30054 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30055 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30056 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30057 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30058 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30059 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30060 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30061 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30062 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30063 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30064 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30065 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30066 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30067 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30068 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30069 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30070 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30071 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30072 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30073 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30074 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30075 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30076 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30077 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30078 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30079 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30080 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30081 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30082 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30083 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30084 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30085 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30087 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30089 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
30090 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
30091 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
30092 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
30093 svml_d_log2_core-sse2, svml_d_log4_core-sse,
30094 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
30095 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
30096 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
30097 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
30098 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
30099 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
30100 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
30101 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
30102 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
30103 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
30104 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
30105 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
30106 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
30107 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
30108 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
30109 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
30110 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
30111 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
30112 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
30113 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
30114 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
30115 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
30116 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
30117 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
30118 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
30119 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
30120 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
30121 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
30122 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
30123 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
30124 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
30125 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
30126 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
30127 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
30128 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
30129 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
30130 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
30131 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
30132 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
30133 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
30134 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
30135 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
30136 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
30137 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
30138 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
30139 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
30140 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
30141 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
30142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
30143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
30144 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
30145 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
30146 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
30147 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
30149 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
30150 Don't include <sysdep.h> nor <init-arch.h>.
30151 (_ZGVbN2v_cos): Removed.
30152 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
30154 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
30155 Don't include <sysdep.h> nor <init-arch.h>.
30156 (_ZGVdN4v_cos): Removed.
30157 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
30159 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
30160 Don't include <sysdep.h> nor <init-arch.h>.
30161 (_ZGVeN8v_cos): Removed.
30162 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
30164 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
30165 Don't include <sysdep.h> nor <init-arch.h>.
30166 (_ZGVbN2v_exp): Removed.
30167 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
30169 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
30170 Don't include <sysdep.h> nor <init-arch.h>.
30171 (_ZGVdN4v_exp): Removed.
30172 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
30174 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
30175 Don't include <sysdep.h> nor <init-arch.h>.
30176 (_ZGVeN8v_exp): Removed.
30177 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
30179 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
30180 Don't include <sysdep.h> nor <init-arch.h>.
30181 (_ZGVbN2v_log): Removed.
30182 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
30184 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
30185 Don't include <sysdep.h> nor <init-arch.h>.
30186 (_ZGVdN4v_log): Removed.
30187 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
30189 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
30190 Don't include <sysdep.h> nor <init-arch.h>.
30191 (_ZGVeN8v_log): Removed.
30192 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
30194 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
30195 Don't include <sysdep.h> nor <init-arch.h>.
30196 (_ZGVbN2vv_pow): Removed.
30197 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
30199 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
30200 Don't include <sysdep.h> nor <init-arch.h>.
30201 (_ZGVdN4vv_pow): Removed.
30202 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
30204 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
30205 Don't include <sysdep.h> nor <init-arch.h>.
30206 (_ZGVeN8vv_pow): Removed.
30207 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
30209 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
30210 Don't include <sysdep.h> nor <init-arch.h>.
30211 (_ZGVbN2v_sin): Removed.
30212 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
30214 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
30215 Don't include <sysdep.h> nor <init-arch.h>.
30216 (_ZGVbN4v_sin): Removed.
30217 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
30219 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
30220 Don't include <sysdep.h> nor <init-arch.h>.
30221 (_ZGVbN8v_sin): Removed.
30222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
30224 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
30225 Don't include <sysdep.h> nor <init-arch.h>.
30226 (_ZGVbN2vvv_sincos): Removed.
30227 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
30229 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
30230 Don't include <sysdep.h> nor <init-arch.h>.
30231 (_ZGVdN4vvv_sincos): Removed.
30232 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
30234 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
30235 Don't include <sysdep.h> nor <init-arch.h>.
30236 (_ZGVeN8vvv_sincos): Removed.
30237 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
30239 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
30240 Don't include <sysdep.h> nor <init-arch.h>.
30241 (_ZGVeN16v_cosf): Removed.
30242 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
30244 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
30245 Don't include <sysdep.h> nor <init-arch.h>.
30246 (_ZGVbN4v_cosf): Removed.
30247 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
30249 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
30250 Don't include <sysdep.h> nor <init-arch.h>.
30251 (_ZGVdN8v_cosf): Removed.
30252 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
30254 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
30255 Don't include <sysdep.h> nor <init-arch.h>.
30256 (_ZGVeN16v_expf): Removed.
30257 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
30259 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
30260 Don't include <sysdep.h> nor <init-arch.h>.
30261 (_ZGVbN4v_expf): Removed.
30262 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
30264 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
30265 Don't include <sysdep.h> nor <init-arch.h>.
30266 (_ZGVdN8v_expf): Removed.
30267 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
30269 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
30270 Don't include <sysdep.h> nor <init-arch.h>.
30271 (_ZGVeN16v_logf): Removed.
30272 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
30274 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
30275 Don't include <sysdep.h> nor <init-arch.h>.
30276 (_ZGVbN4v_logf): Removed.
30277 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
30279 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
30280 Don't include <sysdep.h> nor <init-arch.h>.
30281 (_ZGVdN8v_logf): Removed.
30282 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
30284 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
30285 Don't include <sysdep.h> nor <init-arch.h>.
30286 (_ZGVeN16vv_powf): Removed.
30287 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
30289 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
30290 Don't include <sysdep.h> nor <init-arch.h>.
30291 (_ZGVbN4vv_powf): Removed.
30292 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
30294 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
30295 Don't include <sysdep.h> nor <init-arch.h>.
30296 (_ZGVdN8vv_powf): Removed.
30297 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
30299 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
30300 Don't include <sysdep.h> nor <init-arch.h>.
30301 (_ZGVeN16vvv_sincosf): Removed.
30302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
30304 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
30305 Don't include <sysdep.h> nor <init-arch.h>.
30306 (_ZGVbN4vvv_sincosf): Removed.
30307 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
30309 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
30310 Don't include <sysdep.h> nor <init-arch.h>.
30311 (_ZGVdN8vvv_sincosf): Removed.
30312 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
30314 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
30315 Don't include <sysdep.h> nor <init-arch.h>.
30316 (_ZGVeN16v_sinf): Removed.
30317 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
30319 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
30320 Don't include <sysdep.h> nor <init-arch.h>.
30321 (_ZGVbN4v_sinf): Removed.
30322 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
30324 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
30325 Don't include <sysdep.h> nor <init-arch.h>.
30326 (_ZGVdN8v_sinf): Removed.
30328 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30330 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30331 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
30332 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
30333 s_rint-sse4_1 and s_rintf-sse4_1.
30334 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
30335 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
30336 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
30337 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
30338 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
30339 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
30340 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
30341 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
30342 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
30343 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
30344 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
30345 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30347 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
30348 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
30349 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30350 (__ceilf): Removed.
30351 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
30352 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
30353 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30354 (__floor): Removed.
30355 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
30356 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
30357 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30358 (__floorf): Removed.
30359 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
30360 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
30361 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30362 (__nearbyint): Removed.
30363 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
30364 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
30365 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30366 (__nearbyintf): Removed.
30367 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
30368 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
30369 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30371 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
30372 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
30373 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30374 (__rintf): Removed.
30376 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30378 * sysdeps/i386/start.S (_start): Check Check PIC instead of
30379 SHARED. Avoid dynamic relocation against main in static PIE.
30381 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30384 * elf/Makefile (CFLAGS-tst-prelink.c): New.
30385 (LDFLAGS-tst-prelink): Likewise.
30387 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30389 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
30390 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
30391 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
30392 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
30393 (INTERNAL_SYSCALL_NCS): Likewise.
30394 (LOADARGS_1): Likewise.
30395 (LOADARGS_5): Likewise.
30396 (RESTOREARGS_1): Likewise.
30397 (RESTOREARGS_5): Likewise.
30399 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30401 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
30402 (MEMPCPY_SYMBOL): Likewise.
30403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30404 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
30405 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
30407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30408 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
30410 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
30411 (__hidden_ver1): Don't use in libc.a.
30412 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
30413 (__mempcpy): Don't create a weak alias in libc.a.
30414 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
30416 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
30417 (__hidden_ver1): Don't use in libc.a.
30419 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30421 * config.make.in (have-insert): New.
30422 * configure.ac (libc_cv_insert): New. Set to yes if linker
30423 supports INSERT in linker script.
30424 (AC_SUBST(libc_cv_insert): New.
30425 * configure: Regenerated.
30426 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
30427 if $(have-insert) == yes.
30429 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30431 * elf/Makefile (tests): Add vismain only if
30432 $(have-protected-data) == yes.
30433 (tests-pie): Likewise.
30435 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30438 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
30439 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
30441 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30444 * sysdeps/i386/i586/memset.S
30445 (__memset_zero_constant_len_parameter): Removed.
30446 * sysdeps/i386/i686/memset.S
30447 (__memset_zero_constant_len_parameter): Likewise.
30448 * sysdeps/i386/i686/multiarch/memset_chk.S
30449 (__memset_zero_constant_len_parameter): Likewise.
30450 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
30453 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30455 * stdlib/getentropy.c (getentropy): Change return type to int.
30457 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30459 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
30461 2017-08-03 Joseph Myers <joseph@codesourcery.com>
30463 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
30465 * math/s_nexttowardf.c (__nexttowardf): Likewise.
30466 * sysdeps/generic/math_private.h (ieee_double_shape_type):
30468 (ieee_float_shape_type): Likewise.
30469 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
30470 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
30471 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30472 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30473 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30474 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
30475 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
30476 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30477 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30479 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30480 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30481 (__ieee754_yn): Likewise.
30482 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30483 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30484 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
30486 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30487 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
30488 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
30489 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
30490 (__erfc): Likewise.
30491 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30492 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
30493 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
30494 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
30495 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
30496 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
30498 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30499 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
30500 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30501 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
30502 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30503 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
30504 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
30505 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
30506 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
30507 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30508 (__issignaling): Likewise.
30509 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
30510 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
30511 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30513 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30514 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30515 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
30516 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
30518 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
30520 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
30521 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
30522 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
30523 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30524 (__erfcf): Likewise.
30525 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30526 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30527 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
30528 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
30530 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
30531 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
30533 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30534 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
30535 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30536 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
30537 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
30538 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30539 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
30540 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
30542 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
30544 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30546 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
30547 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30549 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30551 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30552 (__ieee754_ynl): Likewise.
30553 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30554 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
30556 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
30558 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30559 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
30560 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30562 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30563 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
30564 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
30565 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
30566 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
30567 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30568 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
30569 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
30571 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
30572 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
30573 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
30575 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
30576 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
30577 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30578 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30579 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
30580 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30582 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30586 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30588 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
30589 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30590 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30591 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
30592 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30593 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
30594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
30596 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30598 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30599 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30601 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
30602 (__ieee754_remainderl): Likewise.
30603 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30604 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30605 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30606 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30608 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30609 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30611 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30612 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
30613 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30614 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30615 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30616 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30618 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30619 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
30620 (__ieee754_y0l): Likewise.
30623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30624 (__ieee754_y1l): Likewise.
30627 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30628 (__ieee754_ynl): Likewise.
30629 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
30630 (__ieee754_lgammal_r): Likewise.
30631 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
30633 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30634 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
30635 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30636 (__erfcl): Likewise.
30637 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
30638 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
30640 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
30641 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
30642 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30643 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
30644 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
30645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30648 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
30649 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30650 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
30651 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
30652 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30654 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
30655 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
30657 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
30658 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
30659 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
30660 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30661 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
30663 2017-08-03 Florian Weimer <fweimer@redhat.com>
30666 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
30667 on memory allocation failure.
30669 2017-08-03 Alan Modra <amodra@gmail.com>
30671 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
30672 tst-tlsopt-powerpc.c with function name change and no test harness.
30673 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
30674 Call tls_get_addr_opt_test.
30675 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
30676 (modules-names): Add mod-tlsopt-powerpc.
30677 (mod-tlsopt-powerpc.so-no-z-defs): Define.
30678 (tst-tlsopt-powerpc): Depend on .so.
30679 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
30680 define. Expand use in TLS_GD and TLS_LD.
30682 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30684 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
30686 * sysdeps/posix/shm_open.c: Include <pthread.h>.
30688 2017-08-02 Joseph Myers <joseph@codesourcery.com>
30691 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
30692 comparing size with that of double.
30693 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30694 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30695 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30696 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30697 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30698 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
30699 unsigned __int128 types.
30701 2017-08-02 Steve Ellcey <sellcey@cavium.com>
30703 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
30704 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
30705 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
30706 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
30707 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
30709 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30711 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
30713 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30715 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
30717 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30718 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30719 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30720 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30721 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30722 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30723 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30725 2017-08-02 Joseph Myers <joseph@codesourcery.com>
30728 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
30729 bit-field expressions passed to sizeof or typeof.
30730 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30731 (__TGMATH_F128): Likewise.
30732 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30733 (__TGMATH_CF128): Likewise.
30734 (__TGMATH_UNARY_REAL_ONLY): Likewise.
30735 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
30736 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
30737 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
30738 (__TGMATH_BINARY_REAL_ONLY): Likewise.
30739 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30740 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30741 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30742 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30743 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
30744 (__TGMATH_UNARY_REAL_IMAG): Likewise.
30745 (__TGMATH_UNARY_IMAG): Likewise.
30746 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
30747 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30748 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
30750 (define_vars_for_type): Handle bit_field type specially.
30751 (Tests.__init__): Declare structure with bit-field element.
30753 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30756 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
30757 (MEMCPY_CHK): Define only if SHARED is defined.
30758 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
30760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
30763 See ChangeLog.18 for earlier changes.