]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
hurd: advertise *_setpshared as not supported
[thirdparty/glibc.git] / ChangeLog
CommitLineData
55137f7d
ST
12019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
3 * sysdeps/htl/pt-barrierattr-setpshared.c
4 (pthread_barrierattr_setpshared): Add stub warning.
5 * sysdeps/htl/pt-condattr-setpshared.c
6 (pthread_condattr_setpshared): Likewise.
7 * sysdeps/htl/pt-mutexattr-setpshared.c
8 (pthread_mutexattr_setpshared): Likewise.
9 * sysdeps/htl/pt-rwlockattr-setpshared.c
10 (pthread_rwlockattr_setpshared): Likewise.
11 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
12 (pthread_mutexattr_setpshared): Likewise.
13
2ce09e01
JM
142019-01-02 Joseph Myers <joseph@codesourcery.com>
15
acb55dcb
JM
16 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
17 constants to match with Linux 4.20.
18
2ce09e01
JM
19 * sysdeps/mips/mips32/libm-test-ulps: Update.
20 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21
fe20bb1d
AJ
222019-01-02 Aurelien Jarno <aurelien@aurel32.net>
23
24 [BZ #24034]
25 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
26 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
27 than __typeof (...) for the a_ptr variable.
28
2d9837c1
GG
292019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30
31 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
32 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
33 * libio/Makefile (tests): Add tst-sprintf-ub and
34 tst-sprintf-chk-ub.
35 (CFLAGS-tst-sprintf-ub.c): New variable.
36 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
37 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
38 destination buffer and check for overflows in fortified mode.
39 * libio/libioP.h (PRINTF_CHK): New macro.
40 * libio/tst-sprintf-chk-ub.c: New file.
41 * libio/tst-sprintf-ub.c: Likewise.
42
d5c6df0b 432019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
44
45 [BZ #24018]
46 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
47 failure.
48
66081e38
FW
492019-01-02 Florian Weimer <fweimer@redhat.com>
50
51 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
52
04277e02
JM
532019-01-01 Joseph Myers <joseph@codesourcery.com>
54
6ef3d225
JM
55 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
56 macro.
57
e3d4e292
JM
58 * sysdeps/unix/sysv/linux/netpacket/packet.h
59 (PACKET_IGNORE_OUTGOING): New macro.
60
f4507797
JM
61 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
62 macro.
63
47ad5e1a
JM
64 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
65 version to 4.20.
66 (riscv_flush_icache): New syscall.
67
7628a1b0
JM
68 * manual/texinfo.tex: Update to version 2018-12-28.17 with
69 trailing whitespace removed.
70 * scripts/config.guess: Update to version 2019-01-01.
71 * scripts/config.sub: Update to version 2019-01-01.
72 * scripts/move-if-change: Update from gnulib.
73
c9123888
JM
74 * NEWS: Update copyright dates.
75 * catgets/gencat.c (print_version): Likewise.
76 * csu/version.c (banner): Likewise.
77 * debug/catchsegv.sh: Likewise.
78 * debug/pcprofiledump.c (print_version): Likewise.
79 * debug/xtrace.sh (do_version): Likewise.
80 * elf/ldconfig.c (print_version): Likewise.
81 * elf/ldd.bash.in: Likewise.
82 * elf/pldd.c (print_version): Likewise.
83 * elf/sotruss.sh: Likewise.
84 * elf/sprof.c (print_version): Likewise.
85 * iconv/iconv_prog.c (print_version): Likewise.
86 * iconv/iconvconfig.c (print_version): Likewise.
87 * locale/programs/locale.c (print_version): Likewise.
88 * locale/programs/localedef.c (print_version): Likewise.
89 * login/programs/pt_chown.c (print_version): Likewise.
90 * malloc/memusage.sh (do_version): Likewise.
91 * malloc/memusagestat.c (print_version): Likewise.
92 * malloc/mtrace.pl: Likewise.
93 * manual/libc.texinfo: Likewise.
94 * nptl/version.c (banner): Likewise.
95 * nscd/nscd.c (print_version): Likewise.
96 * nss/getent.c (print_version): Likewise.
97 * nss/makedb.c (print_version): Likewise.
98 * posix/getconf.c (main): Likewise.
99 * scripts/test-installation.pl: Likewise.
100 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
101
04277e02
JM
102 * All files with FSF copyright notices: Update copyright dates
103 using scripts/update-copyrights.
104 * locale/programs/charmap-kw.h: Regenerated.
105 * locale/programs/locfile-kw.h: Likewise.
106
e740e5b1
JM
1072018-12-31 Joseph Myers <joseph@codesourcery.com>
108
109 * timezone/zdump.c: Update from tzcode 2018i.
110 * timezone/zic.c: Likewise.
111
9b7f98b3
PE
1122018-12-31 Paul Eggert <eggert@cs.ucla.edu>
113
114 regex: improve Gnulib port to AIX
115 From the glibc point of view, this removes duplicate macro
116 definitions and is obviously safe.
117 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
118 * posix/regex_internal.h:
119 (__attribute__, __attribute_warn_unused_result__):
120 Remove; already defined elsewhere.
121
b50dd3bc
FW
1222018-12-31 Florian Weimer <fw@deneb.enyo.de>
123
124 [BZ #24027]
125 * malloc/malloc.c (_int_realloc): Always call memcpy for the
126 copying operation. (ncopies had the wrong type, resulting in an
127 integer wraparound and too few elements being copied.)
128
0b9c8490
L
1292018-12-31 H.J. Lu <hongjiu.lu@intel.com>
130
131 [BZ #24022]
132 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
133 <asm/syscalls.h> exists with __has_include__ before including it.
134
01047fa6
JM
1352018-12-31 Joseph Myers <joseph@codesourcery.com>
136
137 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
138 version to 4.20.
139
065957a3
JW
1402018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
141
142 * hurd/lookup-retry: Include <unistd.h>.
143 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
144 Release it on return. Handle "pid" magical lookup retry.
145
989182c4
RL
1462018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
147
148 [BZ #10496]
149 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
150 (t_fmt_ampm): Likewise.
151 * localedata/locales/aa_ER (t_fmt): Likewise.
152 (t_fmt_ampm): Likewise.
153 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
154 (t_fmt_ampm): Likewise.
155 * localedata/locales/aa_ET (t_fmt): Likewise.
156 (t_fmt_ampm): Likewise.
157 * localedata/locales/am_ET (t_fmt): Likewise.
158 (t_fmt_ampm): Likewise.
159 * localedata/locales/byn_ER (t_fmt): Likewise.
160 (t_fmt_ampm): Likewise.
161 * localedata/locales/om_ET (t_fmt): Likewise.
162 (t_fmt_ampm): Likewise.
163 * localedata/locales/sid_ET (t_fmt): Likewise.
164 (t_fmt_ampm): Likewise.
165 * localedata/locales/so_DJ (t_fmt): Likewise.
166 (t_fmt_ampm): Likewise.
167 * localedata/locales/so_ET (t_fmt): Likewise.
168 (t_fmt_ampm): Likewise.
169 * localedata/locales/so_SO (t_fmt): Likewise.
170 (t_fmt_ampm): Likewise.
171 * localedata/locales/ti_ER (t_fmt): Likewise.
172 (t_fmt_ampm): Likewise.
173 * localedata/locales/ti_ET (t_fmt): Likewise.
174 (t_fmt_ampm): Likewise.
175 * localedata/locales/tig_ER (t_fmt): Likewise.
176 (t_fmt_ampm): Likewise.
177 * localedata/locales/wal_ET (t_fmt): Likewise.
178 (t_fmt_ampm): Likewise.
179
180 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
181 * localedata/locales/ar_IN (t_fmt): Likewise.
182 * localedata/locales/bhb_IN (t_fmt): Likewise.
183 * localedata/locales/bho_IN (t_fmt): Likewise.
184 * localedata/locales/bi_VU (t_fmt): Likewise.
185 * localedata/locales/bn_BD (t_fmt): Likewise.
186 * localedata/locales/bn_IN (t_fmt): Likewise.
187 * localedata/locales/brx_IN (t_fmt): Likewise.
188 * localedata/locales/doi_IN (t_fmt): Likewise.
189 * localedata/locales/en_HK (t_fmt): Likewise.
190 (t_fmt_ampm): Likewise.
191 * localedata/locales/en_IN (t_fmt): Likewise.
192 * localedata/locales/en_PH (t_fmt): Likewise.
193 * localedata/locales/gu_IN (t_fmt): Likewise.
194 * localedata/locales/hi_IN (t_fmt): Likewise.
195 * localedata/locales/hif_FJ (t_fmt): Likewise.
196 * localedata/locales/hne_IN (t_fmt): Likewise.
197 * localedata/locales/kn_IN (t_fmt): Likewise.
198 * localedata/locales/kok_IN (t_fmt): Likewise.
199 * localedata/locales/ks_IN (t_fmt): Likewise.
200 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
201 * localedata/locales/mag_IN (t_fmt): Likewise.
202 * localedata/locales/mai_IN (t_fmt): Likewise.
203 * localedata/locales/mjw_IN (t_fmt): Likewise.
204 * localedata/locales/ml_IN (t_fmt): Likewise.
205 * localedata/locales/mni_IN (t_fmt): Likewise.
206 * localedata/locales/mr_IN (t_fmt): Likewise.
207 * localedata/locales/ms_MY (t_fmt): Likewise.
208 * localedata/locales/pa_IN (t_fmt): Likewise.
209 * localedata/locales/raj_IN (t_fmt): Likewise.
210 * localedata/locales/sa_IN (t_fmt): Likewise.
211 * localedata/locales/sat_IN (t_fmt): Likewise.
212 * localedata/locales/sd_IN (t_fmt): Likewise.
213 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
214 * localedata/locales/tcy_IN (t_fmt): Likewise.
215 * localedata/locales/the_NP (t_fmt): Likewise.
216 * localedata/locales/to_TO (t_fmt): Likewise.
217 * localedata/locales/ur_IN (t_fmt): Likewise.
218
219 * localedata/locales/hif_FJ (d_t_fmt): Set to
220 "%A %d %b %Y %I:%M:%S %p".
221 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
222
223 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
224 * localedata/locales/ar_BH (t_fmt): Likewise.
225 * localedata/locales/ar_DZ (t_fmt): Likewise.
226 * localedata/locales/ar_EG (t_fmt): Likewise.
227 * localedata/locales/ar_IQ (t_fmt): Likewise.
228 * localedata/locales/ar_JO (t_fmt): Likewise.
229 * localedata/locales/ar_KW (t_fmt): Likewise.
230 * localedata/locales/ar_LB (t_fmt): Likewise.
231 * localedata/locales/ar_LY (t_fmt): Likewise.
232 * localedata/locales/ar_OM (t_fmt): Likewise.
233 * localedata/locales/ar_QA (t_fmt): Likewise.
234 * localedata/locales/ar_SD (t_fmt): Likewise.
235 * localedata/locales/ar_SS (t_fmt): Likewise.
236 * localedata/locales/ar_SY (t_fmt): Likewise.
237 * localedata/locales/ar_TN (t_fmt): Likewise.
238 * localedata/locales/ar_YE (t_fmt): Likewise.
239
240 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
241 (t_fmt_ampm): Likewise.
242 * localedata/locales/gez_ET (t_fmt): Likewise.
243 (t_fmt_ampm): Likewise.
244
245 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
246 (t_fmt_ampm): Likewise.
247 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
248
249 * localedata/locales/zh_HK (t_fmt):
250 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
251
252 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
253 because this locale does not use the 12-hour clock.
254 (t_fmt): Set to "%Z %H:%M:%S".
255 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
256
257 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
258 because this locale does not use the 12-hour clock.
259 (t_fmt): Set to "%H:%M:%S %Z".
260 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
261
262 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
263 because this locale does not use the 12-hour clock.
264 (t_fmt): Set to "%T".
265 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
266 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
267
268 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
269 because this locale does not use the 12-hour clock.
270 (t_fmt): Set to "%H:%M:%S %Z".
271 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
272
273 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
274 because this locale does not use the 12-hour clock.
275 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
276 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
277
27841a7d
RL
2782018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
279
280 [BZ #10496]
281 [BZ #23724]
282 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
283 (t_fmt_ampm): Likewise.
284 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
285 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
286 (d_fmt): Set to "%-d.%-m.%y".
287
0253580a
AZ
2882018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
289
290 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
291 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
292 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
293 Likewise.
294 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
295 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
296 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
297 function.
298 * support/blob_repeat.c (check_mul_overflow_size_t,
299 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
300
09104e5b
AJ
3012018-12-28 Aurelien Jarno <aurelien@aurel32.net>
302
303 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
304
c0feb731
PE
3052018-12-27 Paul Eggert <eggert@cs.ucla.edu>
306
307 regex: simplify Gnulib port
308 This simplifies the code, by removing stuff intended for porting
309 to Gnulib but no longer needed there.
310 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
311 uses of libc_hidden_def, weak_alias.
312 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
313 _Restrict_ except for public-facing headers.
314 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
315 Remove; already defined elsewhere.
316 * posix/regex.c, posix/regex_internal.h:
317 Use __GNUC_PREREQ instead of rolling our own.
318 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
319
5289f1f5
WD
3202018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
321
322 * benchtests/bench-strlen.c (generic_strlen): New function.
323 (memchr_strlen): New function.
324
ba4b8fab
L
3252018-12-26 H.J. Lu <hongjiu.lu@intel.com>
326
327 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
328 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
329 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
330
9412979a
L
3312018-12-26 H.J. Lu <hongjiu.lu@intel.com>
332
333 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
334
8700a785
L
3352018-12-26 H.J. Lu <hongjiu.lu@intel.com>
336
337 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
338 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
339 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
340 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
341 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
342 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
343 <sysdeps/ieee754/flt-32/s_sincosf.c>.
344
57b3ff8e
JM
3452018-12-21 Joseph Myers <joseph@codesourcery.com>
346
347 [BZ #24023]
348 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
349 PLT reference in libc.so.
350 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
351 _Q_lltoq and _Q_qtod PLT references in libc.so.
352
90d3320d
WD
3532018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
354
355 * benchtests/bench-memchr.c: Cleanup defines.
356 * benchtests/bench-memcmp.c: Likewise.
357 * benchtests/bench-memset.c: Likewise.
358 * benchtests/bench-memset-large.c: Likewise.
359 * benchtests/bench-memset-walk.c: Likewise.
360 * benchtests/bench-stpcpy.c: Likewise.
361 * benchtests/bench-stpncpy.c: Likewise.
362 * benchtests/bench-strcat.c: Likewise.
363 * benchtests/bench-strchr.c: Likewise.
364 * benchtests/bench-strcmp.c: Likewise.
365 * benchtests/bench-strcpy.c: Likewise.
366 * benchtests/bench-strcspn.c: Likewise.
367 * benchtests/bench-string.h: Likewise.
368 * benchtests/bench-strlen.c: Likewise.
369 * benchtests/bench-strncat.c: Likewise.
370 * benchtests/bench-strncmp.c: Likewise.
371 * benchtests/bench-strncpy.c: Likewise.
372 * benchtests/bench-strnlen.c: Likewise.
373 * benchtests/bench-strpbrk.c: Likewise.
374 * benchtests/bench-strrchr.c: Likewise.
375 * benchtests/bench-strspn.c: Likewise.
376
192963be
JM
3772018-12-21 Joseph Myers <joseph@codesourcery.com>
378
5d025ea6
JM
379 * stdlib/longlong.h: Update from GCC.
380
192963be
JM
381 [BZ #23993]
382 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
383 * configure: Regenerated.
384 * manual/install.texi (Tools for Compilation): Update minimum GCC
385 version.
386 * INSTALL: Regenerated.
387
c0e82f11
IK
3882018-12-21 Istvan Kurucsai <pistukem@gmail.com>
389
390 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
391
ebe544bf
IK
3922018-12-20 Istvan Kurucsai <pistukem@gmail.com>
393
394 * malloc/malloc.c (mremap_chunk): Additional checks.
395
5f72b005
MH
3962018-12-21 Mao Han <han_mao@c-sky.com>
397
398 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
399 * scripts/build-many-glibcs.py: Add C-SKY targets.
400 * sysdeps/csky/Implies: New file.
401 * sysdeps/csky/Makefile: Likewise.
402 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
403 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
404 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
405 * sysdeps/csky/abiv2/memcmp.S: Likewise.
406 * sysdeps/csky/abiv2/memcpy.S: Likewise.
407 * sysdeps/csky/abiv2/memmove.S: Likewise.
408 * sysdeps/csky/abiv2/memset.S: Likewise.
409 * sysdeps/csky/abiv2/setjmp.S: Likewise.
410 * sysdeps/csky/abiv2/start.S: Likewise.
411 * sysdeps/csky/abiv2/strcmp.S: Likewise.
412 * sysdeps/csky/abiv2/strcpy.S: Likewise.
413 * sysdeps/csky/abiv2/strlen.S: Likewise.
414 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
415 * sysdeps/csky/abort-instr.h: Likewise.
416 * sysdeps/csky/atomic-machine.h: Likewise.
417 * sysdeps/csky/bits/endian.h: Likewise.
418 * sysdeps/csky/bits/fenv.h: Likewise.
419 * sysdeps/csky/bits/link.h: Likewise.
420 * sysdeps/csky/bits/setjmp.h: Likewise.
421 * sysdeps/csky/bsd-_setjmp.S: Likewise.
422 * sysdeps/csky/bsd-setjmp.S: Likewise.
423 * sysdeps/csky/configure: Likewise.
424 * sysdeps/csky/configure.ac: Likewise.
425 * sysdeps/csky/dl-machine.h: Likewise.
426 * sysdeps/csky/dl-procinfo.c: Likewise.
427 * sysdeps/csky/dl-procinfo.h: Likewise.
428 * sysdeps/csky/dl-sysdep.h: Likewise.
429 * sysdeps/csky/dl-tls.h: Likewise.
430 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
431 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
432 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
433 * sysdeps/csky/fpu/fegetenv.c: Likewise.
434 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
435 * sysdeps/csky/fpu/fegetmode.c: Likewise.
436 * sysdeps/csky/fpu/fegetround.c: Likewise.
437 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
438 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
439 * sysdeps/csky/fpu/fenv_private.h: Likewise.
440 * sysdeps/csky/fpu/fesetenv.c: Likewise.
441 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
442 * sysdeps/csky/fpu/fesetmode.c: Likewise.
443 * sysdeps/csky/fpu/fesetround.c: Likewise.
444 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
445 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
446 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
447 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
448 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
449 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
450 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
451 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
452 * sysdeps/csky/fpu_control.h: Likewise.
453 * sysdeps/csky/gccframe.h: Likewise.
454 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
455 * sysdeps/csky/ldsodefs.h: Likewise.
456 * sysdeps/csky/libc-tls.c: Likewise.
457 * sysdeps/csky/linkmap.h: Likewise.
458 * sysdeps/csky/machine-gmon.h: Likewise.
459 * sysdeps/csky/memusage.h: Likewise.
460 * sysdeps/csky/nofpu/Implies: Likewise.
461 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
462 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
463 * sysdeps/csky/nptl/Makefile: Likewise.
464 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
465 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
466 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
467 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
468 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
469 * sysdeps/csky/nptl/tls.h: Likewise.
470 * sysdeps/csky/preconfigure: Likewise.
471 * sysdeps/csky/sfp-machine.h: Likewise.
472 * sysdeps/csky/sotruss-lib.c: Likewise.
473 * sysdeps/csky/stackinfo.h: Likewise.
474 * sysdeps/csky/sysdep.h: Likewise.
475 * sysdeps/csky/tininess.h: Likewise.
476 * sysdeps/csky/tst-audit.h: Likewise.
477 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
478 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
479 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
480 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
481 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
482 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
483 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
484 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
485 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
486 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
487 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
488 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
489 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
490 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
491 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
492 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
493 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
494 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
495 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
496 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
497 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
498 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
499 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
500 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
501 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
502 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
503 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
504 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
505 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
506 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
507 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
508 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
509 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
510 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
511 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
512 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
513 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
514 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
515 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
516 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
517 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
518 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
519 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
520 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
521
ac253355
AA
5222018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
523
524 * include/time.h (__difftime64): Add.
525 * time/difftime.c (subtract): convert to 64-bit time.
526 * time/difftime.c (__difftime64): Add.
527 * time/difftime.c (__difftime): Wrap around __difftime64.
528
ab416931
L
5292018-12-20 H.J. Lu <hongjiu.lu@intel.com>
530
531 * manual/examples/add.c: Remove redundant "if not".
532 * manual/examples/argp-ex1.c: Likewise.
533 * manual/examples/argp-ex2.c: Likewise.
534 * manual/examples/argp-ex3.c: Likewise.
535 * manual/examples/argp-ex4.c: Likewise.
536 * manual/examples/atexit.c: Likewise.
537 * manual/examples/db.c: Likewise.
538 * manual/examples/dir.c: Likewise.
539 * manual/examples/dir2.c: Likewise.
540 * manual/examples/execinfo.c: Likewise.
541 * manual/examples/filecli.c: Likewise.
542 * manual/examples/filesrv.c: Likewise.
543 * manual/examples/fmtmsgexpl.c: Likewise.
544 * manual/examples/genpass.c: Likewise.
545 * manual/examples/inetcli.c: Likewise.
546 * manual/examples/inetsrv.c: Likewise.
547 * manual/examples/isockad.c: Likewise.
548 * manual/examples/longopt.c: Likewise.
549 * manual/examples/memopen.c: Likewise.
550 * manual/examples/memstrm.c: Likewise.
551 * manual/examples/mkdirent.c: Likewise.
552 * manual/examples/mkfsock.c: Likewise.
553 * manual/examples/mkisock.c: Likewise.
554 * manual/examples/mygetpass.c: Likewise.
555 * manual/examples/pipe.c: Likewise.
556 * manual/examples/popen.c: Likewise.
557 * manual/examples/rprintf.c: Likewise.
558 * manual/examples/search.c: Likewise.
559 * manual/examples/select.c: Likewise.
560 * manual/examples/setjmp.c: Likewise.
561 * manual/examples/sigh1.c: Likewise.
562 * manual/examples/sigusr.c: Likewise.
563 * manual/examples/stpcpy.c: Likewise.
564 * manual/examples/strdupa.c: Likewise.
565 * manual/examples/strftim.c: Likewise.
566 * manual/examples/subopt.c: Likewise.
567 * manual/examples/swapcontext.c: Likewise.
568 * manual/examples/termios.c: Likewise.
569 * manual/examples/testopt.c: Likewise.
570 * manual/examples/testpass.c: Likewise.
571 * manual/examples/timeval_subtract.c: Likewise.
572
515f463f
JM
5732018-12-19 Joseph Myers <joseph@codesourcery.com>
574
da75c1b1
JM
575 * sysdeps/x86/fpu/math_private.h: New file.
576 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
577
515f463f
JM
578 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
579 definition.
580 (cosh): Likewise.
581 (tanh): Likewise.
582
1616d034
TMQMF
5832018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
584
585 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
586 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
587 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
588 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
589 fields.
590 (_dl_show_auxv): Give a special treatment to
591 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
592 and AT_L3_CACHEGEOMETRY.
593 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
594 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
595 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
596 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
597
61595e3d
AS
5982018-12-19 Andreas Schwab <schwab@suse.de>
599
600 * nscd/connections.c (check_use): Don't abort on invalid len.
601
bbb7dc84
ST
6022018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
603
604 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
605 values in the 64bit value cases.
606
64c2277d
AA
6072018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
608
c4c2836a
AA
609 * include/time.h
610 (__ctime64_r): Add.
611 * time/ctime_r.c
612 (__ctime64_r): Add.
613 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
614
7755e504
AA
615 * include/time.h
616 (__ctime64): Add.
617 * time/gmtime.c
618 (__ctime64): Add.
619 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
620
a1d346ce
AA
621 * include/time.h
622 (__gmtime64_r): Add.
623 * time/gmtime.c
624 (__gmtime64_r): Add.
625 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
626
131db8b0
AA
627 * include/time.h
628 (__gmtime64): Add.
629 * time/gmtime.c
630 (__gmtime64): Add.
631 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
632
64c2277d
AA
633 * include/time.h
634 (__localtime64_r): Add.
635 * time/localtime.c
636 (__localtime64_r): Add.
637 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
638
56b98bf1
AZ
6392018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
640
64dd7a16
AZ
641 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
642 kernel_sigction definition.
643
8b1d5da5
AZ
644 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
645
f9eabb19
AZ
646 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
647
56b98bf1
AZ
648 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
649 __syscall_rt_sigaction.
650 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
651 (kernel_sigaction): Use Linux generic defintion.
652 (STUB): Define.
653 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
654 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
655 (__syscall_rt_sigaction): Remove implementation.
656 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
657 hidden.
658 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
659 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
660 INTERNAL_SYSCALL): Remove definitions.
661 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
662 action and signal set size.
663 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
664 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
665
43a45c2d
AZ
6662018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
667 James Clarke <jrtc27@jrtc27.com>
668
dfa6216f 669 [BZ #23967]
43a45c2d
AZ
670 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
671 Define if SA_RESTORER is defined.
672 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
673 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
674 already defined.
675 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
676 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
677 definitions.
678 (HAS_SA_RESTORER): Define.
679 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
680 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
681 (HAS_SA_RESTORER): Define.
682 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
683 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
684 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
685 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
686 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
687
646ce7e0
JM
6882018-12-18 Joseph Myers <joseph@codesourcery.com>
689
690 * sysdeps/unix/sysv/linux/kernel-features.h
691 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
692 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
693 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
694 * sysdeps/unix/sysv/linux/sh/kernel-features.h
695 (__ASSUME_ST_INO_64_BIT): Likewise.
696 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
697 <kernel-features.h>.
698 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
699 Remove conditional code.
700 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
701 <kernel-features.h>.
702 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
703 Remove conditional code.
704 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
705 <kernel-features.h>.
706 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
707 Remove conditional code.
708 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
709 <kernel-features.h>.
710 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
711 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
712
80190d2b
SL
7132018-12-18 Stefan Liebler <stli@linux.ibm.com>
714
715 * sysdeps/s390/multiarch/ifunc-resolve.h
716 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
717 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
718 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
719 Delete macro definition.
720 (s390_libc_ifunc_init): Rename to
721 s390_libc_ifunc_expr_stfle_init.
722 * sysdeps/s390/bzero: Use
723 s390_libc_ifunc_expr_stfle_init instead of
724 s390_libc_ifunc_init.
725 * sysdeps/s390/memcmp.c: Likewise.
726 * sysdeps/s390/memcpy.c: Likewise.
727 * sysdeps/s390/mempcpy.c: Likewise.
728 * sysdeps/s390/memset.c: Likewise.
729
12f0dcb8
SL
7302018-12-18 Stefan Liebler <stli@linux.ibm.com>
731
732 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
733 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
734
25654a8c
SL
7352018-12-18 Stefan Liebler <stli@linux.ibm.com>
736
737 * sysdeps/s390/multiarch/Makefile
738 (sysdep_routines): Remove wmemcmp variants.
739 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
740 * sysdeps/s390/multiarch/ifunc-impl-list.c
741 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
742 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
743 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
744 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
745 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
746 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
747 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
748 * sysdeps/s390/ifunc-wmemcmp.h: New file.
749
d2a7436c
SL
7502018-12-18 Stefan Liebler <stli@linux.ibm.com>
751
752 * sysdeps/s390/multiarch/Makefile
753 (sysdep_routines): Remove wmemset variants.
754 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
755 * sysdeps/s390/multiarch/ifunc-impl-list.c
756 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
757 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
758 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
759 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
760 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
761 * sysdeps/s390/multiarch/wmemset.c: Move to ...
762 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
763 * sysdeps/s390/ifunc-wmemset.h: New file.
764
c62534ae
SL
7652018-12-18 Stefan Liebler <stli@linux.ibm.com>
766
767 * sysdeps/s390/multiarch/Makefile
768 (sysdep_routines): Remove wmemchr variants.
769 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
770 * sysdeps/s390/multiarch/ifunc-impl-list.c
771 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
772 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
773 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
774 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
775 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
776 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
777 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
778 * sysdeps/s390/ifunc-wmemchr.h: New file.
779
79b44cf6
SL
7802018-12-18 Stefan Liebler <stli@linux.ibm.com>
781
782 * sysdeps/s390/multiarch/Makefile
783 (sysdep_routines): Remove wcscspn variants.
784 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
785 * sysdeps/s390/multiarch/ifunc-impl-list.c
786 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
787 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
788 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
789 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
790 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
791 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
792 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
793 * sysdeps/s390/ifunc-wcscspn.h: New file.
794
8e87c1f6
SL
7952018-12-18 Stefan Liebler <stli@linux.ibm.com>
796
797 * sysdeps/s390/multiarch/Makefile
798 (sysdep_routines): Remove wcspbrk variants.
799 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
800 * sysdeps/s390/multiarch/ifunc-impl-list.c
801 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
802 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
803 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
804 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
805 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
806 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
807 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
808 * sysdeps/s390/ifunc-wcspbrk.h: New file.
809
8507e831
SL
8102018-12-18 Stefan Liebler <stli@linux.ibm.com>
811
812 * sysdeps/s390/multiarch/Makefile
813 (sysdep_routines): Remove wcsspn variants.
814 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
815 * sysdeps/s390/multiarch/ifunc-impl-list.c
816 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
817 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
818 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
819 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
820 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
821 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
822 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
823 * sysdeps/s390/ifunc-wcsspn.h: New file.
824
4753713a
SL
8252018-12-18 Stefan Liebler <stli@linux.ibm.com>
826
827 * sysdeps/s390/multiarch/Makefile
828 (sysdep_routines): Remove wcsrchr variants.
829 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
830 * sysdeps/s390/multiarch/ifunc-impl-list.c
831 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
832 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
833 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
834 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
835 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
836 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
837 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
838 * sysdeps/s390/ifunc-wcsrchr.h: New file.
839
c09c1b6f
SL
8402018-12-18 Stefan Liebler <stli@linux.ibm.com>
841
842 * sysdeps/s390/multiarch/Makefile
843 (sysdep_routines): Remove wcschrnul variants.
844 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
845 * sysdeps/s390/multiarch/ifunc-impl-list.c
846 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
847 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
848 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
849 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
850 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
851 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
852 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
853 * sysdeps/s390/ifunc-wcschrnul.h: New file.
854
cf3ccc31
SL
8552018-12-18 Stefan Liebler <stli@linux.ibm.com>
856
857 * sysdeps/s390/multiarch/Makefile
858 (sysdep_routines): Remove wcschr variants.
859 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
860 * sysdeps/s390/multiarch/ifunc-impl-list.c
861 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
862 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
863 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
864 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
865 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
866 * sysdeps/s390/multiarch/wcschr.c: Move to ...
867 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
868 * sysdeps/s390/ifunc-wcschr.h: New file.
869
e9873e1d
SL
8702018-12-18 Stefan Liebler <stli@linux.ibm.com>
871
872 * sysdeps/s390/multiarch/Makefile
873 (sysdep_routines): Remove wcsncmp variants.
874 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
875 * sysdeps/s390/multiarch/ifunc-impl-list.c
876 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
877 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
878 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
879 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
880 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
881 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
882 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
883 * sysdeps/s390/ifunc-wcsncmp.h: New file.
884
3459e23d
SL
8852018-12-18 Stefan Liebler <stli@linux.ibm.com>
886
887 * sysdeps/s390/multiarch/Makefile
888 (sysdep_routines): Remove wcscmp variants.
889 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
890 * sysdeps/s390/multiarch/ifunc-impl-list.c
891 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
892 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
893 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
894 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
895 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
896 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
897 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
898 * sysdeps/s390/ifunc-wcscmp.h: New file.
899
814a76e1
SL
9002018-12-18 Stefan Liebler <stli@linux.ibm.com>
901
902 * sysdeps/s390/multiarch/Makefile
903 (sysdep_routines): Remove wcsncat variants.
904 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
905 * sysdeps/s390/multiarch/ifunc-impl-list.c
906 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
907 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
908 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
909 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
910 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
911 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
912 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
913 * sysdeps/s390/ifunc-wcsncat.h: New file.
914
3389cae4
SL
9152018-12-18 Stefan Liebler <stli@linux.ibm.com>
916
917 * sysdeps/s390/multiarch/Makefile
918 (sysdep_routines): Remove wcscat variants.
919 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
920 * sysdeps/s390/multiarch/ifunc-impl-list.c
921 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
922 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
923 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
924 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
925 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
926 * sysdeps/s390/multiarch/wcscat.c: Move to ...
927 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
928 * sysdeps/s390/ifunc-wcscat.h: New file.
929
c3081bcb
SL
9302018-12-18 Stefan Liebler <stli@linux.ibm.com>
931
932 * sysdeps/s390/multiarch/Makefile
933 (sysdep_routines): Remove wcpncpy variants.
934 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
935 * sysdeps/s390/multiarch/ifunc-impl-list.c
936 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
937 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
938 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
939 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
940 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
941 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
942 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
943 * sysdeps/s390/ifunc-wcpncpy.h: New file.
944
0966dd86
SL
9452018-12-18 Stefan Liebler <stli@linux.ibm.com>
946
947 * sysdeps/s390/multiarch/Makefile
948 (sysdep_routines): Remove wcsncpy variants.
949 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
950 * sysdeps/s390/multiarch/ifunc-impl-list.c
951 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
952 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
953 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
954 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
955 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
956 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
957 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
958 * sysdeps/s390/ifunc-wcsncpy.h: New file.
959
0582e428
SL
9602018-12-18 Stefan Liebler <stli@linux.ibm.com>
961
962 * sysdeps/s390/multiarch/Makefile
963 (sysdep_routines): Remove wcpcpy variants.
964 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
965 * sysdeps/s390/multiarch/ifunc-impl-list.c
966 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
967 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
968 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
969 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
970 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
971 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
972 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
973 * sysdeps/s390/ifunc-wcpcpy.h: New file.
974
804f2e5c
SL
9752018-12-18 Stefan Liebler <stli@linux.ibm.com>
976
977 * sysdeps/s390/multiarch/Makefile
978 (sysdep_routines): Remove wcscpy variants.
979 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
980 * sysdeps/s390/multiarch/ifunc-impl-list.c
981 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
982 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
983 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
984 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
985 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
986 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
987 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
988 * sysdeps/s390/ifunc-wcscpy.h: New file.
989
c7e7cd26
SL
9902018-12-18 Stefan Liebler <stli@linux.ibm.com>
991
992 * sysdeps/s390/multiarch/Makefile
993 (sysdep_routines): Remove wcsnlen variants.
994 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
995 * sysdeps/s390/multiarch/ifunc-impl-list.c
996 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
997 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
998 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
999 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1000 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1001 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1002 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1003 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1004
2e02d0b7
SL
10052018-12-18 Stefan Liebler <stli@linux.ibm.com>
1006
1007 * sysdeps/s390/multiarch/Makefile
1008 (sysdep_routines): Remove wcslen variants.
1009 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1010 * sysdeps/s390/multiarch/ifunc-impl-list.c
1011 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1012 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1013 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1014 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1015 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1016 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1017 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1018 * sysdeps/s390/ifunc-wcslen.h: New file.
1019
89bfcbdf
SL
10202018-12-18 Stefan Liebler <stli@linux.ibm.com>
1021
1022 * sysdeps/s390/multiarch/Makefile
1023 (sysdep_routines): Remove memrchr variants.
1024 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1025 * sysdeps/s390/multiarch/ifunc-impl-list.c
1026 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1027 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1028 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1029 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1030 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1031 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1032 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1033 * sysdeps/s390/ifunc-memrchr.h: New file.
1034
196655ba
SL
10352018-12-18 Stefan Liebler <stli@linux.ibm.com>
1036
1037 * sysdeps/s390/multiarch/Makefile
1038 (sysdep_routines): Remove memccpy variants.
1039 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1040 * sysdeps/s390/multiarch/ifunc-impl-list.c
1041 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1042 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1043 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1044 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1045 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1046 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1047 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1048 * sysdeps/s390/ifunc-memccpy.h: New file.
1049
4c7b3cec
SL
10502018-12-18 Stefan Liebler <stli@linux.ibm.com>
1051
1052 * sysdeps/s390/multiarch/Makefile
1053 (sysdep_routines): Remove rawmemchr variants.
1054 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1055 * sysdeps/s390/multiarch/ifunc-impl-list.c
1056 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1057 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1058 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1059 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1060 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1061 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1062 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1063 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1064
581a051c
SL
10652018-12-18 Stefan Liebler <stli@linux.ibm.com>
1066
1067 * sysdeps/s390/multiarch/Makefile
1068 (sysdep_routines): Remove memchr variants.
1069 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1070 * sysdeps/s390/multiarch/ifunc-impl-list.c
1071 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1072 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1073 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1074 * sysdeps/s390/multiarch/memchr.c: Move to ...
1075 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1076 * sysdeps/s390/ifunc-memchr.h: New file.
1077 * sysdeps/s390/s390-64/memchr.S: Move to ...
1078 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1079 for 31/64bit and ifunc handling.
1080 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1081 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1082 * sysdeps/s390/s390-32/memchr.S: Likewise.
1083
5d2ec20a
SL
10842018-12-18 Stefan Liebler <stli@linux.ibm.com>
1085
1086 * sysdeps/s390/multiarch/Makefile
1087 (sysdep_routines): Remove strcspn variants.
1088 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1089 * sysdeps/s390/multiarch/ifunc-impl-list.c
1090 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1091 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1092 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1093 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1094 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1095 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1096 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1097 * sysdeps/s390/ifunc-strcspn.h: New file.
1098
572cca93
SL
10992018-12-18 Stefan Liebler <stli@linux.ibm.com>
1100
1101 * sysdeps/s390/multiarch/Makefile
1102 (sysdep_routines): Remove strpbrk variants.
1103 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1104 * sysdeps/s390/multiarch/ifunc-impl-list.c
1105 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1106 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1107 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1108 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1109 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1110 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1111 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1112 * sysdeps/s390/ifunc-strpbrk.h: New file.
1113
483fc569
SL
11142018-12-18 Stefan Liebler <stli@linux.ibm.com>
1115
1116 * sysdeps/s390/multiarch/Makefile
1117 (sysdep_routines): Remove strspn variants.
1118 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1119 * sysdeps/s390/multiarch/ifunc-impl-list.c
1120 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1121 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1122 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1123 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
1124 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
1125 * sysdeps/s390/multiarch/strspn.c: Move to ...
1126 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
1127 * sysdeps/s390/ifunc-strspn.h: New file.
1128
26ea8760
SL
11292018-12-18 Stefan Liebler <stli@linux.ibm.com>
1130
1131 * sysdeps/s390/multiarch/Makefile
1132 (sysdep_routines): Remove strrchr variants.
1133 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
1134 * sysdeps/s390/multiarch/ifunc-impl-list.c
1135 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
1136 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
1137 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
1138 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
1139 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
1140 * sysdeps/s390/multiarch/strrchr.c: Move to ...
1141 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
1142 * sysdeps/s390/ifunc-strrchr.h: New file.
1143
a1361e65
SL
11442018-12-18 Stefan Liebler <stli@linux.ibm.com>
1145
1146 * sysdeps/s390/multiarch/Makefile
1147 (sysdep_routines): Remove strchrnul variants.
1148 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
1149 * sysdeps/s390/multiarch/ifunc-impl-list.c
1150 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
1151 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
1152 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
1153 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
1154 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
1155 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
1156 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
1157 * sysdeps/s390/ifunc-strchrnul.h: New file.
1158
32f12653
SL
11592018-12-18 Stefan Liebler <stli@linux.ibm.com>
1160
1161 * sysdeps/s390/multiarch/Makefile
1162 (sysdep_routines): Remove strchr variants.
1163 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
1164 * sysdeps/s390/multiarch/ifunc-impl-list.c
1165 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
1166 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
1167 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
1168 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
1169 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
1170 * sysdeps/s390/multiarch/strchr.c: Move to ...
1171 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
1172 * sysdeps/s390/ifunc-strchr.h: New file.
1173
316b8842
SL
11742018-12-18 Stefan Liebler <stli@linux.ibm.com>
1175
1176 * sysdeps/s390/multiarch/Makefile
1177 (sysdep_routines): Remove strncmp variants.
1178 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
1179 * sysdeps/s390/multiarch/ifunc-impl-list.c
1180 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
1181 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
1182 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
1183 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
1184 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
1185 * sysdeps/s390/multiarch/strncmp.c: Move to ...
1186 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
1187 * sysdeps/s390/ifunc-strncmp.h: New file.
1188
cdab85fe
SL
11892018-12-18 Stefan Liebler <stli@linux.ibm.com>
1190
1191 * sysdeps/s390/multiarch/Makefile
1192 (sysdep_routines): Remove strcmp variants.
1193 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
1194 * sysdeps/s390/multiarch/ifunc-impl-list.c
1195 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
1196 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
1197 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
1198 * sysdeps/s390/multiarch/strcmp.c: Move to ...
1199 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
1200 * sysdeps/s390/ifunc-strcmp.h: New file.
1201 * sysdeps/s390/s390-64/strcmp.S: Move to ...
1202 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
1203 for 31/64bit and ifunc handling.
1204 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
1205 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1206 * sysdeps/s390/s390-32/strcmp.S: Likewise.
1207
b9353351
SL
12082018-12-18 Stefan Liebler <stli@linux.ibm.com>
1209
1210 * sysdeps/s390/multiarch/Makefile
1211 (sysdep_routines): Remove strncat variants.
1212 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
1213 * sysdeps/s390/multiarch/ifunc-impl-list.c
1214 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
1215 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
1216 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
1217 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
1218 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
1219 * sysdeps/s390/multiarch/strncat.c: Move to ...
1220 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
1221 * sysdeps/s390/ifunc-strncat.h: New file.
1222
8e5a0afb
SL
12232018-12-18 Stefan Liebler <stli@linux.ibm.com>
1224
1225 * sysdeps/s390/multiarch/Makefile
1226 (sysdep_routines): Remove strcat variants.
1227 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
1228 * sysdeps/s390/multiarch/ifunc-impl-list.c
1229 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
1230 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
1231 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
1232 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
1233 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
1234 * sysdeps/s390/multiarch/strcat.c: Move to ...
1235 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
1236 * sysdeps/s390/ifunc-strcat.h: New file.
1237
25218822
SL
12382018-12-18 Stefan Liebler <stli@linux.ibm.com>
1239
1240 * sysdeps/s390/multiarch/Makefile
1241 (sysdep_routines): Remove stpncpy variants.
1242 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
1243 * sysdeps/s390/multiarch/ifunc-impl-list.c
1244 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
1245 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
1246 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
1247 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
1248 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
1249 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
1250 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
1251 * sysdeps/s390/ifunc-stpncpy.h: New file.
1252
d1bdbf38
SL
12532018-12-18 Stefan Liebler <stli@linux.ibm.com>
1254
1255 * sysdeps/s390/multiarch/Makefile
1256 (sysdep_routines): Remove strncpy variants.
1257 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
1258 * sysdeps/s390/multiarch/ifunc-impl-list.c
1259 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
1260 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
1261 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
1262 * sysdeps/s390/multiarch/strncpy.c: Move to ...
1263 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
1264 * sysdeps/s390/ifunc-strncpy.h: New file.
1265 * sysdeps/s390/s390-64/strncpy.S: Move to ...
1266 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
1267 and adjust ifunc handling.
1268 * sysdeps/s390/s390-32/strncpy.S: Move to ...
1269 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
1270 and adjust ifunc handling.
1271 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
1272 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1273
97044931
SL
12742018-12-18 Stefan Liebler <stli@linux.ibm.com>
1275
1276 * sysdeps/s390/multiarch/Makefile
1277 (sysdep_routines): Remove stpcpy variants.
1278 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
1279 * sysdeps/s390/multiarch/ifunc-impl-list.c
1280 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
1281 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
1282 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
1283 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
1284 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
1285 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
1286 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
1287 * sysdeps/s390/ifunc-stpcpy.h: New file.
1288
914a4e05
SL
12892018-12-18 Stefan Liebler <stli@linux.ibm.com>
1290
1291 * sysdeps/s390/multiarch/Makefile
1292 (sysdep_routines): Remove strcpy variants.
1293 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
1294 * sysdeps/s390/multiarch/ifunc-impl-list.c
1295 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
1296 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
1297 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
1298 * sysdeps/s390/multiarch/strcpy.c: Move to ...
1299 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
1300 * sysdeps/s390/ifunc-strcpy.h: New file.
1301 * sysdeps/s390/s390-64/strcpy.S: Move to ...
1302 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
1303 for 31/64bit and ifunc handling.
1304 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
1305 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1306 * sysdeps/s390/s390-32/strcpy.S: Likewise.
1307
de10e44d
SL
13082018-12-18 Stefan Liebler <stli@linux.ibm.com>
1309
1310 * sysdeps/s390/multiarch/Makefile
1311 (sysdep_routines): Remove strnlen variants.
1312 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
1313 * sysdeps/s390/multiarch/ifunc-impl-list.c
1314 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
1315 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
1316 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
1317 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
1318 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
1319 * sysdeps/s390/multiarch/strnlen.c: Move to ...
1320 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
1321 * sysdeps/s390/ifunc-strnlen.h: New file.
1322
ff3ca374
SL
13232018-12-18 Stefan Liebler <stli@linux.ibm.com>
1324
1325 * sysdeps/s390/multiarch/Makefile
1326 (sysdep_routines): Remove strlen variants.
1327 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
1328 * sysdeps/s390/multiarch/ifunc-impl-list.c
1329 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
1330 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
1331 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
1332 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
1333 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
1334 * sysdeps/s390/multiarch/strlen.c: Move to ...
1335 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
1336 * sysdeps/s390/ifunc-strlen.h: New file.
1337
d2c4c403
SL
13382018-12-18 Stefan Liebler <stli@linux.ibm.com>
1339
1340 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
1341 * sysdeps/s390/multiarch/ifunc-impl-list.c
1342 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
1343 * sysdeps/s390/ifunc-memmem.h: New file.
1344 * sysdeps/s390/memmem.c: Likewise.
1345 * sysdeps/s390/memmem-c.c: Likewise.
1346 * sysdeps/s390/memmem-vx.c: Likewise.
1347
8c25dddd
SL
13482018-12-18 Stefan Liebler <stli@linux.ibm.com>
1349
1350 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
1351 * sysdeps/s390/multiarch/ifunc-impl-list.c
1352 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
1353 * sysdeps/s390/ifunc-strstr.h: New file.
1354 * sysdeps/s390/strstr.c: Likewise.
1355 * sysdeps/s390/strstr-c.c: Likewise.
1356 * sysdeps/s390/strstr-vx.c: Likewise.
1357
cdd927d9
SL
13582018-12-18 Stefan Liebler <stli@linux.ibm.com>
1359
1360 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
1361 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
1362 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
1363 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
1364 New defines.
1365 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
1366 * sysdeps/s390/memmove-c.c: New file.
1367 * sysdeps/s390/memmove.c: Likewise.
1368 * sysdeps/s390/multiarch/ifunc-impl-list.c
1369 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
1370
2ee1bc57
SL
13712018-12-18 Stefan Liebler <stli@linux.ibm.com>
1372
1373 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
1374 * sysdeps/s390/configure.ac: Add check for z13 support.
1375 * sysdeps/s390/configure: Regenerated.
1376
d097d976
SL
13772018-12-18 Stefan Liebler <stli@linux.ibm.com>
1378
1379 * sysdeps/s390/memcopy.h: New file.
1380
e099aab0
SL
13812018-12-18 Stefan Liebler <stli@linux.ibm.com>
1382
1383 * sysdeps/s390/s390-32/bcopy.S: Remove.
1384 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1385
18eb862d
SL
13862018-12-18 Stefan Liebler <stli@linux.ibm.com>
1387
1388 * sysdeps/s390/ifunc-memcpy.h: New File.
1389 * sysdeps/s390/memcpy.S: Move to ...
1390 * sysdeps/s390/memcpy-z900.S ... here.
1391 Move implementations from memcpy-s390x.s to here.
1392 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
1393 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1394 Remove memcpy/mempcpy variants.
1395 * sysdeps/s390/Makefile (sysdep_routines):
1396 Add memcpy/mempcpy variants.
1397 * sysdeps/s390/multiarch/ifunc-impl-list.c
1398 (__libc_ifunc_impl_list): Adjust ifunc variants for
1399 memcpy and mempcpy.
1400 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
1401 to ...
1402 * sysdeps/s390/memcpy.c: ... here.
1403 Adjust ifunc variants for memcpy.
1404 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
1405 * sysdeps/s390/mempcpy.c: ... here.
1406 Adjust ifunc variants for mempcpy.
1407 * sysdeps/s390/mempcpy.S: Delete file.
1408
df3eb8de
SL
14092018-12-18 Stefan Liebler <stli@linux.ibm.com>
1410
1411 * sysdeps/s390/s390-64/memcpy.S: Move to ...
1412 * sysdeps/s390/memcpy.S: ... here.
1413 Adjust to be usable for 31/64bit.
1414 * sysdeps/s390/s390-32/memcpy.S: Delete File.
1415 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
1416 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
1417 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1418 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
1419 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
1420 Adjust to be usable for 31/64bit.
1421 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
1422 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
1423 * sysdeps/s390/multiarch/memcpy.c: ... here.
1424 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
1425
b7e024a8
SL
14262018-12-18 Stefan Liebler <stli@linux.ibm.com>
1427
1428 * sysdeps/s390/ifunc-memcmp.h: New File.
1429 * sysdeps/s390/memcmp.S: Move to ...
1430 * sysdeps/s390/memcmp-z900.S ... here.
1431 Move implementations from memcmp-s390x.s to here.
1432 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
1433 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1434 Remove memcmp variants.
1435 * sysdeps/s390/Makefile (sysdep_routines):
1436 Add memcmp variants.
1437 * sysdeps/s390/multiarch/ifunc-impl-list.c
1438 (__libc_ifunc_impl_list): Adjust ifunc variants for
1439 memcmp.
1440 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
1441 to ...
1442 * sysdeps/s390/memcmp.c: ... here.
1443 Adjust ifunc variants for memcmp.
1444
6c6b8c74
SL
14452018-12-18 Stefan Liebler <stli@linux.ibm.com>
1446
1447 * sysdeps/s390/s390-64/memcmp.S: Move to ...
1448 * sysdeps/s390/memcmp.S: ... here.
1449 Adjust to be usable for 31/64bit.
1450 * sysdeps/s390/s390-32/memcmp.S: Delete File.
1451 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
1452 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1453 Remove memcmp.
1454 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1455 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
1456 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
1457 Adjust to be usable for 31/64bit.
1458 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
1459 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
1460 * sysdeps/s390/multiarch/memcmp.c: ... here.
1461 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
1462
07be3928
SL
14632018-12-18 Stefan Liebler <stli@linux.ibm.com>
1464
1465 * sysdeps/s390/s390-32/bzero.S: Delete file.
1466 * sysdeps/s390/s390-64/bzero.S: Likewise.
1467 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
1468 * sysdeps/s390/bzero.c: New file.
1469 * sysdeps/s390/memset-z900.S: Add bzero entry points.
1470 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
1471 * sysdeps/s390/multiarch/ifunc-impl-list.c
1472 (__libc_ifunc_impl_list): Add bzero ifunc variants.
1473
712a254a
SL
14742018-12-18 Stefan Liebler <stli@linux.ibm.com>
1475
1476 * sysdeps/s390/ifunc-memset.h: New File.
1477 * sysdeps/s390/memset.S: Move to ...
1478 * sysdeps/s390/memset-z900.S ... here.
1479 Move implementations from memset-s390x.s to here.
1480 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
1481 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1482 Remove memset variants.
1483 * sysdeps/s390/Makefile (sysdep_routines):
1484 Add memset variants.
1485 * sysdeps/s390/multiarch/ifunc-impl-list.c
1486 (__libc_ifunc_impl_list): Adjust ifunc variants for
1487 memset.
1488 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
1489 to ...
1490 * sysdeps/s390/memset.c: ... here.
1491 Adjust ifunc variants for memset.
1492
5f1743d1
SL
14932018-12-18 Stefan Liebler <stli@linux.ibm.com>
1494
1495 * sysdeps/s390/s390-64/memset.S: Move to ...
1496 * sysdeps/s390/memset.S: ... here.
1497 Adjust to be usable for 31/64bit.
1498 * sysdeps/s390/s390-32/memset.S: Delete File.
1499 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
1500 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1501 Remove memset.
1502 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1503 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
1504 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
1505 Adjust to be usable for 31/64bit.
1506 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
1507 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
1508 * sysdeps/s390/multiarch/memset.c: ... here.
1509 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
1510
e8023f26
SL
15112018-12-18 Stefan Liebler <stli@linux.ibm.com>
1512
1513 * sysdeps/s390/multiarch/ifunc-resolve.h
1514 (s390_libc_ifunc_init, s390_libc_ifunc,
1515 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
1516
b8686c0d
SL
15172018-12-18 Stefan Liebler <stli@linux.ibm.com>
1518
1519 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
1520 * sysdeps/s390/configure.ac: Add check for z10 support.
1521 * sysdeps/s390/configure: Regenerated.
1522
cd815050
L
15232018-12-18 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 * sysdeps/i386/atomic-machine.h: Merged with ...
1526 * sysdeps/x86_64/atomic-machine.h: To ...
1527 * sysdeps/x86/atomic-machine.h: This. New file.
1528
053c52b1
FW
15292018-12-18 Florian Weimer <fweimer@redhat.com>
1530
1531 Rewrite locale/gen-translit.pl in Python.
1532 * locale/Makefile (generated): Add C-translit.h.
1533 (before-compile): Add $(objpfx)C-translit.h.
1534 (C-translit.h): Move to $(objpfx). Create target directory.
1535 Build using Python script.
1536 * locale/gen-translit.py: New file.
1537 * locale/gen-translit.pl: Remove file.
1538 * locale/C-translit.h.in: Change comment character to '#' for
1539 easier parsing without a C preprocessor.
1540 * locale/C-translit.h: Remove generated file.
1541 * manual/install.texi (Tools for Compilation): Do not mention
1542 C-translit.h.
1543 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1544 Remove locale/C-translit.h.
1545 * scripts/update-copyrights: Likewise.
1546 * INSTALL: Regenerate.
1547
40e6c1ec
FW
15482018-12-18 Florian Weimer <fweimer@redhat.com>
1549
1550 [BZ #23995]
1551 * localedata/locales/bi_VU: Remove executable bit from file.
1552
6e15f3e2
AA
15532018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
1554
1555 * include/time.h
1556 (__localtime64): Add.
1557 * manual/maint.texi: Document Y2038 symbol handling.
1558 * time/localtime.c
1559 (__localtime64): Add.
bfb79db4 1560 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 1561
df648905
JM
15622018-12-17 Joseph Myers <joseph@codesourcery.com>
1563
551e81d9
JM
1564 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
1565 Do not clobber r12.
1566
df648905
JM
1567 * scripts/glibcextract.py (compare_macro_consts): Take parameters
1568 to allow extra macros from first or second sources.
1569 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
1570 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1571 (tests-special): Add $(objpfx)tst-mman-consts.out.
1572 ($(objpfx)tst-mman-consts.out): New makefile target.
1573
6bbfc5c0
MH
15742018-12-17 Mao Han <han_mao@c-sky.com>
1575
1576 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
1577 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
1578 without stat64 system call support.
1579 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
1580 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
1581 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1582 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
1583 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
1584 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
1585 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
1586 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
1587 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
1588 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
1589 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
1590
ef202e53
PE
15912018-12-15 Paul Eggert <eggert@cs.ucla.edu>
1592
1593 regex: fix storage-exhaustion error
1594 [BZ #18040]
1595 * posix/regexec.c (get_subexp):
1596 Do not continue if storage is exhausted.
1597
077caf61
AG
15982018-12-15 Assaf Gordon <assafgordon@gmail.com>
1599
1600 regex: fix heap-use-after-free error
1601 [BZ #18040]
1602 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
1603 https://debbugs.gnu.org/32592
1604 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
1605 call extend_buffers which reallocates the re_string_t internal buffer.
1606 Local variable 'buf' was not updated in such case, resulting in
1607 use-after-free.
1608 * posix/regexec.c (get_subexp): Update 'buf' after call to
1609 get_subexp_sub.
1610
0c1719e6
FW
16112018-12-15 Florian Weimer <fweimer@redhat.com>
1612
1613 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
1614 (minimum_stride_size): Use it.
1615 (support_blob_repeat_allocate): Likewise.
1616
033a2c0a
JM
16172018-12-14 Joseph Myers <joseph@codesourcery.com>
1618
1619 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
1620 definition.
1621 (acosh): Likewise.
1622 (atanh): Likewise.
1623
e361dc04
FW
16242018-12-14 Florian Weimer <fweimer@redhat.com>
1625
1626 * manual/process.texi (Process Creation Concepts): Remove
1627 documentation of process (ID) lifetime. List more process
1628 creation functions. Reference Process Identification section.
1629 (Process Identification): Add information about process ID
1630 lifetime. Describe Linux thread/task IDs.
1631 * manual/signal.texi (Signaling Another Process): Mention that the
1632 signal is always sent to the process.
1633
bd51ff5e
GG
16342018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1635
1636 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
1637 and tst-ldbl-efgcvt.
1638 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
1639 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
1640 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
1641 (fcvt_tests, output_error, output_r_error, do_test): Use the
1642 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
1643 select the type of floating-point variables and arguments; to
1644 produce extra tests for double and conversion specifiers for
1645 printf; and to set the names of called functions.
1646 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
1647 in tst-efgcvt-template.c.
1648 * misc/tst-ldbl-efgcvt.c: Likewise.
1649
268bb71e
SL
16502018-12-14 Stefan Liebler <stli@linux.ibm.com>
1651
1652 * nss/Makefile (tst-nss-test3.out): New rule.
1653
db6df070
JM
16542018-12-13 Joseph Myers <joseph@codesourcery.com>
1655
1656 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
1657 clobber sp.
1658
ade8b817
CD
16592018-12-13 fanjinke <fanjinke@hygon.cn>
1660
1661 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
1662 "HygonGenuine".
1663
3d265911
AS
16642018-12-13 Andreas Schwab <schwab@suse.de>
1665
f21e8f8c 1666 [BZ #23861]
3d265911 1667 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
1668 (__pthread_rwlock_rdlock_full): Update expected value for
1669 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
1670 * nptl/tst-rwlock-pwn.c: New file.
1671 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 1672
bf8ae8c0
JM
16732018-12-12 Joseph Myers <joseph@codesourcery.com>
1674
1675 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
1676 definition.
1677
de099757
LS
16782018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1679
1680 * benchtests/scripts/compare_bench.py (do_compare): write to
1681 stderr in casestat is not present.
1682 * benchtests/scripts/compare_bench.py (plot_graphs): write to
1683 stderr in case timings field is not present. Also string showing
1684 the output filename goes into the stderr.
1685
1990185f
LS
16862018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1687
1688 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
1689 and ZeroDivisorError exceptions.
1690 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
1691 argument to loop through user provided statistics.
1692 * benchtests/scripts/compare_bench.py (main): Include the --stats
1693 argument.
1694
587426d4
LS
16952018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1696
1697 * benchtests/scripts/compare_bench.py (compare_runs): Continue
1698 instead of return.
1699
46703efa
FW
17002018-12-12 Florian Weimer <fweimer@redhat.com>
1701
1702 * sysdeps/posix/timespec_get.c: Add missing “any later version”
1703 clause to copyright header.
1704
1d880d4a
TMQMF
17052018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1706
1707 [BZ #23614]
1708 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
1709 registers saved in the stack frame.
1710 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
1711 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
1712
1a502f52
GG
17132018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1714
1715 * include/bits/monetary-ldbl.h: New file.
1716 * include/bits/printf-ldbl.h: Likewise.
1717 * include/bits/stdio-ldbl.h: Likewise.
1718 * include/bits/stdlib-ldbl.h: Likewise.
1719 * include/bits/syslog-ldbl.h: Likewise.
1720 * include/bits/wchar-ldbl.h: Likewise.
1721
df682d1d
GG
17222018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1723
1724 * libio/libio.h: Remove redirection for _IO_vfprintf.
1725
c2c082c1
AS
17262018-12-11 Andreas Schwab <schwab@suse.de>
1727
1728 * Makerules: Remove all references to abilist-pattern.
1729 (update-all-abi): Simplify find expression.
1730
505b5b29
SN
17312018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1732
1733 [BZ #23961]
1734 * math/auto-libm-test-in: Add new test case.
1735 * math/auto-libm-test-out-pow: Regenerated.
1736 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
1737
304c61a2
DD
17382018-12-10 DJ Delorie <dj@redhat.com>
1739
1740 [BZ #23948]
1741 * support/test-container.c: Move postclean step to before we
1742 change namespaces.
1743
a8110b72
JM
17442018-12-10 Joseph Myers <joseph@codesourcery.com>
1745
cb7be159
JM
1746 * scripts/gen-as-const.py (main): Handle --python option.
1747 * scripts/gen-py-const.awk: Remove.
1748 * Makerules (py-const-script): Use gen-as-const.py.
1749 ($(py-const)): Likewise.
1750 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
1751 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
1752 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
1753 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
1754 ~PTHREAD_MUTEX_NO_ELISION_NP.
1755 * manual/README.pretty-printers: Update reference to
1756 gen-py-const.awk.
1757
a8110b72
JM
1758 * scripts/glibcextract.py: New file.
1759 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
1760 or tempfile. Import glibcexctract.
1761 (compute_c_consts): Remove. Moved to glibcextract.py.
1762 (gen_test): Update reference to compute_c_consts.
1763 (main): Likewise.
1764 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
1765 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
1766 * sysdeps/unix/sysv/linux/Makefile
1767 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
1768 Redirect stderr as well as stdout.
1769
f9ba9eb8
RÁE
17702018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
1771
1772 [BZ #19767]
1773 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
1774 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
1775 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
1776 ALWAYS_USE_VSYSCALL.
1777 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
1778 ALWAYS_USE_VSYSCALL.
1779 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
1780 ALWAYS_USE_VSYSCALL.
1781
8d20a2f4
FW
17822018-12-10 Florian Weimer <fweimer@redhat.com>
1783
1784 [BZ #23972]
1785 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
1786 offset instead of count for clarity. Fix typo in comment.
1787 (__old_getdents64): Keep track of previous offset. Use it to call
1788 handle_overflow.
1789 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
1790 that d_off is never zero.
1791
80472e2f
AS
17922018-12-10 Andreas Schwab <schwab@suse.de>
1793
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
1795 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
1797 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
1798 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
1799
0afcb29d
JM
18002018-12-10 Joseph Myers <joseph@codesourcery.com>
1801
1802 * timezone/private.h: Update from tzcode 2018g.
1803 * timezone/tzfile.h: Likewise.
1804 * timezone/tzselect.ksh: Likewise.
1805 * timezone/zdump.c: Likewise.
1806 * timezone/zic.c: Likewise.
1807
b93f4052
PP
18082018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1809
1810 [BZ #23490]
1811 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
1812 (do_test): Adjust buffer size and fix format.
1813
7c9a7c68
DD
18142018-12-07 DJ Delorie <dj@redhat.com>
1815
1816 [BZ #23907]
1817 * malloc/tst-tcfree3.c: New.
1818 * malloc/Makefile: Add it.
1819
37caec3a
L
18202018-12-07 H.J. Lu <hongjiu.lu@intel.com>
1821
1822 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
1823
10446f5d
GG
18242018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1825
1826 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
1827 used as a mask for the mode argument of __vfscanf_internal and
1828 __vfwscanf_internal.
1829 * stdio-common/vfscanf-internal.c
1830 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
1831 (__strtof128_internal): Define to __wcstof128_internal.
1832 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
1833 __strtof128_internal or __wcstof128_internal when the format of
1834 long double is the same as _Float128.
1835
45f33aac
ST
18362018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1837
1838 * include/unistd.h (__confstr): Add prototype and hidden prototype.
1839 * posix/confstr.c (confstr): Rename to __confstr.
1840 (__confstr): Add hidden def.
1841 (confstr): Add weak alias for __confstr.
1842 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
1843 confstr.
1844
a092ca94
L
18452018-12-07 H.J. Lu <hongjiu.lu@intel.com>
1846
1847 * NEWS: Mention getcpu.
1848 * include/sched.h (__getcpu): New libc_hidden_proto.
1849 * manual/resource.texi: Document getcpu.
1850 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
1851 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
1852 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
1853 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1854 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1855 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1856 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1857 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1858 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1859 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1860 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1861 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1862 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1863 Likewise.
1864 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1865 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1866 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1868 Likewise.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1870 Likewise.
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1872 Likewise.
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1874 Likewise.
1875 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1876 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1877 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1878 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1879 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1880 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1881 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1882 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1883 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
1884 * sysdeps/unix/sysv/linux/getcpu.c: New file.
1885 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
1886 Also check getcpu.
1887
7c857b6f
ST
18882018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1889
1890 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
1891 functions.
1892 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
1893
3a3fb755
FW
18942018-12-07 Florian Weimer <fweimer@redhat.com>
1895
1896 [BZ #17405]
1897 * posix/Makefile (routines): Add spawn_faction_addfchdir.
1898 * posix/Versions (GLIBC_2.29): Export
1899 posix_spawn_file_actions_addfchdir_np.
1900 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
1901 * posix/spawn_faction_destroy.c
1902 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
1903 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
1904 and the field action.fchdir_action.
1905 * posix/tst-spawn-chdir.c (add_chdir): New function.
1906 (do_test): Add do_fchdir loop. Call add_chdir.
1907 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
1908 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1909 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
1910 posix_spawn_file_actions_addfchdir_np.
1911 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
1912 Likewise.
1913 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
1914 Likewise.
1915 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
1916 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
1917 Likewise.
1918 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
1919 Likewise.
1920 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
1921 Likewise.
1922 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
1923 Likewise.
1924 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
1925 Likewise.
1926 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
1927 Likewise.
1928 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1929 (GLIBC_2.29): Likewise.
1930 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1931 (GLIBC_2.29): Likewise.
1932 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1933 (GLIBC_2.29): Likewise.
1934 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1935 (GLIBC_2.29): Likewise.
1936 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
1937 Likewise.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1939 (GLIBC_2.29): Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1941 (GLIBC_2.29): Likewise.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1943 (GLIBC_2.29): Likewise.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1945 (GLIBC_2.29): Likewise.
1946 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1947 Likewise.
1948 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1949 Likewise.
1950 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1951 Likewise.
1952 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1953 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1954 Likewise.
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1956 Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1958 Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1960 Likewise.
1961
c37cd439
JM
19622018-12-06 Joseph Myers <joseph@codesourcery.com>
1963
1964 * manual/texinfo.tex: Update to version 2018-09-21.20 with
1965 trailing whitespace removed.
1966 * scripts/config.guess: Update to version 2018-11-28.
1967 * scripts/config.sub: Update to version 2018-11-28.
1968 * scripts/install-sh: Update to version 2018-03-11.20.
1969 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
1970 * scripts/move-if-change: Update to version 2018-03-07 03:47.
1971
899478c2
FW
19722018-12-07 Florian Weimer <fweimer@redhat.com>
1973
1974 [BZ #23927]
1975 CVE-2018-19591
1976 * inet/tst-if_index-long.c: New file.
1977 * inet/Makefile (tests): Add tst-if_index-long.
1978
f255336a
FW
19792018-12-07 Florian Weimer <fweimer@redhat.com>
1980
1981 * support/check.h (support_record_failure_is_failed): Declare.
1982 * support/descriptors.h: New file.
1983 * support/support_descriptors.c: Likewise.
1984 * support/tst-support_descriptors.c: Likewise.
1985 * support/support_record_failure.c
1986 (support_record_failure_is_failed): New function.
1987 * support/Makefile (libsupport-routines): Add support_descriptors.
1988 (tests): Add tst-support_descriptors.
1989
35caceb1
ZW
19902018-12-05 Zack Weinberg <zackw@panix.com>
1991 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1992
1993 * stdio-common/vfprintf-internal.c
1994 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
1995 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
1996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
1997 and __no_long_double.
1998 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
1999 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2000 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2001 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2002 and __nldbl_*syslog* functions.
2003 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2004 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2005 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2006 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2007 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2008 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2009 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2010 (__nldbl_vwprintf, __nldbl_wprintf):
2011 Directly call the appropriate __v*printf_internal routine, passing
2012 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2013 variable names.
2014 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2015 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2016 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2017 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2018 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2019 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2020 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2021 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2022 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2023 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2024 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2025 (__nldbl_syslog, __nldbl_vsyslog):
2026 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2027 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2028 appropriate.
2029 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2030 appropriate.
2031
4e2f43f8
ZW
20322018-12-05 Zack Weinberg <zackw@panix.com>
2033 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2034
2035 [BZ #11319]
2036 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2037 Moved here from debug/vsprintf_chk.c.
2038 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2039 and completion logic for the strfile to match exactly what
2040 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2041 _IO_str_init_static_internal instead of maxlen-1.
2042 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2043 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2044 __vsprintf_internal.
2045
2046 * debug/vsprintf_chk.c (__vsprintf_chk)
2047 * debug/sprintf_chk.c (__sprintf_chk):
2048 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2049 'flags' argument is positive, and slen as maxlen. No need to lock
2050 the FILE and/or construct a temporary FILE. Minimize and normalize
2051 header inclusions and variable names. Do not libc_hidden_def anything.
2052
2053 * debug/asprintf_chk.c (__asprintf_chk)
2054 * debug/dprintf_chk.c (__dprintf_chk)
2055 * debug/fprintf_chk.c (__fprintf_chk)
2056 * debug/fwprintf_chk.c (__fwprintf_chk)
2057 * debug/printf_chk.c (__printf_chk)
2058 * debug/snprintf_chk.c (__snprintf_chk)
2059 * debug/swprintf_chk.c (__swprintf_chk)
2060 * debug/vasprintf_chk.c (__vasprintf_chk)
2061 * debug/vdprintf_chk.c (__vdprintf_chk)
2062 * debug/vfprintf_chk.c (__vfprintf_chk)
2063 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2064 * debug/vprintf_chk.c (__vprintf_chk)
2065 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2066 * debug/vswprintf_chk.c (__vswprintf_chk)
2067 * debug/vwprintf_chk.c (__vwprintf_chk)
2068 * debug/wprintf_chk.c (__wprintf_chk):
2069 Directly call the corresponding vxxprintf_internal function, passing
2070 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2071 the FILE and/or construct a temporary FILE. Minimize and normalize
2072 header inclusions and variable names. Do not libc_hidden_def anything.
2073
2074 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2075 __obstack_vprintf_internal.
2076 (__obstack_vprintf_chk): Convert into a wrapper that calls
2077 __obstack_vprintf_internal (these two functions already had the
2078 same code) and move to new file...
2079 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2080 file.
2081 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2082 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2083 * debug/Makefile (routines): Add vobprintf_chk.
2084
2085 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2086 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2087 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2088 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2089 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2090 (__nldbl___obstack_vfprintf_chk):
2091 Directly call the corresponding vxxprintf_internal function,
2092 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2093 duplicate comparison of slen with 0 or maxlen from the corresponding
2094 non-__nldbl function.
2095
2096 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2097 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2098 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2099 Remove libc_hidden_proto.
2100
2101 * stdio-common/vfprintf-internal.c
2102 (__vfprintf_internal, __vfwprintf_internal):
2103 Do not check _IO_FLAGS2_FORTIFY.
2104 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2105 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2106 a comment explaining why it has the maxlen argument.
2107 (_IO_acquire_lock_clear_flags2_fct): Remove.
2108 (_IO_acquire_lock_clear_flags2): Remove.
2109 (_IO_release_lock): Remove conditional statement which will
2110 now never execute.
2111 (_IO_acquire_lock): Remove variable which is now unused.
2112 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2113 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2114
2115 * stdio-common/Makefile (tests): Add tst-bz11319 and
2116 tst-bz11319-fortify2.
2117 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2118 * stdio-common/tst-bz11319-fortify2.c: New file.
2119 * stdio-common/tst-bz11319.c: Likewise.
2120
124fc732
ZW
21212018-12-05 Zack Weinberg <zackw@panix.com>
2122 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2123
2124 * misc/syslog.c: Include libioP.h, not iolibio.h.
2125 (__vsyslog_internal): New function with the former body of
2126 __vsyslog_chk; takes mode_flags argument same as
2127 __v*printf_internal. Call __vfprintf_internal directly.
2128
2129 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
2130 Remove libc_hidden_def.
2131 (__syslog, __syslog_chk): Use __vsyslog_internal.
2132 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
2133
2134 * include/sys/syslog.h: Add multiple inclusion guard.
2135 Add prototype for __vsyslog_internal.
2136 Remove declaration and libc_hidden_proto for __vsyslog_chk.
2137
2138 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
2139 Use __vsyslog_internal.
2140
698fb75b
ZW
21412018-12-05 Zack Weinberg <zackw@panix.com>
2142 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2143
2144 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
2145 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
2146 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
2147 New functions.
2148 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
2149 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
2150
2151 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
2152 Include wctype.h here if COMPILE_WPRINTF is defined.
2153 Define __vfprintf_internal or __vfwprintf_internal, depending
2154 on COMPILE_WPRINTF.
2155 Temporarily, on entry to this function, update mode_flags
2156 according to the environmental settings corresponding to
2157 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
2158 Throughout, check mode_flags instead of __ldbl_is_dbl and
2159 _IO_FLAGS2_FORTIFY on the destination FILE.
2160 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
2161 Include vfprintf-internal.c. Don't include wctype.h.
2162 * stdio-common/vfprintf.c: New file. Just define __vfprintf
2163 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
2164 and vfprintf.
2165 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
2166 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
2167 and vfwprintf.
2168 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
2169
2170 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
2171 and add mode_flags argument; use __vfprintf_internal.
2172 (__vdprintf): New function. Alias vdprintf to this.
2173 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
2174 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
2175 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
2176 (__obstack_printf): Use __obstack_printf_internal.
2177 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
2178 public aliases __vsnprintf and vsnprintf.
2179 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
2180 called internally.
2181 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
2182 public aliases _IO_vsprintf and vsprintf.
2183 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
2184 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
2185 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
2186 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
2187 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
2188
2189 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
2190 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
2191 * stdio-common/fprintf.c, stdio-common/fxprintf.c
2192 * stdio-common/printf.c: Use __vfprintf_internal.
2193
2194 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
2195 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
2196 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
2197
2198 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
2199 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
2200 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
2201 __vfwprintf_internal.
2202
2203 * libio/libio.h: Remove libc_hidden_proto and declaration for
2204 _IO_vfprintf.
2205 Remove declaration of _IO_vfwprintf.
2206 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
2207 _IO_vsprintf.
2208 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
2209 _IO_obstack_printf.
2210 * include/stdio.h: Add prototype for __vasprintf.
2211 (__vsnprintf): Remove declaration, because there are no more
2212 internal calls.
2213 * include/wchar.h (__vfwprintf, __vswprintf): Remove
2214 declaration, because there are no more internal calls.
2215
2216 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
2217 __vsnprintf_internal, instead of _IO_vsnprintf.
2218 * argp/argp-help.c (__argp_error, __argp_failure): Use
2219 __vasprintf_internal, instead of _IO_vasprintf.
2220 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
2221 redefine, because there are no more internal calls.
2222
d91798b3
ZW
22232018-12-05 Zack Weinberg <zackw@panix.com>
2224 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2225
2226 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
2227 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
2228 Include libio/strfile.h instead of libioP.h.
2229 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
2230 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
2231 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
2232 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
2233 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
2234 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
2235 necessary. Do not set __no_long_double. Normalize variable names.
2236 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
2237 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
2238 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
2239 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
2240 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
2241 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
2242 Call __vfscanf_internal / __vfwscanf_internal directly, passing
2243 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
2244 Do not set __no_long_double. Normalize variable names.
2245
b87eb3f8
ZW
22462018-12-05 Zack Weinberg <zackw@panix.com>
2247 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2248
2249 * stdio-common/isoc99_scanf.c
2250 * stdio-common/isoc99_fscanf.c
2251 * stdio-common/isoc99_sscanf.c
2252 * stdio-common/isoc99_vscanf.c
2253 * stdio-common/isoc99_vfscanf.c
2254 * stdio-common/isoc99_vsscanf.c
2255 * wcsmbs/isoc99_wscanf.c
2256 * wcsmbs/isoc99_fwscanf.c
2257 * wcsmbs/isoc99_swscanf.c
2258 * wcsmbs/isoc99_vwscanf.c
2259 * wcsmbs/isoc99_vfwscanf.c
2260 * wcsmbs/isoc99_vswscanf.c:
2261 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
2262 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
2263 No need to lock and unlock the FILE passed to that function.
2264
2265 * stdio-common/vfscanf-internal.c
2266 (__vfscanf_internal, __vfwscanf_internal):
2267 Don't look at _IO_FLAGS2_SCANF_STD.
2268 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
2269 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
2270 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
2271
349718d4
ZW
22722018-12-05 Zack Weinberg <zackw@panix.com>
2273 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2274
2275 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
2276 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
2277 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
2278 * libio/strfile.h: Add multiple inclusion guard.
2279 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
2280
2281 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
2282 consistency with the other version of this file.
2283 (ldbl_compat_symbol): New macro.
2284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
2285 New macro.
2286
2287 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
2288 Define __vfscanf_internal or __vfwscanf_internal, depending on
2289 COMPILE_WSCANF; don't define any other public symbols.
2290 Remove errval and code to set errp.
2291 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
2292 as the mode_flags argument.
2293 (encode_error, conv_error, input_error): Don't set errval.
2294 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
2295 Include vfscanf-internal.c.
2296 * stdio-common/vfscanf.c: New file defining the public entry
2297 point vfscanf, which calls __vfscanf_internal.
2298 * stdio-common/vfwscanf.c: New file defining the public entry
2299 point vfwscanf, which calls __vfwscanf_internal.
2300
2301 * stdio-common/iovfscanf.c: New file.
2302 * stdio-common/iovfwscanf.c: Likewise.
2303
2304 * stdio-common/Makefile (routines): Add vfscanf-internal,
2305 vfwscanf-internal, iovfscanf, iovfwscanf.
2306 * stdio-common/Versions: Mention GLIBC_2.29, so that
2307 it can be used in SHLIB_COMPAT expressions.
2308 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
2309 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
2310 Call __vfscanf_internal, instead of _IO_vfscanf.
2311 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
2312 _IO_vfscanf.
2313 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
2314 _IO_vfwscanf.
2315
2316 * libio/iovsscanf.c: Clean up includes, when possible. Use
2317 _IO_strfile_read or _IO_strfile_readw, when needed. Call
2318 __vfscanf_internal or __vfwscanf_internal directly.
2319 * libio/iovswscanf.c: Likewise.
2320 * libio/swscanf.c: Likewise.
2321 * libio/vscanf.c: Likewise.
2322 * libio/vwscanf.c: Likewise.
2323 * libio/wscanf.c: Likewise.
2324 * stdio-common/isoc99_fscanf.c: Likewise.
2325 * stdio-common/isoc99_scanf.c: Likewise.
2326 * stdio-common/isoc99_sscanf.c: Likewise.
2327 * stdio-common/isoc99_vfscanf.c: Likewise.
2328 * stdio-common/isoc99_vscanf.c: Likewise.
2329 * stdio-common/isoc99_vsscanf.c: Likewise.
2330 * stdio-common/scanf.c: Likewise.
2331 * stdio-common/sscanf.c: Likewise.
2332 * wcsmbs/isoc99_fwscanf.c: Likewise.
2333 * wcsmbs/isoc99_swscanf.c: Likewise.
2334 * wcsmbs/isoc99_vfwscanf.c: Likewise.
2335 * wcsmbs/isoc99_vswscanf.c: Likewise.
2336 * wcsmbs/isoc99_vwscanf.c: Likewise.
2337 * wcsmbs/isoc99_wscanf.c: Likewise.
2338
72b8692d
AA
23392018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
2340
2341 * include/time.h
2342 (__tz_compute): Replace time_t with __time64_t.
2343 (__tz_convert): Replace time_t* with __time64_t.
2344 (__offtime): Replace time_t* with __time64_t.
2345 * time/gmtime.c
2346 (__gmtime_r): Adjust call to __tz_convert.
2347 (gmtime): Likewise.
2348 * time/localtime.c
2349 (__localtime_r): Likewise.
2350 (localtime): Likewise.
2351 * time/offtime.c: Replace time_t with __time64_t.
2352 * time/tzset.c: Likewise.
2353
bd598da9
JM
23542018-12-04 Joseph Myers <joseph@codesourcery.com>
2355
2356 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
2357 dynamic linker unless [$(run-built-tests) = yes].
2358
b2e93de0
DD
23592018-12-03 DJ Delorie <dj@delorie.com>
2360
2361 * support/test-container.c (check_for_unshare_hints): New.
2362 (main): Call it if unshare fails. Add support for "su" scriptlet
2363 command.
2364
477a02f6
JM
23652018-12-03 Joseph Myers <joseph@codesourcery.com>
2366
2367 * scripts/gen-as-const.py (compute_c_consts): Take an argument
2368 'START' to indicate that start text should be output.
2369 (gen_test): Likewise.
2370 (main): Generate 'START' for first symbol or '--' line, or at end
2371 of input if not previously generated.
2372
6af956e5
RÁE
23732018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
2374
2375 [BZ #19767]
2376 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
2377 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
2378 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
2379 ALWAYS_USE_VSYSCALL.
2380
f5ec0ea9
AZ
23812018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2382
2383 [BZ #23913]
2384 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
2385 new_argv by one.
2386
8cebd4ff
CD
23872018-12-03 Carlos O'Donell <carlos@redhat.com>
2388
2389 [BZ #23923]
2390 * locale/programs/localedef.c: Declare boolean hard_links default true.
2391 (options): Add --no-hard-links option.
2392 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
2393 * locale/programs/localedef.h: Declare prototype for hard_links.
2394 * locale/programs/locfile.c (write_locale_data): Don't use hard
2395 links if hard_links is false.
2396
c22e4c2a
L
23972018-12-03 H.J. Lu <hongjiu.lu@intel.com>
2398
2399 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
2400 cpu_features_basic.
2401 (__cache_sysconf): Likewise.
2402 (init_cacheinfo): Likewise.
2403 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
2404 populate COMMON_CPUID_INDEX_80000007 and
2405 COMMON_CPUID_INDEX_80000008.
2406 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
2407 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
2408 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
2409 (init_cpu_features): Use _Static_assert on
2410 index_arch_Fast_Unaligned_Load.
2411 __get_cpuid_registers and __get_arch_feature. Updated for
2412 cpu_features_basic. Set stepping in cpu_features.
2413 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
2414 (FEATURE_INDEX_2): New.
2415 (FEATURE_INDEX_MAX): Changed to enum.
2416 (COMMON_CPUID_INDEX_D_ECX_1): New.
2417 (COMMON_CPUID_INDEX_80000007): Likewise.
2418 (COMMON_CPUID_INDEX_80000008): Likewise.
2419 (cpuid_registers): Likewise.
2420 (cpu_features_basic): Likewise.
2421 (CPU_FEATURE_USABLE): Likewise.
2422 (bit_arch_XXX_Usable): Likewise.
2423 (cpu_features): Use cpuid_registers and cpu_features_basic.
2424 (bit_arch_XXX): Reweritten.
2425 (bit_cpu_XXX): Likewise.
2426 (index_cpu_XXX): Likewise.
2427 (reg_XXX): Likewise.
2428 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
2429 <support/check.h>.
2430 (CHECK_CPU_FEATURE): New.
2431 (CHECK_CPU_FEATURE_USABLE): Likewise.
2432 (cpu_kinds): Likewise.
2433 (do_test): Print vendor, family, model and stepping. Check
2434 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
2435 (TEST_FUNCTION): Removed.
2436 Include <support/test-driver.c> instead of
2437 "../../test-skeleton.c".
2438 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
2439 Check POPCNT instead of POPCOUNT.
2440 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
2441
7b36d26b
ST
24422018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2443
2444 * scripts/gen-as-const.py (main): Avoid emitting empty line when
2445 there is no element in `consts'.
2446
02cd5c1a
FW
24472018-12-01 Florian Weimer <fweimer@redhat.com>
2448
2449 * support/support_capture_subprocess.c
2450 (support_capture_subprocess): Check that pipe descriptors have
2451 expected values. Close original pipe descriptors in subprocess.
2452
fc493bc9
ST
24532018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2454
2455 [BZ #23032]
2456 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
2457 attr with __pthread_default_barrierattr.
2458 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
2459 attr with __pthread_default_condattr.
2460 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
2461 attr with __pthread_default_mutexattr.
2462 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
2463 attr with __pthread_default_rwlockattr.
2464
6310e6be
KW
24652018-12-01 Kemi Wang <kemi.wang@intel.com>
2466
2467 * manual/tunables.texi (POSIX Thread Tunables): New node.
2468 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
2469 * nptl/nptl-init.c: Include pthread_mutex_conf.h
2470 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
2471 __pthread_tunables_init.
2472 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
2473 (max_adaptive_count): Define.
2474 * nptl/pthread_mutex_conf.c: New file.
2475 * nptl/pthread_mutex_conf.h: New file.
2476 * sysdeps/generic/adaptive_spin_count.h: New file.
2477 * sysdeps/nptl/dl-tunables.list: New file.
2478 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2479 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
2480 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
2481 Likewise.
2482
8e67b39e
PP
24832018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2484
2485 [BZ #20544]
2486 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
2487 * stdlib/on_exit.c (__on_exit): Likewise.
2488 * stdlib/Makefile (tests): Add tst-bz20544.
2489 * stdlib/tst-bz20544.c: New test.
2490
15b8d67e
RÁE
24912018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
2492
2493 [BZ #19767]
2494 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
2495 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2496 New.
2497
5e63c240
FW
24982018-11-30 Florian Weimer <fweimer@redhat.com>
2499
2500 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
2501 Extend error logging.
2502 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
2503 symbol.
2504
71058602 25052018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 2506
5fb7fc96
AZ
2507 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
2508 __sigismember instead of sigismember.
2509 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
2510 cancel_handler): New definitions.
2511 (do_system): Use posix_spawn instead of fork and execl and remove
2512 reentracy code.
2513 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
2514 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
2515 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
2516 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2517 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2518 * sysdeps/unix/sysv/linux/system.c: Likewise.
2519
14d0e87d
AZ
2520 [BZ #22834]
2521 [BZ #17490]
2522 * NEWS: Add new semantic for atfork with popen and system.
2523 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
2524 fork and execl.
2525
e5d262ef
TMQMF
25262018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2527
2528 [BZ #23690]
2529 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
2530 modification order when accessing reloc_result->addr.
2531 * include/link.h (reloc_result): Add field init.
2532 * nptl/Makefile (tests): Add tst-audit-threads.
2533 (modules-names): Add tst-audit-threads-mod1 and
2534 tst-audit-threads-mod2.
2535 Add rules to build tst-audit-threads.
2536 * nptl/tst-audit-threads-mod1.c: New file.
2537 * nptl/tst-audit-threads-mod2.c: Likewise.
2538 * nptl/tst-audit-threads.c: Likewise.
2539 * nptl/tst-audit-threads.h: Likewise.
2540
7e1d4240
JM
25412018-11-30 Joseph Myers <joseph@codesourcery.com>
2542
2543 * scripts/gen-as-const.py: New file.
2544 * scripts/gen-as-const.awk: Remove.
2545 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
2546 gen-as-const.py.
2547 ($(objpfx)test-as-const-%.c): Likewise.
2548
ce7387cc
L
25492018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2550
2551 * elf/dl-exception.c: Include <_itoa.h>.
2552
c6a5bdc1
ST
25532018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2554
2555 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
2556 returned by __f_setlk.
2557
a5275ba5
L
25582018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2559 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2560
2561 * elf/Makefile (tests-internal): Add tst-create_format1.
2562 * elf/dl-exception.c (_dl_exception_create_format): Support
2563 %x, %lx and %zx.
2564 * elf/tst-create_format1.c: New file.
2565
3a67e81d
CAC
25662018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
2567
2568 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
2569 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
2570 gnulib.)
2571 * argp/argp-help.c (__argp_failure): Likewise.
2572
4975f0c3
MH
25732018-11-29 Mao Han <han_mao@c-sky.com>
2574
2575 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
2576 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
2577 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
2578 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
2579 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
2580 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
2581 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
2582 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
2583 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
2584 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
2585 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
2586 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
2587 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
2588 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
2589 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
2590 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
2591 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
2592 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
2593 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
2594 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
2595 (R_CKCORE_TLS_TPOFF32): New defines.
2596
250102c8
FW
25972018-11-29 Florian Weimer <fweimer@redhat.com>
2598
2599 * posix/Makefile (before-compile): Remove testcases.h and
2600 ptestcases.h.
2601 (generated): Add testcases.h and ptestcases.h.
2602 (testcases.h, ptestcases.h): Move to $(objpfx).
2603 (runtests.o): Add dependency on testcases.h.
2604 (runptests.o): Add dependency on ptestcases.h.
2605 * posix/testcases.h, posix/ptestcases.h: Remove files.
2606 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
2607 not touch posix/testcases.h and posix/ptestcases.h.
2608
96cd0558
FW
26092018-11-28 Florian Weimer <fweimer@redhat.com>
2610
2611 support: Add signal support to support_capture_subprocess_check.
2612 * support/capture_subprocess.h (support_capture_subprocess_check):
2613 Adjust comment and rename parameter.
2614 * support/support_capture_subprocess_check.c
2615 (print_actual_status): New function.
2616 (support_capture_subprocess_check): Support negative
2617 status_or_signal. Call print_actual_status.
2618 * support/tst-support_capture_subprocess.c (do_test): Call
2619 support_capture_subprocess_check.
2620 * libio/tst-vtables-common.c (termination_status)
2621 (init_termination_status): Remove.
2622 (check_for_termination): Adjust support_capture_subprocess_check
2623 call.
2624 (do_test): Remove call to init_termination_status.
2625
530504e3
JM
26262018-11-28 Joseph Myers <joseph@codesourcery.com>
2627
2628 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
2629 source directory instead of a copy.
2630 (CommandList.create_copy_dir): Remove.
2631
9a0b6970
SL
26322018-11-28 Stefan Liebler <stli@linux.ibm.com>
2633
2634 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2635
47d8d9a2
FW
26362018-11-28 Florian Weimer <fweimer@redhat.com>
2637
2638 * support/support.h (support_quote_string): Do not use str
2639 parameter name.
2640
b473b7d8
JM
26412018-11-27 Joseph Myers <joseph@codesourcery.com>
2642
2643 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2644 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
2645
c74a91de
FW
26462018-11-27 Florian Weimer <fweimer@redhat.com>
2647
2648 * support/support.h (support_quote_string): Declare.
2649 * support/support_quote_string.c: New file.
2650 * support/tst-support_quote_string.c: Likewise.
2651 * support/Makefile (libsupport-routines): Add
2652 support_quote_string.
2653 (tests): Add tst-support_quote_string.
2654
d527c860
FW
26552018-11-27 Florian Weimer <fweimer@redhat.com>
2656
2657 [BZ #23927]
2658 CVE-2018-19591
2659 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
2660 descriptor leak in case of ENODEV error.
2661
979cfed0
RÁE
26622018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
2663
2664 [BZ #19767]
2665 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
2666 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
2667 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
2668
ce035c6e
CD
26692018-11-26 Carlos O'Donell <carlos@redhat.com>
2670
2671 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
2672 Error for unknown lines.
2673
2bd0bfcc
JM
26742018-11-26 Joseph Myers <joseph@codesourcery.com>
2675
2676 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2677 Touch additional files.
2678
affec03b
FW
26792018-11-26 Florian Weimer <fweimer@redhat.com>
2680
2681 [BZ #23907]
2682 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
2683 double-frees.
2684
8ae74ead
RÁE
26852018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
2686
2687 [BZ #19767]
2688 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
2689 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
2690 SHARED. Include sysdep.h.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
2692 ALWAYS_USE_VSYSCALL.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
2694 ALWAYS_USE_VSYSCALL.
2695
1e8bdc3a
RÁE
26962018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
2697
2698 [BZ #19767]
2699 * nptl/Makefile (tests-static): Add tst-cond11-static.
2700 (tests): Likewise.
2701 * nptl/tst-cond11-static.c: New File.
2702 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
2703 tst-affinity-static.
2704 (tests): Likewise.
2705 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
2706 instead of SHARED.
2707 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
2708 (USE_VSYSCALL): Likewise.
2709 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
2710 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
2711 instead of SHARED.
2712 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
2713 SHARED.
2714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2715 New.
2716
1283c478
JM
27172018-11-23 Joseph Myers <joseph@codesourcery.com>
2718
2719 [BZ #23915]
2720 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2721 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2722 Undefine.
2723
c089fd80
L
27242018-11-23 H.J. Lu <hongjiu.lu@intel.com>
2725
2726 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
2727 (tst-cet-legacy-1a-ARGS): New.
2728 ($(objpfx)tst-cet-legacy-1a): New target.
2729 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
2730
cc6c89fa
JM
27312018-11-22 Joseph Myers <joseph@codesourcery.com>
2732
95edd05c
JM
2733 * conform/conformtest.py (CompileSubTest.__init__): Set
2734 self.run_early to False.
2735 (ExecuteSubTest.__init__): Likewise.
2736 (HeaderTests.run): Try running all non-optional, non-XFAILed
2737 compilation tests in a single execution of the compiler.
2738
cc6c89fa
JM
2739 * conform/conformtest.py (CompileSubTest): New class.
2740 (ExecuteSubTest): Likewise.
2741 (ElementTest.run): Rename to gen_subtests. Append tests to
2742 self.subtests instead of running them.
2743 (ConstantTest.run): Likewise.
2744 (SymbolTest.run): Likewise.
2745 (TypeTest.run): Likewise.
2746 (TagTest.run): Likewise.
2747 (FunctionTest.run): Likewise.
2748 (VariableTest.run): Likewise.
2749 (MacroFunctionTest.run): Likewise.
2750 (MacroStrTest.run): Likewise.
2751 (HeaderTests.handle_test_line): Generate subtests for tests.
2752 (HeaderTests.run): Run subtests for tests.
2753
a502c529
SN
27542018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2755
2756 * math/Versions (GLIBC_2.29): Add pow.
2757 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
2758 symbol.
2759 * math/w_pow.c: New file.
2760 * sysdeps/i386/fpu/w_pow.c: New file.
2761 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
2762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
2763 and add necessary aliases.
2764 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
2765 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
2766 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2767 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2768 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2769 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2770 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2771 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2772 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2773 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2774 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2775 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2776 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2777 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2778 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2783 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2784 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2785 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2786 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2788 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2789 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2790 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
2791 __pow.
2792 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
2793 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
2794 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
2795
718d6542
SN
27962018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2797
2798 * math/Versions (GLIBC_2.29): Add log2.
2799 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
2800 symbol.
2801 * math/w_log2.c: New file.
2802 * sysdeps/i386/fpu/w_log2.c: New file.
2803 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
2804 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
2805 and add necessary aliases.
2806 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
2807 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
2808 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2810 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2811 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2812 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2813 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2814 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2815 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2816 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2817 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2818 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2819 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2820 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2825 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2826 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2827 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2828 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2829 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2830 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2831 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2832
f29b7c49
SN
28332018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2834
2835 * math/Versions (GLIBC_2.29): Add log.
2836 * math/w_log_compat.c (__log_compat): Change to versioned compat
2837 symbol.
2838 * math/w_log.c: New file.
2839 * sysdeps/i386/fpu/w_log.c: New file.
2840 * sysdeps/ia64/fpu/e_log.S: Update.
2841 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
2842 and add necessary aliases.
2843 * sysdeps/ieee754/dbl-64/w_log.c: New file.
2844 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
2845 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2846 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2847 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2848 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2849 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2850 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2851 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2852 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2853 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2854 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2855 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2856 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2857 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2862 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2863 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2864 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2865 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2866 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2867 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2868 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2869 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
2870 __log.
2871 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
2872 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
2873 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
2874 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
2875
c20a1056
SN
28762018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2877
2878 * math/Versions (GLIBC_2.29): Add exp and exp2.
2879 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
2880 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
2881 * math/w_exp_compat.c (__exp_compat): Likewise.
2882 * math/w_exp.c: New file.
2883 * math/w_exp2.c: New file.
2884 * sysdeps/i386/fpu/w_exp.c: New file.
2885 * sysdeps/i386/fpu/w_exp2.c: New file.
2886 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
2887 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2888 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
2889 and add necessary aliases.
2890 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
2891 and add necessary aliases.
2892 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
2893 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
2894 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
2895 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
2896 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2897 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2898 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2899 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2900 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2901 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2902 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2903 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2904 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2905 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2906 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2907 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2908 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2913 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2914 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2915 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2916 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2917 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2918 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2919 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2920 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
2921 (__ieee754_exp): Rename to __exp.
2922 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
2923 (__ieee754_exp): Rename to __exp.
2924 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
2925 (__ieee754_exp): Rename to __exp.
2926 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
2927 __exp.
2928 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
2929
bcdaad21
DD
29302018-11-20 DJ Delorie <dj@redhat.com>
2931
2932 * malloc/malloc.c (tcache_entry): Add key field.
2933 (tcache_put): Set it.
2934 (tcache_get): Likewise.
2935 (_int_free): Check for double free in tcache.
2936 * malloc/tst-tcfree1.c: New.
2937 * malloc/tst-tcfree2.c: New.
2938 * malloc/Makefile: Run the new tests.
2939 * manual/probes.texi: Document memory_tcache_double_free probe.
2940
2941 * dlfcn/dlerror.c (check_free): Prevent double frees.
2942
5770c0ad
WD
29432018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
2944
2945 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
2946
9a62a939
JM
29472018-11-20 Joseph Myers <joseph@codesourcery.com>
2948
2949 * conform/conformtest.py (ElementTest.run): Use unique identifiers
2950 in tests. Use names for format arguments.
2951 (ConstantTest.run): Likewise.
2952 (SymbolTest.run): Likewise.
2953 (TypeTest.run): Likewise.
2954 (TagTest.run): Likewise.
2955 (FunctionTest.run): Likewise.
2956 (VariableTest.run): Likewise.
2957 (MacroFunctionTest.run): Likewise.
2958 (MacroStrTest.run): Likewise.
2959 (HeaderTests.__init__): Set self.num_tests.
2960 (HeaderTests.handle_test_line): Set test.num. Increment
2961 self.num_tests.
2962
b15b1a95
ST
29632018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2964
2965 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
2966 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
2967 SEEK_SET.
2968
0c7f97ae
MH
29692018-11-19 Mao Han <han_mao@c-sky.com>
2970
2971 * scripts/config.guess: Update to version 2018-08-29.
2972 * scripts/config.sub: Update to version 2018-08-29.
2973
35e3fbc4
FW
29742018-11-19 Florian Weimer <fweimer@redhat.com>
2975
2976 support: Print timestamps in timeout handler.
2977 * support/support_test_main.c (print_timestamp): New function.
2978 (signal_handler): Use it to print the termination time and the
2979 time of the last write to standard output.
2980
c75772e3
ZW
29812018-11-16 Zack Weinberg <zackw@panix.com>
2982 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2983
2984 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
2985 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
2986 argument.
2987 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
2988 and add flags argument. Check flags instead of __ldbl_is_dbl when
2989 deciding whether to set is_long_double.
2990 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
2991 passing zero for flags argument.
2992 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
2993
2994 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2995 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
2996 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
2997 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
2998 variable names. Remove libc_hidden_def/libc_hidden_proto from
2999 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3000 longer called from within the library.
3001 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3002 for __nldbl___vstrfmon_l, declare it explicitly.
3003
3004 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3005
346ef23f
ST
30062018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3007
3008 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3009 macros
3010 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3011 F_SETLK64, F_SETLKW64, respectively.
3012 * sysdeps/mach/hurd/f_setlk.c: New file.
3013 * sysdeps/mach/hurd/f_setlk.h: New file.
3014 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3015 f_setlk.
3016 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3017 (__libc_fcntl): Move non-flock operations to...
3018 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3019 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3020
de20b81a
PE
30212018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3022
5d8af156
PE
3023 mktime: DEBUG_MKTIME cleanup
3024 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3025 And it’s no longer needed now that glibc and Gnulib both have
3026 their own testing mechanisms for mktime.
3027 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3028
86aece3b
PE
3029 mktime: fix non-EOVERFLOW errno handling
3030 [BZ#23789]
3031 mktime was not properly reporting failures when the underlying
3032 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3033 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3034 The problem could happen on non-glibc platforms, with Gnulib.
3035 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3036 (tm_diff): ... this simpler function, which does not change errno.
3037 All callers changed to deal with errno themselves.
3038 (ranged_convert, __mktime_internal): Return failure immediately if
3039 the underlying function reports any failure other than EOVERFLOW.
3040 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3041 gap code fails.
3042
f6b3331b
PE
3043 mktime: fix bug with Y2038 DST transition
3044 [BZ#23789]
3045 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3046 mishandle a DST transition that jumps over the Y2038 boundary.
3047 No such DST transitions are known so this is only a theoretical
3048 bug, but we might as well do things right.
3049
efbdddc3
PE
3050 mktime: make more room for overflow
3051 [BZ#23789]
3052 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3053 This is so that we can add tm_diff results to a previous guess,
3054 which will be useful in a later patch.
3055
6c90d759
PE
3056 mktime: simplify offset guess
3057 [BZ#23789]
3058 * time/mktime.c (__mktime_internal): Omit excess precision.
3059
32c12f3f
PE
3060 mktime: new test for mktime failure
3061 [BZ#23789]
3062 Based on a test suggested by Albert Aribaud in:
3063 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3064 * time/Makefile (tests): Add bug-mktime4.
3065 * time/bug-mktime4.c: New file.
3066
de20b81a
PE
3067 mktime: fix EOVERFLOW bug
3068 [BZ#23789]
3069 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3070 Include libc-config.h, not config.h, for __set_errno.
3071 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3072
8c6c3fb0
ST
30732018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3074
3075 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3076 __attribute_copy__ to copy attributes from name. Drop static qualifier
3077 to avoid warnings about leaf attribute not having effect on static
3078 functions.
3079
6923f6db
FW
30802018-11-13 Florian Weimer <fweimer@redhat.com>
3081
3082 * malloc/malloc.c (fastbin_push_entry): New function.
3083 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3084 (REMOVE_FB): Remove macro.
3085 (_int_malloc): Use fastbin_pop_entry and reindent.
3086 (_int_free): Use fastbin_push_entry.
3087 (malloc_consolidate): Use atomic_exchange_acquire.
3088
53f5c659
JM
30892018-11-13 Joseph Myers <joseph@codesourcery.com>
3090
0c096dcf
JM
3091 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3092 alias attribute, not with strong_alias.
3093
9c4b457e
JM
3094 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3095 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3096 with additional parameter thread.
3097 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3098 in terms of __hidden_ver2.
3099 (hidden_tls_def): New macro.
3100 (libc_hidden_tls_def): Likewise.
3101 (rtld_hidden_tls_def): Likewise.
3102 (libm_hidden_tls_def): Likewise.
3103 (libmvec_hidden_tls_def): Likewise.
3104 (libresolv_hidden_tls_def): Likewise.
3105 (librt_hidden_tls_def): Likewise.
3106 (libdl_hidden_tls_def): Likewise.
3107 (libnss_files_hidden_tls_def): Likewise.
3108 (libnsl_hidden_tls_def): Likewise.
3109 (libnss_nisplus_hidden_tls_def): Likewise.
3110 (libutil_hidden_tls_def): Likewise.
3111 (libutil_hidden_tls_def): Likweise.
3112 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3113 libc_hidden_tls_def.
3114 (__sim_disabled_exceptions_thread): Likewise.
3115 (__sim_round_mode_thread): Likewise.
3116
53f5c659
JM
3117 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3118 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3119 copy attributes from name.
3120
092dfde6
JM
31212018-11-12 Joseph Myers <joseph@codesourcery.com>
3122
f578f97b
JM
3123 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
3124 Use __attribute_copy__ to copy attributes from name.
3125
9a7c643a
JM
3126 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
3127 with __hidden_ver1 call.
3128 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
3129 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
3130 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
3131 (__cosf): Do not declare here.
3132 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
3133 (__sincosf): Do not declare here.
3134 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
3135 (__sinf): Do not declare here.
3136
092dfde6
JM
3137 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
3138 (__BIG_ENDIAN): Likewise.
3139 (__BYTE_ORDER): Likewise.
3140 (strong_alias): Likewise.
3141 (_strong_alias): Likewise.
3142
1ecba1fa
FW
31432018-11-12 Florian Weimer <fweimer@redhat.com>
3144
3145 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
3146 function. Move after the definition of in_smallbin_range. Do not
3147 use __builtin_expect for paths that lead to a noreturn function.
3148 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
3149 because it is unclear whether this is in fact an unlikely
3150 condition.
3151 (_int_malloc, _int_free): Adjust.
3152 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
3153 variables.
3154 * malloc/arena.c (heap_trim): Likewise.
3155
434c34bd
ST
31562018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3157
3158 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
3159 it, free it if needed.
3160 (reauthenticate): Test and use ccwdir.
3161 (child_init_port): In non-resetids case, test and use ccwdir.
3162 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
3163 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
3164 * hurd/hurd/port.h (_hurd_port_move): New function.
3165 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
3166 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
3167 * hurd/Versions (_hurd_port_move): Export function.
3168 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
3169 symbol.
58bb655a
ST
3170 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
3171 of dtablesize for allocating dtable_cloexec.
434c34bd 3172
1626a1cf
MS
31732018-11-09 Martin Sebor <msebor@redhat.com>
3174
3175 * include/libc-symbols.h (__attribute_copy__): Define macro unless
3176 it's already defined.
3177 (_strong_alias): Use __attribute_copy__.
3178 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
3179 * misc/sys/cdefs.h (__attribute_copy__): New macro.
3180 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
3181 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
3182 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
3183 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
3184 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
3185 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
3186 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
3187 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
3188 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
3189 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
3190 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
3191 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
3192 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
3193 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
3194 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
3195 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
3196 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
3197
968ed530
GG
31982018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3199
3200 * misc/tst-efgcvt.c: Include support/check.h and
3201 support/test-driver.c. Do not include test-skeleton.c.
3202 (error_count): Remove.
3203 (output_error): Replace increments to error_count with calls to
3204 support_record_failure.
3205 (output_r_error): Likewise.
3206 (special): Likewise.
3207 (do_test): Unconditionally return zero.
3208 (TEST_FUNCTION): Remove.
3209
c3ec0972
JM
32102018-11-09 Joseph Myers <joseph@codesourcery.com>
3211
91faaa93
JM
3212 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
3213 not $(@D)/scratch.
3214 ($(linknamespace-header-tests)): Likewise.
3215
c3ec0972
JM
3216 * conform/conformtest.py: New file.
3217 * conform/conformtest.pl: Remove.
3218 * conform/GlibcConform.pm: Likewise.
3219 * conform/glibcconform.py (KEYWORDS_C90): New constant.
3220 (KEYWORDS_C99): Likewise.
3221 (KEYWORDS): Likewise.
3222 * conform/Makefile ($(conformtest-header-tests)): Use
3223 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
3224 option. Use --header instead of --headers.
3225 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
3226 function entries.
3227 * conform/data/spawn.h-data: Likewise.
3228 * conform/data/fcntl.h-data (openat): Add space after function
3229 name.
3230 * conform/data/wchar.h-data (wcscasecmp): Likewise.
3231 (wcscasecmp_l): Likewise.
3232 * conform/data/termios.h-data (c_cc): Add space after element
3233 name.
3234
43257c33
GG
32352018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3236
3237 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
3238 instead of manually comparing and reporting mismatching strings.
3239 * misc/tst-ldbl-error.c (do_one_test): Likewise.
3240 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3241
e5de3b5b
JM
32422018-11-08 Joseph Myers <joseph@codesourcery.com>
3243
3244 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
3245 __ASSUME_SOCKETCALL.
3246 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3247 (__ASSUME_SOCKETCALL): Remove.
3248 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3249 (__ASSUME_SOCKETCALL): Likewise.
3250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3251 (__ASSUME_SOCKETCALL): Likewise.
3252 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3253 (__ASSUME_SOCKETCALL): Likewise.
3254 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3255 (__ASSUME_SOCKETCALL): Likewise.
3256 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3257 (__ASSUME_SOCKETCALL): Likewise.
3258 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3259 (__ASSUME_SOCKETCALL): Likewise.
3260
d524fa6c
L
32612018-11-08 H.J. Lu <hongjiu.lu@intel.com>
3262
3263 [BZ #23509]
3264 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
3265 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
3266 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
3267 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
3268 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
3269 lc_unknown.
3270
ac806026
AH
32712018-11-08 Alexandra Hájková <ahajkova@redhat.com>
3272
3273 [BZ #17630]
3274 * resolv/tst-resolv-network.c: Add test for getnetbyname.
3275
596cc360
JM
32762018-11-07 Joseph Myers <joseph@codesourcery.com>
3277
3278 [BZ #23867]
3279 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3280 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3281 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3282 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
3283
00c86a37
AZ
32842018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3285
3286 * support/support_test_compare_string.c
3287 (support_test_compare_string): Fix printf format.
3288
1df872fd
FW
32892018-11-07 Florian Weimer <fweimer@redhat.com>
3290
3291 Implement TEST_COMPARE_STRING.
3292 * support/check.h (TEST_COMPARE_STRING): Define.
3293 (support_test_compare_string): Declare.
3294 * support/Makefile (libsupport-routines): Add
3295 support_test_compare_string.
3296 (tests): Add tst-test_compare_string.
3297 * support/support_test_compare_string.c: New file.
3298 * support/tst-test_compare_string.c: Likewise.
3299
295132ff
AS
33002018-11-07 Andreas Schwab <schwab@suse.de>
3301
3302 [BZ #23864]
3303 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
3304 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
3305 Undef.
3306
e143ceba
JM
33072018-11-06 Joseph Myers <joseph@codesourcery.com>
3308
3309 [BZ #23862]
3310 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3311 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
3312 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
3313 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3314 Likewise.
3315
4a938cb2
FW
33162018-11-06 Florian Weimer <fweimer@redhat.com>
3317
3318 [BZ #17405]
3319 * posix/Makefile (routines): Add spawn_faction_addchdir.
3320 (tests): Add tst-spawn-chdir.
3321 * posix/Versions (GLIBC_2.29): Add
3322 posix_spawn_file_actions_addchdir_np.
3323 * posix/spawn_faction_addchdir.c: New file.
3324 * posix/spawn_faction_destroy.c
3325 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
3326 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
3327 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
3328 chdir_action.
3329 * posix/tst-spawn-chdir.c: New file.
3330 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
3331 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3332 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3333 posix_spawn_file_actions_addchdir_np.
3334 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3335 Likewise.
3336 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3337 Likewise.
3338 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3339 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3340 Likewise.
3341 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3342 Likewise.
3343 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3344 Likewise.
3345 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3346 Likewise.
3347 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3348 Likewise.
3349 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3350 Likewise.
3351 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3352 (GLIBC_2.29): Likewise.
3353 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3354 (GLIBC_2.29): Likewise.
3355 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3356 (GLIBC_2.29): Likewise.
3357 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3358 (GLIBC_2.29): Likewise.
3359 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3360 Likewise.
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3362 (GLIBC_2.29): Likewise.
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3364 (GLIBC_2.29): Likewise.
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3366 (GLIBC_2.29): Likewise.
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3368 (GLIBC_2.29): Likewise.
3369 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3370 Likewise.
3371 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3372 Likewise.
3373 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3374 Likewise.
3375 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3376 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3377 Likewise.
3378 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3379 Likewise.
3380 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3381 Likewise.
3382 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3383 Likewise.
3384
7597b0c7
GG
33852018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3386
3387 * misc/Makefile (tests): Add tst-ldbl-error.
3388 * misc/tst-ldbl-error.c: New file.
3389
9771e6cb
GG
33902018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3391
3392 * misc/Makefile (tests): Add tst-ldbl-warn.
3393 * misc/tst-ldbl-warn.c: New file.
3394
2c03961f
GG
33952018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3396
3397 * argp/Makefile (tests): Add tst-ldbl-argp.
3398 * argp/tst-ldbl-argp.c: New file.
3399
6d6ee046
AS
34002018-11-05 Arjun Shankar <arjun@redhat.com>
3401
3402 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
3403 __gconv_path_elem and call __gconv_get_path unconditionally.
3404
bd3b0fba
AS
34052018-11-05 Andreas Schwab <schwab@suse.de>
3406
3407 [BZ #22927]
3408 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
3409 creating the first helper thread failed.
3410
2e96e980
ST
34112018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3412
3413 * sysdeps/mach/hurd/msync.c: New file.
3414
6e36266c
FW
34152018-11-02 Florian Weimer <fweimer@redhat.com>
3416
3417 * support/shell-container.c (copy_func): Call
3418 support_copy_file_range instead of copy_file_range to support
3419 cross-device copies.
3420
599f7bee
FW
34212018-11-02 Florian Weimer <fweimer@redhat.com>
3422
3423 * support/test-container.c: Include <libc-pointer-arith.h> for
3424 ALIGN_UP.
3425
ff48ea67
ZL
34262018-11-01 Zong Li <zong@andestech.com>
3427
af1d5782
ZL
3428 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
3429 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
3430 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
3431 (__FP_FRAC_SET_8): Add implementation for RV32 use.
3432
ff48ea67
ZL
3433 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
3434 variable to avoid overlap arguments.
3435
daea71c2
JM
34362018-11-01 Joseph Myers <joseph@codesourcery.com>
3437
eac4405a
JM
3438 * posix/bug-regex22.c (main): Use puts with distinct error
3439 messages for unexpected success of re_compile_pattern, not printf
3440 with NULL argument to %s.
3441
6f30e59f
JM
3442 * stdio-common/bug22.c: Include <libc-diag.h>.
3443 (do_test): Disable -Wformat-overflow= warnings around fprintf
3444 calls outputting more than INT_MAX characters.
3445 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
3446 around printf call with NULL %s argument.
3447
daea71c2
JM
3448 [BZ #23848]
3449 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
3450 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
3451 Undefine.
3452 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3453 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3454 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3455 (__ASSUME_SENDTO_SYSCALL): Likewise.
3456 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3457 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
3458 [!__arch64__].
3459 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3460 (__ASSUME_CONNECT_SYSCALL): Likewise.
3461 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3462 (__ASSUME_RECVFROM_SYSCALL): Likewise.
3463 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
3464 Define.
3465 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
3466 Likewise.
3467 [__LINUX_KERNEL_VERSION >= 0x040400]
3468 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3469 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
3470 Remove.
3471 (listen): Likewise.
3472 (setsockopt): Likewise.
3473
8e3c00db
FN
34742018-11-01 Fredrik Noring <noring@nocrew.org>
3475
3476 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
3477 with the ISA override.
3478
9c3dbdbe
RAE
34792018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
3480
3481 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
3482 #endif.
3483
e3a88b3e
ST
34842018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3485
a67377e7 3486 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 3487 translate the error message.
a67377e7
ST
3488 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
3489 printing trailing whitespaces refused by git.
3490 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
3491 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 3492 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 3493
3ca235ed
JM
34942018-10-30 Joseph Myers <joseph@codesourcery.com>
3495
3496 * conform/linknamespace.py: New file.
3497 * conform/linknamespace.pl: Remove file.
3498 * conform/Makefile ($(linknamespace-header-tests)): Use
3499 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
3500 option.
3501
60708030
FW
35022018-10-30 Florian Weimer <fweimer@redhat.com>
3503
3504 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
3505 memory leaks.
3506
a91e9301
FW
35072018-10-30 Florian Weimer <fweimer@redhat.com>
3508
3509 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
3510
07da99aa
FW
35112018-10-30 Florian Weimer <fweimer@redhat.com>
3512
3513 * stdlib/tst-strtod-overflow.c (do_test): Switch to
3514 support_blob_repeat.
3515
f5e7e959
FW
35162018-10-30 Florian Weimer <fweimer@redhat.com>
3517
3518 Avoid spurious test failures in stdlib/test-bz22786.
3519 * support/Makefile (libsupport-routines): Add blob_repeat.
3520 (tests): Add tst-support_blob_repeat.
3521 * support/blob_repeat.h: New file.
3522 * support/blob_repeat.c: Likewise.
3523 * support/tst-support_blob_repeat.c: Likewise.
3524 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
3525 support_blob_repeat_allocate.
3526
2dd12baa
AS
35272018-10-30 Andreas Schwab <schwab@suse.de>
3528
3529 [BZ #23125]
3530 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
3531 Don't use tail call.
3532 * elf/tst-unwind-main.c: New file.
3533 * elf/Makefile (tests): Add tst-unwind-main.
3534 (CFLAGS-tst-unwind-main.c): Define.
3535
fec8bb7c
SAA
35362018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
3537
3538 [BZ #23791]
3539 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
3540 n_cs_precedes to 0.
3541 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
3542
c6982f7e
JM
35432018-10-29 Joseph Myers <joseph@codesourcery.com>
3544
954cf3c2
JM
3545 * conform/glibcconform.py: Do not import shutil.
3546 (list_exported_functions): Use tempfile.TemporaryDirectory instead
3547 of mkdtemp.
3548
c6982f7e
JM
3549 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
3550 critic_missing for versions before 3.4.
3551 * configure: Regenerated.
3552 * manual/install.texi (Tools for Compilation): Document
3553 requirement for Python to build glibc.
3554 * INSTALL: Regenerated.
3555 * Rules [PYTHON]: Make code unconditional.
3556 * benchtests/Makefile [PYTHON]: Likewise.
3557 * conform/Makefile [PYTHON]: Likewise.
3558 * manual/Makefile [PYTHON]: Likewise.
3559 * math/Makefile [PYTHON]: Likewise.
3560
46a7f24c
ST
35612018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3562
3563 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 3564 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 3565 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
3566 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
3567 _hurd_intr_rpc_msg_about_to global point to start of controlled
3568 assembly snippet. Make it check canceled flag.
3569 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
3570 the _hurd_intr_rpc_msg_about_to point.
3571 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
3572 issue, remove cancel flag check.
46a7f24c 3573
e5b8756d
JM
35742018-10-26 Joseph Myers <joseph@codesourcery.com>
3575
3576 * scripts/build-many-glibcs.py: Remove compatibility for missing
3577 os.cpu_count and re.fullmatch.
3578
ba5b14c7
SN
35792018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3580
3581 [BZ #23822]
3582 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
3583 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
3584 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
3585
fe61f17c
JM
35862018-10-25 Joseph Myers <joseph@codesourcery.com>
3587
3588 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
3589 macro.
3590
7c5e34d7
FW
35912018-10-25 Florian Weimer <fweimer@redhat.com>
3592
3593 [BZ #23562]
3594 [BZ #23821]
3595 XFAIL siginfo_t si_band conform test on sparc64.
3596 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3597 (__SI_BAND_TYPE): Only override long int default type on sparc64.
3598 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3599 (conformtest-xfail-conds): Add sparc64-linux.
3600 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
3601 sparc64.
3602 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
3603
5b784e88
JM
36042018-10-25 Joseph Myers <joseph@codesourcery.com>
3605
3606 * elf/elf.h (NT_MIPS_DSP): New macro.
3607 (NT_MIPS_FP_MODE): Likewise.
3608
41432ebe
ZL
36092018-10-25 Zong Li <zong@andestech.com>
3610
3611 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
3612 name by adding the file extension (.so).
3613
d026efea
ST
36142018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3615
3616 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
3617 (test-xfail-ISO11/threads.h/linknamespace,
3618 test-xfail-ISO11/threads.h/conform): Add.
3619
b71ac2b9
JM
36202018-10-24 Joseph Myers <joseph@codesourcery.com>
3621
3622 * math/gen-libm-test.py: Import os.
3623 (ALL_FLOATS_MANUAL): New constant.
3624 (ALL_FLOATS_SUFFIX): Likewise.
3625 (Ulps.all_functions): New function.
3626 (real_all_ulps): Likewise.
3627 (generate_err_table_sub): Likewise.
3628 (generate_err_table): Likewise.
3629 (main): Handle -s and -m options.
3630 * manual/libm-err-tab.pl: Remove.
3631 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
3632 instead of libm-err-tab.pl.
3633 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
3634 != no].
3635 * manual/install.texi (Tools for Compilation): Document
3636 requirement for Python to build manual.
3637 * INSTALL: Regenerated.
3638
d51f99ce
AA
36392018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3640
3641 * bits/time64.h: New file.
3642 * include/time.h: Replace internal_time_t with __time64_t.
3643 * posix/bits/types (__time64_t): Add.
3644 * stdlib/Makefile: Add bits/time64.h to includes.
3645 * time/tzfile.c: Replace internal_time_t with __time64_t.
3646
97d91fcc 36472018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
3648
3649 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
3650 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
3651 __posix_spawn_file_actions_init, __posix_spawnattr_init,
3652 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
3653 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
3654 prototype.
3655 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
3656 * posix/spawn_faction_addclose.c
3657 (__posix_spawn_file_actions_addclose): Add hidden definition.
3658 * posix/spawn_faction_adddup2.c
3659 (__posix_spawn_file_actions_adddup2): Likewise.
3660 * posix/spawn_faction_destroy.c
3661 (__posix_spawn_file_actions_destroy): Likewise.
3662 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
3663 Likewise.
3664 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
3665 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
3666 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
3667 Likewise.
3668 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
3669 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
3670 Likewise.
3671
2954daf0
AS
36722018-10-24 Andreas Schwab <schwab@suse.de>
3673
3674 [BZ #18093]
3675 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
3676 format cache.
3677 * elf/cache.c (print_cache): Likewise.
3678
a27a4f47
AA
36792018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3680
3681 * bits/timesize.h: New file.
3682 * stdlib/Makefile (headers): Add bits/timesize.h.
3683 * sysdeps/unix/sysv/linux/bits/msq-pad.h
3684 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
3685 * sysdeps/unix/sysv/linux/bits/sem-pad.h
3686 (__SEM_PAD_AFTER_TIME): Likewise.
3687 * sysdeps/unix/sysv/linux/bits/shm-pad.h
3688 (__SHM_PAD_AFTER_TIME): Likewise.
3689 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
3690 (__MSQ_PAD_BEFORE_TIME): Likewise.
3691 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
3692 (__SEM_PAD_BEFORE_TIME): Likewise.
3693 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
3694 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
3695 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
3696 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
3698 (__MSQ_PAD_BEFORE_TIME): Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
3700 (__SEM_PAD_BEFORE_TIME): Likewise.
3701 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
3702 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
3703 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
3704 (__MSQ_PAD_BEFORE_TIME): Likewise.
3705 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
3706 (__SEM_PAD_BEFORE_TIME): Likewise.
3707 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
3708 (__SHM_PAD_BEFORE_TIME): Likewise.
3709 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
3710 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
3711 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
3712
7cc65773
L
37132018-10-24 H.J. Lu <hongjiu.lu@intel.com>
3714
3715 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
3716 USE_RDTSCP is defined.
3717 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
3718 USE_RDTSCP is defined.
3719
c3d8dc45
AZ
37202018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3721
18ad0de6
AZ
3722 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
3723 defined.
3724
c3d8dc45
AZ
3725 [BZ #23709]
3726 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
3727 independently of other flags.
3728
f1034472
FW
37292018-10-23 Florian Weimer <fweimer@redhat.com>
3730
3731 * time/tst-mktime2.c (N_STRINGS): Remove.
3732 (set_timezone): New function.
3733 (spring_forward_gap): Call it. Use FAIL_EXIT1.
3734 (mktime_test1): Report localtime failure and check errno value.
3735 Use TEST_COMPARE.
3736 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
3737 (do_test): Remove alarm call. Use set_timezone and array_length.
3738
367d7cc2
AS
37392018-10-23 Andreas Schwab <schwab@suse.de>
3740
3741 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
3742 (__start_context): Use END instead of PSEUDO_END.
3743
be8ff03f
JM
37442018-10-22 Joseph Myers <joseph@codesourcery.com>
3745
029ad711
JM
3746 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3747 version to 4.19.
3748
8190520f
JM
3749 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3750 version to 4.19.
3751
be8ff03f
JM
3752 [BZ #23793]
3753 * wcsmbs/c32rtomb.c: New file.
3754 * wcsmbs/mbrtoc32.c: Likewise.
3755 * wcsmbs/tst-c32-state.c: Likewise.
3756 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
3757 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
3758 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
3759 (tests): Add tst-c32-state.
3760 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
3761 $(gen-locales).
3762
2dd8e58c
L
37632018-10-21 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
3766 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
3767
d0a74159
JM
37682018-10-19 Joseph Myers <joseph@codesourcery.com>
3769
3770 [BZ #23794]
3771 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
3772 pair and return 0 in that case, and use saved character to
3773 interpret following character.
3774 * wcsmbs/tst-c16-surrogate.c: New file.
3775 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
3776 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
3777 Depend on $(gen-locales)
3778
f997b4be
IYM
37792018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
3780
3781 [BZ #23562]
3782 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3783 (struct siginfo_t): Use correct type for si_band.
3784
53b2bb87
FW
37852018-10-19 Florian Weimer <fweimer@redhat.com>
3786
3787 [BZ #23689]
3788 * resource/bits/types/struct_rusage.h (struct rusage): Update
3789 comment on struct. Remove extraneous field comment.
3790
0a271c8f
DM
37912018-10-18 David S. Miller <davem@davemloft.net>
3792
94a3a27f
DM
3793 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
3794 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
3795 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
3796 sysdep_routines in subdir elf.
3797 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
3798 version for __vdso_clock_gettime.
3799 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
3800 Define.
3801 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3802 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3803
0a271c8f
DM
3804 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3805
72771e53
L
38062018-10-17 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 * sysdeps/i386/init-arch.h: Removed.
3809 * sysdeps/i386/i586/init-arch.h: Likewise.
3810 * sysdeps/i386/i686/init-arch.h: Likewise.
3811 * sysdeps/i386/i686/hp-timing.h: Likewise.
3812 * sysdeps/x86_64/hp-timing.h: Likewise.
3813 * sysdeps/i386/isa.h: New file.
3814 * sysdeps/i386/i586/isa.h: Likewise.
3815 * sysdeps/i386/i686/isa.h: Likewise.
3816 * sysdeps/x86_64/isa.h: Likewise.
3817 * sysdeps/x86/hp-timing.h: New file.
3818 * sysdeps/x86/init-arch.h: Include <isa.h>.
3819
c2b7ccad
JM
38202018-10-17 Joseph Myers <joseph@codesourcery.com>
3821
3822 * math/libm-test-pow.inc (pow_test_data): Do not allow
3823 divide-by-zero exception for pow(+/- 0, -Inf).
3824
26756e57
ZW
38252018-10-17 Zack Weinberg <zackw@panix.com>
3826
3827 * manual/job.texi (Job Control is Optional): Remove node, as
3828 job control has not been optional in quite some time.
3829 (Job Control): Mention briefly that systems older than
3830 POSIX.1-2001 might not support job control.
3831 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
3832 defined on systems conforming to POSIX.1-2001.
3833
c5288d37
AS
38342018-10-17 Arjun Shankar <arjun@redhat.com>
3835
3836 [BZ #22062]
3837 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
3838 indentation.
3839 * (__gconv_read_conf): Mark function static.
3840 * (once): New static variable.
3841 * (__gconv_load_conf): New function.
3842 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
3843 * iconv/gconv_db.c (once): Remove static variable.
3844 * (__gconv_compare_alias): Use __gconv_load_conf instead of
3845 __gconv_read_conf.
3846 * (__gconv_find_transform): Likewise.
3847 * iconv/tst-iconv-mt.c: New test.
3848 * iconv/Makefile: Add tst-iconv_mt.
3849
8c8d2a8a
JM
38502018-10-17 Joseph Myers <joseph@codesourcery.com>
3851
3852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
3853 bits/shm-pad.h.
3854 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
3855 (shmatt_t): Define as __syscall_ulong_t.
3856 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
3857 and [__SHM_PAD_AFTER_TIME].
3858 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
3859 Define shm_segsz and associated padding based on
3860 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
3861 Use __syscall_ulong_t instead of unsigned long int.
3862 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
3863 unsigned long int.
3864 [__USE_MISC] (struct shm_info): Likewise.
3865 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
3866 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
3867 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
3869 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
3870 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
3871 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
3872 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3873 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3874 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3875 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3876
3877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
3878 bits/shmlba.h.
3879 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
3880 (SHMLBA): Remove macro.
3881 (__getpagesize): Remove function declaration.
3882 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
3883 <bits/shmlba.h>.
3884 (SHMLBA): Remove macro.
3885 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
3886 <bits/shmlba.h>.
3887 (SHMLBA): Remove macro.
3888 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
3889 <bits/shmlba.h>.
3890 (SHMLBA): Remove macro.
3891 (__getpagesize): Remove function declaration.
3892 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
3893 <bits/shmlba.h>.
3894 (SHMLBA): Remove macro.
3895 (__getshmlba): Remove function declaration.
3896 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
3897 (SHMLBA): Remove macro.
3898 (__getpagesize): Remove function declaration.
3899 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
3900 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
3901 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3902 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
3903 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
3904 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
3905 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
3906 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
3907 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
3909
403b4feb
SL
39102018-10-17 Stefan Liebler <stli@linux.ibm.com>
3911
3912 [BZ #23275]
3913 * nptl/tst-mutex10.c: New File.
3914 * nptl/Makefile (tests): Add tst-mutex10.
3915 (tst-mutex10-ENV): New variable.
3916 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
3917 Ensure that elision path is used if elision is available.
3918 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
3919 Likewise.
3920 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
3921 Likewise.
3922 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
3923 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
3924 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
3925 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
3926 Likewise.
3927 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
3928 (__pthread_mutex_cond_lock_adjust): Likewise.
3929 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3930 Likewise.
3931 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
3932 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3933 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3934 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
3935 Add comments.
3936 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3937 Use atomic_load_relaxed and atomic_store_relaxed.
3938 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
3939 Use atomic_store_relaxed.
3940
ce5a7de6
AS
39412018-10-17 Andreas Schwab <schwab@suse.de>
3942
3943 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
3944 * crypt/badsalttest.c (TIMEOUT): Likewise.
3945 * crypt/sha256c-test.c (TIMEOUT): Likewise.
3946 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
3947 * io/test-lfs.c (TIMEOUT): Likewise.
3948 * libio/tst-atime.c (TIMEOUT): Likewise.
3949 * localedata/tst-leaks.c (TIMEOUT): Likewise.
3950 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
3951 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
3952 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
3953 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
3954 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
3955 * nptl/tst-cond11.c (TIMEOUT): Likewise.
3956 * nptl/tst-cond14.c (TIMEOUT): Likewise.
3957 * nptl/tst-cond15.c (TIMEOUT): Likewise.
3958 * nptl/tst-cond24.c (TIMEOUT): Likewise.
3959 * nptl/tst-cond25.c (TIMEOUT): Likewise.
3960 * nptl/tst-kill2.c (TIMEOUT): Likewise.
3961 * nptl/tst-kill3.c (TIMEOUT): Likewise.
3962 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
3963 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
3964 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
3965 * nptl/tst-once2.c (TIMEOUT): Likewise.
3966 * nptl/tst-once3.c (TIMEOUT): Likewise.
3967 * nptl/tst-once4.c (TIMEOUT): Likewise.
3968 * nptl/tst-robust8.c (TIMEOUT): Likewise.
3969 * nptl/tst-robust9.c (TIMEOUT): Likewise.
3970 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
3971 * nptl/tst-sem14.c (TIMEOUT): Likewise.
3972 * nptl/tst-sem6.c (TIMEOUT): Likewise.
3973 * nptl/tst-signal3.c (TIMEOUT): Likewise.
3974 * nptl/tst-spin4.c (TIMEOUT): Likewise.
3975 * nptl/tst-tls3.c (TIMEOUT): Likewise.
3976 * nptl/tst-tls4.c (TIMEOUT): Likewise.
3977 * posix/tst-chmod.c (TIMEOUT): Likewise.
3978 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
3979 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
3980 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
3981 * posix/tst-regex2.c (TIMEOUT): Likewise.
3982 * posix/tst-waitid.c (TIMEOUT): Likewise.
3983 * rt/tst-aio.c (TIMEOUT): Likewise.
3984 * rt/tst-aio10.c (TIMEOUT): Likewise.
3985 * rt/tst-aio4.c (TIMEOUT): Likewise.
3986 * rt/tst-aio5.c (TIMEOUT): Likewise.
3987 * rt/tst-aio6.c (TIMEOUT): Likewise.
3988 * rt/tst-aio64.c (TIMEOUT): Likewise.
3989 * rt/tst-aio7.c (TIMEOUT): Likewise.
3990 * rt/tst-aio9.c (TIMEOUT): Likewise.
3991 * rt/tst-clock.c (TIMEOUT): Likewise.
3992 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
3993 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
3994 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
3995 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
3996 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
3997 * rt/tst-timer4.c (TIMEOUT): Likewise.
3998 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
3999 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4000 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4001 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4002 * time/tst-ftime.c (TIMEOUT): Likewise.
4003 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4004
75c1aee5
AY
40052018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4006
4007 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4008 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4009 for thunderX2.
4010
bcdb1bfa
JM
40112018-10-15 Joseph Myers <joseph@codesourcery.com>
4012
4013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4014 bits/sem-pad.h.
4015 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4016 instead of <bits/wordsize.h>.
4017 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4018 and [__SEM_PAD_AFTER_TIME].
4019 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4020 __syscall_ulong_t instead of unsigned long int.
4021 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4022 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4023 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4024 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4025 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4026 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4027 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4028 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4029 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4030 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4031 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4032
f4efbdfb
PE
40332018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4034
620a5d4c
PE
4035 regex: simplify by using intprops.h
4036 [BZ#23744]
4037 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4038 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4039 intprops.h defines them.
4040
f4efbdfb
PE
4041 regex: __builtin_expect → __glibc_unlikely
4042 [BZ#23744]
4043 This refactoring was prompted by a problem when the regex code is
4044 used as part of Gnulib and when the builder’s compiler does not grok
4045 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4046 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4047 Although this refactoring does not fix the problem directly,
4048 we might as well have Gawk use the now-preferred glibc style for when
4049 __builtin_expect is unavailable.
4050 * posix/regex_internal.h (BE): Remove.
4051 All uses replaced by __glibc_unlikely or __glibc_likely.
4052
9f9feb6d
JM
40532018-10-11 Joseph Myers <joseph@codesourcery.com>
4054
4055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4056 bits/msq-pad.h.
4057 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4058 instead of <bits/wordsize.h>.
4059 (msgqnum_t): Define as __syscall_ulong_t.
4060 (msglen_t): Likewise.
4061 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4062 and [__MSQ_PAD_AFTER_TIME].
4063 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4064 __syscall_ulong_t instead of unsigned long int.
4065 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4066 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4067 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4068 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4069 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4070 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4071 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4072 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4073 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4074 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4075 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4076
b9c0f6c1
JM
40772018-10-10 Joseph Myers <joseph@codesourcery.com>
4078
2a4b25fa
JM
4079 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4080 (struct shmid_ds): Condition padding after time fields on
4081 [__WORDSIZE == 32].
4082 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4083 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4084 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4085
19e62f26
JM
4086 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4087 (struct semid_ds): Condition padding after time fields on
4088 [__WORDSIZE == 32].
4089 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4090 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4091 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4092 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4093
b9c0f6c1
JM
4094 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4095 (struct msqid_ds): Condition padding after time fields on
4096 [__WORDSIZE == 32].
4097 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4098 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4099 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4100 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4101
97785a61
SN
41022018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4103
4104 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4105
ed643089
SN
41062018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4107
4108 * libio/tst-readline.c (TIMEOUT): Define.
4109
5a580643
PE
41102018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4111
4112 mktime fix for Gnulib + coreutils
4113 [BZ#23745]
4114 This fix affects only Gnulib. Problem discovered when
4115 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4116 * time/mktime.c:
4117 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4118 Do not define since it is not used. Defining an unused static
4119 function prompts a warning from GCC when Coreutils is configured
4120 with --enable-gcc-warnings.
4121
c892ae04
LS
41222018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4123
4124 * benchtests/scripts/compare_bench.py (main): set float type on
4125 threshold argument.
4126
a68ec8ea
RL
41272018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
4128
4129 [BZ #23740]
4130 * localedata/locales/kl_GL (mon): Update, the relative case.
4131 (alt_mon): Add, fill with month names in the nominative case.
4132 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
4133 (d_fmt): Set to "%b %d %Y".
4134
a1987621
JM
41352018-10-04 Joseph Myers <joseph@codesourcery.com>
4136
47c49251
JM
4137 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4138 <bits/mman-linux.h>.
4139 (PROT_READ): Don't define here.
4140 (PROT_WRITE): Likewise.
4141 (PROT_EXEC): Likewise.
4142 (PROT_NONE): Likewise.
4143 (PROT_GROWSDOWN): Likewise.
4144 (PROT_GROWSUP): Likewise.
4145 (MAP_SHARED): Likewise.
4146 (MAP_PRIVATE): Likewise.
4147 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
4148 [__USE_MISC] (MAP_FILE): Likewise.
4149 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
4150 [__USE_MISC] (MAP_ANON): Likewise.
4151 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
4152 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
4153 (MCL_CURRENT): Likewise.
4154 (MCL_FUTURE): Likewise.
4155 (MCL_ONFAULT): Likewise.
4156 [__USE_MISC] (MADV_NORMAL): Likewise.
4157 [__USE_MISC] (MADV_RANDOM): Likewise.
4158 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
4159 [__USE_MISC] (MADV_WILLNEED): Likewise.
4160 [__USE_MISC] (MADV_DONTNEED): Likewise.
4161 [__USE_MISC] (MADV_FREE): Likewise.
4162 [__USE_MISC] (MADV_REMOVE): Likewise.
4163 [__USE_MISC] (MADV_DONTFORK): Likewise.
4164 [__USE_MISC] (MADV_DOFORK): Likewise.
4165 [__USE_MISC] (MADV_HWPOISON): Likewise.
4166 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
4167 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
4168 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
4169 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
4170 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
4171 (__MAP_ANONYMOUS): New macro.
4172 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
4173 <bits/mman-linux.h> inclusion.
4174 (MAP_FIXED): Likewise.
4175 (MS_SYNC): Likewise.
4176 (MS_ASYNC): Likewise.
4177 (MS_INVALIDATE): Likewise.
4178 [__USE_MISC] (MADV_MERGEABLE): Likewise.
4179 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
4180 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
4181 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
4182 [__USE_MISC] (MADV_DONTDUMP): Likewise.
4183 [__USE_MISC] (MADV_DODUMP): Likewise.
4184 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4185 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4186
a1987621
JM
4187 [BZ #23735]
4188 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
4189 Define.
4190 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
4191 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
4192 Add test-nldbl-redirect.
4193 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
4194 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
4195 $(objpfx)libnldbl_nonshared.a.
4196
e7624d70
SL
41972018-10-04 Stefan Liebler <stli@linux.ibm.com>
4198
4199 * support/support.h (support_objdir_elf_ldso): New variable.
4200 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
4201 * support/Makefile (CFLAGS-support_paths.c): Add definition
4202 for OBJDIR_ELF_LDSO_PATH.
4203 * support/test-container.c (main): Search for the ld.so
4204 which is also used by the testsuite.
4205
dae3ed95
RL
42062018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
4207
4208 [BZ #20209]
4209 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
4210 should be "sap" rather than "sab".
4211 (day): Fix spelling of Sunday, should be "sapaat" rather than
4212 "sabaat".
4213
f346b5b3
JM
42142018-10-02 Joseph Myers <joseph@codesourcery.com>
4215
4216 * math/libm-test-fma.inc (fma_test_data): Add more tests.
4217
4a06ceea
MJ
42182018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
4219
4220 [BZ #19444]
4221 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
4222 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
4223 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
4224
a06fc4a5
AZ
42252018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4226
4227 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
4228
a1ccc065
L
42292018-10-02 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
4232 Add -mrtm.
4233 (CFLAGS-elision-unlock.c): Likewise.
4234 (CFLAGS-elision-timed.c): Likewise.
4235 (CFLAGS-elision-trylock.c): Likewise.
4236 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
4237
0b727ed4
AZ
42382018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4239
4240 [BZ #21037]
4241 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
4242 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
4243 new fd_to_filename interface.
4244 * libio/freopen64.c (freopen64): Likewise.
4245 * libio/tst-memstream.h: New file.
4246 * libio/tst-memstream4.c: Likewise.
4247 * libio/tst-wmemstream4.c: Likewise.
4248 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
4249 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
4250 and remove internal dynamic allocation.
4251
d0e91e8c
JM
42522018-10-01 Joseph Myers <joseph@codesourcery.com>
4253
4254 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4255 (MREMAP_MAYMOVE): Do not define here.
4256 [__USE_GNU] (MREMAP_FIXED): Likewise.
4257 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
4258 (MREMAP_MAYMOVE): Define here instead.
4259 [__USE_GNU] (MREMAP_FIXED): Likewise.
4260 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
4261 (MREMAP_MAYMOVE): Remove.
4262 [__USE_GNU] (MREMAP_FIXED): Likewise.
4263
c52944e8
JM
42642018-09-28 Joseph Myers <joseph@codesourcery.com>
4265
4266 * math/fromfp.h: Do not include <math_private.h>.
4267 * math/s_cacosh_template.c: Likewise.
4268 * math/s_casin_template.c: Likewise.
4269 * math/s_casinh_template.c: Likewise.
4270 * math/s_ccos_template.c: Likewise.
4271 * math/s_cproj_template.c: Likewise.
4272 * math/s_fdim_template.c: Likewise.
4273 * math/s_fmaxmag_template.c: Likewise.
4274 * math/s_fminmag_template.c: Likewise.
4275 * math/s_iseqsig_template.c: Likewise.
4276 * math/s_ldexp_template.c: Likewise.
4277 * math/s_nextdown_template.c: Likewise.
4278 * math/w_log1p_template.c: Likewise.
4279 * math/w_scalbln_template.c: Likewise.
4280 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4281 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4282 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4283 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4284 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
4285 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
4286 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4287 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4288 * sysdeps/i386/fpu/s_atanl.c: Likewise.
4289 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4290 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4291 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4292 * sysdeps/i386/fpu/s_logbl.c: Likewise.
4293 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4294 * sysdeps/i386/fpu/s_significandl.c: Likewise.
4295 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
4296 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4301 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4302 * sysdeps/ieee754/k_standardf.c: Likewise.
4303 * sysdeps/ieee754/k_standardl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4306 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4312 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4313 * sysdeps/ieee754/s_signgam.c: Likewise.
4314 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4315 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
4316 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
4317 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4318 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4319 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4320 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4321 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4322 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4323 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4324 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4325 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4326 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4327 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4328 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4329 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4330 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4331 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4332 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4333 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4334 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4335 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4336 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4337 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4338 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4339 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4340 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4341 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4342 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4343 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4344 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4345 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4346 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4347 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4348 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4349 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4350 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
4351 <math_private.h>.
4352 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4353
7b1f9406
L
43542018-09-28 H.J. Lu <hongjiu.lu@intel.com>
4355
4356 [BZ #23716]
4357 * sysdeps/i386/dl-cet.c: Removed.
4358 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
4359 prototype.
4360 (_dl_runtime_profile_shstk): Likewise.
4361 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
4362 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
4363
7a16bdbb
AZ
43642018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4365
4366 [BZ #23579]
4367 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
4368 do_test_with_invalid_iov): New tests.
4369 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
4370 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
4371 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
4372 errno is ENOSYS.
4373 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4374 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4375 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4376
9755bc46
JM
43772018-09-27 Joseph Myers <joseph@codesourcery.com>
4378
81dca813
JM
4379 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4380 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
4381 (MATH_REDIRECT_BINARY_ARGS): New macro.
4382 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4383 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
4384 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
4385 header inclusion.
4386 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4388 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
4389 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4394 Likewise.
4395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4396 Likewise.
4397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4399 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
4400 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
4402 Likewise.
4403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
4404 Likewise.
4405 * sysdeps/generic/math_private_calls.h
4406 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
4407 Do not declare and define as an inline function.
4408 * math/divtc3.c (__divtc3): Use copysign functions instead of
4409 __copysign variants.
4410 * math/multc3.c (__multc3): Likewise.
4411 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
4412 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
4413 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4414 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4415 Likewise.
4416 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4417 (__ieee754_yn): Likewise.
4418 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4419 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
4420 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4421 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4422 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
4423 (__sin): Likewise.
4424 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
4425 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4426 Likewise.
4427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4428 Likewise.
4429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4430 Likewise.
4431 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4432 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4433 Likewise.
4434 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4435 (__ieee754_ynf): Likewise.
4436 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4437 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4438 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4439 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4440 Likewise.
4441 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4442 (__ieee754_ynl): Likewise.
4443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4446 Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4448 (__ieee754_ynl): Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4452 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4453 Likewise.
4454 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4455 (__ieee754_ynl)
4456 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
4457 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4458 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
4459 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4460 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4461
9755bc46
JM
4462 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4463 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
4464 using MATH_REDIRECT.
4465 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
4466 header inclusion.
4467 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
4468 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4469 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4470 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
4471 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
4475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
4476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
4477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
4478 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4479 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4480 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4481 (round): Redirect to __round.
4482 (__roundl): Call round instead of __round.
4483 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
4484 Remove macro.
4485 [_ARCH_PWR5X] (__roundf): Likewise.
4486 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
4487 functions instead of __round variants.
4488 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4489 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4490 Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4492 Likewise.
4493 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4494 Likewise.
4495 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
4497 __lroundl.
4498 (__ieee754_expl): Call roundl instead of __roundl.
4499
f841c97e
AS
45002018-09-27 Andreas Schwab <schwab@suse.de>
4501
4502 [BZ #23717]
4503 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
4504 (do_test): Make st1 static.
4505
6ca8284e
AS
45062018-09-26 Andreas Schwab <schwab@suse.de>
4507
4508 [BZ #23707]
4509 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
4510 * elf/Makefile (tests): Add tst-unwind-ctor.
4511 (modules-names): Add tst-unwind-ctor-lib.
4512 ($(objpfx)tst-unwind-ctor): Depend on
4513 $(objpfx)tst-unwind-ctor-lib.so.
4514
61d8b5fe
JM
45152018-09-26 Joseph Myers <joseph@codesourcery.com>
4516
4517 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
4518 file. Most contents moved from ....
4519 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
4520 and include <bits/mman-map-flags-generic.h>.
4521 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4522 (sysdep_headers): Add bits/mman-map-flags-generic.h.
4523 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
4524 <bits/mman-map-flags-generic.h>.
4525 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
4526 macros defined in <bits/mman-map-flags-generic.h>.
4527 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
4528 <bits/mman-map-flags-generic.h>.
4529 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
4530 defined in <bits/mman-map-flags-generic.h>.
4531
46341286
AS
45322018-09-26 Andreas Schwab <schwab@suse.de>
4533
4534 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
4535 output.
4536
b5c45e83
AZ
45372018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
4538 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4539 Fangrui Song <maskray@google.com>
4540
4541 [BZ #20480]
4542 * config.make.in (have-textrel_ifunc): New define.
4543 * configure.ac: Add check if linker supports textrel relocation with
4544 ifunc.
4545 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
4546 tst-ifunc-textrel.
4547 (CFLAGS-tst-ifunc-textrel.c): New rule.
4548 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
4549 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
4550 * elf/tst-ifunc-textrel.c: New file.
4551
8ea4d2b7
JM
45522018-09-25 Joseph Myers <joseph@codesourcery.com>
4553
d62f9ec0
JM
4554 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4555 <bits/procfs-prregset.h>.
4556 (prgregset_t): Define using __prgregset_t.
4557 (prfpregset_t): Define using __prfpregset_t.
4558 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4559 (sysdep_headers): Add bits/procfs-prregset.h.
4560 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
4561 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
4562 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
4563 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
4564
d0d8eb43
JM
4565 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4566 <bits/procfs-id.h> and <bits/procfs-extra.h>.
4567 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
4568 pr_uid and pr_gid.
4569 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4570 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
4571 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
4572 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
4573 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
4574 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
4575 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
4576 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
4577 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
4578 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
4579 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
4580 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
4581 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
4582 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
4583 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
4584 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
4585 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
4586 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
4587 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
4588 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
4589 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
4590 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
4591 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4592 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
4593
8ea4d2b7
JM
4594 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
4595 AArch64 version. Include <bits/procfs.h>.
4596 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4597 (sysdep_headers): Add bits/procfs.h.
4598 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
4599 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
4600 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
4601 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
4602 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
4603 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
4604 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
4606 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
4607 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
4608 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
4609 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
4610 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
4611 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4612 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
4613 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4614 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
4615
c7027166
AZ
46162018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4617
4618 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
4619 Use libsupport.
4620
335a3b0a
AS
46212018-09-25 Arjun Shankar <arjun@redhat.com>
4622
4623 * iconv/gconv_int.h (__gconv_path_elem): Remove.
4624 (__gconv_max_path_elem_len): Likewise.
4625 (__gconv_nmodules): Likewise.
4626 (__gconv_get_path): Likewise.
4627 (path_elem): Move to ...
4628 * iconv/gconv_conf.c: ... here.
4629 (__gconv_get_path): Mark function static.
4630 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
4631 * iconv/gconv_open.c: ... here.
4632
462d348c
AS
46332018-09-24 Andreas Schwab <schwab@suse.de>
4634
4635 * scripts/haveversions.awk: New file.
4636 * Makerules ($(common-objpfx)Versions.def)
4637 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4638 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4639 Move rules ...
4640 * Makeconfig ($(common-objpfx)Versions.def)
4641 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4642 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4643 ... here.
4644 ($(common-objpfx)Versions.mk): New rule. Include it.
4645 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
4646 Emit error if build-obsolete-nsl = yes.
4647 * manual/install.texi (Configuring and compiling): Describe
4648 --enable-obsolete-nsl as unavaiable after version 2.28.
4649 * INSTALL: Regenerate.
4650
f0458cf4
AZ
46512018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4652
4653 * NEWS: Add note about new TLE support on powerpc64le.
4654 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
4655 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
4656 __ununsed1.
4657 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
4658 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
4659 * sysdeps/powerpc/powerpc32/sysdep.h,
4660 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
4661 ABORT_TRANSACTION): Remove macros.
4662 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
4663 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
4664 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
4666 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4667 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
4668 usage.
4669 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
4670
434d45fd
RL
46712018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
4672
4673 [BZ #10425]
4674 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
4675 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
4676 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
4677 which is the same as in it_IT.
4678 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
4679 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
4680
d90c9b1a
JM
46812018-09-20 Joseph Myers <joseph@codesourcery.com>
4682
7abf97be
JM
4683 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4684 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
4685 using MATH_REDIRECT.
4686 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
4687 header inclusion.
4688 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
4689 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4690 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
4691 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4692 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
4695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
4696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
4697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
4698 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4699 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4700 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4701 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4702 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
4703 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
4704 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4706 (ceil): Redirect to __ceil.
4707 (floor): Redirect to __floor.
4708 (trunc): Redirect to __trunc.
4709 (__truncl): Call trunc instead of __trunc.
4710 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
4711 Remove macro.
4712 [_ARCH_PWR5X] (__truncf): Likewise.
4713 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
4714 trunc functions instead of __trunc variants.
4715 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4716 Likewise.
4717 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4718 Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4720 Likewise.
4721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4722 Likewise.
4723
d90c9b1a
JM
4724 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
4725 [__i586__ || __pentium__].
4726 [__i486__]: Handle explicitly.
4727 (HAS_CPUID): Define to 1 if above macros are undefined.
4728 (HAS_I586): Likewise.
4729 (HAS_I686): Likewise.
4730
db9a8ad4
FW
47312018-09-20 Florian Weimer <fweimer@redhat.com>
4732
4733 * misc/tst-gethostid.c: New file.
4734 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
4735 (tst-gethostid): Link with -ldl.
4736
1214ba06
MY
47372018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
4738
4739 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
4740 value from gethostbyname_r.
4741
791b350d
CD
47422018-09-19 Carlos O'Donell <carlos@redhat.com>
4743
4744 * stdlib/tst-setcontext9.c (f1): Rename to...
4745 (f1a): ... this.
4746 (f1b): New function implementing lower half of f1 in alternate stack.
4747
8e6fd2bd
PE
47482018-09-19 Paul Eggert <eggert@cs.ucla.edu>
4749
e1080e7e
PE
4750 Fix mktime localtime offset confusion
4751 [BZ #23603]
4752 * include/time.h (__mktime_internal): The localtime offset is now
4753 of type long int instead of time_t. This is the longstanding type
4754 in glibc, and it is more than enough to represent difference
4755 between localtime and gmtime even if it is 32 bits and time_t is
4756 64. Changing it now will let us avoid an unnecessary change when
4757 time_t is widened to 64 bits on 32-bit platforms.
4758 * time/mktime-internal.h (mktime_offset_t): Now long int.
4759
8e6fd2bd
PE
4760 Merge mktime, timegm from upstream Gnulib
4761 [BZ #23603][BZ #16346]
4762 This fixes some obscure problems with integer overflow.
4763 Although it looks scary, it is almost all a byte-for-byte copy
4764 from Gnulib, and the Gnulib code has been tested reasonably well.
4765 * include/intprops.h: New file, copied from Gnulib.
4766 * include/verify.h, time/mktime-internal.h:
4767 New tiny files, simplified from Gnulib.
4768 * time/mktime.c: Copy from Gnulib. This has the following changes:
4769 Do not include config.h if DEBUG_MKTIME is nonzero.
4770 Include stdbool.h, intprops.h, verify.h.
4771 Include string.h only if needed.
4772 Include stdlib.h on MS-Windows.
4773 Include mktime-internal.h.
4774 (DEBUG_MKTIME): Default to 0, and simplify later uses.
4775 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
4776 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
4777 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
4778 simplify later conditionals; default the others to zero. Use
4779 these conditionals to express only the code needed on the current
4780 platform. In uses of these conditionals, explicitly spell out how
4781 _LIBC affects things, so it’s easier to review from a glibc
4782 viewpoint.
4783 (WRAPV): Remove; no longer needed now that we have
4784 systematic overflow checking.
4785 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
4786 compartmentalize tzset issues. Move system-dependent tzsettish
4787 code here from mktime.
4788 (verify): Remove; now done by verify.h. All uses changed.
4789 (long_int): Use a more-conservative definition, to avoid
4790 integer overflow.
4791 (SHR): Remove, replacing with ...
4792 (shr): New function, which means we needn’t worry about side
4793 effects in args, and conversion analysis is simpler.
4794 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
4795 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
4796 (time_t_avg, time_t_add_ok): Remove.
4797 (mktime_min, mktime_max): New constants.
4798 (leapyear, isdst_differ): Use bool for booleans.
4799 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
4800 Use long_int, not time_t, for mktime differences.
4801 (long_int_avg): New function, replacing time_t_avg.
4802 INT_ADD_WRAPV replaces time_t_add_ok.
4803 (guess_time_tm): 6th arg is now long_int, not time_t const *.
4804 All uses changed.
4805 (convert_time): New function.
4806 (ranged_convert): Use it.
4807 (__mktime_internal): Last arg now points to mktime_offset_t, not
4808 time_t. All uses changed. This is a no-op on glibc, where
4809 mktime_offset_t is always time_t. Use int, not time_t, for UTC
4810 offset guess. Directly check for integer overflow instead of
4811 using a heuristic that works only 99.9...% of the time.
4812 Access *OFFSET only once, to avoid an unlikely race if the
4813 compiler delays a load and if this cascades into a signed integer
4814 overflow.
4815 (mktime): Move tzsettish code to my_tzset, and move
4816 localtime_offset to within mktime so that it doesn’t
4817 need a separate ifdef.
4818 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
4819 instead of localtime.
4820 * time/timegm.c: Copy from Gnulib. This has the following changes:
4821 Include mktime-internal.h.
4822 [!_LIBC]: Include config.h and time.h. Do not include
4823 timegm.h or time_r.h. Make __mktime_internal a macro,
4824 and include mktime-internal.h to get its declaration.
4825 (timegm): Temporary is now mktime_offset_t, not time_t.
4826 This affects only Gnulib.
4827
83a552b0
WD
48282018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
4829
4830 [BZ #23637]
4831 * string/test-strstr.c (pr23637): New function.
4832 (test_main): Add tests with longer needles.
4833 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
4834 * string/strstr.c (AVAILABLE): Likewise.
4835
d7347278
SN
48362018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
4837
4838 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
4839
424c4f60
SN
48402018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
4841
4842 * NEWS: Mention pow improvements.
4843 * math/Makefile (type-double-routines): Add e_pow_log_data.
4844 * sysdeps/generic/math_private.h (__exp1): Remove.
4845 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
4846 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
4847 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
4848 contraction.
4849 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
4850 (exp_inline): Remove.
4851 (__ieee754_exp): Only single double input is handled.
4852 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
4853 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
4854 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
4855 (__pow_log_data): Define.
4856 * sysdeps/ieee754/dbl-64/upow.h: Remove.
4857 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
4858 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
4859 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
4860 contraction.
4861 (CFLAGS-e_pow-fma4.c): Likewise.
4862
e4e4fde5
PE
48632018-09-18 Paul Eggert <eggert@cs.ucla.edu>
4864
dab9c348
PE
4865 Simplify tzfile fstat failure code
4866 [BZ #21716]
4867 * time/tzfile.c (__tzfile_read): Simplify slightly.
4868
e4e4fde5
PE
4869 Fix tzfile low-memory assertion failure
4870 [BZ #21716]
4871 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
4872 when registering time zone abbreviations.
4873
50bc59ca
JM
48742018-09-18 Joseph Myers <joseph@codesourcery.com>
4875
d3a43e49
JM
4876 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
4877 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
4878 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
4879 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
4880 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
4881 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
4882 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
4883 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4884 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4885
50bc59ca
JM
4886 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
4887 __ceil.
4888 (__ceill): Call ceil instead of __ceil.
4889 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
4890 __floor.
4891 (__floorl): Call floor instead of __floor.
4892
89983cb3
JM
48932018-09-17 Joseph Myers <joseph@codesourcery.com>
4894
71223ef9
JM
4895 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4896 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
4897 using MATH_REDIRECT.
4898 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
4899 header inclusion.
4900 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4903 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
4904 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4905 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4907 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
4908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
4909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
4910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
4911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
4912 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4913 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4916 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4917 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4918 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
4919 Remove macro.
4920 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
4921 functions instead of __ceil variants.
4922 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4923 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4924 Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4926 Likewise.
4927 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4928 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4929 Likewise.
4930 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4931 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4932
89983cb3
JM
4933 [BZ #21286]
4934 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
4935 constant.
4936 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
4937 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
4938 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
4939 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
4940 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
4941 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
4942 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
4943 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
4944 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
4945 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4946 (ILL_BADIADDR): Remove constant.
4947 (TRAP_BRANCH): Likewise.
4948 (TRAP_HWBKPT): Likewise.
4949
e44acb20
JM
49502018-09-14 Joseph Myers <joseph@codesourcery.com>
4951
3f7f1d18
JM
4952 [BZ #23656]
4953 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
4954 Remove [_MIPS_SIM = _ABIN32] conditional case.
4955 (struct elf_prpsinfo): Likewise.
4956
d59f3e5e
JM
4957 [BZ #23649]
4958 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
4959 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
4960 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
4961 Likewise.
4962 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
4963 elf_prpsinfo): Likewise.
4964 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
4965 elf_prpsinfo): Likewise.
4966 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
4967 Likewise.
4968
f29b6f17
JM
4969 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4970 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
4971 using MATH_REDIRECT.
4972 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
4973 header inclusion.
4974 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
4975 * sysdeps/alpha/fpu/s_rint.c: Likewise.
4976 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
4977 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4978 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4979 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4980 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
4981 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4982 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4984 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
4985 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
4986 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
4987 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
4988 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
4989 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4990 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4991 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
4992 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
4994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
4995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4997 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4998 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4999 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5000 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5001 __rint variants.
5002 * math/e_scalbf.c (invalid_fn): Likewise.
5003 * math/e_scalbl.c (invalid_fn): Likewise.
5004 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5005 Likewise.
5006 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5007 Likewise.
5008 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5009 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5010 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5011 Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5013 Likewise.
5014 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5015 Likewise.
5016 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5017 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5018
e44acb20
JM
5019 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5020 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5021 New macro.
5022 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5023 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5024 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5025 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5026 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5027 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5028 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5029 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5030 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5031 && !NO_MATH_REDIRECT] (floor): Likewise.
5032 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5033 header inclusion.
5034 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5036 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5037 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5038 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5041 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5046 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5047 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5050 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5051 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5052 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5053 Remove macro.
5054 [_ARCH_PWR5X] (__floorf): Likewise.
5055 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5056 inline function.
5057 [__SSE4_1__] (__floorf): Likewise.
5058 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5059 instead of __floor variants.
5060 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5061 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5062 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5063 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5064 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5065 * math/w_tgamma_compat.c (__tgamma): Likewise.
5066 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5067 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5068 * math/w_tgammal_compat.c (__tgammal): Likewise.
5069 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5071 Likewise.
5072 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5074 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5075 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5076 Likewise.
5077 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5078 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5079 Likewise.
5080 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5081 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5082 Likewise.
5083 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5084 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5085 Likewise.
5086 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5087 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5088 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5089 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5090 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5091 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5092
221e4bab
JM
50932018-09-12 Joseph Myers <joseph@codesourcery.com>
5094
5095 * elf/Makefile (modules-names-tests): New variable.
5096
3e08ff54
SN
50972018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5098
5099 * NEWS: Mention log2 improvements.
5100 * math/Makefile (type-double-routines): Add e_log2_data.
5101 * sysdeps/i386/fpu/e_log2_data.c: New file.
5102 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5103 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5104 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5105 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5106 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5107 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5108
f41b0a43
SN
51092018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5110
5111 * NEWS: Mention log improvement.
5112 * math/Makefile (type-double-routines): Add e_log_data.
5113 * sysdeps/i386/fpu/e_log_data.c: New file.
5114 * sysdeps/ia64/fpu/e_log_data.c: New file.
5115 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5116 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5117 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5118 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5119 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5120 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5121
5a274db4
L
51222018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5123 Xuepeng Guo <xuepeng.guo@intel.com>
5124
5125 [BZ #23606]
5126 * sysdeps/i386/start.S: Include <sysdep.h>
5127 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
5128 enabled. Add cfi_undefined (eip).
5129
b1176270
JM
51302018-09-11 Joseph Myers <joseph@codesourcery.com>
5131
4e7fbdd7
JM
5132 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
5133 (MOVQ): Likewise.
5134 (EXTRACT_WORDS64): Likewise.
5135 (INSERT_WORDS64): Likewise.
5136 (GET_FLOAT_WORD): Likewise.
5137 (SET_FLOAT_WORD): Likewise.
5138
b1176270
JM
5139 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
5140 argument.
5141 (Config.build_gcc): Use --disable-libsanitizer for first GCC
5142 build, but not for second build if --full-gcc. Use
5143 --enable-languages=all for second build if --full-gcc.
5144 (get_parser): Add --full-gcc option.
5145 (main): Update call to Context.
5146
527f355e
RL
51472018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
5148
5149 [BZ #10797]
5150 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
5151 Single Quotation Mark).
5152 (thousands_sep): Likewise.
5153 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
5154 * localedata/locales/it_IT (thousands_sep): Use ".".
5155 (grouping): Use "3;3".
5156
7244f13d
JM
51572018-09-10 Joseph Myers <joseph@codesourcery.com>
5158
5159 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5160 x86_64 and i686 configs using --enable-obsolete-rpc
5161 --enable-obsolete-nsl.
5162
38245425
SL
51632018-09-06 Stefan Liebler <stli@linux.ibm.com>
5164
5165 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5166
28669f86
SL
51672018-09-06 Stefan Liebler <stli@linux.ibm.com>
5168
5169 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5170 Increment size of new_argv by one.
5171
a33650d1
RL
51722018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
5173
5174 [BZ #17426]
5175 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
5176 * localedata/locales/ar_IN (d_fmt): Likewise.
5177 * localedata/locales/bhb_IN (d_fmt): Likewise.
5178 * localedata/locales/bho_IN (d_fmt): Likewise.
5179 * localedata/locales/bn_BD (d_fmt): Likewise.
5180 * localedata/locales/bn_IN (d_fmt): Likewise.
5181 * localedata/locales/doi_IN (d_fmt): Likewise.
5182 * localedata/locales/gu_IN (d_fmt): Likewise.
5183 * localedata/locales/hi_IN (d_fmt): Likewise.
5184 * localedata/locales/hne_IN (d_fmt): Likewise.
5185 * localedata/locales/kn_IN (d_fmt): Likewise.
5186 * localedata/locales/mag_IN (d_fmt): Likewise.
5187 * localedata/locales/mai_IN (d_fmt): Likewise.
5188 * localedata/locales/mjw_IN (d_fmt): Likewise.
5189 * localedata/locales/ml_IN (d_fmt): Likewise.
5190 * localedata/locales/mni_IN (d_fmt): Likewise.
5191 * localedata/locales/mr_IN (d_fmt): Likewise.
5192 * localedata/locales/pa_IN (d_fmt): Likewise.
5193 * localedata/locales/raj_IN (d_fmt): Likewise.
5194 * localedata/locales/sat_IN (d_fmt): Likewise.
5195 * localedata/locales/sd_IN (d_fmt): Likewise.
5196 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
5197 * localedata/locales/ta_IN (d_fmt): Likewise.
5198 * localedata/locales/ta_LK (d_fmt): Likewise.
5199 * localedata/locales/tcy_IN (d_fmt): Likewise.
5200 * localedata/locales/ur_IN (d_fmt): Likewise.
5201
5202 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
5203 * localedata/locales/ks_IN (d_fmt): Likewise.
5204 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
5205
5206 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
5207 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
5208 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
5209 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
5210
d114e6a7
SN
52112018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5212
5213 * NEWS: Mention exp and exp2 improvements.
5214 * math/Makefile (libm-support): Remove t_exp.
5215 (type-double-routines): Add math_err and e_exp_data.
5216 * sysdeps/aarch64/libm-test-ulps: Update.
5217 * sysdeps/arm/libm-test-ulps: Update.
5218 * sysdeps/i386/fpu/e_exp_data.c: New file.
5219 * sysdeps/i386/fpu/math_err.c: New file.
5220 * sysdeps/i386/fpu/t_exp.c: Remove.
5221 * sysdeps/ia64/fpu/e_exp_data.c: New file.
5222 * sysdeps/ia64/fpu/math_err.c: New file.
5223 * sysdeps/ia64/fpu/t_exp.c: Remove.
5224 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
5225 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
5226 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
5227 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
5228 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
5229 * sysdeps/ieee754/dbl-64/math_config.h: New file.
5230 * sysdeps/ieee754/dbl-64/math_err.c: New file.
5231 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
5232 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
5233 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
5234 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
5235 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
5236 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
5237 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
5238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5240
b9d8c474
JM
52412018-09-05 Joseph Myers <joseph@codesourcery.com>
5242
b7cdc2ae
JM
5243 * sysdeps/alpha/fpu/math_private.h: Remove.
5244
b9d8c474
JM
5245 * sysdeps/generic/math_private.h
5246 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
5247 Move this inline function ....
5248 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
5249 * include/math.h [!_ISOMAC]: To here....
5250
418d99e6
JM
52512018-09-04 Joseph Myers <joseph@codesourcery.com>
5252
5253 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
5254 code ....
5255 [!FE_HAVE_ROUNDING_MODES]: And this code ....
5256 * include/fenv.h [!_ISOMAC]: ... to here.
5257 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
5258 (feraiseexcept): Likewise.
5259 * math/fromfp.h: Do not include <fenv_private.h>.
5260 * math/s_cexp_template.c: Likewise.
5261 * math/s_csin_template.c: Likewise.
5262 * math/s_csinh_template.c: Likewise.
5263 * math/s_ctan_template.c: Likewise.
5264 * math/s_ctanh_template.c: Likewise.
5265 * math/s_iseqsig_template.c: Likewise.
5266 * math/w_acos_compat.c: Likewise.
5267 * math/w_acosf_compat.c: Likewise.
5268 * math/w_acosl_compat.c: Likewise.
5269 * math/w_asin_compat.c: Likewise.
5270 * math/w_asinf_compat.c: Likewise.
5271 * math/w_asinl_compat.c: Likewise.
5272 * math/w_j0_compat.c: Likewise.
5273 * math/w_j0f_compat.c: Likewise.
5274 * math/w_j0l_compat.c: Likewise.
5275 * math/w_j1_compat.c: Likewise.
5276 * math/w_j1f_compat.c: Likewise.
5277 * math/w_j1l_compat.c: Likewise.
5278 * math/w_jn_compat.c: Likewise.
5279 * math/w_jnf_compat.c: Likewise.
5280 * math/w_log10_compat.c: Likewise.
5281 * math/w_log10f_compat.c: Likewise.
5282 * math/w_log10l_compat.c: Likewise.
5283 * math/w_log2_compat.c: Likewise.
5284 * math/w_log2f_compat.c: Likewise.
5285 * math/w_log2l_compat.c: Likewise.
5286 * math/w_log_compat.c: Likewise.
5287 * math/w_logf_compat.c: Likewise.
5288 * math/w_logl_compat.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5294 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5295 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5296 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5297 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5298 * sysdeps/ieee754/k_standardl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5312 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5314 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5316 * math/w_ilogb_template.c: Include <fenv.h> instead of
5317 <fenv_private.h>.
5318 * math/w_llogb_template.c: Likewise.
5319 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5320 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5321
70e2ba33
JM
53222018-09-03 Joseph Myers <joseph@codesourcery.com>
5323
5324 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
5325 * math/fromfp.h: Include <fenv_private.h>.
5326 * math/math-narrow.h: Likewise.
5327 * math/s_cexp_template.c: Likewise.
5328 * math/s_csin_template.c: Likewise.
5329 * math/s_csinh_template.c: Likewise.
5330 * math/s_ctan_template.c: Likewise.
5331 * math/s_ctanh_template.c: Likewise.
5332 * math/s_iseqsig_template.c: Likewise.
5333 * math/w_acos_compat.c: Likewise.
5334 * math/w_acosf_compat.c: Likewise.
5335 * math/w_acosl_compat.c: Likewise.
5336 * math/w_asin_compat.c: Likewise.
5337 * math/w_asinf_compat.c: Likewise.
5338 * math/w_asinl_compat.c: Likewise.
5339 * math/w_ilogb_template.c: Likewise.
5340 * math/w_j0_compat.c: Likewise.
5341 * math/w_j0f_compat.c: Likewise.
5342 * math/w_j0l_compat.c: Likewise.
5343 * math/w_j1_compat.c: Likewise.
5344 * math/w_j1f_compat.c: Likewise.
5345 * math/w_j1l_compat.c: Likewise.
5346 * math/w_jn_compat.c: Likewise.
5347 * math/w_jnf_compat.c: Likewise.
5348 * math/w_llogb_template.c: Likewise.
5349 * math/w_log10_compat.c: Likewise.
5350 * math/w_log10f_compat.c: Likewise.
5351 * math/w_log10l_compat.c: Likewise.
5352 * math/w_log2_compat.c: Likewise.
5353 * math/w_log2f_compat.c: Likewise.
5354 * math/w_log2l_compat.c: Likewise.
5355 * math/w_log_compat.c: Likewise.
5356 * math/w_logf_compat.c: Likewise.
5357 * math/w_logl_compat.c: Likewise.
5358 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5359 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5360 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5361 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5386 * sysdeps/ieee754/float128/float128_private.h: Likewise.
5387 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5388 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5389 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5390 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5391 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5392 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5394 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5395 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5396 * sysdeps/ieee754/k_standardl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5422 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5423 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5427 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5428 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5433 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5434 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5435 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5436 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5437 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5438 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5439 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5440 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5441 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5442 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5443 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5444 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5445 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5446 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5447 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5448 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5449 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5450 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5451 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5452 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5453 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5454 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5455 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5456 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5457 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5458 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5459 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5460 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5461 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5462 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5463 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5464 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5465 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5466 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5467 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5468
a6e8926f
PP
54692018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5470
5471 [BZ #20271]
5472 * include/stdio.h (__libc_fatal): Mention newline in comment.
5473 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
5474 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
5475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5476 * nss/nsswitch.c (__nss_next2): Likewise.
5477 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
5478 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
5479 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
5480 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5481 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
5482 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
5483 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
5484 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
5485 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
5486 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
5487 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
5488 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5489 (__netlink_assert_response): Likewise.
5490
2bbd06bc
JM
54912018-08-31 Joseph Myers <joseph@codesourcery.com>
5492
5493 * conform/glibcconform.py: New file.
5494 * conform/list-header-symbols.py: Likewise.
5495 * conform/list-header-symbols.pl: Remove.
5496 * conform/Makefile (tests-special): Only add linknamespace tests
5497 if [PYTHON].
5498 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
5499
81b9d87b
L
55002018-08-31 H.J. Lu <hongjiu.lu@intel.com>
5501
5502 [BZ #23597]
5503 * support/Makefile (libsupport-routines): Add
5504 support_copy_file_range and xcopy_file_range.
5505 * support/support.h: Include <sys/types.h>.
5506 (support_copy_file_range): New prototype.
5507 * support/support_copy_file_range.c: New file. Copied and
5508 modified from io/copy_file_range-compat.c.
5509 * support/test-container.c (copy_one_file): Call xcopy_file_rang
5510 instead of copy_file_range.
5511 * support/xcopy_file_range.c: New file.
5512 * support/xunistd.h (xcopy_file_range): New prototype.
5513
d330f31a
CD
55142018-08-30 Carlos O'Donell <carlos@redhat.com>
5515
5516 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
5517 xpthread_create and xpthread_join.
5518
2bda273a
FW
55192018-08-30 Florian Weimer <fweimer@redhat.com>
5520
5521 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
5522
3bad2358
SL
55232018-08-30 Stefan Liebler <stli@linux.ibm.com>
5524
5525 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
5526 if malloc fails.
5527
09c12efc
JM
55282018-08-29 Joseph Myers <joseph@codesourcery.com>
5529
5530 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
5531 and minus_oflow as non-finite.
5532
ff6b2450
JM
55332018-08-28 Joseph Myers <joseph@codesourcery.com>
5534
5535 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
5536 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
5537 moved to fenv_private.h except for ...
5538 (TOINT_INTRINSICS): Kept in math_private.h.
5539 (roundtoint): Likewise.
5540 (converttoint): Likewise.
5541 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
5542 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5543 * sysdeps/arm/math_private.h: Remove.
5544 * sysdeps/generic/fenv_private.h: New file. Contents moved from
5545 ....
5546 * sysdeps/generic/math_private.h: ... this file. Include
5547 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
5548 Include <fenv_private.h>. Remove functions and macros moved to
5549 fenv_private.h.
5550 * sysdeps/i386/fpu/math_private.h: Remove.
5551 * sysdeps/mips/math_private.h: Move to ....
5552 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
5553 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
5554 [__mips_hard_float] conditional. Include next <fenv_private.h>.
5555 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
5556 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5557 * sysdeps/powerpc/fpu/math_private.h: Do not include
5558 <fenv_private.h>.
5559 * sysdeps/riscv/rvf/math_private.h: Move to ....
5560 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
5561 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
5562 <fenv_private.h>.
5563 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
5564 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5565 * sysdeps/sparc/fpu/math_private.h: Remove.
5566 * sysdeps/i386/fpu/fenv_private.h: Move to ....
5567 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
5568 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
5569 <fenv_private.h>.
5570 * sysdeps/x86_64/fpu/math_private.h: Do not include
5571 <sysdeps/i386/fpu/fenv_private.h>.
5572
761404b7
FW
55732018-08-28 Florian Weimer <fweimer@redhat.com>
5574
5575 [BZ #23578]
5576 * posix/tst-regcomp-truncated.c: New file.
5577 * posix/Makefile (tests): Add it.
5578 (tst-regcomp-truncated.out): Depend on generated locales.
5579
d6c44c3d
FW
55802018-08-28 Florian Weimer <fweimer@redhat.com>
5581
5582 * support/test-container.c (main): Treat unshare failure with
5583 EPERM as an unsupported test.
5584
745664bd
FW
55852018-08-28 Florian Weimer <fweimer@redhat.com>
5586
5587 [BZ #23520]
5588 nscd: Fix use-after-free in addgetnetgrentX and its callers.
5589 * nscd/netgroupcache.c
5590 (addgetnetgrentX): Add tofreep parameter. Do not free
5591 heap-allocated buffer.
5592 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
5593 (addgetnetgrentX_ignore): New function.
5594 (addgetnetgrent): Call it.
5595 (readdgetnetgrent): Likewise.
5596
c8dd67e7
RS
55972018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5598
5599 * string/memmem.c: Use memcmp for first match.
5600
5abedf97
RL
56012018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5602
5603 [BZ #17426]
5604 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
5605
86de0499
DD
56062018-08-27 DJ Delorie <dj@redhat.com>
5607
5608 * support/Makefile (others): Don't list programs explicitly as a
5609 dependency of "others".
5610
c3ab2110
JM
56112018-08-27 Joseph Myers <joseph@codesourcery.com>
5612
5613 * sysdeps/generic/math-tests-trap-force.h: New file.
5614 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
5615 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
5616 * sysdeps/powerpc/math-tests.h: Remove file.
5617 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
5618
99ea93ca
MK
56192018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
5620 Torvald Riegel <triegel@redhat.com>
5621
5622 [BZ #23538]
5623 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
5624 Update r to include the set wake-request flag if waiters are
5625 remaining after spinning.
5626
4061791f
JM
56272018-08-27 Joseph Myers <joseph@codesourcery.com>
5628
5629 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
5630
bc680b33
PE
56312018-08-25 Paul Eggert <eggert@cs.ucla.edu>
5632
761404b7 5633 [BZ #23578]
bc680b33
PE
5634 regex: fix uninitialized memory access
5635 I introduced this bug into gnulib in commit
5636 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
5637 eventually it was merged into glibc. The bug was found by
5638 project-repo <bugs@feusi.co> and reported here:
5639 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
5640 Diagnosis and draft fix reported by Assaf Gordon here:
5641 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
5642 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
5643 * posix/regex_internal.c (build_wcs_upper_buffer):
5644 Fix bug when mbrtowc returns 0.
5645
02458a52
CD
56462018-08-24 Carlos O'Donell <carlos@redhat.com>
5647
5648 * po/be.po: Update translation.
5649
acc2842a
DD
56502018-08-24 DJ Delorie <dj@delorie.com>
5651
5652 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
5653 $(libunwind).
5654
6c3a8a9d
PP
56552018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5656
5657 [BZ #23400]
5658 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
5659 create temporary files in source tree.
5660
895ef79e
JM
56612018-08-24 Joseph Myers <joseph@codesourcery.com>
5662
5663 * sysdeps/generic/math-tests-trap.h: New file.
5664 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
5665 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
5666 * sysdeps/aarch64/math-tests.h: Remove file.
5667 * sysdeps/arm/math-tests.h: Likewise.
5668 * sysdeps/riscv/math-tests.h: Likewise.
5669 * sysdeps/aarch64/math-tests-trap.h: New file.
5670 * sysdeps/arm/math-tests-trap.h: Likewise.
5671 * sysdeps/riscv/math-tests-trap.h: Likewise.
5672
ca3aac57
WD
56732018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
5674
5675 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
5676 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
5677 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
5678 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
5679 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
5680 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
5684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5685 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5687 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5688 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
5689 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
5690 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
5691 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5692 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5693
60bcac09
JM
56942018-08-23 Joseph Myers <joseph@codesourcery.com>
5695
5696 * sysdeps/generic/math-tests-exceptions.h: New file.
5697 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
5698 (EXCEPTION_TESTS_float): Do not define here.
5699 (EXCEPTION_TESTS_double): Likewise.
5700 (EXCEPTION_TESTS_long_double): Likewise.
5701 (EXCEPTION_TESTS_float128): Likewise.
5702 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
5703 Likewise.
5704 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
5705 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
5706 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
5707 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
5708 * sysdeps/mips/math-tests.h: Likewise.
5709 * sysdeps/nios2/math-tests.h: Likewise.
5710 * sysdeps/riscv/math-tests.h [!__riscv_flen]
5711 (EXCEPTION_TESTS_float): Do not define here.
5712 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
5713 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
5714 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
5715
3bded567
WD
57162018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
5717
5718 * NEWS: Move optimized sinf entry to 2.29.
5719
900fb446
WD
57202018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
5721
5722 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
5723
561b0bec
DD
57242018-08-22 DJ Delorie <dj@redhat.com>
5725
5726 * Makefile (testroot.pristine): New rules to initialize the
5727 test-in-container "testroot".
5728 * Makerules (all-testsuite): Add tests-container.
5729 * Rules (tests-expected): Add tests-container.
5730 (binaries-all-tests): Likewise.
5731 (tests-container): New, run these tests in the testroot container.
5732 * support/Makefile (others): Add *-container, support_paths.c,
5733 xmkdirp, and links-dso-program.
5734 * support/links-dso-program-c.c: New.
5735 * support/links-dso-program.cc: New.
5736 * support/test-container.c: New.
5737 * support/shell-container.c: New.
5738 * support/echo-container.c: New.
5739 * support/true-container.c: New.
5740 * support/xmkdirp.c: New.
5741 * support/xsymlink.c: New.
5742 * support/support_paths.c: New.
5743 * support/support.h: Add support paths prototypes.
5744 * support/xunistd.h: Add xmkdirp () and xsymlink ().
5745
5746 * nss/tst-nss-test3.c: Convert to test-in-container.
5747 * nss/tst-nss-test3.root/: New.
5748
b35d3509
PE
57492018-08-22 Paul Eggert <eggert@cs.ucla.edu>
5750
5751 regex: port Gnulib code to z/OS POSIX environment
5752 Problem reported by Arnold Robbins in:
5753 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
5754 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
5755 Undef.
5756
16a25138
JM
57572018-08-22 Joseph Myers <joseph@codesourcery.com>
5758
debc4c98
JM
5759 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
5760 (ROUNDING_TESTS_double): Remove.
5761 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
5762 (ROUNDING_TESTS_double): Remove.
5763 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
5764 (ROUNDING_TESTS_double): Remove.
5765 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
5766 (ROUNDING_TESTS_float): Remove.
5767 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
5768 (ROUNDING_TESTS_float): Remove.
5769 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
5770 (ROUNDING_TESTS_float): Remove.
5771 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
5772 !TEST_MATHVEC here.
5773 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5774 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5775
16a25138
JM
5776 * sysdeps/generic/math-tests-rounding.h: New file.
5777 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
5778 (ROUNDING_TESTS_float): Do not define here.
5779 (ROUNDING_TESTS_double): Likewise.
5780 (ROUNDING_TESTS_long_double): Likewise.
5781 (ROUNDING_TESTS_float128): Likewise.
5782 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
5783 (ROUNDING_TESTS_double): Undefine before defining.
5784 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
5785 (ROUNDING_TESTS_double): Undefine before defining.
5786 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
5787 (ROUNDING_TESTS_double): Undefine before defining.
5788 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
5789 (ROUNDING_TESTS_float): Undefine before defining.
5790 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
5791 (ROUNDING_TESTS_float): Undefine before defining.
5792 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
5793 (ROUNDING_TESTS_float): Undefine before defining.
5794 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
5795 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
5796 not define here.
5797 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
5798 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
5799 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
5800 * sysdeps/riscv/math-tests.h [!__riscv_flen]
5801 (ROUNDING_TESTS_float): Do not define here.
5802 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
5803 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
5804 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
5805 (ROUNDING_TESTS_float): Likewise.
5806 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
5807 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
5808 * sysdeps/mips/math-tests.h [__mips_soft_float]
5809 (ROUNDING_TESTS_float): Likewise.
5810 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
5811 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
5812 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
5813 (ROUNDING_TESTS_double): Likewise.
5814 (ROUNDING_TESTS_long_double): Likewise.
5815
38b0593e
TK
58162018-08-21 Tobias Klauser <tklauser@distanz.ch>
5817
5818 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
5819 (PF_XDP): New macro.
5820 (AF_XDP): New macro.
5821 (SOL_XDP): New macro.
5822
5cd7dbde
JM
58232018-08-21 Joseph Myers <joseph@codesourcery.com>
5824
5825 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
5826 (TCP_INQ): Likewise.
5827 (TCP_CM_INQ): Likewise.
5828 (TCP_REPAIR_ON): Likewise.
5829 (TCP_REPAIR_OFF): Likewise.
5830 (TCP_REPAIR_OFF_NO_WP): Likewise.
5831 (struct tcp_zerocopy_receive): New type.
5832
aa42b3db
FW
58332018-08-21 Florian Weimer <fweimer@redhat.com>
5834
5835 * support/support.h (support_descriptor_supports_holes): Declare.
5836 * support/Makefile (libsupport-routines): Add
5837 support_descriptor_supports_holes.
5838 * support/support_descriptor_supports_holes.c: New file.
5839 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
5840 and stop testing if holes are not supported.
5841 * io/test-lfs.c (do_prepare): Likewise.
5842 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
5843 Likewise.
5844 * timezone/tst-tzset.c (create_tz_file): Likewise.
5845 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
5846 variable.
5847 (do_prepare): Set it.
5848 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
5849
c7627f41
FW
58502018-08-21 Florian Weimer <fweimer@redhat.com>
5851
5852 [BZ #17248]
5853 * Makeconfig (+cflags): Do not sort (and deduplicate).
5854
ef939d92
FW
58552018-08-21 Florian Weimer <fweimer@redhat.com>
5856
5857 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
5858 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
5859
88ffb39d
FW
58602018-08-20 Florian Weimer <fweimer@redhat.com>
5861
5862 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
5863 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
5864
17419540
JM
58652018-08-20 Joseph Myers <joseph@codesourcery.com>
5866
e6edd40d
JM
5867 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
5868 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
5869 and ssi_arch members.
5870
17419540
JM
5871 * elf/elf.c (NT_VMCOREDD): New macro.
5872 (AT_MINSIGSTKSZ): Likewise.
5873
fa78896b
RS
58742018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5875
5876 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5877 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
5878 s_cosf-ppc64 and s_cosf-power8.
5879 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
5880 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5881 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5882 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
5887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5889 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5890 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5891
86a6c75a
FW
58922018-08-17 Florian Weimer <fweimer@redhat.com>
5893
5894 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5895
35cfefd9
FW
58962018-08-17 Istvan Kurucsai <pistukem@gmail.com>
5897
5898 * malloc/malloc.c (_int_malloc): Additional binning code checks.
5899
6413fcde
FW
59002018-08-16 Florian Weimer <fweimer@redhat.com>
5901
5902 * configure.ac: Add --with-nonshared-cflags option.
5903 * config.make.in (extra-nonshared-cflags): Set variable.
5904 * Makeconfig (CFLAGS-.oS): Use it.
5905 * manual/install.texi (Configuring and compiling): Document
5906 --with-nonshared-cflags.
5907 * configure: Regenerate.
5908 * INSTALL: Likewise.
5909
93a2584c
FW
59102018-08-16 Florian Weimer <fweimer@redhat.com>
5911
5912 * Makeconfig (ASFLAGS): Always append required assembler flags.
5913
f6f275d2 59142018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
5915
5916 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
5917 (malloc_consolidate): Likewise.
5918
30a17d8c
PC
59192018-08-16 Pochang Chen <johnchen902@gmail.com>
5920
5921 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
5922
953a5a4a
SP
59232018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5924
34f86d61
SP
5925 * benchtests/bench-strlen.c (do_test): Allocate buffers before
5926 every strlen call.
5927
953a5a4a
SP
5928 * benchtests/bench-strlen.c: Print performance numbers in json.
5929
7793ad7a
RS
59302018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5931
5932 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5933 (sysdep_routines): Build strcmp-power9 and strncmp-power9
5934 only for little endian.
5935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5936 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
5937 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
5938 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
5939 Add check for little endian.
5940 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5941 (__strcmp_power9): Add check for little endian.
5942 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
5943 Add check for little endian.
5944 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5945 (__strncmp_power9): Add check for little endian.
5946 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
5947 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
5948 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5949 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
5950 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
5951
436e4d5b
SP
59522018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
5953
5954 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
5955 [!STRLEN](STRLEN): Set to __strlen.
5956 * sysdeps/aarch64/multiarch/strlen.c: New file.
5957 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
5958 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
5959 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5960 (__libc_ifunc_impl_list): Add strlen.
5961 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
5962 strlen_generic and strlen_asimd.
5963
126c4e3f
WD
59642018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5965
5966 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
5967 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
5968 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5969
49acec17
WD
59702018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5971
5972 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
5973
fdb16de3
FW
59742018-08-14 Florian Weimer <fweimer@redhat.com>
5975
5976 [BZ #23519]
5977 * include/stdio.h (__vfxprintf): Declare.
5978 * stdio-common/fxprintf.c (__vfxprintf): New function.
5979 (__fxprintf): Call it.
5980 * misc/err.c (convert_and_print): Remove function.
5981 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
5982 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
5983 * misc/Makefile (tests): Add tst-warn-wide.
5984 * misc/tst-warn-wide.c: New file.
5985
599cf397
WD
59862018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
5987 Szabolcs Nagy <szabolcs.nagy@arm.com>
5988
5989 * NEWS: Mention sinf, cosf, sincosf.
5990 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
5991 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
5992 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
5993 constants rather than including generic sincosf.h.
5994 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
5995 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
5996 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
5997 (reduced_cos): Remove.
5998 (sinf_poly): New function.
5999 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6000
e95c6f61
FW
60012018-08-14 Florian Weimer <fweimer@redhat.com>
6002
6003 [BZ #23521]
6004 [BZ #23522]
6005 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6006 processing, bail out if no room, and close the stream before
6007 returning ERANGE.
6008 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6009 (tst-nss-files-alias-leak): Link with libdl.
6010 (tst-nss-files-alias-leak.out): Depend on nss_files.
6011
6012 * nss/tst-nss-files-alias-leak.c: New file.
6013
2d7acfac
FW
60142018-08-14 Florian Weimer <fweimer@redhat.com>
6015
6016 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6017 server_user, stat_user.
6018
f3cd0904
JM
60192018-08-13 Joseph Myers <joseph@codesourcery.com>
6020
17b26500
JM
6021 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6022 version to 4.18.
6023 (io_pgetevents): New syscall.
6024 (rseq): Likewise.
6025
3c1622eb
JM
6026 * manual/install.texi (Configuring and compiling): Do not list
6027 tools used for testing pretty printers here.
6028 (Tools for Compilation): List Python, PExpect and GDB here.
6029 Update descriptions of uses of Perl and Python.
6030 * INSTALL: Regenerate.
6031
f3cd0904
JM
6032 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6033 version to 4.18.
6034
b7b52b9d
FW
60352018-08-13 Florian Weimer <fweimer@redhat.com>
6036
6037 * misc/error.c (error): Add missing va_end call.
6038 (error_at_line): Likewise.
6039
01780188
FW
60402018-08-13 Florian Weimer <fweimer@redhat.com>
6041
6042 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6043
44727aec
SP
60442018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6045
8cac1f26
SP
6046 * benchtests/scripts/benchout.schema.json (properties): Add
6047 new properties.
6048
44727aec
SP
6049 * benchtests/bench-skeleton.c (main): Add duration and
6050 iterations attributes.
6051
c77bf91b
PE
60522018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6053
6054 regex: Gnulib unibyte RRI uses bytes not chars
6055 Adjust the non-glibc code to agree with what Gawk needs for
6056 rational range interpretation (RRI) for regular expression ranges.
6057 In unibyte locales, Gawk wants ranges to use the underlying byte
6058 rather than the character code point. This change does not affect
6059 glibc proper.
6060 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6061 In unibyte locales, use the byte value rather than
6062 running it through btowc.
6063
2ce7ba7d
JM
60642018-08-10 Joseph Myers <joseph@codesourcery.com>
6065
6066 * sysdeps/generic/math-tests-snan.h: New file.
6067 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6068 (SNAN_TESTS_float): Do not define here.
6069 (SNAN_TESTS_double): Likewise.
6070 (SNAN_TESTS_long_double): Likewise.
6071 (SNAN_TESTS_float128): Likewise.
6072 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6073 * sysdeps/i386/fpu/math-tests.h: Remove file.
6074 * sysdeps/ia64/math-tests-snan.h: New file.
6075 * sysdeps/ia64/math-tests.h: Remove file.
6076 * sysdeps/x86/math-tests.h: Likewise.
6077 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6078
ea5c662c
WD
60792018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6080 Szabolcs Nagy <szabolcs.nagy@arm.com>
6081
6082 * math/Makefile: Add s_sincosf_data.c.
6083 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6084 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6085 (sincosf_poly): Likewise.
6086 (reduce_small): Likewise.
6087 (reduce_large): Likewise.
6088 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6089 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6090 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6091 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6092
43cfdf8f
SN
60932018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6094 Szabolcs Nagy <szabolcs.nagy@arm.com>
6095
6096 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6097 (converttoint): Use lround.
6098 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6099 document the semantics when TOINT_INTRINSICS is set.
6100 (converttoint): Likewise.
6101 (TOINT_RINT): Remove.
6102 (TOINT_SHIFT): Remove.
6103 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6104 path.
6105
69065288
FW
61062018-08-10 Florian Weimer <fweimer@redhat.com>
6107
6108 [BZ #23497]
6109 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6110 function.
6111 (__old_getdents64): Use getdents64. Convert entries without
6112 moving them.
6113 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6114 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6115 tst-readdir64-compat.
6116
8f135efc
IL
61172018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6118
6119 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6120 Fix unwind.
6121
71c01af5
IL
61222018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6123
6124 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
6125 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
6126 code to s390x-mcount.h and #include it.
6127 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
6128 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6129 (__fentry__): Add.
6130
8d997d22
IL
61312018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6132
6133 * stdlib/Versions: Remove __fentry__.
6134 * sysdeps/i386/Versions: Add __fentry__.
6135 * sysdeps/x86_64/Versions: Add __fentry__.
6136
69e2444a
IL
61372018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6138
6139 * sysdeps/s390/Makefile: Register the new tests.
6140 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
6141 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
6142 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
6143 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
6144 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
6145 * sysdeps/s390/tst-dl-runtime.c: New file.
6146
bde6320f
IL
61472018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6148
6149 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6150 Do not clobber R0.
6151
5755f5e4
IL
61522018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6153
6154 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6155 Do not clobber R0.
6156
c8ad8522
IL
61572018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6158
6159 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6160 Do not clobber R0.
6161
b215eee1
IL
61622018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6163
6164 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6165 Do not clobber R0.
6166
329c6fec
IL
61672018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6168
6169 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6170 Use symbolic offsets for stack variables.
6171
0fb7afa2
IL
61722018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6173
6174 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6175 Use symbolic offsets for stack variables.
6176
6954059a
IL
61772018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6178
6179 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6180 Use symbolic offsets for stack variables.
6181
c7099673
IL
61822018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6183
6184 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6185 Use symbolic offsets for stack variables.
6186
2813e41e
JM
61872018-08-09 Joseph Myers <joseph@codesourcery.com>
6188
6189 * math/gen-libm-test.py: New file.
6190 * math/gen-libm-test.pl: Remove.
6191 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
6192 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
6193 gen-libm-test.pl.
6194 ($(libm-test-c-noauto-obj)): Likewise.
6195 ($(libm-test-c-auto-obj)): Likewise.
6196 ($(libm-test-c-narrow-obj)): Likewise.
6197 (regen-ulps): Likewise.
6198 * math/README.libm-test: Update references to gen-libm-test.pl.
6199 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
6200 referencing gen-libm-test.pl.
6201 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
6202 * math/libm-test-support.c: Likewise.
6203 * math/libm-test-support.h: Likewise.
6204 * sysdeps/generic/libm-test-ulps: Likewise.
6205
be64b194
SP
62062018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
6207
6208 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
6209 Fix value.
6210
140137fb
JM
62112018-08-08 Joseph Myers <joseph@codesourcery.com>
6212
6213 * math/libm-test-nextdown.inc (do_test): Move comment to ....
6214 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
6215
b5403eca
ST
62162018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6217
6218 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
6219 symbols.
8ac0f9e6
ST
6220 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
6221 __pthread_setspecific): Add hidden proto.
6222 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
6223 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 6224
014efdd7
SP
62252018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6226
6227 * benchtests/bench-string.h (buf1_size, buf2_size): New
6228 variables.
6229 (init_sizes): New function.
6230 (test_init): Use it.
6231 (alloc_buf, exit_error): New functions.
6232 (alloc_bufs): Use ALLOC_BUF.
6233 (realloc_bufs): Remove.
6234 * benchtests/bench-memcmp.c (do_test): Adjust.
6235 * benchtests/bench-memset-large.c (do_test): Likewise.
6236 * benchtests/bench-memset-walk.c (do_test): Likewise.
6237 * benchtests/bench-memset.c (do_test): Likewise.
6238 * benchtests/bench-strncmp.c (do_test): Likewise.
6239
92a4cba7
AS
62402018-08-06 Andreas Schwab <schwab@suse.de>
6241
6242 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
6243 of CONST_THREAD_AREA.
6244
fb4c32ae
L
62452018-08-06 H.J. Lu <hongjiu.lu@intel.com>
6246
6247 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
6248 (STATE_SAVE_MASK): Likewise.
6249 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
6250 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
6251 (STATE_SAVE_MASK): Likewise.
6252 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
6253 instead of <cpu-features.h>.
6254
bf418187
DD
62552018-08-03 DJ Delorie <dj@redhat.com>
6256
6257 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 6258 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 6259
bb17621a
DD
6260 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6261
ea705eb5
JM
62622018-08-03 Joseph Myers <joseph@codesourcery.com>
6263
6264 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
6265 after TEST_* calls.
6266 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
6267 * math/libm-test-logb.inc (logb_test_data): Likewise.
6268
284f42bc
WD
62692018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
6270
6271 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
6272 * string/strstr.c (AVAILABLE): Likewise.
6273
430388d5
L
62742018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6275
6276 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
6277 <init-arch.h>.
6278 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
6279 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
6280 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
6281
c5760aa9
CD
62822018-08-03 Carlos O'Donell <carlos@redhat.com>
6283
6284 * po/be.po: Update translation.
6285
6b535b84
CD
6286 * po/be.po: Update translation.
6287
ae67f2e5
L
62882018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6289
6290 * sysdeps/x86/cpu-features-offsets.sym
6291 (rtld_global_ro_offsetof): Removed.
6292 (CPU_FEATURES_SIZE): Likewise.
6293 (CPUID_OFFSET): Likewise.
6294 (CPUID_SIZE): Likewise.
6295 (CPUID_EAX_OFFSET): Likewise.
6296 (CPUID_EBX_OFFSET): Likewise.
6297 (CPUID_ECX_OFFSET): Likewise.
6298 (CPUID_EDX_OFFSET): Likewise.
6299 (FAMILY_OFFSET): Likewise.
6300 (MODEL_OFFSET): Likewise.
6301 (FEATURE_OFFSET): Likewise.
6302 (FEATURE_SIZ): Likewise.
6303 (COMMON_CPUID_INDEX_1): Likewise.
6304 (COMMON_CPUID_INDEX_7): Likewise.
6305 (FEATURE_INDEX_1): Likewise.
6306 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
6307
cfb0ff93 63082018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
6309
6310 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
6311 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
6312 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
6313 (install-locales): Depend on install-locale-archive.
6314 (install-locale-archive): Define.
7b7adbd8 6315 (install-locale-files): Define.
08a5ee14
CD
6316 (build-one-locale): Define macro.
6317 * manual/install.texi (Running make install): Document.
6318 * manual/INSTALL: Regenerate.
6319
525691bd
SP
63202018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6321
d67d634b
SP
6322 * benchtests/scripts/compare_strings.py: Import traceback.
6323 (parse_file): Pretty-print error.
6324
525691bd
SP
6325 * NEWS: Mention the change.
6326 * elf/dl-tunables.list: Rename tune namespace to cpu.
6327 * sysdeps/powerpc/dl-tunables.list: Likewise.
6328 * sysdeps/x86/dl-tunables.list: Likewise.
6329 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
6330 cpu.name.
6331 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
6332 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
6333 * manual/README.tunables: Likewise.
6334 * manual/tunables.texi: Likewise.
6335 * sysdeps/powerpc/cpu-features.c: Likewise.
6336 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6337 (init_cpu_features): Likewise.
6338 * sysdeps/x86/cpu-features.c: Likewise.
6339 * sysdeps/x86/cpu-features.h: Likewise.
6340 * sysdeps/x86/cpu-tunables.c: Likewise.
6341 * sysdeps/x86_64/Makefile: Likewise.
6342 * sysdeps/x86/dl-cet.c: Likewise.
6343
506d7fb1
JM
63442018-08-02 Joseph Myers <joseph@codesourcery.com>
6345
6346 [BZ #23479]
6347 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
6348 [__mips_hard_float].
6349 (FE_UNDERFLOW): Likewise.
6350 (FE_OVERFLOW): Likewise.
6351 (FE_DIVBYZERO): Likewise.
6352 (FE_INVALID): Likewise.
6353 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
6354 (FE_TOWARDZERO): Define only if [__mips_hard_float].
6355 (FE_UPWARD): Likewise.
6356 (FE_DOWNWARD): Likewise.
6357 (__FE_UNDEFINED): Define if [!__mips_hard_float]
6358 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
6359 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
6360 [__mips_hard_float].
6361 (FP_ROUNDMODE): Likewise.
6362 (FP_RND_NEAREST): Likewise.
6363 (FP_RND_ZERO): Likewise.
6364 (FP_RND_PINF): Likewise.
6365 (FP_RND_MINF): Likewise.
6366 (FP_EX_INVALID): Likewise.
6367 (FP_EX_OVERFLOW): Likewise.
6368 (FP_EX_UNDERFLOW): Likewise.
6369 (FP_EX_DIVZERO): Likewise.
6370 (FP_EX_INEXACT): Likewise.
6371 (FP_INIT_ROUNDMODE): Likewise.
6372 * sysdeps/mips/nofpu/fesetenv.c: New file.
6373 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
6374
f6dcefbe
JM
63752018-08-01 Joseph Myers <joseph@codesourcery.com>
6376
6377 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
6378 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
6379 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
6380 conditional on [FE_UPWARD].
6381
fa67ba06
PE
63822018-08-01 Paul Eggert <eggert@cs.ucla.edu>
6383
6384 regex: fix memory leak in Gnulib
6385 Problem and fix reported by Assaf Gordon in:
6386 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
6387 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
6388 range_ends members too, as they are defined in 'struct
6389 re_charset_t' even if not _LIBC. This affects only Gnulib.
6390
82c80ac2
L
63912018-08-01 H.J. Lu <hongjiu.lu@intel.com>
6392
6393 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
6394 ...
6395 (get_common_indices): This.
6396 (init_cpu_features): Updated.
6397
c0e7e2c1
JM
63982018-08-01 Joseph Myers <joseph@codesourcery.com>
6399
46f8cf57
JM
6400 * sysdeps/generic/math-tests-snan-payload.h: New file.
6401 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
6402 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
6403 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
6404 * sysdeps/generic/math-tests.h: Include
6405 <math-tests-snan-payload.h>.
6406 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6407 * sysdeps/hppa/math-tests.h: Remove file.
6408 * sysdeps/mips/math-tests.h [!__mips_nan2008]
6409 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6410 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
6411 Likewise.
6412
c0e7e2c1
JM
6413 * sysdeps/generic/math-tests-snan-cast.h: New file.
6414 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
6415 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
6416 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
6417 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
6418
74939c83
CD
64192018-08-01 Carlos O'Donel <carlos@redhat.com>
6420
b029723b
CD
6421 * version.h (RELEASE): Set to "development".
6422 (VERSION): Set to "2.28.9000".
6423 * NEWS (2.29): New section.
6424
3c03baca
CD
6425 * version.h (RELEASE): Set to "stable".
6426 (VERSION): Set to "2.28".
6427 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
6428 * NEWS: Add the list of bugs fixed in 2.28.
6429
74939c83
CD
6430 * po/ca.po: Update to latest version.
6431 * po/cs.po: Likewise
6432 * po/da.po: Likewise
6433 * po/el.po: Likewise
6434 * po/eo.po: Likewise
6435 * po/es.po: Likewise
6436 * po/fi.po: Likewise
6437 * po/fr.po: Likewise
6438 * po/gl.po: Likewise
6439 * po/hu.po: Likewise
6440 * po/ia.po: Likewise
6441 * po/id.po: Likewise
6442 * po/it.po: Likewise
6443 * po/ja.po: Likewise
6444 * po/ko.po: Likewise
6445 * po/lt.po: Likewise
6446 * po/nb.po: Likewise
6447 * po/nl.po: Likewise
6448 * po/pt_BR.po: Likewise
6449 * po/ru.po: Likewise
6450 * po/rw.po: Likewise
6451 * po/sk.po: Likewise
6452 * po/sl.po: Likewise
6453 * po/tr.po: Likewise
6454 * po/zh_CN.po: Likewise
6455 * po/zh_TW.po: Likewise
6456
d4b54bdf
ST
64572018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6458
6459 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
6460 initialization...
6461 (init): ... before initializing libpthread.
6462
42fc12ef
ST
6463 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
6464 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
6465 (__mach_setup_tls): ... new function.
6466 (mach_setup_tls): New alias.
6467 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
6468 __mach_setup_thread.
6469 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
6470 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
6471 * mach/Versions [libc] (mach_setup_tls): Add symbol.
6472 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
6473
6cca855e
CD
64742018-07-31 Carlos O'Donell <carlos@redhat.com>
6475
f650932b
CD
6476 * manual/install.texi: Update versions.
6477 * INSTALL: Regenerate.
6478
6cca855e
CD
6479 * manual/contrib.texi (Contributors): Update contributions.
6480
07fdea47
CD
64812018-07-31 Carlos O'Donell <carlos@redhat.com>
6482
6483 * po/be.po: Update translations.
6484
63d5fad4
AZ
64852018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6486
6487 * sysdeps/sh/libm-test-ulps: Update.
6488
1ff712a6
CD
64892018-07-30 Carlos O'Donell <carlos@redhat.com>
6490
6491 * po/bg.po: Update translations.
6492 * po/de.po: Likewise.
6493 * po/hr.po: Likewise.
6494 * po/pt_BR.po: Likewise.
6495 * po/sv.po: Likewise.
6496 * po/vi.po: Likewise.
6497
98864ed0
L
64982018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6499
6500 [BZ #23467]
6501 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6502 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
6503 (CFLAGS-tst-cet-property-1.o): New.
6504 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
6505 ($(objpfx)tst-cet-property-2): Likewise.
6506 ($(objpfx)tst-cet-property-2.out): Likewise.
6507 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
6508 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
6509 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
6510 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
6511 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
6512
c92a00d8
L
65132018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6514
6515 [BZ #23458]
6516 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
6517
99bc6241
ST
65182018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6519
6520 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
6521 __sbrk): Do not set attribute_hidden.
af86087f 6522 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
6523 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6524 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
6525
bcb1c4af
CD
65262018-07-27 Carlos O'Donell <carlos@redhat.com>
6527
6528 * po/uk.po: Update translations.
6529 * po/cs.po: Likewise.
6530 * po/pl.po: Likewise.
6531
4591b7db
L
65322018-07-27 H.J. Lu <hongjiu.lu@intel.com>
6533
6534 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
6535 parse beyond the note end.
6536
2c6da2f4
AZ
65372018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6538
6539 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
6540 kernel does not support OFD locks.
6541 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
6542
20365a31
ST
65432018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6544
6545 * sysdeps/mach/hurd/Versions (libc): Make __access and
6546 __access_noerrno external so they can override the ld symbols.
6547 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
6548 __writev, __open64, __access_noerrno extern so they can be overrided.
6549 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
6550 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6551
cb1a43db
CD
65522018-07-26 Carlos O'Donell <carlos@redhat.com>
6553
6554 * po/libc.pot: Regenerate.
6555
74759ae5
JM
65562018-07-26 Joseph Myers <joseph@codesourcery.com>
6557
6558 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6559
da80612d
L
65602018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6561
6562 [BZ #23459]
6563 * sysdeps/x86/cpu-features.c (get_extended_indices): New
6564 function.
6565 (init_cpu_features): Call get_extended_indices for both Intel
6566 and AMD CPUs.
6567 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
6568 Remove "for AMD" comment.
6569
65d87ade
L
65702018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6571
6572 [BZ # 23456]
6573 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
6574 COMMON_CPUID_INDEX_80000001.
6575
c9dc4d51
SL
65762018-07-26 Stefan Liebler <stli@linux.ibm.com>
6577
6578 * string/tst-xbzero-opt.c (use_test_buffer): New function.
6579 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
6580
cfba5dbb
FW
65812018-07-26 Florian Weimer <fweimer@redhat.com>
6582
6583 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
6584 aliases for symbols not in the implementation namespace.
6585
7cd7d36f
CD
65862018-07-25 Carlos O'Donell <carlos@redhat.com>
6587
6588 [BZ #23393]
6589 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
6590 lowercase in LATIN script.
6591 * localedata/Makefile (test-input): Add en_US.UTF-8.
6592 * localedata/en_US.UTF-8.in: New file.
6593 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
6594 and restore old tests.
6595 * posix/tst-regexloc.c (do_test): Add back range expression test.
6596
3fb455b3
L
65972018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6598
6599 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
6600
d6499b70
AZ
66012018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6602
6603 * nptl/threads.h: Move to ...
6604 * sysdeps/nptl/threads.h: ... here.
6605 * sysdeps/hurd/stdc-predef.h: New file.
6606
08ac6bed
L
66072018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6608
6609 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6610 tst-cet-setcontext-1 if CET is enabled.
6611 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
6612 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
6613
9faaf938
AZ
66142018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6615
6616 * include/threads.h: Move to ...
6617 * sysdeps/nptl/threads.h: ... here.
6618 * sysdeps/htl/threads.h: New file.
6619 * conform/Makefile (linknamespace-libs-ISO11): Use
6620 static-thread-library instead of linking libpthread.
6621 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
6622
d6b8f847
FW
66232018-07-25 Florian Weimer <fweimer@redhat.com>
6624
6625 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
6626 nanoseconds into seconds.
6627 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
6628 (do_test): Likewise.
6629 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
6630 (do_test): Likewise. Avoid nanosecond overflow and spurious
6631 timeouts due to system load.
6632 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
6633 (child_wait): Increment it.
6634 (do_test): Wait as long as necessary until all expected threads
6635 have arrived.
6636
25123a1c
L
66372018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
6638 H.J. Lu <hongjiu.lu@intel.com>
6639
6640 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
6641 __ssp.
6642 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
6643 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
6644 (__push___start_context): New.
6645 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
6646 <asm/prctl.h>.
6647 (__getcontext): Record the current shadow stack base. Save the
6648 caller's shadow stack pointer and base.
6649 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
6650 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
6651 (__push___start_context): New prototype.
6652 (__makecontext): Call __push___start_context to allocate a new
6653 shadow stack, push __start_context onto the new stack as well
6654 as the new shadow stack.
6655 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
6656 <asm/prctl.h>.
6657 (__setcontext): Restore the target shadow stack.
6658 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
6659 <asm/prctl.h>.
6660 (__swapcontext): Record the current shadow stack base. Save
6661 the caller's shadow stack pointer and base. Restore the target
6662 shadow stack.
6663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6664 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
6665 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
6666
375a4844
L
66672018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6668
6669 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
6670 tst-setcontext8 and tst-setcontext9.
6671 * stdlib/tst-setcontext6.c: New file.
6672 * stdlib/tst-setcontext7.c: Likewise.
6673 * stdlib/tst-setcontext8.c: Likewise.
6674 * stdlib/tst-setcontext9.c: Likewise.
6675
bd4f7903
L
66762018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6677
6678 * stdlib/Makefile ((tests): Add tst-setcontext5.
6679 * stdlib/tst-setcontext5.c: New file.
6680
7e28f203
L
66812018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6682
6683 * stdlib/Makefile (tests): Add tst-setcontext4.
6684 * stdlib/tst-setcontext4.c: New file.
6685
8516ad2d
L
66862018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6687
6688 * stdlib/Makefile (tests): Add tst-swapcontext1.
6689 * stdlib/tst-swapcontext1.c: New test.
6690
fddcd003
L
66912018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6692
6693 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
6694 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
6695 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
6696 and tst-cet-legacy-4c.
6697 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
6698 and tst-cet-legacy-mod-4.
6699 (CFLAGS-tst-cet-legacy-2.c): New.
6700 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
6701 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
6702 (CFLAGS-tst-cet-legacy-3.c): Likewise.
6703 (CFLAGS-tst-cet-legacy-4.c): Likewise.
6704 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
6705 ($(objpfx)tst-cet-legacy-1): Likewise.
6706 ($(objpfx)tst-cet-legacy-2): Likewise.
6707 ($(objpfx)tst-cet-legacy-2.out): Likewise.
6708 ($(objpfx)tst-cet-legacy-2a): Likewise.
6709 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
6710 ($(objpfx)tst-cet-legacy-4): Likewise.
6711 ($(objpfx)tst-cet-legacy-4.out): Likewise.
6712 ($(objpfx)tst-cet-legacy-4a): Likewise.
6713 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
6714 (tst-cet-legacy-4a-ENV): Likewise.
6715 ($(objpfx)tst-cet-legacy-4b): Likewise.
6716 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
6717 (tst-cet-legacy-4b-ENV): Likewise.
6718 ($(objpfx)tst-cet-legacy-4c): Likewise.
6719 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
6720 (tst-cet-legacy-4c-ENV): Likewise.
6721 * sysdeps/x86/tst-cet-legacy-1.c: New file.
6722 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
6723 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
6724 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
6725 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
6726 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
6727 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
6728 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
6729 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
6730 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
6731 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
6732
9aa3113a
L
67332018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6734
6735 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6736 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6737 with ssp_base.
6738 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6739 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6740 with ssp_base.
6741
9c79cec8
AS
67422018-07-25 Andreas Schwab <schwab@suse.de>
6743
6744 [BZ #23442]
6745 * locale/weightwc.h (findidx): Handle the case where usrc is a
6746 prefix of cp but one character too short.
6747
969c3355
AZ
67482018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6749
6750 * NEWS: Add ISO C threads addition.
6751
e0f9c462
FW
67522018-07-24 Florian Weimer <fweimer@redhat.com>
6753
6754 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6755 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
6756 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
6757 4.13.
6758
394df381
L
67592018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6760
6761 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
6762 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
6763 <sys/prctl.h> and <asm/prctl.h>.
6764 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
6765 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
6766 and <asm/prctl.h>.
6767 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
6768 ARCH_CET_LEGACY_BITMAP.
6769 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
6770 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
6771 * sysdeps/x86/libc-start.c: Include <startup.h>.
6772
46545530
FW
67732018-07-24 Florian Weimer <fweimer@redhat.com>
6774
6775 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
6776 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
6777
9d0a979e
RJ
67782018-07-24 Rical Jasan <rj@2c3t.io>
6779 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
6780 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
6781
6782 [BZ #14092]
9d0a979e
RJ
6783 * manual/debug.texi: Update adjacent chapter name.
6784 * manual/probes.texi: Likewise.
6785 * manual/threads.texi (ISO C Threads): New section.
6786 (POSIX Threads): Convert to a section.
6787
67882018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6789 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
6790
6791 [BZ# 14092]
0a07288b
AZ
6792 * nptl/Makefile (tests): Add new test files.
6793 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
6794 * nptl/tst-cnd-basic.c: Likewise.
6795 * nptl/tst-cnd-broadcast.c: Likewise.
6796 * nptl/tst-cnd-timedwait.c: Likewise.
6797 * nptl/tst-mtx-basic.c: Likewise.
6798 * nptl/tst-mtx-recursive.c: Likewise.
6799 * nptl/tst-mtx-timedlock.c: Likewise.
6800 * nptl/tst-mtx-trylock.c: Likewise.
6801 * nptl/tst-thrd-basic.c: Likewise.
6802 * nptl/tst-thrd-detach.c: Likewise.
6803 * nptl/tst-thrd-sleep.c: Likewise.
6804 * nptl/tst-tss-basic.c: Likewise.
6805
ce7528f6
AZ
68062018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6807
c6dd669b
AZ
6808 [BZ #14092]
6809 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
6810 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
6811 symbols.
6812 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6813 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6814 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6815 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6816 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6817 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6818 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6819 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6820 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6821 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6822 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6823 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6825 Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6827 Likewise.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6829 Likewise.
6830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6831 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6832 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6833 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6834 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6835 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6837 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6838 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6839 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
6840 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
6841 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
6842 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
6843 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
6844 Likewise.
6845 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
6846 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
6847 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
6848 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
6849 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
6850 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
6851 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
6852 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
6853 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
6854 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
6855 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
6856 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
6857 ikewise.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6860 Likewise.
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6862 Likewise.
6863 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
6864 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
6865 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
6866 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
6867 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
6868 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
6869 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
6870 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
6871
78d40132
AZ
6872 [BZ #14092]
6873 * conform/data/threads.h-data (thread_local): New macro.
6874 (TSS_DTOR_ITERATIONS): Likewise.
6875 (tss_t): New type.
6876 (tss_dtor_t): Likewise.
6877 (tss_create): New function.
6878 (tss_get): Likewise.
6879 (tss_set): Likewise.
6880 (tss_delete): Likewise.
6881 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
6882 tss_get, and tss_set objects.
6883 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
6884 * nptl/tss_create.c: New file.
6885 * nptl/tss_delete.c: Likewise.
6886 * nptl/tss_get.c: Likewise.
6887 * nptl/tss_set.c: Likewise.
6888 * sysdeps/nptl/threads.h (thread_local): New define.
6889 (TSS_DTOR_ITERATIONS): Likewise.
6890 (tss_t): New typedef.
6891 (tss_dtor_t): Likewise.
6892 (tss_create): New prototype.
6893 (tss_get): Likewise.
6894 (tss_set): Likewise.
6895 (tss_delete): Likewise.
6896
918311a3
AZ
6897 [BZ #14092]
6898 * conform/data/threads.h-data (cnd_t): New type.
6899 (cnd_init): New function.
6900 (cnd_signal): Likewise.
6901 (cnd_broadcast): Likewise.
6902 (cnd_wait): Likewise.
6903 (cnd_timedwait): Likewise.
6904 (cnd_destroy): Likewise.
6905 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
6906 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
6907 object.
6908 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
6909 * nptl/cnd_broadcast.c: New file.
6910 * nptl/cnd_destroy.c: Likewise.
6911 * nptl/cnd_init.c: Likewise.
6912 * nptl/cnd_signal.c: Likewise.
6913 * nptl/cnd_timedwait.c: Likewise.
6914 * nptl/cnd_wait.c: Likewise.
6915 * sysdeps/nptl/threads.h (cnd_t): New type.
6916 (cnd_init): New prototype.
6917 (cnd_signa): Likewise.
6918 (cnd_broadcast): Likewise.
6919 (cnd_wait): Likewise.
6920 (cnd_timedwait): Likewise.
6921 (cnd_destroy): Likewise.
6922
3c20a679
AZ
6923 [BZ #14092]
6924 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
6925 (once_flag): New type.
6926 (call_once): New function.
6927 * nptl/Makefile (libpthread-routines): Add call_once object.
6928 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
6929 * nptl/call_once.c: New file.
6930 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
6931 (once_flag): New type.
6932 (call_once): New prototype.
6933
18d59c1b
AZ
6934 [BZ #14092]
6935 * conform/data/threads.h-data (mtx_plain): New constant.
6936 (mtx_recursive): Likewise.
6937 (mtx_timed): Likewise.
6938 (mtx_t): New type.
6939 (mtx_init): New function.
6940 (mtx_lock): Likewise.
6941 (mtx_timedlock): Likewise.
6942 (mtx_trylock): Likewise.
6943 (mtx_unlock): Likewise.
6944 (mtx_destroy): Likewise.
6945 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
6946 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
6947 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
6948 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
6949 * nptl/mtx_destroy.c: New file.
6950 * nptl/mtx_init.c: Likewise.
6951 * nptl/mtx_lock.c: Likewise.
6952 * nptl/mtx_timedlock.c: Likewise.
6953 * nptl/mtx_trylock.c: Likewise.
6954 * nptl/mtx_unlock.c: Likewise.
6955 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
6956 (mtx_recursive): Likewise.
6957 (mtx_timed): Likewise.
6958 (mtx_t): New type.
6959 (mtx_init): New prototype.
6960 (mtx_lock): Likewise.
6961 (mtx_timedlock): Likewise.
6962 (mtx_trylock): Likewise.
6963 (mtx_unlock): Likewise.
6964 (mtx_destroy): Likewise.
6965
ce7528f6
AZ
6966 [BZ #14092]
6967 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
6968 (linknamespace-libs-ISO11): Add libpthread.a.
6969 * conform/data/threads.h-data: New file: add C11 thrd_* types and
6970 functions.
6971 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
6972 * nptl/Makefile (headers): Add threads.h.
6973 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
6974 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
6975 thrd_yield.
6976 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
6977 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
6978 thrd_join, thrd_sleep, and thrd_yield symbols.
6979 * nptl/descr.h (struct pthread): Add c11 field.
6980 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
6981 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
6982 routine with expected function prototype.
6983 (__pthread_create_2_1): Add C11 threads check based on attribute
6984 value.
6985 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
6986 * nptl/thrd_create.c: New file.
6987 * nptl/thrd_current.c: Likewise.
6988 * nptl/thrd_detach.c: Likewise.
6989 * nptl/thrd_equal.c: Likewise.
6990 * nptl/thrd_exit.c: Likewise.
6991 * nptl/thrd_join.c: Likewise.
6992 * nptl/thrd_priv.h: Likewise.
6993 * nptl/thrd_sleep.c: Likewise.
6994 * nptl/thrd_yield.c: Likewise.
6995 * include/threads.h: Likewise.
6996
e27f41ba
L
69972018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6998
6999 * bits/indirect-return.h: New file.
7000 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7001 * sysdeps/x86/bits/indirect-return.h: Likewise.
7002 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7003 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7004 (swapcontext): Add __INDIRECT_RETURN.
7005 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7006 (prepare_test_buffer): Use it.
7007
21526a50
AS
70082018-07-24 Andreas Schwab <schwab@suse.de>
7009
7010 [BZ #23448]
7011 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7012 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7013
3650e1d9
L
70142018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7015
7016 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7017 Redefine if shadow stack is enabled.
7018 (SYSCALL_ERROR_LABEL): Likewise.
7019 (__vfork): Pop shadow stack and jump back to to caller directly
7020 when shadow stack is in use.
7021 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7022 Redefine if shadow stack is enabled.
7023 (SYSCALL_ERROR_LABEL): Likewise.
7024 (__vfork): Pop shadow stack and jump back to to caller directly
7025 when shadow stack is in use.
7026
ca027e0f
L
70272018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7028
7029 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7030 enabled.
7031 (foo): Likewise.
7032 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7033 (foo): Likewise.
7034
b99f1c95
JM
70352018-07-20 Joseph Myers <joseph@codesourcery.com>
7036
7037 * scripts/build-many-glibcs.py (Context.checkout): Default
7038 binutils version to 2.31 branch.
7039
c8fabb84
ZL
70402018-07-20 Zong Li <zong@andestech.com>
7041
7042 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7043 URL of gcc's tarball.
7044
786658a0
FW
70452018-07-20 Florian Weimer <fweimer@redhat.com>
7046
7047 [BZ #23396]
7048 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7049 not compare an extra byte after the end of the weights.
7050
46f2474e
ST
70512018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7052
7053 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7054 to 1.
8ba1520e
ST
7055 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7056 hidden prototypes.
7057 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7058 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
7059 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7060 list of libraries whose stack executability is expected.
7061 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7062 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7063 variable.
7064 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7065 libc.so libpthread.so.
46f2474e 7066
60088242
TS
70672018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7068
7069 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7070 SOCK_NONBLOCK.
75d5e4a0
TS
7071 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7072 and SOCK_NONBLOCK.
de195be0
TS
7073 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7074 implement __pipe2.
7075 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 7076
1cf4ae7f
LS
70772018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7078
7079 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7080 library to improve command line parsing.
7081 (__main__): make schema file as optional parameter (--schema),
7082 defaulting to benchtests/scripts/benchout.schema.json.
7083 (main): move out of the parsing stuff to __main_  and leave it
7084 only as caller of main comparison functions.
7085
e84bd851
L
70862018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7087
7088 * NEWS: Add a note for Intel CET status.
7089 * manual/install.texi: Likewise.
7090 * INSTALL: Regenerated.
7091
df467d22
QP
70922018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7093
7094 [BZ #23140]
7095 * localedata/locales/oc_FR (mon): Rename to...
7096 (alt_mon): This, then update October (typo fix).
7097 (mon): New content (genitive case, month names preceded by
7098 "de" or "d’").
7099
7100 [BZ #23422]
7101 * localedata/locales/oc_FR (abday): Update all items.
7102 (day): Update Wednesday and Saturday (typo fixes).
7103 (abmon): Update all items, except May.
7104 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7105 (LC_IDENTIFICATION): Bump the revision number and date.
7106 Keep the "category" entries in alphabetic order.
7107 (LC_ADDRESS): Remove no longer needed comment.
7108 (LC_COLLATE): Use “copy "ca_ES"”.
7109 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7110 "name_mrs".
7111
5c112f1b
JM
71122018-07-18 Joseph Myers <joseph@codesourcery.com>
7113
7114 * grp/tst_fgetgrent.c: Include <unistd.h>.
7115 (main): Use mkstemp instead of tmpnam.
7116 * io/test-utime.c (main): Likewise.
7117 * posix/annexc.c (macrofile): Change to modifiable array.
7118 (main): Remove macrofile here.
7119 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7120 macrofile here.
7121 (check_header): Do not remove macrofile here.
7122 * posix/bug-getopt1.c: Include <stdlib.h>.
7123 (do_test): Use mkstemp instead of tmpnam.
7124 * posix/bug-getopt2.c: Include <stdlib.h>.
7125 (do_test): Use mkstemp instead of tmpnam.
7126 * posix/bug-getopt3.c: Include <stdlib.h>.
7127 (do_test): Use mkstemp instead of tmpnam.
7128 * posix/bug-getopt4.c: Include <stdlib.h>.
7129 (do_test): Use mkstemp instead of tmpnam.
7130 * posix/bug-getopt5.c: Include <stdlib.h>.
7131 (do_test): Use mkstemp instead of tmpnam.
7132 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
7133 (main): Use mkstemp instead of tmpnam.
7134 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
7135 (main): Use mkstemp instead of tmpnam.
7136 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
7137 (main): use mkstemp instead of tmpnam.
7138 * stdlib/isomac.c (macrofile): Change to modifiable array.
7139 (main): Remove macrofile here.
7140 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7141 macrofile here.
7142 (check_header): Do not remove macrofile here.
7143
6d90776d
L
71442018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7145
7146 * manual/tunables.texi: Document glibc.tune.x86_ibt and
7147 glibc.tune.x86_shstk.
7148
e6c69509
L
71492018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7150
7151 * NEWS: Mention --enable-cet.
7152 * manual/install.texi: Document --enable-cet.
7153 * INSTALL: Regenerated.
7154
e2d40a88
L
71552018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7156
7157 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
7158 Add _CET_NOTRACK before indirect jump to jump table.
7159
77a8ae09
L
71602018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7161
7162 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
7163 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7164 to jump table.
7165
90d15dc5
L
71662018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7167
7168 * sysdeps/i386/i686/multiarch/strcat-sse2.S
7169 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7170 to jump table.
7171
f1574581
L
71722018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7173
7174 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
7175 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7176 to jump table.
7177
7fb61336
L
71782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7179
7180 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
7181 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7182 to jump table.
7183
0a899af0
L
71842018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7185
7186 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
7187 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7188 to jump table.
7189 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
7190
177824e2
L
71912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7192
7193 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
7194 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7195 to jump table.
7196
00e7b76a
L
71972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7198
7199 * sysdeps/i386/i686/multiarch/memset-sse2.S
7200 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7201 to jump table.
7202
7e119cd5
L
72032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7204
7205 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
7206 indirect jump to jump table.
7207
03aaf49b
L
72082018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7209
7210 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
7211 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7212 to jump table.
7213 (MEMCPY): Likewise.
7214
811e9e52
L
72152018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7216
7217 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
7218 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7219 to jump table.
7220 (MEMCPY): Likewise.
7221
8817df42
L
72222018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7223
7224 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7225 _CET_NOTRACK before indirect jump to jump table.
7226
921595d1
L
72272018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7228
7229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
7230 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7231 to jump table.
7232
4ef60d95
L
72332018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7234
7235 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
7236 indirect jump to jump table.
7237
61c4aad7
VT
72382018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
7239
7240 [BZ #22241]
7241 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
7242 (LOCALES): Likewise.
7243 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
7244 * localedata/locales/sah_RU: New file.
7245 * localedata/sah_RU.UTF-8.in: New file.
7246
be9ccd27
L
72472018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7248
7249 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
7250 "sysdep.h".
7251 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7252 _CET_ENDBR to indirect jump targets and adjust jump destination
7253 for _CET_ENDBR.
7254 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
7255 "sysdep.h".
7256 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
7257 _CET_ENDBR to indirect jump targets and adjust jump destination
7258 for _CET_ENDBR.
7259 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
7260 "sysdep.h".
7261 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
7262 _CET_ENDBR to indirect jump targets and adjust jump destination
7263 for _CET_ENDBR.
7264
5efc6777
L
72652018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7266
7267 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
7268 _CET_ENDBR.
7269
562837c0
L
72702018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7271
7272 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
7273 _CET_ENDBR.
7274 (_dl_tlsdesc_undefweak): Likewise.
7275 (_dl_tlsdesc_dynamic): Likewise.
7276 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
7277 (_dl_tlsdesc_resolve_rel): Likewise.
7278 (_dl_tlsdesc_resolve_rela): Likewise.
7279 (_dl_tlsdesc_resolve_hold): Likewise.
7280 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
7281 (_dl_tlsdesc_undefweak): Likewise.
7282 (_dl_tlsdesc_dynamic): Likewise.
7283 (_dl_tlsdesc_resolve_rela): Likewise.
7284 (_dl_tlsdesc_resolve_hold): Likewise.
7285
124bcde6
L
72862018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7287
7288 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
7289 (_fini): Likewise.
7290 * sysdeps/x86_64/crti.S (_init): Likewise.
7291 (_fini): Likewise.
7292
9145f033
RL
72932018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
7294
7295 [BZ #23140]
7296 * localedata/locales/os_RU (mon): Rename to...
7297 (alt_mon): This.
7298 (mon): Import from CLDR (genitive case).
7299
ba2ea23d
L
73002018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7301
7302 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
7303 cet-tunables.h> when CET is enabled.
7304
f753fa7d
L
73052018-07-16 H.J. Lu <hongjiu.lu@intel.com>
7306
7307 [BZ #21598]
7308 * configure.ac: Add --enable-cet.
7309 * configure: Regenerated.
7310 * elf/Makefille (all-built-dso): Add a comment.
7311 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
7312 Include <dl-prop.h>.
7313 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
7314 segment.
7315 * elf/dl-open.c: Include <dl-prop.h>.
7316 (dl_open_worker): Call _dl_open_check.
7317 * elf/rtld.c: Include <dl-prop.h>.
7318 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
7319 _rtld_main_check.
7320 * sysdeps/generic/dl-prop.h: New file.
7321 * sysdeps/i386/dl-cet.c: Likewise.
7322 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
7323 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
7324 * sysdeps/x86/cet-tunables.h: Likewise.
7325 * sysdeps/x86/check-cet.awk: Likewise.
7326 * sysdeps/x86/configure: Likewise.
7327 * sysdeps/x86/configure.ac: Likewise.
7328 * sysdeps/x86/dl-cet.c: Likewise.
7329 * sysdeps/x86/dl-procruntime.c: Likewise.
7330 * sysdeps/x86/dl-prop.h: Likewise.
7331 * sysdeps/x86/libc-start.h: Likewise.
7332 * sysdeps/x86/link_map.h: Likewise.
7333 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
7334 _CET_ENDBR.
7335 (_dl_runtime_profile): Likewise.
7336 (_dl_runtime_resolve_shstk): New.
7337 (_dl_runtime_profile_shstk): Likewise.
7338 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
7339 if CET is enabled.
7340 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
7341 (CFLAGS-.os): Likewise.
7342 (CFLAGS-.op): Likewise.
7343 (CFLAGS-.oS): Likewise.
7344 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
7345 is enabled.
7346 (tests-special): Add $(objpfx)check-cet.out.
7347 (cet-built-dso): New.
7348 (+$(cet-built-dso:=.note)): Likewise.
7349 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
7350 ($(objpfx)check-cet.out): New.
7351 (generated): Add check-cet.out.
7352 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
7353 <cet-tunables.h>.
7354 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
7355 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7356 (init_cpu_features): Call get_cet_status to check CET status
7357 and update dl_x86_feature_1 with CET status. Call
7358 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
7359 (set_x86_shstk). Disable and lock CET in libc.a.
7360 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
7361 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
7362 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7363 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
7364 (_CET_ENDBR): Define if not defined.
7365 (ENTRY): Add _CET_ENDBR.
7366 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
7367 x86_shstk.
7368 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
7369 _CET_ENDBR.
7370 (_dl_runtime_profile): Likewise.
7371
52b2a80f
RA
73722018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7373
7374 [BZ #21895]
7375 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
7376 restore r2 on longjmp.
7377 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
7378 test list.
7379 Added rules to build test tst-setjmp-bug21895-static.
7380 Added module setjmp-bug21895 and rules to build a shared object from it.
7381 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
7382 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
7383
3ae725df
WD
73842018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
7385
7386 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
7387 * benchtests/bench-strstr.c: Likewise.
7388 * string/memmem.c (FASTSEARCH): Define.
7389 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
7390 Add support for FASTSEARCH.
7391 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
7392 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
7393 (FASTSEARCH): Define.
7394 * string/test-strcasestr.c: Rename __strnlen to strnlen.
7395 * string/test-strstr.c: Likewise.
7396
31e422ca
L
73972018-07-15 H.J. Lu <hongjiu.lu@intel.com>
7398
7399 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
7400 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
7401
faaee1f0
L
74022018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
7403 H.J. Lu <hongjiu.lu@intel.com>
7404
7405 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
7406 (__longjmp): Restore shadow stack pointer if shadow stack is
7407 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7408 isn't defined for __longjmp_cancel.
7409 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
7410 (_setjmp): Save shadow stack pointer if shadow stack is enabled
7411 and SHADOW_STACK_POINTER_OFFSET is defined.
7412 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
7413 (setjmp): Save shadow stack pointer if shadow stack is enabled
7414 and SHADOW_STACK_POINTER_OFFSET is defined.
7415 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
7416 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7417 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7418 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
7419 <jmp_buf-ssp.h>.
7420 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7421 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7422 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7423 Remove jmp_buf-ssp.sym.
7424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7425 <jmp_buf-ssp.h>.
7426 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7427 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7428 * sysdeps/x86/Makefile (gen-as-const-headers): Add
7429 jmp_buf-ssp.sym.
7430 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
7431 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
7432 (__longjmp): Restore shadow stack pointer if shadow stack is
7433 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7434 isn't defined for __longjmp_cancel.
7435 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
7436 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7437 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7438
ebff9c5c
L
74392018-07-14 H.J. Lu <hongjiu.lu@intel.com>
7440
7441 [BZ #22563]
7442 * nptl/pthread_create.c: Include <tls-setup.h>.
7443 (__pthread_create_2_1): Call tls_setup_tcbhead.
7444 * sysdeps/generic/tls-setup.h: New file.
7445 * sysdeps/x86/nptl/tls-setup.h: Likewise.
7446 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7447 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
7448 Likewise.
7449 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
7450 to feature_1.
7451 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7452 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
7453 (X86_FEATURE_1_SHSTK): Likewise.
7454 (CET_ENABLED): Likewise.
7455 (IBT_ENABLED): Likewise.
7456 (SHSTK_ENABLED): Likewise.
7457
0a83bad2
RL
74582018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
7459
7460 [BZ #23208]
7461 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
7462 (LOCALES): Likewise.
7463 * localedata/dsb_DE.UTF-8.in: New file.
7464 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
7465
046bfed9
FW
74662018-07-12 Florian Weimer <fweimer@redhat.com>
7467
7468 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
7469 __mprotect, not mprotect.
7470
93304f5f
FW
74712018-07-11 Florian Weimer <fweimer@redhat.com>
7472
7473 * io/Makefile (headers): Add bits/statx.h.
7474
4beefeeb
MF
74752018-07-10 Mike FABIAN <mfabian@redhat.com>
7476
7477 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
7478 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
7479 and headers.
7480 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
7481 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
7482 for utf8_gen.py
7483
fd70af45
FW
74842018-07-10 Florian Weimer <fweimer@redhat.com>
7485
7486 * io/Makefile (routines): Add statx.
7487 (tests-internal): Add tst-statx.
7488 * io/Versions (GLIBC_2.28): Export statx.
7489 * io/bits/statx.h: New file.
7490 * io/sys/stat.h [__USE_GNU]: Include it.
7491 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
7492 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
7493 Define.
7494 * io/statx.c: New file.
7495 * io/statx_generic.: Likewise.
7496 * io/tst-statx.: Likewise.
7497 * include/bits/statx.h: Likewise.
7498 * sysdeps/unix/sysv/linux/kernel-features.h
7499 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
7500 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7501 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
7502 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
7503 Undefine.
7504 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7505 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
7506 * sysdeps/unix/sysv/linux/statx.c: New file.
7507 * manual/filesys.texi: Note that statx is undocumented.
7508 * sysdeps/**/libc*.abilist: Update.
7509
b444e8f7
AZ
75102018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7511
7512 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
7513 a kernel issue which lead to test failure in some cases.
7514
7b2f4ced
FW
75152018-07-10 Florian Weimer <fweimer@redhat.com>
7516
7517 [BZ #23036]
7518 * posix/regexec.c (check_node_accept_bytes): When comparing
7519 weights, do not compare an extra byte after the end of the
7520 weights.
7521
4fa34da6
FW
75222018-07-10 Florian Weimer <fweimer@redhat.com>
7523
7524 * libio/readline.c: Fix copyright year.
7525 * libio/tst-readline.c Likewise.
7526 * nss/tst-nss-files-hosts-getent.c: Likewise.
7527
916124ed
FW
75282018-07-06 Florian Weimer <fweimer@redhat.com>
7529
7530 [BZ #18991]
7531 * nss/nss_files/files-XXX.c (internal_getent): Use
7532 __libc_readline_unlocked. Seek back to the start of the line if
7533 parsing failes with ERANGE.
7534 (get_contents_ret, get_contents): Remove.
7535 * nss/tst-nss-files-hosts-getent.c: New file.
7536 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
7537 (tst-nss-files-hosts-getent): Link with -ldl.
7538
3f5e3f5d
FW
75392018-07-06 Florian Weimer <fweimer@redhat.com>
7540
7541 * include/stdio.h (__libc_readline_unlocked): Declare.
7542 (__ftello64, __fseeko64): Declare aliases.
7543 * libio/readline.c: New file.
7544 * libio/tst-readline.c: Likewise.
7545 (routines): Add readline.
7546 (tests-internal): Add tst-readlime.
7547 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
7548 __libc_readline_unlocked.
7549 * libio/fseeko.c (__fseeko): Rename from fseeko.
7550 (fseeko): Add alias.
7551 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
7552 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
7553 (fseeko64): Add alias.
7554 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
7555 * libio/ftello64.c (__ftello64): Rename from ftello64.
7556 (ftello64): Add alias.
7557
397c54c1
SN
75582018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7559
7560 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
7561 HWCAP_ATOMICS.
7562
d0cd7980
SN
75632018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7564
7565 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
7566 Use dl_hwcap without masking.
7567 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
7568 Remove HWCAP_CPUID.
7569
ddb3c626
FW
75702018-07-06 Florian Weimer <fweimer@redhat.com>
7571
7572 * conform/conformtest.pl (checknamespace): Escape literal braces
7573 in regular expressions.
7574
bce5911b
AP
75752018-07-06 Amit Pawar <amit.pawar@amd.com>
7576
7577 * sysdeps/x86/cpu-features.c (get_common_indeces):
7578 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
7579 * sysdeps/x86/cpu-features.c (init_cpu_features):
7580 AVX_Fast_Unaligned_Load is disabled for Excavator core.
7581
3a885c1f
FW
75822018-07-05 Florian Weimer <fweimer@redhat.com>
7583
7584 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
7585 protector.
7586 (CFLAGS-elf-init.oS): Likewise.
7587
38cade0c
FW
75882018-07-05 Florian Weimer <fweimer@redhat.com>
7589 Carlos O'Donell <carlos@redhat.com>
7590
7591 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
7592 $(no-stack-protector). stack_chk_fail_local.c can be compiled
7593 with stack protector enabled because there is no risk of infinite
7594 recursion.
7595
9449a295
MR
75962018-07-05 Maciej W. Rozycki <macro@mips.com>
7597
7598 [BZ #19818]
7599 [BZ #23307]
7600 * libc-abis (ABSOLUTE): New ABI.
7601 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
7602 * NEWS: Mention the new ABI.
7603
d6da5cb6
FW
76042018-07-05 Florian Weimer <fweimer@redhat.com>
7605
7606 [BZ # 17662]
7607 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
7608 (RENAME_WHITEOUT): Define.
7609 [__USE_GNU] (renameat2): Declare.
7610 * stdio-common/Makefile (routines): Add renameat2.
7611 (tests): Add tst-renameat2.
7612 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
7613 * stdio-common/renameat2.c: New file.
7614 * stdio-common/tst-renameat2.c: Likewise.
7615 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
7616 * manual/filesys.texi (Temporary Files): Note that renameat2 is
7617 undocumented.
7618 * sysdeps/unix/sysv/linux/kernel-features.h
7619 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
7620 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7621 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7622 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7623 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7624 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7625 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
7626 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7627 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
7628 * include/stdio.h (__renameat): Add alias for renameat.
7629 * stdio-common/renameat.c (__renameat): Rename from renameat.
7630 Add hidden definition and alias.
7631 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7632 * sysdeps/mach/hurd/renameat.c: Likewise.
7633 * sysdeps/**/libc*.abilist: Add renameat2.
7634
1002d708
AZ
76352018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7636
7637 * posix/bug-regex33.c: Fix build after regex sync.
7638
34fdb893
CD
76392018-07-04 Carlos O'Donell <carlos@redhat.com>
7640
7641 [BZ #23164]
7642 * localedata/tst-langinfo-setlocale.c: New file.
7643 * localedata/tst-langinfo-setlocale-static.c: New file.
7644 * localedata/tst-langinfo-newlocale.c: New file.
7645 * localedata/tst-langinfo-newlocale-static.c: New file.
7646 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
7647 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
7648 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
7649 (tests-static): Remove tst-langinfo-static. Add
7650 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
7651 (tests-special): Remove $(objpfx)tst-langinfo.out,
7652 $(objpfx)tst-langinfo-static.out. Add
7653 $(objpfx)tst-langinfo-setlocale.out,
7654 $(objpfx)tst-langinfo-newlocale.out,
7655 $(objpfx)tst-langinfo-setlocale-static.out,
7656 $(objpfx)tst-langinfo-newlocale-static.out.
7657 ($(objpfx)tst-langinfo.out): Remove.
7658 ($(objpfx)tst-langinfo-static.out): Remove.
7659 ($(objpfx)tst-langinfo-newlocale.out): New target.
7660 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
7661 (test-xfail-tst-langinfo-newlocale-static): Add.
7662 ($(objpfx)tst-langinfo-setlocale.out): New target.
7663 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
7664 * localedata/tst-langinfo.c: Call test_locale.
7665 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
7666 data.
7667
f2873d2d
FW
76682018-07-04 Florian Weimer <fweimer@redhat.com>
7669
7670 testrun.sh: Implement --tool=strace, --tool=valgrind
7671 * Makefile (testrun-script): Define variable.
7672 (testrun.sh): Use variable.
7673 * manual/install.texi (Tools for Compilation): make 4.0 or later
7674 is required.
7675 * configure.ac: Check for make 4.0 or later.
7676 * INSTALL: Regenerate.
7677 * configure: Likewise.
7678
eb04c213
AZ
76792018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7680
7681 [BZ #23233]
7682 [BZ #21163]
7683 [BZ #18986]
7684 [BZ #13762]
7685 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
7686 * posix/PCRE.tests: Remove invalid test.
7687 * posix/bug-regex28.c: Fix expected values for used syntax.
7688 * posix/bug-regex37.c: New file.
7689 * posix/bug-regex38.c: Likewise.
7690 * posix/regcomp.c: Sync with gnulib.
7691 * posix/regex.c: Likewise.
7692 * posix/regex.h: Likewise.
7693 * posix/regex_internal.c: Likewise.
7694 * posix/regex_internal.h: Likewise.
7695 * posix/regexec.c: Likewise.
7696
b11643c2
MF
76972018-06-26 Mike FABIAN <mfabian@redhat.com>
7698
7699 [BZ #23308]
7700 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
7701 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
7702 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
7703 * localedata/unicode-gen/PropList.txt: likewise.
7704 * localedata/unicode-gen/UnicodeData.txt: likewise.
7705 * localedata/charmaps/UTF-8: Regenerate.
7706 * localedata/locales/i18n_ctype: likewise.
7707 * localedata/locales/tr_TR: likewise.
7708 * localedata/locales/translit_circle: likewise.
7709 * localedata/locales/translit_cjk_compat: likewise.
7710 * localedata/locales/translit_combining: likewise.
7711 * localedata/locales/translit_compat: likewise.
7712 * localedata/locales/translit_font: likewise.
7713 * localedata/locales/translit_fraction: likewise.
7714
5a357506
FW
77152018-07-03 Florian Weimer <fweimer@redhat.com>
7716
7717 [BZ #23363]
7718 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
7719 * stdio-common/tst-printf.sh: Adjust expected output.
7720 * LICENSES: Update.
7721
7279af00
AZ
77222018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7723
7724 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
7725 symbol.
7726
b7b88cea
GG
77272018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7728
7729 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
7730 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
7731 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
7732 * stdio-common/tst-printfsz-islongdouble.c: New file.
7733 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
7734 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
7735 [subdir == stdio-common] (routines): Add ieee128-printf_size.
7736 [subdir == stdio-common] (tests-internal): Add
7737 test-printf-size-ieee128, and test-printf-size-ibm128.
7738 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
7739 (CFLAGS-test-printf-size-ibm128.c): New variables.
7740 [subdir == stdio-common] (tests-special): Add
7741 $(objpfx)test-printf-size-ieee128.out and
7742 $(objpfx)test-printf-size-ibm128.out.
7743 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
7744 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
7745 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
7746 __printf_sizeieee128.
7747 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
7748 New file.
7749 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
7750 Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
7752 Likewise.
7753
2b445206
SN
77542018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7755
7756 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
7757 (exp2f_inline): Likewise.
7758 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
7759 (__math_uflowf): Likewise.
7760 (__math_may_uflowf): Likewise.
7761 (__math_divzerof): Likewise.
7762 (__math_invalidf): Likewise.
7763 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
7764 (__math_oflowf): Likewise.
7765 (__math_uflowf): Likewise.
7766 (__math_may_uflowf): Likewise.
7767 (__math_divzerof): Likewise.
7768 (__math_invalidf): Likewise.
7769
2827ab99
CD
77702018-06-29 DJ Delorie <dj@redhat.com>
7771 Carlos O'Donell <carlos@redhat.com>
7772
7773 [BZ #23329]
7774 * include/libc-symbols.h: Comment the freeres framework.
7775 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
7776 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
7777 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
7778 * dlfcn/dlerror.c: Include libc-symbols.h
7779 (__dlerror_main_freeres): New function.
7780 * dlfcn/dlfreeres.c: New file.
7781 * dlfcn/sdlfreeres.c: New file.
7782 * include/dlfcn.h: Declare __dlerror_main_freeres.
7783 * malloc/set-freeres.c: Declare __libdl_freeres, and
7784 __libpthread_freeres.
7785 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
7786 the releavant libraries are loaded.
7787 * malloc/thread-freeres.c: Add comments.
7788 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
7789 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
7790 * nptl/allocatestack.c (__nptl_free_stacks): New function.
7791 (__free_stacks): Rename to...
7792 (free_stacks): ...this. Mark static.
7793 (queue_stack): Call free_stacks.
7794 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
7795 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
7796 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
7797 ptr_freeres element from struct.
7798 (pthread_functions): Remove .ptr_freeres from struct initializer.
7799 [SHARED] (nptl_freeres): Remove.
7800 * nptl/nptlfreeres.c: New file.
7801 * nptl/pthreadP.h
7802 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
7803 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
7804 attribute_hidden.
7805 (__free_stacks): Rename to...
7806 (__nptl_stacks_freeres): ...this.
7807 (__shm_directory_freeres): Declare.
7808 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
7809 (__nptl_unwind_freeres): ...this.
7810 * resolv/res-close.c: Add comment.
7811 * resolv/resolv_conf.c: Include libc-symbols.h.
7812 * string/strerror_l.c: Include libc-symbols.h.
7813 * sunrpc/rpc_thread.c: Include libc-symbols.h.
7814 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
7815 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
7816 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
7817
37d3d244
RS
78182018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7819
7820 * stdlib/tst-strfmon_l.c: Add tests for long double.
7821
a1e0c5fa
MW
78222018-06-29 Michael Wolf <milupo@sorbzilla.de>
7823
7824 [BZ #23208]
7825 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
7826 * localedata/locales/dsb_DE: New file.
7827
2e0c5de6
RL
78282018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7829
7830 [BZ #23140]
7831 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
7832 genitive case).
7833 (alt_mon): New entry, import from CLDR (nominative case).
7834
cdb52c71
SL
78352018-06-29 Sylvain Lesage <severo@rednegra.net>
7836
7837 [BZ #22996]
7838 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
7839
ce76a5cb
SP
78402018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
7841
0aec4c1d
SP
7842 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
7843 Use vector registers.
7844
ce76a5cb
SP
7845 * sysdeps/aarch64/multiarch/memmove_falkor.S
7846 (__memcpy_falkor): Use vector registers.
7847
7e8989d0
MS
78482018-06-29 Martin Sebor <msebor@redhat.com>
7849
7850 * manual/stdio.texi (Customizing Printf): Mention interaction
7851 with GCC built-ins.
7852
bac15a72
MR
78532018-06-29 Maciej W. Rozycki <macro@mips.com>
7854
7855 [BZ #23307]
7856 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
7857 `st_value' is 0 if `st_shndx' is SHN_ABS.
7858 * elf/tst-absolute-zero.c: New file.
7859 * elf/tst-absolute-zero-lib.c: New file.
7860 * elf/tst-absolute-zero-lib.lds: New file.
7861 * elf/Makefile (tests): Add `tst-absolute-zero'.
7862 (modules-names): Add `tst-absolute-zero-lib'.
7863 (LDLIBS-tst-absolute-zero-lib.so): New variable.
7864 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
7865 ($(objpfx)tst-absolute-zero: New dependency.
7866
e69d994a
ZW
78672018-06-29 Zack Weinberg <zackw@panix.com>
7868
7869 * configure.ac: New command-line option --disable-crypt.
7870 Force --disable-nss-crypt when --disable-crypt is given, with a
7871 warning if it was explicitly enabled.
7872 * configure: Regenerate.
7873 * config.make.in: New boolean substitution variable $(build-crypt).
7874 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
7875 when $(build-crypt).
7876 * manual/install.texi: Document --disable-crypt.
7877 * INSTALL: Regenerate.
7878
7879 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
7880 which is never set.
7881 * conform/Makefile: Only include libcrypt.a in
7882 linknamespace-libs-xsi and linknamespace-libs-XPG4
7883 when $(build-crypt).
7884 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
7885 USE_CRYPT to 1 when $(build-crypt).
7886 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
7887 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
7888 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
7889
841785ba
ZW
78902018-06-29 Zack Weinberg <zackw@panix.com>
7891
7892 * crypt/crypt.h, posix/unistd.h: Update comments and
7893 prototypes for crypt and crypt_r.
7894
7895 * manual/crypt.texi (Cryptographic Functions): New initial
7896 exposition.
7897 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
7898 (Unpredictable Bytes): Improve initial exposition. Clarify error
7899 behavior of getentropy and getrandom.
7900 * manual/examples/genpass.c: Generate a salt using getentropy
7901 instead of the current time. Use hash $5$ (SHA-2-256).
7902 * manual/examples/testpass.c: Demonstrate validation against
7903 hashes generated with three different one-way functions.
7904
7905 * manual/intro.texi: crypt.texi does not need an overview
7906 anymore.
7907
7908 * manual/nss.texi, manual/memory.texi, manual/socket.texi
7909 * manual/terminal.texi: Consistently refer to "passphrases"
7910 * instead of "passwords", and to the "user database" instead
7911 * of the "password database".
7912 * manual/users.texi: Similarly. Add notes about how actual
7913 passphrase hashes are now stored in the shadow database.
7914 Remove 20-year-old junk todo note.
7915
6ab902e4
ZW
79162018-06-29 Zack Weinberg <zackw@panix.com>
7917
7918 * manual/crypt.texi: Use a normal top-level @node declaration.
7919 Move most of the introductory text to the 'crypt' section.
7920 Move the example programs below the @deftypefun for 'crypt_r'.
7921 Move the 'getpass' section...
7922 * manual/terminal.texi: ...here.
7923
b10a0acc
ZW
79242018-06-29 Zack Weinberg <zackw@panix.com>
7925 Florian Weimer <fweimer@redhat.com>
7926
7927 * posix/unistd.h: Do not declare encrypt.
7928 (_XOPEN_CRYPT): Remove macro definition.
7929 (crypt): Declare only for _USE_MISC.
7930 * stdlib/stdlib.h: Do not declare setkey.
7931 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
7932 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
7933
7934 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
7935 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
7936 into compat symbols. Don't define initial_perm if it's not
7937 going to be used.
7938 * crypt/cert.c: Link explicitly with the expected versions for
7939 setkey and encrypt. If they are not available at all, mark
7940 the test as unsupported.
7941
7942 * sunrpc/des_crypt.c: Unconditionally block linkage with
7943 cbc_crypt and ecb_crypt for new binaries.
7944 * sunrpc/des_soft.c: Unconditionally block linkage with
7945 des_setparity for new binaries.
7946
7947 * manual/crypt.texi: Remove the entire "DES Encryption"
7948 section. Also remove the paragraph talking about FIPS 140-2
7949 from the introduction.
7950 * manual/string.texi (strfry, memfrob): Revise. Recommend use
7951 of libgcrypt for "real" encryption, not DES.
7952 * manual/conf.texi (Constants for Sysconf): Mention that
7953 _XOPEN_CRYPT is no longer impelemented.
7954
7955 * conform/data/unistd.h-data: Remove crypt function declaration.
7956
524d796d
FW
79572018-06-29 Florian Weimer <fweimer@redhat.com>
7958
7959 [BZ #23351]
7960 * malloc/hooks.c: Update comments on restoring of dumped heaps.
7961 (disallow_malloc_check): Remove variable.
7962 (__malloc_check_init): Adjust.
7963 (malloc_set_state): Update comment.
7964 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
7965 declarations.
7966
339124ab
RL
79672018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7968
7969 [BZ #23140]
7970 * localedata/locales/ast_ES (mon): Rename to...
7971 (alt_mon): This.
7972 (mon): Import from CLDR (genitive case).
7973
c1f86a33
DA
79742018-06-29 Daniel Alvarez <dalvarez@redhat.com>
7975 Jakub Sitnicki <jkbs@redhat.com>
7976
7977 [BZ #21812]
7978 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
7979 on NLM_F_DUMP_INTR.
7980
0b11b649
SN
79812018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
7982
7983 * manual/llio.texi: Remove spurious space.
7984
c1c2848b
FW
79852018-06-28 Florian Weimer <fweimer@redhat.com>
7986
7987 [BZ #23349]
7988 * time/bits/types/struct_timespec.h: Change header inclusion guard to
7989 _STRUCT_TIMESPEC.
7990
86a0f561
RS
79912018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7992
7993 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
7994 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
7995 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
7996 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
7997 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
7998 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
7999 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8000
780684eb
MR
80012018-06-27 Maciej W. Rozycki <macro@mips.com>
8002
8003 [BZ #23266]
8004 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8005 Copy and null-terminate entries that are not terminated, in
8006 addition to empty ones.
8007
c49e1822
FW
80082018-06-27 Florian Weimer <fweimer@redhat.com>
8009
8010 [BZ #18023]
8011 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8012 (extend_alloca_account): Remove.
8013 * manual/stdio.texi (Variable Arguments Output): Update comment.
8014
a833e627
JM
80152018-06-27 Joseph Myers <joseph@codesourcery.com>
8016
8017 * nptl/sockperf.c: Remove file.
8018
92d6aa85
FW
80192018-06-27 Florian Weimer <fweimer@redhat.com>
8020
8021 [BZ #18023]
8022 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8023 scratch_buffer instead of extend_alloca.
8024
890c2ced
FW
80252018-06-27 Florian Weimer <fweimer@redhat.com>
8026
8027 [BZ #18023]
8028 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8029 scratch_buffer instead of extend_alloca. Update comments.
8030
4272059d
FW
80312018-06-27 Florian Weimer <fweimer@redhat.com>
8032
8033 [BZ #18023]
8034 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8035 instead of extend_alloca.
8036
27f10a09
JM
80372018-06-26 Joseph Myers <joseph@codesourcery.com>
8038
8039 [BZ #13888]
8040 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8041 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8042 /tmp.
8043 * scripts/test-installation.pl: Put temporary files in build
8044 directory, not /tmp.
8045 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8046 (CFLAGS-bug4.c): Likewise.
8047 (CFLAGS-bug5.c): Likewise.
8048 (CFLAGS-test-fseek.c): Likewise.
8049 (CFLAGS-test-popen.c): Likewise.
8050 (CFLAGS-test_rdwr.c): Likewise.
8051 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8052 /tmp.
8053 * stdio-common/bug4.c (main): Likewise.
8054 * stdio-common/bug5.c (main): Likewise.
8055 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8056 * stdio-common/test-popen.c (do_test): Likewise.
8057 * stdio-common/test_rdwr.c (main): Likewise.
8058
05598a09
PF
80592018-06-26 Patsy Franklin <pfrankli@redhat.com>
8060
8061 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8062 (sem_open): Set sem.newsem.pad to zero for valgrind.
8063
06ab719d
AZ
80642018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8065
8066 [BZ #20251]
8067 * NEWS: Mention fcntl64 addition.
8068 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8069 * login/utmp_file.c: Likewise.
8070 * sysdeps/posix/fdopendir.c: Likewise.
8071 * sysdeps/posix/opendir.c: Likewise.
8072 * sysdeps/unix/pt-fcntl.c: Likewise.
8073 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8074 __fcntl64_nocancel_adjusted): New prototype.
8075 (__fcntl_nocancel_adjusted): Remove prototype.
8076 * io/Makefile (routines): Add fcntl64.
8077 (CFLAGS-fcntl64.c): New rule.
8078 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8079 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8080 * io/fcntl.h (fcntl64): Add prototype and redirect if
8081 __USE_FILE_OFFSET64 is defined.
8082 * io/fcntl64.c: New file.
8083 * manual/llio.text: Add a note for which commands fcntl acts a
8084 cancellation point.
8085 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8086 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8087 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8088 New symbols.
8089 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8090 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8091 non-LFS case.
8092 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8093 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8094 to __fcntl64_nocancel.
8095 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8096 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8097 to __fcntl64_nocancel.
8098 * sysdeps/generic/not-cancel.h: Likewise.
8099 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8100 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8101 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8102 (fcntl64): New symbol.
8103 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8104 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8109 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8110 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8111 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8113 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8114 fcntl64): Likewise.
8115 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8116 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8117 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8118 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8119 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8120 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8121 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8122 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8123 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8125 Likewise.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8127 Likewise.
8128 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8129 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8130 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8131
124e0258
FW
81322018-06-26 Florian Weimer <fweimer@redhat.com>
8133
8134 Run thread shutdown functions in an explicit order.
8135 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
8136 definition.
8137 (__libc_thread_freeres): Call thread shutdown functions
8138 explicitly.
8139 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
8140 * include/string.h (__strerror_thread_freeres): Declare.
8141 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
8142 arena_thread_freeres. No longer static. Remove thread shutdown
8143 hook registration.
8144 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
8145 Declare.
8146 * resolv/res-close.c (__res_thread_freeres): Renamed from
8147 res_thread_freeres. No longer static. Remove thread shutdown
8148 hook registration.
8149 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
8150 * resolv/resolv_conf.c (freeres): Remove incorrect section
8151 attribute and use libc_freeres_fn.
8152 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
8153 strerror_thread_freeres. No longer static. Remove thread
8154 shutdown hook registration.
8155 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
8156 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
8157 shutdown hook registration.
8158 * Makerules (shlib.lds): Do not provide section boundary symbols
8159 for __libc_thread_subfreeres.
8160 * manual/memory.texi (Basic Allocation): Update comment.
8161
935d920e
FW
81622018-06-26 Florian Weimer <fweimer@redhat.com>
8163
8164 Remove always-defined _RPC_THREAD_SAFE_ macro.
8165 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
8166 Do not define _RPC_THREAD_SAFE_.
8167 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
8168 conditional.
8169 * sunrpc/clnt_perr.c: Likewise.
8170 * sunrpc/clnt_raw.c: Likewise.
8171 * sunrpc/clnt_simp.c: Likewise.
8172 * sunrpc/key_call.c: Likewise.
8173 * sunrpc/rpc_common.c: Likewise.
8174 * sunrpc/rpc_main.c: Likewise.
8175 * sunrpc/rpc_thread.c: Likewise.
8176 * sunrpc/svc.c: Likewise.
8177 * sunrpc/svc_raw.c: Likewise.
8178 * sunrpc/svc_simple.c: Likewise.
8179 * sumrpc/svcauth_des.c: Likewise.
8180
29055464
FW
81812018-06-26 Florian Weimer <fweimer@redhat.com>
8182
8183 * libio/Makefile (tests-internal): Add tst-vtables,
8184 tst-vtables-interposed.
8185 * libio/tst-vtables.c: New file.
8186 * libio/tst-vtables-common.c: Likewise.
8187 * libio/tst-vtables-interposed.c: Likewise.
8188
5c0202af
FW
81892018-06-26 Florian Weimer <fweimer@redhat.com>
8190
8191 * support/support_test_main.c (support_test_main): Only call
8192 setvbuf if not disables.
8193 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
8194 * support/test-driver.h (struct test_config): Add no_setvbuf member.
8195
c402355d
FW
81962018-06-26 Florian Weimer <fweimer@redhat.com>
8197
8198 [BZ #23313]
8199 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
8200
43b1048a
FW
82012018-06-25 Florian Weimer <fweimer@redhat.com>
8202
8203 [BZ #18023]
8204 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8205 Use struct scratch_buffer instead of extend_alloca.
8206
1599ed4e
FW
82072018-06-25 Florian Weimer <fweimer@redhat.com>
8208
8209 [BZ #18023]
8210 * nss/getent.c (initgroups_keys): Use dynarray instead of
8211 extend_alloca.
8212
a26fe163
FW
82132018-06-25 Florian Weimer <fweimer@redhat.com>
8214
8215 [BZ #18023]
8216 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
8217 Use struct scratch_buffer instead of extend_alloca.
8218
90d9d9ce
FW
82192018-06-25 Florian Weimer <fweimer@redhat.com>
8220
8221 [BZ #18023]
8222 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
8223 back to malloc directly, without stack allocations.
8224
6b7b2aba
FW
82252018-06-25 Florian Weimer <fweimer@redhat.com>
8226
8227 [BZ #18023]
8228 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
8229 of extend_alloca.
8230
2f9f0d18
FW
82312018-06-25 Florian Weimer <fweimer@redhat.com>
8232
8233 [BZ #18023]
8234 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
8235 of extend_alloca.
8236 * nscd/hstcache.c (addhstbyX): Likewise.
8237 * nscd/pwdcache.c (addpwbyX): Likewise.
8238 * nscd/servicescache.c (addservbyX): Likewise.
8239
318bad78
FW
82402018-06-25 Florian Weimer <fweimer@redhat.com>
8241
8242 [BZ #18023]
8243 * nscd/connections.c (read_cmdline): New function.
8244 (restart): Use it. Update comment.
8245
189699ab
RL
82462018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8247
8248 [BZ #23140]
8249 * localedata/locales/csb_PL (mon): Rename to...
8250 (alt_mon): This.
8251 (abmon): Rename to...
8252 (ab_alt_mon): This.
8253 (mon): Add with proper genitive forms, copy from Wikipedia.
8254 (abmon): Likewise.
8255
0ea3f13c
RL
82562018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
8257
8258 [BZ #19485]
8259 * localedata/locales/csb_PL (mon): Fix typos:
8260 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
8261 (yesstr): Add, value is "jo".
8262 (nostr): Add, value is "nié".
8263
d93f4ff1
TMQMF
82642018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8265
8266 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
8267 all log1p and significand functions on m680x0.
8268 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
8269 of s_significand.c..
8270 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8271 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
8272 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
8273 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
8274 s_log1p.c and include it..
8275
f6299d2a
VC
82762018-06-21 Vincent Chen <vincentc@andestech.com>
8277
8278 * elf/elf.h (R_NDS32_NONE): New define.
8279 (R_NDS32_32_RELA): Likewise.
8280 (R_NDS32_COPY): Likewise.
8281 (R_NDS32_GLOB_DAT): Likewise.
8282 (R_NDS32_JUMP_SLOT): Likewise.
8283 (R_NDS32_RELATIVE): Likewise.
8284 (R_NDS32_TLS_TPOFF): Likewise.
8285 (R_NDS32_TLS_DESC): Likewise.
8286
61ab61c2
MW
82872018-06-21 Mark Wielaard <mark@klomp.org>
8288
8289 * elf/elf.h (R_BPF_MAP_FD): Removed.
8290 (R_BPF_64_64, R_BPF_64_32): New.
8291
f496b28e
FW
82922018-06-21 Florian Weimer <fweimer@redhat.com>
8293
8294 [BZ #23253]
8295 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
8296 Renamed from libc_feholdsetround_ctx.
8297 (default_libc_feresetround_ctx): Renamed from
8298 libc_feresetround_ctx.
8299 (default_libc_feholdsetround_noex_ctx): Renamed from
8300 libc_feholdsetround_noex_ctx.
8301 (default_libc_feresetround_noex_ctx): Renamed from
8302 libc_feresetround_noex_ctx.
8303 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
8304 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
8305 forwardning to the old implementations under the new names.
8306 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
8307 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
8308 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
8309 (libc_feresetround_ctx): Forward to default implements for i386
8310 and MATH_SET_BOTH_ROUNDING_MODES.
8311 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
8312 Add -DMATH_SET_BOTH_ROUNDING_MODES.
8313
1760daad
JM
83142018-06-20 Joseph Myers <joseph@codesourcery.com>
8315
99c7adf9
JM
8316 * string/tst-cmp.c: Include <libc-diag.h>.
8317 (strncmp_max): Disable -Wstringop-overflow= around call to
8318 strncmp.
8319 (strncasecmp_max): Disable -Wstringop-overflow= around call to
8320 strncasecmp.
8321
1760daad
JM
8322 * string/bug-strpbrk1.c: Include <libc-diag.h>.
8323 (main): Disable -Wunused-value around call to strpbrk.
8324 * string/bug-strspn1.c: Include <libc-diag.h>.
8325 (main): Disable -Wunused-value around call to strspn.
8326
209ae17c
TMQMF
83272018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8328 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8329
8330 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
8331 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
8332
badba23c
TMQMF
83332018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8334
5e79e029
TMQMF
8335 * math/Makefile (libm-calls): Move s_significandF to...
8336 (gen-libm-calls): ... here.
8337 * math/s_significand_template.c: New file.
8338 * math/s_significand.c: Removed.
8339 * math/s_significandf.c: Removed.
8340 * math/s_significandl.c: Removed.
8341 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
8342 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
8343
badba23c
TMQMF
8344 * math/e_exp2_template.c (declare_mgen_finite_alias,
8345 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
8346 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
8347 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
8348
2d1c89a5
FW
83492018-06-20 Florian Weimer <fweimer@redhat.com>
8350
8351 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
8352
646c2833
JM
83532018-06-19 Joseph Myers <joseph@codesourcery.com>
8354
8355 [BZ #23280]
8356 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
8357 floating-point number to strtod functions rather than possibly
8358 negating result of those functions.
8359 * stdio-common/tst-scanf-round.c: New file.
8360 * stdio-common/Makefile (tests): Add tst-scanf-round.
8361 ($(objpfx)tst-scanf-round): Depend on $(libm).
8362
c77e4dc0
ST
83632018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8364
8365 * sysdeps/mach/hurd/localplt.data: Move to...
8366 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
8367 R_386_GLOB_DAT like on Linux i386.
8368
91b2f3e5
JM
83692018-06-18 Joseph Myers <joseph@codesourcery.com>
8370
f2857da7
JM
8371 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
8372 (SHM_STAT_ANY): New macro.
8373 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
8374 (SHM_STAT_ANY): Likewise.
8375 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
8376 (SHM_STAT_ANY): Likewise.
8377 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
8378 (SHM_STAT_ANY): Likewise.
8379 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
8380 (SHM_STAT_ANY): Likewise.
8381 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
8382 (SHM_STAT_ANY): Likewise.
8383 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
8384 (SHM_STAT_ANY): Likewise.
8385 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
8386 (SHM_STAT_ANY): Likewise.
8387 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
8388 (SHM_STAT_ANY): Likewise.
8389 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
8390 (SHM_STAT_ANY): Likewise.
8391 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
8392 (SHM_STAT_ANY): Likewise.
8393 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
8394 (SHM_STAT_ANY): Likewise.
8395
176c7fee
JM
8396 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
8397 (SEM_STAT_ANY): New macro.
8398 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
8399 (SEM_STAT_ANY): Likewise.
8400 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
8401 (SEM_STAT_ANY): Likewise.
8402 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
8403 (SEM_STAT_ANY): Likewise.
8404 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
8405 (SEM_STAT_ANY): Likewise.
8406 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
8407 (SEM_STAT_ANY): Likewise.
8408 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
8409 (SEM_STAT_ANY): Likewise.
8410 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
8411 (SEM_STAT_ANY): Likewise.
8412 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
8413 (SEM_STAT_ANY): Likewise.
8414 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
8415 (SEM_STAT_ANY): Likewise.
8416
86bf0019
JM
8417 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
8418 (MSG_STAT_ANY): New macro.
8419 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
8420 (MSG_STAT_ANY): Likewise.
8421 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
8422 (MSG_STAT_ANY): Likewise.
8423 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
8424 (MSG_STAT_ANY): Likewise.
8425 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
8426 (MSG_STAT_ANY): Likewise.
8427 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
8428 (MSG_STAT_ANY): Likewise.
8429 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
8430 (MSG_STAT_ANY): Likewise.
8431 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
8432 (MSG_STAT_ANY): Likewise.
8433 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
8434 (MSG_STAT_ANY): Likewise.
8435 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
8436 (MSG_STAT_ANY): Likewise.
8437
91b2f3e5
JM
8438 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8439 (MAP_TYPE): Change value to 0x2b.
8440
3fe8fc79
FW
84412018-06-18 Florian Weimer <fweimer@redhat.com>
8442
8443 [BZ #15722]
8444 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
8445 socket with SOCK_CLOEXEC.
8446
809dc95d
JM
84472018-06-18 Joseph Myers <joseph@codesourcery.com>
8448
8449 [BZ #23303]
8450 * sysdeps/powerpc/powerpc64/le/Makefile
8451 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
8452 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
8453 (gnulib-tests): Also add $(f128-loader-link) for
8454 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
8455
298a8b59
ST
84562018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8457
8458 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
8459 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
8460 of sendfile.
8461 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
8462 (sendfile64): New strong alias.
faf7bbc2
ST
8463 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
8464 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
8465 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
8466 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
8467 attribute.
8468 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
8469 ___pthread_get_cleanup_stack.
932d05f0 8470 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
8471 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
8472 * mach/shortcut.awk: Make syscall stubs include
8473 <mach-shortcuts-hidden.h> and add hidden definition.
8474 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
8475 (__mach_msg): Add hidden prototype.
8476 * mach/msg.c: Include <mach.h>.
8477 (__mach_msg): Add hidden definition.
b0344cf5
ST
8478 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
8479 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
8480 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
8481 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
8482 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
8483 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
8484 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
8485 prototype and definition.
8486 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
8487 hidden target for _hurd_self_sigstate.
298a8b59 8488
b12c1e79
JM
84892018-06-15 Joseph Myers <joseph@codesourcery.com>
8490
8491 [BZ #23007]
8492 * stdlib/tst-strtod-nan-sign-main.c: New file.
8493 * stdlib/tst-strtod-nan-sign.c: Likewise.
8494 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
8495 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
8496 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
8497 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
8498 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
8499
b0debe14
HB
85002018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
8501
8502 [BZ #23007]
8503 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
8504 appropriate sign.
8505
14beef75
FW
85062018-06-14 Florian Weimer <fweimer@redhat.com>
8507
8508 [BZ #23290]
8509 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
8510 that the result stays within the ISO-8859-1 range.
8511 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
8512 characters are defined in IBM273.
8513
c596630b
ST
85142018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8515
8516 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
8517 __mach_task_self): Remove attribute_hidden.
8518
35ebb6b0
JM
85192018-06-14 Joseph Myers <joseph@codesourcery.com>
8520
8521 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
8522 ignore -Wrestrict for one test.
8523
3c7b9f1f
SE
85242018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
8525 Szabolcs Nagy <szabolcs.nagy@arm.com>
8526
8527 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
8528
c59ee916
FW
85292018-06-14 Florian Weimer <fweimer@redhat.com>
8530
8531 * scripts/update-abilist.sh: Accept empty list of files to patch.
8532
43b5ff50
ST
85332018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8534
8535 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
8536 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
8537 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
8538 __libc_read and __libc_write to __read and __write.
c8c6e6d6 8539 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
8540 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
8541 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
8542 __thread_switch, __evc_wait): Move declarations to...
8543 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
8544 attribute_hidden.
06d1a826
ST
8545 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
8546 use PLT to call _hurd_self_sigstate.
43b5ff50 8547
fcd6b5ac
JM
85482018-06-13 Joseph Myers <joseph@codesourcery.com>
8549
8550 [BZ #23279]
8551 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
8552 MAX_EXP as overflowing.
8553 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
8554 overflow flag.
8555 (round_str): Output also whether result overflows in each rounding
8556 mode.
8557 * stdlib/tst-strtod-round-data: Add more tests.
8558 * stdlib/tst-strtod-round-data.h: Regenerated.
8559 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
8560 (TEST): Handle extra arguments for overflow flags.
8561 (struct test_overflow): New type.
8562 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
8563 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
8564 (test_in_one_mode): Take argument with overflow information.
8565 (do_test): Update calls to test_in_one_mode.
8566
35df5a77
CD
85672018-06-12 Carlos O'Donell <carlos@redhat.com>
8568
a745c837
CD
8569 * elf/dl-load (_dl_dst_substitute): Correct comment.
8570 (_dl_dst_count): Likewise.
8571
35df5a77
CD
8572 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
8573 lll_futex_timed_wait.
8574
48b12ed5
JM
85752018-06-12 Joseph Myers <joseph@codesourcery.com>
8576
8577 [BZ #23277]
8578 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
8579 attribute.
8580 * math/test-nan-const.c: New file.
8581 * math/Makefile (tests): Add test-nan-const.
8582 (CFLAGS-test-nan-const.c): New variable.
8583
cb8f6aff
L
85842018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 * benchtests/scripts/compare_strings.py (process_results): Add
8587 funcs argument. Compare only functions which are selected.
8588 (main): Check if base function is among selected functions.
8589 Pass selected functions to process_results.
8590 (__main__): Add -f/--functions argument.
8591
fc2ba803
HZ
85922018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
8593 Hongbo Zhang <hongbo.zhang@linaro.org>
8594
8595 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
8596 __memcpy_falkor for phecda core.
8597 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
8598 __memmove_falkor for phecda core.
8599 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
8600 __memset_falkor for phecda core.
8601 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
8602 for phecda core.
8603 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
8604 macro to identify phecda core.
8605
5aad5f61
CD
86062018-06-12 Carlos O'Donell <carlos@redhat.com>
8607 Andreas Schwab <schwab@suse.de>
8608 Dmitry V. Levin <ldv@altlinux.org>
8609 Florian Weimer <fweimer@redhat.com>
8610
8611 [BZ #23102]
8612 [BZ #21942]
8613 [BZ #18018]
8614 [BZ #23259]
8615 CVE-2011-0536
8616 * elf/dl-dst.h: Remove DL_DST_COUNT.
8617 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
8618 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
8619 (is_dst): Comment. Support ELF gABI.
8620 (_dl_dst_count): Comment. Simplify and count DSTs.
8621 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
8622 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
8623 locals.
8624
329ea513
ZW
86252018-06-12 Zack Weinberg <zackw@panix.com>
8626
8627 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
8628 * sysdeps/unix/sysv/linux/dl-sysdep.c
8629 Include not-cancel.h. Use __close_nocancel instead of __close,
8630 __open64_nocancel instead of __open, __read_nocancel instead of
8631 __libc_read, and __write_nocancel instead of __libc_write.
8632
8633 * csu/check_fds.c (check_one_fd)
8634 * sysdeps/posix/fdopendir.c (__fdopendir)
8635 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
8636 instead of __fcntl and/or __libc_fcntl.
8637
8638 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
8639 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
8640 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
8641 Use __open64_nocancel instead of __open_nocancel.
8642
8643 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
8644 hidden_proto declarations to the end and issue them if either
8645 IS_IN(libc) or IS_IN(rtld).
8646 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
8647 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
8648 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
8649 read_nocancel, waitpid_nocancel, write_nocancel.
8650
8651 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
8652 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
8653 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
8654
8655 * nptl/pt-fcntl.c: New file.
8656 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
8657 (libpthread-routines): Add pt-fcntl.
8658 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
8659 (__libc_fcntl): Remove attribute_hidden.
8660 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
8661 __fcntl_nocancel_adjusted, not fcntl_common.
8662 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
8663 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
8664 to fcntl_nocancel.c.
8665 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8668 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
8669
8670 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
8671 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
8672 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
8673 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
8674 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
8675 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
8676 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
8677 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
8678 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
8679 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
8680 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
8681 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
8682 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
8683 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
8684 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
8685 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
8686 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
8687 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
8688 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
8689 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
8690
8691 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
8692 libpthread-routines.
8693 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
8694 defines nothing.
8695
8696 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
8697 __libc_read, and __write instead of __libc_write. Define
8698 __open64 in addition to __open.
8699
0221ce2a
L
87002018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8701
8702 [BZ #23250]
8703 [BZ #10686]
8704 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
8705 to _private_tm[3] and add __glibc_reserved2.
8706 Add _Static_assert of offset of __private_ss == 0x30.
8707 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
8708 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
8709
e826574c
FW
87102018-06-12 Florian Weimer <fweimer@redhat.com>
8711
8712 x86: Make strncmp usable from rtld.
8713 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
8714 __strncmp_ia32 if in libc (and not in rtld).
8715 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
8716 strncmp if not in libc (and not to __strncmp_sse2).
8717
c4ad5782
RL
87182018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
8719
8720 [BZ #23140]
8721 * localedata/locales/gd_GB (mon): Rename to...
8722 (alt_mon): This.
8723 (mon): Import from CLDR (genitive case).
8724 * localedata/locales/hsb_DE (mon): Rename to...
8725 (alt_mon): This.
8726 (mon): Import from CLDR (genitive case).
8727 * localedata/locales/wa_BE (mon): Rename to...
8728 (alt_mon): This.
8729 (mon): Add, fill with the proper genitive forms, but CLDR data
8730 is incomplete; completed according to the comments in this file.
8731 (d_t_fmt): Do not use "di" before the month name, no longer needed.
8732
8733 * localedata/locales/wa_BE (country_name): Reword
8734 "Beljike" -> "Beldjike".
8735
ca121b11
JM
87362018-06-11 Joseph Myers <joseph@codesourcery.com>
8737
8738 [BZ #23272]
8739 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
8740 cases of non-finite arguments.
8741 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8742
2b69fecb
JDA
87432018-06-10 John David Anglin <danglin@gcc.gnu.org>
8744
8745 [BZ #23174]
8746 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
8747
283d9851
AZ
87482018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8749
8750 [BZ #23264]
8751 * include/unistd.h (__execvpex): New prototype.
8752 * posix/Makefile (tests): Add tst-spawn4.
8753 (tests-internal): Add tst-spawn4-compat.
8754 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
8755 * posix/tst-spawn4-compat.c: New file.
8756 * posix/tst-spawn4.c: Likewise.
8757 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
8758 binaries as shell scripts.
8759 * sysdeps/posix/spawni.c (__spawni): Likewise.
8760
67c05796
L
87612018-06-08 H.J. Lu <hongjiu.lu@intel.com>
8762
8763 [BZ #23145]
8764 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
8765 ($(all-built-dso:=.dynsym): New target.
8766 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
8767 ($(objpfx)check-initfini.out): New target.
8768 (generated): Add check-initfini.out.
8769 * scripts/check-initfini.awk: New file.
8770 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
8771 (_fini): Likewise.
8772 * sysdeps/alpha/crti.S (_init): Mark as hidden.
8773 (_fini): Likewise.
8774 * sysdeps/arm/crti.S (_init): Mark as hidden.
8775 (_fini): Likewise.
8776 * sysdeps/hppa/crti.S (_init): Mark as hidden.
8777 (_fini): Likewise.
8778 * sysdeps/i386/crti.S (_init): Mark as hidden.
8779 (_fini): Likewise.
8780 * sysdeps/ia64/crti.S (_init): Mark as hidden.
8781 (_fini): Likewise.
8782 * sysdeps/m68k/crti.S (_init): Mark as hidden.
8783 (_fini): Likewise.
8784 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
8785 (_fini): Likewise.
8786 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
8787 (_fini): Likewise.
8788 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
8789 (_fini): Likewise.
8790 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
8791 (_fini): Likewise.
8792 * sysdeps/nios2/crti.S (_init): Mark as hidden.
8793 (_fini): Likewise.
8794 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
8795 (_fini): Likewise.
8796 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
8797 (_fini): Likewise.
8798 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
8799 (_fini): Likewise.
8800 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
8801 (_fini): Likewise.
8802 * sysdeps/sh/crti.S (_init): Mark as hidden.
8803 (_fini): Likewise.
8804 * sysdeps/sparc/crti.S (_init): Mark as hidden.
8805 (_fini): Likewise.
8806 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
8807 (_fini): Likewise.
8808
1c09524e
TMQMF
88092018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8810
8811 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
8812 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
8813 and TF redirection to KFtype and KF only when the default
8814 long double type is not the IEEE 128-bit floating point type.
8815
0e0577c9
JM
88162018-06-05 Joseph Myers <joseph@codesourcery.com>
8817
0c1c33b2
JM
8818 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
8819 macro.
8820 (HWCAP_USCAT): Likewise.
8821 (HWCAP_ILRCPC): Likewise.
8822 (HWCAP_FLAGM): Likewise.
8823 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8824 Increase to 28.
8825 (_dl_aarch64_cap_flags): Add new flag names.
8826
bef1cbf4
JM
8827 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
8828 (MAP_FIXED_NOREPLACE): New macro.
8829 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
8830 (MAP_FIXED_NOREPLACE): Likewise.
8831 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
8832 (MAP_FIXED_NOREPLACE): Likewise.
8833 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8834 (MAP_FIXED_NOREPLACE): Likewise.
8835 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
8836 (MAP_FIXED_NOREPLACE): Likewise.
8837 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
8838 (MAP_FIXED_NOREPLACE): Likewise.
8839 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
8840 (MAP_FIXED_NOREPLACE): Likewise.
8841 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
8842 (MAP_FIXED_NOREPLACE): Likewise.
8843 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
8844 (MAP_FIXED_NOREPLACE): Likewise.
8845 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
8846 (MAP_FIXED_NOREPLACE): Likewise.
8847 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
8848 (MAP_FIXED_NOREPLACE): Likewise.
8849 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
8850 (MAP_FIXED_NOREPLACE): Likewise.
8851 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
8852 (MAP_FIXED_NOREPLACE): Likewise.
8853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
8854 (MAP_FIXED_NOREPLACE): Likewise.
8855 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
8856 (MAP_FIXED_NOREPLACE): Likewise.
8857
0e0577c9
JM
8858 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8859 version to 4.17.
8860
ab3a0da0
JM
88612018-06-04 Joseph Myers <joseph@codesourcery.com>
8862
8863 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8864 version to 4.17
8865
d2d9dfb6
ST
88662018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8867
8868 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
8869 int.
8870 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
8871
a650b05e
LS
88722018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8873
8874 * benchtests/scripts/compare_string.py: (process_results) Catch
8875 exception in non-existent base_func and catch exception in
8876 non-existent attribute.
8877 (parse_file) Catch exception if input file does not exist.
8878
195abbf4
LS
88792018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8880
8881 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
8882 options to avoid diff calculation and omit header, respectively.
8883 (main): process --no-diff and --no-header
8884
14570163
LS
88852018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8886 H.J. Lu <hongjiu.lu@intel.com>
8887
8888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8889 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
8890 wcsncmp-sse2.
8891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8892 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
8893 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
8894 and __wcsncmp_sse2.
8895 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
8896 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
8897 AVX unaligned load is fast and vzeroupper is preferred.
8898 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
8899 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
8900 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
8901 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
8902 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
8903 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
8904 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
8905 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
8906 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
8907 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
8908 is undefined.
8909
e02c026f
FW
89102018-06-01 Florian Weimer <fweimer@redhat.com>
8911
8912 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
8913 configuring with --disable-multi-arch, building with
8914 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
8915 Haswell-era CPU.
8916
d8c19275
FW
89172018-06-01 Florian Weimer <fweimer@redhat.com>
8918
8919 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
8920 results from building with “-march=x86-64 -mtune=generic
8921 -mfpmath=sse” and running on a Haswell-era CPU.
8922
0d2163eb
JM
89232018-06-01 Joseph Myers <joseph@codesourcery.com>
8924
8925 [BZ #18473]
8926 * soft-fp/sqrttf2.c: Remove file.
8927 * soft-fp/sqrtdf2.c: Move to ....
8928 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
8929 <shlib-compat.h>.
8930 (__sqrtdf2): Make conditional on
8931 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
8932 symbol.
8933 * soft-fp/sqrtsf2.c: Move to ....
8934 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
8935 <shlib-compat.h>.
8936 (__sqrtsf2): Make conditional on
8937 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
8938 symbol.
8939 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
8940 (gcc-double-routines): Remove sqrtdf2.
8941 (gcc-quad-routines): Remove sqrttf2.
8942 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
8943 Do not filter out sqrtsf2 and sqrtdf2.
8944 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8945 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
8946
10450210
FW
89472018-06-01 Florian Weimer <fweimer@redhat.com>
8948
8949 * sysdeps/generic/libcidn.abilist: Remove file.
8950
4e8a6346
FW
89512018-06-01 Florian Weimer <fweimer@redhat.com>
8952
8953 [BZ #23236]
8954 * libio/strfile.h (struct _IO_str_fields): Rename members to
8955 discourage their use and add comment.
8956 (_IO_STR_DYNAMIC): Remove unused macro.
8957 * libio/strops.c (_IO_str_init_static_internal): Do not use
8958 callback pointers. Call malloc and free.
8959 (_IO_str_overflow): Do not use callback pointers. Call malloc
8960 and free.
8961 (enlarge_userbuf): Likewise.
8962 (_IO_str_finish): Call free.
8963 * libio/wstrops.c (_IO_wstr_init_static): Initialize
8964 _allocate_buffer_unused.
8965 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
8966 and free.
8967 (enlarge_userbuf): Likewise.
8968 (_IO_wstr_finish): Call free.
8969 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
8970 _allocate_buffer_unused, _free_buffer_unused.
8971 * libio/memstream.c (__open_memstream): Likewise.
8972 * libio/vasprintf.c (_IO_vasprintf): Likewise.
8973 * libio/wmemstream.c (open_wmemstream): Likewise.
8974
50d004c9
PP
89752018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8976
8977 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
8978 AMD Ryzen 7 1800X.
8979
2c93fce7
RS
89802018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8981
8982 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
8983 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
8984 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
8985 New file.
8986 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
8987 Likewise.
8988 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
8989
0ce2fa69
FW
89902018-05-29 Florian Weimer <fweimer@redhat.com>
8991
8992 * support/Makefile (libsupport-routines): Add
8993 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
8994 xpthread_barrierattr_setpshared.
8995 * support/xpthread_barrierattr_destroy.c: New file.
8996 * support/xpthread_barrierattr_init.c: Likewise.
8997 * support/xpthread_barrierattr_setpshared.c: Likewise.
8998
7f7b5d8d
L
89992018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9000
9001 [BZ #23206]
9002 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9003 _r_debug and update DT_DEBUG for debugger.
9004
e4890300
FW
90052018-05-29 Florian Weimer <fweimer@redhat.com>
9006
9007 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9008 (tst-strtod5i.out): Likewise.
9009
2c753f3e
JM
90102018-05-25 Joseph Myers <joseph@codesourcery.com>
9011
b5453d9f
JM
9012 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9013 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9014 (sparc64-quad-routines): New variable. Moved from ....
9015 [$(subdir) = soft-fp] (sysdep_routines): Add
9016 $(sparc64-quad-routines). Moved from ....
9017 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9018 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9019 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9020 moved from ....
9021 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9022 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9023 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9024 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9025 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9026 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9027 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9028 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9029 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9030 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9031 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9032 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9033 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9034 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9035 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9036 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9037 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9038 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9039 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9040 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9041 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9042 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9043 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9044 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9045 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9046 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9047 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9048 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9049 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9050 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9051 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9052 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9053 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9054 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9055 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9056 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9057 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9058 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9059 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9060 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9061 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9062 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9063 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9064 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9065 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9066 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9067 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9068 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9069 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9070 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9071 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9072 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9073 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9074 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9075 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9076 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9077 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9078 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9079
2c753f3e
JM
9080 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9081 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9082 (sparc32-quad-routines): New variable. Moved from ....
9083 [$(subdir) = soft-fp] (sysdep_routines): Add
9084 $(sparc32-quad-routines). Moved from ....
9085 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9086 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9087 moved from ....
9088 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9089 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9090 * sysdeps/sparc/sparc32/q_add.c: ... here.
9091 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9092 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9093 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9094 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9095 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9096 * sysdeps/sparc/sparc32/q_div.c: ... here.
9097 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9098 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9099 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9100 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9101 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9102 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9103 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9104 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9105 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9106 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9107 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9108 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9109 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9110 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9111 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9112 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9113 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9114 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9115 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9116 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9117 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9118 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9119 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9120 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9121 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9122 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9123 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
9124 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
9125 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
9126 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
9127 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
9128 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
9129 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
9130 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
9131 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
9132 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
9133 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
9134 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
9135 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
9136 * sysdeps/sparc/sparc32/q_sub.c: ... here.
9137 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
9138 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
9139 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
9140 * sysdeps/sparc/sparc32/q_util.c: ... here.
9141 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
9142 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
9143 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
9144 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
9145
c1dc1e1b
TMQMF
91462018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9147 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9148
9149 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
9150 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
9151 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
9152 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
9153
14186e8d
JM
91542018-05-24 Joseph Myers <joseph@codesourcery.com>
9155
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
9157 powerpc/soft-fp.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9159 Likewise.
9160 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
9161 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
9162
fb0e10b8
GG
91632018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9164
9165 [BZ #23171]
9166 * math/math.h [C++] (iseqsig): Fix parameter type for the long
9167 double version.
9168
1dfeb17e
JM
91692018-05-23 Joseph Myers <joseph@codesourcery.com>
9170
9171 * sysdeps/sh/Implies: Remove sh/soft-fp.
9172 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
9173 * sysdeps/sh/sfp-machine.h: ... here.
9174
727b38df
L
91752018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9176
9177 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9178 (__mempcpy_erms): Skip zero length.
9179 (__memmove_erms): Likewise.
9180 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9181 (__memset_erms): Likewise.
9182
2834fb46
JM
91832018-05-23 Joseph Myers <joseph@codesourcery.com>
9184
9185 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
9186 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9187 Add functions moved from ....
9188 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
9189 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
9190 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
9191 from ....
9192 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
9193 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
9194 * sysdeps/alpha/e_sqrtl.c: ... here.
9195 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
9196 * sysdeps/alpha/local-soft-fp.h: ... here.
9197 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
9198 * sysdeps/alpha/ots_add.c: ... here.
9199 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
9200 * sysdeps/alpha/ots_cmp.c: ... here.
9201 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
9202 * sysdeps/alpha/ots_cmpe.c: ... here.
9203 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
9204 * sysdeps/alpha/ots_cvtqux.c: ... here.
9205 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
9206 * sysdeps/alpha/ots_cvtqx.c: ... here.
9207 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
9208 * sysdeps/alpha/ots_cvttx.c: ... here.
9209 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
9210 * sysdeps/alpha/ots_cvtxq.c: ... here.
9211 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
9212 * sysdeps/alpha/ots_cvtxt.c: ... here.
9213 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
9214 * sysdeps/alpha/ots_div.c: ... here.
9215 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
9216 * sysdeps/alpha/ots_mul.c: ... here.
9217 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
9218 * sysdeps/alpha/ots_nintxq.c: ... here.
9219 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
9220 * sysdeps/alpha/ots_sub.c: ... here.
9221 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
9222 * sysdeps/alpha/sfp-machine.h: ... here.
9223
7f9f1ecb
FW
92242018-05-23 Florian Weimer <fweimer@redhat.com>
9225
9226 [BZ #19728]
9227 [BZ #19729]
9228 [BZ #22247]
9229 CVE-2016-6261
9230 CVE-2016-6263
9231 CVE-2017-14062
9232 Switch to extern IDNA implementation (libidn2).
9233 * libidn: Remove subdirectory.
9234 * LICENSES: Do not mention licensing conditions for the removed
9235 libidn code.
9236 * config.h.in (HAVE_LIBIDN): Remove.
9237 * include/dlfcn.h (__libc_dlopen): Update comment.
9238 * include/idna.h: Remove file.
9239 * inet/Makefile (routines): Add idna.
9240 (tests-static, tests-internal): Add tst-idna_name_classify.
9241 (LOCALES): Generate locales for tests.
9242 (tst-idna_name_classify.out): Depend on generated locales.
9243 * inet/idna_name_classify.c: New file.
9244 * inet/tst-idna_name_classify.c: Likewise.
9245 * inet/net-internal.h (__idna_to_dns_encoding)
9246 (__idna_from_dns_encoding): Declare.
9247 * inet/net-internal.h (enum idna_name_classification): Define.
9248 (__idna_name_classify): Declare.
9249 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
9250 __idna_from_dns_encoding.
9251 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
9252 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
9253 name as a fallback in case of encoding errors.
9254 (getnameinfo): Use DEPRECATED_NI_IDN.
9255 * inet/idna.c: New file.
9256 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
9257 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
9258 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
9259 (modules-names): Add tst-no-libidn2.
9260 (extra-test-objs): Add tst-no-libidn2.os.
9261 (LDFLAGS-tst-no-libidn2.so): Set soname.
9262 (LOCALES): Set, and generate locales.
9263 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
9264 (tst-resolv-ai_idn-latin1): Likewise.
9265 (tst-resolv-ai_idn-nolibidn2): Likewise.
9266 (tst-resolv-ai_idn.out): Depend on locales.
9267 (tst-resolv-ai_idn-latin1.out): Depend on locales.
9268 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
9269 tst-no-libidn2.so.
9270 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
9271 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
9272 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
9273 * resolv/tst-resolv-ai_idn.c: New file.
9274 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
9275 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
9276 * resolv/tst-no-libidn2.c: Likewise.
9277 * support/support_format_addrinfo.c (format_ai_flags): Do not
9278 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
9279 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
9280 (gaih_inet): Call __idna_to_dns_encoding and
9281 __idna_from_dns_encoding, and use the original (punycode) name if
9282 __idna_from_dns_encoding fails due to an encoding error.
9283 (getaddrinfo): Use DEPRECATED_AI_IDN.
9284 * sysdeps/unix/inet/Subdirs (libidn): Remove.
9285 * sysdeps/unix/inet/configure: Remove file.
9286 * sysdeps/unix/inet/configure.ac: Likewise.
9287
5f7b841d
FW
92882018-05-23 Florian Weimer <fweimer@redhat.com>
9289
9290 Implement allocate_once.
9291 * include/allocate_once.h: New file.
9292 * misc/allocate_once.c: Likewise.
9293 * misc/tst-allocate_once.c: Likewise.
9294 * misc/Makefile (routines): Add allocate_once.
9295 (tests-internal): Add tst-allocate_once.
9296 (generated): Add tst-allocate_once.mtrace,
9297 tst-allocate_once-mem.out.
9298 (tests-special): Add tst-allocate_once-mem.out.
9299 (tst-allocate_once-ENV): Set MALLOC_TRACE.
9300 (tst-allocate_once-mem.out): Call mtrace.
9301 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
9302
ed983107
L
93032018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9304
9305 [BZ #23196]
9306 * string/test-memcpy.c (do_test1): New function.
9307 (test_main): Call it.
9308
9aaaab7c
AS
93092018-05-23 Andreas Schwab <schwab@suse.de>
9310
9311 [BZ #23196]
9312 CVE-2018-11237
9313 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
9314 (L(preloop_large)): Save initial destination pointer in %r11 and
9315 use it instead of %rax after the loop.
9316 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
9317
5c5c0dd7
JM
93182018-05-22 Joseph Myers <joseph@codesourcery.com>
9319
8f145c77
JM
9320 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
9321 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
9322 -I../soft-fp. Moved from ....
9323 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
9324 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
9325 * sysdeps/aarch64/e_sqrtl.c: ... here.
9326 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
9327 * sysdeps/aarch64/sfp-machine.h: ... here.
9328
3d6302a5
JM
9329 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
9330 -Wmaybe-uninitialized around access to fq[0].
9331 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9332 Likewise.
9333
5c5c0dd7
JM
9334 [BZ #18471]
9335 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
9336 aliases for non-libc case of versioned symbols.
9337 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
9338 (llseek): Define as compat symbol if
9339 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
9340 with link warning.
9341 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
9342 Make into a compat symbol, disabled for minimum symbol version
9343 GLIBC_2.28 and later.
9344 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
9345
ed0d6988
FW
93462018-05-22 Florian Weimer <fweimer@redhat.com>
9347
9348 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
9349 not add -mpreferred-stack-boundary=4.
9350 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
9351 (stack-align-test-flags): Likewise.
9352 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
9353 Likewise.
9354 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
9355 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
9356 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
9357 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
9358 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
9359 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
9360 (CFLAGS-tst-align2.c): Likewise.
9361
e28e9b1e
L
93622018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9363
9364 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
9365 (index_arch_Prefer_FSRM): Likewise.
9366 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9367 Also check Prefer_FSRM.
9368 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
9369 Also return OPTIMIZE (erms) for Prefer_FSRM.
9370
1af30adc
L
93712018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9372
9373 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
9374 (index_cpu_FSRM): Likewise.
9375 (reg_FSRM): Likewise.
9376
78274dc8
JM
93772018-05-18 Joseph Myers <joseph@codesourcery.com>
9378
7c67e6e8
JM
9379 * math/gen-tgmath-tests.py: Import sys.
9380 (Tests.__init__): Initialize macros_seen.
9381 (Tests.add_tests): Add macro to macros_seen. Only generate tests
9382 if requested to do so for this macro.
9383 (Tests.add_all_tests): Take argument for macro for which to
9384 generate tests.
9385 (Tests.check_macro_list): New function.
9386 (main): Handle check-list argument and argument specifying macro
9387 for which to generate tests.
9388 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
9389 [PYTHON] (tgmath3-macro-tests): Likewise.
9390 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
9391 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
9392 not test-tgmath3.c.
9393 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
9394 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
9395 to CFLAGS.
9396 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
9397 [PYTHON] ($(foreach
9398 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
9399 rule.
9400 [PYTHON] (tests-special): Add
9401 $(objpfx)test-tgmath3-macro-list.out.
9402 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
9403
ebc129fd
JM
9404 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
9405 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
9406 later.
9407
78274dc8
JM
9408 [BZ #22639]
9409 * time/tzset.c (SECSPERDAY): Cast to time_t.
9410 * time/tst-y2039.c: New file.
9411 * time/Makefile (tests): Add tst-y2039.
9412
6f7fdeeb
LS
94132018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9414
9415 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9416 (PREFETCH_ONE_SET): Remove duplicate line.
9417
e363a91c
FW
94182018-05-17 Florian Weimer <fweimer@redhat.com>
9419
9420 * sysdeps/generic/math-type-macros-double.h: Include
9421 <math-nan-payload-double.h> after <libm-alias-double.h>.
9422 * sysdeps/generic/math-type-macros-float.h: Include
9423 <math-nan-payload-float.h> after <libm-alias-float.h>.
9424 * sysdeps/generic/math-type-macros-float128.h: Include
9425 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
9426 * sysdeps/generic/math-type-macros-ldouble.h: Include
9427 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
9428
dae6c43c
AS
94292018-05-17 Andreas Schwab <schwab@suse.de>
9430
9431 * resolv/res_send.c (__res_context_send): Don't set errno when
9432 returing error after malloc failure.
9433
0068c085
L
94342018-05-17 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 * nptl/allocatestack.c (allocate_stack): Remove the
9437 !__ASSUME_PRIVATE_FUTEX paths.
9438 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
9439 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9440 Likewise.
9441 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
9442 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9443 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9444 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9445 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
9446 !__ASSUME_PRIVATE_FUTEX path.
9447 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
9448 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
9449 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9450 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
9451 !__ASSUME_PRIVATE_FUTEX macros.
9452 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9453 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9454 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9455 * sysdeps/unix/sysv/linux/kernel-features.h
9456 (__ASSUME_PRIVATE_FUTEX): Removed.
9457
632a6cbe
JM
94582018-05-17 Joseph Myers <joseph@codesourcery.com>
9459
9460 * math/Makefile (libm-narrow-fns): Add div.
9461 (libm-test-funcs-narrow): Likewise.
9462 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
9463 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
9464 * math/gen-auto-libm-tests.c (test_functions): Add div.
9465 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
9466 (NARROW_DIV_ROUND_TO_ODD): Likewise.
9467 (NARROW_DIV_TRIVIAL): Likewise.
9468 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
9469 macro.
9470 (__ddivl): Likewise.
9471 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
9472 ddiv.
9473 (CFLAGS-nldbl-ddiv.c): New variable.
9474 (CFLAGS-nldbl-fdiv.c): Likewise.
9475 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9476 __nldbl_ddivl.
9477 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
9478 prototype.
9479 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
9480 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
9481 * math/auto-libm-test-in: Add tests of div.
9482 * math/auto-libm-test-out-narrow-div: New generated file.
9483 * math/libm-test-narrow-div.inc: New file.
9484 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
9487 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
9488 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
9489 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
9498 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
9499 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
9500 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
9501 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
9502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9503 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9504 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9505 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9506 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9507 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9508 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9509 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9510 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9511 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9512 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9513 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9514 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9515 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9520 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9521 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9522 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9523 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9524 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9525 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9526 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9527 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9528
8c78faa9
AZ
95292018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9530
9531 [BZ #23178]
9532 * nscd/nscd-client.h (sendfileall): Remove prototype.
9533 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
9534 (handle_request): Use writeall instead of sendfileall.
9535 * nscd/aicache.c (addhstaiX): Likewise.
9536 * nscd/grpcache.c (cache_addgr): Likewise.
9537 * nscd/hstcache.c (cache_addhst): Likewise.
9538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9539 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
9540 * nscd/pwdcache.c (cache_addpw): Likewise.
9541 * nscd/servicescache.c (cache_addserv): Likewise.
9542 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
9543 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
9544 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
9545 Remove define.
9546
04958880
L
95472018-05-16 H.J. Lu <hongjiu.lu@intel.com>
9548
9549 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
9550 Include <string/strncat.c>.
9551 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
9552 alias.
9553 (__GI___strncat): New hidden alias.
9554
c9992d13
JM
95552018-05-16 Joseph Myers <joseph@codesourcery.com>
9556
9557 * sysdeps/mips/mips32/libm-test-ulps: Update.
9558 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9559
2afece36
FW
95602018-05-16 Florian Weimer <fweimer@redhat.com>
9561
9562 * support/Makefile (libsupport-routines): Add support_quote_blob,
9563 support_test_compare_blob.
9564 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
9565 * support/check.h (TEST_COMPARE_BLOB): Define.
9566 (support_test_compare_blob): Declare.
9567 * support/support.h (support_quote_blob): Declare.
9568 * support/support_quote_blob.c: New file.
9569 * support/support_test_compare_blob.c: Likewise.
9570 * support/tst-support_quote_blob.c: Likewise.
9571 * support/tst-test_compare_blob.c: Likewise.
9572
9761bf4d
FW
95732018-05-16 Florian Weimer <fweimer@redhat.com>
9574
9575 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
9576 of <strtod_nan_double.h>.
9577 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
9578 instead of SET_MANTISSA.
9579 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
9580 of include <strtod_nan_float.h>.
9581 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
9582 instead of <strtod_nan_ldouble.h>.
9583 * stdlib/strtod_nan_double.h: Move to ...
9584 * sysdeps/generic/math-nan-payload-double.h: ... here.
9585 (FLOAT): Remove definition.
9586 (SET_MANTISSA): Rename to ...
9587 (SET_NAN_PAYLOAD): ... this.
9588 * stdlib/strtod_nan_float.h: Move to ...
9589 * sysdeps/generic/math-nan-payload-float.h: ... here.
9590 (FLOAT): Remove definition.
9591 (SET_MANTISSA): Rename to ...
9592 (SET_NAN_PAYLOAD): ... this.
9593 * sysdeps/generic/math-type-macros-double.h: Include
9594 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
9595 instead of <math-svid-compat.h>.
9596 * sysdeps/generic/math-type-macros-float.h: Include
9597 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
9598 instead of <math-svid-compat.h>.
9599 * sysdeps/generic/math-type-macros-float128.h: Include
9600 <math-nan-payload-float128.h>.
9601 * sysdeps/generic/math-type-macros-ldouble.h: Include
9602 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
9603 instead of <math-svid-compat.h>.
9604 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
9605 check for definition.
9606 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
9607 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
9608 Include <ieee754_float128.h>.
9609 (FLOAT): Remove definition.
9610 (SET_MANTISSA): Rename to ...
9611 (SET_NAN_PAYLOAD): ... this.
9612 * sysdeps/ieee754/float128/strtof128_nan.c: Include
9613 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
9614 Do not include <float128_private.h>.
9615 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
9617 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
9618 (FLOAT): Remove definition.
9619 (SET_MANTISSA): Rename to ...
9620 (SET_NAN_PAYLOAD): ... this.
9621 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
9622 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
9623 (FLOAT): Remove definition.
9624 (SET_MANTISSA): Rename to ...
9625 (SET_NAN_PAYLOAD): ... this.
9626 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
9627 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
9628 (FLOAT): Remove definition.
9629 (SET_MANTISSA): Rename to ...
9630 (SET_NAN_PAYLOAD): ... this.
9631 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
9632 of "../stdlib/strtod_nan_double.h".
9633 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
9634 of "../stdlib/strtod_nan_float.h".
9635 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
9636 instead of "../stdlib/strtod_nan_ldouble.h".
9637 * manual/arith.texi (Parsing of Floats): Adjust comment.
9638
69a01461
JM
96392018-05-16 Joseph Myers <joseph@codesourcery.com>
9640
9641 * math/Makefile (libm-narrow-fns): Add mul.
9642 (libm-test-funcs-narrow): Likewise.
9643 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
9644 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
9645 * math/gen-auto-libm-tests.c (test_functions): Add mul.
9646 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
9647 (NARROW_MUL_ROUND_TO_ODD): Likewise.
9648 (NARROW_MUL_TRIVIAL): Likewise.
9649 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
9650 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
9651 macro.
9652 (__dmull): Likewise.
9653 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
9654 dmul.
9655 (CFLAGS-nldbl-dmul.c): New variable.
9656 (CFLAGS-nldbl-fmul.c): Likewise.
9657 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9658 __nldbl_dmull.
9659 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
9660 prototype.
9661 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
9662 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
9663 * math/auto-libm-test-in: Add tests of mul.
9664 * math/auto-libm-test-out-narrow-mul: New generated file.
9665 * math/libm-test-narrow-mul.inc: New file.
9666 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
9669 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
9670 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
9671 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
9677 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
9679 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
9680 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
9681 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
9682 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
9683 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
9684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9685 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9686 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9688 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9689 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9690 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9691 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9692 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9693 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9694 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9695 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9696 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9697 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9702 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9703 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9704 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9705 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9706 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9707 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9708 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9709 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9710
a15529fd
L
97112018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9712
9713 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9714 with *%eax in call.
9715
98ee36c7
L
97162018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9717
9718 * sysdeps/i386/ldsodefs.h: Removed.
9719 * sysdeps/x86_64/ldsodefs.h: Moved to ...
9720 * sysdeps/x86/ldsodefs.h: This.
9721 (La_i86_regs): New.
9722 (La_i86_retval): Likewise.
9723 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
9724 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
9725
e322ec32
L
97262018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9727
9728 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
9729 unnecessary testl.
9730
0937e209
AM
97312018-05-13 Alan Modra <amodra@gmail.com>
9732
9733 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
9734 R_PARISC_TLS_DTPOFF32 reloc addend.
9735
5db7d705
TMQMF
97362018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9737
9738 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
9739 * math/math.h: Restrict the prototype definition for the functions
9740 issignaling(_Float128) and iszero(_Float128); and template
9741 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
9742 __HAVE_FLOAT128_UNLIKE_LDBL.
9743 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
9744 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
9745 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
9746 __f128() constants; define the type _Float128 as long double;
9747 and reuse long double in __CFLOAT128.
9748
b4d5b8b0
JM
97492018-05-11 Joseph Myers <joseph@codesourcery.com>
9750
9751 * sysdeps/generic/math_private.h: Do not include
9752 <math-barriers.h>.
9753 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
9754 <math_private.h>.
9755 * math/fromfp.h: Include <math-barriers.h>.
9756 * math/math-narrow.h: Likewise.
9757 * math/s_nextafter.c: Likewise.
9758 * math/s_nexttowardf.c: Likewise.
9759 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9760 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9761 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9762 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9763 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9764 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9765 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9769 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9770 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9771 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9772 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9773 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9774 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9775 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9776 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9777 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9778 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9779 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9780 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9781 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9782 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9783 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9784 * sysdeps/ieee754/k_standardl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9801 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9803 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9805 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
9806 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
9807
fc79706a
FW
98082018-05-11 Florian Weimer <fweimer@redhat.com>
9809
9810 Use 64-bit epoch values in the time zone file parser.
9811 * include/time.h (internal_time_t): Define.
9812 (__tzfile_compute): Use it.
9813 * time/tzfile.c (struct leap): Use internal_time_t for epoch
9814 member.
9815 (transitions): Switch to internal_time_t.
9816 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
9817 types.
9818 (__tzfile_compute): Use internal_time_t for timer argument. Check
9819 for truncation before calling __offtime.
9820
89aacb51
FW
98212018-05-11 Florian Weimer <fweimer@redhat.com>
9822
9823 [BZ #23166]
9824 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
9825 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
9826 Likewise.
9827 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
9828 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
9829 export without --enable-obsolete-rpc.
9830 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
9831 symbol. This should not have been exported, ever.
9832
bb066cb8
RL
98332018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
9834
9835 [BZ #23152]
9836 * localedata/locales/gd_GB (abmon): Fix typo in May:
9837 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
9838
70c97f84
SP
98392018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9840
db725a45
SP
9841 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9842 Use multiple registers to copy data in loop tail.
9843
70c97f84
SP
9844 * sysdeps/aarch64/multiarch/memmove_falkor.S
9845 (__memmove_falkor): Use multiple registers to move data in
9846 loop tail.
9847
8f5b00d3
JM
98482018-05-10 Joseph Myers <joseph@codesourcery.com>
9849
9850 * math/math-underflow.h: New file.
9851 * sysdeps/generic/math_private.h: Do not include <float.h>.
9852 (fabs_tg): Remove macro. Moved to math-underflow.h.
9853 (min_of_type_f): Likewise.
9854 (min_of_type_): Likewise.
9855 (min_of_type_l): Likewise.
9856 (min_of_type_f128): Likewise.
9857 (min_of_type): Likewise.
9858 (math_check_force_underflow): Likewise.
9859 (math_check_force_underflow_nonneg): Likewise.
9860 (math_check_force_underflow_complex): Likewise.
9861 * math/e_exp2_template.c: Include <math-underflow.h>.
9862 * math/k_casinh_template.c: Likewise.
9863 * math/s_catan_template.c: Likewise.
9864 * math/s_catanh_template.c: Likewise.
9865 * math/s_ccosh_template.c: Likewise.
9866 * math/s_cexp_template.c: Likewise.
9867 * math/s_clog10_template.c: Likewise.
9868 * math/s_clog_template.c: Likewise.
9869 * math/s_csin_template.c: Likewise.
9870 * math/s_csinh_template.c: Likewise.
9871 * math/s_csqrt_template.c: Likewise.
9872 * math/s_ctan_template.c: Likewise.
9873 * math/s_ctanh_template.c: Likewise.
9874 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9875 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9876 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9877 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9878 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9880 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9882 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9883 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9886 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9887 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9889 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9892 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9893 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9894 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9895 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9896 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9897 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9900 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9904 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9905 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9942 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9944 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9946 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9950 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9951 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9952 * sysdeps/x86/fpu/powl_helper.c: Likewise.
9953 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
9954 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9958
9ed2e15f
JM
99592018-05-09 Joseph Myers <joseph@codesourcery.com>
9960
9961 * sysdeps/generic/math-barriers.h: New file.
9962 * sysdeps/generic/math_private.h [!math_opt_barrier]
9963 (math_opt_barrier): Move to math-barriers.h.
9964 [!math_opt_barrier] (math_force_eval): Likewise.
9965 * sysdeps/aarch64/fpu/math-barriers.h: New file.
9966 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
9967 math-barriers.h.
9968 (math_force_eval): Likewise.
9969 * sysdeps/alpha/fpu/math-barriers.h: New file.
9970 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
9971 math-barriers.h.
9972 (math_force_eval): Likewise.
9973 * sysdeps/x86/fpu/math-barriers.h: New file.
9974 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
9975 math-barriers.h.
9976 (math_force_eval): Likewise.
9977 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
9978 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
9979 multiple-include guard for rename.
9980 * sysdeps/powerpc/fpu/math-barriers.h: New file.
9981 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
9982 math-barriers.h.
9983 (math_force_eval): Likewise.
9984
5460617d
PP
99852018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9986
9987 [BZ #22786]
43d4f3d5 9988 CVE-2018-11236
5460617d
PP
9989 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
9990 computation.
9991 * stdlib/Makefile (test-bz22786): New test.
9992 * stdlib/test-bz22786.c: New test.
9993
aaee3cd8
JM
99942018-05-09 Joseph Myers <joseph@codesourcery.com>
9995
9996 * include/math-narrow-eval.h: New file. Contents moved from ....
9997 * sysdeps/generic/math_private.h: ... here.
9998 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
9999 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10000 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10001 * stdlib/strtod_l.c: Likewise.
10002 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10003 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10004 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10017 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10018 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10019 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10020 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10021 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10022 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10023 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10024 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10025 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10026 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10027 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10028 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10029 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10030 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10031
0555c477
AS
100322018-05-08 Andreas Schwab <schwab@suse.de>
10033
10034 * sysdeps/nptl/internaltypes.h: Fix comment.
10035
50d7d351
L
100362018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10037
10038 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10039 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10040 hidden.
10041
543477f7
SP
100422018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10043
10044 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10045 of I into loop header.
10046 * benchtests/bench-memmove-walk.c
10047 (test_main): Likewise.
10048
100492018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
10050
10051 Revert:
10052 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10053 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10054
0065aaaa
PP
100552018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10056
10057 [BZ #20419]
10058 * elf/dl-load.c (open_verify): Fix stack overflow.
10059 * elf/Makefile (tst-big-note): New test.
10060 * elf/tst-big-note-lib.S: New.
10061 * elf/tst-big-note.c: New.
10062
b289cd9d
JM
100632018-05-04 Joseph Myers <joseph@codesourcery.com>
10064
10065 * scripts/abilist.awk: Ignore absolute symbols.
10066 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10067 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10068 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10069 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10070 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10071 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10072 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10073 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10074 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10075 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10076 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10077 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10078 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10079 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10080 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10081 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10082 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10083 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10084 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10085 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10086 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10087 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10088 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10089 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10090 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10091 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10092 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10093 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10094 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10095 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10096 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10097 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10098 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10099 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10100 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10101 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10102 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10103 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10104 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10105 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10106 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10107 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10108 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10109 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10110 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10111 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10112 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10113 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10114 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10115 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10116 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10117 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10118 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10119 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10120 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10122 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10123 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10124 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
10125 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10126 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
10127 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
10128 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
10129 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
10130 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10131 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
10132 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
10133 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10134 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
10135 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
10136 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10137 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
10138 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10139 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
10140 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
10141 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
10142 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
10143 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10144 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
10145 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
10146 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10147 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
10148 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
10149 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10150 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
10151 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10152 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
10153 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
10154 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
10155 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
10156 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10157 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10158 Likewise.
10159 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
10160 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10161 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
10162 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
10163 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10164 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
10165 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10166 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
10167 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10172 Likewise.
10173 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
10174 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10175 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
10176 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
10177 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10178 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
10179 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10180 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
10181 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
10182 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
10183 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
10184 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10185 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
10186 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
10187 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10188 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
10189 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
10190 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10191 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
10192 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10193 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
10194 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
10195 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
10196 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
10197 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10198 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10199 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10200 Likewise.
10201 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
10202 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
10203 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
10204 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
10205 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10206 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
10207 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
10208 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
10209 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
10210 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
10211 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
10212 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
10213 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
10214 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10215 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
10216 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
10217 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
10218 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
10219 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10220 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10221 Likewise.
10222 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
10223 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
10224 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
10225 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10226 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
10227 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10228 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
10229 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
10230 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
10231 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10232 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10233 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10235 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10236 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
10237 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10238 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
10239 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
10240 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10241 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
10243 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10244 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
10245 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10246 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
10247 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
10248 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
10249 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10254 Likewise.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10260 Likewise.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
10262 Likewise.
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10265 Likewise.
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10268 Likewise.
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10270 Likewise.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10274 Likewise.
10275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10276 Likewise.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
10278 Likewise.
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10283 Likewise.
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
10287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
10290 Likewise.
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10293 Likewise.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10295 Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10297 Likewise.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
10299 Likewise.
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
10302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10303 Likewise.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10305 Likewise.
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10307 Likewise.
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
10309 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
10310 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
10311 Likewise.
10312 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
10313 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10314 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
10315 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
10316 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10317 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
10318 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10319 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
10320 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
10321 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
10322 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
10323 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
10324 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10325 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10326 Likewise.
10327 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10328 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
10329 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
10330 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10331 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
10332 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10333 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
10334 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
10335 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
10336 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
10337 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10338 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10339 Likewise.
10340 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10341 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
10342 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
10343 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10344 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
10345 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10346 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
10347 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
10348 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
10349 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
10350 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10351 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
10352 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
10353 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10354 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
10355 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
10356 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10357 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
10358 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10359 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
10360 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
10361 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
10362 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
10363 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10364 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10365 Likewise.
10366 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
10367 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10368 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
10370 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10371 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
10372 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10373 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
10374 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
10375 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
10376 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
10377 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10378 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10379 Likewise.
10380 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
10381 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10382 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
10383 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
10384 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
10389 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
10394 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10395 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
10396 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
10397 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10398 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
10399 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10400 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
10401 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
10402 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
10403 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
10404 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
10407 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
10408 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10409 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
10410 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
10411 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10412 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
10413 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10414 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
10415 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
10416 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
10417 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
10418
16609018
SL
104192018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
10420
10421 [BZ #23137]
10422 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
10423 Use atomic_load_acquire to load __tid.
10424
556f5c46
L
104252018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10426
10427 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
10428 Restore the pointer into %rdx, after syscall and use %rdx,
10429 instead of %rsi, to restore context.
10430
8b8f32b2
L
104312018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10432
10433 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
10434 Pop the pointer into %rdx after syscall and use %rdx, instead
10435 of %rsi, to restore context.
10436
d6cc1829
L
104372018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
10440 handlers after setjmp.
10441 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
10442 defined.
10443 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
10444 <libc-pointer-arith.h>.
10445 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
10446 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
10447 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
10448 _JUMP_BUF_SIGSET_BITS_PER_WORD.
10449 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
10450 * sysdeps/x86/__longjmp_cancel.S: New file.
10451 * sysdeps/x86/longjmp.c: Likewise.
10452 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
10453
cf2478d5
AZ
104542018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10455
10456 * NEWS: Add ustat.h deprecation entry.
10457 * bits/ustat.h: Remove file.
10458 * misc/sys/ustat.h: Likewise.
10459 * misc/ustat.h: Likewise.
10460 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
10461 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
10462 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
10463 compatibility mode.
10464 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
10465 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
10466 generic Linux implementation.
10467
dc115e1c
TMQMF
104682018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10469
10470 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
10471 * math/w_expl_compat.c: Likewise.
10472 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
10473
340d9652
RN
104742018-04-30 Raymond Nicholson <rain1@airmail.cc>
10475
10476 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10477
c57bf7c1
AZ
104782018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10479
10480 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
10481 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
10482 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
10483 Remove.
10484 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
10485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10487 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
10488 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
10489 and SYSCALL_LL64.
10490
06135c33
TMQMF
104912018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10492
33927914
TMQMF
10493 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
10494
06135c33
TMQMF
10495 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
10496 * math/w_asin_template.c: Likewise.
10497 * math/w_atanh_template.c: Likewise.
10498
3a33b069
GG
104992018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10500
10501 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
10502 to powerpc/powerpc64/be for big-endian.
10503 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
10504 little-endian.
10505
10506 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
10507 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
10508 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
10509 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
10510 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10511 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
10512 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
10513 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
10514 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
10515 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10516 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
10517 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
10518 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
10519 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
10520 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
10521 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
10522 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
10523 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
10524 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
10525 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
10526 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
10527 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10528 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
10529 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
10530 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
10531 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10532 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
10533 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
10534 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
10535 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10536 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10537 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10538
10539 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
10540 adjusted to imply powerpc64 and older processors on powerpc64/be.
10541 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
10542 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
10543 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
10544 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
10545 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
10546 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
10547 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
10548 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
10549 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
10550 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
10551 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
10552 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
10553 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
10554 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
10555 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
10556 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
10557 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
10558 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
10559 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
10560 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
10561 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
10562 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
10563 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
10564 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
10565 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
10566 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
10567 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
10568 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
10569 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
10570 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
10571 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
10572
10573 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
10574 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
10575 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
10576 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
10577
10578 * sysdeps/powerpc/powerpc64/be/Implies: New file.
10579 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
10580 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
10581 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
10582
10583 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
10584 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
10585 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
10586 * sysdeps/powerpc/powerpc64le/configure: Likewise.
10587 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
10588 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
10589 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
10590 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
10591 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
10592 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
10593 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
10594
10595 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
10596 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
10597 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
10598 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
10599 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
10600 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
10601 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
10602 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
10603 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
10604 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
10605 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
10606
10607 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
10608 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
10609 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
10610 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
10611 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
10612 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
10613 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
10614 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
10615 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
10616 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
10617 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
10618 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
10619
10620 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
10621 and adjusted to imply olders processors.
10622 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
10623 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
10624 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
10625 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
10626 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
10627 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
10628 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
10629 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
10630 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
10631 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
10632 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
10633
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
10635 powerpc64/le.
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
10638
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
10640 powerpc64le.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
10643
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
10645 powerpc64/be.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
10649
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
10651 powerpc64 and adjusted.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
10655 Likewise.
10656
a3fb6b6b
JM
106572018-04-27 Joseph Myers <joseph@codesourcery.com>
10658
10659 * sysdeps/tile: Remove.
10660 * sysdeps/unix/sysv/linux/tile: Likewise.
10661 * README (tilegx-*-linux-gnu): Remove from list of supported
10662 configurations.
10663 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
10664 contribution of support for generic Linux kernel syscall
10665 interface.
10666 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
10667 tilegx configurations.
10668 (Config.install_linux_headers): Do not handle tile.
10669 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
10670 in comment.
10671 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
10672 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
10673 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
10674 conditional undefine and redefine.
10675 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
10676 in comment.
10677 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
10678 conditional undefine and redefine.
10679
7a6f7478
AJ
106802018-04-26 Aurelien Jarno <aurelien@aurel32.net>
10681
10682 * signal/tst-sigaction.c: New file to test BZ #23069.
10683 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
10684
81b49e96
TMQMF
106852018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10686
10687 [BZ #22766]
10688 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
10689 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
10690 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
10691 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10692
7d80f48e
AZ
106932018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10694
10695 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
10696 _DIRENT_MATCHES_DIRENT64 is not defined.
10697 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
10698 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
10699 is defined.
10700 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
10701 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
10702
42a2bf58
JM
107032018-04-25 Joseph Myers <joseph@codesourcery.com>
10704
10705 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
10706 version to GCC 8 branch.
10707
9320ca88
JM
107082018-04-24 Joseph Myers <joseph@codesourcery.com>
10709
5e14bb97
JM
10710 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
10711 (check_no_hidden): Use type of original function when declaring
10712 alias.
10713
9320ca88
JM
10714 * sysdeps/unix/sysv/linux/sys/ptrace.h
10715 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
10716 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
10717 (struct __ptrace_seccomp_metadata): New type.
10718 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10719 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10720 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
10721 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10722 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
10723 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10725 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10727 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10729 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10730 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
10731 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10732 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
10733 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10734
af7e376b
AZ
107352018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10736
10737 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
10738 defined.
10739 * dirent/versionsort.c (versionsort): Likewise.
10740 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
10741 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
10742 * dirent/versionsort64.c (versionsort64): Likewise.
10743 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
10744 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
10745 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
10746 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
10747 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
10748 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
10750 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
10751 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
10752 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
10755 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
10756 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
10757
da5e0361
JM
107582018-04-23 Joseph Myers <joseph@codesourcery.com>
10759
10760 * elf/elf.h (NT_PPC_PKEY): New macro.
10761
ea76691a
DSN
107622018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
10763
10764 [BZ #23094]
10765 * localedata/locales/hr_HR: fix thousands_sep and
10766 mon_thousands_sep
10767
573963e3
JM
107682018-04-20 Joseph Myers <joseph@codesourcery.com>
10769
10770 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
10771 (XTABS): Define to TAB3.
10772
c0123b3b
AZ
107732018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10774
0900a849
AZ
10775 * sysdeps/hppa/fpu/libm-test-ulps: Update.
10776
c0123b3b
AZ
10777 * dirent/scandir-tail-common.c: New file.
10778 * dirent/scandir-tail.c: Use scandir-tail-common.c.
10779 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
10780 * dirent/scandir.c: Use scandir-tail-common.c.
10781 * dirent/scandirat.c: Likewise.
10782 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
10783 * dirent/scandir64.c (scandir64): Always build and alias to scandir
10784 if _DIRENT_MATCHES_DIRENT64 is defined.
10785 * dirent/scandirat64.c (scandirat64): Likewise.
10786 * include/dirent.h (__scandir_tail): Only define iff
10787 _DIRENT_MATCHES_DIRENT64 is not defined.
10788 (__scandir64_tail): Define regardless.
10789 (__scandirat, scandirat64): Remove libc_hidden_proto.
10790 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
10791 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
10793 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
10794 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10795 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
10796 * sysdeps/unix/sysv/linux/scandir64.c: New file.
10797
458b94f6
JM
107982018-04-20 Joseph Myers <joseph@codesourcery.com>
10799
10800 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
10801 New macro.
10802 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10803 Increase to 24.
10804 (_dl_aarch64_cap_flags): Add asimdfhm.
10805
9f0437e8
CLT
108062018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
10807
10808 * sysdeps/nios2/libm-test-ulps: Update.
10809
298d0e31
AZ
108102018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10811
50511ca4
AZ
10812 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
10813 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
10814
298d0e31
AZ
10815 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
10816 requirements.
10817 (_DIRENT_MATCHES_DIRENT64): Undef
10818 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
10819 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
10820 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
10821 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
10822 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
10823 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
10824 use getdents64 syscalls as base.
10825 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
10826 symbol if required.
10827 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
10828 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
10829 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
10830 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
10831 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
10832 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
10833 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
10834 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
10835 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10836 (__get_clockfreq_via_proc_openprom): Use __getdents64.
10837 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
10838
0085be14
SL
108392018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10840
10841 * scripts/test_printers_common.py (init_test): Disable lock elision.
10842
da796524
SL
108432018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10844
10845 * math/test-tgmath.c (count_double, count_float,
10846 count_ldouble, count_cdouble, count_cfloat,
10847 count_cldouble): Use volatile int.
10848
0dd25301
ST
108492018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10850
10851 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10852 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 10853 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
10854 i386-gnu.
10855 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
10856 ipc_perm.cuid, ipc_perm.cgid): Likewise.
10857 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
10858 msqid_ds.msg_lrpid): Likewise.
10859 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
10860 Likewise.
10861 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
10862 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
10863 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
10864 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
10865 unsigned int.
10866 (struct statvfs64): Likewise.
f55a4fde
ST
10867 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
10868 Likewise.
77b93390
ST
10869 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
10870 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
10871 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
10872 instead of wait_queue.
10873 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
10874 instead of vm_area_struct.
5cd2931a
ST
10875 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
10876 struct sched_param definition to it.
e60c3f2b
ST
10877 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10878 * bits/types/struct_sched_param.h: New file.
10879 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
10880 <bits/types/struct_sched_param.h> instead of <sched.h>.
10881 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
10882 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
10883 generic version but include <bits/pthreadtypes.h> to make struct
10884 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
10885 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
10886 non-compliant.
a564872d
ST
10887 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
10888 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
10889 [__USE_XOPEN] (OFDEL): New macro.
10890 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 10891 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
10892 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
10893 prototypes.
10894 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
10895 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
10896 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
10897 non-compliant.
10898 * sysdeps/i386/sys/ucontext.h: Likewise.
10899 * sysdeps/m68k/sys/ucontext.h: Likewise.
10900 * sysdeps/mips/sys/ucontext.h: Likewise.
10901 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
10902 * sysdeps/mach/hurd/i386/Makefile
10903 (test-xfail-POSIX/fcntl.h/conform): Add.
10904 (test-xfail-POSIX/signal.h/conform): Add.
10905 (test-xfail-POSIX/semaphore.h/conform): Add.
10906 (test-xfail-POSIX/regex.h/conform): Add.
10907 (test-xfail-POSIX/aio.h/conform): Add.
10908 (test-xfail-POSIX/mqueue.h/conform): Add.
10909 (test-xfail-POSIX/sys/types.h/conform): Add.
10910 (test-xfail-UNIX98/fcntl.h/conform): Add.
10911 (test-xfail-UNIX98/netdb.h/conform): Add.
10912 (test-xfail-UNIX98/signal.h/conform): Add.
10913 (test-xfail-UNIX98/semaphore.h/conform): Add.
10914 (test-xfail-UNIX98/regex.h/conform): Add.
10915 (test-xfail-UNIX98/aio.h/conform): Add.
10916 (test-xfail-UNIX98/ftw.h/conform): Add.
10917 (test-xfail-UNIX98/mqueue.h/conform): Add.
10918 (test-xfail-UNIX98/netinet/in.h/conform): Add.
10919 (test-xfail-UNIX98/sys/wait.h/conform): Add.
10920 (test-xfail-UNIX98/sys/sem.h/conform): Add.
10921 (test-xfail-UNIX98/sys/uio.h/conform): Add.
10922 (test-xfail-UNIX98/sys/socket.h/conform): Add.
10923 (test-xfail-UNIX98/sys/types.h/conform): Add.
10924 (test-xfail-UNIX98/stdlib.h/conform): Add.
10925 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
10926 (test-xfail-POSIX2008/fcntl.h/conform): Add.
10927 (test-xfail-POSIX2008/netdb.h/conform): Add.
10928 (test-xfail-POSIX2008/signal.h/conform): Add.
10929 (test-xfail-POSIX2008/semaphore.h/conform): Add.
10930 (test-xfail-POSIX2008/regex.h/conform): Add.
10931 (test-xfail-POSIX2008/aio.h/conform): Add.
10932 (test-xfail-POSIX2008/mqueue.h/conform): Add.
10933 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
10934 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
10935 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
10936 (test-xfail-POSIX2008/sys/types.h/conform): Add.
10937 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
10938 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
10939 (test-xfail-XOPEN2K/netdb.h/conform): Add.
10940 (test-xfail-XOPEN2K/signal.h/conform): Add.
10941 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
10942 (test-xfail-XOPEN2K/regex.h/conform): Add.
10943 (test-xfail-XOPEN2K/aio.h/conform): Add.
10944 (test-xfail-XOPEN2K/ftw.h/conform): Add.
10945 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
10946 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
10947 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
10948 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
10949 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
10950 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
10951 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
10952 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
10953 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
10954 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
10955 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
10956 (test-xfail-XOPEN2K8/signal.h/conform): Add.
10957 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
10958 (test-xfail-XOPEN2K8/regex.h/conform): Add.
10959 (test-xfail-XOPEN2K8/aio.h/conform): Add.
10960 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
10961 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
10962 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
10963 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
10964 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
10965 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
10966 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
10967 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
10968 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
10969 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
10970 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
10971 i386-gnu.
10972 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
10973 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 10974
d6397de3
JM
109752018-04-18 Joseph Myers <joseph@codesourcery.com>
10976
10977 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
10978 --enable-obsolete for powerpc-linux-gnuspe.
10979
8323a902
ST
109802018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10981
3dc0814c 10982 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 10983 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 10984 prototypes.
c5896a45
ST
10985 * sysdeps/mach/include/mach.h: Likewise.
10986 * sysdeps/mach/include/mach/mig_support.h: Likewise.
10987 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 10988
743b9c2a
AZ
109892018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10990
10991 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
10992 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
10993 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
10994 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
10995
326e74e7
AS
109962018-04-16 Andreas Schwab <schwab@suse.de>
10997
10998 [BZ #19527]
10999 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11000
a14d8acd
PM
110012018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11002
11003 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11004 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11005
a700e7cb
DD
110062018-04-12 DJ Delorie <dj@redhat.com>
11007
11008 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11009 version to 4.16.
11010
d8abfab7
SL
110112018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11012
11013 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11014 (struct kernel_sigaction): Use the same definition on 31bit as is used
11015 on 64bit.
11016
583a27d5
FW
110172018-04-09 Florian Weimer <fweimer@redhat.com>
11018
11019 [BZ #23037]
11020 * resolv/res_send.c (send_dg): Use designated initializers instead
11021 of assignment to zero-initialize other fields of struct mmsghdr.
11022
243f59e5
AZ
110232018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11024
942de61a
AZ
11025 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11026 __READDIR_ALIAS): Undefine after usage.
11027 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11028 __READDIR_R_ALIAS): Likewise.
11029 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11030 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11031 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11032 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11033 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11034 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11035 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11036 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11037 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11038 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11039 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11040 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11041 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11042 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11043 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11044 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11045 * sysdeps/unix/sysv/linux/readdir.c: New file.
11046 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11047 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11048 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11049
243f59e5
AZ
11050 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11051
690c3475
AS
110522018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11053
11054 * manual/charset.texi (Converting a Character): Fix typo.
11055
b4a5d26d
AZ
110562018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11057
bbc2062a
AZ
11058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11059
fa7c6199
AZ
11060 * sysdeps/arm/libm-test-ulps: Update.
11061
b4a5d26d
AZ
11062 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11063 as base implementation.
11064 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11065 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11066 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11068 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11069 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11070 remove unrequired definitions and update comments.
11071 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11072 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11073 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11074 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11075 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11076 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11077 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11078 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11079 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11080 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11081 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11082 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11083 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11084 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11085 and RESET_SA_RESTORER hooks.
11086
db9e55ff
SL
110872018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11088
11089 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11090
cf138b0c
FW
110912018-04-05 Florian Weimer <fweimer@redhat.com>
11092
11093 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11094 integer overflow, memory leak on error, and indeterminate errno
11095 value. Add a null wide character to terminate the result string.
11096 * manual/charset.texi (Converting a Character): Mention embedded
11097 null bytes in the mbrtowc input string. Explain what happens in
11098 the -2 result case. Do not claim that mbrtowc is simple or
11099 obvious to use. Adjust the description of the code example. Use
11100 @code, not @var, for concrete variables.
11101
0f339252
FW
111022018-04-05 Florian Weimer <fweimer@redhat.com>
11103
11104 * manual/examples/mbstouwcs.c: New file.
11105 * manual/charset.texi (Converting a Character): Include it.
11106
e5f9508a
ST
111072018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11108
c120981d
ST
11109 * include/dirent.h (dirfd): Add hidden proto.
11110 * dirent/dirfd.c (dirfd): Add hidden def.
11111 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11112 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 11113
b2fd61ca
TMQMF
111142018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11115
11116 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11117 sin, cos and sincos to 1 ULP.
11118
10a446dd
MR
111192018-04-04 Maciej W. Rozycki <macro@mips.com>
11120
e7feec37
MR
11121 [BZ #19818]
11122 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
11123 symbols.
11124 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
11125 * elf/tst-absolute-sym.c: New file.
11126 * elf/tst-absolute-sym-lib.c: New file.
11127 * elf/tst-absolute-sym-lib.lds: New file.
11128 * elf/Makefile (tests): Add `tst-absolute-sym'.
11129 (modules-names): Add `tst-absolute-sym-lib'.
11130 (LDLIBS-tst-absolute-sym-lib.so): New variable.
11131 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
11132 ($(objpfx)tst-absolute-sym): New dependency.
11133
10a446dd
MR
11134 [BZ #19818]
11135 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
11136 parameter.
11137 (SYMBOL_ADDRESS): New macro.
11138 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
11139 SYMBOL_ADDRESS for symbol address calculation.
11140 * elf/dl-runtime.c (_dl_fixup): Likewise.
11141 (_dl_profile_fixup): Likewise.
11142 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
11143 * elf/rtld.c (dl_main): Likewise.
11144 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
11145 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
11146 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
11147 (elf_machine_rela): Likewise.
11148 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
11149 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
11150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11151 (elf_machine_rela): Likewise.
11152 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11153 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11154 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
11155 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11156 Likewise.
11157 (elf_machine_reloc): Likewise.
11158 (elf_machine_got_rel): Likewise.
11159 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
11160 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
11161 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11162 Likewise.
11163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11164 Likewise.
11165 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
11166 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11167 Likewise.
11168 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11169 Likewise.
11170 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11172 Likewise.
11173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11174 Likewise.
11175 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
11176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11177
9185f86d
ZW
111782018-04-04 Zack Weinberg <zackw@panix.com>
11179
11180 * sysdeps/generic/internal-signals.h: Include signal.h,
11181 sigsetops.h, and stdbool.h.
11182 (__libc_signal_block_all): Actually block all signals.
11183 (__libc_signal_block_app): Likewise.
11184 (__libc_signal_restore_set): Actually restore the signal mask.
11185
b07367bc
FW
111862018-04-04 Florian Weimer <fweimer@redhat.com>
11187
11188 inet: Actually build and run tst-deadline.
11189 * inet/Makefile (tests-internal): Add tst-deadline and do not
11190 overwrite the variable.
11191 (tests-static-internal): Remove variable.
11192
f2652643
L
111932018-04-03 H.J. Lu <hongjiu.lu@intel.com>
11194
11195 [BZ #22947]
11196 * bits/uio-ext.h (RWF_APPEND): New.
11197 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
11198 * manual/llio.texi: Document RWF_APPEND.
11199 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
11200 (RWF_SUPPORTED): Add RWF_APPEND.
11201
d2dc5467
AZ
112022018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11203
11204 [BZ #22391]
11205 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
11206 check for internal nptl signals.
11207 * nptl/sigaction.c (__sigaction): Likewise.
11208 * signal/sigaddset.c (sigaddset): Likewise.
11209 * signal/sigdelset.c (sigdelset): Likewise.
11210 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11211 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
11212 value.
11213 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
11214 to filter out internal nptl signals.
11215 * signal/tst-sigset.c (do_test): Check ech signal indidually and
11216 also check realtime signals using standard macros.
11217 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
11218 __is_internal_signal, __libc_signal_block_all,
11219 __libc_signal_block_app, __libc_signal_restore_set): New functions.
11220 * sysdeps/nptl/sigfillset.c: Remove file.
11221 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
11222 Change return to bool.
11223 (__clear_internal_signals): Remove SIGTIMER clean since it is
11224 equal to SIGCANEL on Linux.
11225 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
11226 signal set was constructed using standard functions.
11227
511ed56f
ST
112282018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11229
92846492
ST
11230 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
11231 ifname is too long.
e8ef51b1
ST
11232 * hurd/hurdsig.c (interrupted_reply_port_location): Use
11233 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
11234 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
11235 hidden def.
11236 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
11237 * signal/sigaddset.c: Include <sigsetopts.h>.
11238 * signal/sigdelset.c: Likewise.
511ed56f 11239
e88ecbbf
WD
112402018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11241
11242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
11243 (__cos): Likewise.
11244 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
11245 logic as sin and cos.
11246
aef3e255
WD
112472018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11248
11249 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
11250 inputs. Return correct sign.
11251 (do_sincos): Remove small input check before do_sin, let do_sin set
11252 the sign.
11253 (__sin): Likewise.
11254 (__cos): Likewise.
11255
72f6e9a3
WD
112562018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11257
11258 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
11259 (do_cos_slow): Likewise.
11260 (do_sin_slow): Likewise.
11261 (reduce_and_compute): Likewise.
11262 (slow): Likewise.
11263 (slow1): Likewise.
11264 (slow2): Likewise.
11265 (sloww): Likewise.
11266 (sloww1): Likewise.
11267 (sloww2): Likewise.
11268 (bslow): Likewise.
11269 (bslow1): Likewise.
11270 (bslow2): Likewise.
11271 (cslow2): Likewise.
11272
64909583
WD
112732018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11274
11275 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
11276 (do_cos): Remove corp parameter and calculations.
11277 (do_sin): Likewise.
11278 (do_sincos): Remove cor variable.
11279 (__sin): Use do_sincos for huge inputs.
11280 (__cos): Likewise.
11281 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11282 (reduce_and_compute_sincos): Remove unused function.
11283
d9469deb
WD
112842018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11285
11286 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
11287 reduce_sincos, improve accuracy to 136 bits.
11288 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
11289 (__sin): Use improved reduction and simplified do_sincos calculation.
11290 (__cos): Likewise.
11291 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11292
7a5640f2
WD
112932018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11294
11295 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
11296 (do_sincos_2): Likewise.
11297 (__sin): Remove middle range reduction case.
11298 (__cos): Likewise.
11299 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
11300 reduction case.
11301
19a8b9a3
WD
113022018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11303
11304 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
11305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
11306 inputs.
11307 (__cos): Likewise.
11308 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
11309
f72aa11d
JM
113102018-04-03 Joseph Myers <joseph@codesourcery.com>
11311
11312 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 11313 version to 4.16
f72aa11d 11314
8e4754ed
AZ
113152018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11316
11317 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
11318 Remove definitions.
11319 (opendir_oflags): Use O_DIRECTORY regardless.
11320 (__opendir, __opendirat): Remove need_isdir_precheck usage.
11321 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
11322
8e2666ea
ST
113232018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11324
11325 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
11326 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
11327 macros.
11328 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
11329 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
11330 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
11331 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
11332 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
11333 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 11334
ad2b41bf
ST
11335 * htl/Makefile: Bump licence to LGPL 2.1+.
11336 * htl/alloca_cutoff.c: Likewise.
11337 * htl/cthreads-compat.c: Likewise.
11338 * htl/lockfile.c: Likewise.
11339 * htl/pt-alloc.c: Likewise.
11340 * htl/pt-cancel.c: Likewise.
11341 * htl/pt-cleanup.c: Likewise.
11342 * htl/pt-create.c: Likewise.
11343 * htl/pt-dealloc.c: Likewise.
11344 * htl/pt-detach.c: Likewise.
11345 * htl/pt-exit.c: Likewise.
11346 * htl/pt-getattr.c: Likewise.
11347 * htl/pt-initialize.c: Likewise.
11348 * htl/pt-internal.h: Likewise.
11349 * htl/pt-join.c: Likewise.
11350 * htl/pt-self.c: Likewise.
11351 * htl/pt-setcancelstate.c: Likewise.
11352 * htl/pt-setcanceltype.c: Likewise.
11353 * htl/pt-sigmask.c: Likewise.
11354 * htl/pt-spin-inlines.c: Likewise.
11355 * htl/pt-testcancel.c: Likewise.
11356 * htl/pt-yield.c: Likewise.
11357 * htl/tests/test-1.c: Likewise.
11358 * htl/tests/test-10.c: Likewise.
11359 * htl/tests/test-11.c: Likewise.
11360 * htl/tests/test-12.c: Likewise.
11361 * htl/tests/test-13.c: Likewise.
11362 * htl/tests/test-14.c: Likewise.
11363 * htl/tests/test-15.c: Likewise.
11364 * htl/tests/test-16.c: Likewise.
11365 * htl/tests/test-17.c: Likewise.
11366 * htl/tests/test-2.c: Likewise.
11367 * htl/tests/test-3.c: Likewise.
11368 * htl/tests/test-4.c: Likewise.
11369 * htl/tests/test-5.c: Likewise.
11370 * htl/tests/test-6.c: Likewise.
11371 * htl/tests/test-7.c: Likewise.
11372 * htl/tests/test-8.c: Likewise.
11373 * htl/tests/test-9.c: Likewise.
11374 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
11375 * sysdeps/htl/bits/cancelation.h: Likewise.
11376 * sysdeps/htl/bits/pthread-np.h: Likewise.
11377 * sysdeps/htl/bits/pthread.h: Likewise.
11378 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
11379 * sysdeps/htl/bits/semaphore.h: Likewise.
11380 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
11381 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
11382 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
11383 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
11384 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
11385 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
11386 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
11387 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
11388 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
11389 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
11390 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
11391 * sysdeps/htl/old_pt-atfork.c: Likewise.
11392 * sysdeps/htl/pt-atfork.c: Likewise.
11393 * sysdeps/htl/pt-attr-destroy.c: Likewise.
11394 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
11395 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
11396 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
11397 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
11398 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
11399 * sysdeps/htl/pt-attr-getscope.c: Likewise.
11400 * sysdeps/htl/pt-attr-getstack.c: Likewise.
11401 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
11402 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
11403 * sysdeps/htl/pt-attr-init.c: Likewise.
11404 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
11405 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
11406 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
11407 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
11408 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
11409 * sysdeps/htl/pt-attr-setscope.c: Likewise.
11410 * sysdeps/htl/pt-attr-setstack.c: Likewise.
11411 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
11412 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
11413 * sysdeps/htl/pt-attr.c: Likewise.
11414 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
11415 * sysdeps/htl/pt-barrier-init.c: Likewise.
11416 * sysdeps/htl/pt-barrier-wait.c: Likewise.
11417 * sysdeps/htl/pt-barrier.c: Likewise.
11418 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
11419 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
11420 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
11421 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
11422 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
11423 * sysdeps/htl/pt-cond-destroy.c: Likewise.
11424 * sysdeps/htl/pt-cond-init.c: Likewise.
11425 * sysdeps/htl/pt-cond-signal.c: Likewise.
11426 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
11427 * sysdeps/htl/pt-cond-wait.c: Likewise.
11428 * sysdeps/htl/pt-cond.c: Likewise.
11429 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
11430 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
11431 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
11432 * sysdeps/htl/pt-condattr-init.c: Likewise.
11433 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
11434 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
11435 * sysdeps/htl/pt-destroy-specific.c: Likewise.
11436 * sysdeps/htl/pt-equal.c: Likewise.
11437 * sysdeps/htl/pt-getconcurrency.c: Likewise.
11438 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
11439 * sysdeps/htl/pt-getschedparam.c: Likewise.
11440 * sysdeps/htl/pt-getspecific.c: Likewise.
11441 * sysdeps/htl/pt-init-specific.c: Likewise.
11442 * sysdeps/htl/pt-key-create.c: Likewise.
11443 * sysdeps/htl/pt-key-delete.c: Likewise.
11444 * sysdeps/htl/pt-key.h: Likewise.
11445 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
11446 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
11447 * sysdeps/htl/pt-mutex-init.c: Likewise.
11448 * sysdeps/htl/pt-mutex-lock.c: Likewise.
11449 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
11450 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
11451 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
11452 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
11453 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
11454 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
11455 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
11456 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
11457 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
11458 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
11459 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
11460 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
11461 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
11462 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
11463 * sysdeps/htl/pt-mutexattr.c: Likewise.
11464 * sysdeps/htl/pt-once.c: Likewise.
11465 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
11466 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
11467 * sysdeps/htl/pt-rwlock-init.c: Likewise.
11468 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
11469 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
11470 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
11471 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
11472 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
11473 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
11474 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
11475 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
11476 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
11477 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
11478 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
11479 * sysdeps/htl/pt-setconcurrency.c: Likewise.
11480 * sysdeps/htl/pt-setschedparam.c: Likewise.
11481 * sysdeps/htl/pt-setschedprio.c: Likewise.
11482 * sysdeps/htl/pt-setspecific.c: Likewise.
11483 * sysdeps/htl/pt-spin.c: Likewise.
11484 * sysdeps/htl/pt-startup.c: Likewise.
11485 * sysdeps/htl/pthread.h: Likewise.
11486 * sysdeps/htl/sem-close.c: Likewise.
11487 * sysdeps/htl/sem-destroy.c: Likewise.
11488 * sysdeps/htl/sem-getvalue.c: Likewise.
11489 * sysdeps/htl/sem-init.c: Likewise.
11490 * sysdeps/htl/sem-open.c: Likewise.
11491 * sysdeps/htl/sem-post.c: Likewise.
11492 * sysdeps/htl/sem-timedwait.c: Likewise.
11493 * sysdeps/htl/sem-trywait.c: Likewise.
11494 * sysdeps/htl/sem-unlink.c: Likewise.
11495 * sysdeps/htl/sem-wait.c: Likewise.
11496 * sysdeps/hurd/htl/pt-kill.c: Likewise.
11497 * sysdeps/i386/htl/pt-machdep.h: Likewise.
11498 * sysdeps/mach/htl/pt-block.c: Likewise.
11499 * sysdeps/mach/htl/pt-spin.c: Likewise.
11500 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
11501 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
11502 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
11503 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
11504 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
11505 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
11506 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
11507 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
11508 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
11509 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
11510 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
11511 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
11512 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
11513 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
11514 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
11515 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
11516 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
11517 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
11518 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
11519 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
11520 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
11521 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
11522 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
11523 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
11524 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
11525 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
11526 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
11527 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
11528 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
11529 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
11530 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
11531 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
11532 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
11533 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
11534 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
11535 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
11536 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
11537 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
11538 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
11539 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
11540 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
11541 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
11542 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
11543
fb03b04b
ST
11544 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
11545 * README: Remove the mention of out-of-tree patches needed for
11546 GNU/Hurd.
11547
fa9e1555
ST
11548 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
11549 (UTIME_NOW, UTIME_OMIT): Define macros.
11550
f6fb29d2
ST
11551 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
11552 instead of pthread_detach.
11553 (__cthread_fork): Call __pthread_create instead of pthread_create.
11554 (__cthread_keycreate): Call __pthread_key_create instead of
11555 pthread_key_create.
11556 (__cthread_getspecific): Call __pthread_getspecific instead of
11557 pthread_getspecific.
11558 (__cthread_setspecific): Call __pthread_setspecific instead of
11559 pthread_setspecific.
11560 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
11561 __pthread_mutex_unlock instead of pthread_mutex_lock and
11562 pthread_mutex_unlock.
11563 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
11564 ___pthread_get_cleanup_stack.
11565 (__pthread_get_cleanup_stack): New strong alias.
11566 * htl/pt-create.c: Include <pthreadP.h>.
11567 (entry_point): Call __pthread_exit instead of pthread_exit.
11568 (pthread_create): Rename to __pthread_create.
11569 (pthread_create): New strong alias.
11570 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
11571 (pthread_detach): New strong alias.
11572 (__pthread_detach): Call __pthread_cond_broadcast instead of
11573 pthread_cond_broadcast.
fe9748cc
ST
11574 * htl/pt-exit.c: Include <pthreadP.h>.
11575 (__pthread_exit): Call __pthread_setcancelstate and
11576 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
11577 __pthread_get_cleanup_stack.
f6fb29d2
ST
11578 * htl/pt-testcancel.c: Include <pthreadP.h>.
11579 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
11580 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
11581 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
11582 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
11583 pthread_attr_getstacksize.
11584 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
11585 Rename to __pthread_attr_getstackaddr.
11586 (pthread_attr_getstackaddr): New strong alias.
11587 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
11588 Rename to __pthread_attr_getstacksize.
11589 (pthread_attr_getstacksize): New strong alias.
11590 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
11591 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
11592 (pthread_attr_setstack): New strong alias.
11593 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
11594 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
11595 pthread_attr_getstacksize, pthread_attr_setstacksize and
11596 pthread_attr_setstackaddr.
11597 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
11598 Rename to __pthread_attr_setstackaddr.
11599 (pthread_attr_setstackaddr): New strong alias.
11600 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
11601 Rename to __pthread_attr_setstacksize.
11602 (pthread_attr_setstacksize): New strong alias.
11603 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
11604 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
11605 pthread_exit.
11606 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
11607 (__pthread_key_create): New hidden def.
11608 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
11609 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
11610 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
11611 __pthread_exit, __pthread_key_create, __pthread_getspecific,
11612 __pthread_setspecific, __pthread_setcancelstate,
11613 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
11614 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
11615 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
11616 declarations.
11617 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
11618 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
11619 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
11620 (pthread_attr_setstackaddr): New strong alias.
11621 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
11622 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
11623 (pthread_attr_setstacksize): New strong alias.
11624 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
11625 (call_exit): Call __pthread_exit instead of pthread_exit.
11626 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
11627 (_pthread_mutex_init): New hidden definition.
11628 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
11629 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
11630 instead of pthread_attr_init and pthread_attr_setstack.
11631
dba2bdbe
ST
11632 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
11633 __vm_deallocate instead of vm_allocate and vm_deallocate.
11634 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
11635 setenv.
11636 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
11637 of geteuid.
11638 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
11639 strdup.
11640 * hurd/siginfo.c: Include <libioP.h>.
11641 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
11642 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
11643 munmap.
dba2bdbe
ST
11644 * mach/devstream.c: Include <libioP.h>.
11645 (dealloc_ref): Call __mach_port_deallocate instead of
11646 mach_port_deallocate.
11647 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
11648 Call __mach_port_deallocate instead of mach_port_deallocate.
11649 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
11650 pathconf.
11651 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
11652 munmap.
11653 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
11654 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
11655 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
11656 of munmap.
11657 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
11658 of close.
11659 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
11660 instead of sysconf.
11661 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
11662 __clock_gettime instead of clock_gettime.
11663 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
11664 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11665 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
11666 * sysdeps/unix/bsd/stty.c (stty): Likewise.
11667 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
11668 tcgetattr.
11669 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
11670 __clock_gettime and __nanosleep instead of clock_gettime and
11671 nanosleep.
7a8f45e3
ST
11672 * hurd/catch-signal.c (hurd_catch_signal): Rename to
11673 __hurd_catch_signal.
11674 (hurd_catch_signal): New strong alias.
11675 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
11676 __hurd_catch_signal instead of hurd_catch_signal.
11677 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
11678 * hurd/hurdexec.c (_hurd_init): Add hidden def.
11679 * hurd/hurdinit.c (_hurd_init): Add hidden def.
11680 * hurd/hurdsig.c: Include <mach/mig_support.h>.
11681 (_hurd_thread_sigstate): Add hidden def.
11682 (_hurd_internal_post_signal): Use __mutex_unlock instead of
11683 mutex_unlock.
11684 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
11685 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
11686 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
11687 __hurd_file_name_path_lookup.
11688 (hurd_file_name_path_lookup): New strong alias.
11689 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
11690 hurd_file_name_path_lookup.
11691 * mach/errstring.c (mach_error_type): Add hidden def.
11692 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
11693 * mach/mutex-init.c (__mutex_init): Add hidden def.
11694 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
11695 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
11696 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
11697 * sysdeps/mach/hurd/getcwd.c
11698 (_hurd_canonicalize_directory_name_internal): Rename to
11699 __hurd_canonicalize_directory_name_internal.
11700 (_hurd_canonicalize_directory_name_internal): New strong alias.
11701 (__canonicalize_directory_name_internal, __getcwd): Call
11702 __hurd_canonicalize_directory_name_internal instead of
11703 _hurd_canonicalize_directory_name_internal.
11704 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
11705 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
11706 hidden defs.
11707 * sysdeps/hurd/include/hurd.h: New file.
11708 * sysdeps/hurd/include/hurd/fd.h: New file.
11709 * sysdeps/hurd/include/hurd/signal.h: New file.
11710 * sysdeps/mach/include/lock-intern.h: New file.
11711 * sysdeps/mach/include/mach.h: New file.
11712 * sysdeps/mach/include/mach/mig_support.h: New file.
11713 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
11714 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
11715 prototype.
11716 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
11717 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
11718 _HEADER_H_HIDDEN_DEF macro.
11719 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
11720 _hurd_fd_error_signal): Add hidden prototype.
11721 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
11722 hidden def.
82dbf555
ST
11723 * libio/iolibio.h (_IO_puts): New hidden prototype.
11724 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
11725 * sysdeps/mach/hurd/localplt.data: New file.
11726
33574c17
ST
117272018-04-02 Agustina Arzille <avarzille@riseup.net>
11728 Amos Jeffries <squid3@treenet.co.nz>
11729 David Michael <fedora.dm0@gmail.com>
11730 Marco Gerards <marco@gnu.org>
11731 Marcus Brinkmann <marcus@gnu.org>
11732 Neal H. Walfield <neal@gnu.org>
11733 Pino Toscano <toscano.pino@tiscali.it>
11734 Richard Braun <rbraun@sceen.net>
11735 Roland McGrath <roland@gnu.org>
11736 Samuel Thibault <samuel.thibault@ens-lyon.org>
11737 Thomas DiModica <ricinwich@yahoo.com>
11738 Thomas Schwinge <tschwinge@gnu.org>
11739
11740 * htl: New directory.
11741 * sysdeps/htl: New directory.
11742 * sysdeps/hurd/htl: New directory.
11743 * sysdeps/i386/htl: New directory.
11744 * sysdeps/mach/htl: New directory.
11745 * sysdeps/mach/hurd/htl: New directory.
11746 * sysdeps/mach/hurd/i386/htl: New directory.
11747 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
11748 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
11749 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
11750
03e2aa50
ST
117512018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11752
11753 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
11754 signals in thread created for runing timers.
11755
1aa52ced
FW
117562018-04-01 Florian Weimer <fweimer@redhat.com>
11757
11758 * support/support_format_addrinfo.c (support_format_addrinfo):
11759 Include unknown error number in formatted result.
11760
4d76d3e5
FW
117612018-03-29 Florian Weimer <fweimer@redhat.com>
11762
11763 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
11764 capture SIGBUS.
11765
d39c0a45
AZ
117662018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11767
11768 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
11769 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
11770 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11771 (__ASSUME_CLONE_BACKWARDS): Define.
11772
cc8a1620
JH
117732018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
11774
57408435 11775 [BZ #23024]
cc8a1620
JH
11776 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
11777 early when linux sentinel value is set.
11778
8bfd94d0
ST
117792018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11780
11781 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
11782
f178e59f
AS
117832018-03-27 Andreas Schwab <schwab@suse.de>
11784
11785 [BZ #23005]
11786 * resolv/res_send.c (__res_context_send): Return ENOMEM if
11787 allocation of private copy of nsaddr_list fails.
11788
5f45f96a
JM
117892018-03-26 Joseph Myers <joseph@codesourcery.com>
11790
11791 [BZ #16552]
11792 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
11793 * sysdeps/unix/sysv/linux/umount.c: ... here.
11794 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
11795 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
11796 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
11797 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
11799 * sysdeps/unix/sysv/linux/umount.S: Likewise.
11800 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
11801
3dfd23eb
AS
118022018-03-26 Andreas Schwab <schwab@suse.de>
11803
11804 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
11805 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
11806 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
11807 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
11808 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
11809 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
11810 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
11811 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
11812 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
11813 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
11814 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
11815 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
11816 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
11817 (R_RISCV_NUM): Define.
11818
fa97d2ab
ST
118192018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11820
11821 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
11822 TLS declaration of errno.
37be82a0
ST
11823 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
11824 __libc_setup_tls.
11825 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
11826 (ARCH_SETUP_TLS): Likewise.
11827 * sysdeps/mach/hurd/libc-start.h: New file copied from
11828 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
11829 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
11830 instead of __libc_setup_tls.
37be82a0 11831 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
11832 __libc_setup_tls before initializing libpthread and running _hurd_init
11833 which starts the signal thread.
11834 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
11835 Declare function.
2d813d7b 11836 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 11837
b8114edd
L
118382018-03-24 H.J. Lu <hongjiu.lu@intel.com>
11839
11840 [BZ #22998]
11841 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
11842 after it is defined.
11843
cd66c0e5
AS
118442018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
11845 Max Horn <max@quendi.de>
11846
11847 [BZ #22644]
43d4f3d5 11848 CVE-2017-18269
cd66c0e5
AS
11849 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
11850 branch conditions.
11851 * string/test-memmove.c (do_test2): New testcase.
11852
a4406139
JM
118532018-03-22 Joseph Myers <joseph@codesourcery.com>
11854
11855 * sysdeps/generic/frame.h: Remove file.
11856 * sysdeps/arm/frame.h: Likewise.
11857 * sysdeps/hppa/frame.h: Likewise.
11858 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
11859 macro.
11860 (GET_FRAME): Likewise.
11861 (GET_STACK): Likewise.
11862 (CALL_SIGHANDLER): Likewise.
11863 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
11864 Likewise.
11865 (GET_FRAME): Likewise.
11866 (GET_STACK): Likewise.
11867 (CALL_SIGHANDLER): Likewise.
11868 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
11869 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11870 (GET_FRAME): Likewise.
11871 (GET_STACK): Likewise.
11872 (CALL_SIGHANDLER): Likewise.
11873 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
11874 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11875 (GET_FRAME): Likewise.
11876 (GET_STACK): Likewise.
11877 (ADVANCE_STACK_FRAME): Likewise.
11878 (CALL_SIGHANDLER): Likewise.
11879 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
11880 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11881 (GET_FRAME): Likewise.
11882 (GET_STACK): Likewise.
11883 (CALL_SIGHANDLER): Likewise.
11884 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
11885 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11886 (GET_FRAME): Likewise.
11887 (GET_STACK): Likewise.
11888 (CALL_SIGHANDLER): Likewise.
11889 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
11890 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11891 (GET_FRAME): Likewise.
11892 (GET_STACK): Likewise.
11893 (CALL_SIGHANDLER): Likewise.
11894 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
11895 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11896 (GET_FRAME): Likewise.
11897 (GET_STACK): Likewise.
11898 (CALL_SIGHANDLER): Likewise.
11899 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
11900 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11901 (GET_FRAME): Likewise.
11902 (GET_STACK): Likewise.
11903 (CALL_SIGHANDLER): Likewise.
11904 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
11905 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11906 (GET_FRAME): Likewise.
11907 (GET_STACK): Likewise.
11908 (CALL_SIGHANDLER): Likewise.
11909 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
11910 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11911 (GET_FRAME): Likewise.
11912 (GET_STACK): Likewise.
11913 (CALL_SIGHANDLER): Likewise.
11914 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
11915 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11916 (GET_FRAME): Likewise.
11917 (GET_STACK): Likewise.
11918 (CALL_SIGHANDLER): Likewise.
11919 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
11920 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11921 (GET_FRAME): Likewise.
11922 (GET_STACK): Likewise.
11923 (CALL_SIGHANDLER): Likewise.
11924 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
11925 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11926 (FIRST_FRAME_POINTER): Likewise.
11927 (ADVANCE_STACK_FRAME): Likewise.
11928 (GET_STACK): Likewise.
11929 (GET_FRAME): Likewise.
11930 (CALL_SIGHANDLER): Likewise.
11931 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
11932 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11933 (ADVANCE_STACK_FRAME): Likewise.
11934 (GET_STACK): Likewise.
11935 (GET_FRAME): Likewise.
11936 (CALL_SIGHANDLER): Likewise.
11937 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
11938 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11939 (GET_FRAME): Likewise.
11940 (GET_STACK): Likewise.
11941 (CALL_SIGHANDLER): Likewise.
11942 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
11943 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11944 (GET_FRAME): Likewise.
11945 (GET_STACK): Likewise.
11946 (CALL_SIGHANDLER): Likewise.
11947
ffec7b27
JM
119482018-03-21 Joseph Myers <joseph@codesourcery.com>
11949
11950 * sysdeps/x86_64/backtrace.c: Move to ....
11951 * debug/backtrace.c: ... here.
11952 * sysdeps/aarch64/backtrace.c: Remove file.
11953 * sysdeps/alpha/backtrace.c: Likewise.
11954 * sysdeps/hppa/backtrace.c: Likewise.
11955 * sysdeps/ia64/backtrace.c: Likewise.
11956 * sysdeps/mips/backtrace.c: Likewise.
11957 * sysdeps/nios2/backtrace.c: Likewise.
11958 * sysdeps/riscv/backtrace.c: Likewise.
11959 * sysdeps/sh/backtrace.c: Likewise.
11960 * sysdeps/tile/backtrace.c: Likewise.
11961
8a07b0c4
JM
119622018-03-20 Joseph Myers <joseph@codesourcery.com>
11963
d0c5d731
JM
11964 [BZ #22987]
11965 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
11966 function.
11967 (fdimf): Likewise.
11968 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
11969
8a07b0c4
JM
11970 [BZ #17343]
11971 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
11972 possibly overflowing computations.
11973
ceb54b9b
ST
119742018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11975
11976 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
11977 values from Linux-specific section now that it is in the GNU section.
11978 * sysdeps/gnu/errlist.c: Regenerate.
11979
8d3f9e85
JM
119802018-03-20 Joseph Myers <joseph@codesourcery.com>
11981
11982 * math/Makefile (libm-narrow-fns): Add sub.
11983 (libm-test-funcs-narrow): Likewise.
11984 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
11985 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
11986 * math/gen-auto-libm-tests.c (test_functions): Add sub.
11987 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
11988 (NARROW_SUB_ROUND_TO_ODD): Likewise.
11989 (NARROW_SUB_TRIVIAL): Likewise.
11990 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
11991 macro.
11992 (__dsubl): Likewise.
11993 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
11994 dsub.
11995 (CFLAGS-nldbl-dsub.c): New variable.
11996 (CFLAGS-nldbl-fsub.c): Likewise.
11997 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11998 __nldbl_dsubl.
11999 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12000 prototype.
12001 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12002 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12003 * math/auto-libm-test-in: Add tests of sub.
12004 * math/auto-libm-test-out-narrow-sub: New generated file.
12005 * math/libm-test-narrow-sub.inc: New file.
12006 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12007 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12008 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12009 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12010 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12011 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12012 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12013 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12014 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12015 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12016 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12017 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12018 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12019 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12020 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12021 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12022 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12023 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12025 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12026 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12028 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12033 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12034 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12042 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12043 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12044 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12045 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12046 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12047 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12048 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12049 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12051 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12052
d473f015
JM
120532018-03-19 Joseph Myers <joseph@codesourcery.com>
12054
12055 [BZ #20079]
12056 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12057
fbce6f72
WD
120582018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12059
12060 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12061
72e7ffc3
RB
120622018-03-18 Richard Braun <rbraun@sceen.net>
12063
12064 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12065 thread reference.
12066
542c20a1
AA
120672018-03-18 Agustina Arzille <avarzille@riseup.net>
12068
12069 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12070 (__libc_cleanup_fct): Define function.
12071 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12072 __libc_cleanup_end): Rewrite implementation using
12073 __attribute__ ((__cleanup__)).
12074 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
12075 * hurd/Makefile (routines): Add hurdlock.
12076 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12077 interface.
12078 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12079 * hurd/hurdpid.c: Include <lowlevellock.h>
12080 (_S_msg_proc_newids): Use lll_wait to synchronize.
12081 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12082 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12083 * mach/Makefile (lock-headers): Remove machine-lock.h.
12084 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12085 <machine-lock.h>.
12086 (__spin_lock_t): New type.
12087 (__SPIN_LOCK_INITIALIZER): New macro.
12088 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12089 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12090 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12091 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12092 (__mutex_init): Initialize with lll.
12093 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12094 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12095 needing lll.
12096 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12097 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12098 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12099 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12100 (__setpgid): Use lll for synchronization.
12101 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12102 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12103 instead of <cthreads.h>.
12104 (_IO_lock_inexpensive): New macro
12105 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12106 (__libc_lock_self0): New declaration.
12107 (__libc_lock_owner_self): New macro.
12108 (__libc_key_t): Remove type.
12109 (_LIBC_LOCK_INITIALIZER): New macro.
12110 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12111 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12112 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12113 __libc_lock_define_initialized_recursive,
12114 __rtld_lock_define_initialized_recursive,
12115 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12116 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12117 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12118 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12119 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12120 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12121 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12122 New macros.
12123 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
12124 * hurd/hurdlock.c: New file.
12125 * hurd/hurdlock.h: New file.
12126 * mach/lowlevellock.h: New file
542c20a1 12127
9a37922e
ST
121282018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12129
12130 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
12131 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
12132 when opening a symlink with O_NOFOLLOW.
72103e73
ST
12133 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
12134 path when flags contains O_NOFOLLOW.
12135 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
12136 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
12137 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
12138 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
12139 * sysdeps/mach/hurd/mlockall.c: New file.
12140 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 12141
34e6a869
ST
121422018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12143
12144 * hurd/hurdsig.c: Include <pthread.h>.
12145 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
12146 get the signal thread stack layout.
dc33bef3
ST
12147 * hurd/Makefile (headers): Remove threadvar.h.
12148 (inline-headers): Remove threadvar.h.
12149 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
12150 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
12151 __hurd_threadvar_max, __hurd_errno_location.
12152 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
12153 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
12154 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
12155 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
12156 unless TLS is not initialized yet, in which case we do not need a
12157 critical section yet anyway.
12158 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
12159 <machine-sp.h>.
12160 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
12161 declarations.
12162 (__hurd_threadvar_index): Remove enum.
12163 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
12164 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
12165 inlines.
12166 (__hurd_reply_port0): New variable declaration.
12167 (__hurd_local_reply_port): New macro.
12168 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
12169 (interrupted_reply_port_location): Add thread_t parameter. Use it
12170 with THREAD_TCB to access thread-local variables.
12171 (_hurdsig_abort_rpcs): Pass ss->thread to
12172 interrupted_reply_port_location.
12173 (_hurd_internal_post_signal): Likewise.
12174 (_hurdsig_init): Use presence of cthread_fork instead of
12175 __hurd_threadvar_stack_mask to start signal thread by hand.
12176 Remove signal thread threadvar initialization.
12177 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
12178 * hurd/sigunwind.c: Include <hurd/threadvar.h>
12179 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
12180 of threadvar.
12181 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
12182 __libc_lock_self0.
12183 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
12184 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
12185 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
12186 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
12187 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
12188 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
12189 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
12190 define variables.
12191 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
12192 <hurd/threadvar.h>.
12193 [IS_IN(rtld)] (rtld_errno): New variable.
12194 [IS_IN(rtld)] (__errno_location): New weak function.
12195 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
12196 * sysdeps/mach/hurd/errno.c: Remove file.
12197 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
12198 (__fork): Remove THREADVAR_SPACE macro and its use.
12199 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
12200 variable.
12201 (init): Do not initialize threadvar.
12202 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
12203 symbol.
12204 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
12205 __hurd_local_reply_port instead of threadvar.
12206 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
12207 _hurd_sigstate fields.
12208 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
12209 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
12210 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
12211 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
12212 instead of threadvar.
12213 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
12214 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
12215 (use_threadvar, global_reply_port): Remove variables.
12216 (__hurd_reply_port0): New variable.
12217 (__mig_get_reply_port): Use __hurd_local_reply_port and
12218 __hurd_reply_port0 instead of threadvar.
12219 (__mig_dealloc_reply_port): Likewise.
12220 (__mig_init): Do not initialize threadvar.
12221 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
12222 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
12223 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
12224 cthread_keycreate, cthread_getspecific, cthread_setspecific to
12225 __cthread_fork, __cthread_detach, __pthread_getattr_np,
12226 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
12227 __cthread_setspecific.
12228 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
12229 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
12230 __cthread_t instead of cthread_fork, cthread_detach,
12231 pthread_getattr_np, pthread_attr_getstack.
12232 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
12233 __cthread_keycreate.
12234 (cthread_getspecific): Rename to __cthread_getspecific.
12235 (cthread_setspecific): Rename to __cthread_setspecific.
12236 (__libc_getspecific): Use __cthread_getspecific instead of
12237 cthread_getspecific.
12238 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
12239 __cthread_keycreate instead of cthread_keycreate.
12240 (__libc_setspecific): Use __cthread_setspecific instead of
12241 cthread_setspecific.
12242 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
12243 Likewise.
dd28d4ba
ST
12244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
12245 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
12246 testing whether it is defined.
34e6a869 12247
f8baf2a2
ST
122482018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12249
12250 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
12251 Define macro.
12252 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
12253 * sysdeps/mach/i386/thread_state.h
12254 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
12255 i386_THREAD_STATE.
12256 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
12257 i386_THREAD_STATE.
12258 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
12259
12260 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
12261 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
12262
12263 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
12264 macros.
12265 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
12266 descriptor instead of creating a new one.
12267 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
12268
12269 * mach/setup-thread.c: Include <ldsodefs.h>.
12270 (__mach_setup_thread): Call _dl_allocate_tls, pass
12271 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
12272 MACHINE_THREAD_STATE_FLAVOR, before getting
12273 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
12274 MACHINE_THREAD_STATE_FLAVOR with the result.
12275 * hurd/hurdfault.c (_hurdsig_fault_init): Call
12276 MACHINE_THREAD_STATE_FIX_NEW.
12277 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
12278 too. Add original thread parameter.
12279
34ba96b8
JM
122802018-03-16 Joseph Myers <joseph@codesourcery.com>
12281
5d75b75f
JM
12282 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
12283 Remove inline function.
12284
34ba96b8
JM
12285 * sysdeps/i386/fpu/libm-test-ulps: Update.
12286 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12287
22679b2c
WD
122882018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
12289
12290 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
12291 commit.
12292
c429a8d8
JM
122932018-03-15 Joseph Myers <joseph@codesourcery.com>
12294
12295 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
12296 (__sincos_code): Remove define and undefine.
12297 [__FAST_MATH__] (__sincos): Remove inline function.
12298 [__FAST_MATH__] (__sincosf): Remove inline function.
12299 [__FAST_MATH__] (__sincosl): Remove inline function.
12300 (__atan2l): Remove inline functions.
12301 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
12302 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
12303 function.
12304 (floor): Remove inline function.
12305 (ceil): Likewise.
12306 [__FAST_MATH__] (__ldexp_code): Remove macro.
12307 [__FAST_MATH__] (ldexp): Remove inline function.
12308 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
12309 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
12310 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
12311 [__USE_ISOC99] (__lrint_code): Remove macro.
12312 [__USE_ISOC99] (__llrint_code): Likewise.
12313 [__USE_ISOC99] (lrintf): Remove inline function.
12314 [__USE_ISOC99] (lrint): Likewise.
12315 [__USE_ISOC99] (lrintl): Likewise.
12316 [__USE_ISOC99] (llrint): Likewise.
12317 [__USE_ISOC99] (llrintf): Likewise.
12318 [__USE_ISOC99] (llrintl): Likewise.
12319
700593fd
WD
123202018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12321
12322 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
12323 (__ieee754_sqrtf): Remove.
12324 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
12325 (__ieee754_sqrtf): Remove.
12326 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
12327 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12328 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
12329 (__ieee754_sqrtf): Remove.
12330 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
12331 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
12332 (sqrtf): Remove.
12333 (sqrtl): Remove.
12334 (__ieee754_sqrt): Remove.
12335 (__ieee754_sqrtf): Remove.
12336 (__ieee754_sqrtl): Remove.
12337 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12338 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
12339 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
12340 (__ieee754_sqrtf): Remove.
12341 (__ieee754_sqrtl): Remove.
12342
f67a8147
WD
123432018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12344
12345 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
12346 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12347 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12348 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
12349 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
12350 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12351 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12352 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12353 Likewise.
12354 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
12355 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
12356 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12357 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12358 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12359 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
12360 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12361 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12362 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12363 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12364 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
12365 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12366 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
12367 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
12368 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
12369 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12370 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12371 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12372 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
12373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
12374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12376 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
12377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
12378 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
12379 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
12380 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12382 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
12383 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12384 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12385 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
12386 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12387 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
12388 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12389 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12390 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
12391 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
12392 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12393 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
12394
1294b189
WD
123952018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12396
12397 * include/math.h (sqrt): Declare with asm redirect.
12398 (sqrtf): Likewise.
12399 (sqrtl): Likewise.
12400 (sqrtf128): Likewise.
12401 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
12402 nonlib and libnldbl with -fmath-errno.
12403 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
12404 * math/w_sqrt_template.c: Likewise.
12405 * math/w_sqrtf_compat.c: Likewise.
12406 * math/w_sqrtl_compat.c: Likewise.
12407 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
12408 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
12409 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
12410 complex.h.
12411
f1c8185d
WD
124122018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12413
12414 * benchtests/Makefile: Define _ISOMAC.
12415 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
12416 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
12417 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
12418 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
12419 * benchtests/bench-timing.h: Define attribute_hidden.
12420
b47c3e76
SP
124212018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12422
12423 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
12424 mov + lsr.
12425
807fee29
RL
124262018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12427
12428 [BZ #22963]
12429 * localedata/locales/cs_CZ (mon): Rename to...
12430 (alt_mon): This.
12431 (mon): Import from CLDR (genitive case).
12432
e7155a28
RL
124332018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12434
12435 [BZ #22937]
12436 * localedata/locales/el_CY (abmon): Rename to...
12437 (ab_alt_mon): This.
12438 (abmon): Import from CLDR (abbreviated genitive case).
12439 * localedata/locales/el_GR (abmon): Rename to...
12440 (ab_alt_mon): This.
12441 (abmon): Import from CLDR (abbreviated genitive case).
12442
71d7b121
RL
124432018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12444
12445 [BZ #22932]
12446 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
12447
a00bffe8
RB
124482018-03-15 Robert Buj <robert.buj@gmail.com>
12449
12450 [BZ #22848]
12451 * localedata/locales/ca_ES (abmon): Rename to...
12452 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
12453 (mon): Rename to...
12454 (alt_mon): This.
12455 (abmon): Import from CLDR (genitive case, month names preceded by
12456 "de" or "d’").
12457 (mon): Likewise.
12458 (abday): Synchronize with CLDR.
12459 (d_t_fmt): Likewise.
12460 (d_fmt): Likewise.
12461 (am_pm): Likewise.
12462
12463 (LC_TIME): Improve indentation.
12464 (LC_TELEPHONE): Likewise.
12465 (LC_NAME): Likewise.
12466 (LC_ADDRESS): Likewise.
12467
f9555d73
JM
124682018-03-14 Joseph Myers <joseph@codesourcery.com>
12469
12470 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
12471 (lrintf): Remove definitions used only with old GCC.
12472 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
12473 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
12474 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
12475 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
12476 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
12477 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
12478 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
12479 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
12480 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
12481 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
12482 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
12483 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
12484 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
12485 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
12486 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
12487 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
12488 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
12489 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
12490 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
12491 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
12492 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
12493 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
12494 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
12495 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
12496 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
12497 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
12498 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
12499 [__FAST_MATH__] (__M_SQRT2): Remove macro.
12500
d46f84de
SP
125012018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
12502
12503 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
12504 instruction to unbreak builds with binutils 2.26 and older.
12505
7108f1f9
SP
125062018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
12507
12508 * sysdeps/aarch64/strncmp.S (count): New macro.
12509 (strncmp): Store misaligned length in SRC1 in COUNT.
12510 (mutual_align): Adjust.
12511 (misaligned8): Load dword at a time when it is safe.
12512
2cc7bad0
ZW
125132018-03-12 Zack Weinberg <zackw@panix.com>
12514
12515 [BZ #1190]
12516 [BZ #19476]
12517 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
12518 if the _IO_EOF_SEEN bit is already set; update commentary.
12519 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
12520 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12521
12522 * support/support_openpty.c, support/tty.h: New files.
12523 * support/Makefile (libsupport-routines): Add support_openpty.
12524
12525 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
12526 New test cases.
12527 * libio/Makefile (tests): Add tst-fgetc-after-eof.
12528 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
12529
778f1974
DL
125302018-03-12 Dmitry V. Levin <ldv@altlinux.org>
12531
12532 * po/pt_BR.po: Update translations.
12533
da6d4404
DM
125342018-03-12 David Michael <fedora.dm0@gmail.com>
12535
12536 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
12537 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
12538 get a port to the startup server.
12539
d3da750d
ZW
125402018-03-11 Zack Weinberg <zackw@panix.com>
12541
12542 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
12543 before nldbl-compat.h.
12544
054b72cc
ZW
125452018-03-10 Zack Weinberg <zackw@panix.com>
12546
0d13dfa1
ZW
12547 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
12548 math.h or math_private.h.
12549
12550 * sysdeps/alpha/fpu/s_isnan.c
12551 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
12552 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
12553 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
12554 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
12555 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
12556 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
12557 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
12558 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
12559 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
12560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
12561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
12562 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
12563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
12564 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
12565 Include math_private.h.
12566
12567 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
12568 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
12569 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
12570 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
12571 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
12572 * sysdeps/powerpc/power7/fpu/s_logb.c:
12573 Include math.h and math_private.h.
12574
054b72cc
ZW
12575 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
12576 uses of $at in .set noat / .set at.
12577
6253bacd
L
125782018-03-10 H.J. Lu <hongjiu.lu@intel.com>
12579
12580 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
12581 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
12582 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
12583 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
12584 Likewise.
12585
229855e5
FW
125862018-03-09 Florian Weimer <fweimer@redhat.com>
12587
12588 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
12589 in comment.
12590
9aa5c222
AJ
125912018-03-09 Aurelien Jarno <aurelien@aurel32.net>
12592
12593 [BZ #22919]
12594 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
12595 Add nop before __startcontext, add explaining comments.
12596
3dc21497
AZ
125972018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12598
e921c89e
AZ
12599 [BZ #22926]
12600 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
12601 empty for __SPE__.
12602 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12603 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
12604 Do not build hardware transactional code for __SPE__.
12605 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12606 (__lll_trylock_elision): Likewise.
12607 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12608 (__lll_unlock_elision): Likewise.
12609
d9f26dab 12610 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
12611 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
12612 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
12613 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
12614 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
12615 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
12616 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
12617 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
12618 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
12619 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
12620 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
12621 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
12622 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
12624 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
12625 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
12626 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
12627 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
12628 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
12629 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
12630 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
12631 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12632 (__ASSUME_CLONE_BACKWARDS): Define.
12633 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
12634 __clone2 if __NR_clone2 is defined.
12635 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12636 (__ASSUME_CLONE_BACKWARDS): Likewise.
12637 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12638 (__ASSUME_CLONE_BACKWARDS): Likewise.
12639 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12640 (__ASSUME_CLONE2): Likewise.
12641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12642 (__ASSUME_CLONE_BACKWARDS3): Likewise.
12643 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
12644 variants and the define architecture can use.
12645 (__ASSUME_CLONE_DEFAULT): Define as default.
12646 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12647 (__ASSUME_CLONE_BACKWARDS): Likewise.
12648 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12649 (__ASSUME_CLONE_BACKWARDS): Likewise.
12650 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12651 (__ASSUME_CLONE_BACKWARDS2): Likewise.
12652
adc95fb0
SP
126532018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
12654
4e54d918
SP
12655 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
12656
30a81dae
SP
12657 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
12658 time.
12659
adc95fb0
SP
12660 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
12661 (do_test_limit): Likewise.
12662
12663 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
12664 for every implementation.
12665 (do_test): Likewise.
12666
12667 * benchtests/bench-strncmp.c: Convert output to json.
12668
4e9066bc
ST
126692018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12670
12671 * io/futimens.c: Add missing start-of-file descriptive comment.
12672 * io/utime.c: Likewise.
12673 * misc/futimesat.c: Likewise.
12674 * misc/utimes.c: Likewise.
12675 * sysdeps/mach/hurd/futimesat.c: Likewise.
12676 * sysdeps/mach/hurd/utimes.c: Likewise.
12677 * sysdeps/posix/utime.c: Likewise.
12678 * sysdeps/posix/utimes.c: Likewise.
12679 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
12680 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12681 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
12682 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
12683
ec1300cf
ST
126842018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12685
12686 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
12687 hurd_futimes.
12688 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
12689 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
12690 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
12691 (__futimens): Move implementation to...
12692 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
12693 utime_tvalue_from_tspec): ... new helper functions.
12694 (hurd_futimens): New function.
12695 * sysdeps/mach/hurd/futimesat.c: New file.
12696 * sysdeps/mach/hurd/utimensat.c: New file.
12697
bbe762d1
FC
126982018-03-05 Flávio Cruz <flaviocruz@gmail.com>
12699
12700 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
12701 UTIME_OMIT): New macros.
12702 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
12703 before reverting to converting time spec to time value and calling
12704 __file_utimes.
12705 * sysdeps/mach/hurd/utime-helper.c: New file.
12706 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
12707 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
12708 reverting to utime_tvalue_from_tval and __file_utimes.
12709 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
12710 (__lutimes): Just call hurd_futimens after lookup.
12711 * sysdeps/mach/hurd/utimes.c: Likewise.
12712
a1ede3a4
ST
127132018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12714
12715 * bits/sigaction.h: Add include guard.
12716 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
12717 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
12718 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
12719 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
12720 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
12721 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
12722 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
12723 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
12724 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
12725
6900d2ca
JM
127262018-03-05 Joseph Myers <joseph@codesourcery.com>
12727
12728 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
12729 -Wmaybe-uninitialized for -Os.
12730 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
12731 this disabling.
12732
68448be2
AZ
127332018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12734
5226a81f
AZ
12735 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
12736 __INO_T_MATCHES_INO64_T is defined.
12737 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
12738 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
12739 of definition.
12740 * dirent/alphasort64.c: Likewise.
12741 * dirent/scandir.c: Likewise.
12742 * dirent/scandir64-tail.c: Likewise.
12743 * dirent/scandir64.c: Likewise.
12744 * dirent/scandirat.c: Likewise.
12745 * dirent/scandirat64.c: Likewise.
12746 * dirent/versionsort.c: Likewise.
12747 * dirent/versionsort64.c: Likewise.
12748 * include/dirent.h: Likewise.
12749
fbd01e6c
AZ
12750 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
12751 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
12752 for socketpair endpoint.
12753 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
12754 WRITE_BUFFER_SIZE as buffer size for sending socket.
12755 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
12756 issue on system where send is implemented with sendto syscall.
12757 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
12758 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
12759 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
12760 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
12761
68448be2
AZ
12762 [BZ #21269]
12763 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
12764 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
12765 sa_restorer for vDSO case.
12766 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
12767
eb1ca47e
ST
127682018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12769
12770 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
12771 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
12772 * hurd/hurd/ioctl.h: Include <mach/port.h>
12773 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
12774 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
12775 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
12776 (headers): Move mach/param.h to bits/mach/param.h.
12777 * sysdeps/mach/i386/mach/param.h: Move file to ...
12778 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
12779 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
12780 of <mach/param.h>.
3403cb7d
ST
12781 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
12782 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
12783 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
12784 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
12785 trivial, for C++ conformity.
44c6376c 12786 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
12787 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
12788 Process mig output through $(migheadersed).
12789 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
12790 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
12791 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
12792 headers.
ba89615d
ST
12793 * hurd/hurd.h: Include <bits/types/sigset_t.h>
12794 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
12795 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
12796 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
12797 <bits/types/sigset_t.h>.
12798 [!defined __USE_GNU]: Do not #error out.
12799 (struct hurd_sigstate): Use _NSIG instead of NSIG.
12800 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
12801 Include <stddef.h> and <bits/types/sigset_t.h>
12802 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
12803 instead of sighandler_t.
974393ea
ST
12804 * stdlib/errno.h (error_t): Move definition to...
12805 * bits/types/error_t.h: ... new header.
12806 * stdlib/Makefile (headers): Add bits/types/error_t.h.
12807 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
12808 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
12809 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
12810 * hurd/hurd.h: Include <bits/types/error_t.h>
12811 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
12812 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
12813 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
12814 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
12815 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
12816 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 12817 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 12818
eaf6753f
AS
128192018-03-03 Andreas Schwab <schwab@linux-m68k.org>
12820
12821 [BZ #22918]
12822 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
12823 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
12824 * nscd/gai.c (__nss_hosts_database): Readd definition.
12825 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
12826 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
12827 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
12828
4dc23804
JM
128292018-03-02 Joseph Myers <joseph@codesourcery.com>
12830
12831 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
12832 (ifunc_one): Likewise.
12833
1c81d55f
DD
128342018-03-01 DJ Delorie <dj@delorie.com>
12835
12836 [BZ #22342]
12837 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
12838 key value.
12839
b717c14f
MR
128402018-03-01 Maciej W. Rozycki <macro@mips.com>
12841
12842 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
12843 `match_pid' parameter.
12844 (td_ta_thr_iter): Update accordingly.
12845
1efe1358
FW
128462018-03-01 Florian Weimer <fweimer@redhat.com>
12847
12848 * nptl/Makefile (install-lib-ldscripts): Remove.
12849 (install): Remove rule.
12850 ($(inst_libdir)/libpthread.so): Likewise.
12851
a527f09c
MF
128522018-03-01 Mike FABIAN <mfabian@redhat.com>
12853
12854 [BZ #22896]
12855 * localedata/locales/an_ES: update month and day names,
12856 improve d_fmt, improve postal_fmt, add country_post,
12857 add country_isbn
12858
35d660b0
MF
128592018-03-01 Mike FABIAN <mfabian@redhat.com>
12860
12861 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
12862 Ukrainian instead of Bulgarian.
12863
1a2f44a8
FW
128642018-03-01 Florian Weimer <fweimer@redhat.com>
12865
12866 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
12867 reference.
12868
bd60ce86
FW
128692018-03-01 Florian Weimer <fweimer@redhat.com>
12870
12871 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
12872 * nptl/Makefile (routines): Add pthread_atfork.
12873 (static-only-routines): Set to pthread_atfork.
12874 (libpthread-routines): Remove pthread_atfork.
12875 (libpthread-static-only-routines): Remove.
12876 (install): Update comment.
12877 (libpthread.so): Do not install libpthread_nonshared.a.
12878 (tests): Do not link with libpthread_nonshared.a.
12879 (generated): Remove libpthread_nonshared.a.
12880 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
12881 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
12882 with libpthread_nonshared.a.
12883
000f290f
JM
128842018-02-28 Joseph Myers <joseph@codesourcery.com>
12885
e2bcf6a8
JM
12886 [BZ #22902]
12887 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
12888 (libc_feholdexcept_setroundf128): New macro.
12889 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
12890
000f290f
JM
12891 [BZ #15105]
12892 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
12893 libc_hidden_def.
12894 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
12895 * include/inttypes.h: New file.
12896
02f2fead
JM
128972018-02-27 Joseph Myers <joseph@codesourcery.com>
12898
12899 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
12900 -Os in two more places.
12901
874c56d7
MF
129022018-02-27 Mike FABIAN <mfabian@redhat.com>
12903
12904 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
12905 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
12906 be sorted correctly at the moment because of a bug.
12907
15973854
MF
129082018-02-27 Mike FABIAN <mfabian@redhat.com>
12909
12910 [BZ #22550] - es_ES locale (and other es_* locales): collation should
12911 treat ñ as a primary different character, sync the collation
12912 for Spanish with CLDR.
12913 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
12914 * localedata/Makefile: Add new test files.
12915 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
12916 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
12917 collation order.
12918 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
12919 * localedata/am_ET.UTF-8.in: New test file.
12920 * localedata/az_AZ.UTF-8.in: Likewise.
12921 * localedata/be_BY.UTF-8.in: Likewise.
12922 * localedata/ber_DZ.UTF-8.in: Likewise.
12923 * localedata/ber_MA.UTF-8.in: Likewise.
12924 * localedata/bg_BG.UTF-8.in: Likewise.
12925 * localedata/br_FR.UTF-8.in: Likewise.
12926 * localedata/cmn_TW.UTF-8.in: Likewise.
12927 * localedata/crh_UA.UTF-8.in: Likewise.
12928 * localedata/csb_PL.UTF-8.in: Likewise.
12929 * localedata/cv_RU.UTF-8.in: Likewise.
12930 * localedata/cy_GB.UTF-8.in: Likewise.
12931 * localedata/dz_BT.UTF-8.in: Likewise.
12932 * localedata/eo.UTF-8.in: Likewise.
12933 * localedata/es_ES.UTF-8.in: Likewise.
12934 * localedata/fa_IR.UTF-8.in: Likewise.
12935 * localedata/fi_FI.UTF-8.in: Likewise.
12936 * localedata/fil_PH.UTF-8.in: Likewise.
12937 * localedata/fur_IT.UTF-8.in: Likewise.
12938 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
12939 * localedata/ha_NG.UTF-8.in: Likewise.
12940 * localedata/ig_NG.UTF-8.in: Likewise.
12941 * localedata/ik_CA.UTF-8.in: Likewise.
12942 * localedata/kk_KZ.UTF-8.in: Likewise.
12943 * localedata/ku_TR.UTF-8.in: Likewise.
12944 * localedata/ky_KG.UTF-8.in: Likewise.
12945 * localedata/ln_CD.UTF-8.in: Likewise.
12946 * localedata/mi_NZ.UTF-8.in: Likewise.
12947 * localedata/ml_IN.UTF-8.in: Likewise.
12948 * localedata/mn_MN.UTF-8.in: Likewise.
12949 * localedata/mr_IN.UTF-8.in: Likewise.
12950 * localedata/mt_MT.UTF-8.in: Likewise.
12951 * localedata/nb_NO.UTF-8.in: Likewise.
12952 * localedata/om_KE.UTF-8.in: Likewise.
12953 * localedata/os_RU.UTF-8.in: Likewise.
12954 * localedata/ps_AF.UTF-8.in: Likewise.
12955 * localedata/ro_RO.UTF-8.in: Likewise.
12956 * localedata/ru_RU.UTF-8.in: Likewise.
12957 * localedata/sc_IT.UTF-8.in: Likewise.
12958 * localedata/se_NO.UTF-8.in: Likewise.
12959 * localedata/sq_AL.UTF-8.in: Likewise.
12960 * localedata/sv_SE.UTF-8.in: Likewise.
12961 * localedata/szl_PL.UTF-8.in: Likewise.
12962 * localedata/tg_TJ.UTF-8.in: Likewise.
12963 * localedata/tk_TM.UTF-8.in: Likewise.
12964 * localedata/tt_RU.UTF-8.in: Likewise.
12965 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
12966 * localedata/ug_CN.UTF-8.in: Likewise.
12967 * localedata/uz_UZ.UTF-8.in: Likewise.
12968 * localedata/vi_VN.UTF-8.in: Likewise.
12969 * localedata/yi_US.UTF-8.in: Likewise.
12970 * localedata/yo_NG.UTF-8.in: Likewise.
12971 * localedata/zh_CN.UTF-8.in: Likewise.
12972 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
12973 file and fix bugs in the collation.
12974 * localedata/locales/az_AZ: Likewise.
12975 * localedata/locales/be_BY: Likewise.
12976 * localedata/locales/ber_DZ: Likewise.
12977 * localedata/locales/ber_MA: Likewise.
12978 * localedata/locales/bg_BG: Likewise.
12979 * localedata/locales/br_FR: Likewise.
12980 * localedata/locales/br_FR@euro: Likewise.
12981 * localedata/locales/ca_ES: Likewise.
12982 * localedata/locales/cns11643_stroke: Likewise.
12983 * localedata/locales/crh_UA: Likewise.
12984 * localedata/locales/cs_CZ: Likewise.
12985 * localedata/locales/csb_PL: Likewise.
12986 * localedata/locales/cv_RU: Likewise.
12987 * localedata/locales/cy_GB: Likewise.
12988 * localedata/locales/da_DK: Likewise.
12989 * localedata/locales/dz_BT: Likewise.
12990 * localedata/locales/en_CA: Likewise.
12991 * localedata/locales/eo: Likewise.
12992 * localedata/locales/es_CU: Likewise.
12993 * localedata/locales/es_EC: Likewise.
12994 * localedata/locales/es_ES: Likewise.
12995 * localedata/locales/es_US: Likewise.
12996 * localedata/locales/et_EE: Likewise.
12997 * localedata/locales/fa_IR: Likewise.
12998 * localedata/locales/fi_FI: Likewise.
12999 * localedata/locales/fil_PH: Likewise.
13000 * localedata/locales/fur_IT: Likewise.
13001 * localedata/locales/gez_ER@abegede: Likewise.
13002 * localedata/locales/ha_NG: Likewise.
13003 * localedata/locales/hr_HR: Likewise.
13004 * localedata/locales/hsb_DE: Likewise.
13005 * localedata/locales/hu_HU: Likewise.
13006 * localedata/locales/ig_NG: Likewise.
13007 * localedata/locales/ik_CA: Likewise.
13008 * localedata/locales/is_IS: Likewise.
13009 * localedata/locales/iso14651_t1_pinyin: Likewise.
13010 * localedata/locales/kk_KZ: Likewise.
13011 * localedata/locales/ku_TR: Likewise.
13012 * localedata/locales/ky_KG: Likewise.
13013 * localedata/locales/ln_CD: Likewise.
13014 * localedata/locales/lt_LT: Likewise.
13015 * localedata/locales/lv_LV: Likewise.
13016 * localedata/locales/mi_NZ: Likewise.
13017 * localedata/locales/ml_IN: Likewise.
13018 * localedata/locales/mn_MN: Likewise.
13019 * localedata/locales/mr_IN: Likewise.
13020 * localedata/locales/mt_MT: Likewise.
13021 * localedata/locales/nb_NO: Likewise.
13022 * localedata/locales/om_KE: Likewise.
13023 * localedata/locales/os_RU: Likewise.
13024 * localedata/locales/pl_PL: Likewise.
13025 * localedata/locales/ps_AF: Likewise.
13026 * localedata/locales/ro_RO: Likewise.
13027 * localedata/locales/ru_RU: Likewise.
13028 * localedata/locales/ru_UA: Likewise.
13029 * localedata/locales/sc_IT: Likewise.
13030 * localedata/locales/se_NO: Likewise.
13031 * localedata/locales/si_LK: Likewise.
13032 * localedata/locales/sq_AL: Likewise.
13033 * localedata/locales/sv_FI: Likewise.
13034 * localedata/locales/sv_FI@euro: Likewise.
13035 * localedata/locales/sv_SE: Likewise.
13036 * localedata/locales/szl_PL: Likewise.
13037 * localedata/locales/tg_TJ: Likewise.
13038 * localedata/locales/ti_ER: Likewise.
13039 * localedata/locales/tk_TM: Likewise.
13040 * localedata/locales/tl_PH: Likewise.
13041 * localedata/locales/tr_TR: Likewise.
13042 * localedata/locales/tt_RU: Likewise.
13043 * localedata/locales/tt_RU@iqtelif: Likewise.
13044 * localedata/locales/ug_CN: Likewise.
13045 * localedata/locales/uk_UA: Likewise.
13046 * localedata/locales/uz_UZ: Likewise.
13047 * localedata/locales/uz_UZ@cyrillic: Likewise.
13048 * localedata/locales/vi_VN: Likewise.
13049 * localedata/locales/yi_US: Likewise.
13050 * localedata/locales/yo_NG: Likewise.
13051
ce6636b0
MF
130522018-02-27 Mike FABIAN <mfabian@redhat.com>
13053
13054 * gen-locales.mk: Make test files which contain @ modifiers in their
13055 name work.
13056 * localedata/gen-locale.sh: Likewise.
13057
ac3a3b4b
MF
130582018-02-27 Mike FABIAN <mfabian@redhat.com>
13059
13060 * posix/tst-fnmatch.input: Fix results for range expressions
13061 for non C locales.
13062 * posix/tst-regexloc.c: Do not use a range expression for
13063 de_DE.ISO-8859-1 locale.
13064
770cbe14
MF
130652018-02-27 Mike FABIAN <mfabian@redhat.com>
13066
13067 * posix/bug-regex5.c: Fix test case because with the new
13068 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13069 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13070 file.
13071
0fc355d9
MF
130722018-02-27 Mike FABIAN <mfabian@redhat.com>
13073
13074 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13075 downloaded from ISO, the collation order of @-. and space has changed.
13076 Therefore, this test file needed to be adapted.
13077 * localedata/fr_CA.UTF-8.in: Likewise.
13078 * localedata/fr_FR.UTF-8.in: Likewise.
13079 * localedata/uk_UA.UTF-8.in: Likewise.
13080
43f3893f
MF
130812018-02-27 Mike FABIAN <mfabian@redhat.com>
13082
13083 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13084 order of ȥ in the new iso14651_t1_common file.
13085 * localedata/pl_PL.UTF-8.in: Likewise.
13086
df74ef78
MF
130872018-02-27 Mike FABIAN <mfabian@redhat.com>
13088
13089 * localedata/locales/iso14651_t1_common: Add sections for various
13090 scripts to the iso14651_t1_common file.
13091
d5adfbad
MF
130922018-02-27 Mike FABIAN <mfabian@redhat.com>
13093
13094 * localedata/locales/iso14651_t1_common: Use the code point of a
13095 character in the fourth collation level instead of IGNORE for all
13096 entries which have IGNORE on all 4 levels.
13097
5f5a9610
MF
130982018-02-27 Mike FABIAN <mfabian@redhat.com>
13099
13100 * localedata/locales/iso14651_t1_common: Add some convenient collation
13101 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13102 rules similar to those in CLDR.
13103
8a97e900
MF
131042018-02-27 Mike FABIAN <mfabian@redhat.com>
13105
13106 * localedata/locales/iso14651_t1_common: The new version of this
13107 file downloaded from ISO contained several syntax errors which
13108 are fixed by this patch.
13109
bbdd2fba
MF
131102018-02-27 Mike FABIAN <mfabian@redhat.com>
13111
13112 * localedata/locales/iso14651_t1_common: replace all <U.....>
13113 with <U000.....> because glibc understands only 4 digit or 8 digit
13114
1569e551
MF
131152018-02-27 Mike FABIAN <mfabian@redhat.com>
13116
13117 * localedata/locales/iso14651_t1_common: Necessary changes
13118 to make the file downloaded from ISO usable by glibc.
13119
9479b6d5
MF
131202018-02-27 Mike FABIAN <mfabian@redhat.com>
13121
13122 [BZ #14095]
13123 * localedata/locales/iso14651_t1_common: Update file to
13124 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
13125
03b540b3
ST
131262018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13127
13128 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
13129 of <nptl/pthreadP.h>
13130 (thread_attr_compare): Move function to...
eb937a52 13131 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 13132 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 13133 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 13134
20602c72
JM
131352018-02-26 Joseph Myers <joseph@codesourcery.com>
13136
f54d8f73
JM
13137 * string/strcoll_l.c: Include <libc-diag.h>.
13138 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13139 declarations of seq1 and seq2.
13140
20602c72
JM
13141 [BZ #15105]
13142 * stdlib/atoi.c (atoi): Use libc_hidden_def.
13143 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
13144
f5f473a9
DL
131452018-02-26 Dmitry V. Levin <ldv@altlinux.org>
13146
13147 [BZ #22433]
13148 [BZ #22807]
13149 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
13150 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
13151 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
13152 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
13153 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
13154 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
13155
398c6fdd
TMQMF
131562018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13157
13158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
13159 macros used in __ptrace_request.
13160
f5d1f629
L
131612018-02-23 H.J. Lu <hongjiu.lu@intel.com>
13162
13163 [BZ #22792]
13164 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
13165 to $(CC).
13166 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
13167 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
13168 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
13169 <tcb-offsets.h>.
13170
54412d20
JM
131712018-02-23 Joseph Myers <joseph@codesourcery.com>
13172
13173 [BZ #15105]
13174 * ctype/ctype.c (tolower): Use libc_hidden_def.
13175 (toupper): Likewise.
13176 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
13177 [!_ISOMAC] (toupper): Likewise.
13178
81be4b5e
MF
131792018-02-23 Mike FABIAN <mfabian@redhat.com>
13180
13181 * localedata/Makefile: Remove --quiet argument when
13182 installing locales
13183
9d5cfd8e
MF
131842018-02-23 Mike FABIAN <mfabian@redhat.com>
13185
13186 [BZ #17438]
13187 * localedata/locales/pt_BR (LC_TIME): use / instead of -
13188 in d_fmt.
13189 * localedata/locales/pt_PT (LC_TIME): likewise
13190
6c7269f3
MF
131912018-02-23 Mike FABIAN <mfabian@redhat.com>
13192
13193 [BZ #22646]
13194 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
13195 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
13196 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
13197
92aabad9
AZ
131982018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13199
4cdc25a4
AZ
13200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13201
27761a10
AZ
13202 * nptl/Makefile (routines): Remove unregister-atfork.
13203 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
13204 (fork_handler_alloc): Remove function.
13205 (fork_handlers, fork_handler_init): New variables.
13206 (__fork_lock): Rename to atfork_lock.
13207 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
13208 to use a dynamic array to add/remove atfork handlers.
13209 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13210 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
13211 Remove declaration.
13212 (fork_handler): Remove next, refcntr, and need_signal member.
13213 (__run_fork_handler_type): New enum.
13214 (__run_fork_handlers): New prototype.
13215 * nptl/register-atfork.c: Remove file.
13216 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
13217
92aabad9
AZ
13218 * sysdeps/nptl/nptl-signals.h: Move to ...
13219 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
13220 comments.
13221 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
13222 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
13223 unnecessary check for SIGTIMER.
13224 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
13225 remove unnecessary removal of SIGTIMER.
13226 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
13227 include-signals.h rename.
13228 * nptl/pthreadP.h: Likewise.
13229 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
13230 __is_internal_signal instead of __nptl_is_internal_signal.
13231
fdcc6253
AW
132322018-02-22 Andrew Waterman <andrew@sifive.com>
13233
7e04eb29 13234 [BZ # 22884]
fdcc6253
AW
13235 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
13236 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
13237 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
13238 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
13239
8090720a
DD
132402018-02-22 DJ Delorie <dj@delorie.com>
13241
13242 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
13243
6ca24c43
SP
132442018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
13245
13246 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
13247 do_misaligned, not misaligned8.
13248
e9537ddd
SE
132492018-02-22 Steve Ellcey <sellcey@cavium.com>
13250
13251 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
13252 Add memcpy_thunderx2.
13253 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
13254 Increment to 4.
13255 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
13256 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
13257 and IS_THUNDERX2PA checks.
13258 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
13259 Use macro to set name appropriately.
13260 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
13261 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
13262 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
13263 New macro.
13264 (IS_THUNDERX2): New macro.
13265
6e336476
SL
132662018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13267
13268 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13269
34957904
ZW
132702018-02-21 Zack Weinberg <zackw@panix.com>
13271
30bfee26
ZW
13272 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
13273 Define here, unconditionally.
13274 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
13275 * libio/libioP.h: Remove #if 0 blocks.
13276 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
13277 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
13278 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
13279
13280 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
13281 Assume weak_alias is always defined.
13282
13283 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
13284 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
13285 Remove #if 0 and #ifdef TODO blocks.
13286 Assume text_set_element is always defined.
13287
13288 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
13289 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
13290 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
13291
df6c012b
ZW
13292 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
13293 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
13294 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
13295 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
13296 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
13297 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
13298 Reformat bit flags for _flags field to make occupancy clearer.
13299 Update commentary.
13300 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
13301 Keep definitions consistent with those in libio/libio.h.
13302
13303 * libio/libio.h (_IO_file_flags): Remove macro.
13304 All uses changed to _flags.
13305
177aad3f
ZW
13306 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
13307 (__HAVE_COLUMN, _IO_BE): Don't define.
13308 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
13309 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
13310 * libio/libioP.h (EOF): Don't define.
13311 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
13312 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
13313 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
13314 testing _IO_UNIFIED_JUMPTABLES.
13315
9964a145
ZW
13316 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
13317 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
13318 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
13319 (_IO_size_t): Delete; all uses changed to size_t.
13320 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
13321 (_IO_off_t): Delete; all uses changed to off_t.
13322 (_IO_off64_t): Delete; all uses changed to off64_t.
13323 (_IO_pid_t): Delete; all uses changed to pid_t.
13324 (_IO_uid_t): Delete; all uses changed to uid_t.
13325 (_IO_wint_t): Delete; all uses changed to wint_t.
13326 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
13327 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
13328 (_IO_cookie_io_functions_t): Delete; all uses changed to
13329 cookie_io_functions_t.
13330 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
13331 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
13332 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
13333 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
13334
13335 * libio/iofopncook.c: Remove unnecessary forward declarations.
13336 * libio/iolibio.h: Correct outdated commentary.
13337 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
13338 * stdio-common/fxprintf.c (__fxprintf_nocancel):
13339 Remove unnecessary casts.
13340 * stdio-common/getline.c: Use _IO_getdelim directly.
13341 Don't redefine ssize_t.
13342 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
13343 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
13344 Remove outdated comments.
13345 * stdio-common/vfscanf.c: Don't redefine va_list.
13346
34957904
ZW
13347 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
13348 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
13349 Remove preprocessor conditionals on _LIBC and __USE_GNU,
13350 which are always true, and __cplusplus, which is always false.
13351
30ac923d
JM
133522018-02-21 Joseph Myers <joseph@codesourcery.com>
13353
039c721a
JM
13354 [BZ #15105]
13355 [BZ #19463]
13356 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
13357 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
13358 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
13359 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
13360 libc_hidden_proto.
13361 [!_ISOMAC] (putc_unlocked): Likewise.
13362 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
13363 define inline if [__USE_EXTERN_INLINES].
13364 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
13365 putc_unlocked.
13366
30ac923d
JM
13367 [BZ #15105]
13368 [BZ #19463]
13369 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
13370 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
13371 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
13372 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
13373 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
13374 getc_unlocked.
13375 * time/tzfile.c (__tzfile_read): Likewise.
13376
7ec5f946
MF
133772018-02-21 Mike FABIAN <mfabian@redhat.com>
13378
13379 [BZ #22517]
13380 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
13381
0d217f40
RJ
133822018-02-21 Rical Jasan <ricaljasan@pacific.net>
13383
13384 * io/fcntl.h: Fix a typo in a comment.
13385
862b4502
RJ
133862018-02-21 Rical Jasan <ricaljasan@pacific.net>
13387
13388 [BZ #22862]
13389 * include/features.h: Add _ISOC11_SOURCE to test for whether to
13390 define _DEFAULT_SOURCE.
13391 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
13392
999a6dab
FW
133932018-02-21 Florian Weimer <fweimer@redhat.com>
13394
13395 [BZ #20890]
13396 * elf/cache.c (save_cache): Call fsync on temporary file before
13397 renaming it.
13398 (save_aux_cache): Call fdatasync on temporary file before renaming
13399 it.
13400
52a01100
FW
134012018-02-21 Florian Weimer <fweimer@redhat.com>
13402
13403 [BZ #22787]
13404 * include/caller.h: Remove file.
13405 * elf/dl-caller.c: Likewise.
13406 * elf/Makefile (dl-routines): Remove dl-caller.
13407 (shared-only-routines): Do not add dl-caller.
13408 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
13409 __check_caller.
13410 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
13411 member.
13412 (dl_open_worker): Do not call __check_caller.
13413 (_dl_open): Do not set caller_dl_open member.
13414 * elf/rtld.c (_rtld_global_ro): Do not initialize
13415 _dl_check_caller member.
13416 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
13417 _dl_check_caller member.
13418 (_dl_check_caller): Remove declaration.
13419 * sysdeps/unix/sysv/linux/dl-execstack.c
13420 (_dl_make_stack_executable): Do not call __check_caller.
13421
b5bf62e4
ST
134222018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13423
13424 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 13425 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 13426
e8d190b9
RJ
134272018-02-20 Rical Jasan <ricaljasan@pacific.net>
13428
13429 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
13430 description.
13431
6a3962c4
RJ
134322018-02-20 Rical Jasan <ricaljasan@pacific.net>
13433
da81ae64 13434 [BZ #16335]
6a3962c4
RJ
13435 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
13436 of 199606L, 200112L, and 200809L.
13437 (_XOPEN_SOURCE): Document special values of 600 and 700.
13438 (_ISOC11_SOURCE): Document macro.
13439 (_ATFILE_SOURCE): Likewise.
13440 (_FORTIFY_SOURCE): Likewise.
13441
ec481ad8
JM
134422018-02-19 Joseph Myers <joseph@codesourcery.com>
13443
13444 [BZ #15105]
13445 [BZ #19463]
13446 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
13447 and define as weak alias of __ferror_unlocked. Use
13448 libc_hidden_weak.
13449 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
13450 libc_hidden_proto.
13451 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
13452 function if [__USE_EXTERN_INLINES].
13453 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
13454 ferror_unlocked.
13455
7d15ef84
RJ
134562018-02-19 Rical Jasan <ricaljasan@pacific.net>
13457
13458 [BZ #6889]
13459 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
13460
f8d79582
AJ
134612018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13462
13463 [BZ #22818]
13464 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
13465 the GLIBC_2.1 version.
13466
56456a2a
AJ
134672018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13468
13469 [BZ #21508]
13470 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
13471 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
13472 intl/tst-gettext-de.po from po/de.po by removing the
13473 POT-Creation-Date line.
13474 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
13475 ../po/de.po.
13476 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
13477 ../po/de.po.
13478
13768813
ST
134792018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13480
13481 * mach/Makefile (headers): Add mach/param.h.
13482 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
13483 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
13484 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
13485 (__ptsname_r): Move implementation to...
13486 (__ptsname_internal): ... new function. Add filling the STP
13487 structure.
13768813 13488
6aca1b61
JDA
134892018-02-17 John David Anglin <danglin@gcc.gnu.org>
13490
13491 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
13492 idouble to 1 ULP.
13493
16efad51
RJ
134942018-02-16 Rical Jasan <ricaljasan@pacific.net>
13495
13496 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
13497 syntax.
13498
87245073
SL
134992018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13500
13501 * nptl/Makefile (tst-mutex8-ENV): Delete.
13502 * nptl/tst-mutex8.c (check_type):
13503 Add runtime check if mutex will be elided.
13504
7fc03cf3
JM
135052018-02-15 Joseph Myers <joseph@codesourcery.com>
13506
db9881ec
JM
13507 [BZ #20980]
13508 [BZ #21234]
13509 * manual/install.texi (Configuring and compiling): Describe
13510 passing CC and CFLAGS on configure command line, not as
13511 environment variables. Use @code markup on those variables.
13512 Specify what options go in CC and what go in CFLAGS. Note the
13513 requirement to compile with optimization.
13514 * INSTALL: Regenerated.
13515
3785b31c
JM
13516 [BZ #18124]
13517 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
13518 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
13519 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
13520 __sigprocmask instead of sigprocmask.
13521 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
13522 Likewise.
13523 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
13524 __sigsetjmp and sigprocmask.
13525
055ac2a7
JM
13526 [BZ #15105]
13527 * include/argz.h (argz_next): Use libc_hidden_proto.
13528 (__argz_next): Likewise.
13529 * string-argz-next.c (__argz_next): Use libc_hidden_def.
13530 (argz_next): Use libc_hidden_weak.
13531
e4452a2d
JM
13532 [BZ #15105]
13533 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
13534 libc_hidden_proto.
13535 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
13536 libc_hidden_def.
13537
499b3153
JM
13538 [BZ #15105]
13539 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
13540 libc_hidden_proto.
13541 * libio/iofputs.c (fputs): Use libc_hidden_weak.
13542
7fc03cf3
JM
13543 [BZ #15105]
13544 [BZ #19463]
13545 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
13546 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
13547 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
13548 (__feof_unlocked): New declaration, and inline function if
13549 [__USE_EXTERN_INLINES].
13550 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
13551 instead of feof_unlocked.
13552 * intl/localealias.c [_LIBC] (FEOF): Likewise.
13553 * nss/nsswitch.c (nss_parse_file): Likewise.
13554 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
13555 Likewise.
13556 * time/getdate.c (__getdate_r): Likewise.
13557 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
13558 Define as macro to call __feof_unlocked.
13559
0c8a67a5
WD
135602018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13561
13562 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
13563
610ee1fc
WD
135642018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13565
13566 * math/Makefile: Remove mpexp.c and mplog.c
13567 * sysdeps/i386/fpu/mpexp.c: Delete file.
13568 * sysdeps/i386/fpu/mplog.c: Likewise.
13569 * sysdeps/ia64/fpu/mpexp.c: Likewise.
13570 * sysdeps/ia64/fpu/mplog.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
13572 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
13573 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
13574 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13575 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
13576 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
13577 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
13578 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
13579 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13580 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13581 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
13582 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13583 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13584 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
13585 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13586 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13587
8e7196c8
SL
135882018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13589
13590 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13591
4f55ad0b
AZ
135922018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13593
13594 * sysdeps/sh/libm-test-ulps: Update.
13595
261a851c
TMQMF
135962018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13597
13598 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
13599 idouble to 1 ULP.
13600
e16deca6
ZW
136012018-02-12 Zack Weinberg <zackw@panix.com>
13602
13603 [BZ #19239]
13604 * posix/sys/types.h: Don't include sys/sysmacros.h.
13605 * misc/sys/sysmacros.h: Remove the conditional deprecation
13606 warnings for the macros defined by this header.
13607
de800d83
SN
136082018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13609
13610 * manual/probes.texi: Remove slowexp probes.
13611 * math/Makefile: Remove slowexp.
13612 * sysdeps/generic/math_private.h (__slowexp): Remove.
13613 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
13614 document error bounds.
13615 * sysdeps/i386/fpu/slowexp.c: Remove.
13616 * sysdeps/ia64/fpu/slowexp.c: Remove.
13617 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
13618 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
13619 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
13620 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
13621 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
13622 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
13623 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
13624 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
13625 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
13626 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
13627 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
13628
c3d466cb
WD
136292018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
13630
13631 [BZ #13932]
13632 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
13633 * benchtests/pow-inputs: Update comment for slow path cases.
13634 * manual/probes.texi (slowpow_p10): Delete removed probe.
13635 (slowpow_p10): Likewise.
13636 * math/Makefile: Remove halfulp.c and slowpow.c.
13637 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
13638 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
13639 (__halfulp): Remove.
13640 (__slowpow): Remove.
13641 * sysdeps/i386/fpu/halfulp.c: Delete file.
13642 * sysdeps/i386/fpu/slowpow.c: Likewise.
13643 * sysdeps/ia64/fpu/halfulp.c: Likewise.
13644 * sysdeps/ia64/fpu/slowpow.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
13646 improve comments and add error analysis.
13647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
13648 (power1): Remove function:
13649 (log1): Remove error argument, add error analysis.
13650 (my_log2): Remove function.
13651 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
13652 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13653 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
13654 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
13655 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
13656 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
13657 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
13658 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
13659 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
13660 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
13661 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
13662 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13663 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13664 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13665
7bb087bd
ST
136662018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
13667
13668 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
13669 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
13670
2fd4bbaa
DL
136712018-02-10 Dmitry V. Levin <ldv@altlinux.org>
13672
13673 [BZ #22433]
13674 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
13675 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
13676 and PTRACE_SETHBPREGS.
13677
402ecba4
ZW
136782018-02-10 Zack Weinberg <zackw@panix.com>
13679
13680 [BZ #22830]
13681 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
13682 correctly.
13683 * malloc/tst-malloc-stats-cancellation.c: New test case.
13684 * malloc/Makefile: Add new test case.
13685
4f5b921e
WD
136862018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
13687
13688 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
13689
a85b70db
JM
136902018-02-10 Joseph Myers <joseph@codesourcery.com>
13691
d8742dd8
JM
13692 * math/Makefile (libm-narrow-fns): Add add.
13693 (libm-test-funcs-narrow): Likewise.
13694 * math/Versions (GLIBC_2.28): Add narrowing add functions.
13695 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
13696 * math/gen-auto-libm-tests.c (test_functions): Add add.
13697 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
13698 (NARROW_ADD_ROUND_TO_ODD): Likewise.
13699 (NARROW_ADD_TRIVIAL): Likewise.
13700 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
13701 macro.
13702 (__daddl): Likewise.
13703 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
13704 dadd.
13705 (CFLAGS-nldbl-dadd.c): New variable.
13706 (CFLAGS-nldbl-fadd.c): Likewise.
13707 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13708 __nldbl_daddl.
13709 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
13710 prototype.
13711 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
13712 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
13713 * math/auto-libm-test-in: Add tests of add.
13714 * math/auto-libm-test-out-narrow-add: New generated file.
13715 * math/libm-test-narrow-add.inc: New file.
13716 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
13719 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
13720 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
13721 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
13730 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
13731 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
13732 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
13733 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
13734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13735 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13762
a85b70db
JM
13763 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
13764 (f128-pairs): New variable.
13765 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
13766 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
13767 to CFLAGS.
13768 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
13769 Also make tests add $(f128-loader-link) to gnulib-tests.
13770
6a1ff640
DD
137712018-02-09 DJ Delorie <dj@redhat.com>
13772
13773 [BZ #22827]
13774 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
13775 64-bit ELF type for 64-bit ELF objects.
13776
bfd47587
JM
137772018-02-09 Joseph Myers <joseph@codesourcery.com>
13778
31958338
JM
13779 * math/libm-test-driver.c (snan_tests_arg): New variable.
13780 * math/libm-test-support.h (snan_tests_arg): New declaration.
13781 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
13782
8e554659
JM
13783 * math/Makefile (test-type-pairs): New variable.
13784 (test-type-pairs-f64xf128-yes): Likewise.
13785 (tests): Add test-narrow-macros.
13786 (libm-test-funcs-narrow): New variable.
13787 (libm-test-c-narrow): Likewise.
13788 (generated): Add $(libm-test-c-narrow).
13789 (libm-tests-base-narrow): New variable.
13790 (libm-tests-narrow): Likewise.
13791 (libm-tests): Add $(libm-tests-narrow).
13792 (libm-tests-for-type): Handle $(libm-tests-narrow).
13793 (libm-test-c-narrow-obj): New variable.
13794 ($(libm-test-c-narrow-obj)): New rule.
13795 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
13796 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
13797 $(o-iterator) to set dependencies and CFLAGS.
13798 * math/gen-auto-libm-tests.c: Document use for narrowing
13799 functions.
13800 (output_for_one_input_case): Take argument NARROW.
13801 (generate_output): Likewise. Update call to
13802 output_for_one_input_case.
13803 (main): Take --narrow option. Update call to generate_output.
13804 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
13805 (apply_lit): Update call to _apply_lit.
13806 (apply_arglit): New function.
13807 (parse_args): Handle "a" arguments.
13808 (parse_auto_input): Handle format names using ":".
13809 * math/README.libm-test: Document "a" parameter type.
13810 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
13811 (ARG_TYPE_TRUE_MIN): Likewise.
13812 (ARG_TYPE_MAX): Likwise.
13813 (ARG_MIN_EXP): Likewise.
13814 (ARG_MAX_EXP): Likewise.
13815 (ARG_MANT_DIG): Likewise.
13816 (TEST_COND_arg_ibm128): Likewise.
13817 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
13818 (TEST_COND_arg_fmt): New macro.
13819 (init_max_error): Update prototype.
13820 * math/libm-test-support.c (test_ibm128): New variable.
13821 (init_max_error): Take argument testing_ibm128 and set test_ibm128
13822 instead of using [TEST_COND_ibm128] conditional.
13823 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
13824 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
13825 [TEST_NARROW] (TEST_MSG): New definition.
13826 (arg_plus_zero): New macro.
13827 (arg_minus_zero): Likewise.
13828 (arg_plus_infty): Likewise.
13829 (arg_minus_infty): Likewise.
13830 (arg_qnan_value_pl): Likewise.
13831 (arg_qnan_value): Likewise.
13832 (arg_snan_value_pl): Likewise.
13833 (arg_snan_value): Likewise.
13834 (arg_max_value): Likewise.
13835 (arg_min_value): Likewise.
13836 (arg_min_subnorm_value): Likewise.
13837 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
13838 (RUN_TEST_LOOP_aa_f): New macro.
13839 (TEST_SUFF): New macro.
13840 (TEST_SUFF_STR): Likewise.
13841 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
13842 (TEST_COND_any_ibm128): New macro.
13843 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
13844 this_func. Update call to init_max_error.
13845 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
13846 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
13847 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
13848 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
13849 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
13850 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
13851 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
13852 * math/test-math-scalar.h (TEST_NARROW): Likewise.
13853 * math/test-math-vector.h (TEST_NARROW): Likewise.
13854 * math/test-arg-double.h: New file.
13855 * math/test-arg-float128.h: Likewise.
13856 * math/test-arg-float32x.h: Likewise.
13857 * math/test-arg-float64.h: Likewise.
13858 * math/test-arg-float64x.h: Likewise.
13859 * math/test-arg-ldouble.h: Likewise.
13860 * math/test-math-narrow.h: Likewise.
13861 * math/test-narrow-macros.c: Likewise.
13862 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
13863 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
13864 test-narrow-macros-ldbl-64.
13865 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
13866
63716ab2
JM
13867 * math/bits/mathcalls-narrow.h: New file.
13868 * include/bits/mathcalls-narrow.h: Likewise.
13869 * math/math-narrow.h: Likewise.
13870 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
13871 (__MATHCALL_NARROW_ARGS_2): Likewise.
13872 (__MATHCALL_NARROW_ARGS_3): Likewise.
13873 (__MATHCALL_NARROW_NORMAL): Likewise.
13874 (__MATHCALL_NARROW_REDIR): Likewise.
13875 (__MATHCALL_NARROW): Likewise.
13876 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
13877 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
13878 defined.
13879 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
13880 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
13881 (libm-narrow-fns): New variable.
13882 (libm-narrow-types-basic): Likewise.
13883 (libm-narrow-types-ldouble-yes): Likewise.
13884 (libm-narrow-types-float128-yes): Likewise.
13885 (libm-narrow-types-float128-alias-yes): Likewise.
13886 (libm-narrow-types): Likewise.
13887 (libm-routines): Add narrowing functions.
13888 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
13889 (libc_feholdexcept_setroundf128): New macro.
13890 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
13891 * sysdeps/ieee754/float128/float128_private.h: Include
13892 <math/math-narrow.h>.
13893 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
13894 Undefine and redefine.
13895 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
13896 (libm_alias_float_ldouble): Undefine and redefine.
13897 (libm_alias_double_ldouble): Likewise.
13898
bfd47587
JM
13899 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
13900
3f8d9d58
WD
139012018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
13902
13903 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
13904 FPCR/FPSR.
13905
1f6676d7
RJ
139062018-02-09 Rical Jasan <ricaljasan@pacific.net>
13907
13908 * manual/creature.texi: Convert references to gcc.info to gcc.
13909 * manual/stdio.texi: Likewise.
13910 * manual/string.texi: Likewise.
13911
d80441dd
JM
139122018-02-07 Joseph Myers <joseph@codesourcery.com>
13913
15081be9
JM
13914 [BZ #17979]
13915 * posix/bits/types.h (__int_least8_t): New typedef.
13916 (__uint_least8_t): Likewise.
13917 (__int_least16_t): Likewise.
13918 (__uint_least16_t): Likewise.
13919 (__int_least32_t): Likewise.
13920 (__uint_least32_t): Likewise.
13921 (__int_least64_t): Likewise.
13922 (__uint_least64_t): Likewise.
13923 * sysdeps/generic/stdint.h (int_least8_t): Define using
13924 __int_least8_t.
13925 (int_least16_t): Define using __int_least16_t.
13926 (int_least32_t): Define using __int_least32_t.
13927 (int_least64_t): Define using __int_least64_t.
13928 (uint_least8_t): Define using __uint_least8_t.
13929 (uint_least16_t): Define using __uint_least16_t.
13930 (uint_least32_t): Define using __uint_least32_t.
13931 (uint_least64_t): Define using __uint_least64_t.
13932 * wcsmbs/uchar.h: Include <bits/types.h>.
13933 (char16_t): Define using __uint_least16_t conditional only on
13934 [!__USE_ISOCXX11].
13935 (char32_t): Define using __uint_least32_t conditional only on
13936 [!__USE_ISOCXX11].
13937 * wcsmbs/test-char-types.c: New file.
13938 * wcsmbs/Makefile (tests): Add test-char-types.
13939
d80441dd
JM
13940 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
13941 version to 4.0.1.
13942
6c6c962a
ZW
139432018-02-07 Zack Weinberg <zackw@panix.com>
13944
63fb8f9a
ZW
13945 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
13946 Delete all contents except for definitions of _G_HAVE_MMAP and
13947 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
13948 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
13949 sysdeps/unix/sysv/linux/_G_config.h. Make same content
13950 change as above.
13951
13952 * libio/libio.h: Don't include bits/_G_config.h here.
13953 Include stddef.h with __need_wchar_t defined. Include
13954 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
13955 Define _IO_iconv_t here, directly.
13956 Don't define _IO_HAVE_ST_BLKSIZE.
13957 * libio/libioP.h: Include _G_config.h here. Move include of
13958 shlib-compat.h up with rest of includes. Simplify conditionals
13959 controlling definition of _IO_JUMPS_OFFSET.
13960
13961 * csu/init.c: Remove always-true #if around entire file.
13962 Don't include stdio.h. Set _IO_stdin_used to hardwired
13963 constant 0x20001, and update commentary.
13964 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
13965 Replace all uses of _G_va_list with __gnuc_va_list.
13966 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
13967 instead of #if _IO_HAVE_ST_BLKSIZE.
13968 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
13969 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
13970 not #ifdef.
13971
6c6c962a
ZW
13972 * libio/bits/libio.h: Move back to libio/libio.h and adjust
13973 multiple-include guard to match.
13974 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
13975 into this file.
13976 Remove preprocessor conditionals that are always true and/or
13977 redundant to other preprocessor conditionals in the same nest.
13978 Include shlib-compat.h unconditionally.
13979 Error out if _LIBC is not defined, or if _ISOMAC is defined,
13980 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
13981 defined after including stdio.h.
13982 Use __BEGIN_DECLS/__END_DECLS.
13983
13984 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
13985 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
13986 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
13987
a4fea3f2
ZW
139882018-02-07 Zack Weinberg <zackw@panix.com>
13989
13990 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
13991 New single-type headers split from _G_config.h.
13992 * libio/bits/types/cookie_io_functions_t.h
13993 * libio/bits/types/struct_FILE.h
13994 New single-type headers split from libio.h.
13995
13996 * libio/Makefile: Install the above new headers. Don't install
13997 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
13998 bits/libio-ldbl.h.
13999 * libio/_G_config.h, libio/libio.h: Delete file.
14000
14001 * libio/bits/libio.h: Remove improper-inclusion guard.
14002 Include stdio.h and don't repeat anything that it does.
14003 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14004 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14005 __io_read_fn as cookie_read_function_t,
14006 __io_write_fn as cookie_write_function_t,
14007 __io_seek_fn as cookie_seek_function_t,
14008 __io_close_fn as cookie_close_function_t,
14009 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14010 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14011 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 14012 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
14013 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14014 and _IO_ferror_unlocked.
14015 Move prototypes of __uflow and __overflow...
14016
14017 * libio/stdio.h: ...here. Don't include bits/libio.h.
14018 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 14019 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
14020 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14021 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14022 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14023 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14024 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14025 __ssize_t, not _IO_ssize_t. Unconditionally define
14026 BUFSIZ as 8192 and EOF as (-1).
14027
14028 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14029 macros from bits/types/struct_FILE.h instead of _IO_* macros
14030 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14031 instead of _IO_ssize_t.
14032 * libio/bits/stdio2.h: Similarly.
14033
14034 * libio/iolibio.h: Add multiple-include guard.
14035 Include bits/libio.h after stdio.h.
14036 * libio/libioP.h: Add multiple-include guard.
14037 Include stdio.h and bits/libio.h before iolibio.h.
14038
6c6c962a 14039 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
14040 * include/bits/types/cookie_io_functions_t.h
14041 * include/bits/types/struct_FILE.h: New wrappers.
14042
14043 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
14044 Get definitions of _G_fpos_t and _G_fpos64_t from
14045 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14046 respectively. Remove improper-inclusion guards.
a4fea3f2 14047
6c6c962a 14048 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 14049 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 14050 libio.h and _G_config.h.
a4fea3f2 14051
ce999220
JM
140522018-02-07 Joseph Myers <joseph@codesourcery.com>
14053
8b4a1182
JM
14054 [BZ #15105]
14055 [BZ #19463]
14056 * include/sys/sysmacros.h [!_ISOMAC]
14057 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14058 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14059 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14060 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14061 libc_hidden_proto.
14062 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14063 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14064 Likewise.
14065 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14066 Undefine and redefine to add use __gnu_dev_ prefix.
14067 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14068 Likewise.
14069 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14070 and define as hidden inline function.
14071 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14072 Likewise.
14073 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14074 Likewise.
14075 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14076 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14077 (gnu_dev_minor): Likewise.
14078 (gnu_dev_makedev): Likewise.
14079 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14080 makedev.
14081 * posix/wordexp.c (exec_comm_child): Likewise.
14082 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14083 instead of minor and __gnu_dev_major instead of major.
14084 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14085 __gnu_dev_major instead of major.
14086 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14087 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14088 instead of gnu_dev_minor.
14089 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14090 (SLAVE_P): Likewise.
14091 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14092 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14093 instead of major.
14094
ce999220
JM
14095 [BZ #21313]
14096 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14097 in another place.
14098 * locale/weightwc.h (findidx): Likewise.
14099
b7c83ca3
WD
141002018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14101
14102 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14103 (slowlog_inexact): Likewise
14104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14105 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14106
388ff7bd
IG
141072018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14108
14109 [BZ #22797]
14110 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14111 missing second underscore to parameter name.
14112
663e7d78
JM
141132018-02-06 Joseph Myers <joseph@codesourcery.com>
14114
0d40d0ec
JM
14115 [BZ #14508]
14116 [BZ #15512]
14117 [BZ #17082]
14118 [BZ #20530]
14119 * bits/byteswap.h: Update file comment. Do not include
14120 <bits/byteswap-16.h>.
14121 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14122 constant.
14123 (__bswap_16): Define as inline function.
14124 (__bswap_constant_32): Reformat definition.
14125 (__bswap_32): Always define as inline function, not macro, using
14126 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
14127 otherwise __bswap_constant_32.
14128 (__bswap_constant_64): Reformat definition. Do not use
14129 __extension__ here.
14130 (__bswap_64): Always define as inline function, not macro. Use
14131 __extension__ on function definition. Use __builtin_bswap64 if
14132 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
14133 * string/test-endian-file-scope.c: New file.
14134 * string/test-endian-sign-conversion.c: Likewise.
14135 * string/Makefile (headers): Remove bits/byteswap-16.h.
14136 (tests): Add test-endian-file-scope and
14137 test-endian-sign-conversion.
14138 (CFLAGS-test-endian-sign-conversion.c): New variable.
14139 * bits/byteswap-16.h: Remove file.
14140 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
14141 * sysdeps/ia64/bits/byteswap.h: Likewise.
14142 * sysdeps/m68k/bits/byteswap.h: Likewise.
14143 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14144 * sysdeps/s390/bits/byteswap.h: Likewise.
14145 * sysdeps/tile/bits/byteswap.h: Likewise.
14146 * sysdeps/x86/bits/byteswap-16.h: Likewise.
14147 * sysdeps/x86/bits/byteswap.h: Likewise.
14148
383e87c9
JM
14149 [BZ #17721]
14150 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
14151 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
14152 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
14153 199901L] (__restrict): Define to restrict.
14154
d92c2759
JM
14155 [BZ #19667]
14156 * string/testcopy.c: Include <support/support.h>. Do not include
14157 <malloc.h>. Use <support/test-driver.c>.
14158 (main): Rename to do_test. Make static. Use xmalloc instead of
14159 malloc.
14160
625fb764
JM
14161 [BZ #13575]
14162 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
14163 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
14164 (SSIZE_MAX): Define to INT_MAX.
14165 * posix/test-ssize-max.c: New file.
14166 * posix/Makefile (tests): Add test-ssize-max.
14167
02325d6c
JM
14168 [BZ #19668]
14169 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
14170 <support/support.h>. Do not include <malloc.h>.
14171 (query_auxv): Use xmalloc instead of malloc.
14172
663e7d78
JM
14173 [BZ #14553]
14174 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
14175 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
14176 instead of loff_t.
14177
6d7aa2b5
FW
141782018-02-06 Florian Weimer <fweimer@redhat.com>
14179
14180 [BZ #18023]
14181 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14182 Use scratch_buffer instead of extend_alloca.
14183
de6da571
ZW
141842018-02-06 Zack Weinberg <zackw@panix.com>
14185
26c07172
ZW
14186 * libio/stdio.h: Don't define getc or putc as macros.
14187 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
14188 not _IO_getc and _IO_putc.
14189
de6da571
ZW
14190 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
14191 * stdio-common/tstgetln.c: Don't redefine ssize_t.
14192
92669d6e
JM
141932018-02-06 Joseph Myers <joseph@codesourcery.com>
14194
c2b84df9
JM
14195 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
14196 (TCP_FASTOPEN_NO_COOKIE): Likewise.
14197
41376f8c
JM
14198 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
14199
d28bf648
JM
14200 [BZ #14890]
14201 * elf/elf.h (NT_PRFPREG): New macro.
14202 (NT_S390_VXRS_LOW): Likewise.
14203 (NT_S390_VXRS_HIGH): Likewise.
14204 (NT_S390_GS_CB): Likewise.
14205 (NT_S390_GS_BC): Likewise.
14206 (NT_S390_RI_CB): Likewise.
14207
e76def72
JM
14208 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14209 (MAP_SYNC): New macro.
14210 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
14211 Likewise.
14212 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14213 (MAP_SYNC): Likewise.
14214 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14215 (MAP_SYNC): Likewise.
14216 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14217 (MAP_SYNC): Likewise.
14218 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14219 (MAP_SYNC): Likewise.
14220 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14221 (MAP_SYNC): Likewise.
14222 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14223 (MAP_SYNC): Likewise.
14224 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
14225 Likewise.
14226 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
14227 Likewise.
14228
92669d6e
JM
14229 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
14230 (MAP_SHARED_VALIDATE): New macro.
14231 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14232 (MAP_SHARED_VALIDATE): Likewise.
14233
6a5cac49
L
142342018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
14237 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
14238 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14239
b44e0dfb
L
142402018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14241
14242 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
14243 (DT_NUM): Updated to 35.
14244
f886c16c
L
142452018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
14248 __builtin_expect with __glibc_likely and __glibc_unlikely.
14249 (elf_machine_rela): Likewise.
14250 (elf_machine_lazy_rel): Likewise.
14251
06fbebff
L
142522018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14253
14254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 14255 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
14256 (elf_machine_lazy_rel): Likewise.
14257
371b220f
L
142582018-02-05 H.J. Lu <hongjiu.lu@intel.com>
14259
14260 [BZ #22638]
14261 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
14262 SHARED.
65805016 14263 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 14264
f649a1b8
AS
142652018-02-05 Andreas Schwab <schwab@suse.de>
14266
14267 [BZ #22761]
14268 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
14269 string.
14270
9fdb340e
ST
142712018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14272
14273 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
14274 not check against PTHREAD_STACK_MIN.
14275
09e56b9e
SM
142762018-02-02 Sean McKean <smckean83@gmail.com>
14277
14278 [BZ #22735]
14279 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
14280
d4b4a00a
FW
142812018-02-02 Florian Weimer <fweimer@redhat.com>
14282
14283 [BZ #22753]
14284 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
14285 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14286 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14287 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
14288 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14289 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14290 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14291 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
14292 * manual/llio.texi (Scatter-Gather): Mention offset -1.
14293 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
14294 * misc/tst-preadvwritev2.c (do_test): Call it.
14295 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
14296
3dfcbfa1
SP
142972018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14298
84c94d2f
SP
14299 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
14300
96e6a716
SP
14301 * benchtests/bench-memcmp.c: Print json instead of plain text.
14302
3dfcbfa1
SP
14303 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
14304 every test run.
14305
049375e2
JM
143062018-02-01 Joseph Myers <joseph@codesourcery.com>
14307
39f898c6
JM
14308 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14309 version to 4.15.
14310 (s390_sthyi): New syscall.
14311
6f9a3dd8
JM
14312 * sysdeps/generic/ldbl-classify-compat.h: New file.
14313 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
14314 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
14315 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
14316 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
14317 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
14318 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
14319 * sysdeps/ieee754/dbl-64/s_finite.c: Include
14320 <ldbl-classify-compat.h>.
14321 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14322 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
14323 <ldbl-classify-compat.h>.
14324 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14325 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
14326 <ldbl-classify-compat.h>.
14327 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14328 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
14329 <ldbl-classify-compat.h>.
14330 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
14332 <ldbl-classify-compat.h>.
14333 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
14335 <ldbl-classify-compat.h>.
14336 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14337 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
14338 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14339 * sysdeps/m68k/coldfire/math_private.h: Remove file.
14340 * sysdeps/microblaze/math_private.h: Likewise.
14341 * sysdeps/nios2/math_private.h: Likewise.
14342 * sysdeps/sh/math_private.h: Likewise.
14343
eb65a3d5
JM
14344 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
14345 * sysdeps/m68k/coldfire/math_private.h: ... here.
14346 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
14347 * sysdeps/tile/math_private.h: Likewise.
14348 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
14349 Remove macro.
14350 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
14351 Likewise.
14352
8a6bb1d0
JM
14353 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
14354 Remove macro.
14355 (libc_fetestexcept): Likewise.
14356 (libc_feupdateenv_test): Likewise.
14357 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
14358 (libc_fetestexcept): Likewise.
14359 (libc_feupdateenv_test): Likewise.
14360 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
14361 (libc_fetestexcept): Likewise.
14362 (libc_feupdateenv_test): Likewise.
14363 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
14364 (libc_fetestexcept): Likewise.
14365 (libc_feupdateenv_test): Likewise.
14366
ae1fcb7b
JM
14367 * sysdeps/generic/math_private.h
14368 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
14369 New inline function.
14370 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
14371 Likewise.
14372
b1c347e2
JM
14373 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
14374 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
14375 * sysdeps/generic/math_private.h
14376 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
14377 inline function.
14378 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
14379 Likewise.
14380 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
14381 Likewise.
14382 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
14383 Likewise.
14384 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
14385 Likewise.
14386 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
14387 Likewise.
14388 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
14389 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
14390 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
14391 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
14392 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
14393 (__fegetenv): Likewise.
14394 (fesetenv): Likewise.
14395 (__fesetenv): Likewise.
14396 (feupdateenv): Likewise.
14397 (__feupdateenv): Likewise.
14398 (fegetround): Likewise.
14399 (__fegetround): Likewise.
14400 (fesetround): Likewise.
14401 (__fesetround): Likewise.
14402
d23a4962
JM
14403 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
14404 (feraiseexcept): New macro.
14405 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
14406 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
14407 Remove macro.
14408 (__feraiseexcept): Likewise.
14409 (feclearexcept): Likewise.
14410 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
14411 (__feraiseexcept): Likewise.
14412 (feclearexcept): Likewise.
14413 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
14414 (__feraiseexcept): Likewise.
14415 (feclearexcept): Likewise.
14416 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
14417 (__feraiseexcept): Likewise.
14418 (feclearexcept): Likewise.
14419 (fetestexcept): Likewise.
14420
5f167950
JM
14421 * sysdeps/m68k/coldfire/math-tests.h: New file.
14422
ccc9035a
JM
14423 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
14424 * sysdeps/m68k/bits/fenv.h: ... here.
14425 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
14426 not define.
14427 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
14428 Likewise.
14429 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
14430 Likewise.
14431 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
14432 Likewise.
14433 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
14434 Likewise.
14435 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
14436 Define to 0.
14437 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
14438 (__FE_UNDEFINED): New enum constant.
14439 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
14440 Do not define.
14441 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
14442 Likewise.
14443 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
14444 Likewise.
14445 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
14446 to match generic bits/fenv.h.
14447 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
14448 Do not define.
14449
049375e2
JM
14450 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
14451 packed on bits.
14452 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
14453 * soft-fp/half.h (union _FP_UNION_H): Likewise.
14454 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
14455 * soft-fp/single.h (union _FP_UNION_S): Likewise.
14456
f1d73681
CD
144572018-02-01 Carlos O'Donell <carlos@redhat.com>
14458 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
14459 Joseph Myers <joseph@codesourcery.com>
14460
14461 [BZ #21314]
14462 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
14463 (__log1p): Disable -Wmaybe-uninitialized for -Os around
14464 computation using c.
14465 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
14466 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
14467 computation using c.
14468
242cbc90
DL
144692018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14470
086ee48e
DL
14471 * version.h (RELEASE): Set to "development".
14472 (VERSION): Set to "2.27.9000".
14473 * NEWS (2.28): New section.
14474
23158b08
DL
14475 * version.h (RELEASE): Set to "stable".
14476 (VERSION): Set to "2.27".
14477 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
14478
242cbc90
DL
14479 * NEWS: Add the list of bugs fixed in 2.27.
14480
673e2305
AZ
144812018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14482
14483 * stdlib/test-atexit-race-common.c (do_test): Check stack size
14484 against PTHREAD_STACK_MIN.
14485
ced64e01
DL
144862018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14487
14488 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
14489 New entries.
14490 (Rafal Luzynski, Andreas Schwab): Update.
14491
c10c9a5e
RL
144922018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
14493
14494 [BZ #10871]
14495 * NEWS: List the languages which actually use the alternative
14496 months feature in this release. Also explain that "alt_mon" and
14497 "ab_alt_mon" are optional.
14498
650ba77a
IM
144992018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
14500
14501 [BZ #22765]
14502 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
14503
93493119
DL
145042018-01-31 Dmitry V. Levin <ldv@altlinux.org>
14505
14506 * manual/install.texi (Tools for Compilation): Update the newest
14507 versions of gcc, binutils, texinfo, gawk, bison, and sed.
14508 * INSTALL: Regenerated.
14509
363e4519 145102018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
14511
14512 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
14513 instead of __builtin_expect.
14514
d7536874
FW
145152018-01-30 Florian Weimer <fweimer@redhat.com>
14516
14517 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
14518 data.
14519 * nss/tst-nss-getpwent.c (do_test): Likewise.
14520
9a1b267d
RL
145212018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
14522
14523 [BZ #10871]
14524 * localedata/locales/hr_HR (mon): Rename to...
14525 (alt_mon): This.
14526 (mon): Import from CLDR (genitive case).
14527 (d_t_fmt): Update the comment.
14528
9a179328
AS
145292018-01-29 Andreas Schwab <schwab@linux-m68k.org>
14530
14531 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
14532 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
14533 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
14534
e01e0ddc
ST
145352018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14536
14537 * mach/Versions: Fix version when __mach_host_self_ was added.
14538 * hurd/Versions: Fix version when _hurd_exec_paths was added.
14539 * sysdeps/mach/hurd/i386/ld.abilist: New file.
14540 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
14541 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
14542 * sysdeps/mach/hurd/i386/libc.abilist: New file.
14543 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
14544 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
14545 * sysdeps/mach/hurd/i386/libm.abilist: New file.
14546 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
14547 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
14548 * sysdeps/mach/hurd/i386/librt.abilist: New file.
14549 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
14550 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
14551 || to respect codestyle.
2aadb705
ST
14552 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
14553 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
14554 * malloc/malloc.c: Include <assert.h>.
14555 (assert): Do not define.
14556 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
14557 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
14558 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 14559 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 14560 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 14561
521877e1
PD
145622018-01-29 Darius Rad <darius@bluespec.com>
14563
14564 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
14565
532cf290
PD
145662018-01-29 Palmer Dabbelt <palmer@sifive.com>
14567
14568 * sysdeps/init_array/crti.S (.section .init_array): Add
14569 PREINIT_FUNCTION when defined.
40ca951b 14570 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 14571 * config.h.in: Regenerate.
ba9e25a6
PD
14572 * manual/platform.texi: Add RISC-V documenation for
14573 __riscv_flush_icache.
c776fa11
PD
14574 * sysdeps/riscv/__longjmp.S: New file.
14575 * sysdeps/riscv/backtrace.c: Likewise.
14576 * sysdeps/riscv/bits/endian.h: Likewise.
14577 * sysdeps/riscv/bits/setjmp.h: Likewise.
14578 * sysdeps/riscv/bits/wordsize.h: Likewise.
14579 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
14580 * sysdeps/riscv/bsd-setjmp.c: Likewise.
14581 * sysdeps/riscv/dl-trampoline.S: Likewise.
14582 * sysdeps/riscv/gccframe.h: Likewise.
14583 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
14584 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
14585 * sysdeps/riscv/machine-gmon.h: Likewise.
14586 * sysdeps/riscv/memusage.h: Likewise.
14587 * sysdeps/riscv/setjmp.S: Likewise.
14588 * sysdeps/riscv/sys/asm.h: Likewise.
14589 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
14590 * sysdeps/riscv/dl-tls.h: New file.
14591 * sysdeps/riscv/libc-tls.c: Likewise.
14592 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
14593 * sysdeps/riscv/nptl/tls.h: Likewise.
14594 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
14595 * sysdeps/riscv/bits/fenv.h: New file.
14596 * sysdeps/riscv/e_sqrtl.c: Likewise.
14597 * sysdeps/riscv/fpu_control.h: Likewise.
14598 * sysdeps/riscv/math-tests.h: Likewise.
14599 * sysdeps/riscv/nofpu/Implies: Likewise.
14600 * sysdeps/riscv/sfp-machine.h: Likewise.
14601 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
14602 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
14603 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
14604 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
14605 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
14606 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
14607 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
14608 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
14609 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
14610 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
14611 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
14612 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
14613 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
14614 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
14615 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
14616 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
14617 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
14618 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
14619 * sysdeps/riscv/rvd/s_finite.c: Likewise.
14620 * sysdeps/riscv/rvd/s_fma.c: Likewise.
14621 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
14622 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
14623 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
14624 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
14625 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
14626 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
14627 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
14628 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
14629 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
14630 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
14631 * sysdeps/riscv/rvf/fegetround.c: Likewise.
14632 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
14633 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
14634 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
14635 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
14636 * sysdeps/riscv/rvf/fesetround.c: Likewise.
14637 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
14638 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
14639 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
14640 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
14641 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
14642 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
14643 * sysdeps/riscv/rvf/math_private.h: Likewise.
14644 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
14645 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
14646 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
14647 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
14648 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
14649 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
14650 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
14651 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
14652 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
14653 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
14654 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
14655 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
14656 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
14657 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
14658 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
14659 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
14660 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
14661 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
14662 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
14663 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
14664 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
14665 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14666 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
14667 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
14668 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
14669 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
14670 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
14671 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
14672 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
14673 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
14674 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
14675 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
14676 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
14677 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
14678 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
14679 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
14680 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
14681 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
14682 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
14683 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
14684 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
14685 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
14686 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
14687 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
14688 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
14689 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
14690 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
14691 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
14692 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
14693 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
14694 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
14695 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
14696 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
14697 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
14698 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
14699 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
14700 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
14701 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
14702 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
14703 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
14704 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14711 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
14712 * sysdeps/riscv/Implies: New file.
14713 * sysdeps/riscv/Makefile: Likewise.
14714 * sysdeps/riscv/configure: Likewise.
14715 * sysdeps/riscv/configure.ac: Likewise.
14716 * sysdeps/riscv/nptl/Makefile: Likewise.
14717 * sysdeps/riscv/preconfigure: Likewise.
14718 * sysdeps/riscv/rv64/Implies-after: Likewise.
14719 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
14720 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
14721 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
14722 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
14723 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
14724 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
14725 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
14726 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
14727 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
14728 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
14729 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
14730 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
14731 (Config): Likewise.
532cf290 14732
cdd14619
FW
147332018-01-29 Florian Weimer <fweimer@redhat.com>
14734
14735 [BZ #22701]
14736 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
14737 libnsl_hidden_proto.
14738 * include/rpcsvc/yp.h (yp_xdrall): Declare with
14739 libnsl_hidden_proto.
14740 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
14741 * nis/Makefile (libnsl-routines): Add nss-default only for
14742 build-obsolete-nsl.
14743 * nis/nis_defaults.c (__nis_default_ttl): Add
14744 libnsl_hidden_nolink_def.
14745 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
14746 declaration.
14747 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
14748 * nis/ypclnt.c (yp_maplist): Likewise.
14749
b7ccb5de
RN
147502018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
14751
14752 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14753 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
14754
522623e4
JM
147552018-01-29 Joseph Myers <joseph@codesourcery.com>
14756
e3aa6999
JM
14757 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
14758 clean -dxfq for git updates when replacing sources.
14759
088de7d0
JM
14760 * scripts/build-many-glibcs.py (Config.build_gcc): Use
14761 --disable-libcilkrts unconditionally, not just for the final GCC
14762 build for Hurd.
14763
522623e4
JM
14764 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14765 version to 4.15.
14766
8b406f87
RL
147672018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14768
14769 [BZ #10871]
14770 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
14771 case).
14772
105e90bd
RL
147732018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14774
14775 [BZ #10871]
14776 * localedata/locales/be_BY (mon): Rename to...
14777 (alt_mon): This, then synchronize with CLDR (nominative case).
14778 (abmon): Rename to...
14779 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14780 (mon): Import from CLDR (genitive case).
14781 (abmon): Likewise.
14782 * localedata/locales/be_BY@latin (mon): Rename to...
14783 (alt_mon): This.
14784 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
14785
14786 * localedata/locales/be_BY@latin (lang_name): Reworded to
14787 "biełaruskaja mova".
14788
561cb414
RL
147892018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14790
14791 [BZ #10871]
14792 * localedata/locales/el_CY (mon): Renamed to...
14793 (alt_mon): This.
14794 (mon): Import from CLDR (genitive case).
14795 * localedata/locales/el_GR: Likewise.
14796
f7bdf30d
RL
147972018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14798
14799 [BZ #10871]
14800 * localedata/locales/ru_RU (mon): Rename to...
14801 (alt_mon): This.
14802 (abmon): Rename to...
14803 (ab_alt_mon): This.
14804 (mon): Import from CLDR (genitive case).
14805 (abmon): Copy from the old content except the 5th month which is
14806 now in the genitive case, even when abbreviated.
14807 * localedata/locales/ru_UA: Likewise.
14808 * time/tst-strptime.c (day_tests): Add an actual example of
14809 a difference between %b and %Ob in Russian.
14810
85285a0c
ST
148112018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14812
14813 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
14814 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
14815 a `c' variable.
3538a4b6 14816 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
14817 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
14818 <sys/wait.h>, <time.h>, <sys/uio.h>.
14819 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 14820 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
14821 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
14822 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
14823 return 0.
05ebfe87
ST
14824 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
14825 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
14826 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
14827 instead of void *.
14828 * sysdeps/pthread/timer_create.c (timer_create): Do not use
14829 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
14830 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
14831 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
14832 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
14833 and make them the default for now.
903d3633
ST
14834 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
14835 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
14836 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
14837 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
14838 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
14839 MACH_IPC_COMPAT.
06fac9f5
ST
14840 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
14841 __task_terminate would ever return successfully.
f8177753
ST
14842 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
14843 to global scope.
41cdb1eb
ST
14844 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
14845 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
14846 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
14847 critical section to make code simpler and avoid warning.
14848 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
14849 critical section to make code simpler and avoid warning.
844bf921
ST
14850 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
14851 const char * instead of char *.
f8bee46c
ST
14852 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
14853 __hurd_file_name_split, hurd_file_name_split,
14854 __hurd_directory_name_split, hurd_directory_name_split,
14855 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
14856 hurd_file_name_path_lookup): Make lookup function parameter take a
14857 const char *name instead of char *name.
14858 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
14859 __hurd_directory_name_split): Likewise.
14860 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
14861 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
14862 * sysdeps/mach/hurd/check_native.c: New file.
14863 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
14864 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
14865 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
14866 * sysdeps/mach/hurd/libhurduser.abilist: New file.
14867 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
14868 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
14869 (do_test_bz20181): Rename accordingly.
14870 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
14871 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
14872 <sys/mount.h>.
28f6186f
ST
14873 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
14874 version only if __USE_EXTERN_INLINES is defined.
14875 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
14876 __hurd_sockfail): Likewise.
14877 (_hurd_fd_get): Always declare functions, and provide inline versions
14878 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
14879 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
14880 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
14881 _hurd_port_set): Always declare functions, and provide inline versions
14882 only if __USE_EXTERN_INLINES and _LIBC are defined and
14883 IS_IN(libc).
14884 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
14885 _hurd_critical_section_unlock): Likewise.
14886 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
14887 * __hurd_threadvar_location): Likewise.
14888 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
14889 _hurd_userlink_clear): Likewise.
14890 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
14891 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
14892 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
14893 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
14894 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
14895 __spin_lock_locked): Likewise.
14896 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
14897 __spin_lock_locked): Likewise.
14898 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
14899 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
14900 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
14901 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
14902 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
14903 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
14904 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
14905 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
14906 check size against PTHREAD_STACK_MIN.
625ba81e
ST
14907 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
14908 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
14909 * mach/Makefile (user-interfaces): Add mach/gnumach.
14910 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
14911 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
14912 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
14913 instead of invalid -1.
1f89ac71
ST
14914 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
14915 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
14916 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
14917 <net/ppp_defs.h>.
85285a0c 14918
1fd1e27c 149192018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
14920
14921 * hurd/fcntl-internal.h: New file.
14922
3854c5a8
JC
149232018-01-27 James Clarke <jrtc27@jrtc27.com>
14924
7e23a7dd
JC
14925 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14926
3854c5a8
JC
14927 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14928
5503f413
AS
149292018-01-26 Andreas Schwab <schwab@linux-m68k.org>
14930
14931 [BZ #22701]
14932 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
14933 Build only shared objects.
14934
caaf7804
CD
149352018-01-26 Carlos O'Donell <carlos@redhat.com>
14936
14937 * README: Update for hppa.
14938
1cbf818d
PM
149392018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14940
caaf7804
CD
14941 * sysdeps/sparc/fpu/libm-test-ulps: Update
14942 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 14943
caaf7804 149442018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
14945
14946 Revert:
14947
14948 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14949
14950 [BZ #22563]
14951 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14952 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14953 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14954 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14955 to feature_1.
14956
14957 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14958
14959 [BZ #22563]
14960 * bits/types/__cancel_jmp_buf_tag.h: New file.
14961 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14962 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14963 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14964 * nptl/Makefile (headers): Add
14965 bits/types/__cancel_jmp_buf_tag.h.
14966 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14967 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14968 * sysdeps/nptl/pthread.h: Include
14969 <bits/types/__cancel_jmp_buf_tag.h>.
14970 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14971 __cancel_jmp_buf.
14972 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14973
65f6c94e
RL
149742018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14975
14976 [BZ #10871]
14977 * localedata/locales/uk_UA (mon): Renamed to...
14978 (alt_mon): This.
14979 (alt_digits): "0" removed and then renamed to...
14980 (mon): This.
14981 (date_fmt): Definition changed not to use the alternative
14982 digits hack.
14983
fb58aac5
PD
149842018-01-25 Palmer Dabbelt <palmer@sifive.com>
14985
14986 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
14987 FLAG_RISCV_FLOAT_ABI_DOUBLE.
14988 * elf/elf.h (EF_RISCV_RVC): New define.
14989 (EF_RISCV_FLOAT_ABI): Likewise.
14990 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
14991 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
14992 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14993 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
14994 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
14995 define.
14996 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14997
128c43a2
AS
149982018-01-25 Andreas Schwab <schwab@suse.de>
14999
15000 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15001 single quotes.
15002 * sysdeps/gnu/configure: Regenerate.
15003 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15004 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15006 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15007 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15008 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15009 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15010 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15011
f9015003
ST
150122018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15013
48130690 15014 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 15015 URL, and run autoconf, make it the default for now.
f9015003 15016
91b2cffa
JM
150172018-01-24 Joseph Myers <joseph@codesourcery.com>
15018
3005b705
JM
15019 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15020 soft-float ColdFire configuration.
15021
69231fab
JM
15022 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15023 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15024 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15025
d4c7e1d0
JM
15026 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15027 MicroBlaze file.
15028
0cfe5be5
JM
15029 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15030 ....
15031 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15032 ... here.
15033 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15034 New file.
15035
91b2cffa
JM
15036 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15037 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15038 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15039 file.
15040
c739e191
SN
150412018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15042
15043 [BZ #22742]
15044 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15045 Rename to __reserved and add comment.
15046 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15047 Rename to __reserved.
15048
394b5bac
JM
150492018-01-24 Joseph Myers <joseph@codesourcery.com>
15050
15051 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15052 i686-gnu configurations.
15053 (Context.run_builds): Include mig, gnumach and hurd in components
15054 considered.
15055 (Context.checkout): Add mig, gnumach and hurd to components.
15056 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15057 hurd.
15058 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15059 (Config.build): Install gnumach headers, build mig and install
15060 hurd headers for 'gnu' OS.
15061 (Config.install_gnumach_headers): New function.
15062 (Config.install_hurd_headers): Likewise.
15063 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15064 when building for 'gnu' OS.
15065
28c3f14f
TK
150662018-01-23 Tobias Klauser <tklauser@distanz.ch>
15067
15068 * manual/tunables.texi (Hardware Capability Tunables): Fix
15069 spelling.
15070
0f5e2da1
RJ
150712018-01-22 Rical Jasan <ricaljasan@pacific.net>
15072
15073 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15074 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15075 (ALTMON_11, ALTMON_12): Improve documentation.
15076 * manual/time.texi (strftime): Likewise.
15077
7817b14a
RL
150782018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15079
15080 [BZ #10871]
15081 * localedata/locales/pl_PL: Alternative month names added,
15082 primary month names are genitive now.
15083 * time/tst-strptime.c (day_tests): Actually use a genitive case
15084 of a month name in Polish language.
15085
22390764
RL
150862018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15087
15088 [BZ #10871]
15089 * manual/locale.texi: Document ALTMON_1..12 constants for
15090 nl_langinfo. Specify when to use ALTMON instead of MON.
15091 * manual/time.texi (strftime, strptime): Document GNU extension
15092 permitting O modifier with %B and %b. Specify when to use
15093 %OB instead of %B.
15094
761a585c
RL
150952018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15096
15097 [BZ #10871]
15098 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15099 names, define them as the same as abbreviated month names explicitly.
15100 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15101 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15102 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15103 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15104 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15105 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15106 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15107 _NL_WABALTMON_12): New enum constants.
15108 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15109 wab_alt_mon, and ab_alt_mon_defined members.
15110 (time_output): Output ab_alt_mon and wab_alt_mon members.
15111 (time_read): Read them, initialize them as copies of abmon and wabmon
15112 respectively if they are missing, initialize ab_alt_mon_defined.
15113 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15114 * locale/programs/locfile-kw.h: Regenerate.
15115 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15116 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15117 and ru_RU.UTF-8.
15118 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15119 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15120 (__strftime_internal): Handle %Ob and %Oh formats.
15121 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15122 (__strptime_internal): Handle %Ob and %Oh formats.
15123 * time/tst-strptime.c (day_tests): Add more tests to parse different
15124 forms of month names including the new %Ob format specifier.
15125
95cb863a
RL
151262018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15127
15128 [BZ #10871]
15129 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
15130 define them as the same as primary full month names explicitly.
15131 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
15132 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
15133 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
15134 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
15135 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
15136 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
15137 _NL_WALTMON_12): New enum constants.
15138 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
15139 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
15140 macros.
15141 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
15142 walt_mon, and alt_mon_defined members.
15143 (time_output): Output alt_mon and walt_mon members.
15144 (time_read): Read them, initialize them as copies of mon and wmon
15145 respectively if they are missing, initialize alt_mon_defined.
15146 * locale/programs/locfile-kw.gperf (alt_mon): Define.
15147 * locale/programs/locfile-kw.h: Regenerate.
15148 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
15149 * localedata/tst-langinfo.c (map): Add tests for the new constants
15150 ALTMON_1 .. ALTMON_12.
15151 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
15152 and pl_PL.UTF-8.
15153 * time/strftime_l.c (f_altmonth): New macro.
15154 (__strftime_internal): Handle %OB format.
15155 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
15156 (__strptime_internal): Handle %OB format.
15157 * time/tst-strptime.c (day_tests): Add tests to parse different forms
15158 of month names including the new %OB format specifier.
15159
4612268a
TMQMF
151602018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15161
15162 [BZ #22685]
15163 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
15164 from ABORT_TRANSACTION.
15165 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
15166 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
15167 ABORT_TRANSACTION_IMPL): Likewise.
15168 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
15169 Linux code, but remove the code that aborts transactions.
15170
64f63cb4
ST
151712018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15172
15173 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
15174
32ac6e92
RL
151752018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15176
15177 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
15178 in date: "2004-14-09" should be "2004-09-14".
15179 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
15180 "2003-15-09" should be "2003-09-15".
15181
8e448310
AS
151822018-01-18 Arjun Shankar <arjun@redhat.com>
15183
15184 [BZ #22343]
71aa429b 15185 [BZ #22774]
4590634f 15186 CVE-2018-6485
71aa429b 15187 CVE-2018-6551
8e448310
AS
15188 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
15189 after padding.
15190 (_int_memalign): check for integer overflow before calling
15191 _int_malloc.
15192 * malloc/tst-malloc-too-large.c: New test.
15193 * malloc/Makefile: Add tst-malloc-too-large.
15194
e234d7cb
RL
151952018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
15196
15197 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
15198 in date: "2017-24-07" should be "2017-07-24".
15199 * localedata/locales/mai_IN: Likewise.
15200 * localedata/locales/mai_NP: Likewise.
15201
48b66019
DL
152022018-01-17 Dmitry V. Levin <ldv@altlinux.org>
15203
15204 * po/ru.po: Update translations.
15205
1eeddc58
JM
152062018-01-17 Joseph Myers <joseph@codesourcery.com>
15207
15208 [BZ #22719]
15209 * sysdeps/hppa/backtrace.c: New file.
15210
207a72e2
L
152112018-01-17 H.J. Lu <hongjiu.lu@intel.com>
15212
15213 [BZ #22715]
15214 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
15215 align La_x86_64_retval to VEC_SIZE.
15216
4942c4ea
JM
152172018-01-16 Joseph Myers <joseph@codesourcery.com>
15218
15219 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
15220 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
15221
10d200db
FW
152222018-01-16 Florian Weimer <fweimer@redhat.com>
15223
15224 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
15225 Move tst-thread-exit-clobber ...
15226 [$(CXX)] (tests-unsupported): ... to here.
15227
953c49cc
SN
152282018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15229
15230 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
15231 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
15232 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15233 (_dl_aarch64_cap_flags): Update.
15234 (_DL_HWCAP_COUNT): Update.
15235
afce1991
SN
152362018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
15237
15238 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
15239 (_DL_HWCAP_LAST): Remove.
15240 (_DL_HWCAP_COUNT): Move to ...
15241 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
15242 (_DL_HWCAP_COUNT): ... here.
15243
b725132d
FW
152442018-01-16 Florian Weimer <fweimer@redhat.com>
15245
15246 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
15247 mode with GNU extensions.
15248
c9e613a7
AH
152492018-01-15 Alan Hayward <alan.hayward@arm.com>
15250
15251 * elf/elf.h (NT_ARM_SVE): Define.
15252
860b0240
FW
152532018-01-15 Florian Weimer <fweimer@redhat.com>
15254
15255 [BZ #22636]
15256 * nptl/tst-minstack-throw.cc: New file.
15257 * nptl/Makefile (tests): Add tst-minstack-throw.
15258 (LDLIBS-tst-minstack-throw): Link with libstdc++.
15259 [!CXX] (tests-unsupported): Add tst-minstack-throw.
15260
16d0f6ac
JM
152612018-01-15 Joseph Myers <joseph@codesourcery.com>
15262
15263 * scripts/build-many-glibcs.py (Context.checkout): Default
15264 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
15265 version to 1.1.0.
15266
505d3910
CD
152672018-01-13 Carlos O'Donell <carlos@redhat.com>
15268
15269 [BZ #22707]
15270 * elf/elf.h (DF_1_STUB): Define.
15271 (DF_1_PIE): Define.
15272
af1e6be4
TMQMF
152732018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15274
15275 [BZ #22697]
15276 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
15277 Do not add 0.5 to integer or out-of-range arguments.
15278
98d13ce0
DL
152792018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15280
15281 * po/bg.po: Update translations.
15282 * po/cs.po: Likewise.
15283 * po/de.po: Likewise.
15284 * po/ko.po: Likewise.
15285 * po/pl.po: Likewise.
15286 * po/sv.po: Likewise.
15287 * po/uk.po: Likewise.
15288 * po/vi.po: Likewise.
15289
3d1d7928
SN
152902018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15291
15292 * aarch64/start.S (_start): Use __wrap_main.
15293 (__wrap_main): New local symbol.
15294
52a713fd
DL
152952018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15296
15297 [BZ #22679]
15298 CVE-2018-1000001
15299 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
15300 generic_getcwd if the path returned by getcwd syscall is not absolute.
15301 * io/tst-getcwd-abspath.c: New test.
15302 * io/Makefile (tests): Add tst-getcwd-abspath.
15303
249a5895
IK
153042018-01-12 Istvan Kurucsai <pistukem@gmail.com>
15305
15306 * malloc/malloc.c (malloc_consolidate): Add size check.
15307
1a51e46e
FW
153082018-01-12 Florian Weimer <fweimer@redhat.com>
15309
15310 * support/write_message.c (write_message): Preserve errno.
15311 * support/check.c (print_failure): Likewise.
15312 * support/support_test_verify_impl.c (support_test_verify_impl):
15313 Likewise.
15314 * support/support_test_compare_failure.c
15315 (support_test_compare_failure): Likewise.
15316
9a08a366
FW
153172018-01-12 Florian Weimer <fweimer@redhat.com>
15318
15319 [BZ #22701]
15320 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
15321 Prevent installation of libnsl.so.
15322 (libnsl-inhibit-o): Do not build (or install) static libraries.
15323
80647883 153242018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
15325
15326 [BZ #22657]
15327 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
15328 before the day number which may produce a double space.
15329 (date_fmt): Likewise.
15330
c8924f1f
JM
153312018-01-12 Joseph Myers <joseph@codesourcery.com>
15332
15333 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
15334 instead of fegetenv.
15335
da09e6fa
JM
153362018-01-11 Joseph Myers <joseph@codesourcery.com>
15337
15338 [BZ #22702]
15339 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
15340 comment to say exceptions are discarded.
15341 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
15342 __fegetenv.
15343 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
15344 be enabled.
15345
08c6e952
FW
153462018-01-11 Florian Weimer <fweimer@redhat.com>
15347
15348 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
15349 and error message.
15350
d8b77890
FW
153512018-01-11 Florian Weimer <fweimer@redhat.com>
15352
15353 [BZ #22636]
15354 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
15355 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
15356
b303185d
JM
153572018-01-10 Joseph Myers <joseph@codesourcery.com>
15358
15359 [BZ #22693]
15360 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
15361 negative arguments in test for NaN or infinity argument.
15362
ee61d028
DL
153632018-01-10 Dmitry V. Levin <ldv@altlinux.org>
15364
15365 * po/libc.pot: Regenerate.
15366
f993b875
FW
153672018-01-10 Florian Weimer <fweimer@redhat.com>
15368
15369 [BZ #22636]
15370 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
15371 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
15372
09085ede
ST
153732018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15374
15375 * hurd/hurd/fd.h: Include <fcntl.h>
15376 (__hurd_at_flags): New function.
15377 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
15378 with call to __hurd_at_flags.
15379 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
15380 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
15381 __faccessat
15382 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
15383 (__access_noerrno): Use __faccessat_common instead of access_common.
15384 (__access): Likewise.
15385 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
15386 with a call to __faccessat.
15387 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
15388 (__faccessat_common): ... this. Move implementation of __access into it when
15389 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
15390 reauthenticate_cwdir_at helper to implement AT mechanism.
15391 (__faccessat_noerrno): New function, just calls __faccessat_common.
15392 (__faccessat): New function, just calls __faccessat_common.
15393 (faccessat): Define weak alias.
15394
12727488
JM
153952018-01-10 Joseph Myers <joseph@codesourcery.com>
15396
87faac55
JM
15397 [BZ #22691]
15398 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15399 (CFLAGS-s_fmaxmagl.c): New variable.
15400 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
15401
12727488
JM
15402 [BZ #22690]
15403 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
15404 long int for arguments of possibly overflowing addition or
15405 subtraction.
15406 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15407
e134ca17
JM
154082018-01-09 Joseph Myers <joseph@codesourcery.com>
15409
b2584ac2
JM
15410 [BZ #22688]
15411 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15412 (CFLAGS-e_remainderl.c): New variable.
15413
e134ca17
JM
15414 [BZ #22687]
15415 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
15416 variable.
15417 (CFLAGS-s_cacoshl.c): Likewise.
15418 (CFLAGS-s_casinhl.c): Likewise.
15419 (CFLAGS-s_catanl.c): Likewise.
15420 (CFLAGS-s_catanhl.c): Likewise.
15421 (CFLAGS-s_cexpl.c): Likewise.
15422 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
15423 (CFLAGS-s_csinhl.c): Likewise.
15424 (CFLAGS-s_clogl.c): Likewise.
15425 (CFLAGS-s_clog10l.c): Likewise.
15426 (CFLAGS-s_csinl.c): Likewise.
15427 (CFLAGS-s_csqrtl.c): Likewise.
15428
d31a4a48
ST
154292017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
154302017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
15431
15432 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
15433 (_hurd_exec_paths): New function.
15434 * hurd/hurd.h (_hurd_exec): Deprecate function.
15435 (_hurd_exec_paths): Declare function.
15436 * hurd/Versions: Export _hurd_exec_paths.
15437 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
15438 (__execve): Use __getcwd to build absolute path, and use
15439 _hurd_exec_paths instead of _hurd_exec.
15440 * sysdeps/mach/hurd/spawni.c: Likewise.
15441 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
15442 _hurd_exec.
15443
d7ff3f11
DL
154442018-01-08 Dmitry V. Levin <ldv@altlinux.org>
15445
15446 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
15447 test instead of failing in case of ENOENT returned by posix_openpt.
15448
401311cf
FW
154492018-01-08 Florian Weimer <fweimer@redhat.com>
15450
15451 resolv: Support binary labels in test framework.
15452 * support/resolv_test.c (struct to_be_freed): Remove.
15453 (struct compressed_name): New.
15454 (allocate_compressed_name, ascii_tolower)
15455 (compare_compressed_name): New functions.
15456 (struct resolv_response_builder): Update type of
15457 compression_offsets for use with tsearch. Rempve to_be_freed.
15458 (response_push_pointer_to_free): Remove function.
15459 (resolv_response_add_name): Rewrite using struct compressed_name
15460 and tsearch instead of hsearch_r.
15461 (response_builder_allocate): Remove initialization of
15462 compression_offsets.
15463 (response_builder_free): Update for removal of to_be_freed. Use
15464 tdestroy instead of hdestroy_r.
15465 * resolv/Makefile (tests): Add tst-resolv-binary.
15466 (tst-resolv-binary): Link with -lresolv -lpthread.
15467
2b3aa446
FW
154682018-01-08 Florian Weimer <fweimer@redhat.com>
15469
15470 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
15471 time. Pass positive flag instead of negative flag to
15472 support_test_compare_failure.
15473 (support_test_compare_failure): Change negative parameter to
15474 positive.
15475 * support/support_test_compare_failure.c (report)
15476 (support_test_compare_failure): Likewise.
15477 * support/tst-test_compare.c (return_ssize_t, return_int): New.
15478 (do_test): Check int/size_t, ssize_t/size_t comparisons.
15479
630f4cc3
SN
154802018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
15481
15482 [BZ #22637]
15483 * nptl/descr.h (stackblock, stackblock_size): Update comments.
15484 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
15485 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
15486 stacksize.
15487 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15488
c70e4e9c
L
154892018-01-08 H.J. Lu <hongjiu.lu@intel.com>
15490
15491 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15492 Add s_sincosf-sse2 and s_sincosf-fma.
15493 (CFLAGS-s_sincosf-fma.c): New.
15494 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
15495 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
15496 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
15497 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
15498 __sincosf is defined.
15499
579396ee
FW
155002018-01-08 Florian Weimer <fweimer@redhat.com>
15501
15502 * nptl/tst-thread-exit-clobber.cc: New file.
15503 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
15504 C++11 mode.
15505 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
15506 (tests): Add tst-thread-exit-clobber.
15507 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
15508
dabd75b6
FW
155092018-01-08 Florian Weimer <fweimer@redhat.com>
15510
15511 * support/check.h (support_static_assert): Define.
15512 (TEST_COMPARE): Use it.
15513
c2e014cc
AJ
155142018-01-07 Aurelien Jarno <aurelien@aurel32.net>
15515
15516 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
15517 [!__RLIM_T_MATCHES_RLIM64_T]
15518 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
15519 __getrlimit64. Add libc_hidden_weak.
15520
31a98837
PD
155212018-01-06 Palmer Dabbelt <palmer@sifive.com>
15522
15523 * elf/elf.h (R_RISCV_NONE): New define.
15524 (R_RISCV_32): Likewise.
15525 (R_RISCV_64): Likewise.
15526 (R_RISCV_RELATIVE): Likewise.
15527 (R_RISCV_COPY): Likewise.
15528 (R_RISCV_JUMP_SLOT): Likewise.
15529 (R_RISCV_TLS_DTPMOD32): Likewise.
15530 (R_RISCV_TLS_DTPMOD64): Likewise.
15531 (R_RISCV_TLS_DTPREL32): Likewise.
15532 (R_RISCV_TLS_DTPREL64): Likewise.
15533 (R_RISCV_TLS_TPREL32): Likewise.
15534 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
15535 * Makerules (make-link-multidir): Make directories before linking into
15536 them.
150bbac1
PD
15537 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
15538 define.
15539 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
15540 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
15541 in subdirectories of lib.
8e13c51b
PD
15542 * nptl/Makefile (/librt.so): Always depend on
15543 "$(shared-thread-library)".
31a98837 15544
fad7d57e
ST
155452018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15546
15547 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
15548 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
15549 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
15550 (___tls_get_addr).
15551 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
15552 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
15553 "-O2 -march=i686".
01c7e549 15554 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
15555 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
15556 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
15557 * sysdeps/gnu/glob-lstat-compat.c: New file.
15558 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 15559 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 15560
3a32b716
TMQMF
155612018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15562
15563 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
15564 Reserve 16 chars to reloc_addr before calling _itoa_word.
15565
24731685
AJ
155662018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15567
15568 [BZ #22678]
15569 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
15570 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
15571
19be56d8
AJ
15572 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
15573 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
15574
a6d0afb5
AJ
15575 * resource/tst-getrlimit.c: Add copyright header.
15576
8e900969
AJ
155772018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15578 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15579
15580 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15581 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
15582 Define __GI_getrlimit64 as weak alias of __getrlimit64.
15583 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
15584 instead.
15585 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15586 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
15587 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
15588 RLIM64_INFINITY): Fix values to match the kernel ones.
15589 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
15590 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
15591 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
15592 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
15593 getrlimit64@@GLIBC_2_27.
15594 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
15595 and setrlimit64.
15596 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
15597 getrlimit, setrlimit, getrlimit64 and setrlimit64.
15598 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
15599 setrlimit, getrlimit64 and setrlimit64.
15600
0d0bc784
AJ
156012018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15602
15603 [BZ #22648]
15604 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
15605 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
15606
ba374b6d
JM
156072018-01-04 Joseph Myers <joseph@codesourcery.com>
15608
15609 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
15610 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
15611 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
15612
4854ddd8
AZ
156132018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15614
b0a4eca2
AZ
15615 [BZ #15479]
15616 [BZ #22666]
15617 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
15618 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
15619
4854ddd8
AZ
15620 [BZ #15479]
15621 [BZ #22665]
15622 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
15623 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
15624 * sysdeps/alpha/fpu/s_floor.c: Likewise.
15625 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
15626
8a5df95f
FW
156272018-01-04 Florian Weimer <fweimer@redhat.com>
15628
15629 [BZ #22667]
15630 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15631 Align the stack before calling exit.
15632 * stdlib/tst-makecontext-align.c: New file.
15633 * stdlib/Makefile (tests): Add tst-makecontext-align.
15634
82eef55f
FW
156352018-01-04 Florian Weimer <fweimer@redhat.com>
15636
15637 Add support for calling dlvsym from libc.so.
15638 * include/dlfcn.h (__libc_dlvsym): Declare.
15639 * elf/Makefile (tests-static-internal): Add
15640 tst-libc_dlvsym-static.
15641 (tests-internal): Add tst-libc_dlvsym.
15642 (modules-names): Add tst-libc_dlvsym-dso.
15643 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
15644 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
15645 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
15646 object tst-libc_dlvsym-dso.so needs to be built before running
15647 these tests.
15648 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
15649 * elf/Versions: Export __libc_dlvsym.
15650 * elf/dl-libc.c (struct do_dlvsym_args): New.
15651 (do_dlvsym, __libc_dlvsym): New functions.
15652 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
15653 (_dl_open_hook2): New variable.
15654 (__libc_register_dl_open_hook): Set it.
15655 * elf/tst-libc_dlvsym-dso.c: New file.
15656 * elf/tst-libc_dlvsym-static.c: Likewise.
15657 * elf/tst-libc_dlvsym.c: Likewise.
15658 * elf/tst-libc_dlvsym.h: Likewise.
15659
1714fc06
ST
156602018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15661
15662 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
15663 include <sys/mount.h>.
15664
3c7d0312
WD
156652018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
15666
15667 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
15668 Add __NO_MATH_ERRNO__ check.
15669
7eff0954
JM
156702018-01-02 Joseph Myers <joseph@codesourcery.com>
15671
15672 * sysdeps/mips/mips32/libm-test-ulps: Update.
15673 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15674
77f49956
FW
156752018-01-02 Florian Weimer <fweimer@redhat.com>
15676
15677 * misc/tst-pselect.c: Add copyright header.
15678
363e4519 156792018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
15680
15681 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
15682 comment.
15683 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
15684 comment.
15685 (settrlimit): Rename into setrlimit.
15686 (__sttrlimit): Rename into __setrlimit.
15687
3e4226ff
AJ
15688 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
15689 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
15690 never defined in that case.
15691
b9256ab6
JM
156922018-01-02 Joseph Myers <joseph@codesourcery.com>
15693
28fd6a44
JM
15694 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
15695
a4933a15
JM
15696 * sysdeps/arm/libm-test-ulps: Update.
15697
b9256ab6
JM
15698 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
15699 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
15700
4cf82d23
RS
157012018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15702
15703 * NEWS: Add cosf and sincosf to list of optimized functions.
15704
6a9dd7a7
AJ
157052018-01-02 Aurelien Jarno <aurelien@aurel32.net>
15706
15707 [BZ #22660]
15708 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
15709 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
15710 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
15711 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
15712
dbba87d5
DL
157132018-01-01 Dmitry V. Levin <ldv@altlinux.org>
15714
b05cb613
DL
15715 [BZ #22433]
15716 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
15717
dbba87d5
DL
15718 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
15719 making a copy of it.
15720
688903eb
JM
157212018-01-01 Joseph Myers <joseph@codesourcery.com>
15722
66ac23de
JM
15723 * manual/texinfo.tex: Update to version 2017-12-26.21 with
15724 trailing whitespace removed.
15725 * scripts/config.guess: Update to version 2018-01-01.
15726 * scripts/config.sub: Update to version 2018-01-01.
15727 * scripts/move-if-change: Update from gnulib.
15728
09533208
JM
15729 * NEWS: Update copyright dates.
15730 * catgets/gencat.c (print_version): Likewise.
15731 * csu/version.c (banner): Likewise.
15732 * debug/catchsegv.sh: Likewise.
15733 * debug/pcprofiledump.c (print_version): Likewise.
15734 * debug/xtrace.sh (do_version): Likewise.
15735 * elf/ldconfig.c (print_version): Likewise.
15736 * elf/ldd.bash.in: Likewise.
15737 * elf/pldd.c (print_version): Likewise.
15738 * elf/sotruss.sh: Likewise.
15739 * elf/sprof.c (print_version): Likewise.
15740 * iconv/iconv_prog.c (print_version): Likewise.
15741 * iconv/iconvconfig.c (print_version): Likewise.
15742 * locale/programs/locale.c (print_version): Likewise.
15743 * locale/programs/localedef.c (print_version): Likewise.
15744 * login/programs/pt_chown.c (print_version): Likewise.
15745 * malloc/memusage.sh (do_version): Likewise.
15746 * malloc/memusagestat.c (print_version): Likewise.
15747 * malloc/mtrace.pl: Likewise.
15748 * manual/libc.texinfo: Likewise.
15749 * nptl/version.c (banner): Likewise.
15750 * nscd/nscd.c (print_version): Likewise.
15751 * nss/getent.c (print_version): Likewise.
15752 * nss/makedb.c (print_version): Likewise.
15753 * posix/getconf.c (main): Likewise.
15754 * scripts/test-installation.pl: Likewise.
15755 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15756
688903eb
JM
15757 * All files with FSF copyright notices: Update copyright dates
15758 using scripts/update-copyrights.
15759 * locale/programs/charmap-kw.h: Regenerated.
15760 * locale/programs/locfile-kw.h: Likewise.
15761
4f820792
ZW
157622017-12-31 Zack Weinberg <zackw@panix.com>
15763
15764 * libio/bits/libio-ldbl.h: Correct check for improper
15765 inclusion. Add own multiple include guard.
15766
3e3c904d
AJ
157672017-12-30 Aurelien Jarno <aurelien@aurel32.net>
15768 Dmitry V. Levin <ldv@altlinux.org>
15769
15770 [BZ #22625]
31f96325 15771 CVE-2017-16997
3e3c904d
AJ
15772 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
15773 string token expansion. Check for NULL pointer or empty string possibly
15774 returned by expand_dynamic_string_token.
15775 (decompose_rpath): Check for empty path after dynamic string
15776 token expansion.
15777
7e21972b
DL
157782017-12-29 Dmitry V. Levin <ldv@altlinux.org>
15779
c48831d0
DL
15780 [BZ #22433]
15781 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
15782
ac583f50
DL
15783 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
15784 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
15785 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
15786 and PTRACE_SYSCALL.
15787 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
15788 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15789 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15790 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15791 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15792 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
15793
7e21972b
DL
15794 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
15795 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
15796 __ptrace_peeksiginfo_flags, ptrace): Move to ...
15797 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
15798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15799 bits/ptrace-shared.h.
15800 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
15801 <bits/ptrace-shared.h>.
15802 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
15803 __ptrace_peeksiginfo_flags, ptrace): Remove.
15804 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15805 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15807 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15808 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
15809
72f29e3a
AJ
158102017-12-29 Aurelien Jarno <aurelien@aurel32.net>
15811
15812 [BZ #17804]
15813 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
15814 end of the loop. Improve comments.
15815
54e4efc2
AJ
158162017-12-29 Zack Weinberg <zackw@panix.com>
15817
15818 [BZ #22615]
15819 * manual/errno.texi (Checking for Errors): Explicitly say that errno
15820 might be set on success.
15821
f8aa69be
AJ
158222017-12-29 Aurelien Jarno <aurelien@aurel32.net>
15823
15824 [BZ #22611]
15825 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
15826 is unchanged on success.
15827
97f13188
DL
158282017-12-27 Dmitry V. Levin <ldv@altlinux.org>
15829
2bd86632
DL
15830 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
15831 updated.
15832 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
15833 expand_dynamic_string_token): Likewise.
15834 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
15835 is_path argument.
15836
1c36e1e6
DL
15837 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
15838 contains ':'.
15839
97f13188
DL
15840 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
15841 is set and name contains ':', and all code depending on these checks.
15842
48a8f832
ZW
158432017-12-24 Zack Weinberg <zackw@panix.com>
15844
15845 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
15846 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
15847 respectively.
15848 * libio/libio.h: Rename the original version of this file to
15849 libio/bits/libio.h. Error out if not included by stdio.h or the
15850 stub libio.h.
15851 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
15852 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
15853 if not included by bits/libio.h or the stub _G_config.h.
15854 * sysdeps/unix/sysv/linux/_G_config.h: Move to
15855 sysdeps/unix/sysv/linux/bits. Error out if not included by
15856 bits/libio.h or the stub _G_config.h.
15857 * libio/stdio.h: Include bits/libio.h, not libio.h.
15858 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
15859 well as libio.h and _G_config.h.
15860
15861 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
15862 * libio/strfile.h, stdio-common/vfscanf.c
15863 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
15864 Include stdio.h, not _G_config.h nor libio.h.
15865 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
15866 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
15867
15868 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
15869
a47ad79a
DL
158702017-12-23 Dmitry V. Levin <ldv@altlinux.org>
15871
15872 [BZ #22347]
15873 * stdlib/getrandom.c (getrandom): Fix comment.
15874 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
15875
363e4519 158762017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 15877
f5c558f3
AJ
15878 [BZ #21161]
15879 * manual/arith.texi (strtoul): Fix a typo.
15880
e65a5644
AJ
15881 [BZ #22596]
15882 * manual/arith.texi (finite): Fix the description of the return
15883 value.
15884
ed8ae46b
EB
158852017-12-22 Eric Blake <ebb9@byu.net>
15886
15887 Avoid gcc warnings on cygwin
15888 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
15889 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
15890 Avoid unused variable.
15891
bad7a0c8
FW
158922017-12-22 Florian Weimer <fweimer@redhat.com>
15893
15894 * io/Makefile (routines): Add copy_file_range.
15895 (tests): Add tst-copy_file_range.
15896 (tests-static, tests-internal): Add tst-copy_file_range-compat.
15897 * io/Versions (GLIBC_2.27): Export copy_file_range.
15898 * io/copy_file_range-compat.c: New file.
15899 * io/copy_file_range.c: Likewise.
15900 * io/tst-copy_file_range-compat.c: Likewise.
15901 * io/tst-copy_file_range.c: Likewise.
15902 * manual/llio.texi (Copying File Data): New section.
15903 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
15904 * support/Makefile (libsupport-routines): Add support-xfstat,
15905 xftruncate, xlseek.
15906 * support/support-xfstat.c: New file.
15907 * support/xftruncate.c: Likewise.
15908 * support/xlseek.c: Likewise.
15909 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
15910 * sysdeps/unix/sysv/linux/**.abilist: Update.
15911 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
15912
6cb86fd2
SN
159132017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
15914
15915 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15916 disable-multi-arch variant to aarch64-linux-gnu.
15917
41d11b15
JM
159182017-12-20 Joseph Myers <joseph@codesourcery.com>
15919
15920 * manual/texinfo.tex: Update to version 2017-12-18.20 with
15921 trailing whitespace removed.
15922 * scripts/config.guess: Update to version 2017-12-17.
15923 * scripts/config.sub: Update to version 2017-11-23.
15924 * scripts/install-sh: Update to version 2017-09-23.17.
15925 * scripts/move-if-change: Update to version 2017-09-13 06:45.
15926
4735850f
AZ
159272017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15928
8d2d239c
AZ
15929 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
15930 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15931 * sysdeps/tile/_mcount.S (__mcount): Likewise.
15932 * sysdeps/tile/crti.S (_init, _fini): Likewise.
15933 * sysdeps/tile/crtn.S: Likewise.
15934 * sysdeps/tile/dl-start.S (_start): Likewise.
15935 * sysdeps/tile/dl-trampoline.S: Likewise.
15936 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
15937 * sysdeps/tile/start.S (_start): Likewise.
15938 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
15939 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
15940 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
15941 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
15942 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
15943 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
15944 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
15945
24d1d8ec
AZ
15946 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
15947 comment.
15948 * sysdeps/tile/preconfigure: Remove tilegx folder.
15949 * sysdeps/tile/tilegx/Implies: Move definitions to ...
15950 * sysdeps/tile/Implies: ... here.
15951 * sysdeps/tile/tilegx/Makefile: Move rules to ...
15952 * sysdeps/tile/Makefile: ... here.
15953 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
15954 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
15955 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
15956 * sysdeps/tile/bits/wordsize.h: ... here.
15957 * sysdeps/tile/tilegx/*: Move to ...
15958 * sysdeps/tile/*: ... here.
15959 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
15960 * sysdeps/tile/tilegx32/Implies: ... here.
15961 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
15962 * sysdeps/tile/tilegx64/Implies: ... here.
15963 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
15964 to ...
15965 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15966 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
15967 * sysdeps/unix/sysv/linux/tile/*: ... here.
15968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
15969 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
15970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
15971 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
15972
ed95f611
AZ
15973 * README: Remove tilepro-*-linux-gnu from supported architecture.
15974 * scripts/build-many-glibcs.py: Likewise.
15975 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15976 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
15977 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
15978 elf_machine_matches_host, elf_machine_dynamic,
15979 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
15980 howto, elf_machine_rela): Likewise.
15981 * sysdeps/tile/dl-start.S (_start): Likewise.
15982 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
15983 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
15984 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
15985 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
15986 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
15987 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15988 Likewise.
15989 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
15990 * sysdeps/tile/preconfigure: Likewise.
15991 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
15992 POINTER_CHK_GUARD): Likewise.
15993 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
15994 * sysdeps/tile/start.S (_start): Likewise.
15995 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
15996 Likewise.
15997 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
15998 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
15999 CMOVNEZ): Remove.
16000 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16001 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16002 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16003 Likewise.
16004 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16005 * sysdeps/tile/tilepro/Implies: Remove file.
16006 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16007 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16008 * sysdeps/tile/tilepro/memchr.c: Likewise.
16009 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16010 * sysdeps/tile/tilepro/memset.c: Likewise.
16011 * sysdeps/tile/tilepro/memusage.h: Likewise.
16012 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16013 * sysdeps/tile/tilepro/strchr.c: Likewise.
16014 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16015 * sysdeps/tile/tilepro/strlen.c: Likewise.
16016 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16017 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16018 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16019 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16020 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16021 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16022 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16023 Likewise.
16024 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16025 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16026 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16027 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16028 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16029 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16030 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16031 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16032 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16033 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16034 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16035 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16036 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16037 tilepro mention in comment.
16038
4735850f
AZ
16039 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16040 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16041 * nptl/pthread_join_common.c: New file: common function used on
16042 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16043 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16044 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16045 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16046 (cleanup): Move definition to pthread_join_common.c.
16047 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16048 Remove superflous checks.
16049 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16050 Likewise.
16051
8bfb461e
SN
160522017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16053
16054 * sysdeps/aarch64/libm-test-ulps: Update.
16055
4e001969
AZ
160562017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16057
16058 * sysdeps/aarch64/memset.S (MEMSET): Define.
16059
8a26ad2a
FW
160602017-12-20 Florian Weimer <fweimer@redhat.com>
16061
16062 [BZ #22635]
16063 nptl: Provide full implementation of pthread_self in libc.so.
16064 * nptl/Makefile (routines): Add pthread_self.
16065 (libpthread-routines): Replace pthread_self with
16066 compat-pthread_self.
16067 * nptl/forward.c (pthread_self): Remove.
16068 * nptl/nptl-init.c (pthread_functions): Do not initialize
16069 ptr_pthread_self.
16070 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16071 * nptl/compat-pthread_self.c: New file.
16072 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16073 Remove ptr_pthread_self.
16074
5069ff32
AR
160752017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16076
16077 * posix/regcomp.c: Fix spelling in comments.
16078 * posix/regex.h: Likewise.
16079 * posix/regex_internal.c: Likewise.
16080 * posix/regexec.c: Likewise.
16081
c85e54ac
GG
160822017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16083
16084 [BZ #22377]
16085 * math/Makefile [C++] (tests): Add test for iseqsig.
16086 * math/math.h [C++] (iseqsig): New implementation, which does
16087 not rely on __MATH_TG/__builtin_types_compatible_p.
16088 * math/test-math-iseqsig.cc: New file.
16089 * sysdeps/powerpc/powerpc64le/Makefile
16090 (CFLAGS-test-math-iseqsig.cc): New variable.
16091
10e93d96
DL
160922017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16093
16094 * elf/dl-load.c (is_trusted_path): Remove.
16095 (fillin_rpath): Remove check_trusted argument and its use,
16096 all callers changed.
16097
ce16eb52
L
160982017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16099
16100 [BZ #22630]
16101 * Makeconfig (link-pie-before-libc): Replace -pie with
16102 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16103 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16104 (tst-dlopen-aout-no-pie): New.
16105 (LDFLAGS-tst-prelink): Removed.
16106 (tst-prelink-no-pie): New.
16107 (LDFLAGS-tst-main1): Removed.
16108 (tst-main1-no-pie): New.
16109 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16110 (tst-gmon-no-pie): New.
16111
126adc89
L
161122017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16113
16114 * manual/install.texi: Document that --enable-static-pie
16115 implies PIE.
16116 * INSTALL: Regenerated.
16117
648615e1
BE
161182017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16119
16120 [BZ #21309]
16121 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
16122 unsigned.
16123
f1e00502
JM
161242017-12-19 Joseph Myers <joseph@codesourcery.com>
16125
16126 Revert:
16127
16128 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16129
16130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16131
16132 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16133
16134 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16135 <errno.h>. Include "eexp.tbl".
16136 (half): New constant.
16137 (one): Likewise.
16138 (__ieee754_exp): Rewrite.
16139 (__slowexp): Remove prototype.
16140 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16141 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16142 * sysdeps/i386/fpu/slowexp.c: Likewise.
16143 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16144 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16145 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16146 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16147 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16148 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16149 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16150 comment.
16151 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16152 (CPPFLAGS-slowexp.c): Remove variable.
16153 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16154 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16155 (CFLAGS-slowexp-fma.c): Remove variable.
16156 (CFLAGS-slowexp-fma4.c): Likewise.
16157 (CFLAGS-slowexp-avx.c): Likewise.
16158 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16159 define as macro.
16160 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16161 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16162 * math/Makefile (type-double-routines): Remove slowexp.
16163 * manual/probes.texi (slowexp_p6): Remove.
16164 (slowexp_p32): Likewise.
16165
d711a00f
AZ
161662017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16167
e184ac3a
AZ
16168 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
16169 arithmetic.
16170
d711a00f
AZ
16171 * lib/glob.c (glob): Do not pass NULL to mempcpy.
16172
6f58c10d
JM
161732017-12-19 Joseph Myers <joseph@codesourcery.com>
16174
16175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16176
6fd0a3c6
PM
161772017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16178
16179 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16180 <errno.h>. Include "eexp.tbl".
16181 (half): New constant.
16182 (one): Likewise.
16183 (__ieee754_exp): Rewrite.
16184 (__slowexp): Remove prototype.
16185 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16186 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16187 * sysdeps/i386/fpu/slowexp.c: Likewise.
16188 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16189 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16190 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16191 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16193 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16194 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16195 comment.
16196 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16197 (CPPFLAGS-slowexp.c): Remove variable.
16198 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16199 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16200 (CFLAGS-slowexp-fma.c): Remove variable.
16201 (CFLAGS-slowexp-fma4.c): Likewise.
16202 (CFLAGS-slowexp-avx.c): Likewise.
16203 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16204 define as macro.
16205 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16206 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16207 * math/Makefile (type-double-routines): Remove slowexp.
16208 * manual/probes.texi (slowexp_p6): Remove.
16209 (slowexp_p32): Likewise.
16210
3bb1ef58
AZ
162112017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16212 James Clarke <jrtc27@jrtc27.com>
16213
16214 [BZ #22603]
16215 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
16216 addition.
16217
554e3d51
AZ
162182017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16219
16220 [BZ #22605]
16221 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
16222 code.
16223
cba595c3
L
162242017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16225
16226 [BZ #22563]
16227 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16228 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16229 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16230 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16231 to feature_1.
16232
f81ddabf
L
162332017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16234
16235 [BZ #22563]
16236 * bits/types/__cancel_jmp_buf_tag.h: New file.
16237 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16238 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16239 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16240 * nptl/Makefile (headers): Add
16241 bits/types/__cancel_jmp_buf_tag.h.
16242 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16243 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16244 * sysdeps/nptl/pthread.h: Include
16245 <bits/types/__cancel_jmp_buf_tag.h>.
16246 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16247 __cancel_jmp_buf.
16248 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16249
1a49fc59
L
162502017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16251
16252 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16253 --enable-static-pie variants to x86_64, x32 and i686.
16254
8e52f573
JM
162552017-12-19 Joseph Myers <joseph@codesourcery.com>
16256
66425185
JM
16257 [BZ #22631]
16258 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
16259 argument for attrubutes. All callers changed.
16260 (__inline_mathop1): Likewise. All callers changed.
16261 (__inline_mathop): Likewise. All callers changed.
16262 [__USE_MISC] (scalbn): Use __inline_forward instead of
16263 __inline_forward_c.
16264 [__USE_ISOC99] (scalbln): Likewise.
16265 [__USE_ISOC99] (nearbyint): Likewise.
16266 [__USE_ISOC99] (lrint): Likewise.
16267 [__USE_MISC] (scalbnf): Likewise.
16268 [__USE_ISOC99] (scalblnf): Likewise.
16269 [__USE_ISOC99] (nearbyintf): Likewise.
16270 [__USE_ISOC99] (lrintf): Likewise.
16271 [__USE_MISC] (scalbnl): Likewise.
16272 [__USE_ISOC99] (scalblnl): Likewise.
16273 [__USE_ISOC99] (nearbyintl): Likewise.
16274 [__USE_ISOC99] (lrintl): Likewise.
16275 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
16276 __inline_mathop and __m81_defun changed.
16277
8e52f573
JM
16278 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
16279 CPU or FPU for ARM hard-float configurations.
16280
1421f39b
JM
162812017-12-18 Joseph Myers <joseph@codesourcery.com>
16282
40c4162d
JM
16283 * nptl/tst-attr3.c: Include <libc-diag.h>.
16284 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
16285
5983df32
JM
16286 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
16287
1421f39b
JM
16288 * string/tester.c (test_strncat): Also disable -Warray-bounds
16289 warnings for two tests.
16290
00c714df
L
162912017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16292
16293 [BZ #22614]
16294 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
16295 $(cc-pie-default) == yes.
16296 * config.make.in (cc-pie-default): New.
16297 * configure.ac (libc_cv_pie_default): Renamed to ...
16298 (libc_cv_cc_pie_default): This.
16299 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
16300 * configure: Regenerated.
16301
8e1472d2
FW
163022017-12-18 Florian Weimer <fweimer@redhat.com>
16303
16304 [BZ #20204]
16305 ld.so: Harden dl-libc/libdl hooks.
16306 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
16307 (rtld_active): New function.
16308 * dlfcn/dladdr.c (__dladdr): Call it.
16309 * dlfcn/dladdr1.c (__dladdr1): Likewise.
16310 * dlfcn/dlclose.c (__dlcose): Likewise.
16311 * dlfcn/dlerror.c (__dlerror): Likewise.
16312 * dlfcn/dlinfo.c (__dlinfo): Likewise.
16313 * dlfcn/dlmopen.c (__dlmopen): Likewise.
16314 * dlfcn/dlopen.c (__dlopen): Likewise.
16315 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16316 * dlfcn/dlsym.c (__dlsym): Likewise.
16317 * dlfcn/dlvsym.c (__dlvsym): Likewise.
16318 * libio/vtables.c (_IO_vtable_check): Likewise.
16319 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
16320 (__libc_dlclose): Likewise.
16321 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
16322 assignment.
16323
49b036bc
JM
163242017-12-18 Joseph Myers <joseph@codesourcery.com>
16325
16326 [BZ #22446]
16327 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
16328 buffers for readlink input and output.
16329
368b6c8d
ST
163302017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
16331
c85c564d
ST
16332 [BZ #22624]
16333 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
16334 inhibit_stack_protector.
16335
368b6c8d
ST
16336 [BZ #22624]
16337 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
16338 inhibit_stack_protector.
16339
bb195224
DL
163402017-12-18 Dmitry V. Levin <ldv@altlinux.org>
16341
16342 [BZ #22627]
16343 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
16344 code and invocation.
16345
14d886ed
SN
163462017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16347
16348 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
16349
7d38eb38
AJ
163502017-12-16 Aurelien Jarno <aurelien@aurel32.net>
16351
16352 [BZ #22505]
16353 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
16354
2e77deef
RS
163552017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16356
16357 * sysdeps/s390/fpu/libm-test-ulps: Update.
16358
0b9bef6d
RS
163592017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16360
16361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16362
984ae996
RS
163632017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16364
16365 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
16366 constants to s_sincosf.h file.
16367 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16368 * sysdeps/ieee754/flt-32/s_sincosf.c: New
16369 implementation.
16370 * sysdeps/ieee754/flt-32/s_sincosf.h:
16371 New file.
16372
363e4519 163732017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
16374
16375 [BZ #14681]
16376 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
16377 before mtrace.
16378
9d7a3741
L
163792017-12-15 H.J. Lu <hongjiu.lu@intel.com>
16380
16381 [BZ #19574]
16382 * INSTALL: Regenerated.
16383 * Makeconfig (real-static-start-installed-name): New.
16384 (pic-default): Updated for --enable-static-pie.
16385 (pie-default): New for --enable-static-pie.
16386 (default-pie-ldflag): Likewise.
16387 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16388 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
16389 Replace $(static-start-installed-name) with
16390 $(real-static-start-installed-name).
16391 (+prectorT): Updated for --enable-static-pie.
16392 (+postctorT): Likewise.
16393 (CFLAGS-.o): Add $(pie-default).
16394 (CFLAGS-.op): Likewise.
16395 * NEWS: Mention --enable-static-pie.
16396 * config.h.in (ENABLE_STATIC_PIE): New.
16397 * configure.ac (--enable-static-pie): New configure option.
16398 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
16399 (have-static-pie): Likewise.
16400 Enable static PIE if linker supports --no-dynamic-linker.
16401 (ENABLE_STATIC_PIE): New AC_DEFINE.
16402 (enable-static-pie): New LIBC_CONFIG_VAR.
16403 * configure: Regenerated.
16404 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
16405 gr$(start-installed-name) for --enable-static-pie.
16406 (extra-objs): Likewise.
16407 (install-lib): Likewise.
16408 (extra-objs): Add static-reloc.o and static-reloc.os
16409 ($(objpfx)$(start-installed-name)): Also depend on
16410 $(objpfx)static-reloc.o.
16411 ($(objpfx)r$(start-installed-name)): New.
16412 ($(objpfx)g$(start-installed-name)): Also depend on
16413 $(objpfx)static-reloc.os.
16414 ($(objpfx)gr$(start-installed-name)): New.
16415 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
16416 in libc.a.
16417 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
16418 initimage.
16419 * csu/static-reloc.c: New file.
16420 * elf/Makefile (routines): Add dl-reloc-static-pie.
16421 (elide-routines.os): Likewise.
16422 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
16423 (tst-tls1-static-non-pie-no-pie): New.
16424 * elf/dl-reloc-static-pie.c: New file.
16425 * elf/dl-support.c (_dl_get_dl_main_map): New function.
16426 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
16427 STATIC_PIE_BOOTSTRAP.
16428 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16429 * gmon/Makefile (tests): Add tst-gmon-static-pie.
16430 (tests-static): Likewise.
16431 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
16432 (tst-gmon-static-no-pie): New.
16433 (CFLAGS-tst-gmon-static-pie.c): Likewise.
16434 (CRT-tst-gmon-static-pie): Likewise.
16435 (tst-gmon-static-pie-ENV): Likewise.
16436 (tests-special): Likewise.
16437 ($(objpfx)tst-gmon-static-pie.out): Likewise.
16438 (clean-tst-gmon-static-pie-data): Likewise.
16439 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
16440 * gmon/tst-gmon-static-pie.c: New file.
16441 * manual/install.texi: Document --enable-static-pie.
16442 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
16443 (_dl_get_dl_main_map): Likewise.
16444 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
16445 * sysdeps/x86_64/configure.ac: Likewise.
16446 * sysdeps/i386/configure: Regenerated.
16447 * sysdeps/x86_64/configure: Likewise.
16448 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
16449 (ASFLAGS-.op): Likewise.
16450
95511aab
JM
164512017-12-15 Joseph Myers <joseph@codesourcery.com>
16452
16453 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
16454 * posix/tst-mmap-offset.c (fname): Use /tmp.
16455 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
16456
a7e3edf4
SE
164572017-12-15 Steve Ellcey <sellcey@cavium.com>
16458
16459 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
16460
d232f2e1
TS
164612017-12-15 Thomas Schwinge <thomas@codesourcery.com>
16462
16463 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
16464 errno.
16465
174edbde
JM
164662017-12-15 Joseph Myers <joseph@codesourcery.com>
16467
5170fa49
JM
16468 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16469 --with-float=hard for arm-linux-gnueabihf configurations.
16470
f2da2fd8
JM
16471 [BZ #14121]
16472 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
16473 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
16474 ($(mo-installed)): Use $(objpfx)%.mo.
16475 (realclean): Remove rule.
16476
0c4fe28d
JM
16477 * po/Makefile (linguas): Remove rule and dependencies.
16478 (linguas.mo): Likewise.
16479 (.PHONY): Do not depend on linguas and linguas.mo.
16480 (podir): Remove variable.
16481 (pofiles): Likewise.
16482 [$(pofiles)] (%.po): Remove rule.
16483
174edbde
JM
16484 * sysdeps/sparc/sparc32/Makefile
16485 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
16486 start-of-line whitespace in argument of echo.
16487 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
16488 with whitespace. Generate __wrap_.udiv alias.
16489 * sysdeps/sparc/sparc32/rem.S: Regenerated.
16490 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16491 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16492 * sysdeps/sparc/sparc32/urem.S: Likewise.
16493
1e36806f
RS
164942017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16495
16496 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
16497 for aligned inputs.
16498
aa6932aa
SP
164992017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16500
5f1603c3
SP
16501 * benchtests/bench-strcmp.c: Print output in JSON format.
16502
aa6932aa
SP
16503 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
16504
3ff3dfa5
FW
165052017-12-14 Florian Weimer <fweimer@redhat.com>
16506
16507 [BZ #22607]
16508 CVE-2017-1000409
16509 * elf/dl-load.c (_dl_init_paths): Compute number of components in
16510 the expanded path string.
16511
8a0b17e4
FW
165122017-12-14 Florian Weimer <fweimer@redhat.com>
16513
16514 [BZ #22606]
16515 CVE-2017-1000408
16516 * elf/dl-load.c (system_dirs): Update comment.
16517 (nsystem_dirs_len): Use array_length.
16518 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
16519
f58bd7f0
FW
165202017-12-14 Florian Weimer <fweimer@redhat.com>
16521
16522 Simplify compiling most of support/ outside of glibc.
16523 * support/check_addrinfo.c: Include <string.h>.
16524 * support/check_dns_packet.c: Likewise.
16525 * support/check_hostent.c: Likewise.
16526 * support/support_can_chroot.c: Include <support/xunistd.h>.
16527 * support/support_format_addrinfo.c: Include <stdlib.h>
16528 * support/support_format_dns_packet.c: Include <stdbool.h>.
16529 * support/support_format_hostent.c: Include <stdlib.h>.
16530 * support/support_format_netent.c: Likewise.
16531 * support/support_write_string.c: Include <support/xunistd.h>.
16532 * support/xdlfcn.c: Include <stddef.h>.
16533
4ca945e9
L
165342017-12-14 H.J. Lu <hongjiu.lu@intel.com>
16535
16536 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
16537
1b6e07f8
PM
165382017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16539 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16540
e6a1c5dc
PM
16541 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16542 (sysdeps_routines): Add memset-niagara7.
16543 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
16544 Likewise.
16545 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
16546 file.
16547 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
16548 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16549 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
16550 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
16551 Add niagara7 option.
16552 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
16553 memset.
16554
1b6e07f8
PM
16555 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16556 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
16557 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
16558 Likewise.
16559 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
16560 New file.
16561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
16562 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
16563 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16564 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
16565 and __memmove_niagara7.
16566 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
16567 Add niagara7 option.
16568 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
16569 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
16570 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
16571 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
16572 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
16573
bfb7bf22
JM
165742017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
16575
767a26d6
JM
16576 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
16577 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
16578 * sysdeps/sparc/sparc64/memmove.S: Likewise.
16579 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
16580
bfb7bf22
JM
16581 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
16582 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
16583 _dl_sparc_cap_flags array.
16584 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
16585
2bce01eb
SP
165862017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16587
16588 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
16589 time whenever possible.
16590
363e4519 165912017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
16592
16593 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
16594 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
16595
6f7c0092
JM
165962017-12-12 Joseph Myers <joseph@codesourcery.com>
16597
16598 * soft-fp/fmadf4.c: Move to ....
16599 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
16600 * soft-fp/fmasf4.c: Move to ....
16601 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
16602 * soft-fp/fmatf4.c: Move to ....
16603 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
16604 * sysdeps/ieee754/soft-fp/Makefile: New file.
16605 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
16606 * sysdeps/arm/preconfigure: Regenerated.
16607 * sysdeps/arm/nofpu/Implies: New file.
16608 * sysdeps/arm/s_fma.c: Remove file.
16609 * sysdeps/arm/s_fmaf.c: Likewise.
16610 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
16611 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
16612 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16613 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
16614 * sysdeps/microblaze/s_fma.c: Remove file.
16615 * sysdeps/microblaze/s_fmaf.c: Likewise.
16616 * sysdeps/mips/mips32/nofpu/Implies: New file.
16617 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
16618 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
16619 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
16620 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
16621 * sysdeps/mips/ieee754/s_fma.c: Remove file.
16622 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
16623 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
16624 implementation.
16625 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
16626 * sysdeps/nios2/s_fma.c: Remove file.
16627 * sysdeps/nios2/s_fmaf.c: Likewise.
16628 * sysdeps/sh/nofpu/Implies: New file.
16629 * sysdeps/sh/s_fma.c: Remove file.
16630 * sysdeps/sh/s_fmaf.c: Likewise.
16631 * sysdeps/tile/Implies: Add ieee754/soft-fp.
16632 * sysdeps/tile/s_fma.c: Remove file.
16633 * sysdeps/tile/s_fmaf.c: Likewise.
16634
ac817e08
L
166352017-12-12 H.J. Lu <hongjiu.lu@intel.com>
16636
16637 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16638 Add s_cosf-sse2 and s_cosf-fma.
16639 (CFLAGS-s_cosf-fma.c): New.
16640 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
16641 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
16642 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
16643
eb428576
SE
166442017-12-12 Steve Ellcey <sellcey@cavium.com>
16645
16646 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
16647
c80acdc3
AZ
166482017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16649
cc683f7e
AZ
16650 * libio/Makefile (tests): Add tst-bz22415.
16651 (tst-bz22415-ENV): New rule.
16652 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
16653 (tests-special): Add tst-bz22415-mem.out.
16654 ($(objpfx)tst-bz22415-mem.out): New rule.
16655 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
16656 in case of a successful seek operation.
16657 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16658 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
16659 buffer is required.
16660 * libio/tst-bz22415.c: New test.
16661
c80acdc3
AZ
16662 * sysdeps/ia64/fpu/libm-test-ulps: Update.
16663
363e4519 166642017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
16665
16666 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
16667 __IPC_64 to 0 to avoid IPC_64 being set.
16668
4e0dca54
SN
166692017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16670
16671 [BZ #22593]
16672 * math/bits/mathcalls.h (nextafter): Remove const.
16673 (nexttoward): Likewise.
16674
8df5d347
JM
166752017-12-12 Joseph Myers <joseph@codesourcery.com>
16676
16677 * configure.ac (--with-fp): Remove configure option.
16678 (with_fp_cond): New variable.
16679 (libc_cv_with_fp): New configure test. Use this variable instead
16680 of with_fp.
16681 * configure: Regenerated.
16682 * config.make.in (with-fp): Use @libc_cv_with_fp@.
16683 * manual/install.texi (Configuring and compiling): Remove
16684 --without-fp.
16685 * INSTALL: Regenerated.
16686 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
16687 * sysdeps/mips/preconfigure (with_fp_cond): Define.
16688 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
16689 * sysdeps/sh/preconfigure (with_fp_cond): Define.
16690 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
16691 use --without-fp to configure glibc.
16692
0cee1257
RJ
166932017-12-12 Rical Jasan <ricaljasan@pacific.net>
16694
16695 * manual/locale.texi (nl_langinfo): Fix a typo.
16696
363e4519 166972017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
16698
16699 [BZ #22588]
16700 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
16701
36975e8e
L
167022017-12-11 H.J. Lu <hongjiu.lu@intel.com>
16703
16704 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
16705 (CFLAGS-argp-parse.c): Likewise.
16706 (CFLAGS-argp-fmtstream.c): Likewise.
16707 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
16708 (CPPFLAGS-sha512-crypt.c): Likewise.
16709 (CPPFLAGS-md5-crypt.c): Likewise.
16710 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
16711 (CFLAGS-stack_chk_fail_local.c): Likewise.
16712 (CFLAGS-backtrace.c): Likewise.
16713 (CFLAGS-sprintf_chk.c): Likewise.
16714 (CFLAGS-snprintf_chk.c): Likewise.
16715 (CFLAGS-vsprintf_chk.c): Likewise.
16716 (CFLAGS-vsnprintf_chk.c): Likewise.
16717 (CFLAGS-asprintf_chk.c): Likewise.
16718 (CFLAGS-vasprintf_chk.c): Likewise.
16719 (CFLAGS-obprintf_chk.c): Likewise.
16720 (CFLAGS-dprintf_chk.c): Likewise.
16721 (CFLAGS-vdprintf_chk.c): Likewise.
16722 (CFLAGS-printf_chk.c): Likewise.
16723 (CFLAGS-fprintf_chk.c): Likewise.
16724 (CFLAGS-vprintf_chk.c): Likewise.
16725 (CFLAGS-vfprintf_chk.c): Likewise.
16726 (CFLAGS-gets_chk.c): Likewise.
16727 (CFLAGS-fgets_chk.c): Likewise.
16728 (CFLAGS-fgets_u_chk.c): Likewise.
16729 (CFLAGS-fread_chk.c): Likewise.
16730 (CFLAGS-fread_u_chk.c): Likewise.
16731 (CFLAGS-swprintf_chk.c): Likewise.
16732 (CFLAGS-vswprintf_chk.c): Likewise.
16733 (CFLAGS-wprintf_chk.c): Likewise.
16734 (CFLAGS-fwprintf_chk.c): Likewise.
16735 (CFLAGS-vwprintf_chk.c): Likewise.
16736 (CFLAGS-vfwprintf_chk.c): Likewise.
16737 (CFLAGS-fgetws_chk.c): Likewise.
16738 (CFLAGS-fgetws_u_chk.c): Likewise.
16739 (CFLAGS-read_chk.c): Likewise.
16740 (CFLAGS-pread_chk.c): Likewise.
16741 (CFLAGS-pread64_chk.c): Likewise.
16742 (CFLAGS-recv_chk.c): Likewise.
16743 (CFLAGS-recvfrom_chk.c): Likewise.
16744 (CFLAGS-tst-longjmp_chk.c): Likewise.
16745 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
16746 (CFLAGS-tst-longjmp_chk2.c): Likewise.
16747 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
16748 (CFLAGS-tst-longjmp_chk3.c): Likewise.
16749 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16750 (CFLAGS-tst-chk1.c): Likewise.
16751 (CFLAGS-tst-chk2.c): Likewise.
16752 (CFLAGS-tst-chk3.c): Likewise.
16753 (CFLAGS-tst-chk4.cc): Likewise.
16754 (CFLAGS-tst-chk5.cc): Likewise.
16755 (CFLAGS-tst-chk6.cc): Likewise.
16756 (CFLAGS-tst-lfschk1.c): Likewise.
16757 (CFLAGS-tst-lfschk2.c): Likewise.
16758 (CFLAGS-tst-lfschk3.c): Likewise.
16759 (CFLAGS-tst-lfschk4.cc): Likewise.
16760 (CFLAGS-tst-lfschk5.cc): Likewise.
16761 (CFLAGS-tst-lfschk6.cc): Likewise.
16762 (CFLAGS-tst-ssp-1.c): Likewise.
16763 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
16764 (CFLAGS-scandir64.c): Likewise.
16765 (CFLAGS-scandir-tail.c): Likewise.
16766 (CFLAGS-scandir64-tail.c): Likewise.
16767 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
16768 (CFLAGS-dl-tunables.c): Likewise.
16769 (CFLAGS-dl-runtime.c): Likewise.
16770 (CFLAGS-dl-lookup.c): Likewise.
16771 (CFLAGS-dl-iterate-phdr.c): Likewise.
16772 (CFLAGS-vismain.c): Likewise.
16773 (CFLAGS-tst-linkall-static.c): Likewise.
16774 (CFLAGS-tst-linkall-static.c): Likewise.
16775 (CPPFLAGS-dl-load.c): Likewise.
16776 (CFLAGS-ldconfig.c): Likewise.
16777 (CFLAGS-dl-cache.c): Likewise.
16778 (CFLAGS-cache.c): Likewise.
16779 (CFLAGS-rtld.c): Likewise.
16780 (CFLAGS-multiload.c): Likewise.
16781 (CFLAGS-filtmod1.c): Likewise.
16782 (CFLAGS-tst-align.c): Likewise.
16783 (CFLAGS-tst-align2.c): Likewise.
16784 (CFLAGS-tst-alignmod.c): Likewise.
16785 (CFLAGS-tst-alignmod2.c): Likewise.
16786 (CPPFLAGS-tst-execstack.c): Likewise.
16787 (CFLAGS-tst-ptrguard1-static.c): Likewise.
16788 (CFLAGS-tst-latepthreadmod.c): Likewise.
16789 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
16790 (CFLAGS-getgrnam_r.c): Likewise.
16791 (CFLAGS-getgrent_r.c): Likewise.
16792 (CFLAGS-getgrent.c): Likewise.
16793 (CFLAGS-fgetgrent.c): Likewise.
16794 (CFLAGS-fgetgrent_r.c): Likewise.
16795 (CFLAGS-putgrent.c): Likewise.
16796 (CFLAGS-initgroups.c): Likewise.
16797 (CFLAGS-getgrgid.c): Likewise.
16798 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
16799 (CFLAGS-getsgent.c): Likewise.
16800 (CFLAGS-fgetsgent.c): Likewise.
16801 (CFLAGS-fgetsgent_r.c): Likewise.
16802 (CFLAGS-putsgent.c): Likewise.
16803 (CFLAGS-getsgnam.c): Likewise.
16804 (CFLAGS-getsgnam_r.c): Likewise.
16805 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
16806 (CFLAGS-iconv_charmap.c): Likewise.
16807 (CFLAGS-dummy-repertoire.c): Likewise.
16808 (CFLAGS-charmap.c): Likewise.
16809 (CFLAGS-linereader.c): Likewise.
16810 (CFLAGS-simple-hash.c): Likewise.
16811 (CFLAGS-gconv_conf.c): Likewise.
16812 (CFLAGS-iconvconfig.c): Likewise.
16813 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16814 (CFLAGS-gethstbyad.c): Likewise.
16815 (CFLAGS-gethstbynm_r.c): Likewise.
16816 (CFLAGS-gethstbynm.c): Likewise.
16817 (CFLAGS-gethstbynm2_r.c): Likewise.
16818 (CFLAGS-gethstbynm2.c): Likewise.
16819 (CFLAGS-gethstent_r.c): Likewise.
16820 (CFLAGS-gethstent.c): Likewise.
16821 (CFLAGS-rcmd.c): Likewise.
16822 (CFLAGS-getnetbynm_r.c): Likewise.
16823 (CFLAGS-getnetbynm.c): Likewise.
16824 (CFLAGS-getnetbyad_r.c): Likewise.
16825 (CFLAGS-getnetbyad.c): Likewise.
16826 (CFLAGS-getnetent_r.c): Likewise.
16827 (CFLAGS-getnetent.c): Likewise.
16828 (CFLAGS-getaliasent_r.c): Likewise.
16829 (CFLAGS-getaliasent.c): Likewise.
16830 (CFLAGS-getrpcent_r.c): Likewise.
16831 (CFLAGS-getrpcent.c): Likewise.
16832 (CFLAGS-getservent_r.c): Likewise.
16833 (CFLAGS-getservent.c): Likewise.
16834 (CFLAGS-getprtent_r.c): Likewise.
16835 (CFLAGS-getprtent.c): Likewise.
16836 (CFLAGS-either_ntoh.c): Likewise.
16837 (CFLAGS-either_hton.c): Likewise.
16838 (CFLAGS-getnetgrent.c): Likewise.
16839 (CFLAGS-getnetgrent_r.c): Likewise.
16840 (CFLAGS-tst-checks-posix.c): Likewise.
16841 (CFLAGS-tst-sockaddr.c): Likewise.
16842 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
16843 (CFLAGS-tst-translit.c): Likewise.
16844 (CFLAGS-tst-gettext2.c): Likewise.
16845 (CFLAGS-tst-codeset.c): Likewise.
16846 (CFLAGS-tst-gettext3.c): Likewise.
16847 (CFLAGS-tst-gettext4.c): Likewise.
16848 (CFLAGS-tst-gettext5.c): Likewise.
16849 (CFLAGS-tst-gettext6.c): Likewise.
16850 * io/Makefile (CFLAGS-open.c): Likewise.
16851 (CFLAGS-open64.c): Likewise.
16852 (CFLAGS-creat.c): Likewise.
16853 (CFLAGS-creat64.c): Likewise.
16854 (CFLAGS-fcntl.c): Likewise.
16855 (CFLAGS-poll.c): Likewise.
16856 (CFLAGS-ppoll.c): Likewise.
16857 (CFLAGS-lockf.c): Likewise.
16858 (CFLAGS-statfs.c): Likewise.
16859 (CFLAGS-fstatfs.c): Likewise.
16860 (CFLAGS-statvfs.c): Likewise.
16861 (CFLAGS-fstatvfs.c): Likewise.
16862 (CFLAGS-fts.c): Likewise.
16863 (CFLAGS-fts64.c): Likewise.
16864 (CFLAGS-ftw.c): Likewise.
16865 (CFLAGS-ftw64.c): Likewise.
16866 (CFLAGS-lockf.c): Likewise.
16867 (CFLAGS-posix_fallocate.c): Likewise.
16868 (CFLAGS-posix_fallocate64.c): Likewise.
16869 (CFLAGS-fallocate.c): Likewise.
16870 (CFLAGS-fallocate64.c): Likewise.
16871 (CFLAGS-read.c): Likewise.
16872 (CFLAGS-write.c): Likewise.
16873 (CFLAGS-test-stat.c): Likewise.
16874 (CFLAGS-test-lfs.c): Likewise.
16875 * libio/Makefile (CFLAGS-fileops.c): Likewise.
16876 (CFLAGS-fputc.c): Likewise.
16877 (CFLAGS-fputwc.c): Likewise.
16878 (CFLAGS-freopen64.c): Likewise.
16879 (CFLAGS-freopen.c): Likewise.
16880 (CFLAGS-fseek.c): Likewise.
16881 (CFLAGS-fseeko64.c): Likewise.
16882 (CFLAGS-fseeko.c): Likewise.
16883 (CFLAGS-ftello64.c): Likewise.
16884 (CFLAGS-ftello.c): Likewise.
16885 (CFLAGS-fwide.c): Likewise.
16886 (CFLAGS-genops.c): Likewise.
16887 (CFLAGS-getc.c): Likewise.
16888 (CFLAGS-getchar.c): Likewise.
16889 (CFLAGS-getwc.c): Likewise.
16890 (CFLAGS-getwchar.c): Likewise.
16891 (CFLAGS-iofclose.c): Likewise.
16892 (CFLAGS-iofflush.c): Likewise.
16893 (CFLAGS-iofgetpos64.c): Likewise.
16894 (CFLAGS-iofgetpos.c): Likewise.
16895 (CFLAGS-iofgets.c): Likewise.
16896 (CFLAGS-iofgetws.c): Likewise.
16897 (CFLAGS-iofputs.c): Likewise.
16898 (CFLAGS-iofputws.c): Likewise.
16899 (CFLAGS-iofread.c): Likewise.
16900 (CFLAGS-iofsetpos64.c): Likewise.
16901 (CFLAGS-iofsetpos.c): Likewise.
16902 (CFLAGS-ioftell.c): Likewise.
16903 (CFLAGS-iofwrite.c): Likewise.
16904 (CFLAGS-iogetdelim.c): Likewise.
16905 (CFLAGS-iogetline.c): Likewise.
16906 (CFLAGS-iogets.c): Likewise.
16907 (CFLAGS-iogetwline.c): Likewise.
16908 (CFLAGS-ioputs.c): Likewise.
16909 (CFLAGS-ioseekoff.c): Likewise.
16910 (CFLAGS-ioseekpos.c): Likewise.
16911 (CFLAGS-iosetbuffer.c): Likewise.
16912 (CFLAGS-iosetvbuf.c): Likewise.
16913 (CFLAGS-ioungetc.c): Likewise.
16914 (CFLAGS-ioungetwc.c): Likewise.
16915 (CFLAGS-oldfileops.c): Likewise.
16916 (CFLAGS-oldiofclose.c): Likewise.
16917 (CFLAGS-oldiofgetpos64.c): Likewise.
16918 (CFLAGS-oldiofgetpos.c): Likewise.
16919 (CFLAGS-oldiofsetpos64.c): Likewise.
16920 (CFLAGS-oldiofsetpos.c): Likewise.
16921 (CFLAGS-peekc.c): Likewise.
16922 (CFLAGS-putc.c): Likewise.
16923 (CFLAGS-putchar.c): Likewise.
16924 (CFLAGS-putwc.c): Likewise.
16925 (CFLAGS-putwchar.c): Likewise.
16926 (CFLAGS-rewind.c): Likewise.
16927 (CFLAGS-wfileops.c): Likewise.
16928 (CFLAGS-wgenops.c): Likewise.
16929 (CFLAGS-oldiofopen.c): Likewise.
16930 (CFLAGS-iofopen.c): Likewise.
16931 (CFLAGS-iofopen64.c): Likewise.
16932 (CFLAGS-oldtmpfile.c): Likewise.
16933 (CFLAGS-tst_putwc.c): Likewise.
16934 * locale/Makefile (CFLAGS-md5.c): Likewise.
16935 (CFLAGS-charmap.c): Likewise.
16936 (CFLAGS-locfile.c): Likewise.
16937 (CFLAGS-charmap-dir.c): Likewise.
16938 * login/Makefile (CFLAGS-grantpt.c): Likewise.
16939 (CFLAGS-getpt.c): Likewise.
16940 (CFLAGS-pt_chown.c): Likewise.
16941 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
16942 (CFLAGS-obstack.c): Likewise.
16943 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
16944 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
16945 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
16946 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
16947 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
16948 (CFLAGS-test-tgmath.c): Likewise.
16949 (CFLAGS-test-tgmath2.c): Likewise.
16950 (CFLAGS-test-tgmath-ret.c): Likewise.
16951 (CFLAGS-test-powl.c): Likewise.
16952 (CFLAGS-test-snan.c): Likewise.
16953 (CFLAGS-test-signgam-finite.c): Likewise.
16954 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16955 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16956 (CFLAGS-test-signgam-uchar.c): Likewise.
16957 (CFLAGS-test-signgam-uchar-init.c): Likewise.
16958 (CFLAGS-test-signgam-uchar-static.c): Likewise.
16959 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16960 (CFLAGS-test-signgam-uint.c): Likewise.
16961 (CFLAGS-test-signgam-uint-init.c): Likewise.
16962 (CFLAGS-test-signgam-uint-static.c): Likewise.
16963 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16964 (CFLAGS-test-signgam-ullong.c): Likewise.
16965 (CFLAGS-test-signgam-ullong-init.c): Likewise.
16966 (CFLAGS-test-signgam-ullong-static.c): Likewise.
16967 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16968 (CFLAGS-test-math-cxx11.cc): Likewise.
16969 (CFLAGS-test-math-isinff.cc): Likewise.
16970 (CFLAGS-test-math-iszero.cc): Likewise.
16971 (CFLAGS-test-math-issignaling.cc): Likewise.
16972 (CFLAGS-test-math-iscanonical.cc): Likewise.
16973 (CFLAGS-test-iszero-excess-precision.c): Likewise.
16974 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
16975 (CFLAGS-test-flt-eval-method.c): Likewise.
16976 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
16977 (CFLAGS-test-finite-macros.c): Likewise.
16978 * misc/Makefile (CFLAGS-select.c): Likewise.
16979 (CFLAGS-tsearch.c): Likewise.
16980 (CFLAGS-lsearch.c): Likewise.
16981 (CFLAGS-pselect.c): Likewise.
16982 (CFLAGS-readv.c): Likewise.
16983 (CFLAGS-writev.c): Likewise.
16984 (CFLAGS-preadv.c): Likewise.
16985 (CFLAGS-preadv64.c): Likewise.
16986 (CFLAGS-pwritev.c): Likewise.
16987 (CFLAGS-pwritev64.c): Likewise.
16988 (CFLAGS-preadv2.c): Likewise.
16989 (CFLAGS-preadv64v2.c): Likewise.
16990 (CFLAGS-pwritev2.c): Likewise.
16991 (CFLAGS-pwritev64v2.c): Likewise.
16992 (CFLAGS-usleep.c): Likewise.
16993 (CFLAGS-syslog.c): Likewise.
16994 (CFLAGS-error.c): Likewise.
16995 (CFLAGS-getpass.c): Likewise.
16996 (CFLAGS-mkstemp.c): Likewise.
16997 (CFLAGS-mkstemp64.c): Likewise.
16998 (CFLAGS-getsysstats.c): Likewise.
16999 (CFLAGS-getusershell.c): Likewise.
17000 (CFLAGS-err.c): Likewise.
17001 (CFLAGS-tst-tsearch.c): Likewise.
17002 (CFLAGS-msync.c): Likewise.
17003 (CFLAGS-fdatasync.c): Likewise.
17004 (CFLAGS-fsync.c): Likewise.
17005 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17006 (CFLAGS-unwind.c): Likewise.
17007 (CFLAGS-unwind-forcedunwind.c): Likewise.
17008 (CFLAGS-pthread_cancel.c): Likewise.
17009 (CFLAGS-pthread_setcancelstate.c): Likewise.
17010 (CFLAGS-pthread_setcanceltype.c): Likewise.
17011 (CFLAGS-cancellation.c): Likewise.
17012 (CFLAGS-libc-cancellation.c): Likewise.
17013 (CFLAGS-pthread_exit.c): Likewise.
17014 (CFLAGS-forward.c): Likewise.
17015 (CFLAGS-pthread_testcancel.c): Likewise.
17016 (CFLAGS-pthread_join.c): Likewise.
17017 (CFLAGS-pthread_timedjoin.c): Likewise.
17018 (CFLAGS-pthread_once.c): Likewise.
17019 (CFLAGS-pthread_cond_wait.c): Likewise.
17020 (CFLAGS-sem_wait.c): Likewise.
17021 (CFLAGS-sem_timedwait.c): Likewise.
17022 (CFLAGS-fcntl.c): Likewise.
17023 (CFLAGS-lockf.c): Likewise.
17024 (CFLAGS-pread.c): Likewise.
17025 (CFLAGS-pread64.c): Likewise.
17026 (CFLAGS-pwrite.c): Likewise.
17027 (CFLAGS-pwrite64.c): Likewise.
17028 (CFLAGS-wait.c): Likewise.
17029 (CFLAGS-waitpid.c): Likewise.
17030 (CFLAGS-sigwait.c): Likewise.
17031 (CFLAGS-msgrcv.c): Likewise.
17032 (CFLAGS-msgsnd.c): Likewise.
17033 (CFLAGS-tcdrain.c): Likewise.
17034 (CFLAGS-open.c): Likewise.
17035 (CFLAGS-open64.c): Likewise.
17036 (CFLAGS-pause.c): Likewise.
17037 (CFLAGS-recv.c): Likewise.
17038 (CFLAGS-send.c): Likewise.
17039 (CFLAGS-accept.c): Likewise.
17040 (CFLAGS-sendto.c): Likewise.
17041 (CFLAGS-connect.c): Likewise.
17042 (CFLAGS-recvfrom.c): Likewise.
17043 (CFLAGS-recvmsg.c): Likewise.
17044 (CFLAGS-sendmsg.c): Likewise.
17045 (CFLAGS-close.c): Likewise.
17046 (CFLAGS-read.c): Likewise.
17047 (CFLAGS-write.c): Likewise.
17048 (CFLAGS-nanosleep.c): Likewise.
17049 (CFLAGS-sigsuspend.c): Likewise.
17050 (CFLAGS-msync.c): Likewise.
17051 (CFLAGS-fdatasync.c): Likewise.
17052 (CFLAGS-fsync.c): Likewise.
17053 (CFLAGS-pt-system.c): Likewise.
17054 (CFLAGS-tst-cleanup2.c): Likewise.
17055 (CFLAGS-tst-cleanupx2.c): Likewise.
17056 (CFLAGS-flockfile.c): Likewise.
17057 (CFLAGS-ftrylockfile.c): Likewise.
17058 (CFLAGS-funlockfile.c): Likewise.
17059 (CFLAGS-tst-initializers1.c): Likewise.
17060 (CFLAGS-tst-initializers1-c89.c): Likewise.
17061 (CFLAGS-tst-initializers1-c99.c): Likewise.
17062 (CFLAGS-tst-initializers1-c11.c): Likewise.
17063 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17064 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17065 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17066 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17067 (CFLAGS-nscd_getgr_r.c): Likewise.
17068 (CFLAGS-nscd_gethst_r.c): Likewise.
17069 (CFLAGS-nscd_getai.c): Likewise.
17070 (CFLAGS-nscd_initgroups.c): Likewise.
17071 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17072 (CFLAGS-pause.c): Likewise.
17073 (CFLAGS-pread.c): Likewise.
17074 (CFLAGS-pread64.c): Likewise.
17075 (CFLAGS-pwrite.c): Likewise.
17076 (CFLAGS-pwrite64.c): Likewise.
17077 (CFLAGS-sleep.c): Likewise.
17078 (CFLAGS-wait.c): Likewise.
17079 (CFLAGS-waitid.c): Likewise.
17080 (CFLAGS-waitpid.c): Likewise.
17081 (CFLAGS-getopt.c): Likewise.
17082 (CFLAGS-wordexp.c): Likewise.
17083 (CFLAGS-sysconf.c): Likewise.
17084 (CFLAGS-pathconf.c): Likewise.
17085 (CFLAGS-fpathconf.c): Likewise.
17086 (CFLAGS-spawn.c): Likewise.
17087 (CFLAGS-spawnp.c): Likewise.
17088 (CFLAGS-spawni.c): Likewise.
17089 (CFLAGS-glob.c): Likewise.
17090 (CFLAGS-glob64.c): Likewise.
17091 (CFLAGS-getconf.c): Likewise.
17092 (CFLAGS-nanosleep.c): Likewise.
17093 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17094 (CFLAGS-getpwent.c): Likewise.
17095 (CFLAGS-getpw.c): Likewise.
17096 (CFLAGS-fgetpwent_r.c): Likewise.
17097 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17098 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17099 (CFLAGS-mq_timedreceive.c): Likewise.
17100 (CFLAGS-mq_timedsend.c): Likewise.
17101 (CFLAGS-clock_nanosleep.c): Likewise.
17102 (CFLAGS-librt-cancellation.c): Likewise.
17103 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17104 (CFLAGS-getspent.c): Likewise.
17105 (CFLAGS-fgetspent.c): Likewise.
17106 (CFLAGS-fgetspent_r.c): Likewise.
17107 (CFLAGS-putspent.c): Likewise.
17108 (CFLAGS-getspnam.c): Likewise.
17109 (CFLAGS-getspnam_r.c): Likewise.
17110 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17111 (CFLAGS-sigsuspend.c): Likewise.
17112 (CFLAGS-sigtimedwait.c): Likewise.
17113 (CFLAGS-sigwait.c): Likewise.
17114 (CFLAGS-sigwaitinfo.c): Likewise.
17115 (CFLAGS-sigreturn.c): Likewise.
17116 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17117 (CFLAGS-vfwprintf.c): Likewise.
17118 (CFLAGS-tmpfile.c): Likewise.
17119 (CFLAGS-tmpfile64.c): Likewise.
17120 (CFLAGS-tempname.c): Likewise.
17121 (CFLAGS-psignal.c): Likewise.
17122 (CFLAGS-vprintf.c): Likewise.
17123 (CFLAGS-cuserid.c): Likewise.
17124 (CFLAGS-errlist.c): Likewise.
17125 (CFLAGS-siglist.c): Likewise.
17126 (CFLAGS-scanf15.c): Likewise.
17127 (CFLAGS-scanf17.c): Likewise.
17128 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
17129 (CFLAGS-msort.c): Likewise.
17130 (CFLAGS-qsort.c): Likewise.
17131 (CFLAGS-system.c): Likewise.
17132 (CFLAGS-fmtmsg.c): Likewise.
17133 (CFLAGS-strfmon.c): Likewise.
17134 (CFLAGS-strfmon_l.c): Likewise.
17135 (CFLAGS-strfromd.c): Likewise.
17136 (CFLAGS-strfromf.c): Likewise.
17137 (CFLAGS-strfroml.c): Likewise.
17138 (CFLAGS-tst-bsearch.c): Likewise.
17139 (CFLAGS-tst-qsort.c): Likewise.
17140 (CFLAGS-tst-makecontext2.c): Likewise.
17141 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
17142 (CFLAGS-xnlm_prot.c): Likewise.
17143 (CFLAGS-xrstat.c): Likewise.
17144 (CFLAGS-xyppasswd.c): Likewise.
17145 (CFLAGS-xklm_prot.c): Likewise.
17146 (CFLAGS-xrex.c): Likewise.
17147 (CFLAGS-xsm_inter.c): Likewise.
17148 (CFLAGS-xmount.c): Likewise.
17149 (CFLAGS-xrusers.c): Likewise.
17150 (CFLAGS-xspray.c): Likewise.
17151 (CFLAGS-xnfs_prot.c): Likewise.
17152 (CFLAGS-xrquota.c): Likewise.
17153 (CFLAGS-xkey_prot.c): Likewise.
17154 (CFLAGS-auth_unix.c): Likewise.
17155 (CFLAGS-key_call.c): Likewise.
17156 (CFLAGS-pmap_rmt.c): Likewise.
17157 (CFLAGS-clnt_perr.c): Likewise.
17158 (CFLAGS-openchild.c): Likewise.
17159 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
17160 (CFLAGS-msgsnd.c): Likewise.
17161 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
17162 * time/Makefile (CFLAGS-tzfile.c): Likewise.
17163 (CFLAGS-tzset.c): Likewise.
17164 (CFLAGS-getdate.c): Likewise.
17165 (CFLAGS-test_time.c): Likewise.
17166 (CPPFLAGS-tst-tzname.c): Likewise.
17167 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
17168 (CFLAGS-zic.c): Likewise.
17169 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
17170 (CFLAGS-wcswidth.c): Likewise.
17171 (CFLAGS-wcstol.c): Likewise.
17172 (CFLAGS-wcstoul.c): Likewise.
17173 (CFLAGS-wcstoll.c): Likewise.
17174 (CFLAGS-wcstoull.c): Likewise.
17175 (CFLAGS-wcstod.c): Likewise.
17176 (CFLAGS-wcstold.c): Likewise.
17177 (CFLAGS-wcstof128.c): Likewise.
17178 (CFLAGS-wcstof.c): Likewise.
17179 (CFLAGS-wcstol_l.c): Likewise.
17180 (CFLAGS-wcstoul_l.c): Likewise.
17181 (CFLAGS-wcstoll_l.c): Likewise.
17182 (CFLAGS-wcstoull_l.c): Likewise.
17183 (CFLAGS-wcstod_l.c): Likewise.
17184 (CFLAGS-wcstold_l.c): Likewise.
17185 (CFLAGS-wcstof128_l.c): Likewise.
17186 (CFLAGS-wcstof_l.c): Likewise.
17187 (CPPFLAGS-tst-wchar-h.c): Likewise.
17188 (CPPFLAGS-wcstold_l.c): Likewise.
17189---
f4b2aea6
PC
171902017-12-11 Paul A. Clarke <pc@us.ibm.com>
17191
17192 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
17193
c9cd7b0c
AZ
171942017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17195 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17196
17197 * manual/tunables.texi (Hardware Capability Tunables): Document
17198 glibc.tune.cached_memopt.
17199 * sysdeps/powerpc/cpu-features.c: New file.
17200 * sysdeps/powerpc/cpu-features.h: New file.
17201 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
17202 _dl_powerpc_cpu_features.
17203 * sysdeps/powerpc/dl-tunables.list: New file.
17204 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
17205 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17206 (INIT_ARCH): Initialize use_aligned_memopt.
17207 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
17208 IS_IN(rtld))]: Restrict dl_platform_init availability and
17209 initialize CPU features used by tunables.
17210 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
17211 Add memcpy-power8-cached.
17212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
17213 __memcpy_power8_cached.
17214 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
17216 New file.
17217
e70c6fee
L
172182017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17219
17220 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
17221 (CFLAGS-noinl-tester.c): Likewise.
17222 (CFLAGS-tst-strlen.c): Likewise.
17223 (CFLAGS-stratcliff.c): Likewise.
17224 (CFLAGS-test-ffs.c): Likewise.
17225 (CFLAGS-tst-inlcall.c): Likewise.
17226 (CFLAGS-tst-xbzero-opt.c): Likewise.
17227 (CFLAGS-memcpy.c): Likewise.
17228 (CFLAGS-wordcopy.c): Likewise.
17229
dee94366
SL
172302017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17231
17232 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
17233 Store r15 on stack and add cfi rule.
17234 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17235 Likewise.
17236
363e4519 172372017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
17238
17239 [BZ #22577]
17240 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
17241 call.
17242
9d0ffa60
L
172432017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17244
17245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17246 Add s_sinf-sse2 and s_sinf-fma.
17247 (CFLAGS-s_sinf-fma.c): New.
17248 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
17249 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
17250 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
17251
9574c7b6
L
172522017-12-07 H.J. Lu <hongjiu.lu@intel.com>
17253
17254 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
17255
d15e83c5
JM
172562017-12-07 Joseph Myers <joseph@codesourcery.com>
17257
17258 [BZ #22568]
17259 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
17260 part of result to imaginary part of argument if it is zero and the
17261 real part of the argument is not finite.
17262 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
17263 of result to real part of argument if it is zero and the imaginary
17264 part of the argument is not finite.
17265
d89756eb
MF
172662017-12-07 Mike FABIAN <mfabian@redhat.com>
17267
17268 [BZ #22524]
17269 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
17270 and to the list of locales to be built for testing.
17271 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
17272 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
17273 and build the collation rules upon that.
17274
1f9055ce
JM
172752017-12-07 Joseph Myers <joseph@codesourcery.com>
17276
17277 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
17278 * manual/math.texi (Mathematics): Document support for _Float32.
17279 * math/Makefile (test-types): Add float32.
17280 * math/Versions (GLIBC_2.27): Add _Float32 functions.
17281 * stdlib/Versions (GLIBC_2.27): Likewise.
17282 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17283 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17284 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17285 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17286 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17287 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17288 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17289 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17290 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17291 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17296 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17297 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17299 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17301 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17302 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17304 Likewise.
17305 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17309 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17311 Likewise.
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17313 Likewise.
17314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17315 Likewise.
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17317 Likewise.
17318
17319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17320 Likewise.
17321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17322 Likewise.
17323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17324 Likewise.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17326 Likewise.
17327 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17329 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17330 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17331 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17332 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17333 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17334 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17338 Likewise.
17339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17340 Likewise.
17341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17342 Likewise.
17343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17344 Likewise.
17345 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17351 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17352 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17353
5244527d
JM
173542017-12-06 Joseph Myers <joseph@codesourcery.com>
17355
fb1ca2aa
JM
17356 * stdlib/strtof.c: Include <bits/floatn.h>
17357 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
17358 and later undefine as macro. Define as weak alias if
17359 [!USE_WIDE_CHAR].
17360 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
17361 and later undefine as macro. Define as weak alias if
17362 [USE_WIDE_CHAR].
17363 * stdlib/strtof_l.c: Include <bits/floatn.h>
17364 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
17365 and later undefine as macro. Define as weak alias if
17366 [!USE_WIDE_CHAR].
17367 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
17368 and later undefine as macro. Define as weak alias if
17369 [USE_WIDE_CHAR].
17370
fc10cc3f
JM
17371 * stdlib/strfromf.c: Include <bits/floatn.h>.
17372 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
17373 and later undefine as macro and define as weak alias.
17374
e420d228
JM
17375 * math/test-float32.h: New file.
17376
26007a2f
JM
17377 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
17378 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
17379 (libm_alias_float_other_r): Create f32 alias.
17380 (libm_alias_float_r): Use semicolon before call to
17381 libm_alias_float_other_r.
17382
c191f64c
JM
17383 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
17384 second argument to libm_alias_float_other.
17385 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
17386 second argument to libm_alias_float_other.
17387 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
17388 argument to libm_alias_float_other.
17389
5244527d
JM
17390 [BZ #22561]
17391 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
17392 real part of result for argument 0 + i * NaN.
17393 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
17394 results for tests of 0 + i * NaN.
17395
d73fac82
AZ
173962017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17397
17398 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17399
7ec094e8
DM
174002017-12-06 David S. Miller <davem@davemloft.net>
17401
17402 * sysdeps/sparc/fpu/libm-test-ulps: Update
17403 exp_{downward,towardzero,upward} ulps.
17404
53994f12
JM
174052017-12-06 Joseph Myers <joseph@codesourcery.com>
17406
1dbe6f64
JM
17407 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
17408 variables static.
17409
53994f12
JM
17410 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
17411 (Y0_2D): Likewise.
17412 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
17413 (Y0_2D): Likewise.
17414 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
17415 (Y0_2D): Likewise.
17416 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
17417 (Y0_2D): Likewise.
17418
62ea2193
MF
174192017-12-06 Mike FABIAN <mfabian@redhat.com>
17420
17421 [BZ #22515]
17422 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
17423 and to the list of locales to be built for testing.
17424 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
17425 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
17426 and build the collation rules upon that.
17427
87235d70
RS
174282017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17429
17430 * NEWS: Add sinf to list of optimized functions.
17431
0d93b7fd
JM
174322017-12-06 Joseph Myers <joseph@codesourcery.com>
17433
17434 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
17435 (__HAVE_FLOAT32X): Likewise.
17436 * manual/math.texi (Mathematics): Document support for _Float64
17437 and _Float32x.
17438 * math/Makefile (test-types): Add float64 and float32x.
17439 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
17440 functions.
17441 * stdlib/Versions (GLIBC_2.27): Likewise.
17442 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17443 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17444 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17445 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17446 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17447 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17448 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17449 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17450 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17451 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17452 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17453 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17454 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17455 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17456 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17457 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17458 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17459 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17460 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17464 Likewise.
17465 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17466 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17471 Likewise.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17473 Likewise.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17475 Likewise.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17477 Likewise.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17479 Likewise.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17481 Likewise.
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17483 Likewise.
17484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17485 Likewise.
17486 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17488 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17491 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17492 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17493 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17494 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17495 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17497 Likewise.
17498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17499 Likewise.
17500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17501 Likewise.
17502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17503 Likewise.
17504 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17506 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17507 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17508 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17509 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17510 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17511 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17512
f7787234
JM
175132017-12-05 Joseph Myers <joseph@codesourcery.com>
17514
17515 * bits/floatn-common.h: Include <bits/long-double.h>.
17516 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17517 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
17518 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17519 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
17520 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17521 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
17522 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17523 (__builtin_huge_valf64): Use __builtin_huge_vall.
17524 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17525 (__builtin_inff64): Use __builtin_infl.
17526 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17527 (__builtin_nanf64): Use __builtin_nanl.
17528 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17529 (__builtin_nansf64): Use __builtin_nansl.
17530
363e4519
DL
175312017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
17532 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
17533 Carlos O'Donnell <carlos@redhat.com>
17534
17535 * elf/dl-tunables.list: Add elision parameters.
17536 * manual/tunables.texi: Add entries about elision tunable.
17537 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
17538 Add callback functions to dynamically enable/disable elision.
17539 Add multiple callbacks functions to set elision parameters.
17540 Deleted __libc_enable_secure check.
17541 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
17542 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
17543 * configure: Regenerated.
17544 * configure.ac: Option enable_lock_elision was deleted.
17545 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
17546 * config.make.in: Remove references to enable_lock_elision.
17547 * manual/install.texi: Elision configure option was removed.
17548 * INSTALL: Regenerated to remove enable_lock_elision.
17549 * nptl/Makefile:
17550 Disable elision so it can verify error case for destroying a mutex.
17551 * sysdeps/powerpc/nptl/elide.h:
17552 Cleanup ENABLE_LOCK_ELISION check.
17553 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
17554 * sysdeps/s390/configure: Regenerated.
17555 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
17556 * nptl/tst-mutex8.c:
17557 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
17558 * sysdeps/powerpc/powerpc32/sysdep.h:
17559 Deleted all ENABLE_LOCK_ELISION checks.
17560 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17561 * sysdeps/powerpc/sysdep.h: Likewise.
17562 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
17563 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
17564 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17565 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17566 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17567 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
17568 enable-lock-elision.
17569
a5a2a76b
JM
175702017-12-05 Joseph Myers <joseph@codesourcery.com>
17571
17572 * stdlib/strtod.c: Include <bits/floatn.h>.
17573 (BUILD_DOUBLE): New macro.
17574 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17575 (strtof64): Define and later undefine as macro. Define as weak
17576 alias if [!USE_WIDE_CHAR].
17577 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17578 (wcstof64): Define and later undefine as macro. Define as weak
17579 alias if [USE_WIDE_CHAR].
17580 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17581 (strtof32x): Define and later undefine as macro. Define as weak
17582 alias if [!USE_WIDE_CHAR].
17583 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17584 (wcstof32x): Define and later undefine as macro. Define as weak
17585 alias if [USE_WIDE_CHAR].
17586 * stdlib/strtod_l.c: Include <bits/floatn.h>.
17587 (BUILD_DOUBLE): New macro.
17588 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17589 (strtof64_l): Define and later undefine as macro. Define as weak
17590 alias if [!USE_WIDE_CHAR].
17591 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17592 (wcstof64_l): Define and later undefine as macro. Define as weak
17593 alias if [USE_WIDE_CHAR].
17594 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17595 (strtof32x_l): Define and later undefine as macro. Define as weak
17596 alias if [!USE_WIDE_CHAR].
17597 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17598 (wcstof32x_l): Define and later undefine as macro. Define as weak
17599 alias if [USE_WIDE_CHAR].
17600
94d80dfc
AZ
176012017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17602
17603 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
17604 (reduced): Use ones as double instead of integer.
17605
00d54af7
SN
176062017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
17607
17608 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
17609
f2d64d62
JM
176102017-12-05 Joseph Myers <joseph@codesourcery.com>
17611
1f70eae4
JM
17612 * stdlib/strfromd.c: Include <bits/floatn.h>.
17613 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
17614 and later undefine as macro and define as weak alias.
17615 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
17616 Likewise.
17617
e2c4dce5
JM
17618 * math/test-float32x.h: New file.
17619 * math/test-float64.h: Likewise.
17620
f2d64d62
JM
17621 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
17622 (libm_alias_double_other_r_f64): New macro.
17623 (libm_alias_double_other_r_f32x): Likewise.
17624 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17625 libm_alias_double_other_r_f32x.
17626 (libm_alias_double_r): Use semicolon before call to
17627 libm_alias_double_other_r.
17628 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
17629 <bits/floatn.h>.
17630 (libm_alias_double_other_r_f64): New macro.
17631 (libm_alias_double_other_r_f32x): Likewise.
17632 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17633 libm_alias_double_other_r_f32x.
17634
91c318e7
L
176352017-12-05 H.J. Lu <hongjiu.lu@intel.com>
17636
17637 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
17638 int.
17639 (SINF_FUNC): Likewise. Replace floor with simple casts.
17640
de9661d6
MF
176412017-12-05 Mike FABIAN <mfabian@redhat.com>
17642
17643 [BZ #22517]
17644 * localedata/Makefile: Add et_EE.UTF-8 to test-input
17645 and to the list of locales to be built for testing.
17646 * localedata/et_EE.UTF-8.in: New file for testing the collation.
17647 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
17648 and build the collation rules upon that.
17649
f18b8dc7
CM
176502017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
17651
17652 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
17653 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
17654 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
17655 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
17656 instead of __insn__xxx.
17657 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
17658 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
17659 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
17660 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
17661 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
17662 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
17663
446d22e9
FW
176642017-12-05 Florian Weimer <fweimer@redhat.com>
17665
17666 Linux: Implement interfaces for memory protection keys
17667 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
17668 xsignal, xsysconf.
17669 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
17670 * support/xunistd.h (xsysconf): Declare.
17671 * support/xraise.c: New file.
17672 * support/xsigaction.c: Likewise.
17673 * support/xsignal.c: Likewise.
17674 * support/xsysconf.c: Likewise.
17675 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
17676 pkey_set, pkey_get, pkey_mprotect.
17677 [misc] (tests): Add tst-pkey.
17678 (tst-pkey): Link with -lpthread.
17679 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
17680 pkey_free, pkey_set, pkey_get, pkey_mprotect.
17681 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
17682 (PKEY_DISABLE_WRITE): Define.
17683 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
17684 Declare.
17685 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
17686 (SEGV_PKUERR): Add.
17687 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
17688 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
17689 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
17690 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
17691 Add.
17692 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
17693 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
17694 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
17695 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
17696 * sysdeps/unix/sysv/linux/**.abilist: Update.
17697
da616c14
FW
176982017-12-05 Florian Weimer <fweimer@redhat.com>
17699
17700 * support/tst-test_compare.c (subprocess): Use long long instead
17701 of long argument for consistent type width across 32-bit and
17702 64-bit architectures.
17703 (do_test): Adjust expected output.
17704
216933b2
JM
177052017-12-05 Joseph Myers <joseph@codesourcery.com>
17706
17707 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
17708 (cosf): Define using libm_alias_float.
17709 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
17710 (fabsf): Define using libm_alias_float.
17711 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
17712 (fmaf): Define using libm_alias_float.
17713 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
17714 (rintf): Define using libm_alias_float.
17715 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
17716 (sinf): Define using libm_alias_float.
17717 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
17718 <libm-alias-float.h>.
17719 (modff): Define using libm_alias_float.
17720 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
17721 <libm-alias-float.h>.
17722 (logbf): Define using libm_alias_float.
17723 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
17724 <libm-alias-float.h>.
17725 (ceilf): Define using libm_alias_float.
17726 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17727 <libm-alias-float.h>.
17728 (copysignf): Define using libm_alias_float.
17729 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
17730 <libm-alias-float.h>.
17731 (floorf): Define using libm_alias_float.
17732 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
17733 <libm-alias-float.h>.
17734 (llrintf): Define using libm_alias_float.
17735 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17736 <libm-alias-float.h>.
17737 (llroundf): Define using libm_alias_float.
17738 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17739 <libm-alias-float.h>.
17740 (lrintf): Define using libm_alias_float.
17741 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17742 <libm-alias-float.h>.
17743 (lroundf): Define using libm_alias_float.
17744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
17745 <libm-alias-float.h>.
17746 (nearbyintf): Define using libm_alias_float.
17747 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
17748 <libm-alias-float.h>.
17749 (rintf): Define using libm_alias_float.
17750 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
17751 <libm-alias-float.h>.
17752 (roundf): Define using libm_alias_float.
17753 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
17754 <libm-alias-float.h>.
17755 (truncf): Define using libm_alias_float.
17756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
17757 Include <libm-alias-float.h>.
17758 (ceilf): Define using libm_alias_float.
17759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
17760 Include <libm-alias-float.h>.
17761 (copysignf): Define using libm_alias_float.
17762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
17763 Include <libm-alias-float.h>.
17764 (floorf): Define using libm_alias_float.
17765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
17766 Include <libm-alias-float.h>.
17767 (llrintf): Define using libm_alias_float.
17768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
17769 Include <libm-alias-float.h>.
17770 (llroundf): Define using libm_alias_float.
17771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
17772 Include <libm-alias-float.h>.
17773 (logbf): Define using libm_alias_float.
17774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
17775 Include <libm-alias-float.h>.
17776 (lrintf): Define using libm_alias_float.
17777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
17778 Include <libm-alias-float.h>.
17779 (lroundf): Define using libm_alias_float.
17780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
17781 Include <libm-alias-float.h>.
17782 (modff): Define using libm_alias_float.
17783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
17784 Include <libm-alias-float.h>.
17785 (roundf): Define using libm_alias_float.
17786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
17787 Include <libm-alias-float.h>.
17788 (truncf): Define using libm_alias_float.
17789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
17790 <libm-alias-float.h>.
17791 (llrintf): Define using libm_alias_float.
17792 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17793 <libm-alias-float.h>.
17794 (llroundf): Define using libm_alias_float.
17795 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
17796 <libm-alias-float.h>.
17797 (ceilf): Define using libm_alias_float.
17798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
17799 <libm-alias-float.h>.
17800 (floorf): Define using libm_alias_float.
17801 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17802 <libm-alias-float.h>.
17803 (llroundf): Define using libm_alias_float.
17804 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17805 <libm-alias-float.h>.
17806 (lroundf): Define using libm_alias_float.
17807 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
17808 <libm-alias-float.h>.
17809 (roundf): Define using libm_alias_float.
17810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
17811 <libm-alias-float.h>.
17812 (truncf): Define using libm_alias_float.
17813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17814 <libm-alias-float.h>.
17815 (copysignf): Define using libm_alias_float.
17816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
17817 <libm-alias-float.h>.
17818 (llrintf): Define using libm_alias_float.
17819 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
17820 <libm-alias-float.h>.
17821 (llroundf): Define using libm_alias_float.
17822 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
17823 <libm-alias-float.h>.
17824 (lrintf): Define using libm_alias_float.
17825 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
17826 <libm-alias-float.h>.
17827 (lroundf): Define using libm_alias_float.
17828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
17829 <libm-alias-float.h>.
17830 (ceilf): Define using libm_alias_float.
17831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
17832 <libm-alias-float.h>.
17833 (copysignf): Define using libm_alias_float.
17834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
17835 <libm-alias-float.h>.
17836 (cosf): Define using libm_alias_float.
17837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
17838 <libm-alias-float.h>.
17839 (floorf): Define using libm_alias_float.
17840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
17841 <libm-alias-float.h>.
17842 (llrintf): Define using libm_alias_float.
17843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
17844 <libm-alias-float.h>.
17845 (llroundf): Define using libm_alias_float.
17846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
17847 <libm-alias-float.h>.
17848 (logbf): Define using libm_alias_float.
17849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
17850 <libm-alias-float.h>.
17851 (modff): Define using libm_alias_float.
17852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
17853 <libm-alias-float.h>.
17854 (roundf): Define using libm_alias_float.
17855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
17856 <libm-alias-float.h>.
17857 (sinf): Define using libm_alias_float.
17858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
17859 <libm-alias-float.h>.
17860 (truncf): Define using libm_alias_float.
17861 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
17862 <libm-alias-float.h>.
17863 (ceilf): Define using libm_alias_float.
17864 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
17865 <libm-alias-float.h>.
17866 (copysignf): Define using libm_alias_float.
17867 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
17868 <libm-alias-float.h>.
17869 (floorf): Define using libm_alias_float.
17870 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
17871 <libm-alias-float.h>.
17872 (llrintf): Define using libm_alias_float.
17873 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
17874 <libm-alias-float.h>.
17875 (llroundf): Define using libm_alias_float.
17876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
17877 <libm-alias-float.h>.
17878 (nearbyintf): Define using libm_alias_float.
17879 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
17880 <libm-alias-float.h>.
17881 (rintf): Define using libm_alias_float.
17882 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
17883 <libm-alias-float.h>.
17884 (roundf): Define using libm_alias_float.
17885 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
17886 <libm-alias-float.h>.
17887 (truncf): Define using libm_alias_float.
17888 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
17889 <libm-alias-float.h>.
17890 (ceilf): Define using libm_alias_float.
17891 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
17892 <libm-alias-float.h>.
17893 (floorf): Define using libm_alias_float.
17894 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
17895 <libm-alias-float.h>.
17896 (llroundf): Define using libm_alias_float.
17897 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
17898 <libm-alias-float.h>.
17899 (roundf): Define using libm_alias_float.
17900 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
17901 <libm-alias-float.h>.
17902 (truncf): Define using libm_alias_float.
17903 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
17904 <libm-alias-float.h>.
17905 (copysignf): Define using libm_alias_float.
17906 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
17907 <libm-alias-float.h>.
17908 (llrintf): Define using libm_alias_float.
17909 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
17910 <libm-alias-float.h>.
17911 (llroundf): Define using libm_alias_float.
17912 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
17913 <libm-alias-float.h>.
17914 (cosf): Define using libm_alias_float.
17915 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
17916 <libm-alias-float.h>.
17917 (llrintf): Define using libm_alias_float.
17918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
17919 <libm-alias-float.h>.
17920 (llroundf): Define using libm_alias_float.
17921 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
17922 <libm-alias-float.h>.
17923 (sinf): Define using libm_alias_float.
17924
93485524
FW
179252017-12-04 Florian Weimer <fweimer@redhat.com>
17926
17927 * support/check.h (TEST_COMPARE): Define.
17928 (support_test_compare_failure): Declare.
17929 * support/Makefile (libsupport-routines): Add
17930 support_test_compare_failure.
17931 (tests): Add tst-test_compare.
17932 * support /support_test_compare_failure.c: New file.
17933 * support/tst-test_compare.c: Likewise.
17934
96b06a19
MF
179352017-12-04 Mike FABIAN <mfabian@redhat.com>
17936
17937 [BZ #22527]
17938 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
17939 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
17940 available, this rewrite of the collation rules does reproduce
17941 the test file in the same order.
17942
1f6d91f3
MF
179432017-12-04 Mike FABIAN <mfabian@redhat.com>
17944
17945 [BZ #10580]
17946 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
17947 digraphs in the month and day names. Using single code points for
17948 digraphs is deprecated. While there are dedicated Unicode
17949 codepoints, for the digraphs, these are included for backwards
17950 compatibility and modern texts use a sequence of Basic Latin
17951 characters. See: https://www.unicode.org/faq/ligature_digraph.html
17952 This makes the month and day names agree exactly with CLDR now,
17953 CLDR does not use the single code points for the digraphs either.
17954
2e49fed8
CM
179552017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
17956
17957 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
17958
73895b49
JM
179592017-12-04 Joseph Myers <joseph@codesourcery.com>
17960
17961 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
17962 of floor.
17963
4c1d801a
SP
179642017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
17965
17966 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
17967 Define only for libc.so.
17968
478593e6
SL
179692017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17970
17971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17972 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
17973 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
17974 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
17975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17976
7863a711
RS
179772017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17978
17979 [BZ #5997]
17980 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
17981
800a496a
JDA
179822017-12-02 John David Anglin <danglin@gcc.gnu.org>
17983
b3f7fb12
JDA
17984 [BZ libc/19170]
17985 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
17986 PREINIT_FUNCTION_WEAK is nonzero.
17987 (gmon_initializer): New function. Put procedure label for it in
17988 .init_array section.
17989 (_init): Don't call PREINIT_FUNCTION.
17990 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
17991 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
17992 value when map argument is null.
17993
800a496a
JDA
17994 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
17995 depi instruction from PIC pc-relative sequence.
17996 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
17997 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
17998 (elf_machine_load_address): Likewise.
17999 (elf_machine_runtime_setup): Likewise.
18000
d17542d2
JM
180012017-12-02 Joseph Myers <joseph@codesourcery.com>
18002
18003 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18004 <libm-alias-double.h>.
18005 (logb): Define using libm_alias_double.
18006 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18007 <libm-alias-double.h>.
18008 (copysign): Define using libm_alias_double.
18009 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18010 <libm-alias-double.h>.
18011 (llrint): Define using libm_alias_double.
18012 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18013 <libm-alias-double.h>.
18014 (llround): Define using libm_alias_double.
18015 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18016 <libm-alias-double.h>.
18017 (lrint): Define using libm_alias_double.
18018 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18019 <libm-alias-double.h>.
18020 (lround): Define using libm_alias_double.
18021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18022 Include <libm-alias-double.h>.
18023 (copysign): Define using libm_alias_double.
18024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18025 Include <libm-alias-double.h>.
18026 (llrint): Define using libm_alias_double.
18027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18028 Include <libm-alias-double.h>.
18029 (llround): Define using libm_alias_double.
18030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18031 <libm-alias-double.h>.
18032 (logb): Define using libm_alias_double.
18033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18034 Include <libm-alias-double.h>.
18035 (lrint): Define using libm_alias_double.
18036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18037 Include <libm-alias-double.h>.
18038 (lround): Define using libm_alias_double.
18039 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18040 <libm-alias-double.h>.
18041 (llrint): Define using libm_alias_double.
18042 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18043 <libm-alias-double.h>.
18044 (llround): Define using libm_alias_double.
18045 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18046 <libm-alias-double.h>.
18047 (llround): Define using libm_alias_double.
18048 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18049 <libm-alias-double.h>.
18050 (lround): Define using libm_alias_double.
18051 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18052 <libm-alias-double.h>.
18053 (copysign): Define using libm_alias_double.
18054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18055 <libm-alias-double.h>.
18056 (llrint): Define using libm_alias_double.
18057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18058 <libm-alias-double.h>.
18059 (llround): Define using libm_alias_double.
18060 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18061 <libm-alias-double.h>.
18062 (lrint): Define using libm_alias_double.
18063 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18064 <libm-alias-double.h>.
18065 (lround): Define using libm_alias_double.
18066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18067 <libm-alias-double.h>.
18068 (copysign): Define using libm_alias_double.
18069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18070 <libm-alias-double.h>.
18071 (llrint): Define using libm_alias_double.
18072 (lrint): Likewise.
18073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18074 <libm-alias-double.h>.
18075 (llround): Define using libm_alias_double.
18076 (lround): Likewise.
18077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18078 <libm-alias-double.h>.
18079 (logb): Define using libm_alias_double.
18080 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18081 <libm-alias-double.h>.
18082 (copysign): Define using libm_alias_double.
18083 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18084 <libm-alias-double.h>.
18085 (llrint): Define using libm_alias_double.
18086 (lrint): Likewise.
18087 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18088 <libm-alias-double.h>.
18089 (llround): Define using libm_alias_double.
18090 (lround): Likewise.
18091 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18092 <libm-alias-double.h>.
18093 (llround): Define using libm_alias_double.
18094 (lround): Likewise.
18095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18096 <libm-alias-double.h>.
18097 (copysign): Define using libm_alias_double.
18098 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18099 <libm-alias-double.h>.
18100 (llrint): Define using libm_alias_double.
18101 (lrint): Likewise.
18102 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18103 <libm-alias-double.h>.
18104 (llround): Define using libm_alias_double.
18105 (lround): Likewise.
18106 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18107 <libm-alias-double.h>.
18108 (llrint): Define using libm_alias_double.
18109 (lrint): Likewise.
18110 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18111 <libm-alias-double.h>.
18112 (llround): Define using libm_alias_double.
18113 (lround): Likewise.
18114
ec2cf3f4
JM
181152017-12-01 Joseph Myers <joseph@codesourcery.com>
18116
0ddde474
JM
18117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18118 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18119 compat symbol based on llround.
18120
0d5ba561
JM
18121 * sysdeps/powerpc/power7/fpu/s_logb.c
18122 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18123 symbol based on __logb, not on logb.
18124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
18125 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
18127 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18128
51ea3b20
JM
18129 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
18130 (rint): Define using libm_alias_double.
18131 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
18132 <libm-alias-double.h>.
18133 (modf): Define using libm_alias_double.
18134 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
18135 <libm-alias-double.h>.
18136 (ceil): Define using libm_alias_double.
18137 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
18138 <libm-alias-double.h>.
18139 (floor): Define using libm_alias_double.
18140 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
18141 <libm-alias-double.h>.
18142 (nearbyint): Define using libm_alias_double.
18143 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
18144 <libm-alias-double.h>.
18145 (rint): Define using libm_alias_double.
18146 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
18147 <libm-alias-double.h>.
18148 (round): Define using libm_alias_double.
18149 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
18150 <libm-alias-double.h>.
18151 (trunc): Define using libm_alias_double.
18152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
18153 <libm-alias-double.h>.
18154 (ceil): Define using libm_alias_double.
18155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
18156 Include <libm-alias-double.h>.
18157 (floor): Define using libm_alias_double.
18158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
18159 <libm-alias-double.h>.
18160 (modf): Define using libm_alias_double.
18161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
18162 Include <libm-alias-double.h>.
18163 (round): Define using libm_alias_double.
18164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
18165 Include <libm-alias-double.h>.
18166 (trunc): Define using libm_alias_double.
18167 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
18168 <libm-alias-double.h>.
18169 (ceil): Define using libm_alias_double.
18170 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
18171 <libm-alias-double.h>.
18172 (floor): Define using libm_alias_double.
18173 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
18174 <libm-alias-double.h>.
18175 (round): Define using libm_alias_double.
18176 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
18177 <libm-alias-double.h>.
18178 (trunc): Define using libm_alias_double.
18179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
18180 <libm-alias-double.h>.
18181 (ceil): Define using libm_alias_double.
18182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
18183 <libm-alias-double.h>.
18184 (floor): Define using libm_alias_double.
18185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
18186 <libm-alias-double.h>.
18187 (modf): Define using libm_alias_double.
18188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
18189 <libm-alias-double.h>.
18190 (round): Define using libm_alias_double.
18191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
18192 <libm-alias-double.h>.
18193 (trunc): Define using libm_alias_double.
18194 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
18195 <libm-alias-double.h>.
18196 (ceil): Define using libm_alias_double.
18197 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
18198 <libm-alias-double.h>.
18199 (floor): Define using libm_alias_double.
18200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
18201 <libm-alias-double.h>.
18202 (nearbyint): Define using libm_alias_double.
18203 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
18204 <libm-alias-double.h>.
18205 (rint): Define using libm_alias_double.
18206 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
18207 <libm-alias-double.h>.
18208 (round): Define using libm_alias_double.
18209 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
18210 <libm-alias-double.h>.
18211 (trunc): Define using libm_alias_double.
18212 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
18213 <libm-alias-double.h>.
18214 (ceil): Define using libm_alias_double.
18215 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
18216 <libm-alias-double.h>.
18217 (floor): Define using libm_alias_double.
18218 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
18219 <libm-alias-double.h>.
18220 (round): Define using libm_alias_double.
18221 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
18222 <libm-alias-double.h>.
18223 (trunc): Define using libm_alias_double.
18224
ec2cf3f4
JM
18225 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
18226 (fabs): Define using libm_alias_double.
18227 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
18228 (fma): Define using libm_alias_double.
18229 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
18230 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
18231 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
18232 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
18233
5b7bd975
AZ
182342017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18235
0594b13f
AZ
18236 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
18237
dbdfcf3b
AZ
18238 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
18239 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
18240 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18241
5b7bd975
AZ
18242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
18243 due redirect macro.
18244
ef9ecfa6
AS
182452017-12-01 Andreas Schwab <schwab@linux-m68k.org>
18246
18247 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
18248
5b4e5e78
AZ
182492017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18250
2a14526b
AZ
18251 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
18252 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
18253 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
18254 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
18255
dbeb74ef 18256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
18257 (libm-sysdep_routines): Add s_nearbyintf-generic and
18258 s_nearbyint-generic.
18259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
18260 New file.
18261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
18262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
18263 Likewise.
18264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
18265 Likewise.
18266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
18267 file.
18268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18269 Likewise.
18270
18271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
18272 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
18273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
18274 file.
18275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
18276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
18277 Likewise.
18278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
18279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
18280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18281
fa7ded96
AZ
18282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18283 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
18284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
18285 file.
18286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
18287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
18288 Likewise.
18289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
18290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
18291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
18292
e240cf0e
AZ
18293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18294 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
18295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
18296 file.
18297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
18298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
18299 Likewise.
18300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
18301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
18302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18303
5b4e5e78
AZ
18304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18305 (sysdep_calls): New rule.
18306 (sysdep_routines): Use sysdep_calls as base.
18307 (libm-sysdep_routines): Add generic rule for symbols shared with
18308 libc. Add s_copysign-generic and s_copysign-generic objects.
18309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
18310 New file.
18311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
18312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
18313 Likewise.
18314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
18315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
18316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
18317
d985adae
MF
183182017-12-01 Mike FABIAN <mfabian@redhat.com>
18319
18320 [BZ #22519]
18321 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
18322 the list of locales to be built for testing.
18323 * localedata/is_IS.UTF-8.in: New file.
18324 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
18325 on iso14651_t1.
18326
ff84a0e0
JM
183272017-12-01 Joseph Myers <joseph@codesourcery.com>
18328
18329 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
18330 <libm-alias-float.h>.
18331 (fabsf): Define using libm_alias_float.
18332
ef5d8b43
L
183332017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18334
18335 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
18336
c0535adf
JM
183372017-11-30 Joseph Myers <joseph@codesourcery.com>
18338
f938b397
JM
18339 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
18340 <libm-alias-float.h>.
18341 (fabsf): Define using libm_alias_float.
18342 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
18343 <libm-alias-float.h>.
18344 (lrintf): Define using libm_alias_float.
18345 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
18346 <libm-alias-float.h>.
18347 (rintf): Define using libm_alias_float.
18348
2251fad0
JM
18349 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
18350 <libm-alias-double.h>.
18351 (fabs): Define using libm_alias_double.
18352 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
18353 <libm-alias-double.h>.
18354 (lrint): Define using libm_alias_double.
18355 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
18356 <libm-alias-double.h>.
18357 (rint): Define using libm_alias_double.
18358
e53df1de
JM
18359 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
18360 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
18361 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
18362 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
18363 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
18364 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
18365 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
18366 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
18367 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
18368 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
18369 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
18370 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
18371 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
18372 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
18373 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
18374 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
18375 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
18376 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
18377 s_atan_template.c.
18378 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
18379 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
18380 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
18381 s_ceil_template.c.
18382 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
18383 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
18384 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
18385 s_cos_template.c.
18386 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
18387 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
18388 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
18389 s_expm1_template.c.
18390 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
18391 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
18392 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
18393 s_fabs_template.c.
18394 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
18395 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
18396 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
18397 s_floor_template.c.
18398 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
18399 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
18400 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
18401 s_frexp_template.c.
18402 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
18403 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
18404 s_lrint_template.c.
18405 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
18406 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
18407 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
18408 s_modf_template.c.
18409 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
18410 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
18411 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
18412 s_nearbyint_template.c.
18413 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
18414 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
18415 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
18416 s_remquo_template.c.
18417 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
18418 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
18419 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
18420 s_rint_template.c.
18421 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
18422 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
18423 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
18424 s_sin_template.c.
18425 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
18426 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
18427 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
18428 s_sincos_template.c.
18429 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
18430 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
18431 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
18432 s_tan_template.c.
18433 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
18434 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
18435 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
18436 s_tanh_template.c.
18437 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
18438 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
18439 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
18440 s_trunc_template.c.
18441 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
18442 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
18443 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
18444 s_atan.c instead of including s_atan.c.
18445 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
18446 s_atanf.c instead of including s_atanf.c.
18447 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
18448 s_atanl.c instead of including s_atanl.c.
18449 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
18450 instead of s_atan.c.
18451 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
18452 instead of s_atanf.c.
18453 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
18454 instead of s_atanl.c.
18455
c0535adf
JM
18456 * scripts/update-copyrights: Do not handle intl/plural.c
18457 specially.
18458
1faaf703
JB
184592017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
18460
18461 [BZ #22432]
18462 * configure.ac (BISON): Require to be present.
18463 * configure: Regenerated.
18464 * intl/Makefile (generated): Add plural.c.
18465 [$(BISON) != no]: Make code unconditional.
18466 (plural.c): Change rule to $(objpfx)plural.c.
18467 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
18468 * intl/plural.c: Remove.
18469 * manual/install.texi (Tools for Compilation): Document bison as
18470 required.
18471 * INSTALL: Regenerated.
18472
faec6323
JM
184732017-11-30 Joseph Myers <joseph@codesourcery.com>
18474
bd6ea9ed
JM
18475 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
18476 <libm-alias-double.h>.
18477 (llrint): Define using libm_alias_double.
18478 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
18479 <libm-alias-float.h>.
18480 (llrintf): Define using libm_alias_float.
18481 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
18482 <libm-alias-ldouble.h>.
18483 (llrintl): Define using libm_alias_ldouble.
18484
faec6323
JM
18485 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
18486 declare_mgen_alias instead of weak_alias.
18487 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
18488 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
18489 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
18490
023cade3
AZ
184912017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18492
9e2279a0
AZ
18493 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18494 Add add_n-generic.
18495 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
18496 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
18497 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
18498
75f37c71
AZ
18499 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18500 Add submul_1-generic.
18501 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
18502 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
18503 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
18504
b70cbbfc 18505 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
18506 Add addmul_1-generic.
18507 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
18508 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
18509 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
18510
18511 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
18512 Add sub_n-generic.
18513 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
18514 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
18515 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
18516
023cade3
AZ
18517 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18518 Add mul_1-generic.
18519 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
18520 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
18521 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
18522
fbb5fd03
MF
185232017-11-30 Mike FABIAN <mfabian@redhat.com>
18524
18525 According to CLDR, collation rules for Serbian and Bosnian
18526 should be the same as for Croatian.
18527
18528 [BZ #22534]
18529 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
18530 and to the list of locales to be built for testing.
18531 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18532 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18533 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
18534 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
18535
5e56e937
MF
185362017-11-30 Mike FABIAN <mfabian@redhat.com>
18537
18538 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
18539 to make test case pass.
18540 * localedata/hr_HR.UTF-8.in: Add more test strings.
18541
cf4341ca
MF
185422017-11-30 Mike FABIAN <mfabian@redhat.com>
18543
18544 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
18545
363e4519 185462017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
18547
18548 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
18549 the list of locales to built for testing.
18550 * localedata/hr_HR.UTF-8.in: New file.
18551
363e4519 185522017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
18553
18554 [BZ #10580]
18555 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
18556 iso14651_t1.
18557 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
18558 CLDR (except use ligatures for the digraphs, CLDR does not use
18559 the ligatures), add first_workday, some fixes in the date and time
18560 formats.
18561 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
18562 for Đ and đ.
18563 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
18564 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
18565 Add int_p_cs_precedes and int_n_cs_precedes.
18566 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
18567 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
18568 LC_MONETARY now).
18569 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
18570 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
18571 name_miss.
18572 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
18573 and lang_lib. Change postal_fmt.
18574
f33632cc
L
185752017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18576
18577 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
18578 <setjmp.h>.
18579 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18580 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
18581 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18582 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
18583 * sysdeps/generic/setjmpP.h: New file.
18584 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
18585 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
18586 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
18587 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
18588 Add jmp_buf-ssp.sym.
18589 (tests): Add tst-saved_mask-1.
18590
34697694
AS
185912017-11-30 Arjun Shankar <arjun@redhat.com>
18592
18593 [BZ #22375]
37ac8e63 18594 CVE-2017-17426
34697694
AS
18595 * malloc/malloc.c (__libc_malloc): Use checked_request2size
18596 instead of request2size.
18597
3e5efdbd
JM
185982017-11-30 Joseph Myers <joseph@codesourcery.com>
18599
18305fba
JM
18600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
18601 (__lllrint): Remove alias.
18602 (lllrint): Likewise.
18603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
18604 (__lllrintf): Likewise.
18605 (lllrintf): Likewise.
18606
3e5efdbd
JM
18607 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
18608 <libm-alias-float.h>.
18609 (copysignf): Define using libm_alias_float.
18610 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
18611 <libm-alias-float.h>.
18612 (fabsf): Define using libm_alias_float.
18613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18614 Include <libm-alias-float.h>.
18615 (copysignf): Define using libm_alias_float.
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
18617 <libm-alias-float.h>.
18618 (fabsf): Define using libm_alias_float.
18619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
18620 <libm-alias-float.h>.
18621 (fdimf): Define using libm_alias_float.
18622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
18623 <libm-alias-float.h>.
18624 (fmaf): Define using libm_alias_float.
18625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
18626 <libm-alias-float.h>.
18627 (llrintf): Define using libm_alias_float.
18628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18629 Include <libm-alias-float.h>.
18630 (nearbyintf): Define using libm_alias_float.
18631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
18632 <libm-alias-float.h>.
18633 (rintf): Define using libm_alias_float.
18634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
18635 <libm-alias-float.h>.
18636 (llrintf): Define using libm_alias_float.
18637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
18638 <libm-alias-float.h>.
18639 (lrintf): Define using libm_alias_float.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
18641 <libm-alias-float.h>.
18642 (nearbyintf): Define using libm_alias_float.
18643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
18644 <libm-alias-float.h>.
18645 (rintf): Define using libm_alias_float.
18646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
18647 <libm-alias-float.h>.
18648 (ceilf): Define using libm_alias_float.
18649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
18650 <libm-alias-float.h>.
18651 (floorf): Define using libm_alias_float.
18652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
18653 <libm-alias-float.h>.
18654 (fmaf): Define using libm_alias_float.
18655 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
18656 <libm-alias-float.h>.
18657 (lrintf): Define using libm_alias_float.
18658 (llrintf): Likewise.
18659 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
18660 <libm-alias-float.h>.
18661 (nearbyintf): Define using libm_alias_float.
18662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
18663 <libm-alias-float.h>.
18664 (rintf): Define using libm_alias_float.
18665 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
18666 <libm-alias-float.h>.
18667 (truncf): Define using libm_alias_float.
18668 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
18669 <libm-alias-float.h>.
18670 (copysignf): Define using libm_alias_float.
18671 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
18672 <libm-alias-float.h>.
18673 (fabsf): Define using libm_alias_float.
18674 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
18675 <libm-alias-float.h>.
18676 (lrintf): Define using libm_alias_float.
18677 (llrintf): Likewise.
18678 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
18679 <libm-alias-float.h>.
18680 (nearbyintf): Define using libm_alias_float.
18681 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
18682 <libm-alias-float.h>.
18683 (rintf): Define using libm_alias_float.
18684
011fba7e
JM
186852017-11-29 Joseph Myers <joseph@codesourcery.com>
18686
875cd548
JM
18687 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
18688 <libm-alias-double.h>.
18689 (copysign): Define using libm_alias_double.
18690 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
18691 <libm-alias-double.h>.
18692 (fabs): Define using libm_alias_double.
18693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18694 Include <libm-alias-double.h>.
18695 (copysign): Define using libm_alias_double.
18696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
18697 <libm-alias-double.h>.
18698 (fabs): Define using libm_alias_double.
18699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
18700 <libm-alias-double.h>.
18701 (fdim): Define using libm_alias_double.
18702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
18703 <libm-alias-double.h>.
18704 (fma): Define using libm_alias_double.
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
18706 <libm-alias-double.h>.
18707 (llrint): Define using libm_alias_double.
18708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
18709 Include <libm-alias-double.h>.
18710 (nearbyint): Define using libm_alias_double.
18711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
18712 <libm-alias-double.h>.
18713 (rint): Define using libm_alias_double.
18714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
18715 <libm-alias-double.h>.
18716 (fabs): Define using libm_alias_double.
18717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
18718 <libm-alias-double.h>.
18719 (llrint): Define using libm_alias_double.
18720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
18721 <libm-alias-double.h>.
18722 (nearbyint): Define using libm_alias_double.
18723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
18724 <libm-alias-double.h>.
18725 (rint): Define using libm_alias_double.
18726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
18727 <libm-alias-double.h>.
18728 (ceil): Define using libm_alias_double.
18729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
18730 <libm-alias-double.h>.
18731 (floor): Define using libm_alias_double.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
18733 <libm-alias-double.h>.
18734 (fma): Define using libm_alias_double.
18735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
18736 <libm-alias-double.h>.
18737 (lrint): Define using libm_alias_double.
18738 (llrint): Likewise.
18739 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
18740 <libm-alias-double.h>.
18741 (nearbyint): Define using libm_alias_double.
18742 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
18743 <libm-alias-double.h>.
18744 (rint): Define using libm_alias_double.
18745 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
18746 <libm-alias-double.h>.
18747 (trunc): Define using libm_alias_double.
18748 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
18749 <libm-alias-double.h>.
18750 (copysign): Define using libm_alias_double.
18751 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
18752 <libm-alias-double.h>.
18753 (fabs): Define using libm_alias_double.
18754 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
18755 <libm-alias-double.h>.
18756 (lrint): Define using libm_alias_double.
18757 (llrint): Likewise.
18758 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
18759 <libm-alias-double.h>.
18760 (nearbyint): Define using libm_alias_double.
18761 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
18762 <libm-alias-double.h>.
18763 (rint): Define using libm_alias_double.
18764
cf4ebc27
JM
18765 [BZ #22229]
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
18767 <math_ldbl_opt.h>.
18768 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
18769
0c097378
JM
18770 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18771 SPARC --disable-multi-arch glibc variants.
18772
34bb10aa
JM
18773 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
18774 <libm-alias-float.h>.
18775 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18776 if [SHARED].
18777 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
18778 <libm-alias-float.h>.
18779 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18780 if [SHARED].
18781 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
18782 <libm-alias-float.h>.
18783 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18784 if [SHARED].
18785 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
18786 <libm-alias-float.h>.
18787 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18788 if [SHARED].
18789 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
18790 <libm-alias-float.h>.
18791 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18792 if [SHARED].
18793 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
18794 <libm-alias-float.h>.
18795 (ceilf): Define using libm_alias_float.
18796 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
18797 <libm-alias-float.h>.
18798 (floorf): Define using libm_alias_float.
18799 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
18800 <libm-alias-float.h>.
18801 (fmaf): Define using libm_alias_float.
18802 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
18803 <libm-alias-float.h>.
18804 (nearbyintf): Define using libm_alias_float.
18805 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
18806 <libm-alias-float.h>.
18807 (rintf): Define using libm_alias_float.
18808 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
18809 <libm-alias-float.h>.
18810 (truncf): Define using libm_alias_float.
18811 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
18812 (copysignf): Define using libm_alias_float.
18813 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
18814 (cosf): Define using libm_alias_float.
18815 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
18816 (fabsf): Define using libm_alias_float.
18817 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18818 (fmaxf): Define using libm_alias_float.
18819 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
18820 (fminf): Define using libm_alias_float.
18821 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
18822 (llrintf): Define using libm_alias_float.
18823 [!__ILP32__] (lrintf): Likewise.
18824 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
18825 (sincosf): Define using libm_alias_float.
18826 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
18827 (sinf): Define using libm_alias_float.
18828 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
18829 (lrintf): Define using libm_alias_float.
18830
011fba7e
JM
18831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
18832 <libm-alias-double.h>.
18833 (atan): Define using libm_alias_double.
18834 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
18835 <libm-alias-double.h>.
18836 (ceil): Define using libm_alias_double.
18837 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
18838 <libm-alias-double.h>.
18839 (floor): Define using libm_alias_double.
18840 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
18841 <libm-alias-double.h>.
18842 (fma): Define using libm_alias_double.
18843 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
18844 <libm-alias-double.h>.
18845 (nearbyint): Define using libm_alias_double.
18846 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
18847 <libm-alias-double.h>.
18848 (rint): Define using libm_alias_double.
18849 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
18850 <libm-alias-double.h>.
18851 (sin): Define using libm_alias_double.
18852 (cos): Likewise.
18853 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
18854 <libm-alias-double.h>.
18855 (tan): Define using libm_alias_double.
18856 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
18857 <libm-alias-double.h>.
18858 (trunc): Define using libm_alias_double.
18859 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
18860 (copysign): Define using libm_alias_double.
18861 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
18862 (fabs): Define using libm_alias_double.
18863 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
18864 (fmax): Define using libm_alias_double.
18865 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
18866 (fmin): Define using libm_alias_double.
18867 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
18868 (llrint): Define using libm_alias_double.
18869 [!__ILP32__] (lrint): Likewise.
18870 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
18871 (lrint): Define using libm_alias_double.
18872
1cbd7bfe
AZ
188732017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18874
21bfcc3d
AZ
18875 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18876 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
18877 objects.
18878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
18879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
18880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
18881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
18882 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
18883 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18884
522228dd
AZ
18885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18886 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
18887 objects.
18888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
18889 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
18890 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
18891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
18892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
18893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18894
2a6f4fab
AZ
18895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18896 (libm-sysdep_routines): Add s_nearbyint-generic and
18897 s_nearbyintf-generic objects.
18898 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
18899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
18900 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
18901 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
18902 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
18904
712b5b83
AZ
18905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18906 Add s_finitef-generic and s_finite-generic objects.
18907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
18908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
18912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
18913
c96d3335
AZ
18914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18915 Add s_isinff-generic and s_isinf-generic objects.
18916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
18917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
18920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18922
c6862a23
AZ
18923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18924 Add s_isnanf-generic and s_isnan-generic objects.
18925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
18926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
18927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18931
1cbd7bfe
AZ
18932 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
18933 macro.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
18935 rule.
18936 (sysdep_routines): Use sysdep_calls as base.
18937 (libm-sysdep_routines): Add generic rule for symbols shared with
18938 libc. Add s_signbit-generic and s_signbitf-generic objects.
18939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
18940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
18942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
18943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18945
aa1142c5
JM
189462017-11-29 Joseph Myers <joseph@codesourcery.com>
18947
18948 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
18949 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
18950 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
18951 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
18952 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
18953 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
18954 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
18955 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
18956 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
18957 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
18958 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
18959 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
18960 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
18961 libm_alias_float_r.
18962 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
18963 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
18964 (logf): Likewise.
18965 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
18966 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
18967 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
18968 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
18969 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
18970 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
18971 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
18972 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
18973 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
18974 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
18975 libm_alias_float.
18976 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
18977 (cosf): Likewise.
18978 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
18979 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
18980 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
18981 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
18982 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
18983 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
18984 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
18985 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
18986 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
18987 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
18988 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
18989 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
18990 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
18991 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
18992 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
18993 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
18994 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
18995 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
18996 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
18997 libm_alias_float.
18998 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
18999 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19000 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19001 * sysdeps/ia64/fpu/w_lgammaf_main.c
19002 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19003 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19004
363e4519
DL
190052017-11-28 Mike FABIAN <mfabian@redhat.com>
19006 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
19007
19008 [BZ #17750]
19009 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19010 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19011 accents sorting.
19012 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19013 sorting.
19014 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19015 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19016 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19017 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19018 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19019 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19020 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19021 instead of “ifdef DIACRIT_BACKWARD”.
19022
a55430cb
AZ
190232017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19024
19025 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19026 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19027 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19028 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19029 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19030 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19037 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19038 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19039 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19040 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19041 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19042 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19044 ($(have-as-vis3) == yes): Remove conditional.
19045 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19046 Likewise.
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19048 file.
19049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19050 file.
19051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19052 file.
19053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19054 file.
19055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19062 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19063
0609ec0a
JM
190642017-11-29 Joseph Myers <joseph@codesourcery.com>
19065
19066 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19067 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19068 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19069 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19070 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19071 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19072 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19073 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19074 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19075 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19076 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19077 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19078 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19079 libm_alias_double_r.
19080 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19081 (log): Likewise.
19082 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19083 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19084 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19085 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19086 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19087 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19088 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19089 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19090 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19091 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19092 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19093 libm_alias_double.
19094 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19095 (cos): Likewise.
19096 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19097 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19098 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19099 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19100 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19101 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19102 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19103 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19104 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19105 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19106 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19107 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19108 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19109 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19110 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19111 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19112 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19113 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19114 libm_alias_double.
19115 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19116 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19117 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19118 * sysdeps/ia64/fpu/w_lgamma_main.c
19119 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19120 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19121
d5bfa34a
JDA
191222017-11-28 John David Anglin <danglin@gcc.gnu.org>
19123
19124 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
19125 address of $global$ into %dp register earlier. Use pc-relative
19126 instruction sequence for PIC case.
19127
bc4e8f9b
JM
191282017-11-28 Joseph Myers <joseph@codesourcery.com>
19129
e4602cba
JM
19130 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
19131 (asinhf): Define using libm_alias_float.
19132 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
19133 (atanf): Define using libm_alias_float.
19134 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
19135 (cbrtf): Define using libm_alias_float.
19136 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
19137 (ceilf): Define using libm_alias_float.
19138 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19139 (copysignf): Define using libm_alias_float.
19140 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
19141 (expm1f): Define using libm_alias_float.
19142 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
19143 (fabsf): Define using libm_alias_float.
19144 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
19145 (floorf): Define using libm_alias_float.
19146 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19147 (fmaxf): Define using libm_alias_float.
19148 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
19149 (fminf): Define using libm_alias_float.
19150 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
19151 (frexpf): Define using libm_alias_float.
19152 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19153 (llrintf): Define using libm_alias_float.
19154 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
19155 (logbf): Define using libm_alias_float.
19156 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19157 (lrintf): Define using libm_alias_float.
19158 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
19159 (nearbyintf): Define using libm_alias_float.
19160 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
19161 (remquof): Define using libm_alias_float.
19162 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
19163 (rintf): Define using libm_alias_float.
19164 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
19165 (truncf): Define using libm_alias_float.
19166 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
19167 <libm-alias-float.h>.
19168 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19169 if [SHARED].
19170 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
19171 <libm-alias-float.h>.
19172 (expf): Define using libm_alias_float, or libm_alias_float_other
19173 if [SHARED].
19174 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
19175 <libm-alias-float.h>.
19176 (log2f): Define using libm_alias_float, or libm_alias_float_other
19177 if [SHARED].
19178 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
19179 <libm-alias-float.h>.
19180 (logf): Define using libm_alias_float, or libm_alias_float_other
19181 if [SHARED].
19182 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
19183 <libm-alias-float.h>.
19184 (powf): Define using libm_alias_float, or libm_alias_float_other
19185 if [SHARED].
19186 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
19187 <libm-alias-float.h>.
19188 (cosf): Define using libm_alias_float.
19189 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
19190 <libm-alias-float.h>.
19191 (sincosf): Define using libm_alias_float.
19192 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
19193 <libm-alias-float.h>.
19194 (sinf): Define using libm_alias_float.
19195 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19196 (fmaxf): Define using libm_alias_float.
19197 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
19198 (fminf): Define using libm_alias_float.
19199 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19200 <libm-alias-float.h>.
19201 (fmaf): Define using libm_alias_float.
19202
bc4e8f9b
JM
19203 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
19204 (asinh): Define using libm_alias_double.
19205 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
19206 (atan): Define using libm_alias_double.
19207 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
19208 (cbrt): Define using libm_alias_double.
19209 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
19210 (ceil): Define using libm_alias_double.
19211 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
19212 (copysign): Define using libm_alias_double.
19213 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
19214 (expm1): Define using libm_alias_double.
19215 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
19216 (fabs): Define using libm_alias_double.
19217 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
19218 (fdim): Define using libm_alias_double.
19219 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
19220 (floor): Define using libm_alias_double.
19221 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
19222 (fmax): Define using libm_alias_double.
19223 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
19224 (fmin): Define using libm_alias_double.
19225 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
19226 (frexp): Define using libm_alias_double.
19227 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
19228 (llrint): Define using libm_alias_double.
19229 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
19230 (logb): Define using libm_alias_double.
19231 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
19232 (lrint): Define using libm_alias_double.
19233 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
19234 (nearbyint): Define using libm_alias_double.
19235 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
19236 (remquo): Define using libm_alias_double.
19237 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
19238 (rint): Define using libm_alias_double.
19239 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
19240 (trunc): Define using libm_alias_double.
19241 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
19242 (fmax): Define using libm_alias_double.
19243 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
19244 (fmin): Define using libm_alias_double.
19245 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
19246 (fma): Define using libm_alias_double.
19247
8d81ce0c
L
192482017-11-28 H.J. Lu <hongjiu.lu@intel.com>
19249
19250 [BZ #22370]
19251 * elf/dl-hwcaps.c (ROUND): Removed.
19252 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
19253 and ELF_NOTE_NEXT_OFFSET.
19254 * elf/dl-load.c (ROUND): Removed.
19255 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19256 * elf/readelflib.c (ROUND): Removed.
19257 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
19258 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
19259 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
19260 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
19261
6940bd96
JM
192622017-11-28 Joseph Myers <joseph@codesourcery.com>
19263
313ba463
JM
19264 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19265 [!__fmaf] (fmaf): Define using libm_alias_float.
19266
6940bd96
JM
19267 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
19268 [!__fma] (fma): Define using libm_alias_double.
19269 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
19270
22c69b6a
MF
192712017-11-28 Mike FABIAN <mfabian@redhat.com>
19272
19273 [BZ #22336]
19274 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
19275 and implement the collation rules for cs from CLDR on top of that.
19276 * Makefile: Add cs_CZ.UTF-8 to test-input.
19277 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
19278
8d7d3ba8
SP
192792017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
19280
19281 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
19282
0422ed1e
VR
192832017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19284 Icarus Sparry <icarus.w.sparry@intel.com>
19285
19286 * benchtests/Makefile:Add BENCHSET to allow subsets of
19287 benchmarks to be run.
19288 * benchtests/README: Add documentation for: Running subsets of
19289 benchmarks.
19290
0595e360
VR
192912017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19292
d5090db3
VR
19293 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
19294 range of tests names.
19295
0595e360
VR
19296 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
19297 result from property and remove "max", min" and "mean" from
19298 required properties based on benchtests/bench-skeleton.c.
19299
b4c645c2
FW
193002017-11-28 Florian Weimer <fweimer@redhat.com>
19301
19302 [BZ #20826]
19303 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
19304 due to Internet requirement.
19305 * posix/Makefile (tests): Remove tst-getaddrinfo4,
19306 tst-getaddrinfo5.
19307 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
19308
88684de7
AZ
193092017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19310
69056564
AZ
19311 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19312 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
19313 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19314 (sysdep_routines): Add memset-ultra1.
19315 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
19316 file.
19317 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
19318 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
19319 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
19320 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
19321 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
19322 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
19323 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
19324 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19325
88684de7
AZ
19326 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
19327 file.
19328 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
19329 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
19330 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
19331 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
19332 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
19333 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
19334 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
19335 macro.
19336 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19337 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
19338 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19339 (sysdep_routines): Add memcpy-ultra1.
19340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
19341 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
19342
d8124864
JM
193432017-11-28 Joseph Myers <joseph@codesourcery.com>
19344
f433d0b3
JM
19345 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
19346 (cfloat_versions): Take function argument without trailing 'f'.
19347 Call libm_alias_float_other.
19348 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
19349 * sysdeps/alpha/fpu/cargf.c: Likewise.
19350 * sysdeps/alpha/fpu/cimagf.c: Likewise.
19351 * sysdeps/alpha/fpu/conjf.c: Likewise.
19352 * sysdeps/alpha/fpu/crealf.c: Likewise.
19353 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
19354 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
19355 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
19356 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
19357 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
19358 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
19359 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
19360 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19361 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
19362 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
19363 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
19364 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
19365 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
19366 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
19367 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
19368 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
19369 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
19370 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
19371 (clog10f): Use libm_alias_float_other.
19372 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19373 (ceilf): Define using libm_alias_float.
19374 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
19375 (copysignf): Define using libm_alias_float.
19376 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19377 (fabsf): Define using libm_alias_float.
19378 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
19379 (floorf): Define using libm_alias_float.
19380 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
19381 (fmaxf): Define using libm_alias_float.
19382 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
19383 (fminf): Define using libm_alias_float.
19384 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19385 (lrintf): Define using libm_alias_float.
19386 (llrintf): Likewise.
19387 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19388 (lroundf): Define using libm_alias_float.
19389 (llroundf): Likewise.
19390 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
19391 (rintf): Define using libm_alias_float.
19392 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
19393 (truncf): Define using libm_alias_float.
19394
15ff4900
JM
19395 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19396 (ceilf): Define using libm_alias_float.
19397 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
19398 (floorf): Define using libm_alias_float.
19399 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19400 (fmaf): Define using libm_alias_float.
19401 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
19402 (fmaxf): Define using libm_alias_float.
19403 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
19404 (fminf): Define using libm_alias_float.
19405 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
19406 (llrintf): Define using libm_alias_float.
19407 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
19408 (llroundf): Define using libm_alias_float.
19409 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19410 (lrintf): Define using libm_alias_float.
19411 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19412 (lroundf): Define using libm_alias_float.
19413 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
19414 <libm-alias-float.h>.
19415 (nearbyintf): Define using libm_alias_float.
19416 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
19417 (rintf): Define using libm_alias_float.
19418 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
19419 (roundf): Define using libm_alias_float.
19420 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
19421 (truncf): Define using libm_alias_float.
19422
5de60638
JM
19423 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
19424 (ceil): Define using libm_alias_double.
19425 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
19426 (copysign): Define using libm_alias_double.
19427 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
19428 (fabs): Define using libm_alias_double.
19429 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
19430 (floor): Define using libm_alias_double.
19431 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
19432 (fmax): Define using libm_alias_double.
19433 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
19434 (fmin): Define using libm_alias_double.
19435 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
19436 (lrint): Define using libm_alias_double.
19437 (llrint): Likewise.
19438 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
19439 (lround): Define using libm_alias_double.
19440 (llround): Likewise.
19441 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
19442 (rint): Define using libm_alias_double.
19443 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
19444 (trunc): Define using libm_alias_double.
19445
d8124864
JM
19446 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
19447 (libm_alias_double_r): Add semicolon after weak_alias call.
19448
f07d2ec8
JM
194492017-11-27 Joseph Myers <joseph@codesourcery.com>
19450
19451 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
19452 (ceil): Define using libm_alias_double.
19453 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
19454 (floor): Define using libm_alias_double.
19455 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
19456 (fma): Define using libm_alias_double.
19457 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
19458 (fmax): Define using libm_alias_double.
19459 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
19460 (fmin): Define using libm_alias_double.
19461 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
19462 (llrint): Define using libm_alias_double.
19463 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
19464 (llround): Define using libm_alias_double.
19465 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
19466 (lrint): Define using libm_alias_double.
19467 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
19468 (lround): Define using libm_alias_double.
19469 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
19470 (nearbyint): Define using libm_alias_double.
19471 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
19472 (rint): Define using libm_alias_double.
19473 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
19474 (round): Define using libm_alias_double.
19475 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
19476 (trunc): Define using libm_alias_double.
19477
4bab0224
FW
194782017-11-27 Florian Weimer <fweimer@redhat.com>
19479
19480 * sysdeps/unix/sysv/linux/mlock2.c: New file.
19481 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
19482 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
19483 (tests): Add tst-mlock2.
19484 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
19485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
19486 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
19487 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
19488 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
19489 for mlock. Document mlock2.
19490
a23aa5b7
JM
194912017-11-27 Joseph Myers <joseph@codesourcery.com>
19492
19493 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
19494 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
19495 Likewise.
19496 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
19497 Likewise.
19498 * sysdeps/x86/Makeconfig: New file.
19499 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
19500 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19501 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
19502 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19503 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19504 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19505 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
19506 Likewise.
19507 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19508 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19509 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19510 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19511 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19512 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19513 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19514 * manual/math.texi (Mathematics): Document support for _Float64x.
19515 * math/Versions (GLIBC_2.27): Add _Float64x functions.
19516 * stdlib/Versions (GLIBC_2.27): Likewise.
19517 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19518 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19519 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19520 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19521 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19522 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19523 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19524 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19525 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19526 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19527 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19528 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19530 Likewise.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19532 Likewise.
19533 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19534 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19535 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19536 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19538 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19539 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19540 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19541 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19542 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19543 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19544 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19545 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19546 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19547
c2c299fd
AS
195482017-11-27 Andreas Schwab <schwab@suse.de>
19549
19550 * elf/Makefile (dl-routines): Add dl-sort-maps.
19551 * elf/dl-sort-maps.c: New file.
19552 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
19553 (_dl_sort_maps): Declare.
19554 * elf/dl-fini.c (_dl_sort_fini): Remove.
19555 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
19556 * elf/dl-close.c (_dl_close_worker): Likewise.
19557 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
19558 open-coding it.
19559 * elf/dl-open.c (dl_open_worker): Likewise.
19560
9d4b0117
JM
195612017-11-24 Joseph Myers <joseph@codesourcery.com>
19562
de61465c
JM
19563 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
19564 using libm_alias_float128.
19565 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
19566 Likewise.
19567 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
19568 Likewise.
19569 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
19570 (setpayloadsigf128): Likewise.
19571 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
19572 Likewise.
19573 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
19574 Likewise.
19575
9ae6d171
JM
19576 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
19577 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
19578 -mfloat128 to CFLAGS.
19579 ($(foreach
19580 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
19581 Likewise.
19582 (CFLAGS-libm-test-support-float64x.c): New variable.
19583 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
19584 $(f128-loader-link) to gnulib-tests.
19585
6e70d156
JM
19586 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
19587 (libm_alias_float128_other_r): If
19588 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
19589 alias.
19590 (libm_alias_float128_r): Add semicolon after weak_alias call.
19591 * sysdeps/generic/libm-alias-ldouble.h
19592 (libm_alias_ldouble_other_r_f128): New macro.
19593 (libm_alias_ldouble_other_r_f64x): Likewise.
19594 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19595 and libm_alias_ldouble_other_r_f64x.
19596 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
19597 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
19598 (libm_alias_ldouble_other_r_f128): New macro.
19599 (libm_alias_ldouble_other_r_f64x): Likewise.
19600 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19601 and libm_alias_ldouble_other_r_f64x.
19602
df2806cd
JM
19603 * stdlib/strfroml.c: Always include <stdlib.h>.
19604 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
19605 undefine as macro and define as weak alias.
19606 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
19607 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
19608 <stdlib.h>.
19609 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
19610 Define and later undefine as macro and define as weak alias.
19611
0df4fe35
JM
19612 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19613 Define and later undefine as macro. Define as weak alias if
19614 [!USE_WIDE_CHAR].
19615 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
19616 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19617 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
19618 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19619 Define and later undefine as macro. Define as weak alias if
19620 [!USE_WIDE_CHAR].
19621 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
19622 Define and later undefine as macro. Define as weak alias if
19623 [USE_WIDE_CHAR].
19624 * sysdeps/ieee754/float128/strtof128_l.c
19625 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
19626 Define and later undefine as macro. Define as weak alias if
19627 [!USE_WIDE_CHAR].
19628 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
19629 Define and later undefine as macro. Define as weak alias if
19630 [USE_WIDE_CHAR].
19631 * sysdeps/ieee754/ldbl-128/strtold_l.c
19632 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19633 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19634 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19635 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19636 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
19637 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19638 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19639 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19640 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19641 * sysdeps/ieee754/ldbl-96/strtold_l.c
19642 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19643 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19644 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19645 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19646
ae7207d0
JM
19647 * math/test-float64x.h: New file.
19648 * math/Makefile (type-float64x-yes): New variable.
19649 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
19650
9596fc69
JM
19651 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
19652 function-like macro.
19653 (min_of_type_): Likewise.
19654 (min_of_type_l): Likewise.
19655 (min_of_type_f128): Likewise.
19656 (min_of_type): Pass () as last argument of __MATH_TG.
19657
46453c3c
JM
19658 * stdlib/tst-strtod-round-skeleton.c
19659 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
19660 headers.
19661
01e659e7
JM
19662 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
19663 for combinations of long double with _Float64 and _Float64x.
19664
5c60afdd
JM
19665 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
19666 (__DECL_SIMD_cosf32): Likewise.
19667 (__DECL_SIMD_cosf64): Likewise.
19668 (__DECL_SIMD_cosf32x): Likewise.
19669 (__DECL_SIMD_cosf64x): Likewise.
19670 (__DECL_SIMD_cosf128x): Likewise.
19671 (__DECL_SIMD_sinf16): Likewise.
19672 (__DECL_SIMD_sinf32): Likewise.
19673 (__DECL_SIMD_sinf64): Likewise.
19674 (__DECL_SIMD_sinf32x): Likewise.
19675 (__DECL_SIMD_sinf64x): Likewise.
19676 (__DECL_SIMD_sinf128x): Likewise.
19677 (__DECL_SIMD_sincosf16): Likewise.
19678 (__DECL_SIMD_sincosf32): Likewise.
19679 (__DECL_SIMD_sincosf64): Likewise.
19680 (__DECL_SIMD_sincosf32x): Likewise.
19681 (__DECL_SIMD_sincosf64x): Likewise.
19682 (__DECL_SIMD_sincosf128x): Likewise.
19683 (__DECL_SIMD_logf16): Likewise.
19684 (__DECL_SIMD_logf32): Likewise.
19685 (__DECL_SIMD_logf64): Likewise.
19686 (__DECL_SIMD_logf32x): Likewise.
19687 (__DECL_SIMD_logf64x): Likewise.
19688 (__DECL_SIMD_logf128x): Likewise.
19689 (__DECL_SIMD_expf16): Likewise.
19690 (__DECL_SIMD_expf32): Likewise.
19691 (__DECL_SIMD_expf64): Likewise.
19692 (__DECL_SIMD_expf32x): Likewise.
19693 (__DECL_SIMD_expf64x): Likewise.
19694 (__DECL_SIMD_expf128x): Likewise.
19695 (__DECL_SIMD_powf16): Likewise.
19696 (__DECL_SIMD_powf32): Likewise.
19697 (__DECL_SIMD_powf64): Likewise.
19698 (__DECL_SIMD_powf32x): Likewise.
19699 (__DECL_SIMD_powf64x): Likewise.
19700 (__DECL_SIMD_powf128x): Likewise.
19701
9d4b0117
JM
19702 * stdlib/Versions (libc): Move entries for wcstof128 and
19703 wcstof128_l to ....
19704 * wcsmbs/Versions (libc): ... here.
19705 Include <float128-abi.h>.
19706
7911dd47
FW
197072017-11-24 Florian Weimer <fweimer@redhat.com>
19708
19709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19710 bits/mman-shared.h.
19711 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
19712 <bits/mman-shared.h>.
19713 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
19714 to ...
19715 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
19716 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
19717 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
19718 <bits/mman-shared.h>.
19719
c45d78aa
AZ
197202017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19721
19722 [BZ #22457]
19723 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
19724 posix_memalign/free.
19725 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
19726
3ffc4cc1
MF
197272017-11-22 Mike FABIAN <mfabian@redhat.com>
19728
19729 [BZ #22469]
19730 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
19731 and implement the collation rules for pl from CLDR on top of that.
19732 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
19733 of locales to be built for testing.
19734 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
19735
3a327316
JM
197362017-11-23 Joseph Myers <joseph@codesourcery.com>
19737
19738 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
19739 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
19740 libm_alias_ldouble_other.
19741 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
19742 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
19743 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
19744 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
19745 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
19746 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
19747 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
19748 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
19749 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
19750 libm_alias_ldouble_r.
19751 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
19752 libm_alias_ldouble_other.
19753 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
19754 (log10l): Likewise.
19755 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
19756 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
19757 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
19758 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
19759 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
19760 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
19761 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
19762 (atan2l): Likewise.
19763 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
19764 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
19765 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
19766 libm_alias_ldouble.
19767 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
19768 (cosl): Likewise.
19769 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
19770 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
19771 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
19772 (expl): Likewise.
19773 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
19774 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
19775 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
19776 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
19777 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
19778 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
19779 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
19780 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
19781 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
19782 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
19783 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
19784 libm_alias_ldouble.
19785 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
19786 libm_alias_ldouble_other.
19787 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
19788 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
19789 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
19790 libm_alias_ldouble.
19791 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
19792 libm_alias_ldouble_other.
19793 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
19794 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
19795 * sysdeps/ia64/fpu/w_lgammal_main.c
19796 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
19797 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
19798
0a947e06
FW
197992017-11-23 Florian Weimer <fweimer@redhat.com>
19800
19801 * malloc/malloc.c (tcache_thread_shutdown): Rename from
19802 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
19803 alike. Remove freeres marker.
19804 * malloc/arena.c (arena_thread_freeres): Call
19805 tcache_thread_shutdown.
19806
67f36c79
FW
198072017-11-23 Florian Weimer <fweimer@redhat.com>
19808
19809 [BZ #22459]
19810 Export nscd hash function as __nss_hash.
19811 * include/nss.h (__nss_hash): Declare.
19812 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
19813 symbol.
19814 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
19815 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
19816 of __nscd_hash.
19817 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
19818 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
19819 * nss/Makefiles (routines): Add nss_hash.
19820 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
19821 * nss/nss_hash.c: Rename from nis/nis_hash.c.
19822 (__nss_hash): Rename from __nis_hash. Define hidden alias.
19823 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
19824
cccb6d4e
FW
198252017-11-23 Florian Weimer <fweimer@redhat.com>
19826
19827 [BZ #22478]
19828 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
19829 Return error code, not -1.
19830 * signal/tst-sigwait-eintr.c: New file.
19831 * signal/Makefile (tests): Add tst-sigwait-eintr.
19832
59d2cbb1
FW
198332017-11-23 Florian Weimer <fweimer@redhat.com>
19834
19835 Linux: Add memfd_create system call wrapper
19836 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
19837 tst-memfd_create.
19838 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
19839 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
19840 [__USE_GNU] (memfd_create): Declare.
19841 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
19842 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
19843 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
19844 * sysdeps/unix/sysv/linux/**.abilist: Update.
19845 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
19846
a90d1ac2
JM
198472017-11-22 Joseph Myers <joseph@codesourcery.com>
19848
0a9d1d62
JM
19849 * localedata/gen-locale.sh: Fix typo in variable name.
19850
754034c4
JM
19851 * resolv/res_debug.c (p_secstodate): Condition definition on
19852 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
19853 directly as __p_secstodate, and as a compat symbol. Do not use
19854 libresolv_hidden_def.
19855 * resolv/resolv.h (p_secstodate): Remove macro and function
19856 declaration.
19857 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
19858 using p_secstodate.
19859 * include/resolv.h (__p_secstodate): Do not use
19860 libresolv_hidden_proto.
19861 * resolv/Makefile (tests): Move tst-p_secstodate to ....
19862 (tests-internal): ... here.
19863 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
19864 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
19865 and declare and use __p_secstodate and use compat_symbol_reference
19866 in that case.
19867 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
19868 implementation returning 77.
19869
f120cda6
JM
19870 [BZ #22463]
19871 * resolv/res_debug.c: Include <libc-diag.h>.
19872 (p_secstodate): Assert time_t at least as wide as u_long. On
19873 overflow, use integer seconds since the epoch as output, or use
19874 "<overflow>" as output and set errno to EOVERFLOW if integer
19875 seconds since the epoch would be 14 or more characters.
19876 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
19877 for sprintf call.
19878 * resolv/tst-p_secstodate.c: New file.
19879 * resolv/Makefile (tests): Add tst-p_secstodate.
19880 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
19881
a90d1ac2
JM
19882 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
19883 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19884 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
19885
0285e6bd
PE
198862017-11-22 Paul Eggert <eggert@cs.ucla.edu>
19887
19888 * posix/regcomp.c (init_word_char): Add comments.
19889
4bae6150
JM
198902017-11-22 Joseph Myers <joseph@codesourcery.com>
19891
19892 [BZ #22447]
19893 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
19894 strlen to compute length of ut_user and set trailing NUL byte of
19895 result explicitly.
19896
4b7af5fc
MF
198972017-11-21 Mike FABIAN <mfabian@redhat.com>
19898
19899 [BZ #15537]
19900 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
19901 using “copy "iso14651_t1"” and then implementing the
19902 collation rules for lv from CLDR on top of that.
19903 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
19904 of locales to be built for testing.
19905 * lv_LV.UTF-8.in: New file with test data to test the Latvian
19906 sorting.
19907
922bb78c
JM
199082017-11-21 Joseph Myers <joseph@codesourcery.com>
19909
19910 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
19911 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
19912 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
19913 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
19914 [__USE_MISC] (MADV_HWPOISON): New macro.
19915 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
19916
a3aaa598
AZ
199172017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19918
19919 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
19920 -Wmissing-braces on GCC 4.9.
19921
8beba15d
SL
199222017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
19923
19924 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
19925 * sysdeps/s390/s390-32/start.S (_start): Likewise
19926 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
19927 (thread_start): Likewise.
19928 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
19929 (thread_start): Likewise.
19930 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
19931 (__makecontext_ret): Likewise.
19932 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
19933 (__makecontext_ret): Likewise.
19934
80eb52e3
SL
199352017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
19936
19937 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
19938 __wcschrnul): Remove attribute_hidden.
19939
567d8c1f
PE
199402017-11-20 Paul Eggert <eggert@cs.ucla.edu>
19941
19942 regex: don't assume uint64_t or uint32_t
19943 This avoids -Werror=overflow errors for 32-bit systems in
19944 the 64-bit case. Problem reported by Joseph Myers in:
19945 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
19946 Also, when this code is used in Gnulib it ports to platforms
19947 that lack uint64_t and uint32_t. The C standard doesn't guarantee
19948 them, and on some 32-bit compilers there is no uint64_t.
19949 Problem reported by Gianluigi Tiesi in:
19950 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
19951 * posix/regcomp.c (init_word_char): Don't assume that the types
19952 uint64_t and uint32_t exist. Adapted from Gnulib patch
19953 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
19954 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
19955
4d7632ff
SP
199562017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
19957
5a67c4fa
SP
19958 * sysdeps/aarch64/memset-reg.h: New file.
19959 * sysdeps/aarch64/memset.S: Use it.
19960 (__memset): Rename to MEMSET macro.
19961 [ZVA_MACRO]: Use zva_macro.
19962 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19963 Add memset_generic and memset_falkor.
19964 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
19965 (__libc_ifunc_impl_list): Add memset ifuncs.
19966 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
19967 local variable zva_size.
19968 * sysdeps/aarch64/multiarch/memset.c: New file.
19969 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
19970 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
19971 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
19972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
19973 (DCZID_DZP_MASK): New macro.
19974 (DCZID_BS_MASK): Likewise.
19975 (init_cpu_features): Read and set zva_size.
19976 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
19977 (struct cpu_features): New member zva_size.
19978
eb332f9f
SP
19979 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
19980 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
19981 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
19982
4d7632ff
SP
19983 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
19984 backwards. Fix timing computation.
19985 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
19986 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
19987 on memset by N at a time. Fix timing computation.
19988
a465b89e
FW
199892017-11-20 Florian Weimer <fweimer@redhat.com>
19990
19991 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
19992 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
19993
0f74bbf5
FW
199942017-11-19 Florian Weimer <fweimer@redhat.com>
19995
19996 manual: Document mprotect
19997 * manual/memory.texi (Memory Protection): New section.
19998 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
19999 documentation of PROT_* flags and reference the Memory Protection
20000 section instead.
20001
f6e965ee
FW
200022017-11-19 Florian Weimer <fweimer@redhat.com>
20003
20004 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20005 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20006 (Scatter-Gather): ... to here. Remove misleading comment.
20007
363e4519 200082017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 20009
5f9d1949
CB
20010 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20011 style.
20012
ea69a5c8
CB
20013 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20014 when /proc/<pid>/setgroups does not exist.
20015
8db7f48c
FW
200162017-11-18 Florian Weimer <fweimer@redhat.com>
20017
20018 * sysdeps/unix/sysv/linux/tst-ttyname.c
20019 (become_root_in_mount_ns): Remove.
20020 (do_in_chroot_1): Call support_enter_mount_namespace.
20021 (do_in_chroot_2): Likewise.
20022 (do_test): Call support_become_root early.
20023
273a0c49
FW
200242017-11-18 Florian Weimer <fweimer@redhat.com>
20025
20026 * support/namespace.h (support_enter_mount_namespace): Declare.
20027 * support/support_enter_mount_namespace.c: New file.
20028 * support/Makefile (libsupport-routines): Add
20029 support_enter_mount_namespace.
20030
8adfb0ee
FW
200312017-11-18 Florian Weimer <fweimer@redhat.com>
20032
20033 * support/temp_file.c (support_create_temp_directory): Use
20034 test_dir and do not rely on the presence of the XXXXXX suffix.
20035 * support/temp_file.h (support_create_temp_directory): Update
20036 comment.
20037 * support/tst-xreadlink.c (do_test): Adjust.
20038 * support/support_chroot.c (support_chroot_create): Likewise.
20039
df0c40ee
TMQMF
200402017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20041
20042 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20043 macro.
20044 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20045 htm-no-suspend.
20046
015c6dc2
JM
200472017-11-17 Joseph Myers <joseph@codesourcery.com>
20048
f58e5f48
JM
20049 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20050 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20051 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20052 (ceill): Define using libm_alias_ldouble.
20053 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20054 <libm-alias-ldouble.h>.
20055 (copysignl): Define using libm_alias_ldouble.
20056 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20057 (fabsl): Define using libm_alias_ldouble.
20058 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20059 (floorl): Define using libm_alias_ldouble.
20060 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20061 (fmaxl): Define using libm_alias_ldouble.
20062 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20063 (fminl): Define using libm_alias_ldouble.
20064 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20065 (llrintl): Define using libm_alias_ldouble.
20066 (lrintl): Likewise.
20067 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20068 <libm-alias-ldouble.h>.
20069 (nearbyintl): Define using libm_alias_ldouble.
20070 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20071 (truncl): Define using libm_alias_ldouble.
20072 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20073 <libm-alias-ldouble.h>.
20074 (lrintl): Define using libm_alias_ldouble.
20075
2ce30701
JM
20076 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20077 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20078 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20079 (asinhl): Define using libm_alias_ldouble.
20080 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20081 (atanl): Define using libm_alias_ldouble.
20082 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20083 (cbrtl): Define using libm_alias_ldouble.
20084 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20085 (ceill): Define using libm_alias_ldouble.
20086 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20087 (copysignl): Define using libm_alias_ldouble.
20088 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20089 (fabsl): Define using libm_alias_ldouble.
20090 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20091 (floorl): Define using libm_alias_ldouble.
20092 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20093 (fmaxl): Define using libm_alias_ldouble.
20094 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20095 (fminl): Define using libm_alias_ldouble.
20096 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20097 (frexpl): Define using libm_alias_ldouble.
20098 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20099 (llrintl): Define using libm_alias_ldouble.
20100 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20101 (logbl): Define using libm_alias_ldouble.
20102 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20103 (lrintl): Define using libm_alias_ldouble.
20104 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20105 (nearbyintl): Define using libm_alias_ldouble.
20106 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20107 (nextafterl): Define using libm_alias_ldouble.
20108 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20109 (remquol): Define using libm_alias_ldouble.
20110 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20111 (rintl): Define using libm_alias_ldouble.
20112 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20113 (truncl): Define using libm_alias_ldouble.
20114 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20115 (fmaxl): Define using libm_alias_ldouble.
20116 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20117 (fminl): Define using libm_alias_ldouble.
20118
015c6dc2
JM
20119 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20120 to C syntax instead of availability and properties of types.
20121 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20122 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20123 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
20124 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
20125 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
20126 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
20127
ce003e5d
FW
201282017-11-17 Florian Weimer <fweimer@redhat.com>
20129
20130 support_become_root: Enable file creation in namespaces.
20131 * support/support_become_root.c (setup_mapping): New function.
20132 (support_become_root): Call it.
20133
e7df6c5c
JM
201342017-11-17 Joseph Myers <joseph@codesourcery.com>
20135
20136 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
20137 macro.
20138
58a813bf
AZ
201392017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20140
20141 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
20142 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
20143
f97773d1
JM
201442017-11-16 Joseph Myers <joseph@codesourcery.com>
20145
6a6aa1f3
JM
20146 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
20147
f97773d1
JM
20148 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20149 version to 4.14.
20150
a306c790
SP
201512017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20152
7b0fb870
SP
20153 * INSTALL: Fix botched up regeneration.
20154
20155 * NEWS: Update sourceare link to https.
a306c790
SP
20156 * configure.ac: Likewise.
20157 * crypt/md5test-giant.c: Likewise.
20158 * dlfcn/bug-atexit1.c: Likewise.
20159 * dlfcn/bug-atexit2.c: Likewise.
20160 * localedata/README: Likewise.
20161 * malloc/tst-mallocfork.c: Likewise.
20162 * manual/install.texi: Likewise.
20163 * nptl/tst-pthread-getattr.c: Likewise.
20164 * stdio-common/tst-fgets.c: Likewise.
20165 * stdio-common/tst-fwrite.c: Likewise.
20166 * sunrpc/Makefile: Likewise.
20167 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
20168 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
20169 * configure: Regenerate.
20170 * INSTALL: Regenerate.
a306c790 20171
7532837d
MS
201722017-11-15 Martin Sebor <msebor@redhat.com>
20173
20174 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
20175 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
20176 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
20177
495a56fd
LS
201782017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20179
d9611e30
LS
20180 [BZ #22145]
20181 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
20182 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
20183
a09dfc19
LS
20184 [BZ #22145]
20185 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
20186 Defer is_pty check until end of the function.
20187 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20188
2fbce9c2
LS
20189 [BZ #22145]
20190 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
20191 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
20192 (ttyname): Likewise.
20193 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
20194 (__ttyname_r): Likewise.
20195
d10d6cab
LS
20196 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
20197 int to bool.
20198
9b5a8750
LS
20199 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
20200
495a56fd
LS
20201 * manual/terminal.texi (Is It a Terminal):
20202 Mention ENODEV for ttyname and ttyname_r.
20203
fa680dc6
JM
202042017-11-15 Joseph Myers <joseph@codesourcery.com>
20205
78cde19f
JM
20206 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
20207 constant and macro.
20208
fa680dc6
JM
20209 * sysdeps/unix/sysv/linux/bits/mman-linux.h
20210 [__USE_MISC] (MADV_WIPEONFORK): New macro.
20211 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20212 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20213 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
20214 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
20215
ad4f43a2
AZ
202162017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20217
1ba1d8a4
AZ
20218 * signal/sigrelse.c (sigrelse): Optimize implementation.
20219
ad4f43a2
AZ
20220 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
20221 (__sigpause): Rely on __sigsuspend to implement single thread
20222 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
20223
d0212d42
JM
202242017-11-15 Joseph Myers <joseph@codesourcery.com>
20225
20226 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20227 kernel version to 4.14.
20228
2180fee1
SE
202292017-11-15 Steve Ellcey <sellcey@cavium.com>
20230
20231 [BZ #22442]
20232 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
20233 Check if ifname is too long.
20234
cad7ca39
LS
202352017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20236
20237 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
20238
58c9f659
MF
202392017-11-15 Mike FABIAN <mfabian@redhat.com>
20240
20241 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
20242 was accidentally lost.
20243
0fa87c01
MF
202442017-11-15 Mike FABIAN <mfabian@redhat.com>
20245
20246 * localedata/locales/az_IR: Add standard copyright header.
20247
34eb4157
FW
202482017-11-15 Florian Weimer <fweimer@redhat.com>
20249
20250 [BZ #22439]
20251 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
20252 not just the top one. Output a new "subheaps" statistic.
20253
7a9368a1
FW
202542017-11-15 Florian Weimer <fweimer@redhat.com>
20255
20256 [BZ #22408]
20257 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
20258 under the per-arena lock.
20259 * malloc/Makefile (tests): Add tst-malloc_info.
20260 (tst-malloc_info): Link with libpthread.
20261 * malloc/tst-malloc_info.c: New file.
20262
be3a79a3
JM
202632017-11-15 Joseph Myers <joseph@codesourcery.com>
20264
20265 [BZ #21660]
20266 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
20267 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
20268 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
20269 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
20270 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
20271 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
20272 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
20273 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
20274 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
20275 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
20276 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
20277 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
20278 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
20279 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
20280 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
20281 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
20282 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
20283 (__floating_type): Likewise.
20284 (__real_integer_type): Likewise.
20285 (__complex_integer_type): Likewise.
20286 (__expr_is_real): Likewise.
20287 (__tgmath_real_type_sub): Likewise.
20288 (__tgmath_real_type): Likewise.
20289 (__tgmath_complex_type_sub): Likewise.
20290 (__tgmath_complex_type): Likewise.
20291 (__TGMATH_F128): Likewise.
20292 (__TGMATH_CF128): Likewise.
20293 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
20294 new macros.
20295 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20296 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
20297 Likewise.
20298 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
20299 Likewise.
20300 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
20301 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20302 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20303 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
20304 Likewise.
20305 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20306 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
20307 Likewise.
20308 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
20309 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
20310 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
20311 Likewise.
20312 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
20313 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
20314 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
20315 (cimag): Likewise.
20316 (creal): Likewise.
20317
ec72135e
JM
203182017-11-14 Joseph Myers <joseph@codesourcery.com>
20319
2e64ec9c
JM
20320 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
20321 for stpncpy calls for GCC 8.
20322 (test_strncat): Disable -Wstringop-truncation warning for strncat
20323 calls for GCC 8. Disable -Wstringop-overflow= warning for one
20324 strncat call for GCC 7.
20325 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
20326 calls for GCC 8.
20327 (test_memcmp): Use memcpy instead of strncpy for calls not copying
20328 trailing NUL.
20329
ec72135e
JM
20330 * string/bug-strncat1.c: Include <libc-diag.h>.
20331 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
20332
363e4519 203332017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
20334
20335 [BZ #22387]
20336 * localedata/locales/aa_DJ: Improved readibility by replacing
20337 <Uxxxx> sequences in the ASCII printable range by their ASCII
20338 character equivalents.
20339 * localedata/locales/aa_ER: Likewise.
20340 * localedata/locales/aa_ER@saaho: Likewise.
20341 * localedata/locales/aa_ET: Likewise.
20342 * localedata/locales/af_ZA: Likewise.
20343 * localedata/locales/agr_PE: Likewise.
20344 * localedata/locales/ak_GH: Likewise.
20345 * localedata/locales/am_ET: Likewise.
20346 * localedata/locales/anp_IN: Likewise.
20347 * localedata/locales/ar_AE: Likewise.
20348 * localedata/locales/ar_BH: Likewise.
20349 * localedata/locales/ar_DZ: Likewise.
20350 * localedata/locales/ar_EG: Likewise.
20351 * localedata/locales/ar_IN: Likewise.
20352 * localedata/locales/ar_IQ: Likewise.
20353 * localedata/locales/ar_JO: Likewise.
20354 * localedata/locales/ar_KW: Likewise.
20355 * localedata/locales/ar_LB: Likewise.
20356 * localedata/locales/ar_LY: Likewise.
20357 * localedata/locales/ar_MA: Likewise.
20358 * localedata/locales/ar_OM: Likewise.
20359 * localedata/locales/ar_QA: Likewise.
20360 * localedata/locales/ar_SA: Likewise.
20361 * localedata/locales/ar_SD: Likewise.
20362 * localedata/locales/ar_SS: Likewise.
20363 * localedata/locales/ar_SY: Likewise.
20364 * localedata/locales/ar_TN: Likewise.
20365 * localedata/locales/ar_YE: Likewise.
20366 * localedata/locales/as_IN: Likewise.
20367 * localedata/locales/ast_ES: Likewise.
20368 * localedata/locales/ayc_PE: Likewise.
20369 * localedata/locales/az_AZ: Likewise.
20370 * localedata/locales/az_IR: Likewise.
20371 * localedata/locales/be_BY: Likewise.
20372 * localedata/locales/be_BY@latin: Likewise.
20373 * localedata/locales/bem_ZM: Likewise.
20374 * localedata/locales/ber_DZ: Likewise.
20375 * localedata/locales/ber_MA: Likewise.
20376 * localedata/locales/bg_BG: Likewise.
20377 * localedata/locales/bhb_IN: Likewise.
20378 * localedata/locales/bho_IN: Likewise.
20379 * localedata/locales/bi_VU: Likewise.
20380 * localedata/locales/bn_BD: Likewise.
20381 * localedata/locales/bn_IN: Likewise.
20382 * localedata/locales/bo_CN: Likewise.
20383 * localedata/locales/bo_IN: Likewise.
20384 * localedata/locales/br_FR: Likewise.
20385 * localedata/locales/brx_IN: Likewise.
20386 * localedata/locales/bs_BA: Likewise.
20387 * localedata/locales/byn_ER: Likewise.
20388 * localedata/locales/ca_AD: Likewise.
20389 * localedata/locales/ca_ES: Likewise.
20390 * localedata/locales/ca_FR: Likewise.
20391 * localedata/locales/ca_IT: Likewise.
20392 * localedata/locales/ce_RU: Likewise.
20393 * localedata/locales/chr_US: Likewise.
20394 * localedata/locales/cmn_TW: Likewise.
20395 * localedata/locales/crh_UA: Likewise.
20396 * localedata/locales/cs_CZ: Likewise.
20397 * localedata/locales/csb_PL: Likewise.
20398 * localedata/locales/cv_RU: Likewise.
20399 * localedata/locales/cy_GB: Likewise.
20400 * localedata/locales/da_DK: Likewise.
20401 * localedata/locales/de_AT: Likewise.
20402 * localedata/locales/de_BE: Likewise.
20403 * localedata/locales/de_CH: Likewise.
20404 * localedata/locales/de_DE: Likewise.
20405 * localedata/locales/de_IT: Likewise.
20406 * localedata/locales/de_LI: Likewise.
20407 * localedata/locales/de_LU: Likewise.
20408 * localedata/locales/doi_IN: Likewise.
20409 * localedata/locales/dv_MV: Likewise.
20410 * localedata/locales/dz_BT: Likewise.
20411 * localedata/locales/el_CY: Likewise.
20412 * localedata/locales/el_GR: Likewise.
20413 * localedata/locales/en_AG: Likewise.
20414 * localedata/locales/en_AU: Likewise.
20415 * localedata/locales/en_BW: Likewise.
20416 * localedata/locales/en_CA: Likewise.
20417 * localedata/locales/en_DK: Likewise.
20418 * localedata/locales/en_GB: Likewise.
20419 * localedata/locales/en_HK: Likewise.
20420 * localedata/locales/en_IE: Likewise.
20421 * localedata/locales/en_IL: Likewise.
20422 * localedata/locales/en_IN: Likewise.
20423 * localedata/locales/en_NG: Likewise.
20424 * localedata/locales/en_NZ: Likewise.
20425 * localedata/locales/en_PH: Likewise.
20426 * localedata/locales/en_SG: Likewise.
20427 * localedata/locales/en_US: Likewise.
20428 * localedata/locales/en_ZA: Likewise.
20429 * localedata/locales/en_ZM: Likewise.
20430 * localedata/locales/en_ZW: Likewise.
20431 * localedata/locales/eo: Likewise.
20432 * localedata/locales/es_AR: Likewise.
20433 * localedata/locales/es_BO: Likewise.
20434 * localedata/locales/es_CL: Likewise.
20435 * localedata/locales/es_CO: Likewise.
20436 * localedata/locales/es_CR: Likewise.
20437 * localedata/locales/es_CU: Likewise.
20438 * localedata/locales/es_DO: Likewise.
20439 * localedata/locales/es_EC: Likewise.
20440 * localedata/locales/es_ES: Likewise.
20441 * localedata/locales/es_GT: Likewise.
20442 * localedata/locales/es_HN: Likewise.
20443 * localedata/locales/es_MX: Likewise.
20444 * localedata/locales/es_NI: Likewise.
20445 * localedata/locales/es_PA: Likewise.
20446 * localedata/locales/es_PE: Likewise.
20447 * localedata/locales/es_PR: Likewise.
20448 * localedata/locales/es_PY: Likewise.
20449 * localedata/locales/es_SV: Likewise.
20450 * localedata/locales/es_US: Likewise.
20451 * localedata/locales/es_UY: Likewise.
20452 * localedata/locales/es_VE: Likewise.
20453 * localedata/locales/et_EE: Likewise.
20454 * localedata/locales/eu_ES: Likewise.
20455 * localedata/locales/eu_ES@euro: Likewise.
20456 * localedata/locales/fa_IR: Likewise.
20457 * localedata/locales/ff_SN: Likewise.
20458 * localedata/locales/fi_FI: Likewise.
20459 * localedata/locales/fil_PH: Likewise.
20460 * localedata/locales/fo_FO: Likewise.
20461 * localedata/locales/fr_BE: Likewise.
20462 * localedata/locales/fr_CA: Likewise.
20463 * localedata/locales/fr_CH: Likewise.
20464 * localedata/locales/fr_FR: Likewise.
20465 * localedata/locales/fr_LU: Likewise.
20466 * localedata/locales/fur_IT: Likewise.
20467 * localedata/locales/fy_DE: Likewise.
20468 * localedata/locales/fy_NL: Likewise.
20469 * localedata/locales/ga_IE: Likewise.
20470 * localedata/locales/gd_GB: Likewise.
20471 * localedata/locales/gez_ER: Likewise.
20472 * localedata/locales/gez_ET: Likewise.
20473 * localedata/locales/gl_ES: Likewise.
20474 * localedata/locales/gu_IN: Likewise.
20475 * localedata/locales/gv_GB: Likewise.
20476 * localedata/locales/ha_NG: Likewise.
20477 * localedata/locales/hak_TW: Likewise.
20478 * localedata/locales/he_IL: Likewise.
20479 * localedata/locales/hi_IN: Likewise.
20480 * localedata/locales/hif_FJ: Likewise.
20481 * localedata/locales/hne_IN: Likewise.
20482 * localedata/locales/hr_HR: Likewise.
20483 * localedata/locales/hsb_DE: Likewise.
20484 * localedata/locales/ht_HT: Likewise.
20485 * localedata/locales/hu_HU: Likewise.
20486 * localedata/locales/hy_AM: Likewise.
20487 * localedata/locales/i18n: Likewise.
20488 * localedata/locales/ia_FR: Likewise.
20489 * localedata/locales/id_ID: Likewise.
20490 * localedata/locales/ig_NG: Likewise.
20491 * localedata/locales/ik_CA: Likewise.
20492 * localedata/locales/is_IS: Likewise.
20493 * localedata/locales/it_CH: Likewise.
20494 * localedata/locales/it_IT: Likewise.
20495 * localedata/locales/iu_CA: Likewise.
20496 * localedata/locales/ja_JP: Likewise.
20497 * localedata/locales/ka_GE: Likewise.
20498 * localedata/locales/kk_KZ: Likewise.
20499 * localedata/locales/kl_GL: Likewise.
20500 * localedata/locales/kn_IN: Likewise.
20501 * localedata/locales/ko_KR: Likewise.
20502 * localedata/locales/kok_IN: Likewise.
20503 * localedata/locales/ks_IN: Likewise.
20504 * localedata/locales/ks_IN@devanagari: Likewise.
20505 * localedata/locales/ku_TR: Likewise.
20506 * localedata/locales/kw_GB: Likewise.
20507 * localedata/locales/ky_KG: Likewise.
20508 * localedata/locales/lb_LU: Likewise.
20509 * localedata/locales/lg_UG: Likewise.
20510 * localedata/locales/li_BE: Likewise.
20511 * localedata/locales/li_NL: Likewise.
20512 * localedata/locales/lij_IT: Likewise.
20513 * localedata/locales/ln_CD: Likewise.
20514 * localedata/locales/lo_LA: Likewise.
20515 * localedata/locales/lt_LT: Likewise.
20516 * localedata/locales/lv_LV: Likewise.
20517 * localedata/locales/lzh_TW: Likewise.
20518 * localedata/locales/mag_IN: Likewise.
20519 * localedata/locales/mai_IN: Likewise.
20520 * localedata/locales/mg_MG: Likewise.
20521 * localedata/locales/mhr_RU: Likewise.
20522 * localedata/locales/mi_NZ: Likewise.
20523 * localedata/locales/mk_MK: Likewise.
20524 * localedata/locales/ml_IN: Likewise.
20525 * localedata/locales/mn_MN: Likewise.
20526 * localedata/locales/mni_IN: Likewise.
20527 * localedata/locales/mr_IN: Likewise.
20528 * localedata/locales/ms_MY: Likewise.
20529 * localedata/locales/mt_MT: Likewise.
20530 * localedata/locales/my_MM: Likewise.
20531 * localedata/locales/nan_TW: Likewise.
20532 * localedata/locales/nan_TW@latin: Likewise.
20533 * localedata/locales/nb_NO: Likewise.
20534 * localedata/locales/nds_DE: Likewise.
20535 * localedata/locales/nds_NL: Likewise.
20536 * localedata/locales/ne_NP: Likewise.
20537 * localedata/locales/nhn_MX: Likewise.
20538 * localedata/locales/niu_NU: Likewise.
20539 * localedata/locales/niu_NZ: Likewise.
20540 * localedata/locales/nl_AW: Likewise.
20541 * localedata/locales/nl_BE: Likewise.
20542 * localedata/locales/nl_NL: Likewise.
20543 * localedata/locales/nn_NO: Likewise.
20544 * localedata/locales/nr_ZA: Likewise.
20545 * localedata/locales/nso_ZA: Likewise.
20546 * localedata/locales/oc_FR: Likewise.
20547 * localedata/locales/om_ET: Likewise.
20548 * localedata/locales/om_KE: Likewise.
20549 * localedata/locales/or_IN: Likewise.
20550 * localedata/locales/os_RU: Likewise.
20551 * localedata/locales/pa_IN: Likewise.
20552 * localedata/locales/pa_PK: Likewise.
20553 * localedata/locales/pap_AW: Likewise.
20554 * localedata/locales/pap_CW: Likewise.
20555 * localedata/locales/pl_PL: Likewise.
20556 * localedata/locales/ps_AF: Likewise.
20557 * localedata/locales/pt_BR: Likewise.
20558 * localedata/locales/pt_PT: Likewise.
20559 * localedata/locales/quz_PE: Likewise.
20560 * localedata/locales/raj_IN: Likewise.
20561 * localedata/locales/ro_RO: Likewise.
20562 * localedata/locales/ru_RU: Likewise.
20563 * localedata/locales/ru_UA: Likewise.
20564 * localedata/locales/rw_RW: Likewise.
20565 * localedata/locales/sa_IN: Likewise.
20566 * localedata/locales/sat_IN: Likewise.
20567 * localedata/locales/sc_IT: Likewise.
20568 * localedata/locales/sd_IN: Likewise.
20569 * localedata/locales/sd_IN@devanagari: Likewise.
20570 * localedata/locales/se_NO: Likewise.
20571 * localedata/locales/sgs_LT: Likewise.
20572 * localedata/locales/shs_CA: Likewise.
20573 * localedata/locales/si_LK: Likewise.
20574 * localedata/locales/sid_ET: Likewise.
20575 * localedata/locales/sk_SK: Likewise.
20576 * localedata/locales/sl_SI: Likewise.
20577 * localedata/locales/sm_WS: Likewise.
20578 * localedata/locales/so_DJ: Likewise.
20579 * localedata/locales/so_ET: Likewise.
20580 * localedata/locales/so_KE: Likewise.
20581 * localedata/locales/so_SO: Likewise.
20582 * localedata/locales/sq_AL: Likewise.
20583 * localedata/locales/sq_MK: Likewise.
20584 * localedata/locales/sr_ME: Likewise.
20585 * localedata/locales/sr_RS: Likewise.
20586 * localedata/locales/sr_RS@latin: Likewise.
20587 * localedata/locales/ss_ZA: Likewise.
20588 * localedata/locales/st_ZA: Likewise.
20589 * localedata/locales/sv_FI: Likewise.
20590 * localedata/locales/sv_SE: Likewise.
20591 * localedata/locales/sw_KE: Likewise.
20592 * localedata/locales/sw_TZ: Likewise.
20593 * localedata/locales/szl_PL: Likewise.
20594 * localedata/locales/ta_IN: Likewise.
20595 * localedata/locales/ta_LK: Likewise.
20596 * localedata/locales/tcy_IN: Likewise.
20597 * localedata/locales/te_IN: Likewise.
20598 * localedata/locales/tg_TJ: Likewise.
20599 * localedata/locales/th_TH: Likewise.
20600 * localedata/locales/the_NP: Likewise.
20601 * localedata/locales/ti_ER: Likewise.
20602 * localedata/locales/ti_ET: Likewise.
20603 * localedata/locales/tig_ER: Likewise.
20604 * localedata/locales/tk_TM: Likewise.
20605 * localedata/locales/tl_PH: Likewise.
20606 * localedata/locales/tn_ZA: Likewise.
20607 * localedata/locales/to_TO: Likewise.
20608 * localedata/locales/tpi_PG: Likewise.
20609 * localedata/locales/tr_CY: Likewise.
20610 * localedata/locales/tr_TR: Likewise.
20611 * localedata/locales/ts_ZA: Likewise.
20612 * localedata/locales/tt_RU: Likewise.
20613 * localedata/locales/tt_RU@iqtelif: Likewise.
20614 * localedata/locales/ug_CN: Likewise.
20615 * localedata/locales/uk_UA: Likewise.
20616 * localedata/locales/unm_US: Likewise.
20617 * localedata/locales/ur_IN: Likewise.
20618 * localedata/locales/ur_PK: Likewise.
20619 * localedata/locales/uz_UZ: Likewise.
20620 * localedata/locales/uz_UZ@cyrillic: Likewise.
20621 * localedata/locales/ve_ZA: Likewise.
20622 * localedata/locales/vi_VN: Likewise.
20623 * localedata/locales/wa_BE: Likewise.
20624 * localedata/locales/wae_CH: Likewise.
20625 * localedata/locales/wal_ET: Likewise.
20626 * localedata/locales/wo_SN: Likewise.
20627 * localedata/locales/xh_ZA: Likewise.
20628 * localedata/locales/yi_US: Likewise.
20629 * localedata/locales/yo_NG: Likewise.
20630 * localedata/locales/yue_HK: Likewise.
20631 * localedata/locales/yuw_PG: Likewise.
20632 * localedata/locales/zh_CN: Likewise.
20633 * localedata/locales/zh_HK: Likewise.
20634 * localedata/locales/zh_SG: Likewise.
20635 * localedata/locales/zh_TW: Likewise.
20636 * localedata/locales/zu_ZA: Likewise.
20637
cae87e64
FW
206382017-11-13 Florian Weimer <fweimer@redhat.com>
20639
20640 * support/next_to_fault.h, support/next_to_fault.c: New files.
20641 * support/Makefile (libsupport-routines): Add next_to_fault.
20642 * resolv/tst-inet_pton.c (struct next_to_fault)
20643 (next_to_fault_allocate, next_to_fault_free): Remove.
20644 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
20645
4a306ef1
L
206462017-11-13 H.J. Lu <hongjiu.lu@intel.com>
20647
20648 * elf/dl-support.c: Include <dl-procruntime.c>.
20649 * include/link.h: Include <link_map.h>.
20650 * sysdeps/generic/dl-procruntime.c: New file.
20651 * sysdeps/generic/link_map.h: Likewise.
20652 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
20653 the writable ld.so namespace.
20654
e69897bf
PE
206552017-11-12 Paul Eggert <eggert@cs.ucla.edu>
20656
20657 timezone: pacify GCC -Wstringop-truncation
20658 Problem reported by Martin Sebor in:
20659 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
20660 * timezone/zic.c (writezone): Use memcpy, not strncpy.
20661
1ffe1ccb
FW
206622017-11-12 Florian Weimer <fweimer@redhat.com>
20663
eceed671
FW
20664 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
20665 tst-xreadlink.
20666 (tests): Add tst-xreadlink.
1ffe1ccb
FW
20667 * support/support.h (xstrndup): Declare.
20668 * support/xunistd.h (xunlink, xreadlink): Declare.
20669 * support/temp_file.h (support_create_temp_directory): Declare.
20670 * support/temp_file.c (support_create_temp_directory): New function.
20671 * support/support_chroot.c (support_chroot_create): Use it.
20672 * support/xreadlink.c: New file.
20673 * support/xstrndup.c: Likewise.
20674 * support/xunlink.c: Likewise.
20675 * support/tst-xreadlink.c: Likewise.
20676
456b40a9
JDA
206772017-11-11 John David Anglin <danglin@gcc.gnu.org>
20678
20679 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
20680
c0a25aa9
FW
206812017-11-11 Florian Weimer <fweimer@redhat.com>
20682
20683 [BZ #22409]
20684 [BZ #22412]
20685 * resolv/res_comp.c (printable_string, binary_hnok)
20686 (binary_leading_dash): New functions.
20687 (res_hnok): Reimplement using these functions and ns_name_pton.
20688 (res_ownok): Likewise.
20689 (res_mailok): Reimplement using printable_string, ns_name_pton and
20690 binary_hnok.
20691 (res_dnok): Reimplement using printable_string and ns_name_pton.
20692 * resolv/tst-res_hnok.c (tests): Add additional tests.
20693 (LETTERDIGITS, PRINTABLE): Define.
20694 (do_test): Adjust one_char results.
20695
9e0ad304
FW
206962017-11-11 Florian Weimer <fweimer@redhat.com>
20697
20698 [BZ #22413]
20699 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
20700 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
20701
e2a9fca8
FW
207022017-11-11 Florian Weimer <fweimer@redhat.com>
20703
20704 * resolv/tst-ns_name_pton.c: New file.
20705 * resolv/Makefile (tests): Add tst-ns_name_pton.
20706 (tst-ns_name_pton): Link against libresolv.
20707
5c1a6923
FW
207082017-11-11 Florian Weimer <fweimer@redhat.com>
20709
20710 * resolv/tst-res_hnok.c: New file.
20711 * resolv/Makefile (tests): Add tst-res_hnok.
20712 (tst-res_hnok): Link against libresolv.
20713
a19c0a1d
FW
207142017-11-11 Florian Weimer <fweimer@redhat.com>
20715
20716 * resolv/tst-resolv-network.c: Use test framework instead explicit
20717 main function.
20718
8cb5295d
L
207192017-11-09 H.J. Lu <hongjiu.lu@intel.com>
20720
20721 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
20722 <jmp_buf-macros.h>.
20723 [!_ISOMAC] (STR_HELPER): New.
20724 [!_ISOMAC] (STR): Likewise.
20725 [!_ISOMAC] (TEST_SIZE): Likewise.
20726 [!_ISOMAC] (TEST_ALIGN): Likewise.
20727 [!_ISOMAC] (TEST_OFFSET): Likewise.
20728 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
20729 field offsets of jmp_buf as well as sigjmp_buf.
20730 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
20731 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
20732 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
20733 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
20734 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
20735 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
20736 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
20737 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
20738 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
20739 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
20740 Likewise.
20741 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
20742 Likewise.
20743 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
20744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
20745 Likewise.
20746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
20747 Likewise.
20748 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
20749 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
20750 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
20751 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
20752 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
20753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
20754 Likewise.
20755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
20756 Likewise.
20757 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20758 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
20759 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
20760
58c4a161
JM
207612017-11-07 Joseph Myers <joseph@codesourcery.com>
20762
3683b423
JM
20763 * include/float.h
20764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20765 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
20766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20767 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
20768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20769 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
20770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20771 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
20772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20773 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
20774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20775 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
20776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20777 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
20778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20779 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
20780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20781 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
20782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20783 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
20784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20785 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
20786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20787 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
20788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20789 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
20790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20791 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
20792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20793 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
20794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20795 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
20796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20797 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
20798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20799 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
20800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20801 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
20802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20803 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
20804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20805 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
20806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20807 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
20808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20809 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
20810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20811 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
20812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20813 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
20814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20815 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
20816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20817 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
20818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20819 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
20820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20821 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
20822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20823 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
20824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20825 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
20826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20827 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
20828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20829 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
20830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20831 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
20832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20833 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
20834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20835 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
20836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20837 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
20838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20839 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
20840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20841 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
20842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20843 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
20844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20845 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
20846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20847 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
20848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20849 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
20850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20851 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
20852
58c4a161
JM
20853 * stdlib/tst-strtod.h (F16): New macro.
20854 (F32): Likewise.
20855 (F64): Likewise.
20856 (F32X): Likewise.
20857 (F64X): Likewise.
20858 (F128X): Likewise.
20859 (IF_FLOAT16): Likewise.
20860 (IF_FLOAT32): Likewise.
20861 (IF_FLOAT64): Likewise.
20862 (IF_FLOAT32X): Likewise.
20863 (IF_FLOAT64X): Likewise.
20864 (IF_FLOAT128X): Likewise.
20865 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
20866 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
20867 (STRTOD_TEST_FOREACH): Likewise.
20868 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
20869 (CHOOSE_f64): Likewise.
20870 (CHOOSE_f32x): Likewise.
20871 (CHOOSE_f64x): Likewise.
20872
feda96a1
AS
208732017-11-07 Andreas Schwab <schwab@suse.de>
20874
20875 * nptl/Makefile (tests-internal): Remove tst-typesizes.
20876
1bd0cbb8
MF
208772017-11-07 Mike FABIAN <mfabian@redhat.com>
20878
20879 [BZ #22403]
20880 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
20881 to be escaped.
20882 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
20883 to be escaped.
20884
363e4519 208852017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
20886
20887 [BZ #22403]
20888 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
20889 to be escaped.
20890 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
20891 to be escaped.
20892 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
20893 to be escaped.
20894
dff91cd4
AZ
208952017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20896
06be6368
AZ
20897 [BZ #22298]
20898 * nptl/allocatestack.c (allocate_stack): Check if
20899 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
20900 __PTHREAD_MUTEX_HAVE_PREV is defined.
20901 * nptl/descr.h (pthread): Likewise.
20902 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20903 Likewise.
20904 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20905 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20906 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
20907 * sysdeps/nptl/bits/thread-shared-types.h
20908 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
20909 defines.
20910 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
20911 of __WORDSIZE for internal layout.
20912 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
20913 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
20914 instead of __WORDSIZE whether to use an union for __spins and __list
20915 fields.
20916 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
20917 case.
20918 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
20919 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
20920 defines.
20921 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
20922 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20923 Likewise.
20924 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
20925 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20926 Likewise.
20927 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
20928 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20929 Likewise.
20930 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
20931 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20932 Likewise.
20933 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
20934 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20935 Likewise.
20936 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
20937 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20938 Likewise.
20939 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
20940 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20941 Likewise.
20942 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
20943 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20944 Likewise.
20945 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
20946 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20947 Likewise.
20948 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
20949 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20950 Likewise.
20951 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
20952 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20953 Likewise.
20954 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
20955 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20956 Likewise.
20957 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
20958 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20959 Likewise.
20960 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
20961 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20962 Likewise.
20963
72b3c6ee
AZ
20964 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
20965 New macros.
20966 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
20967 checks for expected input type size.
20968 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20969 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20970 Likewise.
20971 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20972 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
20973 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20974 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
20975 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20976 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
20977 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
20978 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
20979 superflous runtime assert check.
20980 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
20981 Likewise.
20982 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
20983 Likewise.
20984 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20985 Likewise.
20986 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
20987 Likewise.
20988 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
20989 Likewise.
20990 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
20991 Likewise.
20992 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
20993 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
20994 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20995 Likewise.
20996 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20997 Likewise.
20998 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20999 Likewise.
21000 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21001 Likewise.
21002 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21003 Likewise.
21004 * nptl/pthread_attr_setinheritsched.c
21005 (__pthread_attr_setinheritsched): Likewise.
21006 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21007 Likewise.
21008 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21009 Likewise.
21010 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21011 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21012 __old_pthread_attr_setstack): Likewise.
21013 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21014 Likewise.
21015 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21016 Likewise.
21017 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21018 Likewise.
21019 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21020 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21021 Likewise.
21022 * nptl/tst-typesizes.c: Remove file.
21023
dff91cd4
AZ
21024 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21025 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21026 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21027 checks for internal pthread_mutex_t offsets.
21028 * sysdeps/aarch64/nptl/pthread-offsets.h
21029 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21030 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21031 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21032 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21033 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21034 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21035 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21036 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21037 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21038 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21039 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21040 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21041 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21042 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21043 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21044 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21045 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21046 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21047
b7fc95f8
FW
210482017-11-07 Florian Weimer <fweimer@redhat.com>
21049
21050 * bits/mman-linux.h: Move ...
21051 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21052 comment.
21053 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21054 outdated comment.
21055
6b860364
RS
210562017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21057
21058 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21059 Redefine STRNLEN as __strnlen_power8.
21060
802c1f16
AZ
210612017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21062
d83da3a4
AZ
21063 * signal/sighold.c (sighold): Optimize implementation.
21064
6a4235f1
AZ
21065 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21066 __NR_rt_sigqueueinfo.
21067
8b0e795a
AZ
21068 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21069 __sigtimedwait.
21070 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21071 assume __NR_rt_sigtimedwait.
21072 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21073 and add LIBC_CANCEL_HANDLED for cancellation marking.
21074 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21075
a1a638dd
AZ
21076 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21077 (sysdeps_routines): Add memchr_noneon.
21078 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21079 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21080 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21081 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21082 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21083 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21084 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21085
802c1f16
AZ
21086 * sysdeps/arm/arm-ifunc.h: New file.
21087 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21088 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21089 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21090 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21091 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21092 (__memcpy_neon): Avoid create hidden alias.
21093 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21094 (__memcpy_vfp): Likewise.
21095 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21096 (sysdep_routines): Add memcpy_arm.
21097 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21098
abcb584d
L
210992017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21100
21101 [BZ #22362]
21102 * Makerules (make-link-multidir): New.
21103 * config.make.in (multidir): New.
21104 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21105 * configure: Regenerated.
21106 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21107 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21108 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21109 New target.
21110
4e2dff67
JM
211112017-11-06 Joseph Myers <joseph@codesourcery.com>
21112
21113 [BZ #22402]
21114 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21115 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21116
a1c7cd3c
MF
211172017-11-04 Mike FABIAN <mfabian@redhat.com>
21118
21119 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21120 to be escaped.
21121
b9af29c0
FW
211222017-11-04 Florian Weimer <fweimer@redhat.com>
21123
21124 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
21125
4ca70e1a
JM
211262017-11-03 Joseph Myers <joseph@codesourcery.com>
21127
21128 * math/math.h [__HAVE_DISTINCT_FLOAT16
21129 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21130 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21131 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21132 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
21133 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
21134 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
21135 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21136 (__MATH_TG_F32): New macro.
21137 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21138 (__MATH_TG_F64X): Likewise.
21139 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21140 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
21141
ba0e6668
DL
211422017-11-03 Dmitry V. Levin <ldv@altlinux.org>
21143
21144 * po/de.po: Update translations.
21145 * po/ru.po: Likewise.
21146
bc18a6d3
FW
211472017-11-03 Florian Weimer <fweimer@redhat.com>
21148
21149 * manual/filesys.texi (Hard Links): Document linkat.
21150
97255170
JM
211512017-11-03 Joseph Myers <joseph@codesourcery.com>
21152
86ec4865
JM
21153 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
21154 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21155 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21156 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21157 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21158 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21159 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
21160 the same as _Float128.
21161 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21162 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21163 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
21164
97255170
JM
21165 * stdlib/stdlib.h
21166 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
21167 Declare.
21168 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
21169 Likewise.
21170 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
21171 Likewise.
21172 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21173 (strtof32x): Likewise.
21174 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21175 (strtof64x): Likewise.
21176 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21177 (strtof128x): Likewise.
21178 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21179 (strfromf16): Likewise.
21180 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21181 (strfromf32): Likewise.
21182 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21183 (strfromf64): Likewise.
21184 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21185 (strfromf32x): Likewise.
21186 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21187 (strfromf64x): Likewise.
21188 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21189 (strfromf128x): Likewise.
21190 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
21191 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
21192 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
21193 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
21194 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
21195 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
21196
6d58ce5e
RH
211972017-11-03 Richard Henderson <rth@twiddle.net>
21198
21199 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
21200
659ca267
SN
212012017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21202
21203 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
21204
94d2f0af
SN
212052017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21206
21207 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
21208 DT_TLSDESC_GOT initialization.
21209 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
21210 (_dl_tlsdesc_resolve_hold): Likewise.
21211 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
21212 (_dl_tlsdesc_resolve_hold): Likewise.
21213 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
21214 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21215
28e1ddf3
SN
212162017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21217
21218 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
21219
0ca3d1d6
SN
212202017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21221
21222 [BZ #18572]
21223 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
21224 non-lazily for R_ARM_TLS_DESC.
21225
2c1d4e5f
SN
212262017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21227
21228 [BZ #17078]
21229 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
21230 R_ARM_TLS_DESC case.
21231 (elf_machine_lazy_rel): Remove the prelink check.
21232
91c5a366
SN
212332017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21234
21235 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
21236 DT_TLSDESC_GOT initialization.
21237 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
21238 (_dl_tlsdesc_resolve_rela): Likewise.
21239 (_dl_tlsdesc_resolve_hold): Likewise.
21240 (_dl_tlsdesc_undefweak): Remove ldar.
21241 (_dl_tlsdesc_dynamic): Likewise.
21242 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
21243 (_dl_tlsdesc_resolve_rela): Likewise.
21244 (_dl_tlsdesc_resolve_hold): Likewise.
21245 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
21246 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
21247 (_dl_tlsdesc_resolve_rela): Likewise.
21248 (_dl_tlsdesc_resolve_hold): Likewise.
21249
b7cf203b
SN
212502017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21251
21252 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
21253 binding and initialization non-lazily for R_AARCH64_TLSDESC.
21254
0cc5b022
SN
212552017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21256
21257 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
21258 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21259
43ddff2e
JM
212602017-11-02 Joseph Myers <joseph@codesourcery.com>
21261
21262 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
21263 Declare.
21264 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
21265 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
21266 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
21267 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
21268 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
21269 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
21270 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
21271 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
21272 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
21273 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
21274 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
21275
5baac970
MF
212762017-11-02 Mike FABIAN <mfabian@redhat.com>
21277
21278 [BZ #22382]
21279 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
21280 * localedata/locales/tpi_PG: Add standard header.
21281
ef11081f
FW
212822017-11-02 Florian Weimer <fweimer@redhat.com>
21283
21284 test-errno-linux: quotactl can fail with EPERM in containers.
21285 * sysdeps/unix/sysv/linux/test-errno-linux.c
21286 (LIST, LIST_FORWARD): New macros.
21287 (check_error_in_list): New function.
21288 (test_wrp_rv): Accept list of permitted error codes.
21289 (test_wrp_rv2): Remove.
21290 (test_wrp): Call test_wrp_rv with list of error codes.
21291 (test_wrp2): Accept list of error codes.
21292 (do_test): Adjust. Allow EPERM for quotactl.
21293
d10b132b
FW
212942017-11-02 Florian Weimer <fweimer@redhat.com>
21295
21296 * stdio-common/bug16.c (do_test): Use array_length.
21297 * stdio-common/errlist.c (_sys_nerr): Likewise.
21298 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
21299 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
21300 * stdio-common/psiginfo.c (psiginfo): Use array_length.
21301 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
21302 (do_test): Use array_length.
21303 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
21304 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
21305 * stdio-common/tst-printf-round.c (do_test): Likewise.
21306 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
21307 (CHECK): Use array_length.
21308 * stdio-common/tstdiomisc.c (t3, F): Likewise.
21309 * stdio-common/tstscanf.c (main): Likewise.
21310 * stdio-common/vfprintf.c (process_string_arg): Likewise.
21311
c94a5688
FW
213122017-11-02 Florian Weimer <fweimer@redhat.com>
21313
21314 Add array_length and array_end macros.
21315 * include/array_length.h: New file.
21316
2fac6a6c
FW
213172017-11-02 Florian Weimer <fweimer@redhat.com>
21318
21319 [BZ #22332]
21320 * posix/tst-glob-tilde.c (do_noescape): New variable.
21321 (one_test): Process it.
21322 (do_test): Set do_noescape. Add unescaping test case.
21323
2f1b212e
JM
213242017-11-01 Joseph Myers <joseph@codesourcery.com>
21325
260fbd0a
JM
21326 * math/complex.h
21327 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
21328 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
21329 with appropriate macros defined and undefined.
21330 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
21331 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21332 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
21333 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21334 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
21335 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21336 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
21337 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21338 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
21339 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21340
2f1b212e
JM
21341 * math/complex.h
21342 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
21343 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
21344 that for long double. Do not condition define and undefine of
21345 _Mdouble_complex_ on [__CFLOAT128].
21346
95b93c6e
L
213472017-11-01 H.J. Lu <hongjiu.lu@intel.com>
21348
21349 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21350 of <sysdeps/generic/sysdep.h>.
21351 (ALIGNARG): Removed.
21352 (ASM_SIZE_DIRECTIVE): Likewise.
21353 (ENTRY): Likewise.
21354 (END): Likewise.
21355 (ENTRY_CHK): Likewise.
21356 (END_CHK): Likewise.
21357 (syscall_error): Likewise.
21358 (mcount): Likewise.
21359 (PSEUDO_END): Likewise.
21360 (L): Likewise.
21361 (atom_text_section): Likewise.
21362 * sysdeps/x86/sysdep.h: New file.
21363 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21364 of <sysdeps/generic/sysdep.h>.
21365 (ALIGNARG): Removed.
21366 (ASM_SIZE_DIRECTIVE): Likewise.
21367 (ENTRY): Likewise.
21368 (END): Likewise.
21369 (ENTRY_CHK): Likewise.
21370 (END_CHK): Likewise.
21371 (syscall_error): Likewise.
21372 (mcount): Likewise.
21373 (PSEUDO_END): Likewise.
21374 (L): Likewise.
21375 (atom_text_section): Likewise.
21376
1bb36539
RL
213772017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
21378
21379 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
21380 category of LC_CTYPE set to "i18n:2012".
21381 * localedata/locales/i18n_ctype: Regenerate.
21382
067f5d97 213832017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 21384
87bbc4cf
YN
21385 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
21386 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
21387 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21388 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21389
e8681faa
YN
21390 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
21391 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
21392 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
21393 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
21394
540af6e2
JM
213952017-10-31 Joseph Myers <joseph@codesourcery.com>
21396
43e66283
JM
21397 * math/complex.h
21398 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
21399 New macro.
21400 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
21401 Likewise.
21402 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
21403 Likewise.
21404 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21405 (CMPLXF32X): Likewise.
21406 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21407 (CMPLXF64X): Likewise.
21408 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21409 (CMPLXF128X): Likewise.
21410
540af6e2
JM
21411 * math/math.h
21412 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
21413 (__MATH_EVAL_FMT2): Define to add 0.0f.
21414
58af72b4
AM
214152017-10-31 Alan Modra <amodra@gmail.com>
21416
21417 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
21418 include sysdep.h.
21419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
21420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
21421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
21422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
21423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
21424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
21425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
21426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
21427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
21428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
21429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
21430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
21431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
21432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
21433 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
21434 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
21435 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
21436 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
21437 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
21438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
21439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
21440 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
21441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
21442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
21443 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21444 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
21445 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
21446 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
21447 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
21448 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
21449 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21450 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21451 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
21452 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
21453 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
21454 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
21455 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
21456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
21457 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
21458 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21459 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
21460 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
21461 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
21462 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
21463 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
21464 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
21465 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
21466 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
21467 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21468 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21469 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
21470 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
21471 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
21472 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
21473 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21474 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
21475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
21476 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
21477 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21478 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21479 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21480 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
21481 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
21482 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21483 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
21484 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
21485 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
21486 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
21487 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
21488
21489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
21490 include sysdep.h and math_ldbl_opt.h.
21491
21492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
21493 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
21494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
21495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
21496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
21497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
21498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
21499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
21500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
21501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
21502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
21503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
21504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
21505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
21506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
21507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
21508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
21509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
21510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
21511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
21512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
21513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
21514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
21515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
21516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
21517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
21518
112f30b3
AM
215192017-10-31 Alan Modra <amodra@gmail.com>
21520
21521 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
21522 string/strncase_l.c, not string/strncase.c.
21523 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
21524 (libc_hidden_def): Redefine.
21525
e9e7eced
AM
215262017-10-31 Alan Modra <amodra@gmail.com>
21527
21528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
21529 (__STRCMP, STRCMP, __strcasecmp_l): Define.
21530 (__strcasecmp): Don't define.
21531
f7b465cf
AM
215322017-10-31 Alan Modra <amodra@gmail.com>
21533
21534 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
21535 IS_IN (libc).
21536 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21537 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21538 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21539
d46b09f9
AM
215402017-10-31 Alan Modra <amodra@gmail.com>
21541
21542 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
21543 USE_AS_STPNCPY.
21544
e9b8e194
AM
215452017-10-31 Alan Modra <amodra@gmail.com>
21546
21547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
21548 Redefine only when SHARED.
21549
eda162dd
JM
215502017-10-30 Joseph Myers <joseph@codesourcery.com>
21551
b61afe8c
JM
21552 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21553 Include <bits/math-finite.h> with appropriate macros defined and
21554 undefined.
21555 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21556 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21557 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21558 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21559 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21560
eda162dd
JM
21561 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
21562 [!_Mlong_double_] (_Mlong_double_): Likewise.
21563 [!_Mfloat16_] (_Mfloat16_): Likewise.
21564 [!_Mfloat32_] (_Mfloat32_): Likewise.
21565 [!_Mfloat64_] (_Mfloat64_): Likewise.
21566 [!_Mfloat128_] (_Mfloat128_): Likewise.
21567 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
21568 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
21569 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
21570 (_Mdouble_): Define without indirection through those macros.
21571 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
21572 [!_Mfloat128_] (_Mfloat128_): Likewise.
21573 [_Mlong_double_] (_Mlong_double_): Likewise.
21574 (_Mdouble_): Define without indirection through those macros.
21575 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
21576 not add -D_Mlong_double_=double.
21577 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
21578 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
21579
4ad5106e
L
215802017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21581
21582 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
21583
fe326df7
L
215842017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21585
21586 * sysdeps/x86/libc-start.c: Reformat.
21587
c5cc4514
L
215882017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21589
21590 [BZ #22353]
21591 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
21592 (1): Renamed to ...
21593 (L(Src0)): This.
21594 (L(Src1)): New.
21595 (L(Src2)): Likewise.
21596 (L(1)): Renamed to ...
21597 (L(Src3)): This.
21598
ce12269f
JM
215992017-10-30 Joseph Myers <joseph@codesourcery.com>
21600
21601 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
21602 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
21603 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
21604 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
21605 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
21606 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
21607 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
21608 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
21609 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
21610 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
21611 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
21612 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
21613 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
21614 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
21615 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
21616 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
21617 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
21618 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
21619 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
21620 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
21621 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
21622 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
21623 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
21624 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
21625 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
21626 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
21627 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
21628 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
21629 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
21630 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
21631 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
21632 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
21633 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
21634 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
21635 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
21636 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
21637 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
21638 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
21639 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
21640 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
21641 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
21642 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
21643 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
21644 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
21645 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
21646 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
21647 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
21648 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
21649 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
21650 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
21651 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
21652 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
21653 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
21654 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
21655 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
21656 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
21657 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
21658 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
21659 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
21660 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
21661 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
21662 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
21663 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
21664 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
21665 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
21666 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
21667
4484b9e2
FW
216682017-10-30 Florian Weimer <fweimer@redhat.com>
21669
21670 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
21671 always defined.
21672 * io/tst-mkdirat.c (do_test): Likewise.
21673 * io/tst-mkfifoat.c (do_test): Likewise.
21674 * io/tst-mknodat.c (do_test): Likewise.
21675 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
21676 * locale/programs/locale.c (select_dirs): Likewise.
21677 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
21678 * posix/bug-glob2.c (my_readdir): Likewise.
21679 * posix/tst-dir.c (main): Likewise.
21680 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
21681 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
21682
68fe16dd
FW
216832017-10-30 Florian Weimer <fweimer@redhat.com>
21684
21685 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
21686 just __USE_GNU.
21687
dadf23f0
FW
216882017-10-30 Florian Weimer <fweimer@redhat.com>
21689
21690 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
21691 Convert to support/test-driver.c.
21692 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
21693 New macro parameters.
21694 (PRINTF): Remove macro. Use test_verbose conditionals instead.
21695 * posix/tst-gnuglob.c: New file.
21696 * posix/tst-gnuglob64.c: Likewise.
21697 * posix/Makefile (tests): Add tst-gnuglob64.
21698
363e4519 216992017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
21700
21701 [BZ #19485]
21702 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
21703 and use a better translation for March in “mon”.
21704 * localedata/locales/csb_PL: Use more ASCII to improve the
21705 readability of the source.
21706
b110af82
MF
217072017-10-30 Mike FABIAN <mfabian@redhat.com>
21708
21709 [BZ #13953]
21710 * localedata/locales/km_KH: Use ASCII as much
21711 as possible for better readability of the source and
21712 remove useless comments.
21713 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
21714 was commented out and apparently wrong anyway because it was
21715 using Lao characters. If Buddhist era should be used
21716 for km_KH, a native speaker should write the correct formaat
21717 for Khmer.
21718 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
21719 (According to CLDR, the first weekday for Cambodia is Sunday).
21720 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
21721 (These were using Lao characters which must be wrong. If we get
21722 the correct data from a native speaker, we could add it back, until
21723 then it is better not to have name_mr and name_mrs at all than
21724 having it wrong).
21725
f301e533
RL
217262017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
21727
21728 * locale/loadlocale.c: Correct size of
21729 _nl_value_type_LC_<category> arrays.
21730
7e9d7073
JM
217312017-10-27 Joseph Myers <joseph@codesourcery.com>
21732
21733 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21734 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
21735 with appropriate macros defined and undefined.
21736 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21737 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21738 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21739 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21740 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21741
63d3b468
L
217422017-10-27 H.J. Lu <hongjiu.lu@intel.com>
21743
21744 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21745 "-O2 -march=i586".
21746
a4cc02c7
MF
217472017-10-27 Mike FABIAN <mfabian@redhat.com>
21748
21749 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
21750 with lowercase letters to make it agree with CLDR.
21751
1e5971ec
MF
217522017-10-27 Mike FABIAN <mfabian@redhat.com>
21753
21754 [BZ #15260]
21755 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
21756 first letters of yesstr and nostr in yesexpr and noexpr,
21757 not for the full words.
21758 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21759 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
21760 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
21761 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
21762 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
21763 first letters of yesstr and nostr in yesexpr and noexpr,
21764 until now only English was matched in yesexpr and noexpr.
21765 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
21766 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
21767 fil but not for tl. As tl and fil are very similar, using fil
21768 is probably better than using English.
21769
363e4519 217702017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
21771
21772 [BZ #21706]
21773 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
21774 in yesstr and nostr.
21775
5d220788
JM
217762017-10-26 Joseph Myers <joseph@codesourcery.com>
21777
ecc7da5b
JM
21778 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
21779 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
21780 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
21781 Likewise.
21782 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
21783 Likewise.
21784 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
21785 Likewise.
21786 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
21787 Likewise.
21788 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21789 (SNANF128X): Likewise.
21790
5d220788
JM
21791 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
21792 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
21793 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21794 (HUGE_VAL_F32): Likewise.
21795 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21796 (HUGE_VAL_F64): Likewise.
21797 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21798 (HUGE_VAL_F32X): Likewise.
21799 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21800 (HUGE_VAL_F64X): Likewise.
21801 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21802 (HUGE_VAL_F128X): Likewise.
21803
363e4519 218042017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
21805
21806 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
21807 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
21808 for the br_FR locale.
21809
363e4519 218102017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
21811
21812 [BZ #21706]
21813 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
21814
337ff3c5
CD
218152017-10-25 Carlos O'Donell <carlos@redhat.com>
21816
02eec681
CD
21817 * locale/programs/record-status.h: Define globals, and function
21818 prototypes. Move function bodies...
21819 * locale/programs/record-status.c: ... to here. New file.
21820 * iconv/Makefile (iconv_prog-modules): Add record-status.
21821 * locale/Makefile (lib-modules): Likewise.
21822 * iconv/iconv_prog.c: Remove verbose.
21823 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
21824 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
21825 record a warning about ASCII compatibility.
21826 * locale/programs/ld-monetary.c (monetary_finish): If
21827 warn_int_curr_symbol is true then record a warning about the symbol
21828 not being in our ISO 4217 list.
21829 * locale/programs/locale.c: Include record-status.h. Remove verbose.
21830 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
21831 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
21832 (OPT_NO_WARN): Define.
21833 (OPT_WARN): Define.
21834 (options): Add entry for --no-warnings, and --warnings.
21835 (set_warnings): New function to enable/disable warnings.
21836 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
21837 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
21838 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
21839 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
21840 Pass flags to generate_locale.
21841 (generate_locale): Accept new flag argument and pass it to localedef
21842 invocation.
21843 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
21844 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
21845
56fa555a
CD
21846 * localedata/Makefile (test-input-data): Use full file name.
21847 * localedata/da_DK.in: Rename to...
21848 * localedata/da_DK.ISO-8859-1.in: ...this.
21849 * localedata/de_DE.in: Rename to...
21850 * localedata/de_DE.ISO-8859-1.in: ...this.
21851 * localedata/en_US.in: Rename to...
21852 * localedata/en_US.ISO-8859-1.in: ...this.
21853 * localedata/fr_FR.in: Rename to...
21854 * localedata/fr_FR.UTF-8.in: ... this.
21855 * localedata/hr_HR.in: Rename to...
21856 * localedata/hr_HR.ISO-8859-2.in: ...this.
21857 * localedata/hu_HU.in: Rename to...
21858 * localedata/hu_HU.UTF-8.in: ...this.
21859 * localedata/si_LK.in: Rename to...
21860 * localedata/si_LK.UTF-8.in: ...this.
21861 * localedata/sv_SE.in: Rename to...
21862 * localedata/sv_SE.ISO-8859-1.in: ...this.
21863 * localedata/tr_TR.in: Rename to...
21864 * localedata/tr_TR.UTF-8.in: ...this.
21865 * localedata/uk_UA.in: Rename to...
21866 * localedata/uk_UA.UTF-8.in: ...this.
21867 * localedata/sort-test.sh: Test file is locale name with the
21868 suffix.
21869
337ff3c5
CD
21870 * localedata/unicode-gen/Makefile (check_i18n): Rename to
21871 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
21872 file.
21873 * localedata/locales/i18n_ctype: Regenerate.
21874 * localedata/locales/tr_TR: Likewise.
21875 * localedata/locales/translit_circle: Likewise.
21876 * localedata/locales/translit_cjk_compat: Likewise.
21877 * localedata/locales/translit_combining: Likewise.
21878 * localedata/locales/translit_compat: Likewise.
21879 * localedata/locales/translit_font: Likewise.
21880 * localedata/locales/translit_fraction: Likewise.
21881
63da5cd4
RS
218822017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21883
21884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
21885 lxvd2x/stxvd2x with lvx/stvx.
21886 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
21887
a122dbfb
L
218882017-10-25 H.J. Lu <hongjiu.lu@intel.com>
21889
21890 * include/alloc_buffer.h: Replace "if if " with "if " in
21891 comments.
21892 * sysdeps/mips/memcpy.S: Likkewise.
21893 * sysdeps/mips/memset.S: Likewise.
21894 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
21895 Likewise.
21896 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
21897 Likewise.
21898 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
21899 Likewise.
21900
9be7530c
MF
219012017-10-25 Mike FABIAN <mfabian@redhat.com>
21902
21903 [BZ #15261]
21904 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
21905 yesexpr and noexpr.
21906 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21907 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21908 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21909 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21910 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
21911 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
21912 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
21913
6ccbf6ff
MF
219142017-10-25 Mike FABIAN <mfabian@redhat.com>
21915
21916 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
21917 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
21918 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21919 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21920 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21921 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
21922 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21923 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21924 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21925 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
21926 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
21927 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
21928
58b1a7ea
MF
219292017-10-25 Mike FABIAN <mfabian@redhat.com>
21930
21931 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
21932 as possible for better readability of the source.
21933 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
21934 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
21935 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
21936 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
21937 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
21938 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
21939 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
21940 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
21941 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
21942 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
21943 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
21944 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
21945 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
21946 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
21947 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
21948 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
21949 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
21950 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
21951 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
21952 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
21953 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
21954 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
21955 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
21956 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
21957 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
21958 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
21959 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
21960 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
21961 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
21962 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
21963 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
21964 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21965 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
21966 * localedata/locales/en_US (LC_MESSAGES): Likewise.
21967 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
21968 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
21969 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
21970 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
21971 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
21972 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
21973 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
21974 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
21975 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
21976 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
21977 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
21978 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
21979 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
21980 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
21981 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
21982 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
21983 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
21984 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
21985 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
21986 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21987 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21988 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
21989 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
21990 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21991 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
21992 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
21993 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
21994 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
21995 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
21996 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
21997 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
21998 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
21999 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22000 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22001 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22002 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22003 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22004 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22005 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22006 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22007 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22008 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22009 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22010 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22011 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22012 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22013 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22014 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22015 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22016 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22017 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22018 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22019 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22020 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22021 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22022 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22023 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22024 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22025 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22026 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22027 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22028 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22029 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22030 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22031 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22032 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22033 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22034 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22035 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22036 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22037 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22038 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22039 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22040 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22041 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22042 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22043 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22044 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22045 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22046 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22047 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22048 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22049 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22050 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22051 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22052 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22053 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22054 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22055 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22056 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22057 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22058 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22059 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22060 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22061 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22062 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22063 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22064 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22065 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22066 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22067 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22068 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22069 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22070 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22071 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22072 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22073 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22074 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22075 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22076 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22077 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22078 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22079 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22080 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22081 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22082 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22083 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22084 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22085 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22086 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22087 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22088 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22089 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22090 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22091 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22092 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22093 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22094 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22095 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22096 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22097 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22098 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22099 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22100 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22101 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22102 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22103 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22104 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22105 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22106 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22107
17e78edb
MF
221082017-10-25 Mike FABIAN <mfabian@redhat.com>
22109
22110 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22111 (Use first letters of yesstr and nostr correctly instead of using
22112 full words).
22113
74e7284f
MF
221142017-10-25 Mike FABIAN <mfabian@redhat.com>
22115
22116 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22117 (Use first letters of yesstr and nostr correctly).
22118
b41a0ff1
MF
221192017-10-25 Mike FABIAN <mfabian@redhat.com>
22120
22121 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22122 also check for the first characters of yesstr and nostr.
22123 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
22124 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
22125
d971f380
MF
221262017-10-25 Mike FABIAN <mfabian@redhat.com>
22127
22128 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22129 also check for Chinese characters.
22130
effc9e1d
MF
221312017-10-25 Mike FABIAN <mfabian@redhat.com>
22132
22133 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
22134 match also for the contents of yesstr and nostr. As the first letter
22135 of yesstr and nostr is equal, checking only for the first letter
22136 is not enough.
22137
10320881
MF
221382017-10-25 Mike FABIAN <mfabian@redhat.com>
22139
22140 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
22141 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
22142
d8682a15
MF
221432017-10-25 Mike FABIAN <mfabian@redhat.com>
22144
22145 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
22146 of main contributor.
22147
1bfb86ae
MF
221482017-10-25 Mike FABIAN <mfabian@redhat.com>
22149
22150 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
22151 instead of using English.
22152
da33d60b
MF
221532017-10-25 Mike FABIAN <mfabian@redhat.com>
22154
22155 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
22156 by including the first letters of nostr and yesexpr in the regexp.
22157 Also make it more readable by using ASCII where possible.
22158
725bbb3e
MF
221592017-10-25 Mike FABIAN <mfabian@redhat.com>
22160
22161 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
22162 the first letter of nostr in the regexp. It agrees with CLDR now.
22163 Also make it more readable by using ASCII where possible.
22164
fe043d8a
MF
221652017-10-24 Mike FABIAN <mfabian@redhat.com>
22166
22167 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
22168 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22169 these strings contain a U+17D6 (which somewhat looks like a colon)
22170 instead of a real colon to separate the full words for “yes”
22171 and “no” from the single letter responses.
22172
360a8df3
MF
221732017-10-24 Mike FABIAN <mfabian@redhat.com>
22174
22175 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
22176 it agree with CLDR (include the first letter of yesstr).
22177 Also make it more readable by using ASCII where possible.
22178
bab7b6b0
MF
221792017-10-24 Mike FABIAN <mfabian@redhat.com>
22180
22181 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
22182 and improve yesexpr and noexpr. The yesstr and nostr apparently
22183 came from CLDR. And CLDR has a bug there: these strings contain
22184 a U+0903 (which looks like a colon) instead of a real colon
22185 to separate the full words for “yes” and “no” from the single
22186 letter responses.
22187
3e79f758
MF
221882017-10-24 Mike FABIAN <mfabian@redhat.com>
22189
22190 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
22191 letters of the full yesstr and nostr in yesexpr and noexpr.
22192
4960c879
MF
221932017-10-24 Mike FABIAN <mfabian@redhat.com>
22194
22195 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
22196 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
22197 * localedata/locales/an_ES: Make source more readable by using ASCII
22198 where possible.
22199
b06a054f
MF
222002017-10-24 Mike FABIAN <mfabian@redhat.com>
22201
22202 [BZ #20952]
22203 * localedata/locales/yuw_PG: New file.
22204 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
22205 * locale/iso-639.def: Add Yau (Uruwa).
22206
905a7725
WD
222072017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22208
22209 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
22210
3f6bb8a3
WD
222112017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
22212
22213 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
22214 (__libc_realloc): Likewise.
22215 (_mid_memalign): Likewise.
22216 (__libc_calloc): Likewise.
22217
1d479c8c
MF
222182017-10-23 Mike FABIAN <mfabian@redhat.com>
22219
22220 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
22221 by adding the generic +1 and -0 as in all other locales.
22222 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
22223 day names and make it more readable by using ASCII where possible.
22224
91c3985c
JM
222252017-10-24 Joseph Myers <joseph@codesourcery.com>
22226
22227 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
22228 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
22229
aa95a241
AZ
222302017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22231
22232 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
22233 WNOHANG in waitpid call.
22234
db9bab09
SP
222352017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
22236
a2e0a7f1
SP
22237 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
22238 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
22239
db9bab09
SP
22240 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
22241 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
22242 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
22243 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
22244 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
22245 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
22246 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
22247 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
22248 variables.
22249
5062680c
MC
222502017-10-23 Michael Collison <michael.collison@arm.com>
22251
22252 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
22253 with __builtin_sqrt.
22254 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
22255 with __builtin_sqrtf.
22256 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
22257 with __builtin_ceil.
22258 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
22259 with __builtin_ceilf.
22260 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
22261 with __builtin_floor.
22262 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
22263 with __builtin_floorf.
22264 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
22265 with __builtin_fma.
22266 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
22267 with __builtin_fmaf.
22268 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
22269 with __builtin_fmax.
22270 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
22271 with __builtin_fmaxf.
22272 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
22273 with __builtin_fmin.
22274 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
22275 with __builtin_fminf.
22276 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
22277 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
22278 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
22279 with builtin_rint and conversion to int.
22280 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
22281 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
22282 with builtin_llround.
22283 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
22284 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
22285 with builtin_rint and conversion to long int.
22286 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
22287 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
22288 with builtin_lround.
22289 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
22290 with builtin_lroundf.
22291 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
22292 statements with __builtin_nearbyint.
22293 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
22294 statements with __builtin_nearbyintf.
22295 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
22296 with __builtin_rint.
22297 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
22298 with __builtin_rintf.
22299 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
22300 with __builtin_round.
22301 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
22302 with __builtin_roundf.
22303 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
22304 with __builtin_trunc.
22305 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
22306 with __builtin_truncf.
be080b6c
SN
22307 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
22308 and s_l[l]round[f].c too.
5062680c 22309
174935af
AM
223102017-10-23 Alan Modra <amodra@gmail.com>
22311
22312 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
22313 Adjust stack after restoring regs. Add missing LR cfi_restore.
22314
750a0e49
AM
223152017-10-23 Alan Modra <amodra@gmail.com>
22316
22317 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
22318 Move LR save and frame setup/teardown and LR restore to
22319 immediately around memset call. Provide cfi.
22320
5313581c
L
223212017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22322
22323 * sysdeps/i386/fpu/e_powf.S: Removed.
22324 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
22325 * sysdeps/i386/fpu/w_powf.c: Likewise.
22326 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
22327 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22328 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22329 Add e_powf-sse2.
22330 (CFLAGS-e_powf-sse2.c): New.
22331 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
22332 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
22333
6089a3ee
L
223342017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22335
22336 * sysdeps/i386/fpu/e_log2f.S: Removed.
22337 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
22338 * sysdeps/i386/fpu/w_log2f.c: Likewise.
22339 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
22340 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22341 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22342 Add e_log2f-sse2.
22343 (CFLAGS-e_log2f-sse2.c): New.
22344 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
22345 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
22346
80bb5935
L
223472017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22348
22349 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22350 Add e_powf-fma.
22351 (CFLAGS-e_powf-fma.c): New.
22352 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
22353 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
22354
5c7adbd8
L
223552017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22356
22357 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22358 Add e_log2f-fma.
22359 (CFLAGS-e_log2f-fma.c): New.
22360 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
22361 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
22362
0ccc7153
L
223632017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22364
22365 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22366 Add e_logf-fma.
22367 (CFLAGS-e_logf-fma.c): New.
22368 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
22369 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
22370
fe596486
L
223712017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22372
22373 * sysdeps/i386/fpu/e_logf.S: Removed.
22374 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
22375 * sysdeps/i386/fpu/w_logf.c: Likewise.
22376 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
22377 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
22378 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22379 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22380 Add e_logf-sse2.
22381 (CFLAGS-e_logf-sse2.c): New.
22382 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
22383 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
22384
7eda65f6
L
223852017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22386
22387 * sysdeps/i386/fpu/e_exp2f.S: Removed.
22388 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
22389 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
22390 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22391 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22392 Add e_exp2f-sse2.
22393 (CFLAGS-e_exp2f-sse2.c): New.
22394 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
22395 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
22396
5d15c969
L
223972017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22398
22399 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22400 Add e_exp2f-fma.
22401 (CFLAGS-e_exp2f-fma.c): New.
22402 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
22403 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
22404
b2f6137e
L
224052017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22406
22407 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
22408 * sysdeps/i386/fpu/e_expf.S: Likewise.
22409 * sysdeps/i386/fpu/math_errf.c: Likewise.
22410 * sysdeps/i386/fpu/w_expf.c: Likewise.
22411 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
22412 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22413 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
22414 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
22415 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22416 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22417 Remove e_expf-ia32.
22418 (CFLAGS-e_expf-sse2.c): New.
22419 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
22420 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
22421
e1f59beb
L
224222017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22423
22424 * sysdeps/x86_64/fpu/e_expf.S: Removed.
22425 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
22426 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
22427 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
22428 e_expf.c.
22429 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
22430 New.
22431 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
22432 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
22433 Renamed to ...
22434 (__redirect_expf): This.
22435 (SYMBOL_NAME): Changed to expf.
22436 (__ieee754_expf): Renamed to ...
22437 (__expf): This.
22438 (__GI___expf): This.
22439 (__ieee754_expf): Add strong_alias.
22440 (__expf_finite): Likewise.
22441 (__expf): New.
22442 Include <sysdeps/ieee754/flt-32/e_expf.c>.
22443
363e4519 224442017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
22445
22446 [BZ #22332]
22447 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
22448 unescaping.
22449
e80fc1fc
FW
224502017-10-21 Florian Weimer <fweimer@redhat.com>
22451
22452 * posix/Makefile (tests): Add tst-glob-tilde.
22453 (tests-special): Add tst-glob-tilde-mem.out
22454 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
22455 (tst-glob-tilde-mem.out): Add mtrace check.
22456 * posix/tst-glob-tilde.c: New file.
22457
797ba44b
JM
224582017-10-20 Joseph Myers <joseph@codesourcery.com>
22459
22460 * bits/floatn-common.h: New file.
22461 * math/Makefile (headers): Add bits/floatn-common.h.
22462 * bits/floatn.h: Include <bits/floatn-common.h>.
22463 * sysdeps/ia64/bits/floatn.h: Likewise.
22464 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22465 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
22466 * sysdeps/powerpc/bits/floatn.h: Likewise.
22467 * sysdeps/x86/bits/floatn.h: Likewise.
22468
fe05e1cb
AZ
224692017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22470
8f6f5362
AZ
22471 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
22472 indicates whether compiler emits an warning for alias for
22473 functions with incompatible types.
22474
fe05e1cb
AZ
22475 [BZ #22273]
22476 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
22477 the auxiliary process is terminated by a signal before calling _exit
22478 or execve.
22479
b52b0d79
L
224802017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22481
22482 [BZ #21265]
22483 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
22484 New.
22485 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
22486 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
22487 and bit_arch_XSAVEC_Usable if needed.
22488 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
22489 and bit_arch_Use_dl_runtime_resolve_opt.
22490 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
22491 Removed.
22492 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
22493 (bit_arch_Prefer_No_AVX512): Updated.
22494 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
22495 (bit_arch_XSAVEC_Usable): New.
22496 (STATE_SAVE_OFFSET): Likewise.
22497 (STATE_SAVE_MASK): Likewise.
22498 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
22499 (cpu_features): Add xsave_state_size and xsave_state_full_size.
22500 (index_arch_Use_dl_runtime_resolve_opt): Removed.
22501 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
22502 (index_arch_XSAVEC_Usable): New.
22503 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
22504 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
22505 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
22506 is enabled.
22507 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
22508 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
22509 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
22510 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
22511 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
22512 _dl_runtime_resolve_xsavec.
22513 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
22514 Removed.
22515 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
22516 instead of VEC_SIZE.
22517 (REGISTER_SAVE_BND0): Removed.
22518 (REGISTER_SAVE_BND1): Likewise.
22519 (REGISTER_SAVE_BND3): Likewise.
22520 (REGISTER_SAVE_RAX): Always defined to 0.
22521 (VMOV): Removed.
22522 (_dl_runtime_resolve_avx): Likewise.
22523 (_dl_runtime_resolve_avx_slow): Likewise.
22524 (_dl_runtime_resolve_avx_opt): Likewise.
22525 (_dl_runtime_resolve_avx512): Likewise.
22526 (_dl_runtime_resolve_avx512_opt): Likewise.
22527 (_dl_runtime_resolve_sse): Likewise.
22528 (_dl_runtime_resolve_sse_vex): Likewise.
22529 (USE_FXSAVE): New.
22530 (_dl_runtime_resolve_fxsave): Likewise.
22531 (USE_XSAVE): Likewise.
22532 (_dl_runtime_resolve_xsave): Likewise.
22533 (USE_XSAVEC): Likewise.
22534 (_dl_runtime_resolve_xsavec): Likewise.
22535 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
22536 Removed.
22537 (_dl_runtime_resolve_avx512_opt): Likewise.
22538 (_dl_runtime_resolve_avx): Likewise.
22539 (_dl_runtime_resolve_avx_opt): Likewise.
22540 (_dl_runtime_resolve_sse): Likewise.
22541 (_dl_runtime_resolve_sse_vex): Likewise.
22542 (_dl_runtime_resolve_fxsave): New.
22543 (_dl_runtime_resolve_xsave): Likewise.
22544 (_dl_runtime_resolve_xsavec): Likewise.
22545
363e4519 225462017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
22547
22548 [BZ #22320]
22549 CVE-2017-15670
22550 * posix/glob.c (__glob): Fix one-byte overflow.
22551
6d43de4b
WD
225522017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22553
22554 * malloc/malloc.c (sysdep-cancel.h): Add include.
22555
a15d53e2
WD
225562017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22557
22558 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
22559
b9a558e7
WH
225602017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
22561
22562 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
22563 (tests): Remove $(objpfx)ga_test depdendency.
22564 * resolv/ga_test.c: Remove file.
22565
b6b08b8e
MF
225662017-10-20 Mike FABIAN <mfabian@redhat.com>
22567
22568 [BZ #18812]
22569 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
22570 * localedata/locales/kab_DZ: New file.
22571
9ba7e810
L
225722017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22573
22574 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
22575 _dl_relocate_static_pie instead of _dl_start to compute load
22576 address in static PIE.
22577
4027a4fd
L
225782017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22579
22580 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
22581
2f9314b4
MF
225822017-10-20 Mike FABIAN <mfabian@redhat.com>
22583
22584 [BZ #13605]
22585 * localedata/SUPPORTED: Add shn_MM/UTF-8.
22586 * localedata/locales/shn_MM: New file.
22587
63b4baa4
FW
225882017-10-20 Florian Weimer <fweimer@redhat.com>
22589
22590 [BZ #22321]
22591 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
22592 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
22593 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
22594 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
22595 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
22596 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
22597
95ccb619
L
225982017-10-19 H.J. Lu <hongjiu.lu@intel.com>
22599
22600 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22601
37bb78cb
JM
226022017-10-19 Joseph Myers <joseph@codesourcery.com>
22603
76f2ed92
JM
22604 * sysdeps/mips/ieee754/bits/floatn.h: New file.
22605
37bb78cb
JM
22606 [BZ #22322]
22607 * sysdeps/mips/bits/long-double.h: Move to ....
22608 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
22609
d74e6f6c
WD
226102017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
22611
22612 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
22613
363e4519 226142017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
22615 H.J. Lu <hongjiu.lu@intel.com>
22616
22617 [BZ #22299]
22618 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22619 GLRO(dl_platform) to NULL.
22620 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
22621 (modules-names): Add tst-platformmod-1 and
22622 x86_64/tst-platformmod-2.
22623 (CFLAGS-tst-platform-1.c): New.
22624 (CFLAGS-tst-platformmod-1.c): Likewise.
22625 (CFLAGS-tst-platformmod-2.c): Likewise.
22626 (LDFLAGS-tst-platformmod-2.so): Likewise.
22627 ($(objpfx)tst-platform-1): Likewise.
22628 ($(objpfx)tst-platform-1.out): Likewise.
22629 (tst-platform-1-ENV): Likewise.
22630 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
22631 * sysdeps/x86_64/tst-platform-1.c: New file.
22632 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
22633 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
22634
4b0fa403
MF
226352017-10-19 Mike FABIAN <mfabian@redhat.com>
22636
22637 [BZ #13994]
22638 * locale/iso-639.def: Add Karbi.
22639 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
22640 * localedata/locales/mjw_IN: New file.
22641
81325b12
JM
226422017-10-18 Joseph Myers <joseph@codesourcery.com>
22643
22644 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
22645 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22646 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
22647 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
22648 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22649 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22650 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
22651 <bits/floatn.h>.
22652 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22653 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22654 * manual/math.texi (Mathematics): Document additional architecture
22655 support for _Float128.
22656 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22657 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22658 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22659 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22660 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22661 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22662 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22663 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22664 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22665 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22666 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22667 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22668 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22669 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22670 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22671
a68ba2f3
SN
226722017-10-18 Renlin Li <renlin.li@arm.com>
22673
22674 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
22675 _DYNAMIC symbol to calculate load address.
22676
346729f6
PC
226772017-10-18 Paul A. Clarke <pc@us.ibm.com>
22678
22679 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
22680 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
22681 summary bits.
22682 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
22683 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
22684
508b1e71
MF
226852017-10-18 Mike FABIAN <mfabian@redhat.com>
22686
22687 [BZ #16777]
22688 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
22689 and improve readability by using more ASCII.
22690 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
22691 and improve readability by using more ASCII.
22692
2c2245b9
WD
226932017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
22694
22695 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
22696 not all targets support atomics on bool.
22697
13c92696
JM
226982017-10-17 Joseph Myers <joseph@codesourcery.com>
22699
22700 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
22701 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
22702 __f128.
22703 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22704 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
22705 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22706 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
22707 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22708 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
22709
71d85045
AZ
227102017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22711
22712 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
22713 defines.
22714
3381be5c
WD
227152017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22716
22717 [BZ #22159]
22718 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
22719 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
22720 (do_check_remalloced_chunk): Fix build bug.
22721 (do_check_malloc_state): Add assert that checks arena->top.
22722 (malloc_consolidate): Remove initialization.
22723 (int_mallinfo): Remove call to malloc_consolidate.
22724 (__libc_mallopt): Clarify why malloc_consolidate is needed.
22725
e956075a
WD
227262017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22727
22728 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
22729 (have_fastchunks): Remove.
22730 (clear_fastchunks): Remove.
22731 (set_fastchunks): Remove.
22732 (malloc_state): Add have_fastchunks.
22733 (malloc_init_state): Use have_fastchunks.
22734 (do_check_malloc_state): Remove incorrect invariant checks.
22735 (_int_malloc): Use have_fastchunks.
22736 (_int_free): Likewise.
22737 (malloc_consolidate): Likewise.
22738
e4dd4ace
WD
227392017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22740
22741 * malloc/malloc.c (tcache_put): Inline.
22742 (tcache_get): Inline.
22743
5bf58bc7
AJ
227442017-10-17 Jordi Mallach <jordi@gnu.org>
22745
22746 Aurelien Jarno <aurelien@aurel32.net>
22747 [BZ #2522]
22748 * localedata/locales/ca_ES@valencia: New file.
22749 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
22750
386e1c26
RN
227512017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
22752
22753 [BZ #22296]
22754 * math/math.h: Let signbit use the builtin in C++ mode with gcc
22755 < 6.x
22756
4e17c78e
AZ
227572017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22758
3d265601
AZ
22759 * scripts/build-many-glibcs.py (Context.add_all_configs):
22760 Add arm-linux-gnueabihf multiarch extra_glibcs.
22761
4e17c78e
AZ
22762 * sysdeps/generic/ifunc-init.h: New file.
22763 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
22764
56a752ab
MF
227652017-10-17 Mike FABIAN <mfabian@redhat.com>
22766
22767 [BZ #22019]
22768 * localedata/locales/el_GR: Set n_cs_precedes to 0.
22769 * localedata/locales/el_CY: copy "el_GR" because it is identical.
22770 * stdlib/tst-strfmon_l.c: adapt test case.
22771
c38a4bfd
JM
227722017-10-16 Joseph Myers <joseph@codesourcery.com>
22773
22774 * sysdeps/generic/float128-abi.h: New file.
22775 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
22776 non-__prefixed symbols to ....
22777 * math/Versions: ... here. Include <float128-abi.h>.
22778 * stdlib/Versions ... and here. Include <float128-abi.h>
22779
76009b26
FW
227802017-10-16 Florian Weimer <fweimer@redhat.com>
22781
22782 * version.h (VERSION): Switch to ".9000" as the development
22783 version suffix.
22784
7ece6cd5
FW
227852017-10-16 Florian Weimer <fweimer@redhat.com>
22786
22787 [BZ #22050]
22788 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
22789 compat_symbol_reference to access non-default version.
22790
d8287b36
FW
227912017-10-16 Florian Weimer <fweimer@redhat.com>
22792
22793 * malloc/Makefile (others-extras): Set to mcheck-init.o.
22794
3480ddc4
CD
227952017-10-16 Carlos O'Donell <carlos@redhat.com>
22796
22797 * include/shlib-compat.h (compat_symbol_reference): Update
22798 comment.
22799
02010e79
JM
228002017-10-16 Joseph Myers <joseph@codesourcery.com>
22801
596f7013
JM
22802 * math/Makefile (test-types): Add
22803 $(type-float128-$(float128-alias-fcts)).
22804 * math/test-float128.h (TYPE_STR): Define conditional on
22805 [FLT128_MANT_DIG == LDBL_MANT_DIG].
22806 (ULP_IDX): Likewise.
22807 (ULP_I_IDX): Likewise.
22808
02010e79
JM
22809 * stdlib/strtold.c: Include <bits/floatn.h>
22810 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
22811 and later undefine as macro. Define as weak alias if
22812 [!USE_WIDE_CHAR].
22813 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
22814 and later undefine as macro. Define as weak alias if
22815 [USE_WIDE_CHAR].
22816 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
22817 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
22818 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22819 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
22820 Define and later undefine as macro. Define as weak alias if
22821 [USE_WIDE_CHAR].
22822 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
22823 <bits/floatn.h>.
22824 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
22825 Define and later undefine as macro. Define as weak alias if
22826 [!USE_WIDE_CHAR].
22827 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
22828 Define and later undefine as macro. Define as weak alias if
22829 [USE_WIDE_CHAR].
22830
ea91c315
CD
228312017-10-15 Carlos O'Donell <carlos@redhat.com>
22832
22833 * localedata/collate-test.c (allocate_arrays): Don't use \n in
22834 record_verbose messages.
22835
8e57c943
L
228362017-10-15 H.J. Lu <hongjiu.lu@intel.com>
22837
22838 [BZ #22052]
22839 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
22840 to silence -O3 -Wall warning with GCC 7.
22841
a4777c46
L
228422017-10-14 H.J. Lu <hongjiu.lu@intel.com>
22843
22844 * Makeconfig (+link-static-before-libc): Use the first of
22845 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
22846 * gmon/Makefile (tests): Add tst-gmon-static.
22847 (tests-static): Likewise.
22848 (CFLAGS-tst-gmon-static.c): New.
22849 (CRT-tst-gmon-static): Likewise.
22850 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
22851 (tst-gmon-static-ENV): Likewise.
22852 (tests-special): Likewise.
22853 ($(objpfx)tst-gmon-static.out): Likewise.
22854 (clean-tst-gmon-static-data): Likewise.
22855 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
22856 * gmon/tst-gmon-static-gprof.sh: New file.
22857 * gmon/tst-gmon-static.c: Likewise.
22858
bc3821bb
CD
228592017-10-13 Carlos O'Donell <carlos@redhat.com>
22860
22861 [BZ #22295]
22862 * locale/programs/linereader.c (get_string): Don't warn on
22863 non-symbolic character.
22864
a3e23a2c
CD
22865 [BZ #22294]
22866 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
22867 int_curr_symbol.
22868
f16491eb
CD
22869 [BZ #22292]
22870 * locale/programs/record-status.h: New file
22871 * locale/programs/locale.c: Add comment.
22872 * locale/programs/charmap-dir.c: Don't include error.h.
22873 (charmap_opendir): Use record_error.
22874 * locale/programs/charmap.c: Don't include error.h.
22875 (charmap_read): Use record_error, and record_warning.
22876 (parse_charmap): Likewise.
22877 * locale/programs/ld-address.c: Don't include error.h.
22878 (address_finish): Use record_error, and record_warning.
22879 * locale/programs/ld-collate.c: Don't include error.h.
22880 (collate_finish): Use record_error, and record_error_at_line.
22881 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
22882 (ctype_class_new): Likewise.
22883 (ctype_map_new): Likewise.
22884 (set_one_default): Likewise.
22885 (set_class_defaults): Likewise.
22886 (translit_flatten): Likewise.
22887 (allocate_arrays): Use record_error, and record_verbose.
22888 * locale/programs/ld-identification.c: Don't include error.h.
22889 (indentation_finish): Use record_error and record_warning.
22890 * locale/programs/ld-measurement.c: Don't include error.h.
22891 (measurement_finish): Use record_error.
22892 * locale/programs/ld-messages.c
22893 (message_finish): Likewise.
22894 * locale/programs/ld-monetary.c
22895 (monetary_finish): Likewise.
22896 * locale/programs/ld-name.c (name_finish): Use record_error
22897 and record_warning.
22898 * locale/programs/ld-numeric.c
22899 (numeric_finish): Use record_error.
22900 * locale/programs/ld-paper.c: Don't include error.h.
22901 (paper_finish): Use record_error.
22902 * locale/programs/ld-telephone.c: Don't include error.h.
22903 (telephone_finish): Use record_error.
22904 * locale/programs/ld-time.c (time_finish): Likewise.
22905 * locale/programs/linereader.h (lr_error): Make inline func.
22906 * locale/programs/localedef.c: Define recorded_warning_count,
22907 and recorded_error_count.
22908 (main): Use record_error. Use recorded_error_count and
22909 recorded_warning_count to issue correct error returns.
22910 (add_to_readlist): Use record_error.
22911 (find_locale): Likewise.
22912 (load_locale): Likewise.
22913 * locale/programs/localedef.h: Remove be_quiet
22914 and WITH_CUR_LOCALE.
22915 * locale/programs/locarchive.c (compare_from_file): Use
22916 record_error.
22917 * locale/programs/locfile.c (write_locale_data): Use
22918 record_error.
22919 * locale/programs/repertoire.c: Dont include error.h.
22920 (repertoire_complain): Use record_error.
22921 * localedata/tst-fmon.sh: Expect failures from localedef.
22922 * localedata/tst-locale.sh: Likewise.
22923 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
22924
8dc8be75
CD
22925 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
22926 (REPORTS): Likewise.
22927 (check): Likewise.
22928 (i18n): Rename to...
22929 (i18n_ctype): ...this.
22930 (i18n-report): Rename to...
22931 (i18n_ctype-report): ...this.
22932 * localedata/locales/i18n_ctype: Regenerate.
22933 * localedata/locales/i18n: copy i18n_ctype.
22934
f8718a9e
JM
229352017-10-13 Joseph Myers <joseph@codesourcery.com>
22936
18c08b96
JM
22937 * stdlib/strfroml.c: Include <bits/floatn.h>.
22938 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
22939 Define before include of <stdlib.h> and undefine afterwards, then
22940 define as weak alias.
22941
f8718a9e
JM
22942 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
22943 Undefine and restore default definition. Use
22944 libm_alias_ldouble_other.
22945
e4f530da
PZ
229462017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
22947
22948 [BZ #22153]
22949 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
22950 in coredumps.
22951
86445888
JC
229522017-10-13 James Clarke <jrtc27@jrtc27.com>
22953
22954 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22955 Assign sym_map to be map for local symbols, as TLS relocations
22956 use sym_map to determine whether the symbol is defined and to
22957 extract the TLS information.
22958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22959 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22960
179dcdb7
TMQMF
229612017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22962
e8dbd6a3
TMQMF
22963 [BZ #22189]
22964 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
22965 (math_force_eval): Add powerpc version.
22966
179dcdb7
TMQMF
22967 [BZ #22142]
22968 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
22969 -DBL_MAX.
22970 (do_test): Likewise.
22971 * stdio-common/tst-printf.sh: Likewise.
22972 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
22973 ifdef clause in order to set the carry bit right. Replace r0 by
22974 0 without changing the behavior.
22975
7d25d410
JM
229762017-10-13 Joseph Myers <joseph@codesourcery.com>
22977
006e7664
JM
22978 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
22979 <libm-alias-ldouble.h>.
22980 (fabsl): Define using libm_alias_ldouble.
22981 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
22982 <libm-alias-ldouble.h>.
22983 (fabsl): Define using libm_alias_ldouble.
22984
1def91b3
JM
22985 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
22986 Remove conditional code.
22987
7d25d410
JM
22988 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
22989 Rename to __clog10_internal_l.
22990 (__clog10_internal_l): Define aliases using
22991 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
22992 with __clog10.
22993
077ee129
RS
229942017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22995
22996 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
22997 * benchtests/sincosf-inputs: New file.
22998 * benchtests/cosf-inputs: New file.
22999 * benchtests/sinf-inputs: New file.
23000
5ba41de9
SN
230012017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23002
23003 * posix/tst-spawn.c (do_test): Wait for both children.
23004
d165ca64
L
230052017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23006
23007 [BZ #22284]
23008 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23009 tests-pie): Add tst-gmon-pie.
23010 (CFLAGS-tst-gmon-pie.c): New.
23011 (CRT-tst-gmon-pie): Likewise.
23012 (tst-gmon-pie-ENV): Likewise.
23013 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23014 ($(objpfx)tst-gmon-pie.out): Likewise.
23015 (clean-tst-gmon-pie-data): Likewise.
23016 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23017 * gmon/gmon.c [PIC]: Include <link.h>.
23018 [PIC] (callback): New function.
23019 (write_hist): Add an argument for load address. Subtract load
23020 address from PCs.
23021 (write_call_graph): Likewise.
23022 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23023 it to write_hist and write_call_graph.
7bacdcfc 23024 * gmon/tst-gmon-pie.c: New file.
d165ca64 23025
bc9620d0
JM
230262017-10-11 Joseph Myers <joseph@codesourcery.com>
23027
23028 * math/Makefile (test-types-basic): New variable.
23029 (test-types): Likewise.
23030 (libm-test-support): Use $(test-types) instead of $(types).
23031 (libm-tests-base-normal): Likewise.
23032 (libm-tests-base-finite): Likewise.
23033 (libm-tests-base-inline): Likewise.
23034 (generated): Likewise.
23035 ($(objpfx)libm-test-support-$(t).c): Likewise.
23036 (libm-tests-for-type iterator): Likewise.
23037 (libm-test-support iterator): Likewise.
23038 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23039 (ulp_idx): Use ULP_IDX.
23040 * math/test-ldouble.h: Include <float.h>.
23041 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23042 (ULP_IDX): New macro.
23043 (ULP_I_IDX): Likewise.
23044 * math/test-double.h (ULP_IDX): Likewise.
23045 (ULP_I_IDX): Likewise.
23046 * math/test-float.h (ULP_IDX): Likewise.
23047 (ULP_I_IDX): Likewise.
23048 * math/test-float128.h (ULP_IDX): Likewise.
23049 (ULP_I_IDX): Likewise.
23050
09c76a74
AZ
230512017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23052
23053 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23054 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23055 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23056 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23057 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23058 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23059 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23062 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23063 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23064 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23065 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23067 (SINGLE_THREAD_BY_GLOBAL): Define.
23068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23069 Likewise.
23070 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23071 Likewise.
23072 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23073 Likewise.
23074 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23075 Likewise.
23076 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23077 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23079 Likewise.
23080
2faa42da
AS
230812017-10-11 Andreas Schwab <schwab@suse.de>
23082
23083 * nis/Makefile (aux): Remove.
23084 * nscd/Makefile (aux): Add nscd_hash.
23085 (nscd-modules): Likewise.
23086 ($(objpfx)nscd): Don't depend on libnsl.
23087 * nscd/nscd_hash.c: New file.
23088 * nscd/nscd_hash.h: Likewise.
23089 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23090 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23091 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23092 instead of <nis/rpcsvc/nis.h>.
23093 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23094
d8425e11
FW
230952017-10-11 Florian Weimer <fweimer@redhat.com>
23096
23097 [BZ #22078]
23098 Avoid large NSS buffers with many addresses, aliases.
23099 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23100 using dynarrays and struct alloc_buffer.
23101 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23102 (tst-nss-files-hosts-multi): Link with -ldl.
23103 * nss/tst-nss-files-hosts-multi.c: New file.
23104
78e806fd
FW
231052017-10-11 Florian Weimer <fweimer@redhat.com>
23106
23107 [BZ #18023]
23108 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23109 scratch_buffer. Eliminate gotos.
23110
541f19ba
JM
231112017-10-11 Joseph Myers <joseph@codesourcery.com>
23112
0ff64d3a
JM
23113 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23114 libm_alias_ldouble_other.
23115 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23116 undefine and redefine.
23117 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23118 (exp10l): Do not define here.
23119 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23120 (weak_alias): Undefine and redefine.
23121 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23122 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23123 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
23124 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
23125
541f19ba
JM
23126 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
23127 [!__fma] (fma): Define using libm_alias_double.
23128 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
23129 [!__fmaf] (fmaf): Define using libm_alias_float.
23130 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
23131 (fmal): Define using libm_alias_ldouble.
23132
24b6515d
JM
231332017-10-10 Joseph Myers <joseph@codesourcery.com>
23134
23135 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
23136 New macro.
23137 (libm_alias_double_other): Likewise.
23138 (libm_alias_double_r): Use libm_alias_double_other_r.
23139 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
23140 New macro.
23141 (libm_alias_float_other): Likewise.
23142 (libm_alias_float_r): Use libm_alias_float_other_r.
23143 * sysdeps/generic/libm-alias-float128.h
23144 (libm_alias_float128_other_r): New macro.
23145 (libm_alias_float128_other): Likewise.
23146 (libm_alias_float128_r): Use libm_alias_float128_other_r.
23147 * sysdeps/generic/libm-alias-ldouble.h
23148 (libm_alias_ldouble_other_r): New macro.
23149 (libm_alias_ldouble_other): Likewise.
23150 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23151 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23152 (libm_alias_double_other_r): New macro.
23153 (libm_alias_double_other): Likewise.
23154 (libm_alias_double_r): Use libm_alias_double_other_r.
23155 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23156 (libm_alias_ldouble_other_r): New macro.
23157 (libm_alias_ldouble_other): Likewise.
23158 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23159 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
23160 [!USE_AS_COMPAT]: Use libm_alias_double_other.
23161 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
23162 [!USE_AS_COMPAT]: Use libm_alias_float_other.
23163 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
23164 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
23165 * math/w_exp2f.c: Use libm_alias_float_other.
23166 * math/w_expf.c: Likewise.
23167 * math/w_log2f.c: Likewise.
23168 * math/w_logf.c: Likewise.
23169 * math/w_powf.c: Likewise.
23170 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
23171 [!__exp2f]: Use libm_alias_float_other.
23172 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
23173 [!__expf]: Use libm_alias_float_other.
23174 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
23175 [!__log2f]: Use libm_alias_float_other.
23176 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
23177 [!__logf]: Use libm_alias_float_other.
23178 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
23179 [!__powf]: Use libm_alias_float_other.
23180
8ed70de2
FW
231812017-10-10 Florian Weimer <fweimer@redhat.com>
23182
23183 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
23184 function.
23185 (_nss_files_gethostbyname3_r): Call it.
23186
a8dce619
JM
231872017-10-09 Joseph Myers <joseph@codesourcery.com>
23188
23189 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
23190 error. Remove default definition of declare_mgen_alias.
23191 [!declare_mgen_alias_r]: Likewise.
23192 * sysdeps/generic/math-type-macros-double.h
23193 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
23194 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
23195 (declare_mgen_alias_r): Likewise.
23196 * sysdeps/generic/math-type-macros-float128.h
23197 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23198 * sysdeps/generic/math-type-macros-ldouble.h
23199 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23200 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
23201 macro.
23202 (declare_mgen_alias_r_s): Likewise.
23203 (declare_mgen_alias_r): Likewise.
23204 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
23205 (lgamma_r): Define using libm_alias_double_r.
23206 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
23207 (lgammaf_r): Define using libm_alias_float_r.
23208 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
23209 (lgammal_r): Define using libm_alias_ldouble_r.
23210 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
23211 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
23212
bedac136
AZ
232132017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23214
23215 * lib/glob.c (__glob_pattern_type): Remove now-spurious
23216 extern declaration.
23217
c7509db2
JM
232182017-10-09 Joseph Myers <joseph@codesourcery.com>
23219
23220 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
23221
d6c064e9
JW
232222017-10-09 Jonathan Wakely <jwakely@redhat.com>
23223
23224 [BZ #21326]
23225 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
23226 [__cplusplus >= 201103] (__USE_ISOC99): Define.
23227 * math/Makefile (test-math-cxx11): New test.
23228 * math/test-math-cxx11.cc: New file.
23229
98e07420
CB
232302017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
23231
23232 * login/openpty.c (openpty): Close slave pty file descriptor on error.
23233
645ac9aa
CB
23234 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
23235 call to allocate the slave pty file descriptor.
23236
fd3b4e7c
JM
232372017-10-06 Joseph Myers <joseph@codesourcery.com>
23238
f85a176f
JM
23239 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
23240 [!__fma] (fma): Define using libm_alias_double.
23241 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
23242 [!__fma] (fma): Define using libm_alias_double.
23243
fd3b4e7c
JM
23244 * sysdeps/ieee754/float128/float128_private.h: Include
23245 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
23246 (libm_alias_ldouble_r): Undefine and redefine.
23247 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
23248 <libm-alias-ldouble.h>.
23249 (asinhl): Define using libm_alias_ldouble.
23250 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
23251 <libm-alias-ldouble.h>.
23252 (atanl): Define using libm_alias_ldouble.
23253 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
23254 <libm-alias-ldouble.h>.
23255 (cbrtl): Define using libm_alias_ldouble.
23256 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
23257 <libm-alias-ldouble.h>.
23258 (ceill): Define using libm_alias_ldouble.
23259 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
23260 <libm-alias-ldouble.h>.
23261 (copysignl): Define using libm_alias_ldouble.
23262 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
23263 <libm-alias-ldouble.h>.
23264 (cosl): Define using libm_alias_ldouble.
23265 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
23266 <libm-alias-ldouble.h>.
23267 (erfl): Define using libm_alias_ldouble.
23268 (erfcl): Likewise.
23269 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
23270 <libm-alias-ldouble.h>.
23271 (expm1l): Define using libm_alias_ldouble.
23272 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
23273 <libm-alias-ldouble.h>.
23274 (fabsl): Define using libm_alias_ldouble.
23275 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
23276 <libm-alias-ldouble.h>.
23277 (floorl): Define using libm_alias_ldouble.
23278 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
23279 <libm-alias-ldouble.h>.
23280 (fmal): Define using libm_alias_ldouble.
23281 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
23282 <libm-alias-ldouble.h>.
23283 (frexpl): Define using libm_alias_ldouble.
23284 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
23285 libm_alias_ldouble.
23286 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
23287 <libm-alias-ldouble.h>.
23288 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
23289 libm_alias_ldouble.
23290 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
23291 <libm-alias-ldouble.h>.
23292 (getpayloadl): Define using libm_alias_ldouble.
23293 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
23294 <libm-alias-ldouble.h>.
23295 (llrintl): Define using libm_alias_ldouble.
23296 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
23297 <libm-alias-ldouble.h>.
23298 (llroundl): Define using libm_alias_ldouble.
23299 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
23300 <libm-alias-ldouble.h>.
23301 (logbl): Define using libm_alias_ldouble.
23302 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
23303 <libm-alias-ldouble.h>.
23304 (lrintl): Define using libm_alias_ldouble.
23305 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
23306 <libm-alias-ldouble.h>.
23307 (lroundl): Define using libm_alias_ldouble.
23308 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
23309 <libm-alias-ldouble.h>.
23310 (modfl): Define using libm_alias_ldouble.
23311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
23312 <libm-alias-ldouble.h>.
23313 (nearbyintl): Define using libm_alias_ldouble.
23314 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
23315 <libm-alias-ldouble.h>.
23316 (nextafterl): Define using libm_alias_ldouble.
23317 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
23318 <libm-alias-ldouble.h>.
23319 (nextupl): Define using libm_alias_ldouble.
23320 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
23321 <libm-alias-ldouble.h>.
23322 (remquol): Define using libm_alias_ldouble.
23323 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
23324 <libm-alias-ldouble.h>.
23325 (rintl): Define using libm_alias_ldouble.
23326 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
23327 <libm-alias-ldouble.h>.
23328 (roundevenl): Define using libm_alias_ldouble.
23329 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
23330 <libm-alias-ldouble.h>.
23331 (roundl): Define using libm_alias_ldouble.
23332 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
23333 using libm_alias_ldouble.
23334 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
23335 <libm-alias-ldouble.h>.
23336 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
23337 Define using libm_alias_ldouble.
23338 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
23339 <libm-alias-ldouble.h>.
23340 (sincosl): Define using libm_alias_ldouble.
23341 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
23342 <libm-alias-ldouble.h>.
23343 (sinl): Define using libm_alias_ldouble.
23344 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
23345 <libm-alias-ldouble.h>.
23346 (tanhl): Define using libm_alias_ldouble.
23347 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
23348 <libm-alias-ldouble.h>.
23349 (tanl): Define using libm_alias_ldouble.
23350 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
23351 <libm-alias-ldouble.h>.
23352 (totalorderl): Define using libm_alias_ldouble.
23353 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
23354 <libm-alias-ldouble.h>.
23355 (totalordermagl): Define using libm_alias_ldouble.
23356 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
23357 <libm-alias-ldouble.h>.
23358 (truncl): Define using libm_alias_ldouble.
23359 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
23360 libm_alias_ldouble.
23361 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
23362 libm_alias_ldouble.
23363 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
23364 <libm-alias-ldouble.h>.
23365 (weak_alias): Do not undefine and redefine.
23366 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23367 (copysignl): Define with long_double_symbol only if [IS_IN
23368 (libc)].
23369 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
23370 <libm-alias-ldouble.h>.
23371 (weak_alias): Do not undefine and redefine.
23372 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23373 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
23374 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
23375 <libm-alias-ldouble.h>.
23376 (weak_alias): Do not undefine and redefine.
23377 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23378 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
23379 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
23380 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
23383 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
23386 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
23389 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
23396 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
23403
1e26d351
CD
234042017-10-06 Carlos O'Donell <carlos@redhat.com>
23405
23406 [BZ #22111]
23407 * malloc/malloc.c (tcache_shutting_down): Use bool type.
23408 (tcache_thread_freeres): Set tcache_shutting_down before
23409 freeing the tcache.
23410 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
23411 * malloc/tst-malloc-tcache-leak.c: New file.
23412
d1386762
RS
234132017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23414
23415 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
23416 back to powerpc32 file.
23417 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23418 (memrchr): Add __memrchr_power8 to ifunc list.
23419 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
23420 extra bytes for unaligned inputs.
23421
6dff1983
JM
234222017-10-06 Joseph Myers <joseph@codesourcery.com>
23423
23424 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
23425 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23429
86f9568a
JM
234302017-10-05 Joseph Myers <joseph@codesourcery.com>
23431
0db0b931
JM
23432 * sysdeps/arm/libm-test-ulps: Update.
23433
86f9568a
JM
23434 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
23435 <libm-alias-ldouble.h>.
23436 (asinhl): Define using libm_alias_ldouble.
23437 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
23438 <libm-alias-ldouble.h>.
23439 (cbrtl): Define using libm_alias_ldouble.
23440 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
23441 <libm-alias-ldouble.h>.
23442 (copysignl): Define using libm_alias_ldouble.
23443 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
23444 <libm-alias-ldouble.h>.
23445 (cosl): Define using libm_alias_ldouble.
23446 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
23447 <libm-alias-ldouble.h>.
23448 (erfl): Define using libm_alias_ldouble.
23449 (erfcl): Likewise.
23450 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
23451 <libm-alias-ldouble.h>.
23452 (fmal): Define using libm_alias_ldouble.
23453 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
23454 <libm-alias-ldouble.h>.
23455 (frexpl): Define using libm_alias_ldouble.
23456 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
23457 libm_alias_ldouble.
23458 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
23459 <libm-alias-ldouble.h>.
23460 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
23461 libm_alias_ldouble.
23462 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
23463 <libm-alias-ldouble.h>.
23464 (getpayloadl): Define using libm_alias_ldouble.
23465 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
23466 <libm-alias-ldouble.h>.
23467 (llrintl): Define using libm_alias_ldouble.
23468 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
23469 <libm-alias-ldouble.h>.
23470 (llroundl): Define using libm_alias_ldouble.
23471 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
23472 <libm-alias-ldouble.h>.
23473 (lrintl): Define using libm_alias_ldouble.
23474 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
23475 <libm-alias-ldouble.h>.
23476 (lroundl): Define using libm_alias_ldouble.
23477 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
23478 <libm-alias-ldouble.h>.
23479 (modfl): Define using libm_alias_ldouble.
23480 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
23481 <libm-alias-ldouble.h>.
23482 (nextupl): Define using libm_alias_ldouble.
23483 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
23484 <libm-alias-ldouble.h>.
23485 (remquol): Define using libm_alias_ldouble.
23486 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
23487 <libm-alias-ldouble.h>.
23488 (roundevenl): Define using libm_alias_ldouble.
23489 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
23490 <libm-alias-ldouble.h>.
23491 (roundl): Define using libm_alias_ldouble.
23492 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
23493 using libm_alias_ldouble.
23494 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
23495 <libm-alias-ldouble.h>.
23496 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
23497 <libm-alias-ldouble.h>.
23498 (setpayloadsigl): Define using libm_alias_ldouble.
23499 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
23500 <libm-alias-ldouble.h>.
23501 (sincosl): Define using libm_alias_ldouble.
23502 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
23503 <libm-alias-ldouble.h>.
23504 (sinl): Define using libm_alias_ldouble.
23505 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
23506 <libm-alias-ldouble.h>.
23507 (tanhl): Define using libm_alias_ldouble.
23508 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
23509 <libm-alias-ldouble.h>.
23510 (tanl): Define using libm_alias_ldouble.
23511 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
23512 <libm-alias-ldouble.h>.
23513 (totalorderl): Define using libm_alias_ldouble.
23514 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
23515 <libm-alias-ldouble.h>.
23516 (totalordermagl): Define using libm_alias_ldouble.
23517 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
23518 libm_alias_ldouble.
23519 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
23520 libm_alias_ldouble.
23521
9ec87fd2
SP
235222017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
23523
dd5bc7f1
SP
23524 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
23525 memmove_falkor.
23526 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23527 (__libc_ifunc_impl_list): Likewise.
23528 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
23529 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
23530
5bfb0404
SP
23531 * benchtests/bench-memmove-walk.c: New file.
23532 * benchtests/Makefile (string-benchset): Add it.
23533
36bb8edf
SP
23534 * benchtests/bench-memset-walk.c: New file.
23535 * benchtests/Makefile (string-benchset): Add it.
23536
9ec87fd2
SP
23537 * benchtests/bench-memcpy-walk.c: New file.
23538 * benchtests/Makefile (string-benchset): Add it.
23539
1e9522c6
FW
235402017-10-05 Florian Weimer <fweimer@redhat.com>
23541
23542 nscd: Eliminate compilation time dependency in the build output.
23543 * nscd/nscd_stat.c (STATDATA_VERSION)
23544 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
23545 (STATDATA_VERSION_FULL): New macro definitions.
23546 (compilation): Remove.
23547 (struct statdata): Adjust version member.
23548 (send_stats): Set version from STATDATA_VERSION_FULL.
23549 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
23550
644d3857
JM
235512017-10-05 Joseph Myers <joseph@codesourcery.com>
23552
23553 * configure.ac (--enable-add-ons): Remove option.
23554 (machine): Do not mention add-ons in comment.
23555 (LIBC_PRECONFIGURE): Likewise.
23556 (add_ons): Remove variable and sanity checks and logic to locate
23557 add-ons.
23558 (add_ons_automatic): Remove variable.
23559 (configured_add_ons): Likewise.
23560 (add_ons_sfx): Likewise.
23561 (add_ons_pfx): Likewise.
23562 (add_on_subdirs): Likewise.
23563 (sysnames_add_ons): Likewise. Remove loop over add-ons and
23564 consideration of add-ons in Implies handling.
23565 (sysdeps_add_ons): Likewise.
23566 * configure: Regenerated.
23567 * libidn/configure.ac: Remove.
23568 * libidn/configure: Likewise.
23569 * sysdeps/unix/inet/configure.ac: New file.
23570 * sysdeps/unix/inet/configure: New generated file.
23571 * sysdeps/unix/inet/Subdirs: Add libidn.
23572 * Makeconfig (sysdeps-srcdirs): Remove variable.
23573 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
23574 ($(common-objpfx)config.status): Do not depend on add-on files.
23575 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
23576 comment.
23577 (all-subdirs): Do not include $(add-on-subdirs).
23578 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
23579 * config.make.in (add-ons): Remove variable.
23580 (add-on-subdirs): Likewise.
23581 (sysdeps-add-ons): Likewise.
23582 * manual/Makefile (add-chapters): Remove.
23583 ($(objpfx)texis): Do not depend on $(add-chapters).
23584 (nonexamples): Do not handle $(add-chapters).
23585 (examples): Do not handle $(add-ons).
23586 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
23587 libc-texinfo.sh.
23588 * manual/install.texi (Installation): Do not mention add-ons.
23589 (--enable-add-ons): Do not document configure option.
23590 * INSTALL: Regenerated.
23591 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
23592 * manual/maint.texi (Hierarchy Conventions): Do not mention
23593 add-ons.
23594 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
23595 --enable-add-ons.
23596 * scripts/gen-sorted.awk: Do not handle Subdirs files from
23597 add-ons.
23598 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
23599 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
23600
19f82f35
AS
236012017-10-05 Andreas Schwab <schwab@suse.de>
23602
23603 [BZ #15142]
23604 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
23605 (_IO_flush_all_lockp): Always lock list_all_lock.
23606 (_IO_flush_all_linebuffered): Likewise.
23607 (_IO_unbuffer_all): Likewise.
23608
91e7cf98
FW
236092017-10-05 Florian Weimer <fweimer@redhat.com>
23610
23611 [BZ #15436]
23612 Do not flush stdio streams on abort.
23613 * stdlib/abort.c (fflush): Remove macro definition.
23614 (abort): Remove stages related to stdio flushing.
23615
0c251257
FW
236162017-10-05 Florian Weimer <fweimer@redhat.com>
23617
23618 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
23619
7ea59e3e
SL
236202017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
23621
23622 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23623
84d0e6f0
FW
236242017-10-05 Florian Weimer <fweimer@redhat.com>
23625
23626 * support/support_format_hostent.c (support_format_hostent): Add
23627 more error information for NETDB_INTERNAL.
23628
ee417882
L
236292017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
23632 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
23633 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
23634 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
23635 AC_DEFINE if multi-arch is enabled.
23636 * sysdeps/i386/configure: Regenerated.
23637
a67029ff
L
236382017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * Makeconfig (+link-static-before-libc): Use
23641 $(DEFAULT-LDFLAGS-$(@F)).
23642 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
23643 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
23644 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
23645
5dba84b3
L
236462017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23647
23648 * elf/Makefile (tests): Add tst-main1.
23649 (modules-names): Add tst-main1mod.
23650 ($(objpfx)tst-main1): New.
23651 (CRT-tst-main1): Likewise.
23652 (LDFLAGS-tst-main1): Likewise.
23653 (LDLIBS-tst-main1): Likewise.
23654 (tst-main1mod.so-no-z-defs): Likewise.
23655 * elf/tst-main1.c: New file.
23656 * elf/tst-main1mod.c: Likewise.
23657
758f1bfa
L
236582017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
23661
7e16a5d1
JM
236622017-10-04 Joseph Myers <joseph@codesourcery.com>
23663
23664 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
23665 (fma): Define using libm_alias_double.
23666 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
23667 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
23668 <math_ldbl_opt.h>.
23669 (fmal): Do not define as compat symbol here.
23670 * sysdeps/alpha/fpu/s_fma.c: New file.
23671
db4f87ba
SN
236722017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23673
23674 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
23675
72d13ed1
JM
236762017-10-04 Joseph Myers <joseph@codesourcery.com>
23677
32d372d5
JM
23678 [BZ #22229]
23679 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23680 <math_ldbl_opt.h>
23681 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
23682 and libc.
23683 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
23684 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23685 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
23686 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
23687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23688 Include <math_ldbl_opt.h>
23689 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
23690 and libc.
23691 (compat_symbol): Undefine and redefine.
23692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23693 <math_ldbl_opt.h>
23694 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23695 (compat_symbol): Undefine and redefine.
23696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
23697 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
23698 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
23699 GLIBC_2_1 for libm.
23700 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
23701 GLIBC_2.0 copysignl symbol.
23702 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23703 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
23704
72d13ed1
JM
23705 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
23706
11c4f501
FW
237072017-10-04 Florian Weimer <fweimer@redhat.com>
23708
23709 * scripts/check-local-headers.sh: Ignore nspr4 header file
23710 directory in addition to nspr.
23711
57b4af19
GT
237122017-10-04 Guido Trentalancia <guido@trentalancia.net>
23713
23714 [BZ #17956]
23715 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
23716 * configure: Regenerate.
23717 * crypt/Makefile (nss-cpp-flags): New variable.
23718 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
23719 (CPPFLAGS-md5-crypt.c): Use it.
23720 * scripts/check-local-headers.sh: Ignore nspr header file
23721 directory.
23722
64d1e08e
AS
237232017-10-04 Andreas Schwab <schwab@suse.de>
23724
23725 * nis/Makefile (services): Remove compat.
23726 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
23727 ($(objpfx)libnss_compat.so): Remove rule.
23728 * nis/Versions (libnss_compat): Remove.
23729 * nss/Makefile (services): Add compat.
23730 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
23731 * nss/Versions (libnss_compat): Define.
23732 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
23733 Don't include <rpc/types.h>. Replace bool_t by bool.
23734 * nss/nss_compat/compat-initgroups.c: Likewise.
23735 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
23736 instead of <rpcsrv/ypclnt.h>.
23737 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
23738 yp_get_default_domain.
23739 * nss/nss_compat/compat-pwd.c: Likewise.
23740 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
23741 yp_get_default_domain.
23742 * nss/nss_compat/nisdomain.c: New file.
23743 * nss/nss_compat/nisdomain.h: Likewise.
23744
86c27ade
SN
237452017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23746
23747 [BZ #22244]
23748 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
23749 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23750
8f8f8ef7
SN
237512017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23752
23753 [BZ #22243]
23754 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
23755 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
23756
95577475
L
237572017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23758
23759 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
23760 "movl main@GOTOFF(%ebx), %eax".
23761
02d2d892
L
237622017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23763
23764 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
23765 allow undefined _DYNAMIC in PIE libc.a.
23766 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23767 Likewse.
23768
0c609d19
L
237692017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23770
23771 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
23772 check _DYNAMIC.
23773
c34a19ed
L
237742017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23775
23776 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
23777 check _DYNAMIC.
23778
cdd4155d
L
237792017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23780
23781 * math/test-math-iscanonical.cc (error): Replace bool with int.
23782
4699cb8b
JM
237832017-10-03 Joseph Myers <joseph@codesourcery.com>
23784
d8f619b3
JM
23785 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
23786 (modf): Define using libm_alias_double, only if [!__modf].
23787 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
23788 <libm-alias-double.h>.
23789 (modf): Define using libm_alias_double, only if [!__modf].
23790 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
23791 compat symbol here.
23792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
23793 (weak_alias): Do not undefine and redefine.
23794 (strong_alias): Likewise.
23795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
23796 (weak_alias): Likewise.
23797 (strong_alias): Likewise.
23798
4699cb8b
JM
23799 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
23800 (logb): Define using libm_alias_double, only if [!__logb].
23801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
23802 <libm-alias-double.h>.
23803 (logb): Define using libm_alias_double, only if [!__logb].
23804 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
23805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
23806 (weak_alias): Do not undefine and redefine.
23807 (strong_alias): Likewise.
23808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
23809 (weak_alias): Likewise.
23810 (strong_alias): Likewise.
23811
bcc4e4bb
L
238122017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23813
23814 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
23815 Check SHARED instead PIC.
23816
39793865
JM
238172017-10-03 Joseph Myers <joseph@codesourcery.com>
23818
7f1cbdf8
JM
23819 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
23820 [!__fmaf] (fmaf): Define using libm_alias_float.
23821
39793865
JM
23822 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
23823 (frexp): Define using libm_alias_double.
23824 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
23825 <libm-alias-double.h>.
23826 (frexp): Define using libm_alias_double.
23827 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
23828 compat symbol here.
23829
aa0235df
GG
238302017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23831
23832 [BZ #22235]
23833 * math/math.h: Trivial fix for unbalanced parentheses in comment.
23834 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
23835 (CFLAGS-test-math-iscanonical.cc): New variable.
23836 * math/test-math-iscanonical.cc: New file.
23837 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
23838 Provide a C++ implementation based on function overloading,
23839 rather than using __MATH_TG, which uses C-only builtins.
23840 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
23841 Likewise.
23842 * sysdeps/powerpc/powerpc64le/Makefile
23843 (CFLAGS-test-math-iscanonical.cc): New variable.
23844
a1132b5e
JM
238452017-10-03 Joseph Myers <joseph@codesourcery.com>
23846
23847 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
23848 (ceil): Define using libm_alias_double.
23849 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
23850 (floor): Define using libm_alias_double.
23851 * sysdeps/ieee754/dbl-64/s_llround.c: Include
23852 <libm-alias-double.h>.
23853 (llround): Define using libm_alias_double.
23854 * sysdeps/ieee754/dbl-64/s_lround.c: Include
23855 <libm-alias-double.h>.
23856 (lround): Define using libm_alias_double.
23857 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
23858 <libm-alias-double.h>.
23859 (nearbyint): Define using libm_alias_double.
23860 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
23861 <libm-alias-double.h>.
23862 (remquo): Define using libm_alias_double.
23863 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
23864 (rint): Define using libm_alias_double.
23865 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
23866 (round): Define using libm_alias_double.
23867 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
23868 (trunc): Define using libm_alias_double.
23869 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
23870 <libm-alias-double.h>.
23871 (ceil): Define using libm_alias_double.
23872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
23873 <libm-alias-double.h>.
23874 (floor): Define using libm_alias_double.
23875 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
23876 <libm-alias-double.h>.
23877 (llround): Define using libm_alias_double.
23878 [_LP64] (lround): Likewise.
23879 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
23880 <libm-alias-double.h>.
23881 [!_LP64] (lround): Define using libm_alias_double.
23882 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
23883 <libm-alias-double.h>.
23884 (nearbyint): Define using libm_alias_double.
23885 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
23886 <libm-alias-double.h>.
23887 (remquo): Define using libm_alias_double.
23888 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
23889 <libm-alias-double.h>.
23890 (rint): Define using libm_alias_double.
23891 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
23892 <libm-alias-double.h>.
23893 (round): Define using libm_alias_double.
23894 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
23895 <libm-alias-double.h>.
23896 (trunc): Define using libm_alias_double.
23897 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
23898 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
23899 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
23900 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
23901 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
23902 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
23903 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
23904 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
23905 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
23906
f275f64e
SN
239072017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23908
23909 * math/w_remainder.c: New file.
23910 * math/w_remainderf.c: New file.
23911 * math/w_remainderl.c: New file.
23912
b8818ab5
L
239132017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23914
23915 * elf/rtld.c (BOOTSTRAP_MAP): New.
23916 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
23917 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23918 Likewise.
23919 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23920 Likewise.
23921 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23922 Likewise.
23923
3d1870fa
ST
239242017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23925
23926 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
23927 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
23928 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
23929 rtld_hidden_data_ver): Define to empty.
23930 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
23931 __assert_perror_fail): Likewise.
23932 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23933 (__rewinddir): Likewise.
23934 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23935 (__profile_frequency): Likewise.
23936 * include/setjmp.h (__sigsetjmp): Likewise.
23937 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
23938 __libc_sigaction): Likewise.
23939 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
23940 not set hidden attribute.
23941 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
23942 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
23943 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
23944 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
23945 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
23946 __fxstatat64): Likewise.
23947 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23948 (__uname): Likewise.
23949 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23950 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
23951 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
23952 (NO_RTLD_HIDDEN): Set.
23953 * sysdeps/mach/hurd/configure: Refresh.
23954 * config.h.in: Refresh.
23955
527cd19c
JM
239562017-10-02 Joseph Myers <joseph@codesourcery.com>
23957
38722448
JM
23958 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
23959 (atan): Define using libm_alias_double.
23960 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
23961 (tan): Define using libm_alias_double.
23962 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
23963 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
23964
527cd19c
JM
23965 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
23966 define as weak alias of __atan. Do not define any aliases if
23967 [__atan].
23968 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
23969 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
23970 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
23971 as weak alias of __tan. Do not define any aliases if [__tan].
23972 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
23973 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
23974 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
23975 __atan.
23976 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
23977 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
23978 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
23979 and define as weak alias of __atan.
23980 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
23981 __atan.
23982 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
23983 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
23984 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
23985 define as weak alias of __tan.
23986
bdc5c592
SN
239872017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23988
23989 * math/w_lgamma.c: New file.
23990 * math/w_lgammaf.c: New file.
23991 * math/w_lgammal.c: New file.
23992
bd4430c2
SN
239932017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23994
23995 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
23996 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
23997 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
23998 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
23999 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24000 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24001 * sysdeps/i386/fpu/w_log2f.c: New file.
24002 * sysdeps/i386/fpu/w_logf.c: New file.
24003 * sysdeps/i386/fpu/w_powf.c: New file.
24004 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24005 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24006 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24007
f7a0b063
SN
240082017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24009 H.J. Lu <hongjiu.lu@intel.com>
24010
24011 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24012 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24013 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24014 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24015 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24016 the new expf code.
24017 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24018 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24019 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24020 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24021 * sysdeps/i386/fpu/w_exp2f.c: New file.
24022 * sysdeps/i386/fpu/w_expf.c: New file.
24023 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24024 * sysdeps/x86_64/fpu/w_expf.c: New file.
24025
72d3d281
SN
240262017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24027
24028 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24029 (log2f): Likewise.
24030 (powf): Likewise.
24031 * math/w_log2f.c: New file.
24032 * math/w_logf.c: New file.
24033 * math/w_powf.c: New file.
24034 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24035 * math/w_logf_compat.c (__logf_compat): Likewise.
24036 * math/w_powf_compat.c (__powf_compat): Likewise.
24037 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24038 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24039 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24040 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24041 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24042 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24043 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24044 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24045 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24046 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24047 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24048 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24049 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24050 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24051 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24053 Likewise.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24055 Likewise.
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24057 Likewise.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24059 Likewise.
24060 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24061 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24062 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24063 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24064 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24066 Likewise.
24067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24068 Likewise.
24069 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24070 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24071 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24072
59ba2d2b
RS
240732017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24074
24075 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24076 (sysdep_routines): Add memrchr_power8.
24077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24078 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24079 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24080 New file.
24081 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24082 (memrchr): Add __memrchr_power8 to ifunc list.
24083 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24084
397286ea
L
240852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24086
24087 [BZ #18822]
24088 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24089 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24090 libc_hidden_def.
24091 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24092 (__posix_fallocate64_l64): Likewise.
24093
d0a4512b
L
240942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24095
24096 [BZ #18822]
24097 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24098 (__sched_setaffinity_new): Add libc_hidden_proto and
24099 libc_hidden_def.
24100
c0769f70
L
241012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24102
24103 [BZ #18822]
24104 * include/glob.h (__glob64): Add libc_hidden_proto.
24105 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24106 libc_hidden_def.
24107
0e7d5b6e
L
241082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24109
24110 [BZ #18822]
24111 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24112 attribute_hidden.
24113
bde06c87
L
241142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24115
24116 [BZ #18822]
24117 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24118
fa426590
L
241192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24120
24121 [BZ #18822]
24122 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
24123 libc_hidden_def.
24124
2f8a05d8
L
241252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24126
24127 [BZ #18822]
24128 * csu/version.c (__libc_print_version): Add attribute_hidden.
24129
7bfd08ac
L
241302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24131
24132 [BZ #18822]
24133 * include/libc-internal.h (__init_misc): Add attribute_hidden.
24134
0e1fd06c
L
241352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24136
24137 [BZ #18822]
24138 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
24139
36e7ae1e
L
241402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24141
24142 [BZ #18822]
24143 * nscd/nscd_helper.c (__nis_hash): New prototype.
24144
87078544
L
241452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24146
24147 [BZ #18822]
24148 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
24149 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
24150 libc_hidden_def.
24151 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24152 * termios/tcgetattr.c (__tcgetattr): Likewise.
24153
dd3121df
L
241542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24155
24156 [BZ #18822]
24157 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
24158 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
24159 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
24160 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
24161 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
24162
047d1a81
L
241632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24164
24165 [BZ #18822]
24166 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
24167
fd331b11
L
241682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24169
24170 [BZ #18822]
24171 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
24172 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
24173
57f859bd
L
241742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24175
24176 [BZ #18822]
24177 * intl/hash-string.h (__hash_string): Add attribute_hidden.
24178
d1903329
L
241792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24180
24181 [BZ #18822]
24182 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
24183 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
24184
b4744101
L
241852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24186
24187 [BZ #18822]
24188 * include/ifreq.h: New file.
24189 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
24190 (__ifreq): Likewise.
24191 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
24192 (__ifreq): Likewise.
24193
43b7dfd1
L
241942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24195
24196 [BZ #18822]
24197 * include/idna.h: New file.
24198 * inet/getnameinfo.c: Include <idna.h> instead of
24199 <libidn/idna.h>.
24200 (__idna_to_unicode_lzlz): Removed.
24201 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
24202 <libidn/idna.h>.
24203 (__idna_to_ascii_lz): Removed.
24204 (__idna_to_unicode_lzlz): Likewise.
24205
2c0cd8f8
L
242062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24207
24208 [BZ #18822]
24209 * include/plural-exp.h: New file.
24210 * intl/plural-exp.c: Include <plural-exp.h> instead of
24211 "plural-exp.h".
24212
8369d216
L
242132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24214
24215 [BZ #18822]
24216 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
24217 "getsourcefilter.h".
24218 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
24219 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
24220 "getsourcefilter.h".
24221 (__get_sol): Removed.
24222
a0aef783
L
242232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24224
24225 [BZ #18822]
24226 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
24227 to ...
24228 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
24229
3ee8209b
L
242302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24231
24232 [BZ #18822]
24233 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
24234 attribute_hidden.
24235
6036fc38
L
242362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24237
24238 [BZ #18822]
24239 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
24240
fe84fed0
L
242412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24242
24243 [BZ #18822]
24244 * include/search.h (__tdestroy): Add libc_hidden_proto.
24245 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
24246
048dd681
L
242472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24248
24249 [BZ #18822]
24250 * include/assert.h (__assert_fail_base): Add attribute_hidden.
24251
6e342af6
L
242522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24253
24254 [BZ #18822]
24255 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
24256 attribute_hidden.
24257
6a088436
L
242582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24259
24260 [BZ #18822]
24261 * include/signal.h (__kill): Add libc_hidden_proto.
24262 (__sigblock): Likewise.
24263 (__sigprocmask): Likewise.
24264 (__sigaltstack): Likewise.
24265 * signal/kill.c (__kill): Add libc_hidden_def.
24266 * signal/sigblock.c (__sigblock): Likewise.
24267 * signal/sigprocmask.c (__sigprocmask): Likewise.
24268 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
24269 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24270 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24271 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24272 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
24273 Likewise.
24274 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24275 Likewise.
24276 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24277 (__sigprocmask): Likewise.
24278 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
24279 Likewise.
24280 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24281 (__sigprocmask): Likewise.
24282 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24283 Likewise.
24284
78cf1d74
L
242852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24286
24287 [BZ #18822]
24288 * include/string.h (__strsep): Add libc_hidden_proto.
24289 * string/strsep.c (__strsep): Add libc_hidden_def.
24290
85b35894
L
242912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24292
24293 [BZ #18822]
24294 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
24295 attribute_hidden.
24296 (__spawni): Likewise.
24297
225f7eec
L
242982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24299
24300 [BZ #18822]
24301 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
24302 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
24303 libc_hidden_def.
24304
372fe247
L
243052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24306
24307 [BZ #18822]
24308 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
24309
9e5ee8b8
L
243102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24311
24312 [BZ #18822]
24313 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
24314 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
24315 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24316 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
24317 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
24318 Likewise.
24319 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
24320 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
24321
2ff16592
L
243222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24323
24324 [BZ #18822]
24325 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
24326 (__dcigettext): Likewise.
24327
b5648377
L
243282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24329
24330 [BZ #18822]
24331 * include/sys/sysinfo.h (__get_nprocs_conf): Add
24332 libc_hidden_proto.
24333 (__get_nprocs): Likewise.
24334 (__get_phys_pages): Likewise.
24335 (__get_avphys_pages): Likewise.
24336 (__get_child_max): Add attribute_hidden.
24337 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
24338 (__get_nprocs): Likewise.
24339 (__get_phys_pages): Likewise.
24340 (__get_avphys_pages): Likewise.
24341 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
24342 libc_hidden_def.
24343 (__get_nprocs): Likewise.
24344 (__get_phys_pages): Likewise.
24345 (__get_avphys_pages): Likewise.
24346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
24347 libc_hidden_def.
24348 (__get_nprocs_conf): Likewise.
24349 (__get_phys_pages): Likewise.
24350 (__get_avphys_pages): Likewise.
24351
0389a6aa
L
243522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24353
24354 [BZ #18822]
24355 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
24356 attribute_hidden.
24357 (__netlink_close): Likewise.
24358 (__netlink_free_handle): Likewise.
24359 (__netlink_request): Likewise.
24360
d48354d8
L
243612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24362
24363 [BZ #18822]
24364 * include/rpc/rpc.h (__rpc_thread_variables): Add
24365 attribute_hidden.
24366 (__rpc_thread_svc_cleanup): Likewise.
24367 (__rpc_thread_clnt_cleanup): Likewise.
24368 (__rpc_thread_key_cleanup): Likewise.
24369
d6daff12
L
243702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24371
24372 [BZ #18822]
24373 * include/sys/uio.h (__readv): Add libc_hidden_proto.
24374 (__writev): Likewise.
24375 * misc/readv.c (__readv): Add libc_hidden_def.
24376 * misc/writev.c (__writev): Likewise.
24377 * sysdeps/posix/readv.c (__readv): Likewise.
24378 * sysdeps/posix/writev.c (__writev): Likewise.
24379 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
24380 (__readv): Likewise.
24381 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
24382 (__writev): Likewise.
24383
b68f8620
L
243842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24385
24386 [BZ #18822]
24387 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
24388 (__regcomp): Add libc_hidden_proto.
24389 (__regexec): Likewise.
24390 (__regfree): Likewise.
24391 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
24392 (__regfree): Likewise.
24393 * posix/regexec.c (__regexec): Likewise.
24394
59c04e67
L
243952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24396
24397 [BZ #18822]
24398 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
24399 (__getutent): Likewise.
24400 (__getutid): Likewise.
24401 (__getutline): Likewise.
24402 (__pututline): Likewise.
24403 (__getutent_r): Likewise.
24404 (__getutid_r): Likewise.
24405 (__getutline_r): Likewise.
24406 (__utmpname): Add attribute_hidden.
24407 (__setutent): Likewise.
24408 (__endutent): Likewise.
24409 * login/getutent.c (__getutent): Add libc_hidden_def.
24410 * login/getutent_r.c (__getutent_r): Likewise.
24411 (__pututline): Likewise.
24412 * login/getutid.c (__getutid): Likewise.
24413 * login/getutid_r.c (__getutid_r): Likewise.
24414 * login/getutline.c (__getutline): Likewise.
24415 * login/getutline_r.c (__getutline_r): Likewise.
24416 * login/updwtmp.c (__updwtmp): Likewise.
24417
4587a421
L
244182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24419
24420 [BZ #18822]
24421 * include/dirent.h (__opendir): Always add attribute_hidden.
24422 (__fdopendir): Likewise.
24423 (__closedir): Likewise.
24424 (__readdir): Likewise.
24425 (__readdir64): Add libc_hidden_proto.
24426 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
24427 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
24428 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
24429 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
24430 New alias.
24431
9635ce69
L
244322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24433
24434 [BZ #18822]
24435 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
24436 * include/netdb.h (__gethostbyaddr_r): Likewise.
24437 (__gethostbyname_r): Likewise.
24438 (__gethostbyname2_r): Likewise.
24439 (__getnetbyaddr_r): Likewise.
24440 (__getnetbyname_r): Likewise.
24441 (__getservbyname_r): Likewise.
24442 (__getservbyport_r): Likewise.
24443 (__getprotobyname_r): Likewise.
24444 (__getprotobynumber_r): Likewise.
24445 (__getnetgrent_r): Likewise.
24446 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
24447 (__getrpcbynumber_r): Likewise.
24448 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
24449
2e0a6909
L
244502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24451
24452 [BZ #18822]
24453 * include/stdio.h (__fcloseall): Add attribute_hidden.
24454 (__getline): Likewise.
24455 (__path_search): Likewise.
24456 (__gen_tempname): Likewise.
24457 (__libc_message): Likewise.
24458 (__flockfile): Likewise.
24459 (__funlockfile): Likewise.
24460 (__fxprintf): Likewise.
24461 (__fxprintf_nocancel): Likewise.
24462
94fd682c
L
244632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24464
24465 [BZ #18822]
24466 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
24467 (__sgetsgent_r): Likewise.
24468
e1b33bba
L
244692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24470
24471 [BZ #18822]
24472 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
24473 (__statfs64): Likewise.
24474 (__fstatfs64): Likewise.
24475 * include/sys/statvfs.h (__statvfs64): Likewise.
24476 (__fstatvfs64): Likewise.
24477 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
24478 (__statfs_filesize_max): Likewise.
24479 (__statfs_symlinks): Likewise.
24480 (__statfs_chown_restricted): Likewise.
24481
b0f56784
L
244822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24483
24484 [BZ #18822]
24485 * include/time.h (__tzstring): Add attribute_hidden.
24486 (__tzfile_read): Likewise.
24487 (__tzfile_compute): Likewise.
24488 (__tzfile_default): Likewise.
24489 (__tzset_parse_tz): Likewise.
24490 (__offtime): Likewise.
24491 (__asctime_r): Likewise.
24492 (__tzset): Likewise.
24493 (__tz_convert): Likewise.
24494 (__getdate_r): Likewise.
24495 (__getclktck): Likewise.
24496
a4338d99
L
244972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24498
24499 [BZ #18822]
24500 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
24501 (__nscd_unmap): Likewise.
24502 (__nscd_cache_search): Likewise.
24503 (__nscd_get_nl_timestamp): Likewise.
24504 (__nscd_getpwnam_r): Likewise.
24505 (__nscd_getpwuid_r): Likewise.
24506 (__nscd_getgrnam_r): Likewise.
24507 (__nscd_getgrgid_r): Likewise.
24508 (__nscd_gethostbyname_r): Likewise.
24509 (__nscd_gethostbyname2_r): Likewise.
24510 (__nscd_gethostbyaddr_r): Likewise.
24511 (__nscd_getai): Likewise.
24512 (__nscd_getgrouplist): Likewise.
24513 (__nscd_getservbyname_r): Likewise.
24514 (__nscd_getservbyport_r): Likewise.
24515 (__nscd_innetgr): Likewise.
24516 (__nscd_setnetgrent): Likewise.
24517
a2ca1652
L
245182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24519
24520 [BZ #18822]
24521 * include/gmp.h: Declare internal functions only if _ISOMAC is
24522 undefined.
24523 (__mpn_extract_double): Add attribute_hidden.
24524 (__mpn_extract_long_double): Likewise.
24525 (__mpn_extract_float128): Likewise.
24526 (__mpn_construct_float): Likewise.
24527 (__mpn_construct_double): Likewise.
24528 (__mpn_construct_long_double): Likewise.
24529 (__mpn_construct_float128): Likewise.
24530 (mpn_add_1): Likewise.
24531 (mpn_addmul_1): Likewise.
24532 (mpn_add_n): Likewise.
24533 (mpn_cmp): Likewise.
24534 (mpn_divrem): Likewise.
24535 (mpn_lshift): Likewise.
24536 (mpn_mul): Likewise.
24537 (mpn_mul_1): Likewise.
24538 (mpn_rshift): Likewise.
24539 (mpn_sub_1): Likewise.
24540 (mpn_submul_1): Likewise.
24541 (mpn_sub_n): Likewise.
24542
44af8a32
L
245432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24544
24545 [BZ #18822]
24546 * include/wchar.h (__wcsnlen): Add attribute_hidden.
24547 (__wcscat): Likewise.
24548 (__btowc): Likewise.
24549 (__wcrtomb): Likewise.
24550 (__mbsrtowcs): Likewise.
24551 (__wcsrtombs): Likewise.
24552 (__mbsnrtowcs): Likewise.
24553 (__wcsnrtombs): Likewise.
24554 (__wcsncpy): Likewise.
24555 (__wcpncpy): Likewise.
24556 (__wmemcpy): Likewise.
24557 (__wmempcpy): Likewise.
24558 (__wmemmove): Likewise.
24559 (__wcschrnul): Likewise.
24560 (__vfwscanf): Likewise.
24561 (__vswprintf): Likewise.
24562 (__fwprintf): Likewise.
24563 (__vfwprintf): Likewise.
24564
783cd767
L
245652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24566
24567 [BZ #18822]
24568 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
24569 (__getgrgid_r): Likewise.
24570 (__getgrnam_r): Likewise.
24571 * include/pwd.h (__getpwuid_r): Likewise.
24572 (__getpwnam_r): Likewise.
24573 (__fgetpwent_r): Likewise.
24574 * include/shadow.h (__getspnam_r): Likewise.
24575 (__sgetspent_r): Likewise.
24576 (__fgetspent_r): Likewise.
24577
7ec4b39a
L
245782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24579
24580 [BZ #18822]
24581 * include/unistd.h (__access): Add attribute_hidden.
24582 (__lseek64): Likewise.
24583 (__libc_pread64): Likewise.
24584 (__pipe2): Likewise.
24585 (__sleep): Likewise.
24586 (__chdir): Likewise.
24587 (__fchdir): Likewise.
24588 (__getcwd): Likewise.
24589 (__rmdir): Likewise.
24590 (__execvpe): Likewise.
24591 (__execve): Likewise.
24592 (__setsid): Likewise.
24593 (__getuid): Likewise.
24594 (__geteuid): Likewise.
24595 (__getgid): Likewise.
24596 (__getegid): Likewise.
24597 (__getgroups): Likewise.
24598 (__group_member): Likewise.
24599 (__ttyname_r): Likewise.
24600 (__isatty): Likewise.
24601 (__readlink): Likewise.
24602 (__unlink): Likewise.
24603 (__gethostname): Likewise.
24604 (__profil): Likewise.
24605 (__getdtablesize): Likewise.
24606 (__brk): Likewise.
24607 (__ftruncate): Likewise.
24608 (__ftruncate64): Likewise.
24609
8345a760
L
246102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24611
24612 [BZ #18822]
24613 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
24614 * argp/argp-fs-xinl.c: Likewise.
24615 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
24616 * argp/argp-parse.c: Include <argp.h>.
24617 * argp/argp-xinl.c: Likewise.
24618 * include/argp-fmtstream.h: New file.
24619 * include/argp.h (__argp_error): Add attribute_hidden.
24620 (__argp_failure): Likewise.
24621 (__argp_input): Likewise.
24622 (__argp_state_help): Likewise.
24623
c26dd7c6
L
246242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24625
24626 [BZ #18822]
24627 * include/wchar.h (____wcstof_l_internal): New prototype.
24628 (____wcstod_l_internal): Likewise.
24629 (____wcstold_l_internal): Likewise.
24630 (____wcstol_l_internal): Likewise.
24631 (____wcstoul_l_internal): Likewise.
24632 (____wcstoll_l_internal): Likewise.
24633 (____wcstoull_l_internal): Likewise.
24634 (____wcstof128_l_internal): Likewise.
24635 * sysdeps/ieee754/float128/wcstof128.c
24636 (____wcstof128_l_internal): Removed.
24637 * sysdeps/ieee754/float128/wcstof128_l.c
24638 (____wcstof128_l_internal): Likewise.
24639 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
24640 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
24641 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
24642 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
24643 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
24644 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
24645 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
24646 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
24647 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
24648 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
24649
3aff5644
L
246502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24651
24652 [BZ #18822]
24653 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
24654 instead of <sys/statvfs.h>.
24655 (__internal_statvfs): Removed.
24656 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
24657 instead of <sys/statvfs.h>.
24658 (__internal_statvfs64): Removed.
24659 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
24660 "internal_statvfs.h" instead of <sys/statvfs.h>.
24661 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
24662 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
24663 instead of <sys/statvfs.h>.
24664 (__internal_statvfs): Removed.
24665 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
24666 instead of <sys/statvfs.h>.
24667 (__internal_statvfs64): Removed.
24668
8bcdb7e0
L
246692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24670
24671 [BZ #18822]
24672 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
24673 (__gconv_close): Likewise.
24674 (__gconv): Likewise.
24675 (__gconv_find_transform): Likewise.
24676 (__gconv_lookup_cache): Likewise.
24677 (__gconv_compare_alias_cache): Likewise.
24678 (__gconv_load_cache): Likewise.
24679 (__gconv_get_path): Likewise.
24680 (__gconv_close_transform): Likewise.
24681 (__gconv_release_cache): Likewise.
24682 (__gconv_find_shlib): Likewise.
24683 (__gconv_release_shlib): Likewise.
24684 (__gconv_get_builtin_trans): Likewise.
24685 (__gconv_compare_alias): Likewise.
24686 * include/dlfcn.h (_dlerror_run): Likewise.
24687 * include/stdio.h (__fortify_fail_abort): Likewise.
24688 * include/time.h (__tz_compute): Likewise.
24689 (__strptime_internal): Likewise.
24690 * intl/gettextP.h (_nl_find_domain): Likewise.
24691 (_nl_load_domain): Likewise.
24692 (_nl_find_msg): Likewise.
24693 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
24694 (EXTRACT_PLURAL_EXPRESSION): Likewise.
24695 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
24696 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
24697 (__gai_find_request): Likewise.
24698 (__gai_remove_request): Likewise.
24699 (__gai_notify): Likewise.
24700 (__gai_notify_only): Likewise.
24701 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
24702 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
24703 (_dl_non_dynamic_init): Likewise.
24704 (_dl_aux_init): Likewise.
24705 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
24706 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
24707 Likewise.
24708 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
24709 (__wcsmbs_clone_conv): Likewise.
24710 (__wcsmbs_named_conv): Likewise.
24711
8ed3b643
L
247122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24713
24714 [BZ #18822]
24715 * include/stdlib.h (__random): Add attribute_hidden.
24716 (__random_r): Likewise.
24717 (__srandom_r): Likewise.
24718 (__initstate_r): Likewise.
24719 (__setstate_r): Likewise.
24720 (__erand48_r): Likewise.
24721 (__nrand48_r): Likewise.
24722 (__jrand48_r): Likewise.
24723 (__srand48_r): Likewise.
24724 (__seed48_r): Likewise.
24725 (__lcong48_r): Likewise.
24726 (__drand48_iterate): Likewise.
24727 (__setenv): Likewise.
24728 (__unsetenv): Likewise.
24729 (__clearenv): Likewise.
24730 (__ptsname_r): Likewise.
24731 (__posix_openpt): Likewise.
24732 (__add_to_environ): Likewise.
24733 (__realpath): Add libc_hidden_proto.
24734 (__ecvt_r): Likewise.
24735 (__fcvt_r): Likewise.
24736 (__qecvt_r): Likewise.
24737 (__qfcvt_r): Likewise.
24738 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
24739 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
24740
ef9b6f73
L
247412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24742
24743 [BZ #18822]
24744 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
24745 * include/time.h (__mktime_internal): Likewise.
24746 * libio/iolibio.h (__fopen_internal): Likewise.
24747
8da92e72
JDA
247482017-10-01 John David Anglin <danglin@gcc.gnu.org>
24749
24750 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
24751 pointer in frame.
24752 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
24753 Correct offset used to restore PIC register.
24754
388784cf
JDA
247552017-09-30 John David Anglin <danglin@gcc.gnu.org>
24756
24757 [BZ libc/22165]
24758 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
24759 code to load address of __getcontext_ret when generating PIC code.
24760
2000067a
L
247612017-09-30 H.J. Lu <hongjiu.lu@intel.com>
24762
24763 * elf/Makefile (tests-static-internal): Add
24764 tst-tls1-static-non-pie.
24765 (LDFLAGS-tst-tls1-static-non-pie): New.
24766 * elf/tst-tls1-static-non-pie.c: New file.
24767
1e2bffd0
JM
247682017-09-29 Joseph Myers <joseph@codesourcery.com>
24769
24770 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
24771 (asinh): Define using libm_alias_double.
24772 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
24773 (cbrt): Define using libm_alias_double.
24774 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
24775 <libm-alias-double.h>.
24776 (copysign): Define using libm_alias_double.
24777 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
24778 (erf): Define using libm_alias_double.
24779 (erfc): Likewise.
24780 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
24781 (expm1): Define using libm_alias_double.
24782 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
24783 (fabs): Define using libm_alias_double.
24784 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
24785 libm_alias_double.
24786 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
24787 <libm-alias-double.h>.
24788 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
24789 libm_alias_double.
24790 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
24791 <libm-alias-double.h>.
24792 (getpayload): Define using libm_alias_double.
24793 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
24794 <libm-alias-double.h>.
24795 (llrint): Define using libm_alias_double.
24796 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
24797 (lrint): Define using libm_alias_double.
24798 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
24799 <libm-alias-double.h>.
24800 (nextup): Define using libm_alias_double.
24801 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
24802 <libm-alias-double.h>.
24803 (roundeven): Define using libm_alias_double.
24804 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
24805 libm_alias_double.
24806 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
24807 <libm-alias-double.h>.
24808 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
24809 using libm_alias_double.
24810 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
24811 (cos): Define using libm_alias_double.
24812 (sin): Likewise.
24813 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
24814 <libm-alias-double.h>.
24815 (sincos): Define using libm_alias_double.
24816 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
24817 (tanh): Define using libm_alias_double.
24818 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
24819 <libm-alias-double.h>.
24820 (totalorder): Define using libm_alias_double.
24821 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
24822 <libm-alias-double.h>.
24823 (totalordermag): Define using libm_alias_double.
24824 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
24825 libm_alias_double.
24826 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
24827 libm_alias_double.
24828 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
24829 <libm-alias-double.h>.
24830 (getpayload): Define using libm_alias_double.
24831 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
24832 <libm-alias-double.h>.
24833 (roundeven): Define using libm_alias_double.
24834 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
24835 <libm-alias-double.h>.
24836 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
24837 <libm-alias-double.h>.
24838 (totalorder): Define using libm_alias_double.
24839 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
24840 <libm-alias-double.h>.
24841 (totalordermag): Define using libm_alias_double.
24842 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
24843 libc compat symbol here.
24844 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
24845 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
24846 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
24847 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
24848 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
24849 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
24850 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
24851 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
24852 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
24853 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
24854
8172aad9
L
248552017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24856
24857 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
24858 _dl_relocate_static_pie instead of _dl_start to compute load
24859 address in static PIE. Return 0 if _DYNAMIC is undefined for
24860 static executable.
24861
54464e74
L
248622017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24863
24864 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
24865 _DYNAMIC is undefined for static executable.
24866
f6c5e5bc
L
248672017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24868
24869 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
24870
2f92505d
JM
248712017-09-29 Joseph Myers <joseph@codesourcery.com>
24872
24873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24874
bd8d53bb
WD
248752017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
24876
24877 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24878 (__ieee754_lgamma_r): Use fabs rather than __fabs.
24879 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24880 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24881 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24882 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
24883 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
24884 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
24885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
24886 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
24887 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
24888 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24889 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
24890 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
24891 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24892 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24893 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
24894
fffb1507
WD
248952017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
24896
24897 * math/bits/cmathcalls.h (cimag): Remove inline.
24898 (creal): Remove inline.
24899 (conj): Remove inline.
24900
4ea49f4c
SN
249012017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24902
24903 * math/Makefile (type-float-routines): Add e_powf_log2_data.
24904 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
24905 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
24906 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
24907 (issignalingf_inline): Likewise.
24908 (POWF_LOG2_TABLE_BITS): Likewise.
24909 (POWF_LOG2_POLY_ORDER): Likewise.
24910 (POWF_SCALE_BITS): Likewise.
24911 (POWF_SCALE): Likewise.
24912 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
24913 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
24914 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
24915
875c76c7
SN
249162017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24917
24918 * math/Makefile (type-float-routines): Add e_log2f_data.
24919 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
24920 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
24921 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
24922 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
24923 * sysdeps/i386/fpu/e_log2f_data.c: New file.
24924 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
24925 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
24926
90c42e40
SN
249272017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24928
24929 * math/Makefile (type-float-routines): Add e_logf_data.
24930 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
24931 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
24932 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
24933 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
24934 * sysdeps/i386/fpu/e_logf_data.c: New file.
24935 * sysdeps/ia64/fpu/e_logf_data.c: New file.
24936 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
24937
4088d8dd
L
249382017-09-28 H.J. Lu <hongjiu.lu@intel.com>
24939
24940 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
24941 undefined _DYNAMIC in PIE libc.a.
24942 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24943 Likewse.
24944
4d3693ec
WD
249452017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24946
24947 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
24948 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
24949 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
24950 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
24951 (__signbit): Remove.
24952 (__signbitl): Remove.
24953 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
24954 (__signbit): Remove.
24955 (__signbitl): Remove.
24956 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
24957 (__signbit): Remove.
24958 (__signbitl): Remove.
24959 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
24960 (__signbit): Remove.
24961 (__signbitl): Remove.
24962 * sysdeps/tile/bits/mathinline.h: Delete file.
24963 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
24964 (__signbit): Remove.
24965 (__signbitl): Remove.
24966
1e6d0723
WD
249672017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24968
24969 * math/math.h: Improve handling of C99 isgreater macros.
24970 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
24971 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
24972 * sysdeps/powerpc/bits/mathinline.h: Likewise.
24973 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24974 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
24975
b2f03cf3
SN
249762017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
24977
24978 * sysdeps/aarch64/libm-test-ulps: Update.
24979
f124cb38
JM
249802017-09-28 Joseph Myers <joseph@codesourcery.com>
24981
24982 [BZ #22225]
24983 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24984 math_opt_barrier on argument when doing arithmetic on it.
24985 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24986 Likewise. Use math_force_eval not math_opt_barrier after
24987 arithmetic.
24988 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
24989 math_opt_barrier on argument when doing arithmetic on it.
24990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24991 Likewise.
24992
7edd0691
L
249932017-09-27 H.J. Lu <hongjiu.lu@intel.com>
24994
24995 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
24996 libc_hidden_def.
24997 (__freeifaddrs): Likewise.
24998
2c7bbfaf
ST
249992017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25000
25001 * include/dirent.h (__dirfd): New declaration.
25002 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25003 alias.
25004 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25005 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25006 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
25007 * include/unistd.h (__revoke): New declaration.
25008 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25009 alias.
25010 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25011 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25012 revoke.
64a4af28
ST
25013 * include/dirent.h (__seekdir): New declaration.
25014 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25015 redefine as weak alias.
25016 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25017 of seekdir.
4009ddc6
ST
25018 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25019 and use libc_hidden_def on them.
25020 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25021 them.
25022 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25023 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25024 instead of getifaddrs and freeifaddrs.
2c7bbfaf 25025
825adeee
L
250262017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25027
25028 [BZ #18822]
25029 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25030 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25031 (__dso_handle): Remove declaration.
25032 * dlfcn/tstatexit.c (__dso_handle): Removed.
25033 (main): Don't check __dso_handle.
25034 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25035 (main): Don't check __dso_handle.
25036 * include/dso_handle.h: New file.
25037 * malloc/mtrace.c: Include <dso_handle.h>.
25038 (mtrace): Pass __dso_handle directly.
25039 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25040 (__dso_handle): Remove declaration.
25041 (__pthread_atfork): Pass __dso_handle directly.
25042 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25043 (__dso_handle): Removed.
25044 * posix/wordexp-test.c: Include <dso_handle.h>.
25045 (__dso_handle): Remove declaration.
25046 (__app_register_atfork): Pass __dso_handle directly.
25047 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25048 (__dso_handle): Remove declaration.
25049 (at_quick_exit): Pass __dso_handle directly.
25050 * stdlib/atexit.c: Include <dso_handle.h>.
25051 (__dso_handle): Remove declaration.
25052 (atexit): Pass __dso_handle directly.
25053 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25054 (__dso_handle): Removed.
25055
bfb0deb3
JM
250562017-09-26 Joseph Myers <joseph@codesourcery.com>
25057
25058 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25059 using VDSO.
25060
cebcb9f8
AM
250612017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25062
25063 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25064 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25065 values to correct default value for given type.
25066
592d5c75
L
250672017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25068
25069 [BZ #22101]
25070 * elf/Makefile (tests): Add tst-debug1.
25071 ($(objpfx)tst-debug1): New.
25072 ($(objpfx)tst-debug1.out): Likewise.
25073 ($(objpfx)tst-debug1mod1.so): Likewise.
25074 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25075 with p_filesz == 0.
25076 * elf/tst-debug1.c: New file.
25077
2d9193f2
JM
250782017-09-26 Joseph Myers <joseph@codesourcery.com>
25079
25080 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25081 Define using __ifunc.
25082
4c5a7a02
TMQMF
250832017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25084
25085 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25086 exp2f() values.
25087
12ef66c4
JM
250882017-09-26 Joseph Myers <joseph@codesourcery.com>
25089
25090 [BZ #22156]
25091 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25092
44dade71
FW
250932017-09-26 Florian Weimer <fweimer@redhat.com>
25094
25095 * resolv/Makefile (tests-internal): Fix typo in comment.
25096
eaca16f1
FW
250972017-09-26 Florian Weimer <fweimer@redhat.com>
25098
25099 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25100
ccf970c7
AZ
251012017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25102
5f9f31ad
AZ
25103 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25104 Use an union instead of a max_align_t array for __space,
25105 so that __space is the same size on all platforms.
25106 * malloc/scratch_buffer_grow_preserve.c
25107 (__libc_scratch_buffer_grow_preserve): Likewise.
25108
ccf970c7
AZ
25109 [BZ #22183]
25110 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25111 version to 2.
25112 * posix/Makefile (routines): Add glob-lstat-compat and
25113 glob64-lstat-compat.
25114 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25115 * posix/glob-lstat-compat.c: New file.
25116 * posix/glob64-lstat-compat.c: Likewise.
25117 * posix/tst-glob_lstat_compat.c: Likewise.
25118 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25119 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25120 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25121 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25122 Likewise.
25123 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
25124 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25125 * posix/glob.c (glob_lstat): New function.
25126 (glob): Rename to __glob and add versioned symbol to 2.27.
25127 (glob_in_dir): Use glob_lstat.
25128 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
25129 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25130 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
25131 2.27.
25132 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
25133 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
25134 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
25135 gl_lstat on glob call.
25136 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
25137 and glob64 symbols.
25138 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25139 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25140 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25141 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25142 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25143 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25144 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25145 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25146 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25147 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25148 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25149 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25151 Likewise.
25152 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25154 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25155 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25156 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25157 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25158 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25161 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25162 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25163 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25164
b4396163
L
251652017-09-25 H.J. Lu <hongjiu.lu@intel.com>
25166
25167 * configure.ac (AS): Require binutils 2.25 or later.
25168 * configure: Regenerated.
25169
8f834987
PP
251702017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25171
25172 [BZ #22207]
25173 * stdlib/test-atexit-race-common.c (do_test): Minimize required
25174 VM size.
25175
3de93d19
DD
251762017-09-25 DJ Delorie <dj@redhat.com>
25177
25178 [BZ #22161]
25179 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
25180 resetting timeout.
25181
9947638d
SL
251822017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25183
25184 * sysdeps/ieee754/dbl-64/sincos32.h
25185 [SINCCOS32_H]: Remove define.
25186 [SINCOS32_H]: Define.
25187
f5f0f526
SN
251882017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25189
25190 * math/Versions (expf): New libm symbol at GLIBC_2.27.
25191 (exp2f): Likewise.
25192 * math/w_exp2f.c: New file.
25193 * math/w_expf.c: New file.
25194 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
25195 * math/w_expf_compat.c (__expf_compat): Likewise.
25196 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
25197 * sysdeps/ia64/fpu/e_expf.S: Likewise.
25198 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25199 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25200 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25201 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25202 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25203 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25204 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25205 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25206 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25207 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25208 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25209 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25211 Likewise.
25212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25213 Likewise.
25214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25215 Likewise.
25216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25217 Likewise.
25218 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25219 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25220 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25221 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25222 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25224 Likewise.
25225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25226 Likewise.
25227 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25228 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25229 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25230
72aa6233
SN
252312017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25232
25233 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
25234 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
25235 (roundtoint, converttoint): Likewise.
25236 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
25237 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
25238 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
25239 * sysdeps/ieee754/flt-32/math_config.h: New file.
25240 * sysdeps/ieee754/flt-32/math_errf.c: New file.
25241 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
25242 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
25243 * sysdeps/i386/fpu/math_errf.c: New file.
25244 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
25245 * sysdeps/ia64/fpu/math_errf.c: New file.
25246 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
25247 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
25248
5e6f3253
ST
252492017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
25250
25251 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
25252 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
25253 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
25254 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
25255 to make sure that these symbols are defined.
b38a42a0
ST
25256 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
25257 of <limits.h>
25258 (__need_NULL): Do not define.
25259 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
25260 alignment.
25261 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
25262 CMGROUP_MAX, cmsgcred): Do not define.
25263 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
25264 NULL.
25265 * bits/socket.h: Likewise.
fcafcd16
ST
25266 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
25267 __gettimeofday instead of gettimeofday.
25268 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
25269 instead of settimeofday.
5e6f3253 25270
2f49ce7d
JM
252712017-09-22 Joseph Myers <joseph@codesourcery.com>
25272
25273 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
25274 (asinhf): Define using libm_alias_float.
25275 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
25276 (atanf): Define using libm_alias_float.
25277 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
25278 (cbrtf): Define using libm_alias_float.
25279 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
25280 (ceilf): Define using libm_alias_float.
25281 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
25282 <libm-alias-float.h>.
25283 (copysignf): Define using libm_alias_float.
25284 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
25285 (cosf): Define using libm_alias_float.
25286 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25287 (erff): Define using libm_alias_float.
25288 (erfcf): Likewise.
25289 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
25290 (expm1f): Define using libm_alias_float.
25291 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
25292 (fabsf): Define using libm_alias_float.
25293 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
25294 (floorf): Define using libm_alias_float.
25295 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
25296 (frexpf): Define using libm_alias_float.
25297 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
25298 libm_alias_float.
25299 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
25300 <libm-alias-float.h>.
25301 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
25302 libm_alias_float.
25303 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
25304 <libm-alias-float.h>.
25305 (getpayloadf): Define using libm_alias_float.
25306 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
25307 <libm-alias-float.h>.
25308 (llrintf): Define using libm_alias_float.
25309 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
25310 <libm-alias-float.h>.
25311 (llroundf): Define using libm_alias_float.
25312 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
25313 (logbf): Define using libm_alias_float.
25314 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
25315 (lrintf): Define using libm_alias_float.
25316 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
25317 (lroundf): Define using libm_alias_float.
25318 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
25319 (modff): Define using libm_alias_float.
25320 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
25321 <libm-alias-float.h>.
25322 (nearbyintf): Define using libm_alias_float.
25323 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
25324 <libm-alias-float.h>.
25325 (nextafterf): Define using libm_alias_float.
25326 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
25327 <libm-alias-float.h>.
25328 (nextupf): Define using libm_alias_float.
25329 * sysdeps/ieee754/flt-32/s_remquof.c: Include
25330 <libm-alias-float.h>.
25331 (remquof): Define using libm_alias_float.
25332 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
25333 (rintf): Define using libm_alias_float.
25334 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
25335 <libm-alias-float.h>.
25336 (roundevenf): Define using libm_alias_float.
25337 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
25338 (roundf): Define using libm_alias_float.
25339 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
25340 using libm_alias_float.
25341 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
25342 <libm-alias-float.h>.
25343 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
25344 Define using libm_alias_float.
25345 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
25346 <libm-alias-float.h>.
25347 (sincosf): Define using libm_alias_float.
25348 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
25349 (sinf): Define using libm_alias_float.
25350 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
25351 (tanf): Define using libm_alias_float.
25352 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
25353 (tanhf): Define using libm_alias_float.
25354 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
25355 <libm-alias-float.h>.
25356 (totalorderf): Define using libm_alias_float.
25357 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
25358 <libm-alias-float.h>.
25359 (totalordermagf): Define using libm_alias_float.
25360 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
25361 (truncf): Define using libm_alias_float.
25362 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
25363 libm_alias_float.
25364 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
25365 libm_alias_float.
25366
c5c4a626
GG
253672017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25368
25369 [BZ #22146]
25370 math/math.h: Let fpclassify use the builtin in C++ mode, even
25371 when optimazing for size.
25372
23947846
JM
253732017-09-22 Joseph Myers <joseph@codesourcery.com>
25374
25375 * csu/Makefile (generated): Do not add version-info.h.
25376 (before-compile): Likewise.
25377 (all-Banner-files): Remove variable.
25378 ($(objpfx)version-info.h): Remove rule.
25379 * csu/version.c (banner): Do not include "version-info.h".
25380 * libidn/Banner: Remove.
25381 * manual/contrib.texi (Simon Josefsson): New entry.
25382
9ac3c682
GG
253832017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25384
25385 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25386 Remove conditionals on LDBL_MANT_DIG.
25387 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25388 (__ieee754_lgammal_r): Likewise.
25389
d2f0ed09
GG
253902017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25391
25392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
25393 _Float128 and L().
25394 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
25395 _Float128 and L(). Replace _Float128 with long double and L(x)
25396 with xL, throughout the file.
25397 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25401
c5c2e667
GG
254022017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25403
25404 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
25405 sysdeps/ieee754/ldbl-128ibm.
25406 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
25407 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
25408 of including it. Keep _Float128 and L() intact. These will be
25409 reviewed by a separate patch.
25410 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25414
e010deb2
GG
254152017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25416
25417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
25418 (__finitef128): Define to __redirect___finitef128.
25419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
25420 (__isinff128): Define to __redirect___isinff128.
25421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
25422 (__isnanf128): Define to __redirect___isnanf128.
25423
ffa44804
GG
254242017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25425
25426 * sysdeps/powerpc/powerpc64le/Makefile
25427 (CFLAGS-tst-strtod-nan-locale.c): New variable.
25428 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
25429
e5e4d7cc
PP
254302017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
25431 Carlos O'Donell <carlos@redhat.com>
25432
25433 [BZ #22180]
25434 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
25435 * stdlib/test-dlclose-exit-race.c: New file.
25436 * stdlib/test-dlclose-exit-race-helper.c: New file.
25437 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
25438
c10c5267
JM
254392017-09-21 Joseph Myers <joseph@codesourcery.com>
25440
25441 * crypt/Banner: Remove file.
25442 * nptl/Banner: Likewise.
25443 * resolv/Banner: Likewise.
25444 * soft-fp/Banner: Likewise.
25445 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
25446 ($(objpfx)version.d): Remove dependency on banner.h.
25447 ($(objpfx)version.os): Likewise.
25448 * nptl/version.c (banner): Do not include banner.h.
25449 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
25450 Jelinek and BIND code.
25451
1cc9e59a
PP
254522017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25453 Carlos O'Donell <carlos@redhat.com>
25454
25455 * support/xdlfcn.h: New file.
25456 * support/xdlfcn.c: New file.
25457 * support/Makefile (libsupport-routines): Add xdlfcn.
25458 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
25459
ae8372d7
JM
254602017-09-20 Joseph Myers <joseph@codesourcery.com>
25461
25462 [BZ #20142]
25463 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25464 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
25465 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
25466 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
25467 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
25468 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
25469 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
25470 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
25471
26e70aec
PP
254722017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25473 Ricky Zhou <rickyz@google.com>
25474 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
25475
25476 [BZ #14333]
25477 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
25478 Remove atomics.
25479 (__new_exitfn): Fail registration when we finished at_exit processing.
25480 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25481 * stdlib/on_exit.c (__on_exit): Likewise.
25482 * stdlib/exit.c (__exit_funcs_done): New variable.
25483 (__run_exit_handlers): Use __exit_funcs_lock.
25484 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
25485 declarations.
25486 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
25487 (test-cxa_atexit-race, test-on_exit-race): New tests.
25488 * stdlib/test-atexit-race-common.c: New file.
25489 * stdlib/test-atexit-race.c: New file.
25490 * stdlib/test-at_quick_exit-race.c: New file.
25491 * stdlib/test-cxa_atexit-race.c: New file.
25492 * stdlib/test-on_exit-race.c: New file.
25493
0525ce48
SN
254942017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
25495
25496 * benchtests/Makefile: Add exp2f and log2f benchmarks.
25497 * benchtests/exp2f-inputs: Copy of expf-inputs.
25498 * benchtests/log2f-inputs: Copy of logf-inputs.
25499
d82468d1
JM
255002017-09-19 Joseph Myers <joseph@codesourcery.com>
25501
25502 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
25503 Explicitly take address of first element of array arguments in
25504 call to INLINE_SYSCALL.
25505
43ffc53a
AS
255062017-09-19 Andreas Schwab <schwab@suse.de>
25507
25508 [BZ #22134]
25509 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
25510 execveat first.
25511 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
25512 unimplemented.
25513 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
25514 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
25515 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25516 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
25517 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25518 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25519 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25520 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25521 * posix/Makefile (tests): Add tst-fexecve.
25522 * posix/tst-fexecve.c: New file.
25523
a5dcc87e
WD
255242017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25525
25526 * benchtests/Makefile: Add logf benchmark.
25527 * benchtests/logf-inputs: Add reduced trace from wrf_r.
25528
7024d544
WD
255292017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25530
25531 * benchtests/Makefile: Add expf benchmark.
25532 * benchtests/expf-inputs: Add reduced trace from wrf_r.
25533
ca3a382e
WD
255342017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25535
25536 * csu/Makefile: Add -funwind-tables to libc-start.c.
25537 * debug/Makefile: Add -funwind-tables to backtrace.c.
25538 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
25539 * sysdeps/arm/Makefile: Likewise.
25540 * sysdeps/i386/Makefile: Likewise.
25541 * sysdeps/m68k/Makefile: Likewise.
25542 * sysdeps/mips/Makefile: Likewise.
25543 * sysdeps/nios2/Makefile: Likewise.
25544 * sysdeps/sh/Makefile: Likewise.
25545 * sysdeps/sparc/Makefile: Likewise.
25546
eb375def
JM
255472017-09-19 Joseph Myers <joseph@codesourcery.com>
25548
25549 * benchtests/Makefile (bench-math): Add trunc and truncf.
25550 (CFLAGS-bench-trunc.c): New variable.
25551 (CFLAGS-bench-truncf.c): Likewise.
25552 * benchtests/trunc-inputs: New file.
25553 * benchtests/truncf-inputs: Likewise.
25554
bd17ba29
RS
255552017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25556
25557 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
25558
92892fdb
JM
255592017-09-18 Joseph Myers <joseph@codesourcery.com>
25560
6d9b0b5a
JM
25561 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
25562 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
25563 redefine.
25564 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25565 (exp10l): Define as weak alias.
25566 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
25567 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
25568 and redefine.
25569 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
25570 (remainderl): Define as weak alias.
25571
92892fdb
JM
25572 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
25573 (fmal): Define using libm_alias_ldouble.
25574 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
25575 (acoshl): Define using libm_alias_ldouble.
25576 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
25577 (acosl): Define using libm_alias_ldouble.
25578 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
25579 (asinl): Define using libm_alias_ldouble.
25580 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
25581 (atan2l): Define using libm_alias_ldouble.
25582 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
25583 (atanhl): Define using libm_alias_ldouble.
25584 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
25585 (coshl): Define using libm_alias_ldouble.
25586 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
25587 (exp10l): Define using libm_alias_ldouble.
25588 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
25589 (exp2l): Define using libm_alias_ldouble.
25590 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
25591 (expl): Define using libm_alias_ldouble.
25592 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
25593 (fmodl): Define using libm_alias_ldouble.
25594 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
25595 (hypotl): Define using libm_alias_ldouble.
25596 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
25597 (j0l): Define using libm_alias_ldouble.
25598 (y0l): Likewise.
25599 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
25600 (j1l): Define using libm_alias_ldouble.
25601 (y1l): Likewise.
25602 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
25603 (jnl): Define using libm_alias_ldouble.
25604 (ynl): Likewise.
25605 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
25606 (log10l): Define using libm_alias_ldouble.
25607 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
25608 (log2l): Define using libm_alias_ldouble.
25609 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
25610 (logl): Define using libm_alias_ldouble.
25611 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
25612 (powl): Define using libm_alias_ldouble.
25613 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
25614 (remainderl): Define using libm_alias_ldouble.
25615 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
25616 (sinhl): Define using libm_alias_ldouble.
25617 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
25618 (sqrtl): Define using libm_alias_ldouble.
25619 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
25620 (tgammal): Define using libm_alias_ldouble.
25621 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
25622 (exp10l): Do not use long_double_symbol here.
25623 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25624 [LIBM_SVID_COMPAT] (remainderl): Likewise.
25625 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
25626 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25627 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25628 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25629 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25630 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25631 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25632 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25633 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25634 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25635 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25636 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25637 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25638 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25639 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25640 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25641 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25642 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25643 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25644 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25645
6cd380dd
WB
256462017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
25647
25648 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
25649 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
25650
1c6d89e9
ST
256512017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
25652
25653 * io/read.c (read): Add libc_hidden_weak.
25654 * sysdeps/mach/hurd/read.c (read): Likewise.
25655 * io/write.c (write): Likewise.
25656 * sysdeps/mach/hurd/write.c (write): Likewise.
25657 * io/pread64.c (__pread64): Likewise.
25658 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
25659 * posix/pread64.c (__pread64): Add libc_hidden_def.
25660
06b1de23
SP
256612017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25662
140647ea
SP
25663 * benchtests/scripts/compare_strings.py: New option -g.
25664 (draw_graph): Print a message that a graph is being generated.
25665 (process_results): Generate graph only if -g is passed.
25666 (main): Process option -g.
25667
5a6547b7
SP
25668 * benchtests/scripts/compare_strings.py (process_results):
25669 Better spacing for output.
25670
06b1de23
SP
25671 * benchtests/scripts/compare_strings.py: Use argparse.
25672 * benchtests/README: Document existence of compare_strings.py.
25673
c67a2328
JM
256742017-09-15 Joseph Myers <joseph@codesourcery.com>
25675
9ac44708
JM
25676 * math/s_fma.c: Include <libm-alias-double.h>.
25677 (fma): Define using libm_alias_double.
25678 * math/s_nextafter.c: Include <libm-alias-double.h>.
25679 (nextafter): Define using libm_alias_double.
25680 * math/w_acos_compat.c: Include <libm-alias-double.h>.
25681 (acos): Define using libm_alias_double.
25682 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
25683 (aocsh): Define using libm_alias_double.
25684 * math/w_asin_compat.c: Include <libm-alias-double.h>.
25685 (asin): Define using libm_alias_double.
25686 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
25687 (atan2): Define using libm_alias_double.
25688 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
25689 (atanh): Define using libm_alias_double.
25690 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
25691 (cosh): Define using libm_alias_double.
25692 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
25693 (exp10): Define using libm_alias_double.
25694 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
25695 (exp2): Define using libm_alias_double.
25696 * math/w_exp_compat.c: Include <libm-alias-double.h>.
25697 (exp): Define using libm_alias_double.
25698 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
25699 (fmod): Define using libm_alias_double.
25700 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
25701 (hypot): Define using libm_alias_double.
25702 * math/w_j0_compat.c: Include <libm-alias-double.h>.
25703 (j0): Define using libm_alias_double.
25704 (y0): Likewise.
25705 * math/w_j1_compat.c: Include <libm-alias-double.h>.
25706 (j1): Define using libm_alias_double.
25707 (y1): Likewise.
25708 * math/w_jn_compat.c: Include <libm-alias-double.h>.
25709 (jn): Define using libm_alias_double.
25710 (yn): Likewise.
25711 * math/w_log10_compat.c: Include <libm-alias-double.h>.
25712 (log10): Define using libm_alias_double.
25713 * math/w_log2_compat.c: Include <libm-alias-double.h>.
25714 (log2): Define using libm_alias_double.
25715 * math/w_log_compat.c: Include <libm-alias-double.h>.
25716 (log): Define using libm_alias_double.
25717 * math/w_pow_compat.c: Include <libm-alias-double.h>.
25718 (pow): Define using libm_alias_double.
25719 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
25720 (remainder): Define using libm_alias_double.
25721 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
25722 (sinh): Define using libm_alias_double.
25723 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
25724 (sqrt): Define using libm_alias_double.
25725 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
25726 (tgamma): Define using libm_alias_double.
25727 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
25728 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
25729 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
25730 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
25731 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
25732 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
25733 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
25734 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
25735 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
25736 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
25737 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
25738 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
25739 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
25740 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
25741 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
25742 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
25743 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
25744 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
25745 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
25746 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
25747 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
25748 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
25749 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
25750 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
25751 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
25752
c67a2328
JM
25753 * math/e_acoshl.c: Remove.
25754 * math/e_acosl.c: Likewise.
25755 * math/e_asinl.c: Likewise.
25756 * math/e_atan2l.c: Likewise.
25757 * math/e_atanhl.c: Likewise.
25758 * math/e_coshl.c: Likewise.
25759 * math/e_expl.c: Likewise.
25760 * math/e_fmodl.c: Likewise.
25761 * math/e_gammal_r.c: Likewise.
25762 * math/e_hypotl.c: Likewise.
25763 * math/e_j0l.c: Likewise.
25764 * math/e_j1l.c: Likewise.
25765 * math/e_jnl.c: Likewise.
25766 * math/e_lgammal_r.c: Likewise.
25767 * math/e_log10l.c: Likewise.
25768 * math/e_log2l.c: Likewise.
25769 * math/e_logl.c: Likewise.
25770 * math/e_powl.c: Likewise.
25771 * math/e_rem_pio2l.c: Likewise.
25772 * math/e_sinhl.c: Likewise.
25773 * math/e_sqrtf128.c: Likewise.
25774 * math/e_sqrtl.c: Likewise.
25775 * math/k_cosl.c: Likewise.
25776 * math/k_sinl.c: Likewise.
25777 * math/k_tanl.c: Likewise.
25778 * math/s_asinhl.c: Likewise.
25779 * math/s_atanl.c: Likewise.
25780 * math/s_cbrtl.c: Likewise.
25781 * math/s_erfl.c: Likewise.
25782 * math/s_expm1l.c: Likewise.
25783 * math/s_log1pl.c: Likewise.
25784 * math/s_tanhl.c: Likewise.
25785
61c45f25
TMQMF
257862017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25787
25788 [BZ #21745]
25789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
25790 [$(subdir) = math] (sysdep_calls): New variable. Has the
25791 previous contents of sysdep_routines, but re-sorted..
25792 [$(subdir) = math] (sysdep_routines): Re-use the contents from
25793 sysdep_calls.
25794 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
25795 defined in sysdep_calls and replace by the respective m_* names.
25796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
25797 (compat_symbol): Undefine to avoid duplicated compat symbols in
25798 libc.
25799
5bcdb315
JM
258002017-09-15 Joseph Myers <joseph@codesourcery.com>
25801
25802 * math/s_fmaf.c: Include <libm-alias-float.h>.
25803 (fmaf): Define using libm_alias_float.
25804 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
25805 (acosf): Define using libm_alias_float.
25806 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
25807 (acoshf): Define using libm_alias_float.
25808 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
25809 (asinf): Define using libm_alias_float.
25810 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
25811 (atan2f): Define using libm_alias_float.
25812 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
25813 (atanhf): Define using libm_alias_float.
25814 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
25815 (coshf): Define using libm_alias_float.
25816 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
25817 (exp10f): Define using libm_alias_float.
25818 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
25819 (fmodf): Define using libm_alias_float.
25820 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
25821 (hypotf): Define using libm_alias_float.
25822 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
25823 (j0f): Define using libm_alias_float.
25824 (y0f): Likewise.
25825 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
25826 (j1f): Define using libm_alias_float.
25827 (y1f): Likewise.
25828 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
25829 (jnf): Define using libm_alias_float.
25830 (ynf): Likewise.
25831 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
25832 (log10f): Define using libm_alias_float.
25833 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
25834 (log2f): Define using libm_alias_float.
25835 * math/w_logf_compat.c: Include <libm-alias-float.h>.
25836 (logf): Define using libm_alias_float.
25837 * math/w_powf_compat.c: Include <libm-alias-float.h>.
25838 (powf): Define using libm_alias_float.
25839 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
25840 (remainderf): Define using libm_alias_float.
25841 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
25842 (sinhf): Define using libm_alias_float.
25843 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
25844 (sqrtf): Define using libm_alias_float.
25845 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
25846 (tgammaf): Define using libm_alias_float.
25847
01f28812
JM
258482017-09-14 Joseph Myers <joseph@codesourcery.com>
25849
25850 * include/math.h (roundeven): Change hidden_proto call to
25851 __roundeven.
25852 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
25853 alias.
25854 [NO_LONG_DOUBLE] (__j0l): New strong alias.
25855 (y0): Rename to __y0 and define as weak alias.
25856 [NO_LONG_DOUBLE] (__y0l): New strong alias.
25857 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
25858 alias.
25859 (y0f): Rename to __y0f and define as weak alias.
25860 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
25861 alias.
25862 [NO_LONG_DOUBLE] (__j1l): New strong alias.
25863 (y1): Rename to __y1 and define as weak alias.
25864 [NO_LONG_DOUBLE] (__y1l): New strong alias.
25865 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
25866 alias.
25867 (y1f): Rename to __y1f and define as weak alias.
25868 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
25869 alias.
25870 [NO_LONG_DOUBLE] (__jnl): New strong alias.
25871 (yn): Rename to __yn and define as weak alias.
25872 [NO_LONG_DOUBLE] (__ynl): New strong alias.
25873 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
25874 alias.
25875 (ynf): Rename to __ynf and define as weak alias.
25876 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
25877 (fromfp): Define as weak alias.
25878 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
25879 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
25880 (fromfpx): Define as weak alias.
25881 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
25882 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
25883 __getpayload and define as weak alias.
25884 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
25885 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
25886 __roundeven and define as weak alias.
25887 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
25888 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
25889 __setpayload.
25890 (setpayload): Define as weak alias.
25891 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
25892 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
25893 __setpayloadsig.
25894 (setpayloadsig): Define as weak alias.
25895 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
25896 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
25897 __totalorder and define as weak alias.
25898 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
25899 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
25900 to __totalordermag and define as weak alias.
25901 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
25902 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
25903 (ufromfp): Define as weak alias.
25904 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
25905 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
25906 __ufromfpx.
25907 (ufromfpx): Define as weak alias.
25908 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
25909 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
25910 Rename to __getpayload and define as weak alias.
25911 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
25912 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
25913 Rename to __roundeven and define as weak alias.
25914 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
25915 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
25916 Rename to __totalorder and define as weak alias.
25917 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
25918 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
25919 (totalordermag): Rename to __totalordermag and define as weak
25920 alias.
25921 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
25922 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
25923 macro.
25924 (__roundevenl): Likewise.
25925 (__totalorderl): Likewise.
25926 (__totalordermagl): Likewise
25927 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
25928 __fromfpf128.
25929 (fromfpf128): Define as weak alias.
25930 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
25931 __fromfpxf128.
25932 (fromfpxf128): Define as weak alias.
25933 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
25934 __setpayloadf128.
25935 (setpayloadf128): Define as weak alias.
25936 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
25937 __setpayloadsigf128.
25938 (setpayloadsigf128): Define as weak alias.
25939 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
25940 __ufromfpf128.
25941 (ufromfpf128): Define as weak alias.
25942 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
25943 __ufromfpxf128.
25944 (ufromfpxf128): Define as weak alias.
25945 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
25946 (fromfpf): Define as weak alias.
25947 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
25948 __fromfpxf.
25949 (fromfpxf): Define as weak alias.
25950 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
25951 __getpayloadf and define as weak alias.
25952 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
25953 __roundevenf and define as weak alias.
25954 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
25955 __setpayloadf.
25956 (setpayloadf): Define as weak alias.
25957 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
25958 __setpayloadsigf.
25959 (setpayloadsigf): Define as weak alias.
25960 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
25961 __totalorderf and define as weak alias.
25962 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
25963 Rename to __totalordermagf and define as weak alias.
25964 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
25965 __ufromfpf.
25966 (ufromfpf): Define as weak alias.
25967 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
25968 __ufromfpxf.
25969 (ufromfpxf): Define as weak alias.
25970 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
25971 __fromfpl.
25972 (fromfpl): Define as weak alias.
25973 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
25974 __fromfpxl.
25975 (fromfpxl): Define as weak alias.
25976 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
25977 to __getpayloadl and define as weak alias.
25978 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
25979 __roundevenl and define as weak alias.
25980 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
25981 __setpayloadl.
25982 (setpayloadl): Define as weak alias.
25983 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
25984 __setpayloadsigl.
25985 (setpayloadsigl): Define as weak alias.
25986 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
25987 to __totalorderl and define as weak alias.
25988 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
25989 Rename to __totalordermagl and define as weak alias.
25990 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
25991 __ufromfpl.
25992 (ufromfpl): Define as weak alias.
25993 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
25994 __ufromfpxl.
25995 (ufromfpxl): Define as weak alias.
25996 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
25997 __fromfpl.
25998 (fromfpl): Define as weak alias.
25999 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26000 __fromfpxl.
26001 (fromfpxl): Define as weak alias.
26002 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26003 Rename to __getpayloadl and define as weak alias.
26004 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26005 to __roundevenl and define as weak alias. Call __roundeven
26006 instead of roundeven.
26007 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26008 __setpayloadl.
26009 (setpayloadl): Define as weak alias.
26010 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26011 __setpayloadsigl.
26012 (setpayloadsigl): Define as weak alias.
26013 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26014 Rename to __totalorderl and define as weak alias.
26015 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26016 Rename to __totalordermagl and define as weak alias.
26017 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26018 __ufromfpl.
26019 (ufromfpl): Define as weak alias.
26020 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26021 __ufromfpxl.
26022 (ufromfpxl): Define as weak alias.
26023 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26024 __fromfpl.
26025 (fromfpl): Define as weak alias.
26026 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26027 __fromfpxl.
26028 (fromfpxl): Define as weak alias.
26029 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26030 __getpayloadl and define as weak alias.
26031 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26032 __roundevenl and define as weak alias.
26033 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26034 __setpayloadl.
26035 (setpayloadl): Define as weak alias.
26036 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26037 __setpayloadsigl.
26038 (setpayloadsigl): Define as weak alias.
26039 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26040 __totalorderl and define as weak alias.
26041 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26042 Rename to __totalordermagl and define as weak alias.
26043 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26044 __ufromfpl.
26045 (ufromfpl): Define as weak alias.
26046 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26047 __ufromfpxl.
26048 (ufromfpxl): Define as weak alias.
26049
29c933fb
SP
260502017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26051
503c92c3
SP
26052 * benchtests/bench-string.h (realloc_bufs): New function.
26053 (test_init): Call it.
26054 * benchtests/bench-memset-large.c (do_test): Likewise.
26055 * benchtests/bench-memset.c (do_test): Likewise.
26056
29c933fb
SP
26057 * benchtests/bench-memset-large.c: Print output in JSON
26058 format.
26059 * benchtests/bench-memset.c: Likewise.
26060
799c8d69
MF
260612017-09-14 Mike FABIAN <mfabian@redhat.com>
26062
26063 [BZ #21084]
26064 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26065 * iconvdata/Makefile: Add IBM858.
26066 * iconvdata/gconv-modules: Likewise.
26067 * iconvdata/tst-tables.sh: Likewise.
26068 * iconvdata/ibm858.c: New file.
26069 * localedata/charmaps/IBM858: Likewise.
26070
c207f7ce 260712017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
26072
26073 [BZ #22023]
26074 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26075 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26076
f28a0926
AK
260772017-09-14 Mike FABIAN <mfabian@redhat.com>
26078
26079 [BZ #22112]
26080 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26081 and add tel_int_fmt.
26082
02093e62
JM
260832017-09-14 Joseph Myers <joseph@codesourcery.com>
26084
26085 * sysdeps/generic/libm-alias-float128.h: New file.
26086 * sysdeps/generic/math-type-macros-float128.h: Include
26087 <libm-alias-float128.h>.
26088 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26089
1aae75ef
JM
260902017-09-13 Joseph Myers <joseph@codesourcery.com>
26091
26092 * sysdeps/generic/libm-alias-ldouble.h: New file.
26093 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26094 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26095 * sysdeps/generic/math-type-macros-ldouble.h: Include
26096 <libm-alias-ldouble.h>.
26097 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26098 libm_alias_ldouble.
26099
bcea7ad6
SN
261002017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26101
26102 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26103 * math/w_exp_compat.c: ... here.
26104 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26105 * math/w_expf_compat.c: ... here.
26106 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26107 * math/w_expl_compat.c: ... here.
26108 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26109 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26110 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26111 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26112
0fc56478
JM
261132017-09-13 Joseph Myers <joseph@codesourcery.com>
26114
26115 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26116 redefine.
26117 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26118 macro.
26119 (ldexpl): Only define as compat symbol for libc, not libm.
26120 (scalbnl): Define as compat symbol for libc here.
26121 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26122 define for [IS_IN (libc)].
26123 (__ldexpl_2): Remove alias.
26124 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
26125 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
26126 name in long_double_symbol call.
26127 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
26128 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26129 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26130 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
26131 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
26132 Remove macro.
26133 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
26134 Define as compat symbol.
26135
3ca622e4
AZ
261362017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26137
26138 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
26139 * sysdeps/unix/sysv/linux/alpha/Makefile
26140 [$(subdir) = csu] (sysdep_routines): Remove rule.
26141
620ff9ee
JM
261422017-09-13 Joseph Myers <joseph@codesourcery.com>
26143
26144 * sysdeps/generic/libm-alias-double.h: New file.
26145 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
26146 * sysdeps/generic/math-type-macros-double.h: Include
26147 <libm-alias-double.h>.
26148 [declare_mgen_alias] (declare_mgen_alias): Define to use
26149 libm_alias_double.
26150 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
26151 (M_LIBM_NEED_COMPAT): Remove macro.
26152 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
26153 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
26154 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
26155 code.
26156 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26157 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26158 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26159 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26160 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26161 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26162 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26163 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26164 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26165 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26166 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26167 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26168 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26169 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26170 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26171 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26172 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26173 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26174 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26175 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26176 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26177 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26178 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26179 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26180 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26181 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26182 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26183 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
26184 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
26185 macro.
26186 (declare_mgen_alias): New macro.
26187 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
26188 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
26189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
26190 (M_LIBM_NEED_COMPAT): Remove macro.
26191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
26192 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
26193 <first-versions.h>.
26194 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
26195 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
26196
a891caff
JM
261972017-09-12 Joseph Myers <joseph@codesourcery.com>
26198
26199 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
26200 (declare_mgen_alias_2): Remove.
26201 * sysdeps/generic/math-type-macros-double.h
26202 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
26203 Likewise.
26204 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
26205 alias.
26206 (ldexp): Define with declare_mgen_alias.
26207 (scalbn): Likewise.
26208
a1a78204
SE
262092017-09-12 Steve Ellcey <sellcey@cavium.com>
26210
26211 * grp/initgroups.c: Include config.h.
26212 (DEFAULT_CONFIG): New macro.
26213 (internal_getgrouplist): Use DEFAULT_CONFIG.
26214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26215 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
26216 (DEFAULT_DEFCONFIG): New macro.
26217 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
26218 * nss/grp-lookup.c: Include config.h
26219 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
26220 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
26221 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
26222 * manual/nss.texi: Update default values section.
26223
ef8adeb0
L
262242017-09-12 H.J. Lu <hongjiu.lu@intel.com>
26225
26226 [BZ #21967]
26227 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
26228 New.
26229 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
26230 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26231 Handle MathVec_Prefer_No_AVX512.
26232 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
26233 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
26234 is set.
26235
a166531f
ST
262362017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
26237
26238 * posix/sched_primax.c (__sched_get_priority_max): Add
26239 libc_hidden_def.
26240 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
26241 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
26242 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
26243 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
26244 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
26245 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
26246 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
26247 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
26248 Add aliases.
26249
4b7d1efb
JM
262502017-09-11 Joseph Myers <joseph@codesourcery.com>
26251
26252 * sysdeps/generic/libm-alias-float.h: New file.
26253 * sysdeps/generic/math-type-macros-float.h: Include
26254 <libm-alias-float.h>.
26255 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26256
45ff3463
L
262572017-09-11 H.J. Lu <hongjiu.lu@intel.com>
26258
26259 [BZ #22093]
26260 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
26261 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
26262 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
26263 (HWCAP_IMPORTANT): Likewise.
26264 (HWCAP_X86_64): New enum.
26265 (HWCAP_X86_AVX512_1): Updated.
26266 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
26267 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
26268 (modules-names): Add x86_64/tst-x86_64mod-1.
26269 (LDFLAGS-tst-x86_64mod-1.so): New.
26270 ($(objpfx)tst-x86_64-1): Likewise.
26271 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
26272 (tst-x86_64-1-clean): Likewise.
26273 * sysdeps/x86_64/tst-x86_64-1.c: New file.
26274 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
26275
891abfd3
SP
262762017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
26277
26278 * po/sv.po: Update translations.
26279 * po/fr.po: Likewise.
26280
00c3da43
ST
262812017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26282
26283 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
26284 seconds.
3bdfd9fb
ST
26285 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
26286 seconds.
65b22ebc 26287 * elf/rtld-Rules: Fix $(error) use.
00c3da43 26288
96480903
MF
262892017-09-09 Mike FABIAN <mfabian@redhat.com>
26290
26291 [BZ #14925]
26292 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
26293 * locale/iso-639.def: Change “Bengali” to “Bangla”.
26294 * localedata/locales/bn_BD: “Bengali” was still used in some
26295 comments. Change it to “Bangla”.
26296
4c03a696
MT
262972017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
26298
26299 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
26300
9c9ec581
SE
263012017-09-08 Steve Ellcey <sellcey@cavium.com>
26302
26303 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
26304 thunderx2t99p1 to list of cpu names.
26305 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
26306 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
26307
f00bce74
SE
263082017-09-08 Steve Ellcey <sellcey@cavium.com>
26309
26310 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
26311 Use strcmp instead of tunable_is_name.
26312
27342d17
JM
263132017-09-08 Joseph Myers <joseph@codesourcery.com>
26314
af1b7c8c
JM
26315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26316 (F_GET_RW_HINT): New macro.
26317 [__USE_GNU] (F_SET_RW_HINT): Likewise.
26318 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
26319 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
26320 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
26321 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
26322 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
26323 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
26324 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
26325 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
26326
27342d17
JM
26327 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26328 (F_ADD_SEALS): New macro.
26329 [__USE_GNU] (F_GET_SEALS): Likewise.
26330 [__USE_GNU] (F_SEAL_SEAL): Likewise.
26331 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
26332 [__USE_GNU] (F_SEAL_GROW): Likewise.
26333 [__USE_GNU] (F_SEAL_WRITE): Likewise.
26334
c66c9082
AZ
263352017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26336
07b4f49d
AZ
26337 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
26338 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
26339 * posix/glob_internal.h (__glob_pattern_type):
26340 * posix/glob.c (glob):
26341 * posix/glob_pattern_p.c (__glob_pattern_p):
26342 Use them.
26343
116f1c64
AZ
26344 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
26345 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26346 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
26347 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
26348 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
26350 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
26351 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
26352 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26353 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26354 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26355 * sysdeps/wordsize-64/glob.c: Likewise.
26356 * sysdeps/wordsize-64/glob64.c: Likewise.
26357 * sysdeps/wordsize-64/globfree.c: Likewise.
26358 * sysdeps/wordsize-64/globfree64.c: Likewise.
26359 * sysdeps/unix/sysv/linux/glob.c: New file.
26360 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
26361 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
26362 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
26363 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26364 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
26365 adds !GLOB_NO_OLD_VERSION as an extra condition.
26366 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
26367 using relative path instead of absolute one.
26368 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
26369 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26370 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26371 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
26372 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
26373 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
26374
ffca8901
AZ
26375 [BZ #1062]
26376 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
26377 (glob): Use the same scratch buffer for both getlogin_r and
26378 getpwnam_r. Don’t require preallocation of the login name. This
26379 simplifies storage allocation, and corrects the handling of
26380 long login names.
26381
5a79f975
AZ
26382 [BZ #1062]
26383 * posix/glob.c (glob): Port recent patches to platforms
26384 lacking getpwnam_r.
26385 (glob): Fix longstanding misuse of errno after getpwnam_r, which
26386 returns an error number rather than setting errno.
26387
e00f2425
AZ
26388 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
26389 instead of GCC extension.
26390 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
26391 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
26392 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
26393
5554304f
AZ
26394 [BZ #866]
26395 [BZ #1062]
26396 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
26397 * posix/bug-glob1.c: Remove file.
26398 * posix/tst-glob_symlinks.c: New file.
26399 * posix/glob.c (__lstat64): New macro.
26400 (is_dir): New function.
26401 (glob, glob_in_dir): Match symlinks even if they are dangling.
26402 (link_stat, link_exists_p): Remove. All uses removed.
26403
686f2ea1
AZ
26404 [BZ #1062]
26405 [BZ #19971]
26406 * posix/glob.c (struct readdir_result): Remove skip_entry member.
26407 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
26408 All uses removed.
26409
c66c9082 26410 [BZ #1062]
914c9994 26411 CVE-2017-15671
c66c9082
AZ
26412 * posix/Makefile (routines): Add globfree, globfree64, and
26413 glob_pattern_p.
26414 * posix/flexmember.h: New file.
26415 * posix/glob_internal.h: Likewise.
26416 * posix/glob_pattern_p.c: Likewise.
26417 * posix/globfree.c: Likewise.
26418 * posix/globfree64.c: Likewise.
26419 * sysdeps/gnu/globfree64.c: Likewise.
26420 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
26421 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26422 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
26423 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26424 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26425 * sysdeps/wordsize-64/globfree.c: Likewise.
26426 * sysdeps/wordsize-64/globfree64.c: Likewise.
26427 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
26428 [NDEBUG): Remove comments.
26429 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
26430 (dirent_type): New type. Use uint_fast8_t not
26431 uint8_t, as C99 does not require uint8_t.
26432 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
26433 (struct readdir_result): Use dirent_type. Do not define skip_entry
26434 unless it is needed; this saves a byte on platforms lacking d_ino.
26435 (readdir_result_type, readdir_result_skip_entry):
26436 New functions, replacing ...
26437 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
26438 these functions, which were removed. This makes the callers
26439 easier to read. All callers changed.
26440 (D_INO_TO_RESULT): Now empty if there is no d_ino.
26441 (size_add_wrapv, glob_use_alloca): New static functions.
26442 (glob, glob_in_dir): Check for size_t overflow in several places,
26443 and fix some size_t checks that were not quite right.
26444 Remove old code using SHELL since Bash no longer
26445 uses this.
26446 (glob, prefix_array): Separate MS code better.
26447 (glob_in_dir): Remove old Amiga and VMS code.
26448 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
26449 separate files.
26450 (glob_in_dir): Do not rely on undefined behavior in accessing
26451 struct members beyond their bounds. Use a flexible array member
26452 instead
26453 (link_stat): Rename from link_exists2_p and return -1/0 instead of
26454 0/1. Caller changed.
26455 (glob): Fix memory leaks.
26456 * posix/glob64 (globfree64): Move to separate file.
26457 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
26458 (globfree64): Remove hidden alias.
26459 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
26460 oldglob.
26461 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
26462 separate file.
26463 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
26464 define.
26465 Move compat code to separate file.
26466 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
26467 separate file.
26468
78bfa877
L
264692017-09-07 H.J. Lu <hongjiu.lu@intel.com>
26470
26471 * resolv/tst-resolv-qtypes.c (domain): Changed to
26472 "const char domain[] =".
26473
05f0011f
JM
264742017-09-07 Joseph Myers <joseph@codesourcery.com>
26475
85bec0f2
JM
26476 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
26477 version to 3.1.6.
26478
5c23ee6e
JM
26479 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
26480 (TCP_MD5SIG_EXT): Likewise.
26481 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
26482 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
26483 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
26484
05f0011f
JM
26485 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
26486
7c9c5be9
MF
264872017-09-07 Mike FABIAN <mfabian@redhat.com>
26488
26489 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
26490
c207f7ce 264912017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
26492
26493 [BZ #22100]
26494 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
26495
507fe027
ST
264962017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
26497
26498 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
26499 before assuming that the file is empty. Avoid testing buffer content
26500 when nread == 0.
26501
65687ac7
AZ
265022017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26503
7bbbb4b9 26504 [BZ #18858]
65687ac7
AZ
26505 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26506 Remove define.
26507 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
26508 Likewise.
26509 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
26510 Likewise.
26511 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
26512 Likewise.
26513 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26514 Likewise.
26515 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
26516 Likewise.
26517 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
26518 Likewise.
26519
ab5ac271
FW
265202017-09-06 Florian Weimer <fweimer@redhat.com>
26521
26522 * malloc/dynarray_emplace_enlarge.c
26523 (__libc_dynarray_emplace_enlarge): Add missing else.
26524
a8304730
FW
265252017-09-06 Florian Weimer <fweimer@redhat.com>
26526
26527 [BZ #22096]
26528 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
26529 case of failure to obtain the global conf object.
26530
5670c4ab
FW
265312017-09-06 Florian Weimer <fweimer@redhat.com>
26532
26533 [BZ #22095]
26534 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
26535 dynarray allocation failure.
26536
c77eb969
FW
265372017-09-06 Florian Weimer <fweimer@redhat.com>
26538
26539 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
26540 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
26541 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
26542 New functions.
26543 (response): Call them. Add 'p', '6' flag processing.
26544 (test_reverse): New function.
26545 (test_get2_any): Call it.
26546 (test_no_inet6): Add 'p' test.
26547 (test_inet6): Likewise.
26548
5e9c4d17
FW
265492017-09-06 Florian Weimer <fweimer@redhat.com>
26550
26551 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
26552 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
26553 the QNAME.
26554 (test_gai): Adjust query names. Add additional tests.
26555 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
26556 test_get2. Adjust query names. Add additional tests.
26557 (test_no_inet6): New function, extracted from threadfunc.
26558 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
26559 Add additional tests.
26560
2ae5be04
MF
265612017-09-06 Mike FABIAN <mfabian@redhat.com>
26562
26563 [BZ #22070]
26564 * localedata/unicode-gen/utf8_gen.py: Set the width for
26565 characters with Prepended_Concatenation_Mark property to 1
26566 * localedata/charmaps/UTF-8: Updated using the improved script.
26567
af83ed5c
MF
265682017-09-06 Mike FABIAN <mfabian@redhat.com>
26569
26570 [BZ #21750]
26571 * localedata/unicode-gen/utf8_gen.py: Improve the script to
26572 use the range notation for all ranges of neighbouring characters
26573 with the same width.
26574
4f3647e4
JM
265752017-09-05 Joseph Myers <joseph@codesourcery.com>
26576
26577 * sysdeps/generic/math-type-macros-double.h: Include
26578 <math-svid-compat.h>.
26579 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26580 * sysdeps/generic/math-type-macros-float.h: Include
26581 <math-svid-compat.h>.
26582 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26583 * sysdeps/generic/math-type-macros-ldouble.h: Include
26584 <math-svid-compat.h>.
26585 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26586 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
26587 condition.
26588 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
26589 * math/w_acosf_compat.c: Likewise.
26590 * math/w_acosh_compat.c: Likewise.
26591 * math/w_acoshf_compat.c: Likewise.
26592 * math/w_acoshl_compat.c: Likewise.
26593 * math/w_acosl_compat.c: Likewise.
26594 * math/w_asin_compat.c: Likewise.
26595 * math/w_asinf_compat.c: Likewise.
26596 * math/w_asinl_compat.c: Likewise.
26597 * math/w_atan2_compat.c: Likewise.
26598 * math/w_atan2f_compat.c: Likewise.
26599 * math/w_atan2l_compat.c: Likewise.
26600 * math/w_atanh_compat.c: Likewise.
26601 * math/w_atanhf_compat.c: Likewise.
26602 * math/w_atanhl_compat.c: Likewise.
26603 * math/w_cosh_compat.c: Likewise.
26604 * math/w_coshf_compat.c: Likewise.
26605 * math/w_coshl_compat.c: Likewise.
26606 * math/w_exp10_compat.c: Likewise.
26607 * math/w_exp10f_compat.c: Likewise.
26608 * math/w_exp10l_compat.c: Likewise.
26609 * math/w_exp2_compat.c: Likewise.
26610 * math/w_exp2f_compat.c: Likewise.
26611 * math/w_exp2l_compat.c: Likewise.
26612 * math/w_fmod_compat.c: Likewise.
26613 * math/w_fmodf_compat.c: Likewise.
26614 * math/w_fmodl_compat.c: Likewise.
26615 * math/w_hypot_compat.c: Likewise.
26616 * math/w_hypotf_compat.c: Likewise.
26617 * math/w_hypotl_compat.c: Likewise.
26618 * math/w_j0_compat.c: Likewise.
26619 * math/w_j0f_compat.c: Likewise.
26620 * math/w_j0l_compat.c: Likewise.
26621 * math/w_j1_compat.c: Likewise.
26622 * math/w_j1f_compat.c: Likewise.
26623 * math/w_j1l_compat.c: Likewise.
26624 * math/w_jn_compat.c: Likewise.
26625 * math/w_jnf_compat.c: Likewise.
26626 * math/w_jnl_compat.c: Likewise.
26627 * math/w_lgamma_r_compat.c: Likewise.
26628 * math/w_lgammaf_r_compat.c: Likewise.
26629 * math/w_lgammal_r_compat.c: Likewise.
26630 * math/w_log10_compat.c: Likewise.
26631 * math/w_log10f_compat.c: Likewise.
26632 * math/w_log10l_compat.c: Likewise.
26633 * math/w_log2_compat.c: Likewise.
26634 * math/w_log2f_compat.c: Likewise.
26635 * math/w_log2l_compat.c: Likewise.
26636 * math/w_log_compat.c: Likewise.
26637 * math/w_logf_compat.c: Likewise.
26638 * math/w_logl_compat.c: Likewise.
26639 * math/w_pow_compat.c: Likewise.
26640 * math/w_powf_compat.c: Likewise.
26641 * math/w_powl_compat.c: Likewise.
26642 * math/w_remainder_compat.c: Likewise.
26643 * math/w_remainderf_compat.c: Likewise.
26644 * math/w_remainderl_compat.c: Likewise.
26645 * math/w_sinh_compat.c: Likewise.
26646 * math/w_sinhf_compat.c: Likewise.
26647 * math/w_sinhl_compat.c: Likewise.
26648 * math/w_sqrt_compat.c: Likewise.
26649 * math/w_sqrtf_compat.c: Likewise.
26650 * math/w_sqrtl_compat.c: Likewise.
26651 * math/w_tgamma_compat.c: Likewise.
26652 * math/w_tgammaf_compat.c: Likewise.
26653 * math/w_tgammal_compat.c: Likewise.
26654 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
26655 [LIBM_SVID_COMPAT].
26656 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
26657 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
26658 [LIBM_SVID_COMPAT].
26659 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
26660 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
26661 [LIBM_SVID_COMPAT].
26662 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
26663 * sysdeps/i386/fpu/w_sqrt.c: New file.
26664 * sysdeps/ia64/fpu/w_acos.c: Likewise.
26665 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
26666 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
26667 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
26668 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
26669 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
26670 * sysdeps/ia64/fpu/w_asin.c: Likewise.
26671 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
26672 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
26673 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
26674 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
26675 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
26676 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
26677 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
26678 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
26679 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
26680 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
26681 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
26682 * sysdeps/ia64/fpu/w_exp.c: Likewise.
26683 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
26684 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
26685 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
26686 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
26687 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
26688 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
26689 * sysdeps/ia64/fpu/w_expf.c: Likewise.
26690 * sysdeps/ia64/fpu/w_expl.c: Likewise.
26691 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
26692 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
26693 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
26694 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
26695 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
26696 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
26697 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
26698 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
26699 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
26700 * sysdeps/ia64/fpu/w_log.c: Likewise.
26701 * sysdeps/ia64/fpu/w_log10.c: Likewise.
26702 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
26703 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
26704 * sysdeps/ia64/fpu/w_log2.c: Likewise.
26705 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
26706 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
26707 * sysdeps/ia64/fpu/w_logf.c: Likewise.
26708 * sysdeps/ia64/fpu/w_logl.c: Likewise.
26709 * sysdeps/ia64/fpu/w_pow.c: Likewise.
26710 * sysdeps/ia64/fpu/w_powf.c: Likewise.
26711 * sysdeps/ia64/fpu/w_powl.c: Likewise.
26712 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
26713 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
26714 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
26715 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
26716 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
26717 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
26718 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
26719 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
26720 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
26721 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
26722 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
26723 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
26724 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
26725 [LIBM_SVID_COMPAT].
26726 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
26727 * sysdeps/ieee754/k_standard.c: Likewise.
26728 * sysdeps/ieee754/k_standardf.c: Likewise.
26729 * sysdeps/ieee754/k_standardl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
26732 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
26733 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
26734 long_double_symbol call on [LIBM_SVID_COMPAT].
26735 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26736 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26737 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26738 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26739 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26740 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26741 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26742 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26743 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26744 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26745 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26746 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26747 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26748 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26749 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26750 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26751 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
26752 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26753 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26754 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26755 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
26756 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
26757
05b38d64
SE
267582017-09-05 Steve Ellcey <sellcey@cavium.com>
26759
26760 * include/shlib-compat.h (TEST_COMPAT): New Macro.
26761 * malloc/tst-mallocstate.c: Convert from test-skeleton
26762 to test-driver. Ifdef code using TEST_COMPAT macro.
26763 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
26764 * math/test-matherr.c: Likewise.
26765
99d67918
JM
267662017-09-05 Joseph Myers <joseph@codesourcery.com>
26767
26768 [BZ #22086]
26769 * debug/pcprofiledump.c (main): Use byte-swapped mask when
26770 comparing word with byte-swapped constant.
26771
c207f7ce 267722017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
26773
26774 [BZ #20498]
26775 * locale/iso-639.def: add Miskito.
26776 * localedata/SUPPORTED: Add miq_NI/UTF-8.
26777 * localedata/locales/miq_NI: New file.
26778
0a587a8a
L
267792017-09-04 H.J. Lu <hongjiu.lu@intel.com>
26780
26781 [BZ #18822]
26782 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
26783 (__mkdir): Likewise.
26784 * io/chmod.c (__chmod): Add libc_hidden_def.
26785 * io/mkdir.c (__mkdir): Likewise.
26786 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26787 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26788 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
26789 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
26790
f3a129b8
JM
267912017-09-04 Joseph Myers <joseph@codesourcery.com>
26792
1650e192
JM
26793 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26794 version to 4.13.
26795
f3a129b8
JM
26796 [BZ #22082]
26797 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
26798 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
26799
b38042f5
FW
268002017-09-04 Florian Weimer <fweimer@redhat.com>
26801
26802 * math/math.h: Issue warning if log is defined.
26803
059b6404
JM
268042017-09-04 Joseph Myers <joseph@codesourcery.com>
26805
26806 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26807 kernel version to 4.13.
26808
b794e16b
ST
268092017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26810
26811 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
26812 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
26813 parameter.
01969395
ST
26814 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
26815 just <bits/types.h>.
dd2b31de 26816 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 26817 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 26818 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 26819 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
26820 * misc/preadv2.c: Include <errno.h>.
26821 * misc/preadv64v2.c: Include <errno.h>.
26822 * misc/pwritev2.c: Include <errno.h>.
26823 * misc/pwritev64v2.c: Include <errno.h>.
26824 * sysdeps/posix/preadv2.c: Include <errno.h>.
26825 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
26826 Fix <unistd.h> inclusion.
26827 * sysdeps/posix/pwritev2.c: Include <errno.h>.
26828 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
26829 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
26830 __strtoul_internal): New functions.
127e7773
ST
26831 * sysdeps/posix/pause.c: Include <sigsetops.h>.
26832 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
26833 * sysdeps/mach/hurd/i386/Makefile
26834 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
26835 [$(subdir) = csu] (sysdep-only-routines): Likewise.
26836 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
26837 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
26838 __feraiseexcept_renamed to feraiseexcept instead of
26839 __GI_feraiseexcept.
56bf5497 26840 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 26841 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
26842 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
26843 RWF_NOWAIT): Define to 0 if undefined already.
26844 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
26845 boils down to 0.
6547ec0a
ST
26846 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
26847 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 26848
5a80d39d
JM
268492017-09-01 Joseph Myers <joseph@codesourcery.com>
26850
26851 * manual/math.texi (pow10): Do not document.
26852 (pow10f): Likewise.
26853 (pow10l): Likewise.
26854 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
26855 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
26856 * math/libm-test-exp10.inc (pow10_test): Remove.
26857 (do_test): Do not call pow10.
26858 * math/w_exp10_compat.c (pow10): Make into compat symbol.
26859 [NO_LONG_DOUBLE] (pow10l): Likewise.
26860 * math/w_exp10f_compat.c (pow10f): Likewise.
26861 * math/w_exp10l_compat.c (pow10l): Likewise.
26862 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
26863 (pow10): Make into compat symbol.
26864 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
26865 (pow10f): Make into compat symbol.
26866 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
26867 (pow10l): Make into compat symbol.
26868 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
26869 pow10.
26870 (CFLAGS-nldbl-pow10.c): Remove variable..
26871 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
26872 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
26873 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
26874 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
26875 Undefine and redefine.
26876 (pow10l): Make into compat symbol.
26877 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
26878 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26879 * sysdeps/arm/libm-test-ulps: Likewise.
26880 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
26881 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26882 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26883 * sysdeps/microblaze/libm-test-ulps: Likewise.
26884 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26885 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26886 * sysdeps/nios2/libm-test-ulps: Likewise.
26887 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26888 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26889 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26890 * sysdeps/sh/libm-test-ulps: Likewise.
26891 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26892 * sysdeps/tile/libm-test-ulps: Likewise.
26893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26894
3824fc38
PP
268952017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
26896
26897 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
26898
b3008279
L
268992017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26900
26901 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
26902 "../ChangeLog.old/ChangeLog.8".
26903 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
26904 "../ChangeLog.old/ChangeLog.14".
26905
136fa185
L
269062017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26907
26908 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
26909 Threads Library.
26910
c18d50a2
JM
269112017-09-01 Joseph Myers <joseph@codesourcery.com>
26912
26913 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
26914
bedbd859
L
269152017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26916
26917 * csu/version.c (banner): Remove "by Roland McGrath et al.".
26918 * nptl/Banner: Remove "by Ulrich Drepper et al.".
26919
50c66c7a
PP
269202017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
26921
26922 * stdlib/tst-atexit-common.c (do_test): Test support for at least
26923 32 atexit handlers.
26924
a617bd11
ZW
269252017-09-01 Zack Weinberg <zackw@panix.com>
26926
26927 * math/math.h (HUGE_VAL): Improve commentary.
26928
e0d2eb5a
AZ
269292017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26930 Andreas Schwab <schwab@suse.de>
26931
26932 [BZ #21530]
26933 * include/stdio.h (__gen_tempfd): New function.
26934 * stdio-common/Makefile (routines): Add gentempfd.
26935 * stdio-common/gentempfd.c: New file.
26936 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
26937 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
26938 unnamed file first.
26939
f4a6be25
FW
269402017-09-01 Florian Weimer <fweimer@redhat.com>
26941
26942 [BZ #21915]
26943 [BZ #21922]
26944 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
26945 result to determine success or failure, not the errno value.
26946 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
26947 (tst-nss-files-hosts-erange): Link with -ldl.
26948 * nss/tst-nss-files-hosts-erange.c: New file.
26949 * nss/tst-resolv-basic.c (response): Handle nodata.example.
26950 (do_test): Add NO_DATA tests.
26951 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
26952 (do_test): Call it.
26953
5f8340f5
FW
269542017-09-01 Florian Weimer <fweimer@redhat.com>
26955
26956 [BZ #21922]
26957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
26958 coming from gethostbyname2_r.
26959
65329bd2
FW
269602017-09-01 Florian Weimer <fweimer@redhat.com>
26961
26962 * support/namespace.h (struct support_chroot_configuration): Add
26963 hosts, host_conf.
26964 (struct support_chroot): Add path_hosts, path_host_conf.
26965 * support/support_chroot.c (write_file): New function.
26966 (support_chroot_create): Call it to process /etc/resolv.conf,
26967 /etc/hosts, /etc/host.conf.
26968 (support_chroot_free): Update.
26969
a2881ef0
FW
269702017-09-01 Florian Weimer <fweimer@redhat.com>
26971
26972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
26973 status indicates it is set.
26974
ad816a5e
FW
269752017-09-01 Florian Weimer <fweimer@redhat.com>
26976
63b52889 26977 [BZ #20532]
ad816a5e
FW
26978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
26979 function lookup failures more reliable.
26980
53250a21
FW
269812017-09-01 Florian Weimer <fweimer@redhat.com>
26982
26983 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
26984 (getcanonname): Likewise.
26985 (gaih_inet): Likewise.
26986
924b121c
FW
269872017-09-01 Florian Weimer <fweimer@redhat.com>
26988
26989 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
26990 (getcanonname): Likewise.
26991 (gaih_inet): Likewise.
26992
d9ff799a
SE
269932017-08-31 Steve Ellcey <sellcey@cavium.com>
26994 Richard Henderson <rth@twiddle.net>
26995
26996 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
26997 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
26998 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
26999 (IREG_SIZE, OREG_SIZE): New macros.
27000 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27001 (IREG_SIZE, OREG_SIZE): New macros.
27002 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27003 (IREG_SIZE): New macro.
27004 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27005 (IREG_SIZE): New macro.
27006 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27007 New includes.
27008 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27009 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27010 (__CONCATX): Handle exceptions correctly on large values that may
27011 set FE_INVALID.
27012 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27013 Initialize if not already set.
27014 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27015
102dde84
AZ
270162017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27017
27018 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27019 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27020 Likewise.
27021 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27022 Likewise.
27023 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27024 Likewise.
27025 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27026 Likewise.
27027 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27028 Likewise.
27029 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27030 Likewise.
27031 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27032 Likewise.
27033 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27034 (NO_CANCELLATION): Likewise.
27035 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27036 Likewise.
27037 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27038 Likewise.
27039 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27040 Likewise.
27041 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27042 (NO_CANCELLATION): Likewise.
27043 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27044 (NO_CANCELLATION): Likewise.
27045 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27046 Likewise
27047 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27048 Likewise.
27049 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27050 Likewise.
27051 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27052 Likewise.
27053 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27054 hidden prototype.
27055 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27056 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27057
9eee633b
SE
270582017-08-31 Steve Ellcey <sellcey@cavium.com>
27059
27060 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27061 in resolver call.
27062
65284eb7
FW
270632017-08-31 Florian Weimer <fweimer@redhat.com>
27064
27065 * include/libc-symbols.h (internal_function): Remove.
27066
41ad5ca6
FW
270672017-08-31 Florian Weimer <fweimer@redhat.com>
27068
27069 * stdlib/fmtmsg.c (internal_addseverity): Remove
27070 internal_function.
27071
2fa6d086
FW
270722017-08-31 Florian Weimer <fweimer@redhat.com>
27073
27074 * stdio-common/printf_fp.c (group_number): Remove
27075 internal_function.
27076 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27077
b41bd5bc
FW
270782017-08-31 Florian Weimer <fweimer@redhat.com>
27079
27080 * posix/fnmatch.c (internal_function): Remove definition.
27081 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27082 * posix/regcomp.c (peek_token, init_word_char)
27083 (duplicate_node_closure, fetch_token, peek_token)
27084 (peek_token_bracket, build_range_exp, build_collating_symbol):
27085 Likewise.
27086 * posix/regex_internal.c (re_string_construct_common)
27087 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27088 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27089 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27090 (re_string_translate_buffer, re_string_reconstruct)
27091 (re_string_peek_byte_case, re_string_fetch_byte_case)
27092 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27093 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27094 (re_node_set_add_intersect, re_node_set_init_union)
27095 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27096 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27097 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27098 (re_acquire_state_context): Likewise.
27099 * posix/regex_internal.h (internal_function): Remove definition.
27100 (re_string_realloc_buffers, build_wcs_buffer)
27101 (build_wcs_upper_buffer, build_upper_buffer)
27102 (re_string_translate_buffer, re_string_context_at)
27103 (re_string_char_size_at, re_string_wchar_at)
27104 (re_string_elem_size_at): Likewise.
27105 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27106 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27107 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27108 (re_search_internal, re_search_2_stub, re_search_stub)
27109 (re_copy_regs, prune_impossible_nodes, check_matching)
27110 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27111 (free_fail_stack_return, sift_states_iter_mb)
27112 (sift_states_backward, build_sifted_states)
27113 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27114 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27115 (check_subexp_limits, sift_states_bkref, merge_state_array)
27116 (find_recover_state, transit_state, merge_state_with_log)
27117 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27118 (transit_state_mb, transit_state_bkref, get_subexp)
27119 (get_subexp_sub, find_subexp_node, check_arrival)
27120 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27121 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27122 (check_node_accept_bytes, find_collation_sequence_value)
27123 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
27124 (acquire_init_state_context, check_halt_node_context)
27125 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
27126 (sub_epsilon_src_nodes): Likewise.
27127 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
27128 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
27129 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
27130 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
27131 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
27132 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
27133 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
27134 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27135 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27136 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
27137 (PREADV): Likewise.
27138 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
27139 (PREADV): Likewise.
27140 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
27141 (PWRITEV): Likewise.
27142 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
27143 (PWRITEV): Likewise.
27144 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
27145 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27146
83b09837
FW
271472017-08-31 Florian Weimer <fweimer@redhat.com>
27148
27149 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
27150 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
27151 Remove internal_function.
27152 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27153 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
27154 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
27155 (__deallocate_stack, __libc_pthread_init)
27156 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
27157 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
27158 (__libc_disable_asynccancel, __librt_disable_asynccancel):
27159 Likewise.
27160 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
27161 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
27162 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
27163 Likewise.
27164 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
27165 (__pthread_mutex_unlock_usercnt): Likewise.
27166
116ac301
FW
271672017-08-31 Florian Weimer <fweimer@redhat.com>
27168
27169 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
27170 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
27171 (fts_safe_changedir): Remove internal_function.
27172 * io/ftw.c (internal_function): Remove definition.
27173 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
27174
9da93bd7
FW
271752017-08-31 Florian Weimer <fweimer@redhat.com>
27176
27177 * inet/deadline.c (__deadline_current_time)
27178 (__deadline_from_timeval, __deadline_to_ms): Remove
27179 internal_function.
27180 * inet/getnameinfo.c (nrl_domainname): Likewise.
27181 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
27182 * inet/inet6_option.c (add_pad): Likewise.
27183 * inet/net-internal.h (__deadline_current_time)
27184 (__deadline_from_timeval, __deadline_to_ms): Likewise.
27185 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
27186 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
27187 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
27188
a60eca2e
JM
271892017-08-31 Joseph Myers <joseph@codesourcery.com>
27190
c0c49d60
JM
27191 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
27192 include <bits/nan.h>.
27193 * math/Makefile (headers): Remove bits/nan.h.
27194 * bits/nan.h: Remove.
27195 * sysdeps/ieee754/bits/nan.h: Likewise.
27196 * sysdeps/mips/bits/nan.h: Likewise.
27197
5ef1b213
JM
27198 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
27199 not include <bits/inf.h>.
27200 * math/Makefile (headers): Remove bits/inf.h.
27201 * bits/inf.h: Remove.
27202 * sysdeps/ieee754/bits/inf.h: Likewise.
27203
a60eca2e
JM
27204 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
27205 bits/huge_vall.h or bits/huge_val_flt128.h.
27206 (HUGE_VAL): Define directly here.
27207 [__USE_ISOC99] (HUGE_VALF): Likewise.
27208 [__USE_ISOC99] (HUGE_VALL): Likewise.
27209 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27210 (HUGE_VAL_F128): Likewise.
27211 * math/Makefile (headers): Remove bits/huge_val.h,
27212 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
27213 * bits/huge_val.h: Remove.
27214 * bits/huge_val_flt128.h: Likewise.
27215 * bits/huge_valf.h: Likewise.
27216 * bits/huge_vall.h: Likewise.
27217 * sysdeps/ia64/bits/huge_vall.h: Likewise.
27218 * sysdeps/ieee754/bits/huge_val.h: Likewise.
27219 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
27220 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
27221 * sysdeps/sh/bits/huge_val.h: Likewise.
27222 * sysdeps/sparc/bits/huge_vall.h: Likewise.
27223 * sysdeps/x86/bits/huge_vall.h: Likewise.
27224
17e00cc6
FW
272252017-08-31 Florian Weimer <fweimer@redhat.com>
27226
27227 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
27228 internal_function.
27229 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
27230 Likewise.
27231 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
27232 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27233 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
27234 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
27235 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27236 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27237 * elf/dl-libc.c (dlerror_run): Likewise.
27238 * elf/dl-load.c (add_name_to_object, decompose_rpath)
27239 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
27240 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
27241 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
27242 Likewise.
27243 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
27244 (_dl_higher_prime_number, _dl_strtoul): Likewise.
27245 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
27246 * elf/dl-profile.c (_dl_start_profile): Likewise.
27247 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
27248 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
27249 Likewise.
27250 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
27251 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
27252 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
27253 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
27254 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
27255 (_dl_allocate_tls_storage): Likewise.
27256 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
27257 (_dl_check_all_versions): Likewise.
27258 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27259 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
27260 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
27261 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27262 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
27263 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
27264 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
27265 internal_function from __dl_start.
27266 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
27267 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27268 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
27269 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
27270 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
27271 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
27272 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
27273 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
27274 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
27275 (_dl_next_ld_env_entry, _dl_important_hwcaps)
27276 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
27277 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
27278 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
27279 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
27280 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
27281 Likewise.
27282 (struct rtld_global_ro): Remove internal_function from the
27283 _dl_lookup_symbol_x member.
27284 (_dl_symbol_value): Remove. No longer defined anywhere.
27285 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
27286 internal_function.
27287 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27288 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27289 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
27290 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
27291 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
27292 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
27293 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
27294 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
27295 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
27296 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27297 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27298 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27299
8d2f9410
FW
273002017-08-31 Florian Weimer <fweimer@redhat.com>
27301
27302 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
27303 Remove internal_function.
27304 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27305 Likewise.
27306 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27307 Likewise.
27308
86e4919f
FW
273092017-08-31 Florian Weimer <fweimer@redhat.com>
27310
27311 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
27312 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
27313 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
27314
59bd52b0
FW
273152017-08-31 Florian Weimer <fweimer@redhat.com>
27316
27317 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
27318 (__gai_enqueue_request): Remove internal_function.
27319 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
27320 (__gai_remove_request, __gai_notify, __gai_notify_only)
27321 (__gai_sigqueue): Likewise.
27322 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
27323 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27324 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
27325 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27326 Likewise.
27327
fc3d9497
FW
273282017-08-31 Florian Weimer <fweimer@redhat.com>
27329
27330 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
27331 * include/dirent.h (__opendirat, __getdents, __getdents64)
27332 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
27333 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
27334 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27335 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27336 Likewise.
27337 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
27338
18c54fac
FW
273392017-08-31 Florian Weimer <fweimer@redhat.com>
27340
27341 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
27342 internal_function.
27343 (GETCWD_RETURN_TYPE): Likewise.
27344
7e01f080
FW
273452017-08-31 Florian Weimer <fweimer@redhat.com>
27346
27347 * include/time.h (__tz_compute, __strptime_internal): Remove
27348 internal_function.
27349 * time/strptime_l.c (__strptime_internal): Likewise.
27350 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
27351
d7ccc6c9
FW
273522017-08-31 Florian Weimer <fweimer@redhat.com>
27353
27354 * iconv/gconv.c (__gconv): Remove internal_function.
27355 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
27356 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
27357 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
27358 (__gconv_release_cache): Likewise.
27359 * iconv/gconv_close.c (__gconv_close): Likewise.
27360 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
27361 (read_conf_file, __gconv_get_path): Likewise.
27362 * iconv/gconv_db.c (derivation_lookup, add_derivation)
27363 (__gconv_release_step, gen_steps, increment_counter)
27364 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
27365 (__gconv_close_transform, free_modules_db): Likewise.
27366 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
27367 Likewise.
27368 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
27369 (__gconv_find_transform, __gconv_lookup_cache)
27370 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
27371 (__gconv_close_transform, __gconv_release_cache)
27372 (__gconv_loaded_object, __gconv_release_shlib)
27373 (__gconv_compare_alias): Likewise.
27374 * iconv/gconv_open.c (__gconv_open): Likewise.
27375 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
27376 * iconv/iconvconfig.c (add_module): Likewise.
27377 * intl/dcigettext.c (plural_lookup, guess_category_value)
27378 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
27379 * intl/eval-plural.h (plural_eval): Likewise.
27380 * intl/finddomain.c (_nl_find_domain): Likewise.
27381 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
27382 (_nl_load_domain, _nl_find_msg): Likewise.
27383 (internal_function): Remove definition.
27384 * intl/loadinfo.h (internal_function): Likewise.
27385 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
27386 internal_function.
27387 * intl/localealias.c (internal_function): Remove definition.
27388 (read_alias_file): Remove internal_function.
27389 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
27390 * intl/plural-exp.h (internal_function): Remove definition.
27391 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
27392 internal_function.
27393 * intl/plural.c: Regenerate.
27394 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
27395 * locale/coll-lookup.c (__collidx_table_lookup)
27396 (__collseq_table_lookup): Likewise.
27397 * locale/coll-lookup.h (__collidx_table_lookup)
27398 (__collseq_table_lookup): Likewise.
27399 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
27400 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27401 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
27402 (_nl_unload_locale): Likewise.
27403 * locale/localeinfo.h (struct __locale_data): Remove
27404 internal_function from cleanup member.
27405 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
27406 (_nl_remove_locale, _nl_load_locale_from_archive)
27407 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
27408 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
27409 (_nl_cleanup_time): Remove internal_function.
27410 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
27411 (_nl_parse_alt_digit): Likewise.
27412 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
27413 (_nl_select_era_entry): Likewise.
27414 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
27415 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27416 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
27417 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27418 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 27419
dab0eece
FW
274202017-08-31 Florian Weimer <fweimer@redhat.com>
27421
27422 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
27423 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27424 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
27425 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
27426 Likewise.
27427 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
27428 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
27429 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
27430 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27431 Likewise.
27432 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
27433
ab5bf7cf
FW
274342017-08-31 Florian Weimer <fweimer@redhat.com>
27435
27436 * misc/getttyent.c (skip, value): Remove internal_function.
27437 * misc/syslog.c (openlog_internal): Likewise.
27438 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
27439
75b3047e
FW
274402017-08-31 Florian Weimer <fweimer@redhat.com>
27441
27442 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
27443 (__nss_rewrite_field): Remove internal_function.
27444 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27445 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27446 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27447 * nss/nsswitch.c (nss_parse_file, nss_getline)
27448 (nss_parse_service_list, nss_new_service): Likewise.
27449 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
27450 * nss/valid_field.c (__nss_valid_field): Likewise.
27451 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27452
0c71122c
FW
274532017-08-31 Florian Weimer <fweimer@redhat.com>
27454
27455 * malloc/arena.c (__malloc_fork_lock_parent)
27456 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
27457 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
27458 internal_function from defintions.
27459 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
27460 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
27461 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
27462 internal_function from declarations.
27463 * malloc/malloc.c (internal_function): Do not define.
27464 (mem2mem_check): Remove internal_function from declaration.
27465 (munmap_chunk, mremap_chunk): Remove internal_function.
27466 * malloc/mtrace.c (tr_where): Likewise.
27467
ca4ec803
FW
274682017-08-31 Florian Weimer <fweimer@redhat.com>
27469
27470 * include/rpc/pmap_clnt.h (__get_socket): Remove
27471 internal_function.
27472 * sunrpc/auth_des.c (synchronize): Likewise.
27473 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
27474 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
27475 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
27476 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
27477 (key_call): Likewise.
27478 * sunrpc/pm_getport.c (__get_socket): Likewise.
27479 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
27480 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
27481 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
27482 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
27483 (invalidate): Likewise.
27484 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
27485 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
27486 (set_input_fragment, get_input_bytes): Likewise.
27487
24cffce7
FW
274882017-08-31 Florian Weimer <fweimer@redhat.com>
27489
27490 * malloc/malloc.c (_int_free): Remove locked variable and related
27491 asserts.
27492
ecd0747d
L
274932017-08-31 H.J. Lu <hongjiu.lu@intel.com>
27494
27495 [BZ #22051]
27496 * Makerules (build-module-helper-objlist): Filter out
27497 $(elf-objpfx)sofini.os.
27498 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
27499 needed.
27500
5f0704b6
FW
275012017-08-31 Florian Weimer <fweimer@redhat.com>
27502
27503 * libio/fcloseall.c: Assume weak_alias is defined.
27504 * libio/feof.c: Likewise.
27505 * libio/fileno.c: Likewise.
27506 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
27507 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27508 definitions.
27509 (_IO_file_open): Call __open directly.
27510 (_IO_new_file_sync): Assume ESPIPE is defined.
27511 (_IO_file_seekoff_maybe_mmap): Call __read directly.
27512 (_IO_new_file_write): Call __write directly.
27513 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
27514 * libio/ftello64.c (__ftello64): Assume EIO is defined.
27515 * libio/genops.c: Assume _LIBC is defined.
27516 (save_for_backup): Remove internal_function.
27517 * libio/getc.c: Assume weak_alias is defined.
27518 * libio/getwc.c: Likewise.
27519 * libio/iofclose.c: Assume _LIBC is defined.
27520 * libio/iofdopen.c: Likewise.
27521 (_IO_fcntl): Remove macro definition.
27522 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
27523 Call __fcntl directly.
27524 * libio/iofflush.c: Assume weak_alias is defined.
27525 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
27526 defined.
27527 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
27528 * libio/iofgets.c: Likewise.
27529 * libio/iofopen.c: Assume _LIBC is defined.
27530 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
27531 * libio/iofputs.c: Assume weak_alias is defined.
27532 * libio/iofread.c: Likewise.
27533 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
27534 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27535 * libio/ioftell.c: Assume weak_alias is defined.
27536 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
27537 * libio/iofwide.c: Assume _LIBC is defined.
27538 (_IO_fwide): Drop SHARED conditional because it is implied by
27539 SHLIB_COMPAT.
27540 * libio/iofwrite.c: Assume weak_alias is defined.
27541 * libio/iogetdelim.c: Likewise.
27542 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
27543 * libio/iogetwline.c (wmemcpy): Remove macro definition.
27544 (_IO_getwline): Call __wmemcpy directly.
27545 * libio/iopopen.c: Assume _LIBC is defined.
27546 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27547 (_IO_close): Remove macro definitions.
27548 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
27549 _exit directly.
27550 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
27551 directly.
27552 * libio/ioputs.c: Assume weak_alias is defined.
27553 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
27554 * libio/iosetbuffer.c: Assume weak_alias is defined.
27555 * libio/iosetvbuf.c: Likewise.
27556 * libio/ioungetc.c: Likewise.
27557 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
27558 libc_hidden_def, libc_hidden_weak, NULL are defined.
27559 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
27560 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
27561 defined.
27562 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27563 definitions.
27564 (_IO_old_file_init_internal): Drop SHARED conditional because it
27565 is implied by SHLIB_COMPAT.
27566 (_IO_old_file_fopen): Call __open directly.
27567 (_IO_old_file_sync): Assume ESPIPE is defined.
27568 (_IO_old_file_write): Call __write directly.
27569 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
27570 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
27571 Call __fcntl directly.
27572 * libio/oldiofgetpos.c: Assume weak_alias is defined.
27573 (_IO_old_fgetpos): Assume EIO is defined.
27574 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
27575 (_IO_old_fgetpos64): Assume EIO is defined.
27576 * libio/oldiofsetpos.c: Assume weak_alias is defined.
27577 (_IO_old_fsetpos): Assume EIO is defined.
27578 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
27579 (_IO_old_fsetpos64): Assume EIO is defined.
27580 * libio/oldiopopen.c: Assume _LIBC is defined.
27581 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27582 (_IO_close): Remove macro definitions.
27583 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
27584 directly.
27585 (_IO_old_proc_close): Call __close, __waitpid directly.
27586 * libio/put.c: Assume weak_alias is defined.
27587 * libio/stdfiles.c: Assume _LIBC is defined.
27588 * libio/stdio.c: Likewise.
27589 * libio/wfileops.c: Likewise.
27590 (_IO_wfile_sync): Assume ESPIPE is defined.
27591 * libio/wgenops.c: Assume _LIBC is defined.
27592 (save_for_wbackup): Remove internal_function.
27593
5129873a
FW
275942017-08-31 Florian Weimer <fweimer@redhat.com>
27595
27596 * malloc/malloc.c (top_check): Change return type to void. Remove
27597 internal_function.
27598 * malloc/hooks.c (top_check): Likewise.
27599 (malloc_check, realloc_check, memalign_check): Adjust.
27600
4fa9b3bf
JM
276012017-08-30 Joseph Myers <joseph@codesourcery.com>
27602
27603 [BZ #21457]
27604 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27605 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
27606 sigcontext and namespace requirements.
27607 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27608 * sysdeps/m68k/sys/ucontext.h: Likewise.
27609 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
27610 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
27611 <bits/sigcontext.h>.
27612 (__ctx): Define earlier.
27613 (mcontext_t): Define structure contents rather than using struct
27614 sigcontext.
27615 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
27616 __glibc_reserved1 instead of __reserved.
27617 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
27618 <bits/sigcontext.h>.
27619 (__ctx): Define earlier.
27620 (mcontext_t): Define structure contents rather than using struct
27621 sigcontext.
27622 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
27623 mcontext_t instead of struct sigcontext.
27624 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
27625 <bits/sigcontext.h>.
27626 (__ctx): Define earlier.
27627 (mcontext_t): Define structure contents rather than using struct
27628 sigcontext.
27629 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
27630 <bits/sigcontext.h>.
27631 (__ctx): Define earlier.
27632 (mcontext_t): Define structure contents rather than using struct
27633 sigcontext.
27634 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
27635 mcontext_t instead of struct sigcontext.
27636 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
27637 mcontext_t instead of struct sigcontext.
27638 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
27639 <bits/sigcontext.h>.
27640 (__ctx): New macro.
27641 (struct __ia64_fpreg_mcontext): New type.
27642 (mcontext_t): Define structure contents rather than using struct
27643 sigcontext.
27644 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
27645 (uc_sigmask): Define using __ctx.
27646 (uc_stack): Likewise.
27647 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
27648 <bits/sigcontext.h>.
27649 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27650 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
27651 <bits/sigcontext.h>.
27652 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
27653 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
27654 <bits/sigcontext.h>.
27655 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
27656 <bits/sigcontext.h>.
27657 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
27658 <bits/sigcontext.h>.
27659 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
27660 <bits/sigcontext.h>.
27661 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
27662 <bits/sigcontext.h>.
27663 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
27664 <bits/sigcontext.h>.
27665 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
27666 <bits/sigcontext.h>.
27667 (__ctx): Define earlier.
27668 (mcontext_t): Define structure contents rather than using struct
27669 sigcontext.
27670 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
27671 <bits/sigcontext.h>. Include <bits/types.h>.
27672 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
27673 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
27674 (test-xfail-XPG42/ucontext.h/conform): Likewise.
27675 (test-xfail-UNIX98/signal.h/conform): Likewise.
27676 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27677 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27678 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27679 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27680 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27681 (test-xfail-POSIX2008/signal.h/conform): Likewise.
27682 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27683 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27684 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27685
5898f454
FW
276862017-08-30 Florian Weimer <fweimer@redhat.com>
27687
27688 * malloc/dynarray_emplace_enlarge.c
27689 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
27690 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
27691 * malloc/tst-dynarray.c (test_long_overflow): New function.
27692 (do_test): Call it.
27693
a9da0bb2
FW
276942017-08-30 Florian Weimer <fweimer@redhat.com>
27695
27696 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
27697 (set_arena_corrupt): Remove definitions.
27698 (mtrim): Do not check for corrupt arena.
27699 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
27700 Likewise.
27701
ac3ed168
FW
277022017-08-30 Florian Weimer <fweimer@redhat.com>
27703
27704 [BZ #21754]
27705 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
27706 check_action.
27707 (ptmalloc_init): Do not set or use check_action.
27708 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
27709 call to malloc_printerr. Remove return statement.
27710 (free_check): Likewise. Remove arena unlock.
27711 (top_check): Update comment. Adjust call to malloc_printerr.
27712 Remove heap repair code.
27713 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
27714 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
27715 (sysmalloc): Adjust call to malloc_printerr.
27716 (munmap_chunk, __libc_realloc): Likewise. Remove return
27717 statement.
27718 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
27719 Remove errout label and corresponding gotos.
27720 (_int_free): Likewise. Remove arena unlock.
27721 (do_set_mallopt_check): Do not set check_action.
27722 (malloc_printerr): Adjust parameter list. Do not mark arena as
27723 corrupt.
27724 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
27725 comment.
27726 * manual/probes.texi (Memory Allocation Probes): Remove
27727 memory_mallopt_check_action.
27728
44bcba80
SE
277292017-08-30 Steve Ellcey <sellcey@cavium.com>
27730
27731 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
27732 Use pointer to uint64_t instead of long int for sp.
27733
ec2c1fce
FW
277342017-08-30 Florian Weimer <fweimer@redhat.com>
27735
27736 [BZ #21754]
27737 * malloc/malloc.c (malloc_printerr): Always terminate the process,
27738 without printing a backtrace. Do not leak any information in the
27739 error message.
27740 * manual/memory.texi (Heap Consistency Checking): Update.
27741 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
27742
9ce673b6
FW
277432017-08-30 Florian Weimer <fweimer@redhat.com>
27744
27745 Do not scale NPTL tests with available number of CPUs.
27746 * nptl/tst-cond16.c (count): Set to constant value of 8.
27747 * nptl/tst-cond18.c (count): Likewise.
27748
2f1aef19
JM
277492017-08-29 Joseph Myers <joseph@codesourcery.com>
27750
27751 [BZ #22035]
27752 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
27753 Define to take a second argument that is a macro that
27754 concatentates a suffix, not the suffix itself.
27755 (__CONCAT_d): New macro.
27756 (__CONCAT_f): Likewise.
27757 (__CONCAT_l): Likewise.
27758
8325b477
PP
277592017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
27760
27761 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
27762 by child.
27763
319cbbf6
AZ
277642017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27765 Aurelien Jarno <aurelien@aurel32.net>
27766 Maciej W. Rozycki <macro@imgtec.com>
27767
27768 [BZ #21956]
27769 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
27770 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
27771 `mips16-syscall6' and `mips16-syscall7'.
27772 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
27773 (CFLAGS-mips16-syscall7.c): Remove.
27774 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
27775 Remove `__mips16_syscall5', `__mips16_syscall6' and
27776 `__mips16_syscall7'.
27777 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
27778 (__mips16_syscall0): Rename `__mips16_syscall_return' to
27779 `__mips_syscall_return'.
27780 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
27781 (__mips16_syscall1): Likewise.
27782 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
27783 (__mips16_syscall2): Likewise.
27784 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
27785 (__mips16_syscall3): Likewise.
27786 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
27787 (__mips16_syscall4): Likewise.
27788 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
27789 Remove.
27790 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
27791 Remove.
27792 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
27793 Remove.
27794 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
27795 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
27796 `__mips16_syscall5'. Remove prototype.
27797 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
27798 `__mips16_syscall6'. Remove prototype.
27799 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
27800 `__mips16_syscall7'. Remove prototype.
27801 (__nomips16, __mips16_syscall_return): Move to...
27802 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
27803 (__nomips16, __mips_syscall_return): ... here.
27804 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
27805 `__mips16_syscall_return' to `__mips_syscall_return'.
27806 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
27807 `internal_syscall##nr'.
27808 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
27809 `internal_syscall##nr'.
27810 (FORCE_FRAME_POINTER): Remove.
27811 (__mips_syscall5): New prototype.
27812 (internal_syscall5): Rewrite to call `__mips_syscall5'.
27813 (__mips_syscall6): New prototype.
27814 (internal_syscall6): Rewrite to call `__mips_syscall6'.
27815 (__mips_syscall7): New prototype.
27816 (internal_syscall7): Rewrite to call `__mips_syscall7'.
27817 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
27818 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
27819 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
27820 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
27821 (sysdep_routines): Add libc-do-syscall.
27822 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
27823 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
27824
01b87c65
AZ
278252017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27826
27827 [BZ #21672]
27828 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
27829 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
27830 (advise_stack_range): New function.
27831 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
27832 stack non required to advise_stack_range at allocatestack.c
27833
16f138a4
SN
278342017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27835
27836 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
27837
251bccfa
FW
278382017-08-29 Florian Weimer <fweimer@redhat.com>
27839
27840 [BZ #22026]
27841 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
27842 __end_fct. Mangle __end_fct after setting it to NULL.
27843 * iconv/Makefile (tests): Add tst-gconv-init-failure.
27844 (modules-names, modules-names-tests): Add
27845 tst-gconv-init-failure-mod.
27846 (gconv-modules): New target.
27847 (tst-gconv-init-failure-mod.so): Link against libsupport.
27848 (tst-gconv-init-failure): Depend on gconv-modules,
27849 tst-gconv-init-failure-mod.so.
27850 * iconv/tst-gconv-init-failure-mod.c: New file.
27851 * iconv/tst-gconv-init-failure.c: Likewise.
27852 * iconv/test-gconv-modules: Likewise.
27853
e7c18b9d
FW
278542017-08-29 Florian Weimer <fweimer@redhat.com>
27855
27856 [BZ #22025]
27857 * iconv/gconv_db.c (free_derivation): Remove redundant
27858 parentheses.
27859 (gen_steps): Unconditionally mangle __btowc_fct after
27860 initialization.
27861 (increment_counter): Likewise. Do not call init_fct for internal
27862 modules.
27863
7daada03
JM
278642017-08-29 Joseph Myers <joseph@codesourcery.com>
27865
27866 [BZ #22028]
27867 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
27868 (_MSUF_): Remove macro.
27869 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
27870 Likewise.
27871 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
27872 (__REDIRFROM_X): New macro.
27873 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
27874 Likewise.
27875 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
27876 (__REDIRTO_X): Likewise.
27877 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
27878 arguments.
27879 (__MATH_REDIRCALL_2): Likewise.
27880 (__MATH_REDIRCALL_INTERNAL): Likewise.
27881 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27882 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
27883 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
27884 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27885 * math/test-finite-macros.c: New file.
27886 * math/Makefile (tests): Add test-finite-macros.
27887 (CFLAGS-test-finite-macros.c): New variable.
27888
1cf1232c
PF
278892017-08-29 Patsy Franklin <pfrankli@redhat.com>
27890 Jeff Law <law@redhat.com>
27891
27892 [BZ #22025]
27893 Mangle NULL pointers in iconv/gconv.
27894 * iconv/gconv_cache.c (find_module): Demangle init_fct before
27895 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
27896 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
27897 is non-NULL before demangling the end_fct. Check for NULL
27898 end_fct after demangling.
27899 (__gconv_release_step): Demangle the end_fct before checking
27900 it for NULL. Remove assert on __shlibc_handle != NULL.
27901 (gen_steps): Don't check btowc_fct for NULL before mangling.
27902 Demangle init_fct before checking for NULL.
27903 (increment_counter): Likewise.
27904 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
27905 end_fct for NULL before mangling.
27906 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
27907 for NULL.
27908
c207f7ce 279092017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
27910
27911 [BZ #21971]
27912 * locale/iso-639.def: add Morisyen.
27913
42496114
GG
279142017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27915
27916 [BZ #21930]
27917 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
27918 (iszero): New C++ implementation that does not use
27919 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
27920 signaling nans are enabled, since __builtin_types_compatible_p
27921 is a C-only feature.
27922 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
27923 defined, include ieee754_float128.h for access to the union and
27924 member ieee854_float128.ieee.
27925 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
27926 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
27927 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
27928 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
27929 options of test-math-zero on powerpc64le.
27930
5e2bc4ff
L
279312017-08-28 H.J. Lu <hongjiu.lu@intel.com>
27932
27933 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27934 Change double to float.
27935
a48c0fb4
JM
279362017-08-28 Joseph Myers <joseph@codesourcery.com>
27937
27938 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
27939 unconditional.
27940 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
27941 conditional code; define contents only for [LIBM_SVID_COMPAT].
27942
ee17d4e9
FW
279432017-08-28 Florian Weimer <fweimer@redhat.com>
27944
27945 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
27946 (abi-lp64_be-options): Remove.
27947 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
27948 (abi-hard-options): Likewise.
27949 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
27950 (abi-o32_hard-options, abi-o32_soft_2008-options)
27951 (abi-o32_hard_2008-options, abi-n32_soft-options)
27952 (abi-n32_hard-options, abi-n32_soft_2008-options)
27953 (abi-n32_hard_2008-options, abi-n64_soft-options)
27954 (abi-n64_hard-options, abi-n64_soft_2008-options)
27955 (abi-n64_hard_2008-options): Likewise.
27956 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
27957 (abi-64-v1-options, abi-64-v2-options): Likewise.
27958 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
27959 (abi-64-options): Likewise.
27960 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
27961 (abi-64-options): Likewise.
27962 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
27963 (abi-64-options): Likewise.
27964 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
27965 (abi-64-options, abi-x32-options): Likewise.
27966
2dba5ce7
FW
279672017-08-28 Florian Weimer <fweimer@redhat.com>
27968
27969 Store supported list of SYS_* system calls in the source tree.
27970 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
27971 (bits/syscall.h): Generate from list file.
27972 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
27973 [$(subdir) = misc] (tests): Add tst-syscall-list.
27974 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
27975 [$(subdir) = misc] (tst-syscall-list-macros.list)
27976 [$(subdir) = misc] (tst-syscall-list-nr.list)
27977 (tst-syscall-list-sys.list): Helper targets for new
27978 tst-syscall-list test.
27979 [$(subdir) = misc] (tst-syscall-list.out): Run test script
27980 tst-syscall-list.sh.
27981 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
27982 target. Do not include bits/syscall.d.
27983 [$(subdir) = misc] (generated): Do not update.
27984 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
27985 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
27986 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
27987 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
27988
5f3b183d
PP
279892017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
27990
27991 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
27992 (tst-cxa_atexit, tst-on_exit): Likewise.
27993 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
27994 tst-cxa_atexit, and tst-on_exit.
27995 * stdlib/tst-atexit-common.c: New file.
27996 * stdlib/tst-atexit.c: New file.
27997 * stdlib/tst-at_quick_exit.c: New file.
27998 * stdlib/tst-cxa_atexit.c: New file.
27999 * stdlib/tst-on_exit.c: New file.
28000
2ef8d469
ST
280012017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28002
28003 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
28004 * mach/stack_chk_fail_local.c: New file.
28005 * hurd/stack_chk_fail_local.c: New file.
28006 * mach/Machrules ($(interface-library)-routines): Add
28007 stack_chk_fail_local.
99ee4d26
ST
28008 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28009 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28010 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28011 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28012 * hurd/Makefile (CFLAGS-hurdstartup.o,
28013 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 28014
7ab70c98
L
280152017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28018 (index_cpu_*, index_arch_*): Removed.
28019
39e7a5a6
SN
280202017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28021
28022 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28023 Use uint64_t instead of unsigned long.
28024
bba5c930
JM
280252017-08-25 Joseph Myers <joseph@codesourcery.com>
28026
a6ccdb08
JM
28027 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28028 [__HAVE_DISTINCT_FLOAT128].
28029
23761119
JM
28030 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28031 of <bits/math-finite.h>.
28032 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28033 inclusion of <bits/math-finite.h>.
28034 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28035 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28036 __NO_LONG_DOUBLE_MATH].
28037 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28038 (__MATH_REDIRCALL_2): Likewise.
28039 (__MATH_REDIRCALL_INTERNAL): Likewise.
28040 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28041 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28042 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28043
bba5c930
JM
28044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28045 Remove file.
28046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28047 Likewise.
28048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28049 Likewise.
28050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28051 Likewise.
28052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28053 Likewise.
28054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28055 Likewise.
28056 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28057 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28058 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28059 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28061 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28062 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28063 w_sqrtf_compat-ppc32.
28064
3d7b66f6
GG
280652017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28066
28067 * math/math.h [defined __cplusplus] (issignaling): In the long
28068 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28069 is not defined. Call __issignaling, otherwise.
28070
ebd6f007
AZ
280712017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28072
28073 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28074 syscall definitions and replace __builtin_expect with __glibc_likely.
28075 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28076 syscall.
28077 (SYSCALL_CANCELLABLE): Removedefinition
28078 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28079 definition.
28080 (PSEUDO_END): Likewise.
28081 [IS_IN (libpthread)] (CENABLE): Likewise.
28082 [IS_IN (libpthread)] (CDISABLE): Likewise.
28083 [IS_IN (libc)] (CENABLE): Likewise.
28084 [IS_IN (libc)] (CENABLE): Likewise.
28085 [IS_IN (librt)] (CDISABLE): Likewise.
28086 [IS_IN (librt)] (CDISABLE): Likewise.
28087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28088 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28089 definition.
28090 (PSEUDO_END): Likewise.
28091 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28092 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28093 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28094 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28095 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28096 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28097 (CENABLE): Likewise.
28098 (CDISABLE): Likewise.
28099 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28100 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28101 defintion.
28102 (PSEUDO_END): Likewise.
28103 [IS_IN (libpthread)] (CENABLE): Likewise.
28104 [IS_IN (libpthread)] (CDISABLE): Likewise.
28105 [IS_IN (libc)] (CENABLE): Likewise.
28106 [IS_IN (libc)] (CENABLE): Likewise.
28107 [IS_IN (librt)] (CDISABLE): Likewise.
28108 [IS_IN (librt)] (CDISABLE): Likewise.
28109 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28110 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28111 definition.
28112 (PSEUDO_END): Likewise.
28113 [IS_IN (libpthread)] (CENABLE): Likewise.
28114 [IS_IN (libpthread)] (CDISABLE): Likewise.
28115 [IS_IN (libc)] (CENABLE): Likewise.
28116 [IS_IN (libc)] (CENABLE): Likewise.
28117 [IS_IN (librt)] (CDISABLE): Likewise.
28118 [IS_IN (librt)] (CDISABLE): Likewise.
28119 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28120 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28121 definition.
28122 (PSEUDO_END): Likewise.
28123 [IS_IN (libpthread)] (CENABLE): Likewise.
28124 [IS_IN (libpthread)] (CDISABLE): Likewise.
28125 [IS_IN (libc)] (CENABLE): Likewise.
28126 [IS_IN (libc)] (CENABLE): Likewise.
28127 [IS_IN (librt)] (CDISABLE): Likewise.
28128 [IS_IN (librt)] (CDISABLE): Likewise.
28129 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28130 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
28131 definition.
28132 (PSEUDO_END): Likewise.
28133 [IS_IN (libpthread)] (CENABLE): Likewise.
28134 [IS_IN (libpthread)] (CDISABLE): Likewise.
28135 [IS_IN (libc)] (CENABLE): Likewise.
28136 [IS_IN (libc)] (CENABLE): Likewise.
28137 [IS_IN (librt)] (CDISABLE): Likewise.
28138 [IS_IN (librt)] (CDISABLE): Likewise.
28139 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28140 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
28141 definition.
28142 (PSEUDO_END): Likewise.
28143 [IS_IN (libpthread)] (CENABLE): Likewise.
28144 [IS_IN (libpthread)] (CDISABLE): Likewise.
28145 [IS_IN (libc)] (CENABLE): Likewise.
28146 [IS_IN (libc)] (CENABLE): Likewise.
28147 [IS_IN (librt)] (CDISABLE): Likewise.
28148 [IS_IN (librt)] (CDISABLE): Likewise.
28149 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28150 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
28151 definition.
28152 (PSEUDO_END): Likewise.
28153 [IS_IN (libpthread)] (CENABLE): Likewise.
28154 [IS_IN (libpthread)] (CDISABLE): Likewise.
28155 [IS_IN (libc)] (CENABLE): Likewise.
28156 [IS_IN (libc)] (CENABLE): Likewise.
28157 [IS_IN (librt)] (CDISABLE): Likewise.
28158 [IS_IN (librt)] (CDISABLE): Likewise.
28159 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28160 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
28161 Remove definition.
28162 (PSEUDO_END): Likewise.
28163 [IS_IN (libpthread)] (CENABLE): Likewise.
28164 [IS_IN (libpthread)] (CDISABLE): Likewise.
28165 [IS_IN (libc)] (CENABLE): Likewise.
28166 [IS_IN (libc)] (CENABLE): Likewise.
28167 [IS_IN (librt)] (CDISABLE): Likewise.
28168 [IS_IN (librt)] (CDISABLE): Likewise.
28169 (SINGLE_THREAD_P): Likewise.
28170 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
28171 definition.
28172 (PSEUDO_END): Likewise.
28173 [IS_IN (libpthread)] (CENABLE): Likewise.
28174 [IS_IN (libpthread)] (CDISABLE): Likewise.
28175 [IS_IN (libc)] (CENABLE): Likewise.
28176 [IS_IN (libc)] (CENABLE): Likewise.
28177 [IS_IN (librt)] (CDISABLE): Likewise.
28178 [IS_IN (librt)] (CDISABLE): Likewise.
28179 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28180 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
28181 definition.
28182 (PSEUDO_END): Likewise.
28183 [IS_IN (libpthread)] (CENABLE): Likewise.
28184 [IS_IN (libpthread)] (CDISABLE): Likewise.
28185 [IS_IN (libc)] (CENABLE): Likewise.
28186 [IS_IN (libc)] (CENABLE): Likewise.
28187 [IS_IN (librt)] (CDISABLE): Likewise.
28188 [IS_IN (librt)] (CDISABLE): Likewise.
28189 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28190 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
28191 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28192 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
28193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
28194 definition.
28195 (PSEUDO_END): Likewise.
28196 [IS_IN (libpthread)] (CENABLE): Likewise.
28197 [IS_IN (libpthread)] (CDISABLE): Likewise.
28198 [IS_IN (libc)] (CENABLE): Likewise.
28199 [IS_IN (libc)] (CENABLE): Likewise.
28200 [IS_IN (librt)] (CDISABLE): Likewise.
28201 [IS_IN (librt)] (CDISABLE): Likewise.
28202 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
28204 definition.
28205 (PSEUDO_END): Likewise.
28206 [IS_IN (libpthread)] (CENABLE): Likewise.
28207 [IS_IN (libpthread)] (CDISABLE): Likewise.
28208 [IS_IN (libc)] (CENABLE): Likewise.
28209 [IS_IN (libc)] (CENABLE): Likewise.
28210 [IS_IN (librt)] (CDISABLE): Likewise.
28211 [IS_IN (librt)] (CDISABLE): Likewise.
28212 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28213 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
28214 definition.
28215 (PSEUDO_END): Likewise.
28216 [IS_IN (libpthread)] (CENABLE): Likewise.
28217 [IS_IN (libpthread)] (CDISABLE): Likewise.
28218 [IS_IN (libc)] (CENABLE): Likewise.
28219 [IS_IN (libc)] (CENABLE): Likewise.
28220 [IS_IN (librt)] (CDISABLE): Likewise.
28221 [IS_IN (librt)] (CDISABLE): Likewise.
28222 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
28224 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28225 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
28226 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
28227 definition.
28228 (PSEUDO_END): Likewise.
28229 [IS_IN (libpthread)] (CENABLE): Likewise.
28230 [IS_IN (libpthread)] (CDISABLE): Likewise.
28231 [IS_IN (libc)] (CENABLE): Likewise.
28232 [IS_IN (libc)] (CENABLE): Likewise.
28233 [IS_IN (librt)] (CDISABLE): Likewise.
28234 [IS_IN (librt)] (CDISABLE): Likewise.
28235 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28236 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
28237 definition.
28238 (PSEUDO_END): Likewise.
28239 [IS_IN (libpthread)] (CENABLE): Likewise.
28240 [IS_IN (libpthread)] (CDISABLE): Likewise.
28241 [IS_IN (libc)] (CENABLE): Likewise.
28242 [IS_IN (libc)] (CENABLE): Likewise.
28243 [IS_IN (librt)] (CDISABLE): Likewise.
28244 [IS_IN (librt)] (CDISABLE): Likewise.
28245 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28246
8aa48656
SN
282472017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28248
28249 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
28250
fcaaca41
L
282512017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28252
28253 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28254
376b40a2
L
282552017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28256
28257 [BZ #21982]
28258 * string/stratcliff.c (do_test): Declare size, nchars, inner,
28259 middle and outer with size_t instead of int. Repleace %d and
28260 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
28261 "MAX (outer, nchars - 64)" to support unsigned outer and
28262 nchars. Also exit loop when outer == 0.
28263
2b0b9a1c
AZ
282642017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28265
28266 * include/fcntl.h (__fcntl_nocancel): Remove definition.
28267 * include/signal.h (__sigsuspend_nocancel): Likewise.
28268 * include/time.h (__nanosleep_nocancel): Likewise.
28269 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
28270 * login/utmp_file.c: Include non cancellable syscall header.
28271 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
28272 prototype.
28273
b9eaca8f
L
282742017-08-23 H.J. Lu <hongjiu.lu@intel.com>
28275
28276 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
28277 .byte sequences with AVX512F instructions.
28278 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
28279 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
28280 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28281 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
28282 Likewise.
28283 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28284 Likewise.
28285
5a706f64
SE
282862017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
28287 Steve Ellcey <sellcey@cavium.com>
28288
28289 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
28290 Use PTR_REG macro in cmp instruction.
28291
b513da7e
GG
282922017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28293
28294 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
28295 Change the return type of the ifunc resolver to match the return
28296 type of the target function.
28297
78ca091c
AZ
282982017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28299
b70b6026
AZ
28300 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
28301 (preadv64): Likewise.
28302 (pwrite64(: Likewise.
28303 (pwritev64): Likewise.
28304
78ca091c
AZ
28305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28306 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
28307 (LOAD_ARGS_0): Likewise.
28308 (LOAD_ARGS_1): Likewise.
28309 (LOAD_ARGS_2): Likewise.
28310 (LOAD_ARGS_3): Likewise.
28311 (LOAD_ARGS_4): Likewise.
28312 (LOAD_ARGS_5): Likewise.
28313 (LOAD_ARGS_6): Likewise.
28314 (LOAD_REGS_0): Likewise.
28315 (LOAD_REGS_1): Likewise.
28316 (LOAD_REGS_2): Likewise.
28317 (LOAD_REGS_3): Likewise.
28318 (LOAD_REGS_4): Likewise.
28319 (LOAD_REGS_5): Likewise.
28320 (LOAD_REGS_6): Likewise.
28321 (ASM_ARGS_0): Likewise.
28322 (ASM_ARGS_1): Likewise.
28323 (ASM_ARGS_2): Likewise.
28324 (ASM_ARGS_3): Likewise.
28325 (ASM_ARGS_4): Likewise.
28326 (ASM_ARGS_5): Likewise.
28327 (ASM_ARGS_6): Likewise.
28328 (LOAD_ARGS_TYPES_1): Likewise.
28329 (LOAD_ARGS_TYPES_2): Likewise.
28330 (LOAD_ARGS_TYPES_3): Likewise.
28331 (LOAD_ARGS_TYPES_4): Likewise.
28332 (LOAD_ARGS_TYPES_5): Likewise.
28333 (LOAD_ARGS_TYPES_6): Likewise.
28334 (LOAD_REGS_TYPES_1): Likewise.
28335 (LOAD_REGS_TYPES_2): Likewise.
28336 (LOAD_REGS_TYPES_3): Likewise.
28337 (LOAD_REGS_TYPES_4): Likewise.
28338 (LOAD_REGS_TYPES_5): Likewise.
28339 (LOAD_REGS_TYPES_6): Likewise.
28340 (TYPEFY): New define.
28341 (ARGIFY): Likewise.
28342 (internal_syscall0): Likewise.
28343 (internal_syscall1): Likewise.
28344 (internal_syscall2): Likewise.
28345 (internal_syscall3): Likewise.
28346 (internal_syscall4): Likewise.
28347 (internal_syscall5): Likewise.
28348 (internal_syscall6): Likewise.
28349 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
28350 (INTERNAL_SYSCALL_NCS): Remove define.
28351 (internal_syscall1): Add define.
28352
453a493d
GG
283532017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28354
28355 * math/w_remainder_compat.c: Remove duplicate inclusion of
28356 math-svid-compat.h.
28357 * math/w_remainderf_compat.c: Likewise.
28358 * math/w_remainderl_compat.c: Likewise.
28359
f2f048a5
GG
283602017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28361
28362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28363
d9bef9c0
JM
283642017-08-22 Joseph Myers <joseph@codesourcery.com>
28365
28366 [BZ #21684]
28367 * math/tgmath.h (__floating_type): Simplify definitions.
28368 (__real_integer_type): New macro.
28369 (__complex_integer_type): Likewise.
28370 (__expr_is_real): Likewise.
28371 (__tgmath_real_type_sub): Update comment to describe handling of
28372 complex types.
28373 (__tgmath_complex_type_sub): New macro.
28374 (__tgmath_complex_type): Likewise.
28375 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28376 (__TGMATH_CF128): Use __expr_is_real.
28377 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
28378 __expr_is_real.
28379 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28380 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
28381 * math/gen-tgmath-tests.py (Type.create_type): Create complex
28382 integer types.
28383
08d6eb46
AZ
283842017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28385
988f991b
AZ
28386 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
28387 macro.
28388 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
28389 alias.
28390 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
28391 Likewise.
28392
6f33fd04
AZ
28393 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
28394 nanosleep_not_cancel with __nanosleep_nocancel.
28395 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
28396 (__nanosleep_nocancel): New macro.
28397 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
28398 function.
28399 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
28400 macro.
28401 (__nanosleep_nocancel): New prototype.
28402
08d6eb46
AZ
28403 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
28404 pause_not_cancel with __pause_nocancel.
28405 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
28406 (__pause_nocancel): New macro.
28407 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
28408 macro.
28409 (__pause_nocancel): New prototype.
28410 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
28411
ee4e992e
MS
284122017-08-22 Martin Sebor <msebor@redhat.com>
28413
28414 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
28415 to return a pointer to the same type as the target function.
28416
20962acb
L
284172017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28418
28419 [BZ #18822]
28420 [BZ #21986]
28421 * include/printf.h (__printf_fphex): Add attribute_hidden.
28422 (__guess_grouping): New prototype.
28423 * stdio-common/printf_fp.c (__guess_grouping): Removed.
28424 * stdio-common/reg-printf.c (__register_printf_specifier): Add
28425 libc_hidden_proto and libc_hidden_def.
28426 * stdlib/strfmon_l.c (__guess_grouping): Removed.
28427 (__vstrfmon_l): Remove the third argument passed to
28428 __guess_grouping.
28429
a16e8bc0
GG
284302017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28431
28432 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
28433 definition for issignaling that does not rely on __MATH_TG,
28434 since __MATH_TG uses __builtin_types_compatible_p, which is only
28435 available in C mode.
28436 (CFLAGS-test-math-issignaling.cc): New variable.
28437 * math/Makefile [CXX] (tests): Add test-math-issignaling.
28438 * math/test-math-issignaling.cc: New test for C++ implementation
28439 of type-generic issignaling.
28440 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28441 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
28442 options of test-math-issignaling on powerpc64le.
28443
8d2ec553
L
284442017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28445
28446 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28447 building libc.a.
28448 (hidden_proto): Likewise.
28449 (hidden_tls_proto): Likewise.
28450 (__hidden_proto): Likewise.
28451
a4d57b79
FW
284522017-08-22 Florian Weimer <fweimer@redhat.com>
28453
28454 math: Statically link tests of internal functionality.
28455 * math/Makefile (tests): Remove atest-exp, atest-sincos,
28456 atest-exp2.
28457 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
28458 (gmp-objs): Remove assignment.
28459 (atest-exp, atest-sincos, atest-exp2): Remove targets.
28460
75dfe623
JM
284612017-08-22 Joseph Myers <joseph@codesourcery.com>
28462
80f91666
JM
28463 [BZ #21987]
28464 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
28465 and copy to ...
28466 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
28467 ... here.
28468 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
28469 ... and here.
28470
75dfe623
JM
28471 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
28472 variable definitions above inclusion of ../Rules.
28473
ea99fcd0
JM
284742017-08-21 Joseph Myers <joseph@codesourcery.com>
28475
28476 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
28477 case calling __builtin_unreachable.
28478
19926de9
AZ
284792017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28480
a8410a5f
AZ
28481 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
28482 __waitpid_nocancel.
28483 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
28484 (__waitpid_nocancel): New macro.
28485 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
28486 macro.
28487 (__waitpid_nocancel): Replace macro with a function.
28488 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
28489 function.
28490
7369800c
AZ
28491 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
28492 __fcntl_nocancel.
28493 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
28494 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
28495
19926de9
AZ
28496 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
28497 __writev_nocancel_nostatus.
28498 (write_call_graph): Likewise.
28499 (write_bb_counts): Likewise.
28500 * resolv/herror.c (herror): Likewise.
28501 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
28502 macro.
28503 (__writev_nocancel_nostatus): New macro.
28504 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
28505 Remove macro.
28506 (__writev_nocancel_nostatus): New function.
28507
813378e9
JM
285082017-08-21 Joseph Myers <joseph@codesourcery.com>
28509
df1deda6
JM
28510 Revert:
28511 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28512
28513 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28514 building libc.a.
28515 (hidden_proto): Likewise.
28516 (hidden_tls_proto): Likewise.
28517 (__hidden_proto): Likewise.
28518
831bbd55
JM
28519 [BZ #21973]
28520 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
28521 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28523 Likewise.
28524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
28525 Likewise.
28526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28527 Likewise.
28528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
28529 Likewise.
28530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
28531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28532 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28533 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28535 GLIBC_2.0 sqrtl symbol.
28536
813378e9
JM
28537 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
28538 [__USE_MISC] (_LIB_VERSION): Likewise.
28539 [__USE_MISC] (struct exception): Likewise.
28540 [__USE_MISC] (matherr): Likewise.
28541 [__USE_MISC] (DOMAIN): Likewise.
28542 [__USE_MISC] (SING): Likewise.
28543 [__USE_MISC] (OVERFLOW): Likewise.
28544 [__USE_MISC] (UNDERFLOW): Likewise.
28545 [__USE_MISC] (TLOSS): Likewise.
28546 [__USE_MISC] (PLOSS): Likewise.
28547 [__USE_MISC] (HUGE): Likewise.
28548 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
28549 * math/math-svid-compat.h: New file.
28550 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
28551 and matherrl.
28552 * include/math.h [!_ISOMAC] (__matherr): Remove.
28553 * manual/arith.texi (FP Exceptions): Do not document matherr.
28554 * math/Makefile (tests): Change test-matherr to test-matherr-3.
28555 (tests-internal): New variable.
28556 (install-lib): Do not add libieee.a.
28557 (non-lib.a): Likewise.
28558 (extra-objs): Do not add libieee.a and ieee-math.o.
28559 (CPPFLAGS-s_lib_version.c): Remove variable.
28560 ($(objpfx)libieee.a): Remove rule.
28561 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
28562 * math/ieee-math.c: Remove.
28563 * math/libm-test-support.c (matherr): Remove.
28564 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
28565 and license notices. Include <math-svid-compat.h> and
28566 <shlib-compat.h>.
28567 (matherr): Undefine as macro. Use compat_symbol_reference.
28568 (_LIB_VERSION): Likewise.
28569 * math/test-matherr-2.c: New file.
28570 * math/test-matherr-3.c: Likewise.
28571 * sysdeps/generic/math_private.h (__kernel_standard): Remove
28572 declaration.
28573 (__kernel_standard_f): Likewise.
28574 (__kernel_standard_l): Likewise.
28575 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
28576 <math_private.h>. Include <math-svid-compat.h>.
28577 (_LIB_VERSION): Undefine as macro.
28578 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
28579 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
28580 [LIBM_SVID_COMPAT], use compat_symbol.
28581 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
28582 <math_private.h>. Include <math-svid-compat.h>.
28583 (matherr): Undefine as macro.
28584 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
28585 compat_symbol.
28586 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
28587 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
28588 compat_symbol_reference.
28589 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
28590 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
28591 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
28592 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
28593 (MATHERR_D): Remove declaration.
28594 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
28595 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
28596 [LIBM_BUILD] (pmatherrf): Likewise.
28597 [LIBM_BUILD] (pmatherr): Likewise.
28598 [LIBM_BUILD] (pmatherrl): Likewise.
28599 (DOMAIN): Likewise.
28600 (SING): Likewise.
28601 (OVERFLOW): Likewise.
28602 (UNDERFLOW): Likewise.
28603 (TLOSS): Likewise.
28604 (PLOSS): Likewise.
28605 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
28606 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
28607 compat_symbol.
28608 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
28609 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
28610 compat_symbol.
28611 * math/lgamma-compat.h: Include <math-svid-compat.h>.
28612 * math/w_acos_compat.c: Likewise.
28613 * math/w_acosf_compat.c: Likewise.
28614 * math/w_acosh_compat.c: Likewise.
28615 * math/w_acoshf_compat.c: Likewise.
28616 * math/w_acoshl_compat.c: Likewise.
28617 * math/w_acosl_compat.c: Likewise.
28618 * math/w_asin_compat.c: Likewise.
28619 * math/w_asinf_compat.c: Likewise.
28620 * math/w_asinl_compat.c: Likewise.
28621 * math/w_atan2_compat.c: Likewise.
28622 * math/w_atan2f_compat.c: Likewise.
28623 * math/w_atan2l_compat.c: Likewise.
28624 * math/w_atanh_compat.c: Likewise.
28625 * math/w_atanhf_compat.c: Likewise.
28626 * math/w_atanhl_compat.c: Likewise.
28627 * math/w_cosh_compat.c: Likewise.
28628 * math/w_coshf_compat.c: Likewise.
28629 * math/w_coshl_compat.c: Likewise.
28630 * math/w_exp10_compat.c: Likewise.
28631 * math/w_exp10f_compat.c: Likewise.
28632 * math/w_exp10l_compat.c: Likewise.
28633 * math/w_exp2_compat.c: Likewise.
28634 * math/w_exp2f_compat.c: Likewise.
28635 * math/w_exp2l_compat.c: Likewise.
28636 * math/w_fmod_compat.c: Likewise.
28637 * math/w_fmodf_compat.c: Likewise.
28638 * math/w_fmodl_compat.c: Likewise.
28639 * math/w_hypot_compat.c: Likewise.
28640 * math/w_hypotf_compat.c: Likewise.
28641 * math/w_hypotl_compat.c: Likewise.
28642 * math/w_j0_compat.c: Likewise.
28643 * math/w_j0f_compat.c: Likewise.
28644 * math/w_j0l_compat.c: Likewise.
28645 * math/w_j1_compat.c: Likewise.
28646 * math/w_j1f_compat.c: Likewise.
28647 * math/w_j1l_compat.c: Likewise.
28648 * math/w_jn_compat.c: Likewise.
28649 * math/w_jnf_compat.c: Likewise.
28650 * math/w_jnl_compat.c: Likewise.
28651 * math/w_lgamma_main.c: Likewise.
28652 * math/w_lgamma_r_compat.c: Likewise.
28653 * math/w_lgammaf_main.c: Likewise.
28654 * math/w_lgammaf_r_compat.c: Likewise.
28655 * math/w_lgammal_main.c: Likewise.
28656 * math/w_lgammal_r_compat.c: Likewise.
28657 * math/w_log10_compat.c: Likewise.
28658 * math/w_log10f_compat.c: Likewise.
28659 * math/w_log10l_compat.c: Likewise.
28660 * math/w_log2_compat.c: Likewise.
28661 * math/w_log2f_compat.c: Likewise.
28662 * math/w_log2l_compat.c: Likewise.
28663 * math/w_log_compat.c: Likewise.
28664 * math/w_logf_compat.c: Likewise.
28665 * math/w_logl_compat.c: Likewise.
28666 * math/w_pow_compat.c: Likewise.
28667 * math/w_powf_compat.c: Likewise.
28668 * math/w_powl_compat.c: Likewise.
28669 * math/w_remainder_compat.c: Likewise.
28670 * math/w_remainderf_compat.c: Likewise.
28671 * math/w_remainderl_compat.c: Likewise.
28672 * math/w_scalb_compat.c: Likewise.
28673 * math/w_scalbf_compat.c: Likewise.
28674 * math/w_scalbl_compat.c: Likewise.
28675 * math/w_sinh_compat.c: Likewise.
28676 * math/w_sinhf_compat.c: Likewise.
28677 * math/w_sinhl_compat.c: Likewise.
28678 * math/w_sqrt_compat.c: Likewise.
28679 * math/w_sqrtf_compat.c: Likewise.
28680 * math/w_sqrtl_compat.c: Likewise.
28681 * math/w_tgamma_compat.c: Likewise.
28682 * math/w_tgammaf_compat.c: Likewise.
28683 * math/w_tgammal_compat.c: Likewise.
28684 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
28685 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28686 * sysdeps/ieee754/k_standard.c: Likewise.
28687 * sysdeps/ieee754/k_standardf.c: Likewise.
28688 * sysdeps/ieee754/k_standardl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28691 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28692 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28693 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28694 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28695 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28696 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
28697 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28699 Likewise.
28700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28701 Likewise.
28702 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
28703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28704 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28705 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28706
4504783c
FW
287072017-08-21 Florian Weimer <fweimer@redhat.com>
28708
28709 [BZ #21864]
28710 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
28711 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
28712 Move before inclusion of ../Rules.
28713
b5889d25
FW
287142017-08-21 Florian Weimer <fweimer@redhat.com>
28715
28716 [BZ #21972]
28717 * assert/assert.h (assert): Use static_cast (bool) for C++.
28718 Use the ternary operator in the warning branch for GNU C.
28719 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
28720 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
28721 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
28722 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
28723 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
28724
41e673c1
L
287252017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28726
28727 [BZ #18822]
28728 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28729 (__syscall_clock_gettime): Add attribute_hidden.
28730 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
28731 (__start_context): Likewise.
28732
568ff429
L
287332017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28736 building libc.a.
28737 (hidden_proto): Likewise.
28738 (hidden_tls_proto): Likewise.
28739 (__hidden_proto): Likewise.
28740
7c41b4a1
L
287412017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28742
28743 * include/libc-symbols.h (attribute_hidden): Enable hidden
28744 visibility in libc.a compiled with PIE.
28745
483d7068
L
287462017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28747
28748 [BZ #18822]
28749 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
28750 Add attribute_hidden.
28751
287522017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28753
28754 [BZ #21864]
28755 * Makerules (all-nonlib): Add $(others-extras).
28756 * catgets/Makefile (others-extras): New.
28757 * elf/Makefile (others-extras): Likewise.
28758 * nss/Makefile (others-extras): Likewise.
28759
54e4b8f2
L
287602017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28761
28762 [BZ #18822]
28763 * csu/libc-start.c (__libc_multiple_libcs): Removed.
28764 * elf/dl-open.c: Include <libc-internal.h>.
28765 (__libc_multiple_libcs): Removed.
28766 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
28767 <hp-timing.h>.
28768 * include/libc-internal.h (__libc_multiple_libcs): New.
28769 * misc/sbrk.c: Include <libc-internal.h>.
28770 (__libc_multiple_libcs): Removed.
28771
1dbbb1ec
L
287722017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28773
28774 [BZ #18822]
28775 * grp/initgroups.c (__nss_group_database): Removed.
28776 (__nss_initgroups_database): Likewise.
28777 * nscd/gai.c (__nss_hosts_database): Likewise.
28778 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
28779 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
28780 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
28781 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
28782 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
28783 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
28784 attribute_hidden.
28785 * nss/nsswitch.c (__nss_database_custom): Define only if
28786 USE_NSCD is defined.
28787 (__nss_configure_lookup): Use __nss_database_custom only if
28788 USE_NSCD is defined.
28789 * nss/nsswitch.h (__nss_database_custom): Declare only if
28790 USE_NSCD is defined. Add attribute_hidden.
28791 (__nss_setent): Add attribute_hidden.
28792 (__nss_endent): Likewise.
28793 (__nss_getent_r): Likewise.
28794 (__nss_getent): Likewise.
28795 (DEFINE_DATABASE): Declare __nss_##arg##_database.
28796
2585d7b8
L
287972017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28798
28799 [BZ #18822]
28800 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
28801 libc_hidden_proto and libc_hidden_def.
28802
c8dfa99c
L
288032017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28804
28805 [BZ #18822]
28806 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
28807 Add libc_hidden_proto.
28808 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
28809 Add libc_hidden_def.
28810
7ed87317
L
288112017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28812
28813 [BZ #21974]
28814 * gmon/Makefile (routines): Remove bb_init_func and
28815 bb_exit_func.
28816 (elide-routines.os): Removed.
9476b904
L
28817 * gmon/bb_exit_func.c: Likewise.
28818 * gmon/bb_init_func.c: Likewise.
7ed87317
L
28819 * include/sys/gmon.h (__bb): Likewise.
28820 (__bb_init_func): Likewise.
28821 (__bb_exit_func): Likewise.
91695eb1 28822 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 28823
94e6ba15
L
288242017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28825
28826 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
28827 * include/setjmp.h (____longjmp_chk): Here. Add
28828 attribute_hidden.
28829
7550717e
L
288302017-08-19 H.J. Lu <hongjiu.lu@intel.com>
28831
28832 [BZ #18822]
28833 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
28834 attribute_hidden.
28835 (__strspn_sse2): Likewise.
28836
0bb2fabc
AZ
288372017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28838
c181840c
AZ
28839 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
28840 (close_not_cancel_no_status): Likewise.
28841 (__close_nocancel): New macro.
28842 (__close_nocancel_nostatus): Likewise.
28843 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
28844 macro.
28845 (close_not_cancel): Likewise.
28846 (close_not_cancel_no_status): Likewise.
28847 (__close_nocancel): New prototype.
28848 (__close_nocancel_nostatus): New function.
28849 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
28850 * catgets/open_catalog.c (__open_catalog): Replace
28851 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
28852 * gmon/gmon.c (write_gmon): Likewise.
28853 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
28854 * intl/loadmsgcat.c (close): Likewise.
28855 * io/ftw.c (open_dir_stream): Likewise.
28856 (ftw_startup): Likewise.
28857 * libio/fileops.c (_IO_file_open): Likewise.
28858 (_IO_file_close_mmap): Likewise.
28859 (_IO_file_close): Likewise.
28860 * libio/iopopen.c (_IO_dup2): Likewise.
28861 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28862 * locale/loadlocale.c (_nl_load_locale): Likewise.
28863 * login/utmp_file.c (pututline_file): Likewise.
28864 (endutent_file): Likewise.
28865 * misc/daemon.c (daemon): Likewise.
28866 * nscd/nscd_getai.c (__nscd_getai): Likewise.
28867 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28868 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28869 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28871 * nscd/nscd_helper.c (open_socket): Likewise.
28872 (__nscd_open_socket): Likewise.
28873 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
28874 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
28875 (__nscd_innetgr): Likewise.
28876 * nss/nss_db/db-open.c (internal_setent): Likewise.
28877 * resolv/res-close.c (__res_iclose): Likewise.
28878 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
28879 * sysdeps/posix/closedir.c (__closedir): Likewise.
28880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
28881 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28882 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
28883 (opendir_tail): Likewise.
28884 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28885 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
28886 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
28887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28888 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28889 (gethostid): Likewise.
28890 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28892 Likewise.
28893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28894 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
28895 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28896 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28897 Likewise.
28898 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
28899 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
28900 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28901 Likewise.
28902 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
28903 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28904 Likewise.
28905 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28906 Likewise.
28907 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
28908 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28909 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28910 __close_nocancel.
28911
0bb2fabc
AZ
28912 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
28913 (openat_not_cancel_3): Likewise.
28914 (openat64_not_cancel_3): Likewise).
28915 (openat_not_cancel_3): Likewise).
28916 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
28917 macro.
28918 (openat_not_cancel_3): Likewise.
28919 (openat64_not_cancel): Likewise.
28920 (openat64_not_cancel_3): Likewise.
28921 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
28922 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
28923 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
28924 __open{64}_nocancel.
28925 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28926 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28927 * sysdeps/posix/opendir.c (__opendirat): Likewise.
28928
65a086db
L
289292017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28930
28931 [BZ #18822]
28932 * include/argz.h (__argz_create_sep): New function prototype.
28933 (__argz_append): Likewise.
28934 (__argz_add): Likewise.
28935 (__argz_add_sep): Likewise.
28936 (__argz_delete): Likewise.
28937 (__argz_insert): Likewise.
28938 (__argz_replace): Likewise.
28939 * string/argz.h (__argz_create_sep): Removed.
28940 (__argz_append): Likewise.
28941 (__argz_add): Likewise.
28942 (__argz_add_sep): Likewise.
28943 (__argz_delete): Likewise.
28944 (__argz_insert): Likewise.
28945 (__argz_replace): Likewise.
28946
62753d2c
L
289472017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28948
28949 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
28950 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
28951 (GNU_PROPERTY_STACK_SIZE): Likewie.
28952 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
28953 (GNU_PROPERTY_LOPROC): Likewise.
28954 (GNU_PROPERTY_HIPROC): Likewise.
28955 (GNU_PROPERTY_LOUSER): Likewise.
28956 (GNU_PROPERTY_HIUSER): Likewise.
28957 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
28958 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
28959 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
28960 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
28961 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
28962 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
28963 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
28964 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
28965 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
28966 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
28967 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
28968 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
28969 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
28970 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
28971 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
28972 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
28973 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
28974 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
28975 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
28976 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
28977 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
28978 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
28979 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
28980
6913ad65
GG
289812017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28982
28983 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
28984 in C++ mode.
28985
47a67213
GG
289862017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28987
28988 [BZ #21930]
28989 * math/math.h (isinf): Check if in C or C++ mode before using
28990 __builtin_types_compatible_p, since this is a C mode feature.
28991
a748eb31
AZ
289922017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28993
c647fb88
AZ
28994 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
28995 (__write_nocancel): New macro.
28996 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
28997 Rewrite as a function prototype.
28998 (write_not_cancel): Remove macro.
28999 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29000 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29001 (write_gmon): Likewise.
29002 * libio/fileops.c (_IO_new_file_write): Likewise.
29003 * login/utmp_file.c (pututline_file): Likewise.
29004 (updwtmp_file): Likewise.
29005 * stdio-common/psiginfo.c (psiginfo): Likewise.
29006 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29007 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29008 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29009 Likewise.
29010 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29011 Likewise.
29012
a748eb31
AZ
29013 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29014 (__read_nocancel): New macro.
29015 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29016 __read_nocancel.
29017 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29018 macro.
29019 (__read_nocancel): New prototype.
29020 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29021 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29022 with __read_nocancel.
29023 * intl/loadmsgcat.c (read): Likewise.
29024 * libio/fileops.c (_IO_file_read): Likewise.
29025 * locale/loadlocale.c (_nl_load_locale): Likewise.
29026 * login/utmp_file.c (getutent_r_file): Likewise.
29027 (internal_getut_r): Likewise.
29028 (getutline_r_file): Likewise.
29029 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29030 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29031 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29032 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29033 Likewise.
29034 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29035 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29036 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29037 Likewise.
29038 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29039 Likewise.
29040 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29041 Likewise.
29042 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29043 Likewise.
29044 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29045
098b9dd4
L
290462017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29047
29048 [BZ #21966]
29049 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29050 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29051 usable.
29052
a3fe6a20
DD
290532017-08-17 DJ Delorie <dj@redhat.com>
29054
29055 * bug17079.c: Update to new test harness.
29056 * test-digits-dots.c: Likewise.
29057 * test-netdb.c: Likewise.
29058 * tst-field.c: Likewise.
29059 * tst-nss-getpwent.c: Likewise.
29060 * tst-nss-static.c: Likewise.
29061 * tst-nss-test1.c: Likewise.
29062 * tst-nss-test2.c: Likewise.
29063 * tst-nss-test3.c: Likewise.
29064 * tst-nss-test4.c: Likewise.
29065 * tst-nss-test5.c: Likewise.
29066
c2284574
AZ
290672017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29068
29069 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29070 (open_not_cancel_2): Likewise.
29071 (open_nocancel): New macro.
29072 (open64_nocancel): Likewise.
29073 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29074 (open_not_cancel_2): Likewise.
29075 (__open_nocancel): New prototype.
29076 (__open64_nocancel): Likewise.
29077 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29078 __open_nocancel.
29079 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29080 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29081 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29082 with __open_nocancel.
29083 * csu/check_fds.c (check_one_fd): Likewise.
29084 * gmon/gmon.c (write_gmon): Likewise.
29085 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29086 * intl/loadmsgcat.c (open): Likewise.
29087 * libio/fileops.c (_IO_file_open): Likewise.
29088 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29089 * locale/loadlocale.c (_nl_load_locale): Likewise.
29090 * login/utmp_file.c (setutent_file): Likewise.
29091 * misc/daemon.c (daemon): Likewise.
29092 * nss/nss_db/db-open.c (internal_setent): Likewise.
29093 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29094 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29095 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29096 (__opendir): Likewise.
29097 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29098 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29099 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29100 (gethostid): Likewise.
29101 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29102 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29103 Likewise.
29104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29105 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29106 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29107 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29108 Likewise.
29109 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29110 Likewise.
29111 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29112 Likewise.
29113 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29114 Likewise.
29115 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29116 Likewise.
29117 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29118 Likewise.
29119 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29120 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29121
d4505b89
WD
291222017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
29123
29124 * benchtests/bench-skeleton.c (main): Add support for
29125 latency benchmarking.
29126 * benchtests/scripts/bench.py: Add support for latency benchmarking.
29127
34d6a3cb
L
291282017-08-17 H.J. Lu <hongjiu.lu@intel.com>
29129
29130 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
29131 the startup object.
29132
038d1caf
FW
291332017-08-17 Florian Weimer <fweimer@redhat.com>
29134
29135 * include/sys/socket.h (__opensock): Remove internal_function.
29136 * socket/opensock.c (__opensock): Likewise.
29137 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
29138
67f0aff0
JM
291392017-08-16 Joseph Myers <joseph@codesourcery.com>
29140
29141 [BZ #21944]
29142 * signal/bits/types/__sigval_t.h: New file.
29143 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
29144 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
29145 and define sigval_t using __sigval_t.
29146 * include/bits/types/__sigval_t.h: New file.
29147 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
29148 instead of <bits/types/__sigval_t.h>.
29149 (struct sigevent): Use __sigval_t instead of sigval_t.
29150 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
29151 instead of <bits/types/__sigval_t.h>.
29152 (siginfo_t): Use __sigval_t instead of sigval_t.
29153 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
29154 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29155 (struct sigevent): Use __sigval_t instead of sigval_t.
29156 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
29157 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29158 (siginfo_t): Use __sigval_t instead of sigval_t.
29159 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
29160
87e7bf4d
L
291612017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29162
29163 * NEWS: Remove "[Add new features here]" for 2.27.
29164
5047057f
JM
291652017-08-16 Joseph Myers <joseph@codesourcery.com>
29166
29167 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
29168 libc.so.
29169
20c7b195
L
291702017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 * NEWS: Mention x86-64 FMA optimization.
29173
24a2e658
L
291742017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29175
29176 [BZ #21912]
29177 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29178 Add e_expf-fma.
29179 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
29180 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
29181 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
29182
eedca977
AS
291832017-08-16 Andreas Schwab <schwab@suse.de>
29184
403143e1
FW
29185 [BZ #16750]
29186 CVE-2009-5064
eedca977
AS
29187 * elf/ldd.bash.in: Never run file directly.
29188
f59f7adb
L
291892017-08-15 H.J. Lu <hongjiu.lu@intel.com>
29190
29191 [BZ #21955]
29192 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
29193 (L(SP_INF_0)): Likewise.
29194
6b11a6ad
FW
291952017-08-15 Florian Weimer <fweimer@redhat.com>
29196
29197 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
29198 run-built-tests.
29199
bbf5c438
FW
292002017-08-15 Florian Weimer <fweimer@redhat.com>
29201
29202 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
29203 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
29204 BROKEN_THREAD_SIGNALS code.
29205 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
29206 request_list): Remove caller_pid member used for
29207 BROKEN_THREAD_SIGNALS.
29208 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
29209 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29210 Remove BROKEN_THREAD_SIGNALS support.
29211 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
29212 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
29213
6014c65d
FW
292142017-08-15 Florian Weimer <fweimer@redhat.com>
29215
29216 * gmon/Makefile (tests): Add tst-gmon.
29217 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
29218 Set.
29219 (tests-special): Add tst-gmon-prof.out.
29220 (tst-gmon.out): Depend on clean-tst-gmon-data.
29221 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
29222 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
29223 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
29224 startup object.
29225 * aclocal.m4 (GPROF): Set and substitute.
29226 * config.amke.in (GPROF): Set.
29227 * configure: Regenerate.
29228
ee72219a
GR
292292017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
29230
29231 * elf/elf.h A (NT_PPC_TAR): New macro.
29232 (NT_PPC_PPR): Likewise.
29233 (NT_PPC_DSCR): Likewise.
29234 (NT_PPC_EBB): Likewise.
29235 (NT_PPC_PMU): Likewise.
29236 (NT_PPC_TM_CGPR): Likewise.
29237 (NT_PPC_TM_CFPR): Likewise.
29238 (NT_PPC_TM_CVMX): Likewise.
29239 (NT_PPC_TM_CVSX): Likewise.
29240 (NT_PPC_TM_SPR): Likewise.
29241 (NT_PPC_TM_CTAR): Likewise.
29242 (NT_PPC_TM_CPPR): Likewise.
29243 (NT_PPC_TM_CDSCR): Likewise.
29244
4ebf934e
FW
292452017-08-15 Florian Weimer <fweimer@redhat.com>
29246
29247 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
29248 regparm (2) instead of internal_function.
29249 (_MCOUNT_DECL): Adjust.
29250
e9f57484
SL
292512017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
29252
29253 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
29254 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29255
88ff4d55
JM
292562017-08-14 Joseph Myers <joseph@codesourcery.com>
29257
29258 * conform/data/sys/wait.h-data (si_value): Do not expect for
29259 XPG42.
29260
c88ffc23
FW
292612017-08-14 Florian Weimer <fweimer@redhat.com>
29262
29263 [BZ #21962]
29264 NSS: Create stubs for accidentally exported lookup functions.
29265 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
29266 Remove declaration.
29267 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
29268 (ether_hostton): Call __nss_ethers_lookup2 instead.
29269 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
29270 (ether_ntohost): Call __nss_ethers_lookup2 instead.
29271 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
29272 (setup): Call __nss_netgroup_lookup2 instead.
29273 * nss/Makefile (routines): Add compat-lookup.
29274 * nss/Versions (GLIBC_2.27): Add symbol version.
29275 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
29276 (DB_COMPAT_FCT): Remove.
29277 * nss/compat-lookup.c: New file.
29278 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
29279 from databases.def.
29280 * nss/service-lookup.c (NO_COMPAT): Remove definition.
29281 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
29282 (netname2user): Call __nss_publickey_lookup2 instead.
29283 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
29284 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
29285 instead.
29286
35a29136 292872017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
29288 Sergei Trofimovich <slyfox@inbox.ru>
29289
29290 [BZ #21908]
29291 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
29292 Rename to MMAP2_PAGE_UNIT.
29293 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
29294 __OFF_T_MATCHES_OFF64_T is not defined.
29295 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
29296 uint64_t.
29297 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
29298 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
29299
fbdc1e3e
FW
293002017-08-14 Florian Weimer <fweimer@redhat.com>
29301
29302 i386: Do not set internal_function.
29303 * config.h.in (USE_REGPARMS, internal_function): Remove.
29304 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
29305 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
29306
b3f85fd2
FW
293072017-08-14 Florian Weimer <fweimer@redhat.com>
29308
29309 * elf/dl-init.c (_dl_init): Remove internal_function.
29310 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
29311 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
29312
630bf491
FW
293132017-08-14 Florian Weimer <fweimer@redhat.com>
29314
29315 * elf/rtld.c (_dl_start): Remove internal_function.
29316 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
29317 _dl_start.
29318
9fa7449b
FW
293192017-08-14 Florian Weimer <fweimer@redhat.com>
29320
29321 * elf/dl-fini.c (_dl_fini): Remove internal_function
29322 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29323
73322d5f
L
293242017-08-14 H.J. Lu <hongjiu.lu@intel.com>
29325
d863cd71 29326 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
29327 (bit_cpu_SHSTK): Likewise.
29328 (index_cpu_IBT): Likewise.
29329 (index_cpu_SHSTK): Likewise.
29330 (reg_IBT): Likewise.
29331 (reg_SHSTK): Likewise.
29332 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29333 Handle index_cpu_IBT and index_cpu_SHSTK.
29334
dbc303ef
MF
293352017-08-14 Mike FABIAN <mfabian@redhat.com>
29336
29337 [BZ #19982]
29338 * po/fr.po: Fix spelling mistake.
29339
3012cfb0
FW
293402017-08-13 Florian Weimer <fweimer@redhat.com>
29341
29342 * elf/dl-addr.c (_dl_addr): Remove internal_function.
29343 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
29344 (_dl_catch_error, _dl_receive_error): Likewise.
29345 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
29346 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
29347 (_dl_deallocate_tls): Likewise.
29348 * include/dlfcn.h (_dl_addr): Likewise.
29349 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
29350 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
29351 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
29352 Likewise.
29353
52bcdf26
FW
293542017-08-13 Florian Weimer <fweimer@redhat.com>
29355
29356 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
29357 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
29358 internal_function.
29359 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
29360
e1d2ae8d
FW
293612017-08-13 Florian Weimer <fweimer@redhat.com>
29362
29363 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
29364 internal_function.
29365 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
29366 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
29367 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
29368 internal_function from _dl_make_stack_executable_hook member.
29369 (_dl_make_stack_executable): Remove internal_function.
29370 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
29371 Likewise.
29372 * sysdeps/unix/sysv/linux/dl-execstack.c
29373 (_dl_make_stack_executable): Likewise.
29374
c4ce0382
FW
293752017-08-13 Florian Weimer <fweimer@redhat.com>
29376
29377 * sysdeps/unix/sysv/linux/netlinkaccess.h
29378 (__netlink_assert_response): Remove internal_function.
29379 * sysdeps/unix/sysv/linux/netlink_assert_response.c
29380 (__netlink_assert_response): Likewise.
29381
c4d767f7
FW
293822017-08-13 Florian Weimer <fweimer@redhat.com>
29383
29384 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
29385 internal_function.
29386 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
29387
b2297409
FW
293882017-08-13 Florian Weimer <fweimer@redhat.com>
29389
29390 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
29391 internal_function.
29392 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
29393 * inet/netgroup.h (__internal_setnetgrent)
29394 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29395 * inet/getnetgrent_r.c (__internal_setnetgrent)
29396 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29397 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
29398 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
29399 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
29400 * nss/nsswitch.h (db_lookup_function): Likewise.
29401
1b0bfc69
FW
294022017-08-13 Florian Weimer <fweimer@redhat.com>
29403
29404 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
29405 Remove internal_function.
29406 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
29407 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
29408 message argument on the stack.
29409 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
29410 Likeweise.
29411
a6bd8722
MF
294122017-08-12 Mike FABIAN <mfabian@redhat.com>
29413
29414 Adapt test case data to the changes in the thousands
29415 separators.
29416
29417 [BZ #20756]
29418 * localedata/tst-langinfo.sh: Adapt test case data.
29419 * stdlib/tst-strfmon_l.c: Likewise.
29420 * stdlib/tst-strtod4.c: Likewise.
29421 * stdlib/tst-strtod5i.c: Likewise.
29422
8b2c63e4
FW
294232017-08-11 Florian Weimer <fweimer@redhat.com>
29424
29425 [BZ #21242]
29426 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
29427 Suppress pedantic warning resulting from statement expression.
29428 (__ASSERT_FUNCTION): Add missing __extension__.
29429
61c98291
SP
294302017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29431
86c6519e
SP
29432 * benchtests/bench-memmove-large.c: Print output in JSON
29433 format.
29434 * benchtests/bench-memmove.c: Likewise.
29435
61c98291
SP
29436 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
29437 * benchtests/bench-memchr.c (do_one_test): Likewise.
29438 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
29439 * benchtests/bench-memcpy.c (do_one_test): Likewise.
29440 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
29441 * benchtests/bench-memmove.c (do_one_test): Likewise.
29442 * benchtests/bench-memset-large.c (do_one_test): Likewise.
29443 * benchtests/bench-memset.c (do_one_test): Likewise.
29444 * benchtests/bench-string.h (test_init): Remove memsets.
29445
925733a9
RJ
294462017-08-10 Rical Jasan <ricaljasan@pacific.net>
29447
29448 * manual/lang.texi
29449 (Computing the Width of an Integer Data Type): Rename section to
29450 "Width of an Integer Type". Remove inaccurate statement regarding
29451 lack of C language facilities for determining width of integer
29452 types, and reorder content to improve flow and context of
29453 discussion.
29454
4fcdfbfc
RJ
294552017-08-10 Rical Jasan <ricaljasan@pacific.net>
29456
29457 * lang.texi (va_copy): Change standard from ISO to C99.
29458 (__va_copy): Add standard and header annotation.
29459 Update description for clarity of origins and current use.
29460
4d98ace9
GG
294612017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29462
29463 [BZ #21941]
29464 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
29465 xssqrtqp requires operands to be in Vector Registers
29466 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
29467 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
29468 (__ieee754_sqrtf128): Likewise.
29469
92236903
WD
294702017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
29471
29472 * sysdeps/aarch64/memcmp.S (memcmp):
29473 Rewrite of optimized memcmp.
29474
2449ae7b
FW
294752017-08-10 Florian Weimer <fweimer@redhat.com>
29476
29477 Introduce ld.so exceptions.
29478 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
29479 (_dl_exception_create, _dl_exception_create_format)
29480 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
29481 (_dl_catch_exception): Declare.
29482 (_dl_catch_error): Update comment.
29483 * elf/dl-error-skeleton.c (struct catch): Replace objname,
29484 errstring, malloced members with exception member.
29485 (_dl_out_of_memory): Remove.
29486 (fatal_error): New function, extracted from _dl_signal_error.
29487 (_dl_signal_exception, _dl_signal_cexception): New functions.
29488 (_dl_signal_error): Call _dl_exception_create to allocate an
29489 exception object.
29490 (_dl_catch_exception): New function, based on _dl_catch_error.
29491 (_dl_catch_error): Implement using _dl_catch_exception.
29492 * elf/dl-exception.c: New file.
29493 * elf/Makefile (dl-routines): Add dl-exception.
29494 (elide-routines.os): Likewise.
29495 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
29496 _dl_exception_create_format, _dl_exception_free.
29497 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
29498 _dl_signal_exception.
29499 * elf/dl-lookup.c (make_string): Remove.
29500 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
29501 _dl_signal_cexception, _dl_exception_free.
29502 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
29503 _dl_signal_exception.
29504 * elf/dl-sym.c (do_sym): Likewise.
29505 * elf/dl-version.c (make_string): Remove.
29506 (match_symbol): Use _dl_exception_create_format,
29507 _dl_signal_cexception, _dl_exception_free.
29508 (_dl_check_map_versions): Likewise.
29509 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
29510 _dl_catch_exception.
29511 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
29512 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
29513 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
29514 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
29515 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
29516 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
29517 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
29518 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
29519 Likewise.
29520 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
29521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
29522 (ld.so): Likewise.
29523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
29524 (ld.so): Likewise.
29525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
29526 Likewise.
29527 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
29528 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
29529 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
29530 Likewise.
29531 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
29532 Likewise.
29533 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
29534
f87cc2bf
FW
295352017-08-10 Florian Weimer <fweimer@redhat.com>
29536
29537 * inet/net-internal.h (__inet6_scopeid_pton): Remove
29538 attribute_hidden, internal_function.
29539 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
29540 internal_function.
29541
eac43cbb
FW
295422017-08-10 Florian Weimer <fweimer@redhat.com>
29543
29544 * malloc/malloc.c (get_max_fast): Reimplement as an inline
29545 function which calls __builtin_unreachable.
29546
bd80111e
MF
295472017-08-10 Mike FABIAN <mfabian@redhat.com>
29548
29549 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
29550 Indian monetary formatting
29551 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
29552 test cases.
29553
60e2846e
DL
295542017-08-09 Dmitry V. Levin <ldv@altlinux.org>
29555
68dc02d1
DL
29556 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
29557 Fix typo in comment.
29558
60e2846e
DL
29559 [BZ #21928]
29560 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
29561 PTRACE_SEIZE_DEVEL): Remove.
29562 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
29563 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29565 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29566 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29567
3d452dab
JM
295682017-08-09 Joseph Myers <joseph@codesourcery.com>
29569
24d9f53a
JM
29570 * posix/bits/types.h (__qaddr_t): Remove.
29571
3d452dab
JM
29572 [BZ #21457]
29573 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
29574 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29575 __glibc_reserved1.
29576 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
29577 (ucontext_t): Use __ctx with uc_flags.
29578 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
29579 (__ctxt): Likewise.
29580 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29581 __glibc_reserved1.
29582 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
29583 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29584 __glibc_reserved1.
29585 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
29586 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29587 __glibc_reserved1.
29588 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
29589 macro.
29590 (ucontext_t): Use __ctx with uc_flags.
29591 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
29592 (ucontext_t): Use __ctx with uc_flags.
29593 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
29594 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
29595 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
29596 (ucontext_t): Use __ctx with uc_flags.
29597 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
29598 undefine further down.
29599 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29600 __glibc_reserved1.
29601 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
29602 undefine further down.
29603 (ucontext_t): Use __ctx with uc_flags.
29604 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
29605 undefine further down.
29606 (ucontext_t): Use __ctx with uc_flags.
29607 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
29608 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
29609 Rename uc_pad to __glibc_reserved1.
29610 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
29611 undefine further down.
29612 (ucontext_t): Use __ctx with uc_flags.
29613 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
29614 further down.
29615 (ucontext_t): Use __ctx with uc_flags.
29616 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
29617 __ctx with uc_flags.
29618 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
29619 (ucontext_t): Use __ctx with uc_flags.
29620 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
29621 __ctx with uc_flags.
29622
30161498
FW
296232017-08-09 Florian Weimer <fweimer@redhat.com>
29624
29625 [BZ #21932]
29626 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
29627 before early return.
29628
5797b410
AS
296292017-08-09 Andreas Schwab <schwab@suse.de>
29630
139237a4 29631 [BZ #21041]
5797b410
AS
29632 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
29633 renamed alias.
29634
139237a4 29635 [BZ #21041]
40c06a3d
AS
29636 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
29637 tst-compat-forwarder.
29638 (modules-names): Add tst-compat-forwarder-mod.
29639 ($(objpfx)tst-compat-forwarder): Depend on
29640 $(objpfx)tst-compat-forwarder-mod.so.
29641 * nptl/tst-compat-forwarder.c: New file.
29642 * nptl/tst-compat-forwarder-mod.c: New file.
29643
36ada5f6
SP
296442017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
29645
0e02b510
SP
29646 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
29647 comments.
29648
36ada5f6
SP
29649 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
29650 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29651 memcpy_falkor.
29652 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
29653 Bump.
29654 (__libc_ifunc_impl_list): Add __memcpy_falkor.
29655 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
29656 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
29657 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29658 Add falkor.
29659 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
29660 New macro.
29661
9995c839
AZ
296622017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29663
29664 [BZ #759]
29665 * manual/setjmp.texi (getcontex): Document uc_stack value
29666 compatibility differences.
29667
f17a4233
JM
296682017-08-08 Joseph Myers <joseph@codesourcery.com>
29669
29670 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
29671 (old_malloc_hook): Likewise.
29672 (old_memalign_hook): Likewise.
29673 (old_realloc_hook): Likewise.
29674 (struct hdr): Likewise.
29675 (flood): Likewise.
29676 (freehook): Likewise.
29677 (mallochook): Likewise.
29678 (memalignhook): Likewise.
29679 (reallochook): Likewise.
29680 (mprobe): Likewise.
29681 * malloc/mtrace.c (mallwatch): Likewise.
29682 (tr_old_free_hook): Likewise.
29683 (tr_old_malloc_hook): Likewise.
29684 (tr_old_realloc_hook): Likewise.
29685 (tr_old_memalign_hook): Likewise.
29686 (tr_where): Likewise.
29687 (lock_and_info): Likewise.
29688 (tr_freehook): Likewise.
29689 (tr_mallochook): Likewise.
29690 (tr_reallochook): Likewise.
29691 (tr_memalignhook): Likewise.
29692 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
29693 * misc/mmap.c (__mmap): Likewise.
29694 * misc/mmap64.c (__mmap64): Likewise.
29695 * misc/mprotect.c (__mprotect): Likewise.
29696 * misc/msync.c (msync): Likewise.
29697 * misc/munmap.c (__munmap): Likewise.
29698 * posix/posix_madvise.c (posix_madvise): Likewise.
29699 * socket/send.c (__send): Likewise.
29700 * socket/sendto.c (__sendto): Likewise.
29701 * socket/setsockopt.c (__setsockopt): Likewise.
29702 * string/memcmp.c (__ptr_t): Remove macro.
29703 (MEMCMP): Use void * instead of ptr_t.
29704 * string/memrchr.c (__ptr_t): Remove macro.
29705 (__memrchr): Use void * instead of ptr_t.
29706 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
29707 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29708 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29709 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
29710 * sysdeps/mach/msync.c (msync): Likewise.
29711 * sysdeps/mach/munmap.c (__munmap): Likewise.
29712 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
29713 Likewise.
29714 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29715 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
29716 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
29717 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
29718 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
29719 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29720 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
29721 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
29722 Likewise.
29723 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29724 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
29725 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
29726 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
29727 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
29728 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
29729 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
29730 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
29731 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
29732 Likewise.
29733 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
29734 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
29735 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
29736 (MEMCMP): Use void * instead of ptr_t.
29737 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
29738 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
29739
0df595b2
FW
297402017-08-08 Florian Weimer <fweimer@redhat.com>
29741
29742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
29743 return statement.
29744
086df229
L
297452017-08-08 H.J. Lu <hongjiu.lu@intel.com>
29746
29747 [BZ #21913]
29748 * csu/libc-tls.c: Include <startup.h> first.
29749 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
29750 * elf/dl-tunables.c: Include <startup.h> first.
29751 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
29752 * sysdeps/generic/startup.h: New file.
29753 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
29754 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
29755 (I386_USE_SYSENTER): New. Defined to 0.
29756
fc5ad702
AS
297572017-08-08 Andreas Schwab <schwab@suse.de>
29758
29759 [BZ #21041]
29760 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
29761 * nptl/pt-system.c (system): Likewise.
29762
852d6312
AZ
297632017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29764
29765 [BZ #21780]
29766 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
29767 EOPNOTSUPP.
29768 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
29769 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
29770 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
29771 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
29772 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
29773 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
29774 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
29775
8b164787
JM
297762017-08-07 Joseph Myers <joseph@codesourcery.com>
29777
cd65836b
JM
29778 [BZ #21899]
29779 * bits/sigaction.h (struct sigaction): Define sa_handler and
29780 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
29781 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29782 [__USE_XOPEN_EXTENDED].
29783 (SA_RESTART): Likewise.
29784 (SA_NODEFER): Likewise.
29785 (SA_RESETHAND): Likewise.
29786 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
29787 (struct sigaction): Define sa_handler and sa_sigaction using union
29788 also for [__USE_XOPEN_EXTENDED].
29789 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29790 [__USE_XOPEN_EXTENDED].
29791 (SA_RESTART): Likewise.
29792 (SA_NODEFER): Likewise.
29793 (SA_RESETHAND): Likewise.
29794 * sysdeps/unix/sysv/linux/bits/sigaction.h
29795 (struct sigaction): Define sa_handler and sa_sigaction using union
29796 also for [__USE_XOPEN_EXTENDED].
29797 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29798 [__USE_XOPEN_EXTENDED].
29799 (SA_RESTART): Likewise.
29800 (SA_NODEFER): Likewise.
29801 (SA_RESETHAND): Likewise.
29802 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
29803 (struct sigaction): Define sa_handler and sa_sigaction using union
29804 also for [__USE_XOPEN_EXTENDED].
29805 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29806 [__USE_XOPEN_EXTENDED].
29807 (SA_RESTART): Likewise.
29808 (SA_NODEFER): Likewise.
29809 (SA_RESETHAND): Likewise.
29810 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
29811 (struct sigaction): Define sa_handler and sa_sigaction using union
29812 also for [__USE_XOPEN_EXTENDED].
29813 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29814 [__USE_XOPEN_EXTENDED].
29815 (SA_RESTART): Likewise.
29816 (SA_NODEFER): Likewise.
29817 (SA_RESETHAND): Likewise.
29818 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
29819 (struct sigaction): Define sa_handler and sa_sigaction using union
29820 also for [__USE_XOPEN_EXTENDED].
29821 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29822 [__USE_XOPEN_EXTENDED].
29823 (SA_RESTART): Likewise.
29824 (SA_NODEFER): Likewise.
29825 (SA_RESETHAND): Likewise.
29826 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29827 (struct sigaction): Define sa_handler and sa_sigaction using union
29828 also for [__USE_XOPEN_EXTENDED].
29829 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29830 [__USE_XOPEN_EXTENDED].
29831 (SA_RESTART): Likewise.
29832 (SA_NODEFER): Likewise.
29833 (SA_RESETHAND): Likewise.
29834 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29835 (struct sigaction): Define sa_handler and sa_sigaction using union
29836 also for [__USE_XOPEN_EXTENDED].
29837 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29838 [__USE_XOPEN_EXTENDED].
29839 (SA_RESTART): Likewise.
29840 (SA_NODEFER): Likewise. Define directly rather than as alias.
29841 (SA_RESETHAND): Likewise.
29842 (SA_INTERRUPT): Define only for [__USE_MISC].
29843 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
29844 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
29845 [__USE_MISC].
29846 (SA_STACK): Define only for [__USE_MISC].
29847 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
29848 (struct sigaction): Define sa_handler and sa_sigaction using union
29849 also for [__USE_XOPEN_EXTENDED].
29850 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29851 [__USE_XOPEN_EXTENDED].
29852 (SA_RESTART): Likewise.
29853 (SA_NODEFER): Likewise.
29854 (SA_RESETHAND): Likewise.
29855 (SA_NOPTRACE): Define only for [__USE_MISC].
29856
d9fee042
JM
29857 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
29858 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
29859 (struct catalog_info): Likewise.
29860 * inet/htontest.c (lo): Likewise.
29861 (foo): Likewise.
29862 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29863 * inet/inet_net.c (inet_network): Likewise.
29864 * inet/inet_netof.c (inet_netof): Likewise.
29865 * inet/rcmd.c (__ivaliduser): Likewise.
29866 (iruserok): Likewise.
29867 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
29868 * locale/programs/locale-spec.c (locale_special): Likewise.
29869 * nis/nis_findserv.c (struct findserv_req): Likewise.
29870 (__nis_findfastest_with_timeout): Likewise.
29871 * nss/test-netdb.c (test_network): Likewise.
29872 * resolv/inet_neta.c (inet_neta): Likewise.
29873 * resolv/ns_date.c (ns_datetosecs): Likewise.
29874 (SECS_PER_DAY): Likewise.
29875 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
29876 Likewise.
29877 * resolv/res_comp.c (__putlong): Likewise.
29878 (__putshort): Likewise.
29879 (_getlong): Likewise.
29880 (_getshort): Likewise.
29881 * resolv/res_debug.c (p_time): Likewise.
29882 (precsize_ntoa): Likewise.
29883 (precsize_aton): Likewise.
29884 (latlon2ul): Likewise.
29885 (loc_aton): Likewise.
29886 (loc_ntoa): Likewise.
29887 * resolv/res_hconf.c (struct netaddr): Likewise.
29888 (_res_hconf_reorder_addrs): Likewise.
29889 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
29890 (clnttcp_control): Likewise.
29891 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29892 (clntudp_control): Likewise.
29893 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
29894 (clntunix_control): Likewise.
29895 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
29896 * sunrpc/rpc/auth.h (union des_block): Likewise.
29897 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
29898 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
29899 (xdrrec_create): Likewise.
29900 (xdrrec_endofrecord): Likewise.
29901 (flush_out): Likewise.
29902 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
29903 (xdrstdio_putlong): Likewise.
29904 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
29905 Likewise.
29906
8b164787
JM
29907 * misc/sys/cdefs.h (__long_double_t): Remove.
29908 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
29909 instead of __long_double_t,
29910 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
29911
7ee38e60
SP
299122017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
29913
dd3e86ad
SP
29914 * benchtests/scripts/compare_strings.py: Avoid display error when
29915 running on a text terminal.
29916
b115e819
SP
29917 * benchtests/scripts/compare_strings.py (main): Add an
29918 optional -base option.
29919 (process_results): New argument base_func.
29920
7ee38e60
SP
29921 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
29922 hardcoding memcpy.
29923 * benchtests/bench-memcpy-large.c (test_name): Likewise.
29924 * benchtests/bench-memcpy-random.c (test_name): Likewise.
29925
d5afb385
AS
299262017-08-07 Andreas Schwab <schwab@suse.de>
29927
29928 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
29929 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29930 * intl/Makefile ($(objpfx)tst-gettext.out)
29931 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
29932 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
29933 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29934 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29935 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
29936 * posix/Makefile ($(objpfx)globtest.out)
29937 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
29938 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
29939 ($(objpfx)tst-printf.out): Likewise.
29940 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
29941 ($(objpfx)tst-setcontext3.out): Likewise.
29942
57a72fa3
L
299432017-08-07 H.J. Lu <hongjiu.lu@intel.com>
29944
29945 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29946 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
29947 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
29948 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
29949 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
29950 and mptan-fma.
29951 (CFLAGS-doasin-fma.c): New.
29952 (CFLAGS-dosincos-fma.c): Likewise.
29953 (CFLAGS-e_asin-fma.c): Likewise.
29954 (CFLAGS-e_atan2-fma.c): Likewise.
29955 (CFLAGS-e_exp-fma.c): Likewise.
29956 (CFLAGS-e_log-fma.c): Likewise.
29957 (CFLAGS-e_pow-fma.c): Likewise.
29958 (CFLAGS-halfulp-fma.c): Likewise.
29959 (CFLAGS-mpa-fma.c): Likewise.
29960 (CFLAGS-mpatan-fma.c): Likewise.
29961 (CFLAGS-mpatan2-fma.c): Likewise.
29962 (CFLAGS-mpexp-fma.c): Likewise.
29963 (CFLAGS-mplog-fma.c): Likewise.
29964 (CFLAGS-mpsqrt-fma.c): Likewise.
29965 (CFLAGS-mptan-fma.c): Likewise.
29966 (CFLAGS-s_atan-fma.c): Likewise.
29967 (CFLAGS-sincos32-fma.c): Likewise.
29968 (CFLAGS-slowexp-fma.c): Likewise.
29969 (CFLAGS-slowpow-fma.c): Likewise.
29970 (CFLAGS-s_sin-fma.c): Likewise.
29971 (CFLAGS-s_tan-fma.c): Likewise.
29972 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
29973 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
29974 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
29975 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
29976 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
29977 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
29978 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
29979 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
29980 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
29981 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
29982 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
29983 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
29984 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
29985 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
29986 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
29987 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
29988 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
29989 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
29990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
29991 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
29992 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
29993 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
29994 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
29995 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
29996 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29998 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29999 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30000 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30001 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30002 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30003
219dd320
JM
300042017-08-04 Joseph Myers <joseph@codesourcery.com>
30005
30006 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30007 (min_of_type_f): New macro.
30008 (min_of_type_): Likewise.
30009 (min_of_type_l): Likewise.
30010 (min_of_type_f128): Likewise.
30011 (min_of_type): Define using __MATH_TG and taking an expression
30012 argument.
30013 (math_check_force_underflow): Pass expression instead of type to
30014 min_of_type.
30015 (math_check_force_underflow_nonneg): Likewise.
30016
64d4dea6
L
300172017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30018
30019 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30020 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30021 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30022
973da22a
L
300232017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30024
30025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30026 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30027 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30028 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30029 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30030 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30031 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30032 memmove_chk-nonshared and memset_chk-nonshared
30033 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30034 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30035 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30036 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30037 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30038 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30039 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30040 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30041 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30042 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30043 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30044 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30045 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30046 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30047 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30048 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30049 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30050 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30051 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30052 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30053 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30054 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30055 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30056 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30057 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30058 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30059 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30060 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30061 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30062 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30063 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30064 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30065 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30066 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30067 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30068 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30069 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30070 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30071 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30072 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30073 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30074 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30075 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30076 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30077 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30078 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30079 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30080 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30081 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30082 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30083 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30084 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30085 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30086 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30087 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30088 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30089 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30090 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30091 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30092 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30093 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30094 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30095 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30096 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30097 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30098 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30099 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30100 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30101 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30102 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30103 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30104 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30105 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30106 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30107 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30108 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30109 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30110 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30111 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30112 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30113 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30114 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30115 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30116 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30117 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30118 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30119 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30120 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30121 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30122 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30123 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30124 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30125 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30126 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30127 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30128 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30129 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30130 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30131 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30132 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30133 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30134 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30135 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30136 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30137 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30138 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30139 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30140 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30141
8537e0f6
L
301422017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30143
30144 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
30145 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
30146 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
30147 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
30148 svml_d_log2_core-sse2, svml_d_log4_core-sse,
30149 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
30150 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
30151 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
30152 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
30153 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
30154 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
30155 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
30156 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
30157 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
30158 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
30159 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
30160 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
30161 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
30162 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
30163 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
30164 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
30165 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
30166 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
30167 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
30168 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
30169 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
30170 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
30171 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
30172 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
30173 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
30174 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
30175 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
30176 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
30177 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
30178 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
30179 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
30180 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
30181 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
30182 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
30183 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
30184 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
30185 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
30186 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
30187 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
30188 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
30189 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
30190 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
30191 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
30192 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
30193 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
30194 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
30195 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
30196 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
30197 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
30198 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
30199 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
30200 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
30201 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
30202 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
30203 ...
30204 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
30205 Don't include <sysdep.h> nor <init-arch.h>.
30206 (_ZGVbN2v_cos): Removed.
30207 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
30208 ...
30209 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
30210 Don't include <sysdep.h> nor <init-arch.h>.
30211 (_ZGVdN4v_cos): Removed.
30212 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
30213 ...
30214 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
30215 Don't include <sysdep.h> nor <init-arch.h>.
30216 (_ZGVeN8v_cos): Removed.
30217 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
30218 ...
30219 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
30220 Don't include <sysdep.h> nor <init-arch.h>.
30221 (_ZGVbN2v_exp): Removed.
30222 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
30223 ...
30224 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
30225 Don't include <sysdep.h> nor <init-arch.h>.
30226 (_ZGVdN4v_exp): Removed.
30227 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
30228 ...
30229 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
30230 Don't include <sysdep.h> nor <init-arch.h>.
30231 (_ZGVeN8v_exp): Removed.
30232 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
30233 ...
30234 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
30235 Don't include <sysdep.h> nor <init-arch.h>.
30236 (_ZGVbN2v_log): Removed.
30237 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
30238 ...
30239 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
30240 Don't include <sysdep.h> nor <init-arch.h>.
30241 (_ZGVdN4v_log): Removed.
30242 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
30243 ...
30244 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
30245 Don't include <sysdep.h> nor <init-arch.h>.
30246 (_ZGVeN8v_log): Removed.
30247 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
30248 ...
30249 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
30250 Don't include <sysdep.h> nor <init-arch.h>.
30251 (_ZGVbN2vv_pow): Removed.
30252 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
30253 ...
30254 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
30255 Don't include <sysdep.h> nor <init-arch.h>.
30256 (_ZGVdN4vv_pow): Removed.
30257 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
30258 ...
30259 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
30260 Don't include <sysdep.h> nor <init-arch.h>.
30261 (_ZGVeN8vv_pow): Removed.
30262 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
30263 ...
30264 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
30265 Don't include <sysdep.h> nor <init-arch.h>.
30266 (_ZGVbN2v_sin): Removed.
30267 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
30268 ...
30269 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
30270 Don't include <sysdep.h> nor <init-arch.h>.
30271 (_ZGVbN4v_sin): Removed.
30272 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
30273 ...
30274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
30275 Don't include <sysdep.h> nor <init-arch.h>.
30276 (_ZGVbN8v_sin): Removed.
30277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
30278 ...
30279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
30280 Don't include <sysdep.h> nor <init-arch.h>.
30281 (_ZGVbN2vvv_sincos): Removed.
30282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
30283 ...
30284 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
30285 Don't include <sysdep.h> nor <init-arch.h>.
30286 (_ZGVdN4vvv_sincos): Removed.
30287 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
30288 ...
30289 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
30290 Don't include <sysdep.h> nor <init-arch.h>.
30291 (_ZGVeN8vvv_sincos): Removed.
30292 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
30293 ...
30294 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
30295 Don't include <sysdep.h> nor <init-arch.h>.
30296 (_ZGVeN16v_cosf): Removed.
30297 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
30298 ...
30299 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
30300 Don't include <sysdep.h> nor <init-arch.h>.
30301 (_ZGVbN4v_cosf): Removed.
30302 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
30303 ...
30304 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
30305 Don't include <sysdep.h> nor <init-arch.h>.
30306 (_ZGVdN8v_cosf): Removed.
30307 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
30308 ...
30309 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
30310 Don't include <sysdep.h> nor <init-arch.h>.
30311 (_ZGVeN16v_expf): Removed.
30312 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
30313 ...
30314 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
30315 Don't include <sysdep.h> nor <init-arch.h>.
30316 (_ZGVbN4v_expf): Removed.
30317 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
30318 ...
30319 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
30320 Don't include <sysdep.h> nor <init-arch.h>.
30321 (_ZGVdN8v_expf): Removed.
30322 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
30323 ...
30324 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
30325 Don't include <sysdep.h> nor <init-arch.h>.
30326 (_ZGVeN16v_logf): Removed.
30327 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
30328 ...
30329 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
30330 Don't include <sysdep.h> nor <init-arch.h>.
30331 (_ZGVbN4v_logf): Removed.
30332 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
30333 ...
30334 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
30335 Don't include <sysdep.h> nor <init-arch.h>.
30336 (_ZGVdN8v_logf): Removed.
30337 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
30338 ...
30339 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
30340 Don't include <sysdep.h> nor <init-arch.h>.
30341 (_ZGVeN16vv_powf): Removed.
30342 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
30343 ...
30344 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
30345 Don't include <sysdep.h> nor <init-arch.h>.
30346 (_ZGVbN4vv_powf): Removed.
30347 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
30348 ...
30349 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
30350 Don't include <sysdep.h> nor <init-arch.h>.
30351 (_ZGVdN8vv_powf): Removed.
30352 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
30353 ...
30354 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
30355 Don't include <sysdep.h> nor <init-arch.h>.
30356 (_ZGVeN16vvv_sincosf): Removed.
30357 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
30358 ...
30359 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
30360 Don't include <sysdep.h> nor <init-arch.h>.
30361 (_ZGVbN4vvv_sincosf): Removed.
30362 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
30363 ...
30364 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
30365 Don't include <sysdep.h> nor <init-arch.h>.
30366 (_ZGVdN8vvv_sincosf): Removed.
30367 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
30368 ...
30369 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
30370 Don't include <sysdep.h> nor <init-arch.h>.
30371 (_ZGVeN16v_sinf): Removed.
30372 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
30373 ...
30374 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
30375 Don't include <sysdep.h> nor <init-arch.h>.
30376 (_ZGVbN4v_sinf): Removed.
30377 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
30378 ...
30379 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
30380 Don't include <sysdep.h> nor <init-arch.h>.
30381 (_ZGVdN8v_sinf): Removed.
30382
10a87ca4
L
303832017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30384
30385 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30386 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
30387 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
30388 s_rint-sse4_1 and s_rintf-sse4_1.
30389 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
30390 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
30391 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
30392 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
30393 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
30394 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
30395 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
30396 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
30397 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
30398 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
30399 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
30400 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30401 (__ceil): Removed.
30402 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
30403 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
30404 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30405 (__ceilf): Removed.
30406 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
30407 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
30408 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30409 (__floor): Removed.
30410 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
30411 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
30412 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30413 (__floorf): Removed.
30414 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
30415 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
30416 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30417 (__nearbyint): Removed.
30418 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
30419 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
30420 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30421 (__nearbyintf): Removed.
30422 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
30423 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
30424 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30425 (__rint): Removed.
30426 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
30427 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
30428 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30429 (__rintf): Removed.
30430
1e8e527d
L
304312017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30432
30433 * sysdeps/i386/start.S (_start): Check Check PIC instead of
30434 SHARED. Avoid dynamic relocation against main in static PIE.
30435
e13daad7
L
304362017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30437
30438 [BZ #21815]
30439 * elf/Makefile (CFLAGS-tst-prelink.c): New.
30440 (LDFLAGS-tst-prelink): Likewise.
30441
627c69c8
L
304422017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30443
30444 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
30445 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
30446 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
30447 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
30448 (INTERNAL_SYSCALL_NCS): Likewise.
30449 (LOADARGS_1): Likewise.
30450 (LOADARGS_5): Likewise.
30451 (RESTOREARGS_1): Likewise.
30452 (RESTOREARGS_5): Likewise.
30453
fc11ff8d
L
304542017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30455
30456 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
30457 (MEMPCPY_SYMBOL): Likewise.
30458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30459 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
30460 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
30461 in libc.a.
30462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30463 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
30464 Likewise.
30465 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
30466 (__hidden_ver1): Don't use in libc.a.
30467 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
30468 (__mempcpy): Don't create a weak alias in libc.a.
30469 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
30470 libc.a.
30471 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
30472 (__hidden_ver1): Don't use in libc.a.
30473
19f1a11e
L
304742017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30475
30476 * config.make.in (have-insert): New.
30477 * configure.ac (libc_cv_insert): New. Set to yes if linker
30478 supports INSERT in linker script.
30479 (AC_SUBST(libc_cv_insert): New.
30480 * configure: Regenerated.
30481 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
30482 if $(have-insert) == yes.
30483
3093fd5e
L
304842017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30485
30486 * elf/Makefile (tests): Add vismain only if
30487 $(have-protected-data) == yes.
30488 (tests-pie): Likewise.
30489
d2cf37c0
L
304902017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30491
30492 [BZ #21871]
30493 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
30494 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
30495
c8a0e6ec
L
304962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30497
30498 [BZ #21790]
30499 * sysdeps/i386/i586/memset.S
30500 (__memset_zero_constant_len_parameter): Removed.
30501 * sysdeps/i386/i686/memset.S
30502 (__memset_zero_constant_len_parameter): Likewise.
30503 * sysdeps/i386/i686/multiarch/memset_chk.S
30504 (__memset_zero_constant_len_parameter): Likewise.
30505 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
30506 Likewise.
30507
2b34e271
AJ
305082017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30509
30510 * stdlib/getentropy.c (getentropy): Change return type to int.
30511
144bdab0
AJ
305122017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30513
30514 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
30515
24ab7723
JM
305162017-08-03 Joseph Myers <joseph@codesourcery.com>
30517
30518 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
30519 u_intN_t.
30520 * math/s_nexttowardf.c (__nexttowardf): Likewise.
30521 * sysdeps/generic/math_private.h (ieee_double_shape_type):
30522 Likewise.
30523 (ieee_float_shape_type): Likewise.
30524 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
30525 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
30526 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30527 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30528 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30529 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
30530 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
30531 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30532 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30533 Likewise.
30534 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30535 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30536 (__ieee754_yn): Likewise.
30537 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30538 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30539 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
30540 Likewise.
30541 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30542 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
30543 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
30544 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
30545 (__erfc): Likewise.
30546 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30547 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
30548 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
30549 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
30550 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
30551 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
30552 Likewise.
30553 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30554 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
30555 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30556 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
30557 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30558 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
30559 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
30560 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
30561 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
30562 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30563 (__issignaling): Likewise.
30564 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
30565 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
30566 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30567 Likewise.
30568 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30569 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30570 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
30571 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
30572 Likewise.
30573 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
30574 Likewise.
30575 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
30576 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
30577 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
30578 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30579 (__erfcf): Likewise.
30580 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30581 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30582 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
30583 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
30584 Likewise.
30585 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
30586 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
30587 Likewise.
30588 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30589 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
30590 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30591 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
30592 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
30593 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30594 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
30595 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
30596 Likewise.
30597 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
30598 Likewise.
30599 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30600 Likewise.
30601 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
30602 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30603 Likewise.
30604 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30605 Likewise.
30606 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30607 (__ieee754_ynl): Likewise.
30608 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30609 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
30610 Likewise.
30611 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
30612 Likewise.
30613 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30614 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
30615 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30616 Likewise.
30617 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30618 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
30619 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
30620 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
30621 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
30622 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30623 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
30624 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
30625 Likewise.
30626 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
30627 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
30628 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
30629 Likewise.
30630 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
30631 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
30632 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30633 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30634 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
30635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30636 Likewise.
30637 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30638 Likewise.
30639 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30640 Likewise.
30641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30642 Likewise.
30643 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
30644 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30645 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30646 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
30647 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30648 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
30649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
30650 Likewise.
30651 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30652 Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30654 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30655 Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
30657 (__ieee754_remainderl): Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30659 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30660 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30662 Likewise.
30663 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30665 Likewise.
30666 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30667 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
30668 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30669 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30670 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30671 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30672 Likewise.
30673 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30674 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
30675 (__ieee754_y0l): Likewise.
30676 (pzero): Likewise.
30677 (qzero): Likewise.
30678 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30679 (__ieee754_y1l): Likewise.
30680 (pone): Likewise.
30681 (qone): Likewise.
30682 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30683 (__ieee754_ynl): Likewise.
30684 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
30685 (__ieee754_lgammal_r): Likewise.
30686 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
30687 Likewise.
30688 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30689 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
30690 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30691 (__erfcl): Likewise.
30692 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
30693 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
30694 Likewise.
30695 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
30696 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
30697 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30698 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
30699 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
30700 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30701 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30702 Likewise.
30703 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
30704 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30705 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
30706 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
30707 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30708 Likewise.
30709 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
30710 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
30711 Likewise.
30712 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
30713 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
30714 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
30715 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30716 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
30717
964263bb
FW
307182017-08-03 Florian Weimer <fweimer@redhat.com>
30719
30720 [BZ #21885]
30721 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
30722 on memory allocation failure.
30723
e98c925f
AM
307242017-08-03 Alan Modra <amodra@gmail.com>
30725
30726 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
30727 tst-tlsopt-powerpc.c with function name change and no test harness.
30728 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
30729 Call tls_get_addr_opt_test.
30730 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
30731 (modules-names): Add mod-tlsopt-powerpc.
30732 (mod-tlsopt-powerpc.so-no-z-defs): Define.
30733 (tst-tlsopt-powerpc): Depend on .so.
30734 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
30735 define. Expand use in TLS_GD and TLS_LD.
30736
8ee1abdb
ST
307372017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30738
30739 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
30740 function.
3da5756e 30741 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 30742
42df8d59
JM
307432017-08-02 Joseph Myers <joseph@codesourcery.com>
30744
30745 [BZ #21686]
30746 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
30747 comparing size with that of double.
30748 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30749 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30750 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30751 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30752 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30753 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
30754 unsigned __int128 types.
30755
b7f95f49
SE
307562017-08-02 Steve Ellcey <sellcey@cavium.com>
30757
30758 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
30759 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
30760 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
30761 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
30762 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
30763
5b736bc9
L
307642017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30765
30766 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
30767
dfc93c41
L
307682017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30769
30770 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
30771 of SHARED.
30772 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30773 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30774 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30775 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30776 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30778 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30779
2fee621d
JM
307802017-08-02 Joseph Myers <joseph@codesourcery.com>
30781
30782 [BZ #21685]
30783 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
30784 bit-field expressions passed to sizeof or typeof.
30785 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30786 (__TGMATH_F128): Likewise.
30787 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30788 (__TGMATH_CF128): Likewise.
30789 (__TGMATH_UNARY_REAL_ONLY): Likewise.
30790 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
30791 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
30792 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
30793 (__TGMATH_BINARY_REAL_ONLY): Likewise.
30794 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30795 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30796 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30797 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30798 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
30799 (__TGMATH_UNARY_REAL_IMAG): Likewise.
30800 (__TGMATH_UNARY_IMAG): Likewise.
30801 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
30802 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30803 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
30804 type.
30805 (define_vars_for_type): Handle bit_field type specially.
30806 (Tests.__init__): Declare structure with bit-field element.
30807
b358255f
L
308082017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30809
30810 [BZ #21791]
30811 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
30812 (MEMCPY_CHK): Define only if SHARED is defined.
30813 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
30814 Likewise.
30815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
30816 Likewise.
edf66db1
SP
30817
30818See ChangeLog.18 for earlier changes.