]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
support: Add support_capture_subprogram
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0e169691
AZ
12019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * support/Makefile (libsupport-routines): Add support_subprocess,
4 xposix_spawn, xposix_spawn_file_actions_addclose, and
5 xposix_spawn_file_actions_adddup2.
6 (tst-support_capture_subprocess-ARGS): New rule.
7 * support/capture_subprocess.h (support_capture_subprogram): New
8 prototype.
9 * support/support_capture_subprocess.c (support_capture_subprocess):
10 Refactor to use support_subprocess and support_capture_poll.
11 (support_capture_subprogram): New function.
12 * support/tst-support_capture_subprocess.c (write_mode_to_str,
13 str_to_write_mode, test_common, parse_int, handle_restart,
14 do_subprocess, do_subprogram, do_multiple_tests): New functions.
15 (do_test): Add support_capture_subprogram tests.
16 * support/subprocess.h: New file.
17 * support/support_subprocess.c: Likewise.
18 * support/xposix_spawn.c: Likewise.
19 * support/xposix_spawn_file_actions_addclose.c: Likewise.
20 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
21 * support/xspawn.h: Likewise.
22
bae8cf0e
MG
232019-04-17 Mike Gerow <gerow@google.com>
24
25 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
26 groups limit.
27
e3f454ba
FW
282019-04-11 Florian Weimer <fweimer@redhat.com>
29
30 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
31 domain with empty string.
32 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33
32d85c11
FW
342019-04-11 Florian Weimer <fweimer@redhat.com>
35
36 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
37 comment.
38 (alloc_buffer_next): Change return type to non-const. Update
39 comment.
40
221710af
FW
412019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
42
43 * manual/time.texi (Formatting Calendar Time): Add missing percent
44 sign to conversion specifier.
45
e621246e
CD
462019-04-09 Carlos O'Donell <carlos@redhat.com>
47 Kwok Cheung Yeung <kcy@codesourcery.com>
48
49 [BZ #16573]
50 * malloc/mtrace.c: Define prototypes for all hooks.
51 (set_default_hooks): New function.
52 (set_trace_hooks): Likewise.
53 (save_default_hooks): Likewise.
54 (tr_freehook): Use new s*_hooks functions.
55 (tr_mallochook): Likewise.
56 (tr_reallochook): Likewise.
57 (tr_memalignhook): Likewise.
58 (mtrace): Likewise.
59 (muntrace): Likewise.
60
648279f4
WD
612019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
62
63 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
64 (generic_stpcpy): New function.
65 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
66 (generic_stpncpy): New function.
67 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
68 (generic_strcat): New function.
69 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
70 (generic_strcpy): New function.
71 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
72 (STUPID_STRNCAT): Remove function.
73 (generic_strncat): New function.
74 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
75 (STUPID_STRNCPY): Remove function.
76 (generic_strncpy): New function.
77 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
78 (generic_strnlen): New function.
79 (memchr_strnlen): New function.
80 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
81 (memchr_strlen): Likewise.
82
93eebae5
WD
832019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
84
85 * benchtests/bench-strstr.c (input): Add realistic input text.
86 (stupid_strstr): Remove function.
87 (basic_strstr): Add function.
88 (twoway_strstr): Add function.
89 (do_one_test): Add result checking.
90 (do_test): Use new input text. Remove accidental early matches.
91 (test_main): Improve range of tests, reduce unaligned cases.
92
a173d09f
WD
932019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
94
95 * benchtests/bench-memmem.c (simple_memmem): Remove function.
96 (basic_memmem): Add function.
97 (twoway_memmem): Add function.
98
6103c0a8
WD
992019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
100
101 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
102 * benchtests/bench-malloc-thread.c: Likewise.
103 * benchtests/bench-skeleton.c: Likewise.
104 * benchtests/bench-strtod.c: Likewise.
105 * benchtests/bench-timing.h: Likewise.
106
33322186
FW
1072019-04-08 Florian Weimer <fweimer@redhat.com>
108
109 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
110 definitions.
111 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
112 RES_INSECURE2 security checks.
113 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
114 RES_INSECURE2 handling.
115
3f8b44be
FW
1162019-04-08 Florian Weimer <fweimer@redhat.com>
117
118 resolv: Remove support for RES_USE_INET6 and the inet6 option.
119 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
120 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
121 GETHOSTBYNAME.
122 * resolv/Makefile (tests): Remove tst-res_use_inet6.
123 (tests-internal): Update justification for tst-resolv-res_init,
124 tst-resolv-res_init-thread.
125 (tst-res_use_inet6): Remove target.
126 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
127 * resolv/res_debug.c (p_option): Remove "inet6" support.
128 * resolv/res_init.c (res_setoptions): Likewise.
129 * resolv/res_use_inet6.h: Remove file.
130 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
131 definition.
132 (res_use_inet6): Always return false.
133 * resolv/resolv.h (RES_USE_INET6): Remove definition.
134 * resolv/resolv_context.h: Adjust file comment.
135 (struct resolv_context): Update comment on __next field.
136 (__resolv_context_put): Update comment.
137 * resolv/tst-res_use_inet6.c: Remove file.
138 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
139 "inet6" support.
140 (test_cases): Adjust test case.
141 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
142 (thread_byname2_af_inet6): Use old byname_inet6 code.
143 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
144 (gai): Remove do_inet6 argument.
145 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
146 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
147 (thread_gai_unspec_inet6): Remove functions.
148 (do_test): Adjust thread_funcs.
149 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
150 RES_USE_INET6 flag.
151 (gaih_inet): Do not disable RES_USE_INET6 flag.
152
6b5c8607 1532019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
154
155 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
156 and remove redundant code.
157
e3fd0b0e
AZ
1582019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
159
f82ed45d
AZ
160 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
161 New rule.
162 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
164 Likewise.
165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
166 Likewise.
167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
168 Likewise.
169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
170 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
171 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
172 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
173 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
174 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
176 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
177 wcsrchr-power7.
178 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
181 Remove wcsrchr optimizations.
182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
183
662c2cc4
AZ
184 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
185 the loop unroll.
186
421e3005
AZ
187 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
188 New rule.
189 * sysdeps/powerpc/power6/wcschr.c: Remove file.
190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
191 Likewise.
192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
193 Likewise.
194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
195 Likewise.
196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
197 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
198 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
199 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
200 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
201 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
203 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
204 wcschr-power7.
205 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
208 Remove wcschr optimizations.
209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
210
7ba0100c
AZ
211 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
212 the loop unroll.
213
447a1306
AZ
214 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
215 New rule.
216 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
218 Likewise.
219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
220 Likewise.
221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
222 Likewise.
223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
224 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
226 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
227 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
228 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
230 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
231 wcscpy-power7.
232 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
235 Remove wcscpy optimizations.
236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
237
e3fd0b0e
AZ
238 * include/loop_unroll.h: New file.
239 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
240 besides generic implementation.
241
8260f236
DD
2422019-04-03 DJ Delorie <dj@redhat.com>
243
244 * time/tst-strftime3.c (tm_to_printed): Disable warning about
245 snprintf truncating output.
246
0bd545ee
DD
2472019-04-02 DJ Delorie <dj@redhat.com>
248
249 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
250 warning.
251
466afec3
TS
2522019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
253
254 [BZ #22964]
255 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
256 era.
257 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
258 (mkreftable): Add rules for the new Japanese era and the new dates.
259
2f1d6155
TS
2602019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
261 Rafal Luzynski <digitalfreak@lingonborough.com>
262
263 * time/tst-strftime2.c (date_t): Explicitly define the type.
264 (dates): Use natural month and year numbers to express a date.
265 (is_before): New function to compare dates.
266 (mkreftable): Minor improvements to simplify maintenance.
267 (do_test): Reflect the changes in dates array.
268
84aea169
TS
269 [BZ #24293]
270 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
271 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
272 * time/tst-strftime2.c (locales): Likewise.
273 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
274 2010-04-01, and 2011-04-01.
275 (mkreftable): Add rules for the new locales and the new dates.
276
62449176
CD
2772019-04-01 Carlos O'Donell <carlos@redhat.com>
278
279 * localedata/locales/ja_JP: Add comments to era entries.
280
e0e4c321
DD
2812019-04-01 DJ Delorie <dj@redhat.com>
282
283 [BZ #24394]
284 * time/strptime_l.c (%Ey): Fix fencepost error.
285 * time/tst-strftime3.c: New.
286 * time/Makefile (tests): Add tst-strftime3.
287
6b5c8607 2882019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
289
290 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
291 conditional branch to DIVBYZERO. Fix unwind info.
292 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
293 excb after conditional branch to $powerof2. Add missing unop
294 instructions and .align directives and reorder instructions to
295 match __divqu.
296
d5ecee82
RH
2972019-04-01 Richard Henderson <rth@twiddle.net>
298
299 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
300 Do not redefine.
301 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
302 Do not redefine.
303
656dd306
MR
3042019-03-30 Maciej W. Rozycki <macro@wdc.com>
305
306 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
307 $libc_cv_riscv_float_abi in `test' invocation.
308 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
309
10cce669
PC
3102019-03-29 Paul A. Clarke <pc@us.ibm.com>
311
312 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
313 asm with builtin.
314 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
315 Likewise.
316 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
317 (_GET_SI_FPSCR): Likewise.
318 (_SET_SI_FPSCR): Likewise.
319
5e67e4bf 3202019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
321
322 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
323 clang 2.8.
324 (signbit): Use builtin for clang 3.3.
325 (isinf): Use builtin for clang 3.7.
326
01963891
AZ
3272019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
328
329 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
330
67112f7a
AH
3312019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
332
333 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
334 quote in printf.
335
7a773abf
MC
3362019-03-25 Mike Crowe <mac@mcrowe.com>
337
82849fde
MC
338 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
339 pthread_rwlock_timedrdlock with calls to
340 pthread_rwlock_timedwrlock to ensure that the latter is tested
341 too. Use new function name in diagnostic messages too.
342
7a773abf
MC
343 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
344 (do_test) Use libsupport test macros rather than hand-coded
345 conditionals and error messages. Ensure that sem_init returns zero
346 rather than not -1. Use <support/test-driver.c> rather than
347 test-skeleton.c.
348
349 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
350 test macros rather than hand-coded conditionals and error messages.
351 Use <support/test-driver.c> rather than test-skeleton.c.
352
9ac2de69
JM
3532019-03-25 Joseph Myers <joseph@codesourcery.com>
354
d7563e62
JM
355 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
356
9ac2de69
JM
357 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
358 (NT_MIPS_MSA): Likewise.
359
38cc11da
AZ
3602019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
361
7621e38b
WD
362 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
363 * benchtests/README: Update description.
364 * benchtests/bench-timing.h: Default to hp-timing.
365 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
366 HP_TIMING_PRINT): Remove.
367 (HP_TIMING_NOW): Add generic implementation.
368 (hp_timing_t): Change to uint64_t.
369
1e372ded
AZ
370 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
371 HP_TIMING_INLINE.
372 * nptl/descr.h: Likewise.
373 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
374 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
375 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
376 Abstract hp-timing usage with RTLD_* macros.
377 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
378 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
379 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
380 HP_TIMING_NONAVAIL): Likewise.
381 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
382 Likewise.
383 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
384 HP_SMALL_TIMING_AVAIL): Likewise.
385 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
386 HP_SMALL_TIMING_AVAIL): Likewise.
387 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
388 HP_SMALL_TIMING_AVAIL): Likewise.
389 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
390 HP_SMALL_TIMING_AVAIL): Likewise.
391 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
392 Likewise.
393 * sysdeps/generic/hp-timing-common.h: Update comment with
394 HP_TIMING_AVAIL removal.
395
359653aa
AZ
396 * include/random-bits.h: New file.
397 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
398 (__res_context_mkquery): Remove usage hp-timing usage and replace with
399 random_bits.
400 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
401 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
402 Likewise.
403
6e8ba7fd
AZ
404 * include/libc-internal.h (__get_clockfreq): Remove prototype.
405 * rt/Makefile (clock-routines): Remove get_clockfreq.
406 * rt/get_clockfreq.c: Remove file.
407 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
408 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
410 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
411 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
412
77b6f553
AZ
413 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
414 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
415 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
416 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
417 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
418
38cc11da
AZ
419 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
420 pthread_clock_settime.
421 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
422 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
423 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
424 * elf/rtld.c (_dl_start_final): Likewise.
425 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
426 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
427 Remove.
428 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
429 (_dl_cpuclock_offset): Remove.
430 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
431 cpuclock_offset_ununsed.
432 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
433 cpuclock_offset set.
434 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
435 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
436 * nptl/pthread_clock_gettime.c: Remove file.
437 * nptl/pthread_clock_settime.c: Likewise.
438 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
439 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
440 and CLOCK_PROCESS_CPUTIME_ID support.
441 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
442 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
443 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
444 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
445 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
446 Likewise.
447 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
448
421749d6
SL
4492019-03-22 Stefan Liebler <stli@linux.ibm.com>
450
451 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
452 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
453 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
454 New defines.
455 * sysdeps/s390/memmem-arch13.S: New file.
456 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
457 if it is only used as fallback.
458 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
459 * sysdeps/s390/multiarch/ifunc-impl-list.c
460 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
461
6f47401b
SL
4622019-03-22 Stefan Liebler <stli@linux.ibm.com>
463
464 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
465 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
466 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
467 New defines.
468 * sysdeps/s390/multiarch/ifunc-impl-list.c
469 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
470 * sysdeps/s390/strstr-arch13.S: New file.
471 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
472 if it is only used as fallback.
473 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
474
96fbb9a3
SL
4752019-03-22 Stefan Liebler <stli@linux.ibm.com>
476
477 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
478 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
479 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
480 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
481 ifunc selector.
482 * sysdeps/s390/multiarch/ifunc-impl-list.c
483 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
484 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
485 S390_IS_ARCH13_MIE3): New defines.
486
a899a551
SL
4872019-03-22 Stefan Liebler <stli@linux.ibm.com>
488
489 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
490 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
491 * sysdeps/s390/configure.ac: Add checks for arch13 support.
492 * sysdeps/s390/configure: Regenerated.
493
1a7df49c
SL
4942019-03-22 Stefan Liebler <stli@linux.ibm.com>
495
496 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
497 Add vxe2, vxp, dflt, sort flags.
498 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
499 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
500 capabilities.
501 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
502 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
503 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
504 HWCAP_S390_DFLT): Define.
505
5e67e4bf 5062019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
507
508 [BZ #24372]
509 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
510 of compiler warning.
511 * locale/programs/ld-collate.c (collate_output): Likewise.
512
ac64195c
DD
5132019-03-21 DJ Delorie <dj@redhat.com>
514
515 [BZ #24372]
516 * iconv/iconvconfig.c (write_output): Replace floating point math
517 with integer math to avoid imprecise results.
518 * locale/programs/ld-collate.c (collate_output): Likewise.
519
61f5e947
SL
5202019-03-21 Stefan Liebler <stli@linux.ibm.com>
521
522 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
523 Add HWCAP_S390_VX and HWCAP_S390_VXE.
524
57ada43c 5252019-03-20 mansayk <6688000@gmail.com>
526
527 [BZ #24296]
528 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
529 (abday): Likewise, but remove the trailing dots.
530
a2e57f89
JM
5312019-03-19 Joseph Myers <joseph@codesourcery.com>
532
533 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
534 macro.
535 (HWCAP_PACA): Likewise.
536 (HWCAP_PACG): Likewise.
537 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
538 Increase to 32.
539 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
540
e87d8ada
ST
5412019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
542
543 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
544 should be handled.
545
477e739b
JM
5462019-03-15 Joseph Myers <joseph@codesourcery.com>
547
548 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
549 version to 5.0.
550 (old_getpagesize): New syscall.
551
238d60a1
FY
5522019-03-15 Felix Yan <felixonmars@archlinux.org>
553
554 [BZ #24293]
555 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
556 * localedata/locales/cmn_TW (era): Likewise.
557 * localedata/locales/hak_TW (era): Likewise.
558 * localedata/locales/lzh_TW (era): Likewise.
559 * localedata/locales/nan_TW (era): Likewise.
560
a0a0dc83
FW
5612019-03-14 Florian Weimer <fweimer@redhat.com>
562
563 Remove obsolete, never-implemented XSI STREAMS declarations.
564 * manual/terminal.texi (Allocation): Remove portability note and
565 adjust example.
566 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
567 _SC_STREAMS.
568 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
569 * sysdeps/unix/inet/Subdirs (streams): Remove.
570 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
571 (conformtest-headers-UNIX98): Likewise.
572 (conformtest-headers-XOPEN2K): Likewise.
573 (conformtest-headers-POSIX2008): Likewise.
574 * posix/compat-streams.c: New file.
575 * posix/Makefile (routines): Add it.
576 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
577 getpmsg, isastream, putmsg, putpmsg.
578 (GLIBC_2.30): New section.
579 * bits/stropts.h: Remove file.
580 * bits/xtitypes.h: Likewise.
581 * conform/data/stropts.h-data: Likewise.
582 * include/stropts.h: Likewise.
583 * include/sys/stropts.h: Likewise.
584 * include/xtitypes.h: Likewise.
585 * streams/Makefile: Likewise.
586 * streams/fattach.c: Likewise.
587 * streams/fdetach.c: Likewise.
588 * streams/getmsg.c: Likewise.
589 * streams/getpmsg.c: Likewise.
590 * streams/isastream.c: Likewise.
591 * streams/putmsg.c: Likewise.
592 * streams/putpmsg.c: Likewise.
593 * streams/stropts.h: Likewise.
594 * streams/sys/stropts.h: Likewise.
595 * sysdeps/ia64/bits/xtitypes.h: Likewise.
596 * sysdeps/s390/bits/xtitypes.h: Likewise.
597 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
598 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
599 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
600 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
601 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
602 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
603 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
604 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
605 * sysdeps/x86/bits/xtitypes.h: Likewise.
606
081bdf94
FW
6072019-03-14 Florian Weimer <fweimer@redhat.com>
608
609 * nss/tst-nss-files-alias-truncated.c (do_test): Load
610 libnss_files.
611 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
612 but not with libnss_files.
613 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
614
97f8225d
ZW
6152019-03-14 Zack Weinberg <zackw@panix.com>
616
617 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
618 Specify encoding="utf-8" when opening headers to check.
619
0c1041ee
JM
6202019-03-13 Joseph Myers <joseph@codesourcery.com>
621
622 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
623 version to 5.0.
624 (Context.checkout_tar): Handle variable major version for Linux
625 kernel.
626
043440e7
FW
6272019-03-13 Florian Weimer <fweimer@redhat.com>
628
629 [BZ #24047]
630 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
631
29218b26
ZW
6322019-03-13 Zack Weinberg <zackw@panix.com>
633
634 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
635 Move to stdlib.
636 * include/inttypes.h: Adjust to match.
637 * include/stdint.h: New wrapper.
638
711a322a
ZW
6392019-03-13 Zack Weinberg <zackw@panix.com>
640
641 * scripts/check-obsolete-constructs.py: New test script.
642 * scripts/check-installed-headers.sh: Remove tests for
643 obsolete typedefs, superseded by check-obsolete-constructs.py.
644 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
645 as a special test. Update commentary.
646 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
647 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
648 Update commentary.
649 * posix/sys/types.h (__u_intN_t): Remove.
650 (u_int8_t): Typedef using __uint8_t.
651 (u_int16_t): Typedef using __uint16_t.
652 (u_int32_t): Typedef using __uint32_t.
653 (u_int64_t): Typedef using __uint64_t.
654
7c651308
SL
6552019-03-13 Stefan Liebler <stli@linux.ibm.com>
656
657 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
658 call _dl_procinfo.
659 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
660 Ignore types other than AT_HWCAP.
661 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
662 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
663 Likewise.
664 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
665 in the case of falling back to generic output mechanism.
666 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
667 Likewise.
668
38b52865
FW
6692019-03-12 Florian Weimer <fweimer@redhat.com>
670
671 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
672
08504de7
FW
6732019-03-12 Florian Weimer <fweimer@redhat.com>
674
675 [BZ #24047]
676 resolv: Enable full ICMP errors for UDP DNS sockets
677 * resolv/res_enable_icmp.c: New file.
678 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
679 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
680 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
681 socket.
682
5fbcd763
MH
6832019-03-11 Mao Han <han_mao@c-sky.com>
684
685 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
686 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
687
c4e5f34b
MH
6882019-03-11 Mao Han <han_mao@c-sky.com>
689
690 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
691 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
692 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
693
827e30f3
MH
6942019-03-11 Mao Han <han_mao@c-sky.com>
695
696 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
697 directly.
698 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
699 definition.
700
6229c9bf
MH
7012019-03-11 Mao Han <han_mao@c-sky.com>
702
703 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
704 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
705 in mcontext_t
706
86bdd49d
MF
7072019-03-08 Mike FABIAN <mfabian@redhat.com>
708
709 [BZ #24307]
710 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
711 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
712 Unicode 12.0.0.
713 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
714 * localedata/unicode-gen/PropList.txt: Likewise.
715 * localedata/unicode-gen/UnicodeData.txt: Likewise.
716 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
717 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
718 * localedata/charmaps/UTF-8: Regenerate.
719 * localedata/locales/i18n_ctype: Likewise.
720 * localedata/locales/tr_TR: Likewise.
721 * localedata/locales/translit_circle: Likewise.
722 * localedata/locales/translit_cjk_compat: Likewise.
723 * localedata/locales/translit_combining: Likewise.
724 * localedata/locales/translit_compat: Likewise.
725 * localedata/locales/translit_font: Likewise.
726 * localedata/locales/translit_fraction: Likewise.
727
c5f65462
JM
7282019-03-07 Joseph Myers <joseph@codesourcery.com>
729
730 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
731 than after operators.
732 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
733 (setitimer_locked): Likewise.
734 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
735 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
736 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
737 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
738 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
739 (PPC_CPU_SUPPORTED): Likewise.
740 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
741 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
742 (stat_overflow): Likewise.
743 (statfs_overflow): Likewise.
744 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
745 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
746 (eq_ttyname_r): Likewise.
747 (run_chroot_tests): Likewise.
748
27a2f2f3
FW
7492019-03-07 Florian Weimer <fweimer@redhat.com>
750
751 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
752 header check.
753
ae514971 7542019-03-07 Martin Liska <mliska@suse.cz>
755
756 * math/Makefile: Change location where math-vector-fortran.h is
757 installed.
758 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
759 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
760 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
761 * scripts/check-installed-headers.sh: Skip Fortran header files.
762 * scripts/check-wrapper-headers.py: Likewise.
763
0ddb7ea8
AZ
7642019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
765
766 * nptl/nptl-init.c (__have_futex_clock_realtime,
767 __have_futex_clock_realtime): Remove definition.
768 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
769 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
770 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
771 __ASSUME_FUTEX_CLOCK_REALTIME support.
772 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
773 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
774 * sysdeps/unix/sysv/linux/kernel-features.h
775 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
776 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
777 Adjust comment.
778
590675c0
GG
7792019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
780
781 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
782 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
783 __GI___wcscpy and wcscpy.
784
de71ee7b
FW
7852019-03-04 Florian Weimer <fweimer@redhat.com>
786
787 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
788 declaration.
789 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
790 defined.
791
ce6ddae0
SL
7922019-03-04 Stefan Liebler <stli@linux.ibm.com>
793
794 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
795 * sysdeps/s390/s390-32/sysdep.h: Likewise.
796
31efface
TS
7972019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
798
799 [BZ #24162]
800 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
801 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
802
f0eaf862
GG
8032019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
804
805 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
806 tests.
807 (do_test): Likewise.
808 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
809 (do_test_call_varg): Likewise.
810 (do_test_call_rarg): Likewise.
811 * sysdeps/ieee754/ldbl-opt/Makefile
812 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
813 tst-nldbl-error.
814 ($(objpfx)tst-nldbl-warn.c): New rule.
815 ($(objpfx)tst-nldbl-error.c): Likewise.
816 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
817 New variables.
818
d11086a9
GG
8192019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
820
821 [BZ #23984]
822 * include/bits/error-ldbl.h: New file.
823 * include/error.h: Include stdarg.h. Declare internal functions
824 __error_internal and __error_at_line_internal.
825 * misc/Makefile (headers): Add bits/error-ldbl.h.
826 * misc/bits/error-ldbl.h: New file.
827 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
828 avoid the inclusion of bits/error.h.
829 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
830 and __nldbl_error_at_line.
831 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
832 (__nldbl_error, __ndlbl_error_at_line): New functions.
833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
834 Redirect error and error_at_line.
835 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
837 Likewise.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
839 Likewise.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
841 Likewise.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
843 Likewise.
844 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
845 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
847
90188e7d
GG
8482019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
849
850 [BZ #23984]
851 * include/bits/err-ldbl.h: New file.
852 * include/err.h: Add prototypes for the internal functions:
853 __vwarnx_internal and __vwarn_internal.
854 * misc/Makefile (headers): Add bits/err-ldbl.h.
855 * misc/bits/err-ldbl.h: New file.
856 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
857 defined, i.e.: when -mlong-double-64 is in use.
858 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
859 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
860 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
861 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
862 (VA_CALL): New macro.
863 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
864 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
865 functions.
866 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
867 declare prototypes for the new functions.
868 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
870 Likewise.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
872 Likewise.
873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
874 Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
876 Likewise.
877 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
879 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
880
ea2d89d0
GG
8812019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
882
883 * sysdeps/ieee754/ldbl-opt/Makefile
884 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
885 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
886 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
887
6e1f6440
GG
8882019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
889
890 [BZ #23983]
891 * argp/Makefile (headers): Add bits/argp-ldbl.h.
892 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
893 * argp/bits/argp-ldbl.h: New file.
894 * include/argp.h: Include stdarg.h. Add prototypes for internal
895 functions: __argp_error_internal and __argp_failure_internal.
896 * include/bits/argp-ldbl.h: New file.
897 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
898 __nldbl_argp_error and __nldbl_argp_failure.
899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
900 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
901 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
902 Redirect argp_error and argp_failure calls.
903 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
905 Likewise.
906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
907 Likewise.
908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
909 Likewise.
910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
911 Likewise.
912 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
913 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
914 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
915
c259196b
FW
9162019-03-01 Florian Weimer <fweimer@redhat.com>
917
918 [BZ #20419]
919 * elf/tst-big-note-lib.S: Create a syntactically valid note.
920 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
921 code, to avoid creating an ABI tag note.
922 (modules-names-nobuild): Add tst-big-note-lib.
923
928b305d
SL
9242019-03-01 Stefan Liebler <stli@linux.ibm.com>
925
926 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
927 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
928
36f30c10
FW
9292019-03-01 Florian Weimer <fweimer@redhat.com>
930
931 [BZ #20271]
932 * sysdeps/unix/sysv/linux/netlink_assert_response.c
933 (__netlink_assert_response): Add additional missing newlines.
934
462e83a4
JM
9352019-02-28 Joseph Myers <joseph@codesourcery.com>
936
937 * sysdeps/powerpc/powerpc32/dl-machine.c
938 (__elf_machine_fixup_plt): Use space before '('.
939 (__process_machine_rela): Likewise.
940 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
941 Likewise.
942 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
943 Likewise.
944 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
945 Likewise.
946 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
947 (pattern): Likewise.
948 (delta): Likewise.
949 (check_result): Likewise.
950 (check_excepts): Likewise.
951 (check_op): Likewise.
952 (fail_xr): Likewise.
953 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
954 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
955 (SCNHSZ): Likewise.
956 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
957 Likewise.
958 (ARGS): Likewise.
959 (__makecontext): Likewise.
960 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
961 Likewise.
962
cc3e573c
FW
9632019-02-28 Florian Weimer <fweimer@redhat.com>
964
965 [BZ #23937]
966 elf: Add test with a local IFUNC resolver.
967 * elf/ifuncmain9.c: New file.
968 * elf/ifuncmain9pic.c: Likewise.
969 * elf/ifuncmain9picstatic.c: Likewise.
970 * elf/ifuncmain9pie.c: Likewise.
971 * elf/ifuncmain9static.c: Likewise.
972 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
973 ifuncmain9static, ifuncmain9picstatic.
974 * elf/Makefile [multi-arch && build-shared] (tests-internal):
975 Add ifuncmain9, ifuncmain9pic.
976 * elf/Makefile [multi-arch && build-shared && have-fpie]
977 (ifunc-pie-tests): Add ifuncmain9pie.
978 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
979 (CFLAGS-ifuncmain9picstatic.c): Likewise.
980 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
981
92ad88fe
L
9822019-02-27 H.J. Lu <hongjiu.lu@intel.com>
983
984 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
985 * configure: Regenerated.
986 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
987
6bd4d02e
AZ
9882019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
989
990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
991 symbol as __wcspcy instead of wcscpy.
992
1b218417
ST
9932019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
994
995 * include/stdio.h (__renameat2): New hidden prototype.
996 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
997 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
998 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
999 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1000
c4f50205
JM
10012019-02-27 Joseph Myers <joseph@codesourcery.com>
1002
f627dd4d
JM
1003 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1004 if statement.
1005
c4f50205
JM
1006 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1007 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1008 * benchtests/bench-strlen.c (do_test): Likewise.
1009 (test_main): Likewise.
1010 * catgets/gencat.c (read_old): Likewise.
1011 * elf/cache.c (load_aux_cache): Likewise.
1012 * iconvdata/bug-iconv8.c (do_test): Likewise.
1013 * math/test-tgmath-ret.c (do_test): Likewise.
1014 * nis/nis_call.c (rec_dirsearch): Likewise.
1015 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1016 * nptl/tst-audit-threads.c (do_test): Likewise.
1017 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1018 * nss/nss_test1.c (init): Likewise.
1019 * nss/test-netdb.c (test_hosts): Likewise.
1020 * posix/execvpe.c (maybe_script_execute): Likewise.
1021 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1022 * stdio-common/tst-printf.c (do_test): Likewise.
1023 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1024 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1025 * stdlib/qsort.c (STACK_SIZE): Likewise.
1026 * stdlib/test-canon.c (do_test): Likewise.
1027 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1028 * string/memcmp.c (OPSIZ): Likewise.
1029 * string/test-strcpy.c (do_test): Likewise.
1030 (do_random_tests): Likewise.
1031 * string/test-strlen.c (do_test): Likewise.
1032 (test_main): Likewise.
1033 * string/test-strrchr.c (do_test): Likewise.
1034 (do_random_tests): Likewise.
1035 * string/tester.c (test_memrchr): Likewise.
1036 (test_memchr): Likewise.
1037 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1038 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1039 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1040 (read_encoded_value_with_base): Likewise.
1041 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1042 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1043 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1044 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1045 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1046 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1047 Likewise.
1048 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1049 Likewise.
1050 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1051 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1052 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1053 Likewise.
1054 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1055 Likewise.
1056 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1057 Likewise.
1058 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1059 Likewise.
1060 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1061 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1062 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1063 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1064 * time/test_time.c (main): Likewise.
1065
7b3fb620
AZ
10662019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1067
457208b1
AZ
1068 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1069
30a7e208
AZ
1070 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1071 wmemcpy.
1072
ddf21ec7
AZ
1073 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1074 wmemcpy.
1075
4d801563
AZ
1076 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1077
81a14439
AZ
1078 * include/wchar.h (__wcscpy): New prototype.
1079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1080 (__wcscpy): Route internal symbol to generic implementation.
1081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1082 Add internal __wcscpy alias.
1083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1084 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1085 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1086 * wcsmbs/wcscpy.c (wcscpy): Add
1087 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1088 use generic implementation.
1089 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1090
39ef0744
AZ
1091 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1092 wmemset.
1093
7b3fb620
AZ
1094 * sysdeps/m68k/wcpcpy.c: Remove file.
1095 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1096
e0cb7b61
JM
10972019-02-26 Joseph Myers <joseph@codesourcery.com>
1098
aa0e4663
JM
1099 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1100 than after operators.
1101 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1102 * sysdeps/mach/hurd/getcwd.c
1103 (__hurd_canonicalize_directory_name_internal): Likewise.
1104 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1105 (pthread_mutex_consistent): Likewise.
1106 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1107 Likewise.
1108 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1109 (__pthread_mutex_transfer_np): Likewise.
1110 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1111 (__pthread_mutex_unlock): Likewise.
1112 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1113 (mtx_owned_p): Likewise.
1114 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1115 (pthread_mutexattr_getrobust): Likewise.
1116 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1117 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1118 Likewise.
1119 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1120 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1121 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1122 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1123 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1124 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1125 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1126 Likewise.
1127 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1128 Likewise.
1129 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1130 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1131 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1132 (____longjmp_chk): Likewise.
1133 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1134 Likewise.
1135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1136 (INTERNAL_SYSCALL): Likewise.
1137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1138 (INTERNAL_SYSCALL): Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1140 (__get_clockfreq_via_cpuinfo): Likewise.
1141
e0cb7b61
JM
1142 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1143 comments.
1144 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1145 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1146 (WORD_COPY_BWD): Likewise.
1147 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1148 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1149 Likewise.
1150 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1151 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1152 comment.
1153 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1154
a04549c1
JM
11552019-02-25 Joseph Myers <joseph@codesourcery.com>
1156
1157 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1158 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1159 rather than after operators.
1160 * elf/cache.c (print_cache): Likewise.
1161 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1162 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1163 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1164 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1165 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1166 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1167 (reauth_proc): Likewise.
1168 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1169 (__file_name_split_at): Likewise.
1170 (__directory_name_split_at): Likewise.
1171 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1172 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1173 * iconv/gconv_dl.c (do_print): Likewise.
1174 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1175 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1176 * locale/setlocale.c (new_composite_name): Likewise.
1177 * malloc/memusagestat.c (main): Likewise.
1178 * misc/fstab.c (fstab_convert): Likewise.
1179 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1180 Likewise.
1181 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1182 (getgrent_next_file): Likewise.
1183 (internal_getgrnam_r): Likewise.
1184 (internal_getgrgid_r): Likewise.
1185 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1186 Likewise.
1187 (internal_getgrent_r): Likewise.
1188 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1189 (getpwent_next_nss): Likewise.
1190 (getpwent_next_file): Likewise.
1191 (internal_getpwnam_r): Likewise.
1192 (internal_getpwuid_r): Likewise.
1193 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1194 Likewise.
1195 (getspent_next_nss): Likewise.
1196 (internal_getspnam_r): Likewise.
1197 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1198 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1199 * string/strchr.c (STRCHR): Likewise.
1200 * string/strchrnul.c (STRCHRNUL): Likewise.
1201 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1202 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1203 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1204 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1205 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1206 Likewise.
1207 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1208 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1209 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1210 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1211 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1212 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1213 (open_file): Likewise.
1214 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1215 (pthread_mutexattr_setprotocol): Likewise.
1216 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1217 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1218 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1219 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1220 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1221 Likewise.
1222 (elf_machine_rela): Likewise.
1223 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1224 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1225 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1226 * sysdeps/posix/rename.c (rename): Likewise.
1227 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1228 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1229 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1230 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1231 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1232 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1233 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1234 Likewise.
1235 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1236 Likewise.
1237 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1238 * time/tzfile.c (__tzfile_compute): Likewise.
1239
34a5a146
JM
12402019-02-22 Joseph Myers <joseph@codesourcery.com>
1241
1242 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1243 rather than after operators.
1244 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1245 * crypt/md5.c (md5_finish_ctx): Likewise.
1246 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1247 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1248 * elf/cache.c (load_aux_cache): Likewise.
1249 * elf/dl-load.c (open_verify): Likewise.
1250 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1251 * elf/readelflib.c (process_elf_file): Likewise.
1252 * elf/rtld.c (dl_main): Likewise.
1253 * elf/sprof.c (generate_call_graph): Likewise.
1254 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1255 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1256 * hurd/dtable.c (reauth_dtable): Likewise.
1257 * hurd/getdport.c (__getdport): Likewise.
1258 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1259 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1260 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1261 Likewise.
1262 * hurd/hurdioctl.c (fioctl): Likewise.
1263 * hurd/hurdselect.c (_hurd_select): Likewise.
1264 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1265 (STOPSIGS): Likewise.
1266 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1267 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1268 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1269 * hurd/msgportdemux.c (msgport_server): Likewise.
1270 * hurd/setauth.c (_hurd_setauth): Likewise.
1271 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1272 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1273 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1274 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1275 * login/tst-utmp.c (do_check): Likewise.
1276 (simulate_login): Likewise.
1277 * mach/lowlevellock.h (lll_lock): Likewise.
1278 (lll_trylock): Likewise.
1279 * math/test-fenv.c (ALL_EXC): Likewise.
1280 * math/test-fenvinline.c (ALL_EXC): Likewise.
1281 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1282 * nis/nis_call.c (__do_niscall3): Likewise.
1283 * nis/nis_callback.c (cb_prog_1): Likewise.
1284 * nis/nis_defaults.c (searchaccess): Likewise.
1285 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1286 * nis/nis_ismember.c (internal_ismember): Likewise.
1287 * nis/nis_local_names.c (nis_local_principal): Likewise.
1288 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1289 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1290 Likewise.
1291 * nis/ypclnt.c (yp_match): Likewise.
1292 (yp_first): Likewise.
1293 (yp_next): Likewise.
1294 (yp_master): Likewise.
1295 (yp_order): Likewise.
1296 * nscd/hstcache.c (cache_addhst): Likewise.
1297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1298 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1299 (internal_getpwuid_r): Likewise.
1300 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1301 * posix/glob.h (__GLOB_FLAGS): Likewise.
1302 * posix/regcomp.c (peek_token): Likewise.
1303 (peek_token_bracket): Likewise.
1304 (parse_expression): Likewise.
1305 * posix/regexec.c (sift_states_iter_mb): Likewise.
1306 (check_node_accept_bytes): Likewise.
1307 * posix/tst-spawn3.c (do_test): Likewise.
1308 * posix/wordexp-test.c (testit): Likewise.
1309 * posix/wordexp.c (parse_tilde): Likewise.
1310 (exec_comm): Likewise.
1311 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1312 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1313 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1314 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1315 * stdio-common/tst-fileno.c (do_test): Likewise.
1316 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1317 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1318 * stdlib/strtod_l.c (round_and_return): Likewise.
1319 (____STRTOF_INTERNAL): Likewise.
1320 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1321 * string/strcspn.c (STRCSPN): Likewise.
1322 * string/test-memmem.c (simple_memmem): Likewise.
1323 * termios/tcsetattr.c (tcsetattr): Likewise.
1324 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1325 * time/asctime.c (asctime_internal): Likewise.
1326 * time/strptime_l.c (__strptime_internal): Likewise.
1327 * time/sys/time.h (timercmp): Likewise.
1328 * time/tzfile.c (__tzfile_compute): Likewise.
1329
b0b50fe0
PF
13302019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1331
b39d961c
TS
1332 [BZ #21915]
1333 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 1334
f43b8dd5
GG
13352019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1336
1337 * argp/argp-help.c (__argp_error_internal): New function,
1338 renamed from __argp_error, but that takes a 'mode_flags'
1339 parameter to control the format of long double parameters.
1340 (__argp_error): Converted into a call __argp_error_internal.
1341 (__argp_failure_internal): New function, renamed from
1342 __argp_failure, but that takes a 'mode_flags' parameter.
1343 (__argp_failure): Converted into a call __argp_failure_internal.
1344 * misc/err.c (__vwarnx_internal): New function, renamed from
1345 vwarnx, but that takes a 'mode_flags' parameter.
1346 (vwarnx): Converted into a call to __vwarnx_internal.
1347 (__vwarn_internal): New function, renamed from vwarn, but that
1348 takes a 'mode_flags' parameter.
1349 (vwarn): Converted into a call to __vwarn_internal.
1350 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1351 call to __vfxprintf with 'mode_flags'.
1352 (__error_internal): New function, renamed from error, but that
1353 takes a 'mode_flags' parameter.
1354 (error): Converted into a call to __error_internal.
1355 (__error_at_line_internal): New function, renamed from
1356 error_at_line, but that takes a 'mode_flags' parameter.
1357 (error_at_line): Converted into a call to
1358 __error_at_line_internal.
1359 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1360 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1361 Likewise.
1362
dc0afac3 13632019-02-20 Martin Liska <mliska@suse.cz>
1364
1365 * math/Makefile: Install math-vector-fortran.h.
1366 * bits/math-vector-fortran.h: New file.
1367 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1368
4a2dd41c
GG
13692019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1370
1371 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1372 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1373
04de9302
WS
13742019-02-19 Wolfram Sang <wsa@the-dreams.de>
1375
1376 * nptl/pthread_mutex_trylock.c: Fix comment.
1377
b026ce1e
CD
13782019-02-19 Carlos O'Donell <carlos@redhat.com>
1379
1380 * nptl/pthread_tryjoin.c: Fix comment.
1381
8c9289b6
JM
13822019-02-18 Joseph Myers <joseph@codesourcery.com>
1383
1384 [BZ #24231]
1385 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1386 after R_SPARC_H34 case.
1387
308e022f
FW
13882019-02-18 Florian Weimer <fweimer@redhat.com>
1389
1390 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1391 (getanswer): Do not call Dprintf.
1392 (res_gethostbyname2_context): Likewise.
1393 (res_gethostbyaddr_context): Likewise.
1394
a5406364
FW
13952019-02-18 Florian Weimer <fweimer@redhat.com>
1396
1397 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1398 declaration.
1399 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1400 Remove definitions.
1401 * libio/stdfiles.c: Update comment.
1402 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1403 set _IO_stdin, _IO_stdout, _IO_stderr.
1404 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1405 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1406 inline function.
1407 (_IO_deallocate_file): New inline function.
1408 * libio/iolibio.h (_IO_vprintf): Remove definition.
1409 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1410 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1411 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1412 _IO_legacy_file.
1413 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1414 __builtin_expect. Use _IO_legacy_file.
1415
6c29942c
SL
14162019-02-18 Stefan Liebler <stli@linux.ibm.com>
1417
1418 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1419 Initialize ctid with a known value and remove update of ctid
1420 after clone.
1421 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1422 as assumed current value of ctid_ptr.
1423
225d9445 14242019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
1425
1426 Check that non-sysdeps headers have wrapper headers.
1427 * scripts/check-wrapper-headers.py: New file.
1428 * Makefile (tests-special): Add check-wrapper-headers.out.
1429 (check-wrapper-headers.out): New target.
1430 * Rules (tests-special): Add check-wrapper-headers.out.
1431 (check-wrapper-headers.out): New target.
1432
225d9445 14332019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
1434
1435 Add missing header wrappers under include/.
1436 * include/ar.h: New file.
1437 * include/bits/mqueue2.h: Likewise.
1438 * include/bits/stdio.h: Likewise.
1439 * include/bits/stdio2.h: Likewise.
1440 * include/fstab.h: Likewise.
1441 * include/fts.h: Likewise.
1442 * include/lastlog.h: Likewise.
1443 * include/netinet/icmp6.h: Likewise.
1444 * include/netinet/igmp.h: Likewise.
1445 * include/netinet/ip6.h: Likewise.
1446 * include/re_comp.h: Likewise.
1447 * include/regexp.h: Likewise.
1448 * include/rpcsvc/bootparam.h: Likewise.
1449 * include/rpcsvc/yp_prot.h: Likewise.
1450 * include/sys/random.h: Likewise.
1451 * include/sys/stropts.h: Likewise.
1452 * include/sys/ttychars.h: Likewise.
1453 * include/sys/vfs.h: Likewise.
1454 * include/wait.h: Likewise.
1455
225d9445 14562019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
1457
1458 * nptl_db/proc_service.h: Move to ...
1459 * sysdeps/nptl/proc_service.h: ... here.
1460 * nptl_db/thread_db.h: Move to ...
1461 * sysdeps/nptl/thread_db.h: ... here.
1462 * nptl/descr.h: Include <thread_db.h>.
1463
e442e40d
AZ
14642019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1465
1466 * io/Makefile (tests): Add tst-lockf.
1467 * io/lockf.c (lockf): Use __fcntl and only define for
1468 !__OFF_T_MATCHES_OFF64_T.
1469 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1470 __OFF_T_MATCHES_OFF64_T case.
1471 * io/tst-lockf.c: New file.
1472 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1473 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1474 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1475 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1476 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1479 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1480 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1481
bc10e22c
FW
14822019-02-15 Florian Weimer <fweimer@redhat.com>
1483
1484 [BZ #24211]
1485 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1486 pd->result after the thread descriptor has been freed.
1487
365f05c7
JM
14882019-02-15 Joseph Myers <joseph@codesourcery.com>
1489
8a11f970
JM
1490 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1491 from function return type.
1492
365f05c7
JM
1493 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1494
6b5c8607 14952019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
1496
1497 * scripts/test_printers_common.py: Set TERM to a known harmless
1498 value.
1499
712182c8
JM
15002019-02-14 Joseph Myers <joseph@codesourcery.com>
1501
1502 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1503 (xdr_u_int): Likewise.
1504 (xdr_enum): Likewise.
1505 (xdr_bytes): Reword fall-through comment.
1506 (xdr_string): Likewise.
1507
eb76e5b4
AZ
15082019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1509
1510 [BZ #2421]
1511 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1512 (tests): Add tst-join8 tst-join9.
1513 * nptl/lll_timedwait_tid.c: Remove file.
1514 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1515 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1516 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1517 * nptl/pthread_join_common.c (timedwait_tid): New function.
1518 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1519 is set.
1520 * nptl/tst-join5.c (thread_join): New function.
1521 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1522 check.
1523 * nptl/tst-join8.c: New file.
1524 * nptl/tst-join9.c: Likewise.
1525 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1526 lll_futex_timed_wait_cancel): Add generic macros.
1527 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1528 Remove definitions.
1529 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1530 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1531 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1532 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1533 Remove function.
1534 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1535 Likewise.
1536 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1537 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1538 (lll_futex_timed_wait_cancel): New macro.
1539
3904fd85
WD
15402019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1541
1542 * benchtests/Makefile: Add malloc-simple benchmark.
1543 * benchtests/bench-malloc-simple.c: New benchmark.
1544
24ca04fe
SP
15452019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1546
1547 * benchtests/bench-memmove.c (do_one_test): Remove unused
1548 ORIG_SRC.
1549 (do_test): Adjust.
1550 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1551 ORIG_SRC.
1552 (do_test): Adjust.
1553
85bd1ddb
JW
15542019-01-13 Jim Wilson <jimw@sifive.com>
1555
1556 [BZ #24040]
1557 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1558 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1559 (func): New.
1560 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1561 call func directly.
1562 * nptl/Makefile (tests): Add tst-unwind-thread.
1563 (CFLAGS-tst-unwind-thread.c): Define.
1564 * nptl/tst-unwind-thread.c: New file.
1565 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1566 as undefined.
1567
86140c62
JM
15682019-02-13 Joseph Myers <joseph@codesourcery.com>
1569
10756268
JM
1570 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1571 comment wording.
1572 * nis/nis_call.c (__do_niscall3): Likewise.
1573
05383720
JM
1574 * catgets/gencat.c (normalize_line): Use braces around empty
1575 'else' body.
1576 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1577 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1578 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1579 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1580 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1581 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1582 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1583 definition.
1584
86140c62
JM
1585 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1586 execlp returns.
1587
16f87cfd
WD
15882019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1589
1590 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1591 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1592 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1593 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1594 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1595 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1596 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1597 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1598 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1599 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1600 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1601 * benchtests/bench-bcopy.c: Delete file.
1602 * benchtests/bench-bzero.c: Likewise.
1603 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1604 (simple_memccpy): Remove.
1605 (generic_memccpy): Add function.
1606 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1607 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1608 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1609 (generic_mempcpy): Add new function.
1610 * benchtests/bench-memset.c (simple_bzero): Remove.
1611 (builtin_bzero): Remove.
1612 (builtin_memset): Remove.
1613 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1614 (generic_rawmemchr): Add new function.
1615
0c6d82e9
FW
16162019-02-12 Florian Weimer <fweimer@redhat.com>
1617
1618 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1619
b3fbfe81
AZ
16202019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1621
1622 [BZ #24122]
1623 * elf/Makefile (tests): Add tst-audit13.
1624 (modules-names): Add tst-audit13mod1.
1625 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1626 rule.
1627 * elf/tst-audit13.c: New file.
1628 * elf/tst-audit13mod1.c: Likewise.
1629
3b856d09
FW
16302019-02-12 Florian Weimer <fweimer@redhat.com>
1631
1632 [BZ #24122]
1633 * elf/rtld.c (unload_audit_module): New function.
1634 (report_audit_module_load_error): Likewise.
1635 (load_audit_module): Likewise. Extracted from dl_main. Call
1636 _dl_close if the laversion symbol cannot be found. Use early
1637 returns for error handling. Add malloc error check. Check for a
1638 zero return value from la_version. Remove spurious comment about
1639 static TLS initialization. Remove useless casts.
1640 (notify_audit_modules_of_loaded_object): New function. Extracted
1641 from dl_main.
1642 (load_audit_module): Likewise.
1643 (dl_main): Call load_audit_modules.
1644
32db86d5
JM
16452019-02-12 Joseph Myers <joseph@codesourcery.com>
1646
1647 * elf/dl-exception.c (_dl_exception_create_format): Add
1648 fall-through comments.
1649 * elf/ldconfig.c (parse_conf_include): Likewise.
1650 * elf/rtld.c (print_statistics): Likewise.
1651 * locale/programs/charmap.c (parse_charmap): Likewise.
1652 * misc/mntent_r.c (__getmntent_r): Likewise.
1653 * posix/wordexp.c (parse_arith): Likewise.
1654 (parse_backtick): Likewise.
1655 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1656 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1658
a51bc4fe
PC
16592019-02-11 Paul A. Clarke <pc@us.ibm.com>
1660
1661 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1662 Use float instead of double.
1663
fb25b135
TS
16642019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1665
1666 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1667
32ea7299
JM
16682019-02-08 Joseph Myers <joseph@codesourcery.com>
1669
1670 * sysdeps/powerpc/bits/mathinline.h: Remove.
1671
eef4d4f8
FW
16722019-02-08 Florian Weimer <fweimer@redhat.com>
1673
1674 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1675 * math/bits/math-finite.h: Move to ...
1676 * bits/math-finite.h: ... here.
1677
fdfbd47d
FW
16782019-02-08 Florian Weimer <fweimer@redhat.com>
1679
1680 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1681 * bits/unistd_ext.h: here.
1682
11eb21c4
PF
16832019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1684
1685 [BZ #21915]
1686 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1687 * nss/tst-nss-files-hosts-long.c: New file.
1688 * nss/tst-nss-files-hosts-long.root: New directory.
1689 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1690 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1691
e47d82c9
FW
16922019-02-08 Florian Weimer <fweimer@redhat.com>
1693
1694 * include/bits/unistd_ext.h: Remove file.
1695 * posix/bits/unistd_ext.h: Move to ...
1696 * sysdeps/generic/bits/unistd_ext.h: ... here.
1697
8f89ab21
FW
16982019-02-08 Florian Weimer <fweimer@redhat.com>
1699
1700 * include/bits/unistd_ext.h: New file.
1701
144a794e
TS
17022019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1703
1704 * time/tst-strftime2.c: Use array_length macros instead of magic
1705 numbers.
1706
669ff911
FW
17072019-02-08 Florian Weimer <fweimer@redhat.com>
1708
1709 [BZ #24161]
1710 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1711 argument.
1712 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1713 locking if the new do_locking argument is true.
1714 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1715 __run_fork_handlers.
1716
d0bd87d4 17172019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
1718
1719 [BZ #6399]
1720 Linux: Add gettid system call wrapper.
1721 * posix/Makefile (headers): Add bits/unistd_ext.h.
1722 * posix/bits/unistd_ext.h: New file.
1723 * posix/unistd.h: Include it.
1724 * manual/process.texi (Process Identification): Document gettid.
1725 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1726 tst-gettid, tst-gettid-kill.
1727 (tst-gettid): Link with $(shared-thread-library).
1728 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1729 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1730 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1731 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1732 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1733 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1734 Add gettid.
1735 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1736 Likewise.
1737 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1738 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1739 Likewise.
1740 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1741 Likewise.
1742 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1743 Likewise.
1744 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1745 Likewise.
1746 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1747 Likewise.
1748 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1749 Likewise.
1750 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1751 Likewise.
1752 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1753 (GLIBC_2.30): Likewise.
1754 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1755 (GLIBC_2.30): Likewise.
1756 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1757 (GLIBC_2.30): Likewise.
1758 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1759 (GLIBC_2.30): Likewise.
1760 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1761 Likewise.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1763 (GLIBC_2.30): Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1765 (GLIBC_2.30): Likewise.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1767 (GLIBC_2.30): Likewise.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1769 (GLIBC_2.30): Likewise.
1770 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1771 Likewise.
1772 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1773 Likewise.
1774 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1775 Likewise.
1776 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1777 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1780 Likewise.
1781 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1782 Likewise.
1783 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1784 Likewise.
1785 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1786
225d9445 17872019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
1788
1789 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1790 compatibility symbols.
1791
823624bd
SL
17922019-02-07 Stefan Liebler <stli@linux.ibm.com>
1793
1794 [BZ #24180]
1795 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1796 Add compiler barriers and comments.
1797
8311c83f
FW
17982019-02-07 Florian Weimer <fweimer@redhat.com>
1799
1800 * include/array_length.h (array_length): Do not use a statement
1801 expression and _Static_assert, so that array_length can be used at
1802 file scope and as a constant expression.
1803
94b63e66
FW
18042019-02-07 Florian Weimer <fweimer@redhat.com>
1805
1806 * support/xdlfcn.h (xdlmopen): Declare.
1807 * support/xdlmopen.c: New file.
1808 * support/Makefile (libsupport-routines): Add xdlmopen.
1809
c2d8f0b7
JM
18102019-02-06 Joseph Myers <joseph@codesourcery.com>
1811
1812 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1813 before return type, without separate inline.
1814 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1815 * elf/dl-tunables.h (tunable_is_name): Likewise.
1816 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1817 (do_set_top_pad): Likewise.
1818 (do_set_mmap_threshold): Likewise.
1819 (do_set_mmaps_max): Likewise.
1820 (do_set_mallopt_check): Likewise.
1821 (do_set_perturb_byte): Likewise.
1822 (do_set_arena_test): Likewise.
1823 (do_set_arena_max): Likewise.
1824 (do_set_tcache_max): Likewise.
1825 (do_set_tcache_count): Likewise.
1826 (do_set_tcache_unsorted_limit): Likewise.
1827 * nis/nis_subr.c (count_dots): Likewise.
1828 * nptl/allocatestack.c (advise_stack_range): Likewise.
1829 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1830 (do_sin): Likewise.
1831 (reduce_sincos): Likewise.
1832 (do_sincos): Likewise.
1833 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1834 (do_set_elision_enable): Likewise.
1835 (TUNABLE_CALLBACK_FNDECL): Likewise.
1836
3b935595
FW
18372019-02-06 Florian Weimer <fweimer@redhat.com>
1838
1839 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1840 (xdlsym): Use dlerror to detect a NULL symbol.
1841
b4333340
FW
18422019-02-06 Florian Weimer <fweimer@redhat.com>
1843
1844 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1845 <stap-probe.h>.
1846 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1847
b6d8a999
SL
18482019-02-06 Stefan Liebler <stli@linux.ibm.com>
1849
1850 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1851
94eeeec0
SL
18522019-02-06 Stefan Liebler <stli@linux.ibm.com>
1853
1854 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1855 __wmemcmp and weak alias to wmemcmp.
1856
bc79db3f
SL
18572019-02-06 Stefan Liebler <stli@linux.ibm.com>
1858
1859 [BZ #23403]
1860 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1861 TLS_TCB_AT_TP tls variant.
1862 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1863 Add alignment checks.
1864 * support/Makefile (libsupport-routines): Add xposix_memalign and
1865 xpthread_setstack.
1866 * support/support.h: Add xposix_memalign.
1867 * support/xthread.h: Add xpthread_attr_setstack.
1868 * support/xposix_memalign.c: New File.
1869 * support/xpthread_attr_setstack.c: Likewise.
1870
f1ac7455
FW
18712019-02-05 Florian Weimer <fweimer@redhat.com>
1872
1873 [BZ #24164]
1874 arm: Use "nr" constraint for Systemtap probes, to avoid the
1875 compiler using memory operands for constants, due to the "o"
1876 alternative in the default "nor" constraint.
1877 * include/stap-probe.h [USE_STAP_PROBE]: Include
1878 <stap-probe-machine.h>
1879 * sysdeps/generic/stap-probe-machine.h: New file.
1880 * sysdeps/arm/stap-probe-machine.h: Likewise.
1881
7a0dcfc6
JM
18822019-02-04 Joseph Myers <joseph@codesourcery.com>
1883
77dc0d86
JM
1884 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1885 with 0, not tcache->entries[tc_idx].
1886
7a0dcfc6
JM
1887 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1888 once.
1889
65f7767a
AS
18902019-02-04 Andreas Schwab <schwab@suse.de>
1891
1892 [BZ #16976]
1893 [BZ #17396]
1894 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1895 looking up collating elements match against (wide) character
1896 sequence instead of name. Correct alignment adjustment.
1897 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1898 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1899 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1900 (LOCALES): Add cs_CZ.ISO-8859-2.
1901 * posix/tst-fnmatch4.c: New file.
1902 * posix/tst-fnmatch5.c: New file.
1903 * include/wchar.h (__wmemcmp): Declare.
1904 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1905 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1906 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1907 * sysdeps/s390/wmemcmp.c: Likewise.
1908
3f635fb4
L
19092019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1910
1911 [BZ #24155]
1912 CVE-2019-7309
1913 * NEWS: Updated for CVE-2019-7309.
1914 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1915 upper 32 bits of RDX register for x32. Use unsigned Jcc
1916 instructions, instead of signed.
1917 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1918 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1919
2ab5741b
FW
19202019-02-04 Florian Weimer <fweimer@redhat.com>
1921
1922 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1923 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1924 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1925 Likewise.
1926 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1927 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1928 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1929 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1930 Likewise.
1931 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1932 Likewise.
1933 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1934 Likewise.
1935 (posix_spawn_file_actions_addopen): Likewise.
1936 (posix_spawn_file_actions_addclose): Likewise.
1937 (posix_spawn_file_actions_adddup2): Likewise.
1938 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1939 qualifiers.
1940 (posix_spawn_file_actions_addfchdir_np): Likewise.
1941
8692ebdb
DN
19422019-02-04 David Newall <glibc@davidnewall.com>
1943
1944 elf: Implement --preload option for the dynamic linker.
1945 * elf/rtld.c (preloadarg): New variable.
1946 (handle_preload_list): Pass through “where” argument to
1947 do_preload.
1948 (dl_main): Handle "--preload" and add second call to
1949 handle_preload_list.
1950 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1951 (tst-rtld-preload-OBJS): Set variable.
1952 (tst-rtld-preload.out): New target.
1953 * elf/tst-rtld-preload.sh: New file.
1954
5e10136b
MM
19552019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1956
1957 * Makefile (testrun.sh): Exit in case of incorrect argument.
1958
221baae0
FW
19592019-02-04 Florian Weimer <fweimer@redhat.com>
1960
1961 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1962 alignment gaps.
1963
b8c72381
FW
19642019-02-03 Florian Weimer <fweimer@redhat.com>
1965
1966 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1967 implicit overflow checks.
1968
11f382ee
AJ
19692019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1970
1971 * stdlib/isomac.c: Include <unistd.h>.
1972
77c7d55e
FW
19732019-02-03 Florian Weimer <fweimer@redhat.com>
1974
1975 * include/time.h (__tzfile_default): Use int, not long int, for
1976 the GMT offsets.
1977 * time/tzfile.c (struct ttinfo): Change type of the offset member
1978 to int.
1979 (__tzfile_read): Remove useless cast.
1980 (__tzfile_default): Adjust prototype.
1981 * time/tzset.c (tz_rule): Change type of the offset member to int.
1982 (parse_offset): Change the type of the sign variable to int.
1983
ee9941f9
FW
19842019-02-03 Florian Weimer <fweimer@redhat.com>
1985
1986 [BZ #24153]
1987 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1988 * libio/getchar.c (getchar): Likewise.
1989 * libio/getchar_u.c (getchar_unlocked): Likewise.
1990 * libio/getwchar.c (getwchar): Likewise.
1991 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1992 * libio/iogets.c (_IO_gets): Likewise.
1993 * libio/vscanf.c (_IO_vscanf): Likewise.
1994 * libio/vwscanf.c (__vwscanf): Likewise.
1995 * libio/tst-bz24153.c: New file.
1996 * libio/Makefile (tests): Add it.
1997
c70824b9
FW
19982019-02-02 Florian Weimer <fweimer@redhat.com>
1999
2000 [BZ #14829]
2001 * manual/resource.texi (Basic Scheduling Functions): Add
2002 portability note. Change process to task throughout the section.
2003 Remove incorrect comment about sched_yield as it affects
2004 tasks/threads, not entire processes.
2005 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2006 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2007
4dcbbc3b
JM
20082019-02-01 Joseph Myers <joseph@codesourcery.com>
2009
2010 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2011 * configure: Regenerated.
2012 * manual/install.texi (Tools for Compilation): Update minimum GCC
2013 version.
2014 * INSTALL: Regenerated.
2015
6175507c
FW
20162019-02-01 Florian Weimer <fweimer@redhat.com>
2017
2018 * support/support_test_compare_string.c
2019 (support_test_compare_string): Use "string" in error message.
2020 * support/tst-test_compare_string.c (do_test): Adjust.
2021
baef1943
FW
20222019-02-01 Florian Weimer <fweimer@redhat.com>
2023
2024 * support/support_format_address_family.c
2025 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2026
395599f0
FW
20272019-02-01 Florian Weimer <fweimer@redhat.com>
2028
2029 * manual/socket.texi (Internet Address Formats): Clarify the byte
2030 order of struct sockaddr_in, struct sockaddr_in6. Document
2031 sin6_flowinfo and sin6_scope_id.
2032
b06f4c00
WD
20332019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2034
2035 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2036 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2037 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2038 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2039 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2040 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2041
83d1cc42
FX
20422019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2043
2044 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2045 [!MEMCHR](MEMCHR): Set to __memchr.
2046 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2047 Add memchr_generic and memchr_nosimd.
2048 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2049 (__libc_ifunc_impl_list): Add memchr ifuncs.
2050 * sysdeps/aarch64/multiarch/memchr.c: New file.
2051 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2052 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2053
c7d3890f
FX
20542019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2055
2056 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2057 Add memset_emag.
2058 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2059 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2060 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2061 Add IS_EMAG check for ifunc dispatch.
2062 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2063 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2064
07c3d1ec
FX
20652019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2066
2067 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2068 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2069 Add emag.
2070 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2071 New macro.
2072
114f792e
SL
20732019-02-01 Stefan Liebler <stli@linux.ibm.com>
2074
2075 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2076
d5627550
VG
20772019-01-31 Vineet Gupta <vgupta@synopsys.com>
2078
2079 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2080 syscall-template file.
2081
5fc9ed4c
CD
20822019-01-31 Carlos O'Donell <carlos@redhat.com>
2083 Torvald Riegel <triegel@redhat.com>
2084 Rik Prohaska <prohaska7@gmail.com>
2085
2086 [BZ# 23844]
2087 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2088 tst-rwlock-trywrlock-stall.
2089 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2090 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2091 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2092 Set __wrphase_fute to 1 only if we started the write phase.
2093 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2094 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2095 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2096 * support/xpthread_rwlock_destroy.c: New file.
2097 * support/xthread.h: Declare xpthread_rwlock_destroy.
2098
932329a5
JM
20992019-02-01 Joseph Myers <joseph@codesourcery.com>
2100
2101 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2102 version to 4.0.2.
2103
5f10701f
PP
21042019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2105
2106 [BZ #24051]
2107 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2108 * libio/fileops.c (_IO_new_file_underflow): Likewise
2109 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2110 * libio/putchar.c (putchar): Likewise.
2111 * libio/putchar_u.c (putchar_unlocked): Likewise.
2112 * libio/putwchar.c (putchar): Likewise.
2113 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2114 * libio/tst-bz24051.c: New test.
2115 * libio/Makefile (tests): Add tst-bz24051
2116
583dd860
PE
21172019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2118
b626c5aa 2119 CVE-2019-9169
583dd860
PE
2120 regex: fix read overrun [BZ #24114]
2121 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2122 https://debbugs.gnu.org/34140
2123 * posix/regexec.c (proceed_next_node):
2124 Do not read past end of input buffer.
2125
2bac7daa
FW
21262019-01-31 Florian Weimer <fweimer@redhat.com>
2127
2128 [BZ #24059]
2129 * nss/nss_files/files-alias.c (get_next_alias): Handle
2130 continuation line without newline at the end.
2131 * nss/tst-nss-files-alias-truncated.c: New file.
2132 * nss/Makefile [$(build-shared)] (tests): Add
2133 tst-nss-files-alias-truncated.
2134 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2135 * support/namespace.h (struct support_chroot_configuration): Add
2136 aliases member.
2137 (struct support_chroot): Add path_aliases member.
2138 * support/support_chroot.c (support_chroot_create): Handle
2139 aliases.
2140 (support_chroot_free): Free path_aliases.
2141
330c9d0d
SP
21422019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2143
de44ab67
SP
2144 * version.h (RELEASE): Set to "development".
2145 (VERSION): Set to "2.29.9000".
2146 * NEWS: Add section for 2.30.
2147
56c86f5d
SP
2148 * version.h (RELEASE): Set to "stable".
2149 (VERSION): Set to "2.29".
2150 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2151
330c9d0d
SP
2152 * NEWS: Add the list of bugs fixed in 2.29.
2153 * manual/contrib.texi: Update contributors list with some more
2154 names.
2155 * manual/install.texi: Update latest versions of packages
2156 tested.
2157 * INSTALL: Regenerated.
2158
e1e47c91
SP
21592019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2160
2161 * po/be.po: Update translations.
2162 * po/bg.po: Likewise.
2163 * po/ca.po: Likewise.
2164 * po/cs.po: Likewise.
2165 * po/da.po: Likewise.
2166 * po/de.po: Likewise.
2167 * po/el.po: Likewise.
2168 * po/eo.po: Likewise.
2169 * po/es.po: Likewise.
2170 * po/fi.po: Likewise.
2171 * po/fr.po: Likewise.
2172 * po/gl.po: Likewise.
2173 * po/hr.po: Likewise.
2174 * po/hu.po: Likewise.
2175 * po/ia.po: Likewise.
2176 * po/id.po: Likewise.
2177 * po/it.po: Likewise.
2178 * po/ja.po: Likewise.
2179 * po/ko.po: Likewise.
2180 * po/lt.po: Likewise.
2181 * po/nb.po: Likewise.
2182 * po/nl.po: Likewise.
2183 * po/pl.po: Likewise.
2184 * po/pt_BR.po: Likewise.
2185 * po/ru.po: Likewise.
2186 * po/rw.po: Likewise.
2187 * po/sk.po: Likewise.
2188 * po/sl.po: Likewise.
2189 * po/sv.po: Likewise.
2190 * po/tr.po: Likewise.
2191 * po/uk.po: Likewise.
2192 * po/vi.po: Likewise.
2193 * po/zh_CN.po: Likewise.
2194 * po/zh_TW.po: Likewise.
2195
8d016826
UB
21962019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2197
2198 [BZ #24130]
2199 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2200 of $f3 register on $y_is_neg path.
2201
a0bb5abd
ST
22022019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2203
b96e22d0 2204 [BZ #24110]
a0bb5abd
ST
2205 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2206 sigaltstack.ss_flags.
2207
b22eed37
TS
22082019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2209
2210 [BZ #23758]
2211 * manual/time.texi (strftime): Document "%Ey".
2212 * time/strftime_l.c (__strftime_internal): Set the default width
2213 padding with zero of "%Ey" to 2.
2214
32f600a2
TS
2215 [BZ #24096]
2216 * manual/time.texi (strftime): Document "%EC" and "%EY".
2217 * time/Makefile (tests): Add tst-strftime2.
2218 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2219 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2220 override padding for "%Ey".
2221 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2222 "%Ey" in the subformat as if decorated with that flag.
2223 * time/tst-strftime2.c: New file.
2224
8e889c5d
AZ
22252019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2226
3367acdb
AZ
2227 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2228 are not defined.
2229
8e889c5d
AZ
2230 [BZ #24122]
2231 * elf/Makefile (tests): Add tst-audit13.
2232 (modules-names): Add tst-audit13mod1.
2233 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2234 rule.
2235 * elf/rtld.c (dl_main): Handle invalid audit module version.
2236 * elf/tst-audit13.c: New file.
2237 * elf/tst-audit13mod1.c: Likewise.
2238
a95dc01c
ST
22392019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2240
2241 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2242 returned by __hurd_at_flags.
ee4d7902
ST
2243 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2244 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2245 directly instead of __hurd_file_name_lookup.
a95dc01c 2246
712f1167
JM
22472019-01-21 Joseph Myers <joseph@codesourcery.com>
2248
2249 * scripts/build-many-glibcs.py (Context.checkout): Default
2250 binutils version to 2.32 branch.
2251
108bc404
FW
22522019-01-21 Florian Weimer <fweimer@redhat.com>
2253
2254 [BZ #20018]
2255 CVE-2016-10739
2256 resolv: Reject trailing characters in host names
2257 * include/arpa/inet.h (__inet_aton_exact): Declare.
2258 (inet_aton): Remove hidden prototype. No longer used internally.
2259 * nscd/gai.c (__inet_aton): Do not define.
2260 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2261 * nss/digits_dots.c (__inet_aton): Likewise.
2262 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2263 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2264 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2265 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2266 (tst-resolv-trailing): Likewise.
2267 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2268 libc.
2269 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2270 Make static. Add endp parameter.
2271 (__inet_aton_exact): New function.
2272 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2273 (__inet_addr): Call inet_aton_end.
2274 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2275 not just IPv6. Call __inet_aton_exact.
2276 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2277 (tests): Make const. Add additional test cases with trailing
2278 characters.
2279 (do_test): Use array_length.
2280 * resolv/tst-inet_aton_exact.c: New file.
2281 * resolv/tst-resolv-trailing.c: Likewise.
2282 * resolv/tst-resolv-nondecimal.c: Likewise.
2283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2284
5165de69
L
22852019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2286
2287 [BZ# 24097]
2288 CVE-2019-6488
2289 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2290 Clear the upper 32 bits of RSI register.
2291 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2292 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2293 and tst-size_t-wcsnlen.
2294 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2295 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2296
c7c54f65
L
22972019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2298
2299 [BZ# 24097]
2300 CVE-2019-6488
2301 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2302 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2303 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2304 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2305 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2306
ee915088
L
23072019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 [BZ# 24097]
2310 CVE-2019-6488
2311 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2312 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2313 * sysdeps/x86_64/strcmp.S: Likewise.
2314 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2315 tst-size_t-strncmp and tst-size_t-wcsncmp.
2316 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2317 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2318 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2319
82d0b4a4
L
23202019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2321
2322 [BZ# 24097]
2323 CVE-2019-6488
2324 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2325 RDX_LP for length. Clear the upper 32 bits of RDX register.
2326 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2327 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2328 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2329 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2330
ecd8b842
L
23312019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 [BZ# 24097]
2334 CVE-2019-6488
2335 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2336 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2337 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2338 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2339
231c5676
L
23402019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2341
2342 [BZ# 24097]
2343 CVE-2019-6488
2344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2345 length. Clear the upper 32 bits of RDX register.
2346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2347 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2348 Likewise.
2349 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2350 Likewise.
2351 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2352 tst-size_t-wmemchr.
2353 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2354
b304fc20
L
23552019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2356
2357 [BZ# 24097]
2358 CVE-2019-6488
2359 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2360 length. Clear the upper 32 bits of RDX register.
2361 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2362 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2363 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2364 tst-size_t-wmemcmp.
2365 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2366 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2367
97700a34
L
23682019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 [BZ# 24097]
2371 CVE-2019-6488
2372 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2373 upper 32 bits of RDX register.
2374 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2375 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2376 tst-size_t-wmemchr.
2377 * sysdeps/x86_64/x32/test-size_t.h: New file.
2378 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2379 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2380
6ca53a24
FW
23812019-01-18 Florian Weimer <fweimer@redhat.com>
2382
2383 [BZ #24112]
2384 resolv: Do not send queries for non-host-names in nss_dns.
2385 * resolv/nss_dns/dns-host.c (check_name): New function.
2386 (_nss_dns_gethostbyname2_r): Use it.
2387 (_nss_dns_gethostbyname_r): Likewise.
2388 (_nss_dns_gethostbyname4_r): Likewise.
2389
5e30b8ef
FW
23902019-01-21 Florian Weimer <fweimer@redhat.com>
2391
2392 * resolv/inet_addr.c: Reformat to GNU style.
2393 (__inet_addr, __inet_aton): Update comment.
2394
71effcea
FW
23952019-01-18 Florian Weimer <fweimer@redhat.com>
2396
2397 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2398 ("malloc: Use current (C11-style) atomics for fastbin access").
2399 This commit introduces a substantial performance regression on
2400 POWER and Aarch64.
2401 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2402 (REMOVE_FB): Define.
2403 (_int_malloc): Use it and reindent.
2404 (_int_free): Use CAS loop with
2405 catomic_compare_and_exchange_val_rel.
2406 (malloc_consolidate): Use atomic_exchange_acq.
2407
2408
562f4362
L
24092019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2410
2411 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2412 -Wl,-z,now.
2413 (LDFLAGS-tst-minsigstksz-2): Likewise.
2414 (LDFLAGS-tst-minsigstksz-3): Likewise.
2415 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2416 (LDFLAGS-tst-minsigstksz-4): Likewise.
2417
80dfa298
TS
24182019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2419
2420 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2421 than "alternate".
2422
008b598e
PC
24232019-01-16 Paul A. Clarke <pc@us.ibm.com>
2424
2425 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2426
fbbc9a4e
ZW
24272019-01-16 Zack Weinberg <zackw@panix.com>
2428
6b5c8607
TS
2429 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2430 (xget_sigstack_location): New test support functions.
2431 * support/xsigstack.c: New file, implementing them.
2432 * support/tst-xsigstack.c: New test for them.
2433 * support/Makefile: Update.
fbbc9a4e 2434
6b5c8607
TS
2435 * signal/tst-minsigstksz-1.c
2436 * signal/tst-minsigstksz-2.c
2437 * signal/tst-minsigstksz-3.c
2438 * signal/tst-minsigstksz-3a.c
2439 * signal/tst-minsigstksz-4.c: New tests.
2440 * signal/Makefile: Run them.
fbbc9a4e 2441
5f1135e4
SP
24422019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2443
2444 * po/libc.pot: Regenerate.
2445
ecdacd34
TMQMF
24462019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2447
2448 * math/libm-test-fma.inc (fma_test_data): Set
2449 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2450
56054664
RA
24512019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2452
2453 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2454 (do_test): Changed __vector __int128_t to __vector unsigned int.
2455
1a153e47
LS
24562019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2457
2458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2459 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2460 stpcpy-avx2 and stpncpy-avx2.
2461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2462 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2463 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2464 and __stpncpy_avx2.
2465 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2466 ifunc-strcpy.h}: rename header for a more generic name.
2467 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2468 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2469 AVX unaligned load is fast and vzeroupper is preferred.
2470 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2471 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2472 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2473 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2474 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2475 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2476
a1b02ae7
DL
24772019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2478
2479 * argp/argp-help.c: Fix typo in comment.
2480 * misc/sys/cdefs.h: Likewise.
2481 * posix/regexec.c (sift_states_iter_mb): Likewise.
2482 * socket/sockatmark.c: Likewise.
2483 * socket/sys/socket.h: Likewise.
2484 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2485 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2486 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2488 * sysdeps/unix/sockatmark.c: Likewise.
2489 * time/strptime_l.c: Likewise.
2490
5cbbf01e
TS
24912019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2492
2493 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2494 missing space after the cast of "_NL_CURRENT".
2495
0bc9bdf1
RA
24962019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2497
2498 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2499 ifdef to fix read of VSCR.
2500 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2501 tst-ucontext-ppc64-vscr.c to test list.
2502 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2503
5494af04
AH
25042019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2505
2506 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2507 fall-through.
2508
e17f63ff
JW
25092019-01-09 Jim Wilson <jimw@sifive.com>
2510
2511 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2512
02f440c1
WD
25132019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2514
2515 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2516 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2517 __memcpy_falkor for ares.
2518 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2519 Add new define.
2520 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2521 Add ares cpu.
2522
69da3c9e
L
25232019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2524
2525 [BZ #24066]
2526 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2527 4_FP_W_TYPEs are used for IEEE quad precision.
2528 * soft-fp/extendhftf2.c: Likewise.
2529 * soft-fp/extendsftf2.c: Likewise.
2530 * soft-fp/extendxftf2.c: Likewise.
2531 * soft-fp/trunctfdf2.c: Likewise.
2532 * soft-fp/trunctfhf2.c: Likewise.
2533 * soft-fp/trunctfsf2.c: Likewise.
2534 * soft-fp/trunctfxf2.c: Likewise.
2535 * sysdeps/alpha/ots_cvttx.c: Likewise.
2536 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2537 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2538 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2539 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2540 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2541 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2542 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2543 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2544 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2545 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2546 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2547 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2548 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2549 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2550 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2551 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2552 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2553
2ef42716
AJ
25542019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2555
2556 [BZ #24024]
2557 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2558 code with -fmath-errno.
2559 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2560 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2561 * string/test-strerror-errno.c: New file.
2562
7395f3a0
AJ
25632019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2564
2565 [BZ #24046]
2566 * localedata/locales/en_US (date_fmt): Add, set to
2567 "%a %d %b %Y %r %Z".
2568
010fe231
FW
25692019-01-07 Florian Weimer <fweimer@redhat.com>
2570
2571 [BZ #24063]
2572 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2573 instead of @var{errno}.
2574 (Parsing of Integers): Likewise.
2575 (Parsing of Floats): Likewise.
2576 * manual/filesys.texi (Working with Directory Trees): Likewise.
2577 (Temporary Files): Likewise.
2578 * manual/job.texi (Terminal Access Functions): Likewise.
2579 * manual/llio.texi (Synchronizing I/O): Likewise.
2580 * manual/math.texi (SVID Random): Likewise.
2581 * manual/message.texi (The catgets Functions): Likewise.
2582 (Translation with gettext): Likewise.
2583 (Locating gettext catalog): Likewise.
2584 (Charset conversion in gettext): Likewise.
2585 * manual/nss.texi (NSS Module Function Internals): Likewise.
2586 * manual/search.texi (Hash Search Function): Likewise.
2587 * manual/setjmp.texi (System V contexts): Likewise.
2588 * manual/time.texi (Sleeping): Likewise.
2589 * manual/users.texi (Lookup User): Likewise.
2590 (Lookup Group): Likewise.
2591
b79dc8d0
AZ
25922019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2593
2594 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2595 fix typo.
2596
890461fe 25972019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
2598
2599 [BZ #19444]
2600 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2601 __builtin_unreachable for default case in switch.
2602 (__ieee754_yn): Likewise.
2603 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2604 (__ieee754_ynl): Likewise.
2605 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2606 (__ieee754_ynl): Likewise.
2607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2608 (__ieee754_ynl): Likewise.
2609
8b18d418
SN
26102019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2611
2612 * manual/maint.texi: Use @{ and @}.
2613
4392898d
FW
26142019-01-04 Florian Weimer <fweimer@redhat.com>
2615
2616 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2617 function.
2618 (do_in_chroot_1): Call it.
2619 (run_chroot_tests):
2620 Improve error reporting in case it is not possible to create a
2621 collision for the PTY name required by the test.
2622
17cc27d5
AZ
26232019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2624
ce7eb0e9
AZ
2625 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2626 lll_wait_tid with timeout.
2627 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2628 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2629 futex_reltimed_wait_cancelable for cancelabla mode.
2630 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2631 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2632 macros.
2633 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2634 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2635 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2636 SYSCALL_CANCEL_NCS): New macro.
2637 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2638 (lll_timedwait_tid): Remove macro.
2639 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2640 Likewise.
2641 (lll_timedwait_tid): Likewise.
2642 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2643 Likewise.
2644 (lll_timedwait_tid): Likewise.
2645 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2646 Likewise.
2647 (lll_timedwait_tid): Likewise.
2648 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2649 Use INTERNAL_SYSCALL_CANCEL.
2650 * sysdeps/unix/sysv/linux/futex-internal.h
2651 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2652 instead of __pthread_{enable,disable}_asynccancel.
2653 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2654 (lll_futex_wait_cancel): New macro.
2655
0b13e255
AZ
2656 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2657 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2658
85c828a4
AZ
2659 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2660 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2661
d0d7f85f
AZ
2662 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2663 in backtrace analysis.
2664 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2665 side-effects.
2666 (tf_send): Likewise.
2667
17cc27d5
AZ
2668 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2669 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2670 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2671 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2672 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2673 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2674 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2675 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2676 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2677 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2678 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2679 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2680 Likewise.
2681 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2682 tst-cancel-wrappers.sh.
2683 (generated): Remove tst-cancel-wrappers.out.
2684 (tst-cancel-wrappers.out): Remove rule.
2685 * nptl/tst-cancel-wrappers.sh: Remove file.
2686
7d7af8f1
SN
26872019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2688
2689 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2690 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2691 Update.
2692
805334b2
AZ
26932019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2694
2695 [BZ #23640]
2696 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2697 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2698 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2699 close-on-exec reset for adddup2 file action.
2700 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2701
03992356
ZW
27022019-01-03 Zack Weinberg <zackw@panix.com>
2703
2704 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2705 parameter. Only use deprecated scanf when __USE_GNU is defined
2706 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2707 than 201103L, whichever is relevant for the language being compiled.
2708
2709 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2710 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2711 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2712 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2713 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2714
2715 * libio/iovsscanf.c
2716 * libio/fwscanf.c
2717 * libio/iovswscanf.c
2718 * libio/swscanf.c
2719 * libio/vscanf.c
2720 * libio/vwscanf.c
2721 * libio/wscanf.c
2722 * stdio-common/fscanf.c
2723 * stdio-common/scanf.c
2724 * stdio-common/vfscanf.c
2725 * stdio-common/vfwscanf.c
2726 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2727 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2728 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2729 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2730 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2731 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2732 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2733 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2734 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2735 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2736 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2737 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2738 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2739 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2740 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2741
2742 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2743 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2744 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2745 not sscanf.
2746 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2747 with a preprocessor macro.
2748
2749 * stdio-common/bug21.c, stdio-common/scanf14.c:
2750 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2751 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2752 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2753 to xscanf, xfscanf, xsscanf.
2754
2755 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2756 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2757 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2758 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2759 xfscanf, xsscanf.
2760 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2761 override feature selection macros or provide definitions of u_char etc.
2762 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2763 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2764 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2765 with -std=gnu89.
2766
8083afa5
AZ
27672019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2768
6f343c1f
AZ
2769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2770 bits/termios-misc.h.
2771 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2772 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2773 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2775 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2776 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2777
51f4beb0
AZ
2778 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2780 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2781 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2782 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2783 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2784 termios-misc.h.
2785 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2786 (sysdep_headers): Add termios-misc.h.
2787
f69c5cb2
AZ
2788 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2789 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2790 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2791
3aa4a07e
AZ
2792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2793 termios-tcflow.h.
2794 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2795 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2796 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2797 TCSAFLUSH): Move to termios-tcflow.h.
2798 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2799 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2800 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2801 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2802
22679ddf
AZ
2803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2804 termios-c_lflag.h.
2805 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2806 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2807 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2808 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2809 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2810 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2811 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2812 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2813 Likewise.
2814 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2815 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2816 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2817 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2818
72eb6ecc
AZ
2819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2820 termios-c_cflag.h.
2821 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2822 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2824 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2825 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2826 termios-c_cflag.h.
2827 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2828 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2829 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2830 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2831
9c5d0d02
AZ
2832 [BZ #23783]
2833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2834 termios-baud.h.
2835 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2836 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2837 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2838 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2839 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2840 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2841 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2842 __MAX_BAUD): Move to termios-baud.h.
2843 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2844 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2845 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2846 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2847 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2848
7b832018
AZ
2849 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2850 termios-c_oflag.h.
2851 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2852 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2853 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2854 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2855 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2856 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2857 termios-c_oflag.h.
2858 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2859 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2860 FFR1): Likewise.
2861 [USE_MISC] (XTABS): Likewise.
2862 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2863 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2864 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2866
3127003e
AZ
2867 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2868 termios-c_iflag.h.
2869 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2870 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2871 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2872 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2873 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2874 IUTF8): Move to termios-c_iflag.h.
2875 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2876 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2878 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2879
48c1dd96
AZ
2880 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2881 termios-cc.h.
2882 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2883 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2884 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2886 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2887 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2888 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2889 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2890 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2891 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2894
e5a50db3
AZ
2895 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2896 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2897 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2898 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2900 termios-struct.h.
2901 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2902 termios-struct.h.
2903 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2904 Likewise.
2905 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2908 Likewise.
2909 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2910 Likewise.
2911 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2912 _HAVE_C_OSPEED): Define.
2913 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2914 _HAVE_C_OSPEED): Likewise.
2915 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2916 _HAVE_C_OSPEED): Likewise.
2917 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2918 (cfsetospeed): Check for define value instead of existence.
2919 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2920 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2921 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2922 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2923 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2924
8083afa5
AZ
2925 [BZ #17783]
2926 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2927 Define.
2928 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2929 (TIOCSER_TEMT): Likewise.
2930 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2931 (TEOCSER_TEMT): Likewise.
2932
4d7d7dc6
P
29332019-01-02 PanderMusubi <pander@users.sourceforge.net>
2934
2935 [BZ #24011]
2936 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2937
8e291a29
JM
29382019-01-02 Joseph Myers <joseph@codesourcery.com>
2939
2940 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2941
55137f7d
ST
29422019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2943
2944 * sysdeps/htl/pt-barrierattr-setpshared.c
2945 (pthread_barrierattr_setpshared): Add stub warning.
2946 * sysdeps/htl/pt-condattr-setpshared.c
2947 (pthread_condattr_setpshared): Likewise.
2948 * sysdeps/htl/pt-mutexattr-setpshared.c
2949 (pthread_mutexattr_setpshared): Likewise.
2950 * sysdeps/htl/pt-rwlockattr-setpshared.c
2951 (pthread_rwlockattr_setpshared): Likewise.
2952 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2953 (pthread_mutexattr_setpshared): Likewise.
2954
2ce09e01
JM
29552019-01-02 Joseph Myers <joseph@codesourcery.com>
2956
acb55dcb
JM
2957 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2958 constants to match with Linux 4.20.
2959
2ce09e01
JM
2960 * sysdeps/mips/mips32/libm-test-ulps: Update.
2961 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2962
fe20bb1d
AJ
29632019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2964
2965 [BZ #24034]
2966 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2967 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2968 than __typeof (...) for the a_ptr variable.
2969
2d9837c1
GG
29702019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2971
2972 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2973 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2974 * libio/Makefile (tests): Add tst-sprintf-ub and
2975 tst-sprintf-chk-ub.
2976 (CFLAGS-tst-sprintf-ub.c): New variable.
2977 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2978 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2979 destination buffer and check for overflows in fortified mode.
2980 * libio/libioP.h (PRINTF_CHK): New macro.
2981 * libio/tst-sprintf-chk-ub.c: New file.
2982 * libio/tst-sprintf-ub.c: Likewise.
2983
d5c6df0b 29842019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
2985
2986 [BZ #24018]
2987 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2988 failure.
2989
66081e38
FW
29902019-01-02 Florian Weimer <fweimer@redhat.com>
2991
2992 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2993
04277e02
JM
29942019-01-01 Joseph Myers <joseph@codesourcery.com>
2995
6ef3d225
JM
2996 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2997 macro.
2998
e3d4e292
JM
2999 * sysdeps/unix/sysv/linux/netpacket/packet.h
3000 (PACKET_IGNORE_OUTGOING): New macro.
3001
f4507797
JM
3002 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3003 macro.
3004
47ad5e1a
JM
3005 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3006 version to 4.20.
3007 (riscv_flush_icache): New syscall.
3008
7628a1b0
JM
3009 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3010 trailing whitespace removed.
3011 * scripts/config.guess: Update to version 2019-01-01.
3012 * scripts/config.sub: Update to version 2019-01-01.
3013 * scripts/move-if-change: Update from gnulib.
3014
c9123888
JM
3015 * NEWS: Update copyright dates.
3016 * catgets/gencat.c (print_version): Likewise.
3017 * csu/version.c (banner): Likewise.
3018 * debug/catchsegv.sh: Likewise.
3019 * debug/pcprofiledump.c (print_version): Likewise.
3020 * debug/xtrace.sh (do_version): Likewise.
3021 * elf/ldconfig.c (print_version): Likewise.
3022 * elf/ldd.bash.in: Likewise.
3023 * elf/pldd.c (print_version): Likewise.
3024 * elf/sotruss.sh: Likewise.
3025 * elf/sprof.c (print_version): Likewise.
3026 * iconv/iconv_prog.c (print_version): Likewise.
3027 * iconv/iconvconfig.c (print_version): Likewise.
3028 * locale/programs/locale.c (print_version): Likewise.
3029 * locale/programs/localedef.c (print_version): Likewise.
3030 * login/programs/pt_chown.c (print_version): Likewise.
3031 * malloc/memusage.sh (do_version): Likewise.
3032 * malloc/memusagestat.c (print_version): Likewise.
3033 * malloc/mtrace.pl: Likewise.
3034 * manual/libc.texinfo: Likewise.
3035 * nptl/version.c (banner): Likewise.
3036 * nscd/nscd.c (print_version): Likewise.
3037 * nss/getent.c (print_version): Likewise.
3038 * nss/makedb.c (print_version): Likewise.
3039 * posix/getconf.c (main): Likewise.
3040 * scripts/test-installation.pl: Likewise.
3041 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3042
04277e02
JM
3043 * All files with FSF copyright notices: Update copyright dates
3044 using scripts/update-copyrights.
3045 * locale/programs/charmap-kw.h: Regenerated.
3046 * locale/programs/locfile-kw.h: Likewise.
3047
e740e5b1
JM
30482018-12-31 Joseph Myers <joseph@codesourcery.com>
3049
3050 * timezone/zdump.c: Update from tzcode 2018i.
3051 * timezone/zic.c: Likewise.
3052
9b7f98b3
PE
30532018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3054
3055 regex: improve Gnulib port to AIX
3056 From the glibc point of view, this removes duplicate macro
3057 definitions and is obviously safe.
3058 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3059 * posix/regex_internal.h:
3060 (__attribute__, __attribute_warn_unused_result__):
3061 Remove; already defined elsewhere.
3062
b50dd3bc
FW
30632018-12-31 Florian Weimer <fw@deneb.enyo.de>
3064
3065 [BZ #24027]
3066 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3067 copying operation. (ncopies had the wrong type, resulting in an
3068 integer wraparound and too few elements being copied.)
3069
0b9c8490
L
30702018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3071
3072 [BZ #24022]
3073 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3074 <asm/syscalls.h> exists with __has_include__ before including it.
3075
01047fa6
JM
30762018-12-31 Joseph Myers <joseph@codesourcery.com>
3077
3078 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3079 version to 4.20.
3080
6b5c8607 30812018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
3082
3083 * hurd/lookup-retry: Include <unistd.h>.
3084 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3085 Release it on return. Handle "pid" magical lookup retry.
3086
989182c4
RL
30872018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3088
3089 [BZ #10496]
3090 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3091 (t_fmt_ampm): Likewise.
3092 * localedata/locales/aa_ER (t_fmt): Likewise.
3093 (t_fmt_ampm): Likewise.
3094 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3095 (t_fmt_ampm): Likewise.
3096 * localedata/locales/aa_ET (t_fmt): Likewise.
3097 (t_fmt_ampm): Likewise.
3098 * localedata/locales/am_ET (t_fmt): Likewise.
3099 (t_fmt_ampm): Likewise.
3100 * localedata/locales/byn_ER (t_fmt): Likewise.
3101 (t_fmt_ampm): Likewise.
3102 * localedata/locales/om_ET (t_fmt): Likewise.
3103 (t_fmt_ampm): Likewise.
3104 * localedata/locales/sid_ET (t_fmt): Likewise.
3105 (t_fmt_ampm): Likewise.
3106 * localedata/locales/so_DJ (t_fmt): Likewise.
3107 (t_fmt_ampm): Likewise.
3108 * localedata/locales/so_ET (t_fmt): Likewise.
3109 (t_fmt_ampm): Likewise.
3110 * localedata/locales/so_SO (t_fmt): Likewise.
3111 (t_fmt_ampm): Likewise.
3112 * localedata/locales/ti_ER (t_fmt): Likewise.
3113 (t_fmt_ampm): Likewise.
3114 * localedata/locales/ti_ET (t_fmt): Likewise.
3115 (t_fmt_ampm): Likewise.
3116 * localedata/locales/tig_ER (t_fmt): Likewise.
3117 (t_fmt_ampm): Likewise.
3118 * localedata/locales/wal_ET (t_fmt): Likewise.
3119 (t_fmt_ampm): Likewise.
3120
3121 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3122 * localedata/locales/ar_IN (t_fmt): Likewise.
3123 * localedata/locales/bhb_IN (t_fmt): Likewise.
3124 * localedata/locales/bho_IN (t_fmt): Likewise.
3125 * localedata/locales/bi_VU (t_fmt): Likewise.
3126 * localedata/locales/bn_BD (t_fmt): Likewise.
3127 * localedata/locales/bn_IN (t_fmt): Likewise.
3128 * localedata/locales/brx_IN (t_fmt): Likewise.
3129 * localedata/locales/doi_IN (t_fmt): Likewise.
3130 * localedata/locales/en_HK (t_fmt): Likewise.
3131 (t_fmt_ampm): Likewise.
3132 * localedata/locales/en_IN (t_fmt): Likewise.
3133 * localedata/locales/en_PH (t_fmt): Likewise.
3134 * localedata/locales/gu_IN (t_fmt): Likewise.
3135 * localedata/locales/hi_IN (t_fmt): Likewise.
3136 * localedata/locales/hif_FJ (t_fmt): Likewise.
3137 * localedata/locales/hne_IN (t_fmt): Likewise.
3138 * localedata/locales/kn_IN (t_fmt): Likewise.
3139 * localedata/locales/kok_IN (t_fmt): Likewise.
3140 * localedata/locales/ks_IN (t_fmt): Likewise.
3141 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3142 * localedata/locales/mag_IN (t_fmt): Likewise.
3143 * localedata/locales/mai_IN (t_fmt): Likewise.
3144 * localedata/locales/mjw_IN (t_fmt): Likewise.
3145 * localedata/locales/ml_IN (t_fmt): Likewise.
3146 * localedata/locales/mni_IN (t_fmt): Likewise.
3147 * localedata/locales/mr_IN (t_fmt): Likewise.
3148 * localedata/locales/ms_MY (t_fmt): Likewise.
3149 * localedata/locales/pa_IN (t_fmt): Likewise.
3150 * localedata/locales/raj_IN (t_fmt): Likewise.
3151 * localedata/locales/sa_IN (t_fmt): Likewise.
3152 * localedata/locales/sat_IN (t_fmt): Likewise.
3153 * localedata/locales/sd_IN (t_fmt): Likewise.
3154 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3155 * localedata/locales/tcy_IN (t_fmt): Likewise.
3156 * localedata/locales/the_NP (t_fmt): Likewise.
3157 * localedata/locales/to_TO (t_fmt): Likewise.
3158 * localedata/locales/ur_IN (t_fmt): Likewise.
3159
3160 * localedata/locales/hif_FJ (d_t_fmt): Set to
3161 "%A %d %b %Y %I:%M:%S %p".
3162 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3163
3164 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3165 * localedata/locales/ar_BH (t_fmt): Likewise.
3166 * localedata/locales/ar_DZ (t_fmt): Likewise.
3167 * localedata/locales/ar_EG (t_fmt): Likewise.
3168 * localedata/locales/ar_IQ (t_fmt): Likewise.
3169 * localedata/locales/ar_JO (t_fmt): Likewise.
3170 * localedata/locales/ar_KW (t_fmt): Likewise.
3171 * localedata/locales/ar_LB (t_fmt): Likewise.
3172 * localedata/locales/ar_LY (t_fmt): Likewise.
3173 * localedata/locales/ar_OM (t_fmt): Likewise.
3174 * localedata/locales/ar_QA (t_fmt): Likewise.
3175 * localedata/locales/ar_SD (t_fmt): Likewise.
3176 * localedata/locales/ar_SS (t_fmt): Likewise.
3177 * localedata/locales/ar_SY (t_fmt): Likewise.
3178 * localedata/locales/ar_TN (t_fmt): Likewise.
3179 * localedata/locales/ar_YE (t_fmt): Likewise.
3180
3181 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3182 (t_fmt_ampm): Likewise.
3183 * localedata/locales/gez_ET (t_fmt): Likewise.
3184 (t_fmt_ampm): Likewise.
3185
3186 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3187 (t_fmt_ampm): Likewise.
3188 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3189
3190 * localedata/locales/zh_HK (t_fmt):
3191 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3192
3193 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3194 because this locale does not use the 12-hour clock.
3195 (t_fmt): Set to "%Z %H:%M:%S".
3196 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3197
3198 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3199 because this locale does not use the 12-hour clock.
3200 (t_fmt): Set to "%H:%M:%S %Z".
3201 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3202
3203 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3204 because this locale does not use the 12-hour clock.
3205 (t_fmt): Set to "%T".
3206 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3207 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3208
3209 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3210 because this locale does not use the 12-hour clock.
3211 (t_fmt): Set to "%H:%M:%S %Z".
3212 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3213
3214 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3215 because this locale does not use the 12-hour clock.
3216 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3217 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3218
27841a7d
RL
32192018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3220
3221 [BZ #10496]
3222 [BZ #23724]
3223 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3224 (t_fmt_ampm): Likewise.
3225 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3226 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3227 (d_fmt): Set to "%-d.%-m.%y".
3228
0253580a
AZ
32292018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3230
3231 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3232 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3233 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3234 Likewise.
3235 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3236 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3237 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3238 function.
3239 * support/blob_repeat.c (check_mul_overflow_size_t,
3240 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3241
09104e5b
AJ
32422018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3243
3244 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3245
c0feb731
PE
32462018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3247
3248 regex: simplify Gnulib port
3249 This simplifies the code, by removing stuff intended for porting
3250 to Gnulib but no longer needed there.
3251 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3252 uses of libc_hidden_def, weak_alias.
3253 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3254 _Restrict_ except for public-facing headers.
3255 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3256 Remove; already defined elsewhere.
3257 * posix/regex.c, posix/regex_internal.h:
3258 Use __GNUC_PREREQ instead of rolling our own.
3259 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3260
5289f1f5
WD
32612018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3262
3263 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 3264 (memchr_strlen): New function.
5289f1f5 3265
ba4b8fab
L
32662018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3269 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3270 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3271
9412979a
L
32722018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3273
3274 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3275
8700a785
L
32762018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3277
3278 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3279 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3280 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3281 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3282 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3283 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3284 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3285
57b3ff8e
JM
32862018-12-21 Joseph Myers <joseph@codesourcery.com>
3287
3288 [BZ #24023]
3289 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3290 PLT reference in libc.so.
3291 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3292 _Q_lltoq and _Q_qtod PLT references in libc.so.
3293
90d3320d
WD
32942018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3295
3296 * benchtests/bench-memchr.c: Cleanup defines.
3297 * benchtests/bench-memcmp.c: Likewise.
3298 * benchtests/bench-memset.c: Likewise.
3299 * benchtests/bench-memset-large.c: Likewise.
3300 * benchtests/bench-memset-walk.c: Likewise.
3301 * benchtests/bench-stpcpy.c: Likewise.
3302 * benchtests/bench-stpncpy.c: Likewise.
3303 * benchtests/bench-strcat.c: Likewise.
3304 * benchtests/bench-strchr.c: Likewise.
3305 * benchtests/bench-strcmp.c: Likewise.
3306 * benchtests/bench-strcpy.c: Likewise.
3307 * benchtests/bench-strcspn.c: Likewise.
3308 * benchtests/bench-string.h: Likewise.
3309 * benchtests/bench-strlen.c: Likewise.
3310 * benchtests/bench-strncat.c: Likewise.
3311 * benchtests/bench-strncmp.c: Likewise.
3312 * benchtests/bench-strncpy.c: Likewise.
3313 * benchtests/bench-strnlen.c: Likewise.
3314 * benchtests/bench-strpbrk.c: Likewise.
3315 * benchtests/bench-strrchr.c: Likewise.
3316 * benchtests/bench-strspn.c: Likewise.
3317
192963be
JM
33182018-12-21 Joseph Myers <joseph@codesourcery.com>
3319
5d025ea6
JM
3320 * stdlib/longlong.h: Update from GCC.
3321
192963be
JM
3322 [BZ #23993]
3323 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3324 * configure: Regenerated.
3325 * manual/install.texi (Tools for Compilation): Update minimum GCC
3326 version.
3327 * INSTALL: Regenerated.
3328
6b5c8607 33292018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
3330
3331 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3332
6b5c8607 33332018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
3334
3335 * malloc/malloc.c (mremap_chunk): Additional checks.
3336
5f72b005
MH
33372018-12-21 Mao Han <han_mao@c-sky.com>
3338
3339 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3340 * scripts/build-many-glibcs.py: Add C-SKY targets.
3341 * sysdeps/csky/Implies: New file.
3342 * sysdeps/csky/Makefile: Likewise.
3343 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3344 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3345 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3346 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3347 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3348 * sysdeps/csky/abiv2/memmove.S: Likewise.
3349 * sysdeps/csky/abiv2/memset.S: Likewise.
3350 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3351 * sysdeps/csky/abiv2/start.S: Likewise.
3352 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3353 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3354 * sysdeps/csky/abiv2/strlen.S: Likewise.
3355 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3356 * sysdeps/csky/abort-instr.h: Likewise.
3357 * sysdeps/csky/atomic-machine.h: Likewise.
3358 * sysdeps/csky/bits/endian.h: Likewise.
3359 * sysdeps/csky/bits/fenv.h: Likewise.
3360 * sysdeps/csky/bits/link.h: Likewise.
3361 * sysdeps/csky/bits/setjmp.h: Likewise.
3362 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3363 * sysdeps/csky/bsd-setjmp.S: Likewise.
3364 * sysdeps/csky/configure: Likewise.
3365 * sysdeps/csky/configure.ac: Likewise.
3366 * sysdeps/csky/dl-machine.h: Likewise.
3367 * sysdeps/csky/dl-procinfo.c: Likewise.
3368 * sysdeps/csky/dl-procinfo.h: Likewise.
3369 * sysdeps/csky/dl-sysdep.h: Likewise.
3370 * sysdeps/csky/dl-tls.h: Likewise.
3371 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3372 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3373 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3374 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3375 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3376 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3377 * sysdeps/csky/fpu/fegetround.c: Likewise.
3378 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3379 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3380 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3381 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3382 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3383 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3384 * sysdeps/csky/fpu/fesetround.c: Likewise.
3385 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3386 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3387 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3388 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3389 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3390 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3391 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3392 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3393 * sysdeps/csky/fpu_control.h: Likewise.
3394 * sysdeps/csky/gccframe.h: Likewise.
3395 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3396 * sysdeps/csky/ldsodefs.h: Likewise.
3397 * sysdeps/csky/libc-tls.c: Likewise.
3398 * sysdeps/csky/linkmap.h: Likewise.
3399 * sysdeps/csky/machine-gmon.h: Likewise.
3400 * sysdeps/csky/memusage.h: Likewise.
3401 * sysdeps/csky/nofpu/Implies: Likewise.
3402 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3403 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3404 * sysdeps/csky/nptl/Makefile: Likewise.
3405 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3406 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3407 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3408 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3409 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3410 * sysdeps/csky/nptl/tls.h: Likewise.
3411 * sysdeps/csky/preconfigure: Likewise.
3412 * sysdeps/csky/sfp-machine.h: Likewise.
3413 * sysdeps/csky/sotruss-lib.c: Likewise.
3414 * sysdeps/csky/stackinfo.h: Likewise.
3415 * sysdeps/csky/sysdep.h: Likewise.
3416 * sysdeps/csky/tininess.h: Likewise.
3417 * sysdeps/csky/tst-audit.h: Likewise.
3418 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3419 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3420 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3421 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3422 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3423 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3424 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3425 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3426 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3427 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3428 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3429 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3430 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3431 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3432 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3433 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3434 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3435 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3436 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3437 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3438 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3439 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3440 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3441 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3442 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3443 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3444 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3445 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3446 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3447 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3448 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3449 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3450 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3451 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3452 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3453 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3454 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3455 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3456 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3457 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3458 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3459 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3460 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3461 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3462
6b5c8607 34632018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
3464
3465 * include/time.h (__difftime64): Add.
3466 * time/difftime.c (subtract): convert to 64-bit time.
3467 * time/difftime.c (__difftime64): Add.
3468 * time/difftime.c (__difftime): Wrap around __difftime64.
3469
ab416931
L
34702018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3471
3472 * manual/examples/add.c: Remove redundant "if not".
3473 * manual/examples/argp-ex1.c: Likewise.
3474 * manual/examples/argp-ex2.c: Likewise.
3475 * manual/examples/argp-ex3.c: Likewise.
3476 * manual/examples/argp-ex4.c: Likewise.
3477 * manual/examples/atexit.c: Likewise.
3478 * manual/examples/db.c: Likewise.
3479 * manual/examples/dir.c: Likewise.
3480 * manual/examples/dir2.c: Likewise.
3481 * manual/examples/execinfo.c: Likewise.
3482 * manual/examples/filecli.c: Likewise.
3483 * manual/examples/filesrv.c: Likewise.
3484 * manual/examples/fmtmsgexpl.c: Likewise.
3485 * manual/examples/genpass.c: Likewise.
3486 * manual/examples/inetcli.c: Likewise.
3487 * manual/examples/inetsrv.c: Likewise.
3488 * manual/examples/isockad.c: Likewise.
3489 * manual/examples/longopt.c: Likewise.
3490 * manual/examples/memopen.c: Likewise.
3491 * manual/examples/memstrm.c: Likewise.
3492 * manual/examples/mkdirent.c: Likewise.
3493 * manual/examples/mkfsock.c: Likewise.
3494 * manual/examples/mkisock.c: Likewise.
3495 * manual/examples/mygetpass.c: Likewise.
3496 * manual/examples/pipe.c: Likewise.
3497 * manual/examples/popen.c: Likewise.
3498 * manual/examples/rprintf.c: Likewise.
3499 * manual/examples/search.c: Likewise.
3500 * manual/examples/select.c: Likewise.
3501 * manual/examples/setjmp.c: Likewise.
3502 * manual/examples/sigh1.c: Likewise.
3503 * manual/examples/sigusr.c: Likewise.
3504 * manual/examples/stpcpy.c: Likewise.
3505 * manual/examples/strdupa.c: Likewise.
3506 * manual/examples/strftim.c: Likewise.
3507 * manual/examples/subopt.c: Likewise.
3508 * manual/examples/swapcontext.c: Likewise.
3509 * manual/examples/termios.c: Likewise.
3510 * manual/examples/testopt.c: Likewise.
3511 * manual/examples/testpass.c: Likewise.
3512 * manual/examples/timeval_subtract.c: Likewise.
3513
515f463f
JM
35142018-12-19 Joseph Myers <joseph@codesourcery.com>
3515
da75c1b1
JM
3516 * sysdeps/x86/fpu/math_private.h: New file.
3517 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3518
515f463f
JM
3519 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3520 definition.
3521 (cosh): Likewise.
3522 (tanh): Likewise.
3523
1616d034
TMQMF
35242018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3525
3526 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3527 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3528 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3529 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3530 fields.
3531 (_dl_show_auxv): Give a special treatment to
3532 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3533 and AT_L3_CACHEGEOMETRY.
3534 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3535 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3536 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3537 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3538
61595e3d
AS
35392018-12-19 Andreas Schwab <schwab@suse.de>
3540
3541 * nscd/connections.c (check_use): Don't abort on invalid len.
3542
bbb7dc84
ST
35432018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3544
3545 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3546 values in the 64bit value cases.
3547
6b5c8607 35482018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 3549
c4c2836a
AA
3550 * include/time.h
3551 (__ctime64_r): Add.
3552 * time/ctime_r.c
3553 (__ctime64_r): Add.
3554 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3555
7755e504
AA
3556 * include/time.h
3557 (__ctime64): Add.
3558 * time/gmtime.c
3559 (__ctime64): Add.
3560 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3561
a1d346ce
AA
3562 * include/time.h
3563 (__gmtime64_r): Add.
3564 * time/gmtime.c
3565 (__gmtime64_r): Add.
3566 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3567
131db8b0
AA
3568 * include/time.h
3569 (__gmtime64): Add.
3570 * time/gmtime.c
3571 (__gmtime64): Add.
3572 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3573
64c2277d
AA
3574 * include/time.h
3575 (__localtime64_r): Add.
3576 * time/localtime.c
3577 (__localtime64_r): Add.
3578 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3579
56b98bf1
AZ
35802018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3581
64dd7a16
AZ
3582 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3583 kernel_sigction definition.
3584
8b1d5da5
AZ
3585 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3586
f9eabb19
AZ
3587 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3588
56b98bf1
AZ
3589 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3590 __syscall_rt_sigaction.
3591 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3592 (kernel_sigaction): Use Linux generic defintion.
3593 (STUB): Define.
3594 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3595 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3596 (__syscall_rt_sigaction): Remove implementation.
3597 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3598 hidden.
3599 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3600 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3601 INTERNAL_SYSCALL): Remove definitions.
3602 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3603 action and signal set size.
3604 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3606
43a45c2d
AZ
36072018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3608 James Clarke <jrtc27@jrtc27.com>
3609
dfa6216f 3610 [BZ #23967]
43a45c2d
AZ
3611 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3612 Define if SA_RESTORER is defined.
3613 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3614 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3615 already defined.
3616 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3617 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3618 definitions.
3619 (HAS_SA_RESTORER): Define.
3620 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3621 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3622 (HAS_SA_RESTORER): Define.
3623 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3624 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3625 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3626 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3627 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3628
646ce7e0
JM
36292018-12-18 Joseph Myers <joseph@codesourcery.com>
3630
3631 * sysdeps/unix/sysv/linux/kernel-features.h
3632 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3633 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3634 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3635 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3636 (__ASSUME_ST_INO_64_BIT): Likewise.
3637 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3638 <kernel-features.h>.
3639 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3640 Remove conditional code.
3641 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3642 <kernel-features.h>.
3643 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3644 Remove conditional code.
3645 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3646 <kernel-features.h>.
3647 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3648 Remove conditional code.
3649 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3650 <kernel-features.h>.
3651 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3652 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3653
80190d2b
SL
36542018-12-18 Stefan Liebler <stli@linux.ibm.com>
3655
3656 * sysdeps/s390/multiarch/ifunc-resolve.h
3657 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3658 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3659 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3660 Delete macro definition.
3661 (s390_libc_ifunc_init): Rename to
3662 s390_libc_ifunc_expr_stfle_init.
3663 * sysdeps/s390/bzero: Use
3664 s390_libc_ifunc_expr_stfle_init instead of
3665 s390_libc_ifunc_init.
3666 * sysdeps/s390/memcmp.c: Likewise.
3667 * sysdeps/s390/memcpy.c: Likewise.
3668 * sysdeps/s390/mempcpy.c: Likewise.
3669 * sysdeps/s390/memset.c: Likewise.
3670
12f0dcb8
SL
36712018-12-18 Stefan Liebler <stli@linux.ibm.com>
3672
3673 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3674 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3675
25654a8c
SL
36762018-12-18 Stefan Liebler <stli@linux.ibm.com>
3677
3678 * sysdeps/s390/multiarch/Makefile
3679 (sysdep_routines): Remove wmemcmp variants.
3680 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3681 * sysdeps/s390/multiarch/ifunc-impl-list.c
3682 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3683 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3684 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3685 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3686 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3687 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3688 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3689 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3690
d2a7436c
SL
36912018-12-18 Stefan Liebler <stli@linux.ibm.com>
3692
3693 * sysdeps/s390/multiarch/Makefile
3694 (sysdep_routines): Remove wmemset variants.
3695 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3696 * sysdeps/s390/multiarch/ifunc-impl-list.c
3697 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3698 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3699 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3700 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3701 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3702 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3703 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3704 * sysdeps/s390/ifunc-wmemset.h: New file.
3705
c62534ae
SL
37062018-12-18 Stefan Liebler <stli@linux.ibm.com>
3707
3708 * sysdeps/s390/multiarch/Makefile
3709 (sysdep_routines): Remove wmemchr variants.
3710 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3711 * sysdeps/s390/multiarch/ifunc-impl-list.c
3712 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3713 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3714 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3715 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3716 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3717 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3718 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3719 * sysdeps/s390/ifunc-wmemchr.h: New file.
3720
79b44cf6
SL
37212018-12-18 Stefan Liebler <stli@linux.ibm.com>
3722
3723 * sysdeps/s390/multiarch/Makefile
3724 (sysdep_routines): Remove wcscspn variants.
3725 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3726 * sysdeps/s390/multiarch/ifunc-impl-list.c
3727 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3728 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3729 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3730 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3731 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3732 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3733 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3734 * sysdeps/s390/ifunc-wcscspn.h: New file.
3735
8e87c1f6
SL
37362018-12-18 Stefan Liebler <stli@linux.ibm.com>
3737
3738 * sysdeps/s390/multiarch/Makefile
3739 (sysdep_routines): Remove wcspbrk variants.
3740 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3741 * sysdeps/s390/multiarch/ifunc-impl-list.c
3742 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3743 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3744 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3745 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3746 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3747 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3748 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3749 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3750
8507e831
SL
37512018-12-18 Stefan Liebler <stli@linux.ibm.com>
3752
3753 * sysdeps/s390/multiarch/Makefile
3754 (sysdep_routines): Remove wcsspn variants.
3755 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3756 * sysdeps/s390/multiarch/ifunc-impl-list.c
3757 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3758 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3759 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3760 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3761 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3762 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3763 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3764 * sysdeps/s390/ifunc-wcsspn.h: New file.
3765
4753713a
SL
37662018-12-18 Stefan Liebler <stli@linux.ibm.com>
3767
3768 * sysdeps/s390/multiarch/Makefile
3769 (sysdep_routines): Remove wcsrchr variants.
3770 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3771 * sysdeps/s390/multiarch/ifunc-impl-list.c
3772 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3773 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3774 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3775 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3776 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3777 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3778 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3779 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3780
c09c1b6f
SL
37812018-12-18 Stefan Liebler <stli@linux.ibm.com>
3782
3783 * sysdeps/s390/multiarch/Makefile
3784 (sysdep_routines): Remove wcschrnul variants.
3785 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3786 * sysdeps/s390/multiarch/ifunc-impl-list.c
3787 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3788 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3789 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3790 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3791 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3792 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3793 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3794 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3795
cf3ccc31
SL
37962018-12-18 Stefan Liebler <stli@linux.ibm.com>
3797
3798 * sysdeps/s390/multiarch/Makefile
3799 (sysdep_routines): Remove wcschr variants.
3800 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3801 * sysdeps/s390/multiarch/ifunc-impl-list.c
3802 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3803 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3804 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3805 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3806 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3807 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3808 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3809 * sysdeps/s390/ifunc-wcschr.h: New file.
3810
e9873e1d
SL
38112018-12-18 Stefan Liebler <stli@linux.ibm.com>
3812
3813 * sysdeps/s390/multiarch/Makefile
3814 (sysdep_routines): Remove wcsncmp variants.
3815 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3816 * sysdeps/s390/multiarch/ifunc-impl-list.c
3817 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3818 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3819 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3820 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3821 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3822 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3823 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3824 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3825
3459e23d
SL
38262018-12-18 Stefan Liebler <stli@linux.ibm.com>
3827
3828 * sysdeps/s390/multiarch/Makefile
3829 (sysdep_routines): Remove wcscmp variants.
3830 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3831 * sysdeps/s390/multiarch/ifunc-impl-list.c
3832 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3833 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3834 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3835 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3836 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3837 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3838 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3839 * sysdeps/s390/ifunc-wcscmp.h: New file.
3840
814a76e1
SL
38412018-12-18 Stefan Liebler <stli@linux.ibm.com>
3842
3843 * sysdeps/s390/multiarch/Makefile
3844 (sysdep_routines): Remove wcsncat variants.
3845 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3846 * sysdeps/s390/multiarch/ifunc-impl-list.c
3847 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3848 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3849 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3850 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3851 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3852 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3853 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3854 * sysdeps/s390/ifunc-wcsncat.h: New file.
3855
3389cae4
SL
38562018-12-18 Stefan Liebler <stli@linux.ibm.com>
3857
3858 * sysdeps/s390/multiarch/Makefile
3859 (sysdep_routines): Remove wcscat variants.
3860 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3861 * sysdeps/s390/multiarch/ifunc-impl-list.c
3862 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3863 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3864 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3865 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3866 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3867 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3868 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3869 * sysdeps/s390/ifunc-wcscat.h: New file.
3870
c3081bcb
SL
38712018-12-18 Stefan Liebler <stli@linux.ibm.com>
3872
3873 * sysdeps/s390/multiarch/Makefile
3874 (sysdep_routines): Remove wcpncpy variants.
3875 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3876 * sysdeps/s390/multiarch/ifunc-impl-list.c
3877 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3878 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3879 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3880 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3881 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3882 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3883 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3884 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3885
0966dd86
SL
38862018-12-18 Stefan Liebler <stli@linux.ibm.com>
3887
3888 * sysdeps/s390/multiarch/Makefile
3889 (sysdep_routines): Remove wcsncpy variants.
3890 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3891 * sysdeps/s390/multiarch/ifunc-impl-list.c
3892 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3893 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3894 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3895 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3896 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3897 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3898 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3899 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3900
0582e428
SL
39012018-12-18 Stefan Liebler <stli@linux.ibm.com>
3902
3903 * sysdeps/s390/multiarch/Makefile
3904 (sysdep_routines): Remove wcpcpy variants.
3905 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3906 * sysdeps/s390/multiarch/ifunc-impl-list.c
3907 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3908 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3909 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3910 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3911 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3912 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3913 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3914 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3915
804f2e5c
SL
39162018-12-18 Stefan Liebler <stli@linux.ibm.com>
3917
3918 * sysdeps/s390/multiarch/Makefile
3919 (sysdep_routines): Remove wcscpy variants.
3920 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3921 * sysdeps/s390/multiarch/ifunc-impl-list.c
3922 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3923 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3924 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3925 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3926 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3927 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3928 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3929 * sysdeps/s390/ifunc-wcscpy.h: New file.
3930
c7e7cd26
SL
39312018-12-18 Stefan Liebler <stli@linux.ibm.com>
3932
3933 * sysdeps/s390/multiarch/Makefile
3934 (sysdep_routines): Remove wcsnlen variants.
3935 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3936 * sysdeps/s390/multiarch/ifunc-impl-list.c
3937 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3938 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3939 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3940 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3941 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3942 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3943 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3944 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3945
2e02d0b7
SL
39462018-12-18 Stefan Liebler <stli@linux.ibm.com>
3947
3948 * sysdeps/s390/multiarch/Makefile
3949 (sysdep_routines): Remove wcslen variants.
3950 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3951 * sysdeps/s390/multiarch/ifunc-impl-list.c
3952 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3953 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3954 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3955 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3956 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3957 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3958 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3959 * sysdeps/s390/ifunc-wcslen.h: New file.
3960
89bfcbdf
SL
39612018-12-18 Stefan Liebler <stli@linux.ibm.com>
3962
3963 * sysdeps/s390/multiarch/Makefile
3964 (sysdep_routines): Remove memrchr variants.
3965 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3966 * sysdeps/s390/multiarch/ifunc-impl-list.c
3967 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3968 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3969 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3970 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3971 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3972 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3973 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3974 * sysdeps/s390/ifunc-memrchr.h: New file.
3975
196655ba
SL
39762018-12-18 Stefan Liebler <stli@linux.ibm.com>
3977
3978 * sysdeps/s390/multiarch/Makefile
3979 (sysdep_routines): Remove memccpy variants.
3980 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3981 * sysdeps/s390/multiarch/ifunc-impl-list.c
3982 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3983 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3984 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3985 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3986 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3987 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3988 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3989 * sysdeps/s390/ifunc-memccpy.h: New file.
3990
4c7b3cec
SL
39912018-12-18 Stefan Liebler <stli@linux.ibm.com>
3992
3993 * sysdeps/s390/multiarch/Makefile
3994 (sysdep_routines): Remove rawmemchr variants.
3995 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3996 * sysdeps/s390/multiarch/ifunc-impl-list.c
3997 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3998 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3999 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4000 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4001 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4002 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4003 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4004 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4005
581a051c
SL
40062018-12-18 Stefan Liebler <stli@linux.ibm.com>
4007
4008 * sysdeps/s390/multiarch/Makefile
4009 (sysdep_routines): Remove memchr variants.
4010 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4011 * sysdeps/s390/multiarch/ifunc-impl-list.c
4012 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4013 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4014 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4015 * sysdeps/s390/multiarch/memchr.c: Move to ...
4016 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4017 * sysdeps/s390/ifunc-memchr.h: New file.
4018 * sysdeps/s390/s390-64/memchr.S: Move to ...
4019 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4020 for 31/64bit and ifunc handling.
4021 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4022 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4023 * sysdeps/s390/s390-32/memchr.S: Likewise.
4024
5d2ec20a
SL
40252018-12-18 Stefan Liebler <stli@linux.ibm.com>
4026
4027 * sysdeps/s390/multiarch/Makefile
4028 (sysdep_routines): Remove strcspn variants.
4029 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4030 * sysdeps/s390/multiarch/ifunc-impl-list.c
4031 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4032 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4033 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4034 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4035 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4036 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4037 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4038 * sysdeps/s390/ifunc-strcspn.h: New file.
4039
572cca93
SL
40402018-12-18 Stefan Liebler <stli@linux.ibm.com>
4041
4042 * sysdeps/s390/multiarch/Makefile
4043 (sysdep_routines): Remove strpbrk variants.
4044 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4045 * sysdeps/s390/multiarch/ifunc-impl-list.c
4046 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4047 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4048 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4049 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4050 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4051 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4052 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4053 * sysdeps/s390/ifunc-strpbrk.h: New file.
4054
483fc569
SL
40552018-12-18 Stefan Liebler <stli@linux.ibm.com>
4056
4057 * sysdeps/s390/multiarch/Makefile
4058 (sysdep_routines): Remove strspn variants.
4059 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4060 * sysdeps/s390/multiarch/ifunc-impl-list.c
4061 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4062 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4063 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4064 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4065 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4066 * sysdeps/s390/multiarch/strspn.c: Move to ...
4067 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4068 * sysdeps/s390/ifunc-strspn.h: New file.
4069
26ea8760
SL
40702018-12-18 Stefan Liebler <stli@linux.ibm.com>
4071
4072 * sysdeps/s390/multiarch/Makefile
4073 (sysdep_routines): Remove strrchr variants.
4074 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4075 * sysdeps/s390/multiarch/ifunc-impl-list.c
4076 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4077 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4078 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4079 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4080 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4081 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4082 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4083 * sysdeps/s390/ifunc-strrchr.h: New file.
4084
a1361e65
SL
40852018-12-18 Stefan Liebler <stli@linux.ibm.com>
4086
4087 * sysdeps/s390/multiarch/Makefile
4088 (sysdep_routines): Remove strchrnul variants.
4089 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4090 * sysdeps/s390/multiarch/ifunc-impl-list.c
4091 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4092 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4093 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4094 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4095 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4096 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4097 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4098 * sysdeps/s390/ifunc-strchrnul.h: New file.
4099
32f12653
SL
41002018-12-18 Stefan Liebler <stli@linux.ibm.com>
4101
4102 * sysdeps/s390/multiarch/Makefile
4103 (sysdep_routines): Remove strchr variants.
4104 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4105 * sysdeps/s390/multiarch/ifunc-impl-list.c
4106 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4107 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4108 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4109 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4110 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4111 * sysdeps/s390/multiarch/strchr.c: Move to ...
4112 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4113 * sysdeps/s390/ifunc-strchr.h: New file.
4114
316b8842
SL
41152018-12-18 Stefan Liebler <stli@linux.ibm.com>
4116
4117 * sysdeps/s390/multiarch/Makefile
4118 (sysdep_routines): Remove strncmp variants.
4119 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4120 * sysdeps/s390/multiarch/ifunc-impl-list.c
4121 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4122 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4123 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4124 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4125 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4126 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4127 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4128 * sysdeps/s390/ifunc-strncmp.h: New file.
4129
cdab85fe
SL
41302018-12-18 Stefan Liebler <stli@linux.ibm.com>
4131
4132 * sysdeps/s390/multiarch/Makefile
4133 (sysdep_routines): Remove strcmp variants.
4134 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4135 * sysdeps/s390/multiarch/ifunc-impl-list.c
4136 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4137 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4138 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4139 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4140 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4141 * sysdeps/s390/ifunc-strcmp.h: New file.
4142 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4143 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4144 for 31/64bit and ifunc handling.
4145 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4146 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4147 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4148
b9353351
SL
41492018-12-18 Stefan Liebler <stli@linux.ibm.com>
4150
4151 * sysdeps/s390/multiarch/Makefile
4152 (sysdep_routines): Remove strncat variants.
4153 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4154 * sysdeps/s390/multiarch/ifunc-impl-list.c
4155 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4156 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4157 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4158 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4159 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4160 * sysdeps/s390/multiarch/strncat.c: Move to ...
4161 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4162 * sysdeps/s390/ifunc-strncat.h: New file.
4163
8e5a0afb
SL
41642018-12-18 Stefan Liebler <stli@linux.ibm.com>
4165
4166 * sysdeps/s390/multiarch/Makefile
4167 (sysdep_routines): Remove strcat variants.
4168 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4169 * sysdeps/s390/multiarch/ifunc-impl-list.c
4170 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4171 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4172 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4173 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4174 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4175 * sysdeps/s390/multiarch/strcat.c: Move to ...
4176 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4177 * sysdeps/s390/ifunc-strcat.h: New file.
4178
25218822
SL
41792018-12-18 Stefan Liebler <stli@linux.ibm.com>
4180
4181 * sysdeps/s390/multiarch/Makefile
4182 (sysdep_routines): Remove stpncpy variants.
4183 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4184 * sysdeps/s390/multiarch/ifunc-impl-list.c
4185 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4186 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4187 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4188 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4189 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4190 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4191 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4192 * sysdeps/s390/ifunc-stpncpy.h: New file.
4193
d1bdbf38
SL
41942018-12-18 Stefan Liebler <stli@linux.ibm.com>
4195
4196 * sysdeps/s390/multiarch/Makefile
4197 (sysdep_routines): Remove strncpy variants.
4198 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4199 * sysdeps/s390/multiarch/ifunc-impl-list.c
4200 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4201 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4202 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4203 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4204 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4205 * sysdeps/s390/ifunc-strncpy.h: New file.
4206 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4207 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4208 and adjust ifunc handling.
4209 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4210 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4211 and adjust ifunc handling.
4212 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4213 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4214
97044931
SL
42152018-12-18 Stefan Liebler <stli@linux.ibm.com>
4216
4217 * sysdeps/s390/multiarch/Makefile
4218 (sysdep_routines): Remove stpcpy variants.
4219 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4220 * sysdeps/s390/multiarch/ifunc-impl-list.c
4221 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4222 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4223 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4224 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4225 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4226 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4227 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4228 * sysdeps/s390/ifunc-stpcpy.h: New file.
4229
914a4e05
SL
42302018-12-18 Stefan Liebler <stli@linux.ibm.com>
4231
4232 * sysdeps/s390/multiarch/Makefile
4233 (sysdep_routines): Remove strcpy variants.
4234 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4235 * sysdeps/s390/multiarch/ifunc-impl-list.c
4236 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4237 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4238 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4239 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4240 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4241 * sysdeps/s390/ifunc-strcpy.h: New file.
4242 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4243 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4244 for 31/64bit and ifunc handling.
4245 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4246 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4247 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4248
de10e44d
SL
42492018-12-18 Stefan Liebler <stli@linux.ibm.com>
4250
4251 * sysdeps/s390/multiarch/Makefile
4252 (sysdep_routines): Remove strnlen variants.
4253 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4254 * sysdeps/s390/multiarch/ifunc-impl-list.c
4255 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4256 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4257 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4258 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4259 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4260 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4261 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4262 * sysdeps/s390/ifunc-strnlen.h: New file.
4263
ff3ca374
SL
42642018-12-18 Stefan Liebler <stli@linux.ibm.com>
4265
4266 * sysdeps/s390/multiarch/Makefile
4267 (sysdep_routines): Remove strlen variants.
4268 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4269 * sysdeps/s390/multiarch/ifunc-impl-list.c
4270 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4271 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4272 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4273 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4274 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4275 * sysdeps/s390/multiarch/strlen.c: Move to ...
4276 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4277 * sysdeps/s390/ifunc-strlen.h: New file.
4278
d2c4c403
SL
42792018-12-18 Stefan Liebler <stli@linux.ibm.com>
4280
4281 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4282 * sysdeps/s390/multiarch/ifunc-impl-list.c
4283 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4284 * sysdeps/s390/ifunc-memmem.h: New file.
4285 * sysdeps/s390/memmem.c: Likewise.
4286 * sysdeps/s390/memmem-c.c: Likewise.
4287 * sysdeps/s390/memmem-vx.c: Likewise.
4288
8c25dddd
SL
42892018-12-18 Stefan Liebler <stli@linux.ibm.com>
4290
4291 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4292 * sysdeps/s390/multiarch/ifunc-impl-list.c
4293 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4294 * sysdeps/s390/ifunc-strstr.h: New file.
4295 * sysdeps/s390/strstr.c: Likewise.
4296 * sysdeps/s390/strstr-c.c: Likewise.
4297 * sysdeps/s390/strstr-vx.c: Likewise.
4298
cdd927d9
SL
42992018-12-18 Stefan Liebler <stli@linux.ibm.com>
4300
4301 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4302 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4303 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4304 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4305 New defines.
4306 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4307 * sysdeps/s390/memmove-c.c: New file.
4308 * sysdeps/s390/memmove.c: Likewise.
4309 * sysdeps/s390/multiarch/ifunc-impl-list.c
4310 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4311
2ee1bc57
SL
43122018-12-18 Stefan Liebler <stli@linux.ibm.com>
4313
4314 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4315 * sysdeps/s390/configure.ac: Add check for z13 support.
4316 * sysdeps/s390/configure: Regenerated.
4317
d097d976
SL
43182018-12-18 Stefan Liebler <stli@linux.ibm.com>
4319
4320 * sysdeps/s390/memcopy.h: New file.
4321
e099aab0
SL
43222018-12-18 Stefan Liebler <stli@linux.ibm.com>
4323
4324 * sysdeps/s390/s390-32/bcopy.S: Remove.
4325 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4326
18eb862d
SL
43272018-12-18 Stefan Liebler <stli@linux.ibm.com>
4328
4329 * sysdeps/s390/ifunc-memcpy.h: New File.
4330 * sysdeps/s390/memcpy.S: Move to ...
4331 * sysdeps/s390/memcpy-z900.S ... here.
4332 Move implementations from memcpy-s390x.s to here.
4333 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4334 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4335 Remove memcpy/mempcpy variants.
4336 * sysdeps/s390/Makefile (sysdep_routines):
4337 Add memcpy/mempcpy variants.
4338 * sysdeps/s390/multiarch/ifunc-impl-list.c
4339 (__libc_ifunc_impl_list): Adjust ifunc variants for
4340 memcpy and mempcpy.
4341 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4342 to ...
4343 * sysdeps/s390/memcpy.c: ... here.
4344 Adjust ifunc variants for memcpy.
4345 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4346 * sysdeps/s390/mempcpy.c: ... here.
4347 Adjust ifunc variants for mempcpy.
4348 * sysdeps/s390/mempcpy.S: Delete file.
4349
df3eb8de
SL
43502018-12-18 Stefan Liebler <stli@linux.ibm.com>
4351
4352 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4353 * sysdeps/s390/memcpy.S: ... here.
4354 Adjust to be usable for 31/64bit.
4355 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4356 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4357 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4358 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4359 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4360 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4361 Adjust to be usable for 31/64bit.
4362 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4363 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4364 * sysdeps/s390/multiarch/memcpy.c: ... here.
4365 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4366
b7e024a8
SL
43672018-12-18 Stefan Liebler <stli@linux.ibm.com>
4368
4369 * sysdeps/s390/ifunc-memcmp.h: New File.
4370 * sysdeps/s390/memcmp.S: Move to ...
4371 * sysdeps/s390/memcmp-z900.S ... here.
4372 Move implementations from memcmp-s390x.s to here.
4373 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4374 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4375 Remove memcmp variants.
4376 * sysdeps/s390/Makefile (sysdep_routines):
4377 Add memcmp variants.
4378 * sysdeps/s390/multiarch/ifunc-impl-list.c
4379 (__libc_ifunc_impl_list): Adjust ifunc variants for
4380 memcmp.
4381 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4382 to ...
4383 * sysdeps/s390/memcmp.c: ... here.
4384 Adjust ifunc variants for memcmp.
4385
6c6b8c74
SL
43862018-12-18 Stefan Liebler <stli@linux.ibm.com>
4387
4388 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4389 * sysdeps/s390/memcmp.S: ... here.
4390 Adjust to be usable for 31/64bit.
4391 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4392 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4393 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4394 Remove memcmp.
4395 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4396 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4397 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4398 Adjust to be usable for 31/64bit.
4399 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4400 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4401 * sysdeps/s390/multiarch/memcmp.c: ... here.
4402 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4403
07be3928
SL
44042018-12-18 Stefan Liebler <stli@linux.ibm.com>
4405
4406 * sysdeps/s390/s390-32/bzero.S: Delete file.
4407 * sysdeps/s390/s390-64/bzero.S: Likewise.
4408 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4409 * sysdeps/s390/bzero.c: New file.
4410 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4411 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4412 * sysdeps/s390/multiarch/ifunc-impl-list.c
4413 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4414
712a254a
SL
44152018-12-18 Stefan Liebler <stli@linux.ibm.com>
4416
4417 * sysdeps/s390/ifunc-memset.h: New File.
4418 * sysdeps/s390/memset.S: Move to ...
4419 * sysdeps/s390/memset-z900.S ... here.
4420 Move implementations from memset-s390x.s to here.
4421 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4422 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4423 Remove memset variants.
4424 * sysdeps/s390/Makefile (sysdep_routines):
4425 Add memset variants.
4426 * sysdeps/s390/multiarch/ifunc-impl-list.c
4427 (__libc_ifunc_impl_list): Adjust ifunc variants for
4428 memset.
4429 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4430 to ...
4431 * sysdeps/s390/memset.c: ... here.
4432 Adjust ifunc variants for memset.
4433
5f1743d1
SL
44342018-12-18 Stefan Liebler <stli@linux.ibm.com>
4435
4436 * sysdeps/s390/s390-64/memset.S: Move to ...
4437 * sysdeps/s390/memset.S: ... here.
4438 Adjust to be usable for 31/64bit.
4439 * sysdeps/s390/s390-32/memset.S: Delete File.
4440 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4441 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4442 Remove memset.
4443 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4444 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4445 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4446 Adjust to be usable for 31/64bit.
4447 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4448 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4449 * sysdeps/s390/multiarch/memset.c: ... here.
4450 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4451
e8023f26
SL
44522018-12-18 Stefan Liebler <stli@linux.ibm.com>
4453
4454 * sysdeps/s390/multiarch/ifunc-resolve.h
4455 (s390_libc_ifunc_init, s390_libc_ifunc,
4456 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4457
b8686c0d
SL
44582018-12-18 Stefan Liebler <stli@linux.ibm.com>
4459
4460 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4461 * sysdeps/s390/configure.ac: Add check for z10 support.
4462 * sysdeps/s390/configure: Regenerated.
4463
cd815050
L
44642018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4465
4466 * sysdeps/i386/atomic-machine.h: Merged with ...
4467 * sysdeps/x86_64/atomic-machine.h: To ...
4468 * sysdeps/x86/atomic-machine.h: This. New file.
4469
053c52b1
FW
44702018-12-18 Florian Weimer <fweimer@redhat.com>
4471
4472 Rewrite locale/gen-translit.pl in Python.
4473 * locale/Makefile (generated): Add C-translit.h.
4474 (before-compile): Add $(objpfx)C-translit.h.
4475 (C-translit.h): Move to $(objpfx). Create target directory.
4476 Build using Python script.
4477 * locale/gen-translit.py: New file.
4478 * locale/gen-translit.pl: Remove file.
4479 * locale/C-translit.h.in: Change comment character to '#' for
4480 easier parsing without a C preprocessor.
4481 * locale/C-translit.h: Remove generated file.
4482 * manual/install.texi (Tools for Compilation): Do not mention
4483 C-translit.h.
4484 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4485 Remove locale/C-translit.h.
4486 * scripts/update-copyrights: Likewise.
4487 * INSTALL: Regenerate.
4488
40e6c1ec
FW
44892018-12-18 Florian Weimer <fweimer@redhat.com>
4490
4491 [BZ #23995]
4492 * localedata/locales/bi_VU: Remove executable bit from file.
4493
6b5c8607 44942018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
4495
4496 * include/time.h
4497 (__localtime64): Add.
4498 * manual/maint.texi: Document Y2038 symbol handling.
4499 * time/localtime.c
4500 (__localtime64): Add.
bfb79db4 4501 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 4502
df648905
JM
45032018-12-17 Joseph Myers <joseph@codesourcery.com>
4504
551e81d9
JM
4505 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4506 Do not clobber r12.
4507
df648905
JM
4508 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4509 to allow extra macros from first or second sources.
4510 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4511 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4512 (tests-special): Add $(objpfx)tst-mman-consts.out.
4513 ($(objpfx)tst-mman-consts.out): New makefile target.
4514
6bbfc5c0
MH
45152018-12-17 Mao Han <han_mao@c-sky.com>
4516
4517 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4518 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4519 without stat64 system call support.
4520 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4521 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4522 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4523 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4524 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4525 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4526 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4527 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4528 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4529 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4530 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4531
ef202e53
PE
45322018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4533
4534 regex: fix storage-exhaustion error
4535 [BZ #18040]
4536 * posix/regexec.c (get_subexp):
4537 Do not continue if storage is exhausted.
4538
077caf61
AG
45392018-12-15 Assaf Gordon <assafgordon@gmail.com>
4540
4541 regex: fix heap-use-after-free error
4542 [BZ #18040]
4543 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4544 https://debbugs.gnu.org/32592
4545 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4546 call extend_buffers which reallocates the re_string_t internal buffer.
4547 Local variable 'buf' was not updated in such case, resulting in
4548 use-after-free.
4549 * posix/regexec.c (get_subexp): Update 'buf' after call to
4550 get_subexp_sub.
4551
0c1719e6
FW
45522018-12-15 Florian Weimer <fweimer@redhat.com>
4553
4554 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4555 (minimum_stride_size): Use it.
4556 (support_blob_repeat_allocate): Likewise.
4557
033a2c0a
JM
45582018-12-14 Joseph Myers <joseph@codesourcery.com>
4559
4560 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4561 definition.
4562 (acosh): Likewise.
4563 (atanh): Likewise.
4564
e361dc04
FW
45652018-12-14 Florian Weimer <fweimer@redhat.com>
4566
4567 * manual/process.texi (Process Creation Concepts): Remove
4568 documentation of process (ID) lifetime. List more process
4569 creation functions. Reference Process Identification section.
4570 (Process Identification): Add information about process ID
4571 lifetime. Describe Linux thread/task IDs.
4572 * manual/signal.texi (Signaling Another Process): Mention that the
4573 signal is always sent to the process.
4574
bd51ff5e
GG
45752018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4576
4577 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4578 and tst-ldbl-efgcvt.
4579 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4580 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4581 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4582 (fcvt_tests, output_error, output_r_error, do_test): Use the
4583 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4584 select the type of floating-point variables and arguments; to
4585 produce extra tests for double and conversion specifiers for
4586 printf; and to set the names of called functions.
4587 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4588 in tst-efgcvt-template.c.
4589 * misc/tst-ldbl-efgcvt.c: Likewise.
4590
268bb71e
SL
45912018-12-14 Stefan Liebler <stli@linux.ibm.com>
4592
4593 * nss/Makefile (tst-nss-test3.out): New rule.
4594
db6df070
JM
45952018-12-13 Joseph Myers <joseph@codesourcery.com>
4596
4597 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4598 clobber sp.
4599
ade8b817
CD
46002018-12-13 fanjinke <fanjinke@hygon.cn>
4601
4602 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4603 "HygonGenuine".
4604
3d265911
AS
46052018-12-13 Andreas Schwab <schwab@suse.de>
4606
f21e8f8c 4607 [BZ #23861]
3d265911 4608 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
4609 (__pthread_rwlock_rdlock_full): Update expected value for
4610 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4611 * nptl/tst-rwlock-pwn.c: New file.
4612 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 4613
bf8ae8c0
JM
46142018-12-12 Joseph Myers <joseph@codesourcery.com>
4615
4616 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4617 definition.
4618
de099757
LS
46192018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4620
4621 * benchtests/scripts/compare_bench.py (do_compare): write to
4622 stderr in casestat is not present.
4623 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4624 stderr in case timings field is not present. Also string showing
4625 the output filename goes into the stderr.
4626
1990185f
LS
46272018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4628
4629 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4630 and ZeroDivisorError exceptions.
4631 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4632 argument to loop through user provided statistics.
4633 * benchtests/scripts/compare_bench.py (main): Include the --stats
4634 argument.
4635
587426d4
LS
46362018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4637
4638 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4639 instead of return.
4640
46703efa
FW
46412018-12-12 Florian Weimer <fweimer@redhat.com>
4642
4643 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4644 clause to copyright header.
4645
1d880d4a
TMQMF
46462018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4647
4648 [BZ #23614]
4649 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4650 registers saved in the stack frame.
4651 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4652 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4653
1a502f52
GG
46542018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4655
4656 * include/bits/monetary-ldbl.h: New file.
4657 * include/bits/printf-ldbl.h: Likewise.
4658 * include/bits/stdio-ldbl.h: Likewise.
4659 * include/bits/stdlib-ldbl.h: Likewise.
4660 * include/bits/syslog-ldbl.h: Likewise.
4661 * include/bits/wchar-ldbl.h: Likewise.
4662
df682d1d
GG
46632018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4664
4665 * libio/libio.h: Remove redirection for _IO_vfprintf.
4666
c2c082c1
AS
46672018-12-11 Andreas Schwab <schwab@suse.de>
4668
4669 * Makerules: Remove all references to abilist-pattern.
4670 (update-all-abi): Simplify find expression.
4671
505b5b29
SN
46722018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4673
4674 [BZ #23961]
4675 * math/auto-libm-test-in: Add new test case.
4676 * math/auto-libm-test-out-pow: Regenerated.
4677 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4678
304c61a2
DD
46792018-12-10 DJ Delorie <dj@redhat.com>
4680
4681 [BZ #23948]
4682 * support/test-container.c: Move postclean step to before we
4683 change namespaces.
4684
a8110b72
JM
46852018-12-10 Joseph Myers <joseph@codesourcery.com>
4686
cb7be159
JM
4687 * scripts/gen-as-const.py (main): Handle --python option.
4688 * scripts/gen-py-const.awk: Remove.
4689 * Makerules (py-const-script): Use gen-as-const.py.
4690 ($(py-const)): Likewise.
4691 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4692 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4693 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4694 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4695 ~PTHREAD_MUTEX_NO_ELISION_NP.
4696 * manual/README.pretty-printers: Update reference to
4697 gen-py-const.awk.
4698
a8110b72
JM
4699 * scripts/glibcextract.py: New file.
4700 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4701 or tempfile. Import glibcexctract.
4702 (compute_c_consts): Remove. Moved to glibcextract.py.
4703 (gen_test): Update reference to compute_c_consts.
4704 (main): Likewise.
4705 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4706 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4707 * sysdeps/unix/sysv/linux/Makefile
4708 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4709 Redirect stderr as well as stdout.
4710
f9ba9eb8
RÁE
47112018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4712
4713 [BZ #19767]
4714 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
4715 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4716 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 4717 ALWAYS_USE_VSYSCALL.
b39d961c 4718 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
4719 ALWAYS_USE_VSYSCALL.
4720 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4721 ALWAYS_USE_VSYSCALL.
4722
8d20a2f4
FW
47232018-12-10 Florian Weimer <fweimer@redhat.com>
4724
4725 [BZ #23972]
4726 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4727 offset instead of count for clarity. Fix typo in comment.
4728 (__old_getdents64): Keep track of previous offset. Use it to call
4729 handle_overflow.
4730 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4731 that d_off is never zero.
4732
80472e2f
AS
47332018-12-10 Andreas Schwab <schwab@suse.de>
4734
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4736 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4738 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4739 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4740
0afcb29d
JM
47412018-12-10 Joseph Myers <joseph@codesourcery.com>
4742
4743 * timezone/private.h: Update from tzcode 2018g.
4744 * timezone/tzfile.h: Likewise.
4745 * timezone/tzselect.ksh: Likewise.
4746 * timezone/zdump.c: Likewise.
4747 * timezone/zic.c: Likewise.
4748
b93f4052
PP
47492018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4750
4751 [BZ #23490]
4752 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4753 (do_test): Adjust buffer size and fix format.
4754
7c9a7c68
DD
47552018-12-07 DJ Delorie <dj@redhat.com>
4756
4757 [BZ #23907]
4758 * malloc/tst-tcfree3.c: New.
4759 * malloc/Makefile: Add it.
4760
37caec3a
L
47612018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4762
4763 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4764
10446f5d
GG
47652018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4766
4767 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4768 used as a mask for the mode argument of __vfscanf_internal and
4769 __vfwscanf_internal.
4770 * stdio-common/vfscanf-internal.c
4771 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4772 (__strtof128_internal): Define to __wcstof128_internal.
4773 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4774 __strtof128_internal or __wcstof128_internal when the format of
4775 long double is the same as _Float128.
4776
45f33aac
ST
47772018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4778
4779 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4780 * posix/confstr.c (confstr): Rename to __confstr.
4781 (__confstr): Add hidden def.
4782 (confstr): Add weak alias for __confstr.
4783 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4784 confstr.
4785
a092ca94
L
47862018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4787
4788 * NEWS: Mention getcpu.
4789 * include/sched.h (__getcpu): New libc_hidden_proto.
4790 * manual/resource.texi: Document getcpu.
4791 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4792 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4793 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4794 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4795 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4796 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4797 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4798 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4803 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4804 Likewise.
4805 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4806 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4807 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4809 Likewise.
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4811 Likewise.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4813 Likewise.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4815 Likewise.
4816 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4817 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4818 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4819 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4820 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4821 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4822 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4823 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4824 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4825 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4826 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4827 Also check getcpu.
4828
7c857b6f
ST
48292018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4830
4831 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4832 functions.
4833 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4834
3a3fb755
FW
48352018-12-07 Florian Weimer <fweimer@redhat.com>
4836
4837 [BZ #17405]
4838 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4839 * posix/Versions (GLIBC_2.29): Export
4840 posix_spawn_file_actions_addfchdir_np.
4841 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4842 * posix/spawn_faction_destroy.c
4843 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4844 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4845 and the field action.fchdir_action.
4846 * posix/tst-spawn-chdir.c (add_chdir): New function.
4847 (do_test): Add do_fchdir loop. Call add_chdir.
4848 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4849 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4850 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4851 posix_spawn_file_actions_addfchdir_np.
4852 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4853 Likewise.
4854 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4855 Likewise.
4856 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4857 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4858 Likewise.
4859 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4860 Likewise.
4861 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4862 Likewise.
4863 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4864 Likewise.
4865 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4866 Likewise.
4867 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4868 Likewise.
4869 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4870 (GLIBC_2.29): Likewise.
4871 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4872 (GLIBC_2.29): Likewise.
4873 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4874 (GLIBC_2.29): Likewise.
4875 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4876 (GLIBC_2.29): Likewise.
4877 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4878 Likewise.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4880 (GLIBC_2.29): Likewise.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4882 (GLIBC_2.29): Likewise.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4884 (GLIBC_2.29): Likewise.
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4886 (GLIBC_2.29): Likewise.
4887 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4888 Likewise.
4889 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4890 Likewise.
4891 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4892 Likewise.
4893 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4894 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4895 Likewise.
4896 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4897 Likewise.
4898 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4899 Likewise.
4900 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4901 Likewise.
4902
c37cd439
JM
49032018-12-06 Joseph Myers <joseph@codesourcery.com>
4904
4905 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4906 trailing whitespace removed.
4907 * scripts/config.guess: Update to version 2018-11-28.
4908 * scripts/config.sub: Update to version 2018-11-28.
4909 * scripts/install-sh: Update to version 2018-03-11.20.
4910 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4911 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4912
899478c2
FW
49132018-12-07 Florian Weimer <fweimer@redhat.com>
4914
4915 [BZ #23927]
4916 CVE-2018-19591
4917 * inet/tst-if_index-long.c: New file.
4918 * inet/Makefile (tests): Add tst-if_index-long.
4919
f255336a
FW
49202018-12-07 Florian Weimer <fweimer@redhat.com>
4921
4922 * support/check.h (support_record_failure_is_failed): Declare.
4923 * support/descriptors.h: New file.
4924 * support/support_descriptors.c: Likewise.
4925 * support/tst-support_descriptors.c: Likewise.
4926 * support/support_record_failure.c
4927 (support_record_failure_is_failed): New function.
4928 * support/Makefile (libsupport-routines): Add support_descriptors.
4929 (tests): Add tst-support_descriptors.
4930
35caceb1
ZW
49312018-12-05 Zack Weinberg <zackw@panix.com>
4932 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4933
4934 * stdio-common/vfprintf-internal.c
4935 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4936 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4937 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4938 and __no_long_double.
4939 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4940 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4941 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4942 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4943 and __nldbl_*syslog* functions.
4944 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4945 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4946 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4947 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4948 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4949 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4950 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4951 (__nldbl_vwprintf, __nldbl_wprintf):
4952 Directly call the appropriate __v*printf_internal routine, passing
4953 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4954 variable names.
4955 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4956 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4957 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4958 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4959 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4960 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4961 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4962 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4963 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4964 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4965 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4966 (__nldbl_syslog, __nldbl_vsyslog):
4967 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4968 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4969 appropriate.
4970 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4971 appropriate.
4972
4e2f43f8
ZW
49732018-12-05 Zack Weinberg <zackw@panix.com>
4974 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4975
4976 [BZ #11319]
4977 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4978 Moved here from debug/vsprintf_chk.c.
4979 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4980 and completion logic for the strfile to match exactly what
4981 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4982 _IO_str_init_static_internal instead of maxlen-1.
4983 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4984 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4985 __vsprintf_internal.
4986
4987 * debug/vsprintf_chk.c (__vsprintf_chk)
4988 * debug/sprintf_chk.c (__sprintf_chk):
4989 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4990 'flags' argument is positive, and slen as maxlen. No need to lock
4991 the FILE and/or construct a temporary FILE. Minimize and normalize
4992 header inclusions and variable names. Do not libc_hidden_def anything.
4993
4994 * debug/asprintf_chk.c (__asprintf_chk)
4995 * debug/dprintf_chk.c (__dprintf_chk)
4996 * debug/fprintf_chk.c (__fprintf_chk)
4997 * debug/fwprintf_chk.c (__fwprintf_chk)
4998 * debug/printf_chk.c (__printf_chk)
4999 * debug/snprintf_chk.c (__snprintf_chk)
5000 * debug/swprintf_chk.c (__swprintf_chk)
5001 * debug/vasprintf_chk.c (__vasprintf_chk)
5002 * debug/vdprintf_chk.c (__vdprintf_chk)
5003 * debug/vfprintf_chk.c (__vfprintf_chk)
5004 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5005 * debug/vprintf_chk.c (__vprintf_chk)
5006 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5007 * debug/vswprintf_chk.c (__vswprintf_chk)
5008 * debug/vwprintf_chk.c (__vwprintf_chk)
5009 * debug/wprintf_chk.c (__wprintf_chk):
5010 Directly call the corresponding vxxprintf_internal function, passing
5011 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5012 the FILE and/or construct a temporary FILE. Minimize and normalize
5013 header inclusions and variable names. Do not libc_hidden_def anything.
5014
5015 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5016 __obstack_vprintf_internal.
5017 (__obstack_vprintf_chk): Convert into a wrapper that calls
5018 __obstack_vprintf_internal (these two functions already had the
5019 same code) and move to new file...
5020 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5021 file.
5022 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5023 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5024 * debug/Makefile (routines): Add vobprintf_chk.
5025
5026 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5027 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5028 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5029 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5030 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5031 (__nldbl___obstack_vfprintf_chk):
5032 Directly call the corresponding vxxprintf_internal function,
5033 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5034 duplicate comparison of slen with 0 or maxlen from the corresponding
5035 non-__nldbl function.
5036
5037 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5038 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5039 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5040 Remove libc_hidden_proto.
5041
5042 * stdio-common/vfprintf-internal.c
5043 (__vfprintf_internal, __vfwprintf_internal):
5044 Do not check _IO_FLAGS2_FORTIFY.
5045 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5046 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5047 a comment explaining why it has the maxlen argument.
5048 (_IO_acquire_lock_clear_flags2_fct): Remove.
5049 (_IO_acquire_lock_clear_flags2): Remove.
5050 (_IO_release_lock): Remove conditional statement which will
5051 now never execute.
5052 (_IO_acquire_lock): Remove variable which is now unused.
5053 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5054 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5055
5056 * stdio-common/Makefile (tests): Add tst-bz11319 and
5057 tst-bz11319-fortify2.
5058 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5059 * stdio-common/tst-bz11319-fortify2.c: New file.
5060 * stdio-common/tst-bz11319.c: Likewise.
5061
124fc732
ZW
50622018-12-05 Zack Weinberg <zackw@panix.com>
5063 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5064
5065 * misc/syslog.c: Include libioP.h, not iolibio.h.
5066 (__vsyslog_internal): New function with the former body of
5067 __vsyslog_chk; takes mode_flags argument same as
5068 __v*printf_internal. Call __vfprintf_internal directly.
5069
5070 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5071 Remove libc_hidden_def.
5072 (__syslog, __syslog_chk): Use __vsyslog_internal.
5073 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5074
5075 * include/sys/syslog.h: Add multiple inclusion guard.
5076 Add prototype for __vsyslog_internal.
5077 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5078
5079 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5080 Use __vsyslog_internal.
5081
698fb75b
ZW
50822018-12-05 Zack Weinberg <zackw@panix.com>
5083 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5084
5085 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5086 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5087 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5088 New functions.
5089 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5090 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5091
5092 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5093 Include wctype.h here if COMPILE_WPRINTF is defined.
5094 Define __vfprintf_internal or __vfwprintf_internal, depending
5095 on COMPILE_WPRINTF.
5096 Temporarily, on entry to this function, update mode_flags
5097 according to the environmental settings corresponding to
5098 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5099 Throughout, check mode_flags instead of __ldbl_is_dbl and
5100 _IO_FLAGS2_FORTIFY on the destination FILE.
5101 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5102 Include vfprintf-internal.c. Don't include wctype.h.
5103 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5104 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5105 and vfprintf.
5106 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5107 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5108 and vfwprintf.
5109 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5110
5111 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5112 and add mode_flags argument; use __vfprintf_internal.
5113 (__vdprintf): New function. Alias vdprintf to this.
5114 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5115 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5116 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5117 (__obstack_printf): Use __obstack_printf_internal.
5118 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5119 public aliases __vsnprintf and vsnprintf.
5120 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5121 called internally.
5122 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5123 public aliases _IO_vsprintf and vsprintf.
5124 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5125 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5126 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5127 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5128 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5129
5130 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5131 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5132 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5133 * stdio-common/printf.c: Use __vfprintf_internal.
5134
5135 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5136 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5137 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5138
5139 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5140 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5141 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5142 __vfwprintf_internal.
5143
5144 * libio/libio.h: Remove libc_hidden_proto and declaration for
5145 _IO_vfprintf.
5146 Remove declaration of _IO_vfwprintf.
5147 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5148 _IO_vsprintf.
5149 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5150 _IO_obstack_printf.
5151 * include/stdio.h: Add prototype for __vasprintf.
5152 (__vsnprintf): Remove declaration, because there are no more
5153 internal calls.
5154 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5155 declaration, because there are no more internal calls.
5156
5157 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5158 __vsnprintf_internal, instead of _IO_vsnprintf.
5159 * argp/argp-help.c (__argp_error, __argp_failure): Use
5160 __vasprintf_internal, instead of _IO_vasprintf.
5161 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5162 redefine, because there are no more internal calls.
5163
d91798b3
ZW
51642018-12-05 Zack Weinberg <zackw@panix.com>
5165 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5166
5167 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5168 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5169 Include libio/strfile.h instead of libioP.h.
5170 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5171 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5172 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5173 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5174 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5175 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5176 necessary. Do not set __no_long_double. Normalize variable names.
5177 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5178 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5179 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5180 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5181 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5182 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5183 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5184 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5185 Do not set __no_long_double. Normalize variable names.
5186
b87eb3f8
ZW
51872018-12-05 Zack Weinberg <zackw@panix.com>
5188 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5189
5190 * stdio-common/isoc99_scanf.c
5191 * stdio-common/isoc99_fscanf.c
5192 * stdio-common/isoc99_sscanf.c
5193 * stdio-common/isoc99_vscanf.c
5194 * stdio-common/isoc99_vfscanf.c
5195 * stdio-common/isoc99_vsscanf.c
5196 * wcsmbs/isoc99_wscanf.c
5197 * wcsmbs/isoc99_fwscanf.c
5198 * wcsmbs/isoc99_swscanf.c
5199 * wcsmbs/isoc99_vwscanf.c
5200 * wcsmbs/isoc99_vfwscanf.c
5201 * wcsmbs/isoc99_vswscanf.c:
5202 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5203 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5204 No need to lock and unlock the FILE passed to that function.
5205
5206 * stdio-common/vfscanf-internal.c
5207 (__vfscanf_internal, __vfwscanf_internal):
5208 Don't look at _IO_FLAGS2_SCANF_STD.
5209 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5210 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5211 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5212
349718d4
ZW
52132018-12-05 Zack Weinberg <zackw@panix.com>
5214 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5215
5216 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5217 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5218 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5219 * libio/strfile.h: Add multiple inclusion guard.
5220 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5221
5222 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5223 consistency with the other version of this file.
5224 (ldbl_compat_symbol): New macro.
5225 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5226 New macro.
5227
5228 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5229 Define __vfscanf_internal or __vfwscanf_internal, depending on
5230 COMPILE_WSCANF; don't define any other public symbols.
5231 Remove errval and code to set errp.
5232 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5233 as the mode_flags argument.
5234 (encode_error, conv_error, input_error): Don't set errval.
5235 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5236 Include vfscanf-internal.c.
5237 * stdio-common/vfscanf.c: New file defining the public entry
5238 point vfscanf, which calls __vfscanf_internal.
5239 * stdio-common/vfwscanf.c: New file defining the public entry
5240 point vfwscanf, which calls __vfwscanf_internal.
5241
5242 * stdio-common/iovfscanf.c: New file.
5243 * stdio-common/iovfwscanf.c: Likewise.
5244
5245 * stdio-common/Makefile (routines): Add vfscanf-internal,
5246 vfwscanf-internal, iovfscanf, iovfwscanf.
5247 * stdio-common/Versions: Mention GLIBC_2.29, so that
5248 it can be used in SHLIB_COMPAT expressions.
5249 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5250 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5251 Call __vfscanf_internal, instead of _IO_vfscanf.
5252 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5253 _IO_vfscanf.
5254 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5255 _IO_vfwscanf.
5256
5257 * libio/iovsscanf.c: Clean up includes, when possible. Use
5258 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5259 __vfscanf_internal or __vfwscanf_internal directly.
5260 * libio/iovswscanf.c: Likewise.
5261 * libio/swscanf.c: Likewise.
5262 * libio/vscanf.c: Likewise.
5263 * libio/vwscanf.c: Likewise.
5264 * libio/wscanf.c: Likewise.
5265 * stdio-common/isoc99_fscanf.c: Likewise.
5266 * stdio-common/isoc99_scanf.c: Likewise.
5267 * stdio-common/isoc99_sscanf.c: Likewise.
5268 * stdio-common/isoc99_vfscanf.c: Likewise.
5269 * stdio-common/isoc99_vscanf.c: Likewise.
5270 * stdio-common/isoc99_vsscanf.c: Likewise.
5271 * stdio-common/scanf.c: Likewise.
5272 * stdio-common/sscanf.c: Likewise.
5273 * wcsmbs/isoc99_fwscanf.c: Likewise.
5274 * wcsmbs/isoc99_swscanf.c: Likewise.
5275 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5276 * wcsmbs/isoc99_vswscanf.c: Likewise.
5277 * wcsmbs/isoc99_vwscanf.c: Likewise.
5278 * wcsmbs/isoc99_wscanf.c: Likewise.
5279
6b5c8607 52802018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
5281
5282 * include/time.h
5283 (__tz_compute): Replace time_t with __time64_t.
5284 (__tz_convert): Replace time_t* with __time64_t.
5285 (__offtime): Replace time_t* with __time64_t.
5286 * time/gmtime.c
5287 (__gmtime_r): Adjust call to __tz_convert.
5288 (gmtime): Likewise.
5289 * time/localtime.c
5290 (__localtime_r): Likewise.
5291 (localtime): Likewise.
5292 * time/offtime.c: Replace time_t with __time64_t.
5293 * time/tzset.c: Likewise.
5294
bd598da9
JM
52952018-12-04 Joseph Myers <joseph@codesourcery.com>
5296
5297 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5298 dynamic linker unless [$(run-built-tests) = yes].
5299
b2e93de0
DD
53002018-12-03 DJ Delorie <dj@delorie.com>
5301
5302 * support/test-container.c (check_for_unshare_hints): New.
5303 (main): Call it if unshare fails. Add support for "su" scriptlet
5304 command.
5305
477a02f6
JM
53062018-12-03 Joseph Myers <joseph@codesourcery.com>
5307
5308 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5309 'START' to indicate that start text should be output.
5310 (gen_test): Likewise.
5311 (main): Generate 'START' for first symbol or '--' line, or at end
5312 of input if not previously generated.
5313
6af956e5
RÁE
53142018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5315
5316 [BZ #19767]
5317 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5318 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5319 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5320 ALWAYS_USE_VSYSCALL.
5321
f5ec0ea9
AZ
53222018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5323
5324 [BZ #23913]
5325 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5326 new_argv by one.
5327
8cebd4ff
CD
53282018-12-03 Carlos O'Donell <carlos@redhat.com>
5329
5330 [BZ #23923]
5331 * locale/programs/localedef.c: Declare boolean hard_links default true.
5332 (options): Add --no-hard-links option.
5333 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5334 * locale/programs/localedef.h: Declare prototype for hard_links.
5335 * locale/programs/locfile.c (write_locale_data): Don't use hard
5336 links if hard_links is false.
5337
c22e4c2a
L
53382018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5339
5340 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5341 cpu_features_basic.
5342 (__cache_sysconf): Likewise.
5343 (init_cacheinfo): Likewise.
5344 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5345 populate COMMON_CPUID_INDEX_80000007 and
5346 COMMON_CPUID_INDEX_80000008.
5347 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5348 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5349 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5350 (init_cpu_features): Use _Static_assert on
5351 index_arch_Fast_Unaligned_Load.
5352 __get_cpuid_registers and __get_arch_feature. Updated for
5353 cpu_features_basic. Set stepping in cpu_features.
5354 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5355 (FEATURE_INDEX_2): New.
5356 (FEATURE_INDEX_MAX): Changed to enum.
5357 (COMMON_CPUID_INDEX_D_ECX_1): New.
5358 (COMMON_CPUID_INDEX_80000007): Likewise.
5359 (COMMON_CPUID_INDEX_80000008): Likewise.
5360 (cpuid_registers): Likewise.
5361 (cpu_features_basic): Likewise.
5362 (CPU_FEATURE_USABLE): Likewise.
5363 (bit_arch_XXX_Usable): Likewise.
5364 (cpu_features): Use cpuid_registers and cpu_features_basic.
5365 (bit_arch_XXX): Reweritten.
5366 (bit_cpu_XXX): Likewise.
5367 (index_cpu_XXX): Likewise.
5368 (reg_XXX): Likewise.
5369 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5370 <support/check.h>.
5371 (CHECK_CPU_FEATURE): New.
5372 (CHECK_CPU_FEATURE_USABLE): Likewise.
5373 (cpu_kinds): Likewise.
5374 (do_test): Print vendor, family, model and stepping. Check
5375 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5376 (TEST_FUNCTION): Removed.
5377 Include <support/test-driver.c> instead of
5378 "../../test-skeleton.c".
5379 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5380 Check POPCNT instead of POPCOUNT.
5381 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5382
7b36d26b
ST
53832018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5384
5385 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5386 there is no element in `consts'.
5387
02cd5c1a
FW
53882018-12-01 Florian Weimer <fweimer@redhat.com>
5389
5390 * support/support_capture_subprocess.c
5391 (support_capture_subprocess): Check that pipe descriptors have
5392 expected values. Close original pipe descriptors in subprocess.
5393
fc493bc9
ST
53942018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5395
5396 [BZ #23032]
5397 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5398 attr with __pthread_default_barrierattr.
5399 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5400 attr with __pthread_default_condattr.
5401 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5402 attr with __pthread_default_mutexattr.
5403 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5404 attr with __pthread_default_rwlockattr.
5405
6310e6be
KW
54062018-12-01 Kemi Wang <kemi.wang@intel.com>
5407
5408 * manual/tunables.texi (POSIX Thread Tunables): New node.
5409 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5410 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5411 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5412 __pthread_tunables_init.
5413 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5414 (max_adaptive_count): Define.
5415 * nptl/pthread_mutex_conf.c: New file.
5416 * nptl/pthread_mutex_conf.h: New file.
5417 * sysdeps/generic/adaptive_spin_count.h: New file.
5418 * sysdeps/nptl/dl-tunables.list: New file.
5419 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5420 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5421 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5422 Likewise.
5423
8e67b39e
PP
54242018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5425
5426 [BZ #20544]
5427 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5428 * stdlib/on_exit.c (__on_exit): Likewise.
5429 * stdlib/Makefile (tests): Add tst-bz20544.
5430 * stdlib/tst-bz20544.c: New test.
5431
15b8d67e
RÁE
54322018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5433
5434 [BZ #19767]
5435 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5436 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5437 New.
5438
5e63c240
FW
54392018-11-30 Florian Weimer <fweimer@redhat.com>
5440
5441 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5442 Extend error logging.
5443 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5444 symbol.
5445
71058602 54462018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 5447
5fb7fc96
AZ
5448 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5449 __sigismember instead of sigismember.
5450 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5451 cancel_handler): New definitions.
5452 (do_system): Use posix_spawn instead of fork and execl and remove
5453 reentracy code.
5454 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5455 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5456 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5457 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5458 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5459 * sysdeps/unix/sysv/linux/system.c: Likewise.
5460
14d0e87d
AZ
5461 [BZ #22834]
5462 [BZ #17490]
5463 * NEWS: Add new semantic for atfork with popen and system.
5464 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5465 fork and execl.
5466
e5d262ef
TMQMF
54672018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5468
5469 [BZ #23690]
5470 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5471 modification order when accessing reloc_result->addr.
5472 * include/link.h (reloc_result): Add field init.
5473 * nptl/Makefile (tests): Add tst-audit-threads.
5474 (modules-names): Add tst-audit-threads-mod1 and
5475 tst-audit-threads-mod2.
5476 Add rules to build tst-audit-threads.
5477 * nptl/tst-audit-threads-mod1.c: New file.
5478 * nptl/tst-audit-threads-mod2.c: Likewise.
5479 * nptl/tst-audit-threads.c: Likewise.
5480 * nptl/tst-audit-threads.h: Likewise.
5481
7e1d4240
JM
54822018-11-30 Joseph Myers <joseph@codesourcery.com>
5483
5484 * scripts/gen-as-const.py: New file.
5485 * scripts/gen-as-const.awk: Remove.
5486 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5487 gen-as-const.py.
5488 ($(objpfx)test-as-const-%.c): Likewise.
5489
ce7387cc
L
54902018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5491
5492 * elf/dl-exception.c: Include <_itoa.h>.
5493
c6a5bdc1
ST
54942018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5495
5496 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5497 returned by __f_setlk.
5498
a5275ba5
L
54992018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5500 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5501
5502 * elf/Makefile (tests-internal): Add tst-create_format1.
5503 * elf/dl-exception.c (_dl_exception_create_format): Support
5504 %x, %lx and %zx.
5505 * elf/tst-create_format1.c: New file.
5506
3a67e81d
CAC
55072018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5508
5509 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5510 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5511 gnulib.)
5512 * argp/argp-help.c (__argp_failure): Likewise.
5513
4975f0c3
MH
55142018-11-29 Mao Han <han_mao@c-sky.com>
5515
5516 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5517 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5518 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5519 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5520 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5521 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5522 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5523 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5524 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5525 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5526 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5527 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5528 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5529 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5530 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5531 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5532 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5533 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5534 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5535 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5536 (R_CKCORE_TLS_TPOFF32): New defines.
5537
250102c8
FW
55382018-11-29 Florian Weimer <fweimer@redhat.com>
5539
5540 * posix/Makefile (before-compile): Remove testcases.h and
5541 ptestcases.h.
5542 (generated): Add testcases.h and ptestcases.h.
5543 (testcases.h, ptestcases.h): Move to $(objpfx).
5544 (runtests.o): Add dependency on testcases.h.
5545 (runptests.o): Add dependency on ptestcases.h.
5546 * posix/testcases.h, posix/ptestcases.h: Remove files.
5547 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5548 not touch posix/testcases.h and posix/ptestcases.h.
5549
96cd0558
FW
55502018-11-28 Florian Weimer <fweimer@redhat.com>
5551
5552 support: Add signal support to support_capture_subprocess_check.
5553 * support/capture_subprocess.h (support_capture_subprocess_check):
5554 Adjust comment and rename parameter.
5555 * support/support_capture_subprocess_check.c
5556 (print_actual_status): New function.
5557 (support_capture_subprocess_check): Support negative
5558 status_or_signal. Call print_actual_status.
5559 * support/tst-support_capture_subprocess.c (do_test): Call
5560 support_capture_subprocess_check.
5561 * libio/tst-vtables-common.c (termination_status)
5562 (init_termination_status): Remove.
5563 (check_for_termination): Adjust support_capture_subprocess_check
5564 call.
5565 (do_test): Remove call to init_termination_status.
5566
530504e3
JM
55672018-11-28 Joseph Myers <joseph@codesourcery.com>
5568
5569 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5570 source directory instead of a copy.
5571 (CommandList.create_copy_dir): Remove.
5572
9a0b6970
SL
55732018-11-28 Stefan Liebler <stli@linux.ibm.com>
5574
5575 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5576
47d8d9a2
FW
55772018-11-28 Florian Weimer <fweimer@redhat.com>
5578
5579 * support/support.h (support_quote_string): Do not use str
5580 parameter name.
5581
b473b7d8
JM
55822018-11-27 Joseph Myers <joseph@codesourcery.com>
5583
5584 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5585 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5586
c74a91de
FW
55872018-11-27 Florian Weimer <fweimer@redhat.com>
5588
5589 * support/support.h (support_quote_string): Declare.
5590 * support/support_quote_string.c: New file.
5591 * support/tst-support_quote_string.c: Likewise.
5592 * support/Makefile (libsupport-routines): Add
5593 support_quote_string.
5594 (tests): Add tst-support_quote_string.
5595
d527c860
FW
55962018-11-27 Florian Weimer <fweimer@redhat.com>
5597
5598 [BZ #23927]
5599 CVE-2018-19591
5600 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5601 descriptor leak in case of ENODEV error.
5602
979cfed0
RÁE
56032018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5604
5605 [BZ #19767]
5606 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5607 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5608 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5609
ce035c6e
CD
56102018-11-26 Carlos O'Donell <carlos@redhat.com>
5611
5612 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5613 Error for unknown lines.
5614
2bd0bfcc
JM
56152018-11-26 Joseph Myers <joseph@codesourcery.com>
5616
5617 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5618 Touch additional files.
5619
affec03b
FW
56202018-11-26 Florian Weimer <fweimer@redhat.com>
5621
5622 [BZ #23907]
5623 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5624 double-frees.
5625
8ae74ead
RÁE
56262018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5627
5628 [BZ #19767]
5629 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5630 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5631 SHARED. Include sysdep.h.
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5633 ALWAYS_USE_VSYSCALL.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5635 ALWAYS_USE_VSYSCALL.
5636
1e8bdc3a
RÁE
56372018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5638
5639 [BZ #19767]
5640 * nptl/Makefile (tests-static): Add tst-cond11-static.
5641 (tests): Likewise.
5642 * nptl/tst-cond11-static.c: New File.
5643 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5644 tst-affinity-static.
5645 (tests): Likewise.
5646 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5647 instead of SHARED.
5648 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5649 (USE_VSYSCALL): Likewise.
5650 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5651 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5652 instead of SHARED.
5653 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5654 SHARED.
5655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5656 New.
5657
1283c478
JM
56582018-11-23 Joseph Myers <joseph@codesourcery.com>
5659
5660 [BZ #23915]
5661 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5662 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5663 Undefine.
5664
c089fd80
L
56652018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5668 (tst-cet-legacy-1a-ARGS): New.
5669 ($(objpfx)tst-cet-legacy-1a): New target.
5670 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5671
cc6c89fa
JM
56722018-11-22 Joseph Myers <joseph@codesourcery.com>
5673
95edd05c
JM
5674 * conform/conformtest.py (CompileSubTest.__init__): Set
5675 self.run_early to False.
5676 (ExecuteSubTest.__init__): Likewise.
5677 (HeaderTests.run): Try running all non-optional, non-XFAILed
5678 compilation tests in a single execution of the compiler.
5679
cc6c89fa
JM
5680 * conform/conformtest.py (CompileSubTest): New class.
5681 (ExecuteSubTest): Likewise.
5682 (ElementTest.run): Rename to gen_subtests. Append tests to
5683 self.subtests instead of running them.
5684 (ConstantTest.run): Likewise.
5685 (SymbolTest.run): Likewise.
5686 (TypeTest.run): Likewise.
5687 (TagTest.run): Likewise.
5688 (FunctionTest.run): Likewise.
5689 (VariableTest.run): Likewise.
5690 (MacroFunctionTest.run): Likewise.
5691 (MacroStrTest.run): Likewise.
5692 (HeaderTests.handle_test_line): Generate subtests for tests.
5693 (HeaderTests.run): Run subtests for tests.
5694
a502c529
SN
56952018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5696
5697 * math/Versions (GLIBC_2.29): Add pow.
5698 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5699 symbol.
5700 * math/w_pow.c: New file.
5701 * sysdeps/i386/fpu/w_pow.c: New file.
5702 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5704 and add necessary aliases.
5705 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5706 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5707 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5708 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5709 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5710 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5711 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5712 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5713 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5714 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5715 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5716 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5717 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5718 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5719 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5724 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5725 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5726 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5727 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5728 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5729 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5730 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5731 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5732 __pow.
5733 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5734 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5735 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5736
718d6542
SN
57372018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5738
5739 * math/Versions (GLIBC_2.29): Add log2.
5740 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5741 symbol.
5742 * math/w_log2.c: New file.
5743 * sysdeps/i386/fpu/w_log2.c: New file.
5744 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5745 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5746 and add necessary aliases.
5747 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5748 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5749 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5750 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5751 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5752 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5753 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5754 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5755 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5756 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5757 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5758 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5759 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5760 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5761 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5766 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5767 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5768 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5769 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5770 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5771 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5772 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5773
f29b7c49
SN
57742018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5775
5776 * math/Versions (GLIBC_2.29): Add log.
5777 * math/w_log_compat.c (__log_compat): Change to versioned compat
5778 symbol.
5779 * math/w_log.c: New file.
5780 * sysdeps/i386/fpu/w_log.c: New file.
5781 * sysdeps/ia64/fpu/e_log.S: Update.
5782 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5783 and add necessary aliases.
5784 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5785 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5786 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5787 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5788 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5789 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5790 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5791 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5792 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5793 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5794 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5795 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5796 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5797 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5798 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5803 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5805 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5806 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5807 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5808 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5809 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5810 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5811 __log.
5812 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5813 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5814 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5815 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5816
c20a1056
SN
58172018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5818
5819 * math/Versions (GLIBC_2.29): Add exp and exp2.
5820 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5821 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5822 * math/w_exp_compat.c (__exp_compat): Likewise.
5823 * math/w_exp.c: New file.
5824 * math/w_exp2.c: New file.
5825 * sysdeps/i386/fpu/w_exp.c: New file.
5826 * sysdeps/i386/fpu/w_exp2.c: New file.
5827 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5828 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5829 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5830 and add necessary aliases.
5831 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5832 and add necessary aliases.
5833 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5834 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5835 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5836 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5837 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5838 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5839 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5840 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5841 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5842 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5843 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5844 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5845 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5846 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5847 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5848 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5849 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5854 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5855 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5856 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5857 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5858 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5859 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5860 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5861 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5862 (__ieee754_exp): Rename to __exp.
5863 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5864 (__ieee754_exp): Rename to __exp.
5865 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5866 (__ieee754_exp): Rename to __exp.
5867 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5868 __exp.
5869 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5870
bcdaad21
DD
58712018-11-20 DJ Delorie <dj@redhat.com>
5872
5873 * malloc/malloc.c (tcache_entry): Add key field.
5874 (tcache_put): Set it.
5875 (tcache_get): Likewise.
5876 (_int_free): Check for double free in tcache.
5877 * malloc/tst-tcfree1.c: New.
5878 * malloc/tst-tcfree2.c: New.
5879 * malloc/Makefile: Run the new tests.
5880 * manual/probes.texi: Document memory_tcache_double_free probe.
5881
5882 * dlfcn/dlerror.c (check_free): Prevent double frees.
5883
5770c0ad
WD
58842018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5885
5886 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5887
9a62a939
JM
58882018-11-20 Joseph Myers <joseph@codesourcery.com>
5889
5890 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5891 in tests. Use names for format arguments.
5892 (ConstantTest.run): Likewise.
5893 (SymbolTest.run): Likewise.
5894 (TypeTest.run): Likewise.
5895 (TagTest.run): Likewise.
5896 (FunctionTest.run): Likewise.
5897 (VariableTest.run): Likewise.
5898 (MacroFunctionTest.run): Likewise.
5899 (MacroStrTest.run): Likewise.
5900 (HeaderTests.__init__): Set self.num_tests.
5901 (HeaderTests.handle_test_line): Set test.num. Increment
5902 self.num_tests.
5903
b15b1a95
ST
59042018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5905
5906 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5907 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5908 SEEK_SET.
5909
0c7f97ae
MH
59102018-11-19 Mao Han <han_mao@c-sky.com>
5911
5912 * scripts/config.guess: Update to version 2018-08-29.
5913 * scripts/config.sub: Update to version 2018-08-29.
5914
35e3fbc4
FW
59152018-11-19 Florian Weimer <fweimer@redhat.com>
5916
5917 support: Print timestamps in timeout handler.
5918 * support/support_test_main.c (print_timestamp): New function.
5919 (signal_handler): Use it to print the termination time and the
5920 time of the last write to standard output.
5921
c75772e3
ZW
59222018-11-16 Zack Weinberg <zackw@panix.com>
5923 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5924
5925 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5926 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5927 argument.
5928 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5929 and add flags argument. Check flags instead of __ldbl_is_dbl when
5930 deciding whether to set is_long_double.
5931 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5932 passing zero for flags argument.
5933 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5934
5935 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5936 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5937 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5938 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5939 variable names. Remove libc_hidden_def/libc_hidden_proto from
5940 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5941 longer called from within the library.
5942 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5943 for __nldbl___vstrfmon_l, declare it explicitly.
5944
5945 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5946
346ef23f
ST
59472018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5948
5949 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5950 macros
5951 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5952 F_SETLK64, F_SETLKW64, respectively.
5953 * sysdeps/mach/hurd/f_setlk.c: New file.
5954 * sysdeps/mach/hurd/f_setlk.h: New file.
5955 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5956 f_setlk.
5957 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5958 (__libc_fcntl): Move non-flock operations to...
5959 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5960 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5961
de20b81a
PE
59622018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5963
5d8af156
PE
5964 mktime: DEBUG_MKTIME cleanup
5965 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5966 And it’s no longer needed now that glibc and Gnulib both have
5967 their own testing mechanisms for mktime.
5968 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5969
86aece3b
PE
5970 mktime: fix non-EOVERFLOW errno handling
5971 [BZ#23789]
5972 mktime was not properly reporting failures when the underlying
5973 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5974 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5975 The problem could happen on non-glibc platforms, with Gnulib.
5976 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5977 (tm_diff): ... this simpler function, which does not change errno.
5978 All callers changed to deal with errno themselves.
5979 (ranged_convert, __mktime_internal): Return failure immediately if
5980 the underlying function reports any failure other than EOVERFLOW.
5981 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5982 gap code fails.
5983
f6b3331b
PE
5984 mktime: fix bug with Y2038 DST transition
5985 [BZ#23789]
5986 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5987 mishandle a DST transition that jumps over the Y2038 boundary.
5988 No such DST transitions are known so this is only a theoretical
5989 bug, but we might as well do things right.
5990
efbdddc3
PE
5991 mktime: make more room for overflow
5992 [BZ#23789]
5993 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5994 This is so that we can add tm_diff results to a previous guess,
5995 which will be useful in a later patch.
5996
6c90d759
PE
5997 mktime: simplify offset guess
5998 [BZ#23789]
5999 * time/mktime.c (__mktime_internal): Omit excess precision.
6000
32c12f3f
PE
6001 mktime: new test for mktime failure
6002 [BZ#23789]
6003 Based on a test suggested by Albert Aribaud in:
6004 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6005 * time/Makefile (tests): Add bug-mktime4.
6006 * time/bug-mktime4.c: New file.
6007
de20b81a
PE
6008 mktime: fix EOVERFLOW bug
6009 [BZ#23789]
6010 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6011 Include libc-config.h, not config.h, for __set_errno.
6012 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6013
8c6c3fb0
ST
60142018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6015
6016 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6017 __attribute_copy__ to copy attributes from name. Drop static qualifier
6018 to avoid warnings about leaf attribute not having effect on static
6019 functions.
6020
6923f6db
FW
60212018-11-13 Florian Weimer <fweimer@redhat.com>
6022
6023 * malloc/malloc.c (fastbin_push_entry): New function.
6024 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6025 (REMOVE_FB): Remove macro.
6026 (_int_malloc): Use fastbin_pop_entry and reindent.
6027 (_int_free): Use fastbin_push_entry.
6028 (malloc_consolidate): Use atomic_exchange_acquire.
6029
53f5c659
JM
60302018-11-13 Joseph Myers <joseph@codesourcery.com>
6031
0c096dcf
JM
6032 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6033 alias attribute, not with strong_alias.
6034
9c4b457e
JM
6035 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6036 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6037 with additional parameter thread.
6038 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6039 in terms of __hidden_ver2.
6040 (hidden_tls_def): New macro.
6041 (libc_hidden_tls_def): Likewise.
6042 (rtld_hidden_tls_def): Likewise.
6043 (libm_hidden_tls_def): Likewise.
6044 (libmvec_hidden_tls_def): Likewise.
6045 (libresolv_hidden_tls_def): Likewise.
6046 (librt_hidden_tls_def): Likewise.
6047 (libdl_hidden_tls_def): Likewise.
6048 (libnss_files_hidden_tls_def): Likewise.
6049 (libnsl_hidden_tls_def): Likewise.
6050 (libnss_nisplus_hidden_tls_def): Likewise.
6051 (libutil_hidden_tls_def): Likewise.
6052 (libutil_hidden_tls_def): Likweise.
6053 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6054 libc_hidden_tls_def.
6055 (__sim_disabled_exceptions_thread): Likewise.
6056 (__sim_round_mode_thread): Likewise.
6057
53f5c659
JM
6058 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6059 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6060 copy attributes from name.
6061
092dfde6
JM
60622018-11-12 Joseph Myers <joseph@codesourcery.com>
6063
f578f97b
JM
6064 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6065 Use __attribute_copy__ to copy attributes from name.
6066
9a7c643a
JM
6067 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6068 with __hidden_ver1 call.
6069 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6070 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6071 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6072 (__cosf): Do not declare here.
6073 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6074 (__sincosf): Do not declare here.
6075 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6076 (__sinf): Do not declare here.
6077
092dfde6
JM
6078 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6079 (__BIG_ENDIAN): Likewise.
6080 (__BYTE_ORDER): Likewise.
6081 (strong_alias): Likewise.
6082 (_strong_alias): Likewise.
6083
1ecba1fa
FW
60842018-11-12 Florian Weimer <fweimer@redhat.com>
6085
6086 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6087 function. Move after the definition of in_smallbin_range. Do not
6088 use __builtin_expect for paths that lead to a noreturn function.
6089 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6090 because it is unclear whether this is in fact an unlikely
6091 condition.
6092 (_int_malloc, _int_free): Adjust.
6093 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6094 variables.
6095 * malloc/arena.c (heap_trim): Likewise.
6096
434c34bd
ST
60972018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6098
6099 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6100 it, free it if needed.
6101 (reauthenticate): Test and use ccwdir.
6102 (child_init_port): In non-resetids case, test and use ccwdir.
6103 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
6104 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6105 * hurd/hurd/port.h (_hurd_port_move): New function.
6106 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6107 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
6108 * hurd/Versions (_hurd_port_move): Export function.
6109 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6110 symbol.
58bb655a
ST
6111 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6112 of dtablesize for allocating dtable_cloexec.
434c34bd 6113
1626a1cf
MS
61142018-11-09 Martin Sebor <msebor@redhat.com>
6115
6116 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6117 it's already defined.
6118 (_strong_alias): Use __attribute_copy__.
6119 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6120 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6121 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6122 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6123 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6124 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6125 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6126 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6127 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6128 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6129 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6130 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6131 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6132 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6133 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6134 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6135 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6136 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6137 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6138
968ed530
GG
61392018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6140
6141 * misc/tst-efgcvt.c: Include support/check.h and
6142 support/test-driver.c. Do not include test-skeleton.c.
6143 (error_count): Remove.
6144 (output_error): Replace increments to error_count with calls to
6145 support_record_failure.
6146 (output_r_error): Likewise.
6147 (special): Likewise.
6148 (do_test): Unconditionally return zero.
6149 (TEST_FUNCTION): Remove.
6150
c3ec0972
JM
61512018-11-09 Joseph Myers <joseph@codesourcery.com>
6152
91faaa93
JM
6153 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6154 not $(@D)/scratch.
6155 ($(linknamespace-header-tests)): Likewise.
6156
c3ec0972
JM
6157 * conform/conformtest.py: New file.
6158 * conform/conformtest.pl: Remove.
6159 * conform/GlibcConform.pm: Likewise.
6160 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6161 (KEYWORDS_C99): Likewise.
6162 (KEYWORDS): Likewise.
6163 * conform/Makefile ($(conformtest-header-tests)): Use
6164 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6165 option. Use --header instead of --headers.
6166 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6167 function entries.
6168 * conform/data/spawn.h-data: Likewise.
6169 * conform/data/fcntl.h-data (openat): Add space after function
6170 name.
6171 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6172 (wcscasecmp_l): Likewise.
6173 * conform/data/termios.h-data (c_cc): Add space after element
6174 name.
6175
43257c33
GG
61762018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6177
6178 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6179 instead of manually comparing and reporting mismatching strings.
6180 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6181 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6182
e5de3b5b
JM
61832018-11-08 Joseph Myers <joseph@codesourcery.com>
6184
6185 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6186 __ASSUME_SOCKETCALL.
6187 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6188 (__ASSUME_SOCKETCALL): Remove.
6189 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6190 (__ASSUME_SOCKETCALL): Likewise.
6191 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6192 (__ASSUME_SOCKETCALL): Likewise.
6193 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6194 (__ASSUME_SOCKETCALL): Likewise.
6195 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6196 (__ASSUME_SOCKETCALL): Likewise.
6197 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6198 (__ASSUME_SOCKETCALL): Likewise.
6199 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6200 (__ASSUME_SOCKETCALL): Likewise.
6201
d524fa6c
L
62022018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6203
6204 [BZ #23509]
6205 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6206 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6207 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6208 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6209 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6210 lc_unknown.
6211
ac806026
AH
62122018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6213
6214 [BZ #17630]
6215 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6216
596cc360
JM
62172018-11-07 Joseph Myers <joseph@codesourcery.com>
6218
6219 [BZ #23867]
6220 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6221 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6222 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6223 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6224
00c86a37
AZ
62252018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6226
6227 * support/support_test_compare_string.c
6228 (support_test_compare_string): Fix printf format.
6229
1df872fd
FW
62302018-11-07 Florian Weimer <fweimer@redhat.com>
6231
6232 Implement TEST_COMPARE_STRING.
6233 * support/check.h (TEST_COMPARE_STRING): Define.
6234 (support_test_compare_string): Declare.
6235 * support/Makefile (libsupport-routines): Add
6236 support_test_compare_string.
6237 (tests): Add tst-test_compare_string.
6238 * support/support_test_compare_string.c: New file.
6239 * support/tst-test_compare_string.c: Likewise.
6240
295132ff
AS
62412018-11-07 Andreas Schwab <schwab@suse.de>
6242
6243 [BZ #23864]
6244 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6245 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6246 Undef.
6247
e143ceba
JM
62482018-11-06 Joseph Myers <joseph@codesourcery.com>
6249
6250 [BZ #23862]
6251 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6252 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6253 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6254 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6255 Likewise.
6256
4a938cb2
FW
62572018-11-06 Florian Weimer <fweimer@redhat.com>
6258
6259 [BZ #17405]
6260 * posix/Makefile (routines): Add spawn_faction_addchdir.
6261 (tests): Add tst-spawn-chdir.
6262 * posix/Versions (GLIBC_2.29): Add
6263 posix_spawn_file_actions_addchdir_np.
6264 * posix/spawn_faction_addchdir.c: New file.
6265 * posix/spawn_faction_destroy.c
6266 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6267 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6268 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6269 chdir_action.
6270 * posix/tst-spawn-chdir.c: New file.
6271 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6272 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6273 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6274 posix_spawn_file_actions_addchdir_np.
6275 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6276 Likewise.
6277 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6278 Likewise.
6279 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6280 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6281 Likewise.
6282 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6283 Likewise.
6284 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6285 Likewise.
6286 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6287 Likewise.
6288 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6289 Likewise.
6290 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6291 Likewise.
6292 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6293 (GLIBC_2.29): Likewise.
6294 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6295 (GLIBC_2.29): Likewise.
6296 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6297 (GLIBC_2.29): Likewise.
6298 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6299 (GLIBC_2.29): Likewise.
6300 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6301 Likewise.
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6303 (GLIBC_2.29): Likewise.
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6305 (GLIBC_2.29): Likewise.
6306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6307 (GLIBC_2.29): Likewise.
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6309 (GLIBC_2.29): Likewise.
6310 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6311 Likewise.
6312 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6313 Likewise.
6314 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6315 Likewise.
6316 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6317 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6318 Likewise.
6319 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6320 Likewise.
6321 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6322 Likewise.
6323 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6324 Likewise.
6325
7597b0c7
GG
63262018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6327
6328 * misc/Makefile (tests): Add tst-ldbl-error.
6329 * misc/tst-ldbl-error.c: New file.
6330
9771e6cb
GG
63312018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6332
6333 * misc/Makefile (tests): Add tst-ldbl-warn.
6334 * misc/tst-ldbl-warn.c: New file.
6335
2c03961f
GG
63362018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6337
6338 * argp/Makefile (tests): Add tst-ldbl-argp.
6339 * argp/tst-ldbl-argp.c: New file.
6340
6d6ee046
AS
63412018-11-05 Arjun Shankar <arjun@redhat.com>
6342
6343 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6344 __gconv_path_elem and call __gconv_get_path unconditionally.
6345
bd3b0fba
AS
63462018-11-05 Andreas Schwab <schwab@suse.de>
6347
6348 [BZ #22927]
6349 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6350 creating the first helper thread failed.
6351
2e96e980
ST
63522018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6353
6354 * sysdeps/mach/hurd/msync.c: New file.
6355
6e36266c
FW
63562018-11-02 Florian Weimer <fweimer@redhat.com>
6357
6358 * support/shell-container.c (copy_func): Call
6359 support_copy_file_range instead of copy_file_range to support
6360 cross-device copies.
6361
599f7bee
FW
63622018-11-02 Florian Weimer <fweimer@redhat.com>
6363
6364 * support/test-container.c: Include <libc-pointer-arith.h> for
6365 ALIGN_UP.
6366
ff48ea67
ZL
63672018-11-01 Zong Li <zong@andestech.com>
6368
af1d5782
ZL
6369 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6370 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6371 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6372 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6373
ff48ea67
ZL
6374 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6375 variable to avoid overlap arguments.
6376
daea71c2
JM
63772018-11-01 Joseph Myers <joseph@codesourcery.com>
6378
eac4405a
JM
6379 * posix/bug-regex22.c (main): Use puts with distinct error
6380 messages for unexpected success of re_compile_pattern, not printf
6381 with NULL argument to %s.
6382
6f30e59f
JM
6383 * stdio-common/bug22.c: Include <libc-diag.h>.
6384 (do_test): Disable -Wformat-overflow= warnings around fprintf
6385 calls outputting more than INT_MAX characters.
6386 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6387 around printf call with NULL %s argument.
6388
daea71c2
JM
6389 [BZ #23848]
6390 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6391 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6392 Undefine.
6393 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6394 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6395 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6396 (__ASSUME_SENDTO_SYSCALL): Likewise.
6397 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6398 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6399 [!__arch64__].
6400 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6401 (__ASSUME_CONNECT_SYSCALL): Likewise.
6402 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6403 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6404 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6405 Define.
6406 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6407 Likewise.
6408 [__LINUX_KERNEL_VERSION >= 0x040400]
6409 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6410 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6411 Remove.
6412 (listen): Likewise.
6413 (setsockopt): Likewise.
6414
8e3c00db
FN
64152018-11-01 Fredrik Noring <noring@nocrew.org>
6416
6417 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6418 with the ISA override.
6419
9c3dbdbe
RAE
64202018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6421
6422 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6423 #endif.
6424
e3a88b3e
ST
64252018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6426
a67377e7 6427 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 6428 translate the error message.
a67377e7
ST
6429 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6430 printing trailing whitespaces refused by git.
6431 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6432 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 6433 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 6434
3ca235ed
JM
64352018-10-30 Joseph Myers <joseph@codesourcery.com>
6436
6437 * conform/linknamespace.py: New file.
6438 * conform/linknamespace.pl: Remove file.
6439 * conform/Makefile ($(linknamespace-header-tests)): Use
6440 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6441 option.
6442
60708030
FW
64432018-10-30 Florian Weimer <fweimer@redhat.com>
6444
6445 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6446 memory leaks.
6447
a91e9301
FW
64482018-10-30 Florian Weimer <fweimer@redhat.com>
6449
6450 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6451
07da99aa
FW
64522018-10-30 Florian Weimer <fweimer@redhat.com>
6453
6454 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6455 support_blob_repeat.
6456
f5e7e959
FW
64572018-10-30 Florian Weimer <fweimer@redhat.com>
6458
6459 Avoid spurious test failures in stdlib/test-bz22786.
6460 * support/Makefile (libsupport-routines): Add blob_repeat.
6461 (tests): Add tst-support_blob_repeat.
6462 * support/blob_repeat.h: New file.
6463 * support/blob_repeat.c: Likewise.
6464 * support/tst-support_blob_repeat.c: Likewise.
6465 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6466 support_blob_repeat_allocate.
6467
2dd12baa
AS
64682018-10-30 Andreas Schwab <schwab@suse.de>
6469
6470 [BZ #23125]
6471 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6472 Don't use tail call.
6473 * elf/tst-unwind-main.c: New file.
6474 * elf/Makefile (tests): Add tst-unwind-main.
6475 (CFLAGS-tst-unwind-main.c): Define.
6476
6b5c8607 64772018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
6478
6479 [BZ #23791]
6480 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6481 n_cs_precedes to 0.
6482 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6483
c6982f7e
JM
64842018-10-29 Joseph Myers <joseph@codesourcery.com>
6485
954cf3c2
JM
6486 * conform/glibcconform.py: Do not import shutil.
6487 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6488 of mkdtemp.
6489
c6982f7e
JM
6490 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6491 critic_missing for versions before 3.4.
6492 * configure: Regenerated.
6493 * manual/install.texi (Tools for Compilation): Document
6494 requirement for Python to build glibc.
6495 * INSTALL: Regenerated.
6496 * Rules [PYTHON]: Make code unconditional.
6497 * benchtests/Makefile [PYTHON]: Likewise.
6498 * conform/Makefile [PYTHON]: Likewise.
6499 * manual/Makefile [PYTHON]: Likewise.
6500 * math/Makefile [PYTHON]: Likewise.
6501
46a7f24c
ST
65022018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6503
6504 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 6505 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 6506 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
6507 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6508 _hurd_intr_rpc_msg_about_to global point to start of controlled
6509 assembly snippet. Make it check canceled flag.
6510 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6511 the _hurd_intr_rpc_msg_about_to point.
6512 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6513 issue, remove cancel flag check.
46a7f24c 6514
e5b8756d
JM
65152018-10-26 Joseph Myers <joseph@codesourcery.com>
6516
6517 * scripts/build-many-glibcs.py: Remove compatibility for missing
6518 os.cpu_count and re.fullmatch.
6519
ba5b14c7
SN
65202018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6521
6522 [BZ #23822]
6523 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6524 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6525 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6526
fe61f17c
JM
65272018-10-25 Joseph Myers <joseph@codesourcery.com>
6528
6529 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6530 macro.
6531
7c5e34d7
FW
65322018-10-25 Florian Weimer <fweimer@redhat.com>
6533
6534 [BZ #23562]
6535 [BZ #23821]
6536 XFAIL siginfo_t si_band conform test on sparc64.
6537 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6538 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6539 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6540 (conformtest-xfail-conds): Add sparc64-linux.
6541 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6542 sparc64.
6543 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6544
5b784e88
JM
65452018-10-25 Joseph Myers <joseph@codesourcery.com>
6546
6547 * elf/elf.h (NT_MIPS_DSP): New macro.
6548 (NT_MIPS_FP_MODE): Likewise.
6549
41432ebe
ZL
65502018-10-25 Zong Li <zong@andestech.com>
6551
6552 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6553 name by adding the file extension (.so).
6554
d026efea
ST
65552018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6556
6557 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6558 (test-xfail-ISO11/threads.h/linknamespace,
6559 test-xfail-ISO11/threads.h/conform): Add.
6560
b71ac2b9
JM
65612018-10-24 Joseph Myers <joseph@codesourcery.com>
6562
6563 * math/gen-libm-test.py: Import os.
6564 (ALL_FLOATS_MANUAL): New constant.
6565 (ALL_FLOATS_SUFFIX): Likewise.
6566 (Ulps.all_functions): New function.
6567 (real_all_ulps): Likewise.
6568 (generate_err_table_sub): Likewise.
6569 (generate_err_table): Likewise.
6570 (main): Handle -s and -m options.
6571 * manual/libm-err-tab.pl: Remove.
6572 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6573 instead of libm-err-tab.pl.
6574 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6575 != no].
6576 * manual/install.texi (Tools for Compilation): Document
6577 requirement for Python to build manual.
6578 * INSTALL: Regenerated.
6579
6b5c8607 65802018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
6581
6582 * bits/time64.h: New file.
6583 * include/time.h: Replace internal_time_t with __time64_t.
6584 * posix/bits/types (__time64_t): Add.
6585 * stdlib/Makefile: Add bits/time64.h to includes.
6586 * time/tzfile.c: Replace internal_time_t with __time64_t.
6587
97d91fcc 65882018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
6589
6590 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6591 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6592 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6593 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6594 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6595 prototype.
6596 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6597 * posix/spawn_faction_addclose.c
6598 (__posix_spawn_file_actions_addclose): Add hidden definition.
6599 * posix/spawn_faction_adddup2.c
6600 (__posix_spawn_file_actions_adddup2): Likewise.
6601 * posix/spawn_faction_destroy.c
6602 (__posix_spawn_file_actions_destroy): Likewise.
6603 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6604 Likewise.
6605 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6606 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6607 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6608 Likewise.
6609 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6610 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6611 Likewise.
6612
2954daf0
AS
66132018-10-24 Andreas Schwab <schwab@suse.de>
6614
6615 [BZ #18093]
6616 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6617 format cache.
6618 * elf/cache.c (print_cache): Likewise.
6619
6b5c8607 66202018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
6621
6622 * bits/timesize.h: New file.
6623 * stdlib/Makefile (headers): Add bits/timesize.h.
6624 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6625 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6626 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6627 (__SEM_PAD_AFTER_TIME): Likewise.
6628 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6629 (__SHM_PAD_AFTER_TIME): Likewise.
6630 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6631 (__MSQ_PAD_BEFORE_TIME): Likewise.
6632 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6633 (__SEM_PAD_BEFORE_TIME): Likewise.
6634 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6635 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6636 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
6637 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6638 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6639 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
6640 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6641 (__SEM_PAD_BEFORE_TIME): Likewise.
6642 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6643 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6645 (__MSQ_PAD_BEFORE_TIME): Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6647 (__SEM_PAD_BEFORE_TIME): Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6649 (__SHM_PAD_BEFORE_TIME): Likewise.
6650 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6651 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6652 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6653
7cc65773
L
66542018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6655
6656 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6657 USE_RDTSCP is defined.
6658 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6659 USE_RDTSCP is defined.
6660
c3d8dc45
AZ
66612018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6662
18ad0de6
AZ
6663 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6664 defined.
6665
c3d8dc45
AZ
6666 [BZ #23709]
6667 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6668 independently of other flags.
6669
f1034472
FW
66702018-10-23 Florian Weimer <fweimer@redhat.com>
6671
6672 * time/tst-mktime2.c (N_STRINGS): Remove.
6673 (set_timezone): New function.
6674 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6675 (mktime_test1): Report localtime failure and check errno value.
6676 Use TEST_COMPARE.
6677 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6678 (do_test): Remove alarm call. Use set_timezone and array_length.
6679
367d7cc2
AS
66802018-10-23 Andreas Schwab <schwab@suse.de>
6681
6682 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6683 (__start_context): Use END instead of PSEUDO_END.
6684
be8ff03f
JM
66852018-10-22 Joseph Myers <joseph@codesourcery.com>
6686
029ad711
JM
6687 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6688 version to 4.19.
6689
8190520f
JM
6690 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6691 version to 4.19.
6692
be8ff03f
JM
6693 [BZ #23793]
6694 * wcsmbs/c32rtomb.c: New file.
6695 * wcsmbs/mbrtoc32.c: Likewise.
6696 * wcsmbs/tst-c32-state.c: Likewise.
6697 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6698 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6699 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6700 (tests): Add tst-c32-state.
6701 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6702 $(gen-locales).
6703
2dd8e58c
L
67042018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6705
6706 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6707 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6708
d0a74159
JM
67092018-10-19 Joseph Myers <joseph@codesourcery.com>
6710
6711 [BZ #23794]
6712 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6713 pair and return 0 in that case, and use saved character to
6714 interpret following character.
6715 * wcsmbs/tst-c16-surrogate.c: New file.
6716 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6717 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6718 Depend on $(gen-locales)
6719
f997b4be
IYM
67202018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6721
6722 [BZ #23562]
6723 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6724 (struct siginfo_t): Use correct type for si_band.
6725
53b2bb87
FW
67262018-10-19 Florian Weimer <fweimer@redhat.com>
6727
6728 [BZ #23689]
6729 * resource/bits/types/struct_rusage.h (struct rusage): Update
6730 comment on struct. Remove extraneous field comment.
6731
0a271c8f
DM
67322018-10-18 David S. Miller <davem@davemloft.net>
6733
94a3a27f
DM
6734 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6735 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6736 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6737 sysdep_routines in subdir elf.
6738 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6739 version for __vdso_clock_gettime.
6740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6741 Define.
6742 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6743 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6744
0a271c8f
DM
6745 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6746
72771e53
L
67472018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 * sysdeps/i386/init-arch.h: Removed.
6750 * sysdeps/i386/i586/init-arch.h: Likewise.
6751 * sysdeps/i386/i686/init-arch.h: Likewise.
6752 * sysdeps/i386/i686/hp-timing.h: Likewise.
6753 * sysdeps/x86_64/hp-timing.h: Likewise.
6754 * sysdeps/i386/isa.h: New file.
6755 * sysdeps/i386/i586/isa.h: Likewise.
6756 * sysdeps/i386/i686/isa.h: Likewise.
6757 * sysdeps/x86_64/isa.h: Likewise.
6758 * sysdeps/x86/hp-timing.h: New file.
6759 * sysdeps/x86/init-arch.h: Include <isa.h>.
6760
c2b7ccad
JM
67612018-10-17 Joseph Myers <joseph@codesourcery.com>
6762
6763 * math/libm-test-pow.inc (pow_test_data): Do not allow
6764 divide-by-zero exception for pow(+/- 0, -Inf).
6765
26756e57
ZW
67662018-10-17 Zack Weinberg <zackw@panix.com>
6767
6768 * manual/job.texi (Job Control is Optional): Remove node, as
6769 job control has not been optional in quite some time.
6770 (Job Control): Mention briefly that systems older than
6771 POSIX.1-2001 might not support job control.
6772 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6773 defined on systems conforming to POSIX.1-2001.
6774
c5288d37
AS
67752018-10-17 Arjun Shankar <arjun@redhat.com>
6776
6777 [BZ #22062]
6778 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6779 indentation.
6780 * (__gconv_read_conf): Mark function static.
6781 * (once): New static variable.
6782 * (__gconv_load_conf): New function.
6783 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6784 * iconv/gconv_db.c (once): Remove static variable.
6785 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6786 __gconv_read_conf.
6787 * (__gconv_find_transform): Likewise.
6788 * iconv/tst-iconv-mt.c: New test.
6789 * iconv/Makefile: Add tst-iconv_mt.
6790
8c8d2a8a
JM
67912018-10-17 Joseph Myers <joseph@codesourcery.com>
6792
6793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
6794 bits/shm-pad.h.
6795 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6796 (shmatt_t): Define as __syscall_ulong_t.
6797 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6798 and [__SHM_PAD_AFTER_TIME].
6799 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6800 Define shm_segsz and associated padding based on
6801 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6802 Use __syscall_ulong_t instead of unsigned long int.
6803 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6804 unsigned long int.
6805 [__USE_MISC] (struct shm_info): Likewise.
6806 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6807 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6808 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6809 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6810 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6811 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6812 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6813 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6814 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6815 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6816 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6817
6818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
6819 bits/shmlba.h.
6820 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6821 (SHMLBA): Remove macro.
6822 (__getpagesize): Remove function declaration.
6823 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6824 <bits/shmlba.h>.
6825 (SHMLBA): Remove macro.
6826 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6827 <bits/shmlba.h>.
6828 (SHMLBA): Remove macro.
6829 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6830 <bits/shmlba.h>.
6831 (SHMLBA): Remove macro.
6832 (__getpagesize): Remove function declaration.
6833 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6834 <bits/shmlba.h>.
6835 (SHMLBA): Remove macro.
6836 (__getshmlba): Remove function declaration.
6837 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6838 (SHMLBA): Remove macro.
6839 (__getpagesize): Remove function declaration.
6840 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6841 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6842 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6843 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6844 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6845 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6846 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6847 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6848 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6849 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6850
403b4feb
SL
68512018-10-17 Stefan Liebler <stli@linux.ibm.com>
6852
6853 [BZ #23275]
6854 * nptl/tst-mutex10.c: New File.
6855 * nptl/Makefile (tests): Add tst-mutex10.
6856 (tst-mutex10-ENV): New variable.
6857 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6858 Ensure that elision path is used if elision is available.
6859 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6860 Likewise.
6861 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6862 Likewise.
6863 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6864 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6865 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6866 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6867 Likewise.
6868 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6869 (__pthread_mutex_cond_lock_adjust): Likewise.
6870 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6871 Likewise.
6872 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6873 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6874 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6875 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6876 Add comments.
6877 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6878 Use atomic_load_relaxed and atomic_store_relaxed.
6879 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6880 Use atomic_store_relaxed.
6881
ce5a7de6
AS
68822018-10-17 Andreas Schwab <schwab@suse.de>
6883
6884 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6885 * crypt/badsalttest.c (TIMEOUT): Likewise.
6886 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6887 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6888 * io/test-lfs.c (TIMEOUT): Likewise.
6889 * libio/tst-atime.c (TIMEOUT): Likewise.
6890 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6891 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6892 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6893 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6894 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6895 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6896 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6897 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6898 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6899 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6900 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6901 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6902 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6903 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6904 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6905 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6906 * nptl/tst-once2.c (TIMEOUT): Likewise.
6907 * nptl/tst-once3.c (TIMEOUT): Likewise.
6908 * nptl/tst-once4.c (TIMEOUT): Likewise.
6909 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6910 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6911 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6912 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6913 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6914 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6915 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6916 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6917 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6918 * posix/tst-chmod.c (TIMEOUT): Likewise.
6919 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6920 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6921 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6922 * posix/tst-regex2.c (TIMEOUT): Likewise.
6923 * posix/tst-waitid.c (TIMEOUT): Likewise.
6924 * rt/tst-aio.c (TIMEOUT): Likewise.
6925 * rt/tst-aio10.c (TIMEOUT): Likewise.
6926 * rt/tst-aio4.c (TIMEOUT): Likewise.
6927 * rt/tst-aio5.c (TIMEOUT): Likewise.
6928 * rt/tst-aio6.c (TIMEOUT): Likewise.
6929 * rt/tst-aio64.c (TIMEOUT): Likewise.
6930 * rt/tst-aio7.c (TIMEOUT): Likewise.
6931 * rt/tst-aio9.c (TIMEOUT): Likewise.
6932 * rt/tst-clock.c (TIMEOUT): Likewise.
6933 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6934 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6935 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6936 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6937 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6938 * rt/tst-timer4.c (TIMEOUT): Likewise.
6939 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6940 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6941 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6942 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6943 * time/tst-ftime.c (TIMEOUT): Likewise.
6944 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6945
6b5c8607 69462018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
6947
6948 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6949 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6950 for thunderX2.
6951
bcdb1bfa
JM
69522018-10-15 Joseph Myers <joseph@codesourcery.com>
6953
6954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6955 bits/sem-pad.h.
6956 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6957 instead of <bits/wordsize.h>.
6958 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6959 and [__SEM_PAD_AFTER_TIME].
6960 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6961 __syscall_ulong_t instead of unsigned long int.
6962 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6963 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6964 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6965 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6966 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6967 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6968 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6969 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6970 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6971 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6972 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6973
f4efbdfb
PE
69742018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6975
620a5d4c
PE
6976 regex: simplify by using intprops.h
6977 [BZ#23744]
6978 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6979 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6980 intprops.h defines them.
6981
f4efbdfb
PE
6982 regex: __builtin_expect → __glibc_unlikely
6983 [BZ#23744]
6984 This refactoring was prompted by a problem when the regex code is
6985 used as part of Gnulib and when the builder’s compiler does not grok
6986 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6987 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6988 Although this refactoring does not fix the problem directly,
6989 we might as well have Gawk use the now-preferred glibc style for when
6990 __builtin_expect is unavailable.
6991 * posix/regex_internal.h (BE): Remove.
6992 All uses replaced by __glibc_unlikely or __glibc_likely.
6993
9f9feb6d
JM
69942018-10-11 Joseph Myers <joseph@codesourcery.com>
6995
6996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6997 bits/msq-pad.h.
6998 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6999 instead of <bits/wordsize.h>.
7000 (msgqnum_t): Define as __syscall_ulong_t.
7001 (msglen_t): Likewise.
7002 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7003 and [__MSQ_PAD_AFTER_TIME].
7004 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7005 __syscall_ulong_t instead of unsigned long int.
7006 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7007 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7008 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7009 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7010 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7011 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7012 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7013 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7014 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7015 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7016 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7017
b9c0f6c1
JM
70182018-10-10 Joseph Myers <joseph@codesourcery.com>
7019
2a4b25fa
JM
7020 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7021 (struct shmid_ds): Condition padding after time fields on
7022 [__WORDSIZE == 32].
7023 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7024 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7025 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7026
19e62f26
JM
7027 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7028 (struct semid_ds): Condition padding after time fields on
7029 [__WORDSIZE == 32].
7030 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7031 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7032 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7033 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7034
b9c0f6c1
JM
7035 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7036 (struct msqid_ds): Condition padding after time fields on
7037 [__WORDSIZE == 32].
7038 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7039 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7040 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7041 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7042
97785a61
SN
70432018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7044
7045 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7046
ed643089
SN
70472018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7048
7049 * libio/tst-readline.c (TIMEOUT): Define.
7050
5a580643
PE
70512018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7052
7053 mktime fix for Gnulib + coreutils
7054 [BZ#23745]
7055 This fix affects only Gnulib. Problem discovered when
7056 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7057 * time/mktime.c:
7058 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7059 Do not define since it is not used. Defining an unused static
7060 function prompts a warning from GCC when Coreutils is configured
7061 with --enable-gcc-warnings.
7062
c892ae04
LS
70632018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7064
7065 * benchtests/scripts/compare_bench.py (main): set float type on
7066 threshold argument.
7067
a68ec8ea
RL
70682018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7069
7070 [BZ #23740]
7071 * localedata/locales/kl_GL (mon): Update, the relative case.
7072 (alt_mon): Add, fill with month names in the nominative case.
7073 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7074 (d_fmt): Set to "%b %d %Y".
7075
a1987621
JM
70762018-10-04 Joseph Myers <joseph@codesourcery.com>
7077
47c49251
JM
7078 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7079 <bits/mman-linux.h>.
7080 (PROT_READ): Don't define here.
7081 (PROT_WRITE): Likewise.
7082 (PROT_EXEC): Likewise.
7083 (PROT_NONE): Likewise.
7084 (PROT_GROWSDOWN): Likewise.
7085 (PROT_GROWSUP): Likewise.
7086 (MAP_SHARED): Likewise.
7087 (MAP_PRIVATE): Likewise.
7088 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7089 [__USE_MISC] (MAP_FILE): Likewise.
7090 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7091 [__USE_MISC] (MAP_ANON): Likewise.
7092 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7093 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7094 (MCL_CURRENT): Likewise.
7095 (MCL_FUTURE): Likewise.
7096 (MCL_ONFAULT): Likewise.
7097 [__USE_MISC] (MADV_NORMAL): Likewise.
7098 [__USE_MISC] (MADV_RANDOM): Likewise.
7099 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7100 [__USE_MISC] (MADV_WILLNEED): Likewise.
7101 [__USE_MISC] (MADV_DONTNEED): Likewise.
7102 [__USE_MISC] (MADV_FREE): Likewise.
7103 [__USE_MISC] (MADV_REMOVE): Likewise.
7104 [__USE_MISC] (MADV_DONTFORK): Likewise.
7105 [__USE_MISC] (MADV_DOFORK): Likewise.
7106 [__USE_MISC] (MADV_HWPOISON): Likewise.
7107 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7108 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7109 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7110 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7111 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7112 (__MAP_ANONYMOUS): New macro.
7113 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7114 <bits/mman-linux.h> inclusion.
7115 (MAP_FIXED): Likewise.
7116 (MS_SYNC): Likewise.
7117 (MS_ASYNC): Likewise.
7118 (MS_INVALIDATE): Likewise.
7119 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7120 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7121 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7122 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7123 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7124 [__USE_MISC] (MADV_DODUMP): Likewise.
7125 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7126 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7127
a1987621
JM
7128 [BZ #23735]
7129 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7130 Define.
7131 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7132 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7133 Add test-nldbl-redirect.
7134 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7135 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7136 $(objpfx)libnldbl_nonshared.a.
7137
e7624d70
SL
71382018-10-04 Stefan Liebler <stli@linux.ibm.com>
7139
7140 * support/support.h (support_objdir_elf_ldso): New variable.
7141 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7142 * support/Makefile (CFLAGS-support_paths.c): Add definition
7143 for OBJDIR_ELF_LDSO_PATH.
7144 * support/test-container.c (main): Search for the ld.so
7145 which is also used by the testsuite.
7146
dae3ed95
RL
71472018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7148
7149 [BZ #20209]
7150 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7151 should be "sap" rather than "sab".
7152 (day): Fix spelling of Sunday, should be "sapaat" rather than
7153 "sabaat".
7154
f346b5b3
JM
71552018-10-02 Joseph Myers <joseph@codesourcery.com>
7156
7157 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7158
4a06ceea
MJ
71592018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7160
7161 [BZ #19444]
7162 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7163 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7164 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7165
a06fc4a5
AZ
71662018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7167
7168 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7169
a1ccc065
L
71702018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7171
7172 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7173 Add -mrtm.
7174 (CFLAGS-elision-unlock.c): Likewise.
7175 (CFLAGS-elision-timed.c): Likewise.
7176 (CFLAGS-elision-trylock.c): Likewise.
7177 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7178
0b727ed4
AZ
71792018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7180
7181 [BZ #21037]
7182 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7183 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7184 new fd_to_filename interface.
7185 * libio/freopen64.c (freopen64): Likewise.
7186 * libio/tst-memstream.h: New file.
7187 * libio/tst-memstream4.c: Likewise.
7188 * libio/tst-wmemstream4.c: Likewise.
7189 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7190 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7191 and remove internal dynamic allocation.
7192
d0e91e8c
JM
71932018-10-01 Joseph Myers <joseph@codesourcery.com>
7194
7195 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7196 (MREMAP_MAYMOVE): Do not define here.
7197 [__USE_GNU] (MREMAP_FIXED): Likewise.
7198 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7199 (MREMAP_MAYMOVE): Define here instead.
7200 [__USE_GNU] (MREMAP_FIXED): Likewise.
7201 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7202 (MREMAP_MAYMOVE): Remove.
7203 [__USE_GNU] (MREMAP_FIXED): Likewise.
7204
c52944e8
JM
72052018-09-28 Joseph Myers <joseph@codesourcery.com>
7206
7207 * math/fromfp.h: Do not include <math_private.h>.
7208 * math/s_cacosh_template.c: Likewise.
7209 * math/s_casin_template.c: Likewise.
7210 * math/s_casinh_template.c: Likewise.
7211 * math/s_ccos_template.c: Likewise.
7212 * math/s_cproj_template.c: Likewise.
7213 * math/s_fdim_template.c: Likewise.
7214 * math/s_fmaxmag_template.c: Likewise.
7215 * math/s_fminmag_template.c: Likewise.
7216 * math/s_iseqsig_template.c: Likewise.
7217 * math/s_ldexp_template.c: Likewise.
7218 * math/s_nextdown_template.c: Likewise.
7219 * math/w_log1p_template.c: Likewise.
7220 * math/w_scalbln_template.c: Likewise.
7221 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7222 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7223 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7224 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7225 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7226 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7227 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7228 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7229 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7230 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7231 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7232 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7233 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7234 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7235 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7236 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7237 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7240 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7242 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7243 * sysdeps/ieee754/k_standardf.c: Likewise.
7244 * sysdeps/ieee754/k_standardl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7246 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7247 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7248 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7252 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7253 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7254 * sysdeps/ieee754/s_signgam.c: Likewise.
7255 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7256 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7257 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7258 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7259 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7260 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7261 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7262 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7263 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7264 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7265 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7266 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7267 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7268 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7269 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7270 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7271 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7272 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7273 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7274 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7275 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7276 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7277 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7278 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7279 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7280 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7281 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7282 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7283 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7284 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7285 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7286 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7287 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7288 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7289 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7290 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7291 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7292 <math_private.h>.
7293 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7294
7b1f9406
L
72952018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7296
7297 [BZ #23716]
7298 * sysdeps/i386/dl-cet.c: Removed.
7299 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7300 prototype.
7301 (_dl_runtime_profile_shstk): Likewise.
7302 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7303 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7304
7a16bdbb
AZ
73052018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7306
7307 [BZ #23579]
7308 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7309 do_test_with_invalid_iov): New tests.
7310 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7311 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7312 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7313 errno is ENOSYS.
7314 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7315 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7316 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7317
9755bc46
JM
73182018-09-27 Joseph Myers <joseph@codesourcery.com>
7319
81dca813
JM
7320 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7321 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7322 (MATH_REDIRECT_BINARY_ARGS): New macro.
7323 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7324 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7325 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7326 header inclusion.
7327 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7329 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7330 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7335 Likewise.
7336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7337 Likewise.
7338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7340 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7341 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7343 Likewise.
7344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7345 Likewise.
7346 * sysdeps/generic/math_private_calls.h
7347 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7348 Do not declare and define as an inline function.
7349 * math/divtc3.c (__divtc3): Use copysign functions instead of
7350 __copysign variants.
7351 * math/multc3.c (__multc3): Likewise.
7352 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7353 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7354 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7355 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7356 Likewise.
7357 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7358 (__ieee754_yn): Likewise.
7359 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7360 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7361 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7362 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7363 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7364 (__sin): Likewise.
7365 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7366 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7367 Likewise.
7368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7369 Likewise.
7370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7371 Likewise.
7372 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7373 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7374 Likewise.
7375 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7376 (__ieee754_ynf): Likewise.
7377 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7378 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7379 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7380 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7381 Likewise.
7382 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7383 (__ieee754_ynl): Likewise.
7384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7386 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7387 Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7389 (__ieee754_ynl): Likewise.
7390 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7391 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7392 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7393 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7394 Likewise.
7395 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7396 (__ieee754_ynl)
7397 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7399 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7400 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7401 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7402
9755bc46
JM
7403 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7404 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7405 using MATH_REDIRECT.
7406 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7407 header inclusion.
7408 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7409 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7410 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7411 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7412 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7419 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7420 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7422 (round): Redirect to __round.
7423 (__roundl): Call round instead of __round.
7424 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7425 Remove macro.
7426 [_ARCH_PWR5X] (__roundf): Likewise.
7427 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7428 functions instead of __round variants.
7429 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7430 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7431 Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7433 Likewise.
7434 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7435 Likewise.
7436 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7438 __lroundl.
7439 (__ieee754_expl): Call roundl instead of __roundl.
7440
f841c97e
AS
74412018-09-27 Andreas Schwab <schwab@suse.de>
7442
7443 [BZ #23717]
7444 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7445 (do_test): Make st1 static.
7446
6ca8284e
AS
74472018-09-26 Andreas Schwab <schwab@suse.de>
7448
7449 [BZ #23707]
7450 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7451 * elf/Makefile (tests): Add tst-unwind-ctor.
7452 (modules-names): Add tst-unwind-ctor-lib.
7453 ($(objpfx)tst-unwind-ctor): Depend on
7454 $(objpfx)tst-unwind-ctor-lib.so.
7455
61d8b5fe
JM
74562018-09-26 Joseph Myers <joseph@codesourcery.com>
7457
7458 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7459 file. Most contents moved from ....
7460 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7461 and include <bits/mman-map-flags-generic.h>.
7462 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7463 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7464 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7465 <bits/mman-map-flags-generic.h>.
7466 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7467 macros defined in <bits/mman-map-flags-generic.h>.
7468 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7469 <bits/mman-map-flags-generic.h>.
7470 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7471 defined in <bits/mman-map-flags-generic.h>.
7472
46341286
AS
74732018-09-26 Andreas Schwab <schwab@suse.de>
7474
7475 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7476 output.
7477
b5c45e83
AZ
74782018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7479 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7480 Fangrui Song <maskray@google.com>
7481
7482 [BZ #20480]
7483 * config.make.in (have-textrel_ifunc): New define.
7484 * configure.ac: Add check if linker supports textrel relocation with
7485 ifunc.
7486 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7487 tst-ifunc-textrel.
7488 (CFLAGS-tst-ifunc-textrel.c): New rule.
7489 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7490 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7491 * elf/tst-ifunc-textrel.c: New file.
7492
8ea4d2b7
JM
74932018-09-25 Joseph Myers <joseph@codesourcery.com>
7494
d62f9ec0
JM
7495 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7496 <bits/procfs-prregset.h>.
7497 (prgregset_t): Define using __prgregset_t.
7498 (prfpregset_t): Define using __prfpregset_t.
7499 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7500 (sysdep_headers): Add bits/procfs-prregset.h.
7501 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7502 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7503 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7504 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7505
d0d8eb43
JM
7506 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7507 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7508 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7509 pr_uid and pr_gid.
7510 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7511 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7512 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7513 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7514 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7515 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7516 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7517 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7518 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7519 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7520 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7521 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7522 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7523 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7524 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7525 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7526 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7527 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7528 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7529 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7530 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7531 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7532 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7533 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7534
8ea4d2b7
JM
7535 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7536 AArch64 version. Include <bits/procfs.h>.
7537 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7538 (sysdep_headers): Add bits/procfs.h.
7539 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7540 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7541 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7542 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7543 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7544 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7545 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7546 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7547 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7548 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7549 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7550 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7551 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7552 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7553 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7554 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7555 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7556
c7027166
AZ
75572018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7558
7559 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7560 Use libsupport.
7561
335a3b0a
AS
75622018-09-25 Arjun Shankar <arjun@redhat.com>
7563
7564 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7565 (__gconv_max_path_elem_len): Likewise.
7566 (__gconv_nmodules): Likewise.
7567 (__gconv_get_path): Likewise.
7568 (path_elem): Move to ...
7569 * iconv/gconv_conf.c: ... here.
7570 (__gconv_get_path): Mark function static.
7571 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7572 * iconv/gconv_open.c: ... here.
7573
462d348c
AS
75742018-09-24 Andreas Schwab <schwab@suse.de>
7575
7576 * scripts/haveversions.awk: New file.
7577 * Makerules ($(common-objpfx)Versions.def)
7578 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7579 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7580 Move rules ...
7581 * Makeconfig ($(common-objpfx)Versions.def)
7582 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7583 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7584 ... here.
7585 ($(common-objpfx)Versions.mk): New rule. Include it.
7586 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7587 Emit error if build-obsolete-nsl = yes.
7588 * manual/install.texi (Configuring and compiling): Describe
7589 --enable-obsolete-nsl as unavaiable after version 2.28.
7590 * INSTALL: Regenerate.
7591
f0458cf4
AZ
75922018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7593
7594 * NEWS: Add note about new TLE support on powerpc64le.
7595 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7596 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7597 __ununsed1.
7598 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7599 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7600 * sysdeps/powerpc/powerpc32/sysdep.h,
7601 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7602 ABORT_TRANSACTION): Remove macros.
7603 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7604 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7605 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7607 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7608 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7609 usage.
7610 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7611
434d45fd
RL
76122018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7613
7614 [BZ #10425]
7615 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7616 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7617 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7618 which is the same as in it_IT.
7619 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7620 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7621
d90c9b1a
JM
76222018-09-20 Joseph Myers <joseph@codesourcery.com>
7623
7abf97be
JM
7624 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7625 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7626 using MATH_REDIRECT.
7627 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7628 header inclusion.
7629 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7631 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7633 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7639 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7640 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7641 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7642 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7643 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7644 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7645 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7647 (ceil): Redirect to __ceil.
7648 (floor): Redirect to __floor.
7649 (trunc): Redirect to __trunc.
7650 (__truncl): Call trunc instead of __trunc.
7651 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7652 Remove macro.
7653 [_ARCH_PWR5X] (__truncf): Likewise.
7654 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7655 trunc functions instead of __trunc variants.
7656 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7657 Likewise.
7658 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7659 Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7661 Likewise.
7662 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7663 Likewise.
7664
d90c9b1a
JM
7665 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7666 [__i586__ || __pentium__].
7667 [__i486__]: Handle explicitly.
7668 (HAS_CPUID): Define to 1 if above macros are undefined.
7669 (HAS_I586): Likewise.
7670 (HAS_I686): Likewise.
7671
db9a8ad4
FW
76722018-09-20 Florian Weimer <fweimer@redhat.com>
7673
7674 * misc/tst-gethostid.c: New file.
7675 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7676 (tst-gethostid): Link with -ldl.
7677
1214ba06
MY
76782018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7679
7680 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7681 value from gethostbyname_r.
7682
791b350d
CD
76832018-09-19 Carlos O'Donell <carlos@redhat.com>
7684
7685 * stdlib/tst-setcontext9.c (f1): Rename to...
7686 (f1a): ... this.
7687 (f1b): New function implementing lower half of f1 in alternate stack.
7688
8e6fd2bd
PE
76892018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7690
e1080e7e
PE
7691 Fix mktime localtime offset confusion
7692 [BZ #23603]
7693 * include/time.h (__mktime_internal): The localtime offset is now
7694 of type long int instead of time_t. This is the longstanding type
7695 in glibc, and it is more than enough to represent difference
7696 between localtime and gmtime even if it is 32 bits and time_t is
7697 64. Changing it now will let us avoid an unnecessary change when
7698 time_t is widened to 64 bits on 32-bit platforms.
7699 * time/mktime-internal.h (mktime_offset_t): Now long int.
7700
8e6fd2bd
PE
7701 Merge mktime, timegm from upstream Gnulib
7702 [BZ #23603][BZ #16346]
7703 This fixes some obscure problems with integer overflow.
7704 Although it looks scary, it is almost all a byte-for-byte copy
7705 from Gnulib, and the Gnulib code has been tested reasonably well.
7706 * include/intprops.h: New file, copied from Gnulib.
7707 * include/verify.h, time/mktime-internal.h:
7708 New tiny files, simplified from Gnulib.
7709 * time/mktime.c: Copy from Gnulib. This has the following changes:
7710 Do not include config.h if DEBUG_MKTIME is nonzero.
7711 Include stdbool.h, intprops.h, verify.h.
7712 Include string.h only if needed.
7713 Include stdlib.h on MS-Windows.
7714 Include mktime-internal.h.
7715 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7716 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7717 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7718 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7719 simplify later conditionals; default the others to zero. Use
7720 these conditionals to express only the code needed on the current
7721 platform. In uses of these conditionals, explicitly spell out how
7722 _LIBC affects things, so it’s easier to review from a glibc
7723 viewpoint.
7724 (WRAPV): Remove; no longer needed now that we have
7725 systematic overflow checking.
7726 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7727 compartmentalize tzset issues. Move system-dependent tzsettish
7728 code here from mktime.
7729 (verify): Remove; now done by verify.h. All uses changed.
7730 (long_int): Use a more-conservative definition, to avoid
7731 integer overflow.
7732 (SHR): Remove, replacing with ...
7733 (shr): New function, which means we needn’t worry about side
7734 effects in args, and conversion analysis is simpler.
7735 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7736 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7737 (time_t_avg, time_t_add_ok): Remove.
7738 (mktime_min, mktime_max): New constants.
7739 (leapyear, isdst_differ): Use bool for booleans.
7740 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7741 Use long_int, not time_t, for mktime differences.
7742 (long_int_avg): New function, replacing time_t_avg.
7743 INT_ADD_WRAPV replaces time_t_add_ok.
7744 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7745 All uses changed.
7746 (convert_time): New function.
7747 (ranged_convert): Use it.
7748 (__mktime_internal): Last arg now points to mktime_offset_t, not
7749 time_t. All uses changed. This is a no-op on glibc, where
7750 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7751 offset guess. Directly check for integer overflow instead of
7752 using a heuristic that works only 99.9...% of the time.
7753 Access *OFFSET only once, to avoid an unlikely race if the
7754 compiler delays a load and if this cascades into a signed integer
7755 overflow.
7756 (mktime): Move tzsettish code to my_tzset, and move
7757 localtime_offset to within mktime so that it doesn’t
7758 need a separate ifdef.
7759 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7760 instead of localtime.
7761 * time/timegm.c: Copy from Gnulib. This has the following changes:
7762 Include mktime-internal.h.
7763 [!_LIBC]: Include config.h and time.h. Do not include
7764 timegm.h or time_r.h. Make __mktime_internal a macro,
7765 and include mktime-internal.h to get its declaration.
7766 (timegm): Temporary is now mktime_offset_t, not time_t.
7767 This affects only Gnulib.
7768
83a552b0
WD
77692018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7770
7771 [BZ #23637]
7772 * string/test-strstr.c (pr23637): New function.
7773 (test_main): Add tests with longer needles.
7774 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7775 * string/strstr.c (AVAILABLE): Likewise.
7776
d7347278
SN
77772018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7778
7779 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7780
424c4f60
SN
77812018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7782
7783 * NEWS: Mention pow improvements.
7784 * math/Makefile (type-double-routines): Add e_pow_log_data.
7785 * sysdeps/generic/math_private.h (__exp1): Remove.
7786 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7787 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7788 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7789 contraction.
7790 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7791 (exp_inline): Remove.
7792 (__ieee754_exp): Only single double input is handled.
7793 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7794 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7795 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7796 (__pow_log_data): Define.
7797 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7798 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7799 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7800 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7801 contraction.
7802 (CFLAGS-e_pow-fma4.c): Likewise.
7803
e4e4fde5
PE
78042018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7805
dab9c348
PE
7806 Simplify tzfile fstat failure code
7807 [BZ #21716]
7808 * time/tzfile.c (__tzfile_read): Simplify slightly.
7809
e4e4fde5
PE
7810 Fix tzfile low-memory assertion failure
7811 [BZ #21716]
7812 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7813 when registering time zone abbreviations.
7814
50bc59ca
JM
78152018-09-18 Joseph Myers <joseph@codesourcery.com>
7816
d3a43e49
JM
7817 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7818 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7819 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7820 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7821 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7822 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7823 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7826
50bc59ca
JM
7827 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7828 __ceil.
7829 (__ceill): Call ceil instead of __ceil.
7830 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7831 __floor.
7832 (__floorl): Call floor instead of __floor.
7833
89983cb3
JM
78342018-09-17 Joseph Myers <joseph@codesourcery.com>
7835
71223ef9
JM
7836 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7837 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7838 using MATH_REDIRECT.
7839 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7840 header inclusion.
7841 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7842 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7843 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7844 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7845 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7848 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7853 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7854 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7857 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7858 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7859 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7860 Remove macro.
7861 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7862 functions instead of __ceil variants.
7863 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7864 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7865 Likewise.
7866 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7867 Likewise.
7868 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7869 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7870 Likewise.
7871 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7872 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7873
89983cb3
JM
7874 [BZ #21286]
7875 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7876 constant.
7877 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7878 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7879 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7880 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7881 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7882 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7883 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7884 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7885 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7886 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7887 (ILL_BADIADDR): Remove constant.
7888 (TRAP_BRANCH): Likewise.
7889 (TRAP_HWBKPT): Likewise.
7890
e44acb20
JM
78912018-09-14 Joseph Myers <joseph@codesourcery.com>
7892
3f7f1d18
JM
7893 [BZ #23656]
7894 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7895 Remove [_MIPS_SIM = _ABIN32] conditional case.
7896 (struct elf_prpsinfo): Likewise.
7897
d59f3e5e
JM
7898 [BZ #23649]
7899 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7900 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7901 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7902 Likewise.
7903 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7904 elf_prpsinfo): Likewise.
7905 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7906 elf_prpsinfo): Likewise.
7907 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7908 Likewise.
7909
f29b6f17
JM
7910 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7911 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7912 using MATH_REDIRECT.
7913 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7914 header inclusion.
7915 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7916 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7917 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7918 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7921 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7922 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7923 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7924 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7925 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7926 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7927 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7928 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7929 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7930 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7931 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7932 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7933 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7938 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7939 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7940 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7941 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7942 __rint variants.
7943 * math/e_scalbf.c (invalid_fn): Likewise.
7944 * math/e_scalbl.c (invalid_fn): Likewise.
7945 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7946 Likewise.
7947 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7948 Likewise.
7949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7950 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7951 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7952 Likewise.
7953 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7954 Likewise.
7955 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7956 Likewise.
7957 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7958 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7959
e44acb20
JM
7960 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7961 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7962 New macro.
7963 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7964 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7965 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7966 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7967 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7968 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7969 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7970 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7971 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7972 && !NO_MATH_REDIRECT] (floor): Likewise.
7973 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7974 header inclusion.
7975 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7978 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7979 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7980 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7981 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7982 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7987 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7988 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7991 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7992 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7993 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7994 Remove macro.
7995 [_ARCH_PWR5X] (__floorf): Likewise.
7996 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7997 inline function.
7998 [__SSE4_1__] (__floorf): Likewise.
7999 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8000 instead of __floor variants.
8001 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8002 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8003 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8004 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8005 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8006 * math/w_tgamma_compat.c (__tgamma): Likewise.
8007 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8008 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8009 * math/w_tgammal_compat.c (__tgammal): Likewise.
8010 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8011 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8012 Likewise.
8013 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8014 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8015 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8016 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8017 Likewise.
8018 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8019 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8020 Likewise.
8021 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8022 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8023 Likewise.
8024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8025 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8026 Likewise.
8027 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8028 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8029 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8030 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8031 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8032 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8033
221e4bab
JM
80342018-09-12 Joseph Myers <joseph@codesourcery.com>
8035
8036 * elf/Makefile (modules-names-tests): New variable.
8037
3e08ff54
SN
80382018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8039
8040 * NEWS: Mention log2 improvements.
8041 * math/Makefile (type-double-routines): Add e_log2_data.
8042 * sysdeps/i386/fpu/e_log2_data.c: New file.
8043 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8044 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8045 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8046 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8047 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8048 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8049
f41b0a43
SN
80502018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8051
8052 * NEWS: Mention log improvement.
8053 * math/Makefile (type-double-routines): Add e_log_data.
8054 * sysdeps/i386/fpu/e_log_data.c: New file.
8055 * sysdeps/ia64/fpu/e_log_data.c: New file.
8056 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8057 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8058 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8059 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8060 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8061 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8062
5a274db4
L
80632018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8064 Xuepeng Guo <xuepeng.guo@intel.com>
8065
8066 [BZ #23606]
8067 * sysdeps/i386/start.S: Include <sysdep.h>
8068 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8069 enabled. Add cfi_undefined (eip).
8070
b1176270
JM
80712018-09-11 Joseph Myers <joseph@codesourcery.com>
8072
4e7fbdd7
JM
8073 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8074 (MOVQ): Likewise.
8075 (EXTRACT_WORDS64): Likewise.
8076 (INSERT_WORDS64): Likewise.
8077 (GET_FLOAT_WORD): Likewise.
8078 (SET_FLOAT_WORD): Likewise.
8079
b1176270
JM
8080 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8081 argument.
8082 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8083 build, but not for second build if --full-gcc. Use
8084 --enable-languages=all for second build if --full-gcc.
8085 (get_parser): Add --full-gcc option.
8086 (main): Update call to Context.
8087
527f355e
RL
80882018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8089
8090 [BZ #10797]
8091 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8092 Single Quotation Mark).
8093 (thousands_sep): Likewise.
8094 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8095 * localedata/locales/it_IT (thousands_sep): Use ".".
8096 (grouping): Use "3;3".
8097
7244f13d
JM
80982018-09-10 Joseph Myers <joseph@codesourcery.com>
8099
8100 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8101 x86_64 and i686 configs using --enable-obsolete-rpc
8102 --enable-obsolete-nsl.
8103
38245425
SL
81042018-09-06 Stefan Liebler <stli@linux.ibm.com>
8105
8106 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8107
28669f86
SL
81082018-09-06 Stefan Liebler <stli@linux.ibm.com>
8109
8110 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8111 Increment size of new_argv by one.
8112
a33650d1
RL
81132018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8114
8115 [BZ #17426]
8116 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8117 * localedata/locales/ar_IN (d_fmt): Likewise.
8118 * localedata/locales/bhb_IN (d_fmt): Likewise.
8119 * localedata/locales/bho_IN (d_fmt): Likewise.
8120 * localedata/locales/bn_BD (d_fmt): Likewise.
8121 * localedata/locales/bn_IN (d_fmt): Likewise.
8122 * localedata/locales/doi_IN (d_fmt): Likewise.
8123 * localedata/locales/gu_IN (d_fmt): Likewise.
8124 * localedata/locales/hi_IN (d_fmt): Likewise.
8125 * localedata/locales/hne_IN (d_fmt): Likewise.
8126 * localedata/locales/kn_IN (d_fmt): Likewise.
8127 * localedata/locales/mag_IN (d_fmt): Likewise.
8128 * localedata/locales/mai_IN (d_fmt): Likewise.
8129 * localedata/locales/mjw_IN (d_fmt): Likewise.
8130 * localedata/locales/ml_IN (d_fmt): Likewise.
8131 * localedata/locales/mni_IN (d_fmt): Likewise.
8132 * localedata/locales/mr_IN (d_fmt): Likewise.
8133 * localedata/locales/pa_IN (d_fmt): Likewise.
8134 * localedata/locales/raj_IN (d_fmt): Likewise.
8135 * localedata/locales/sat_IN (d_fmt): Likewise.
8136 * localedata/locales/sd_IN (d_fmt): Likewise.
8137 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8138 * localedata/locales/ta_IN (d_fmt): Likewise.
8139 * localedata/locales/ta_LK (d_fmt): Likewise.
8140 * localedata/locales/tcy_IN (d_fmt): Likewise.
8141 * localedata/locales/ur_IN (d_fmt): Likewise.
8142
8143 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8144 * localedata/locales/ks_IN (d_fmt): Likewise.
8145 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8146
8147 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8148 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8149 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8150 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8151
d114e6a7
SN
81522018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8153
8154 * NEWS: Mention exp and exp2 improvements.
8155 * math/Makefile (libm-support): Remove t_exp.
8156 (type-double-routines): Add math_err and e_exp_data.
8157 * sysdeps/aarch64/libm-test-ulps: Update.
8158 * sysdeps/arm/libm-test-ulps: Update.
8159 * sysdeps/i386/fpu/e_exp_data.c: New file.
8160 * sysdeps/i386/fpu/math_err.c: New file.
8161 * sysdeps/i386/fpu/t_exp.c: Remove.
8162 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8163 * sysdeps/ia64/fpu/math_err.c: New file.
8164 * sysdeps/ia64/fpu/t_exp.c: Remove.
8165 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8166 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8167 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8169 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8170 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8171 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8172 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8173 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8174 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8175 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8176 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8177 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8178 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8181
b9d8c474
JM
81822018-09-05 Joseph Myers <joseph@codesourcery.com>
8183
b7cdc2ae
JM
8184 * sysdeps/alpha/fpu/math_private.h: Remove.
8185
b9d8c474
JM
8186 * sysdeps/generic/math_private.h
8187 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8188 Move this inline function ....
8189 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8190 * include/math.h [!_ISOMAC]: To here....
8191
418d99e6
JM
81922018-09-04 Joseph Myers <joseph@codesourcery.com>
8193
8194 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8195 code ....
8196 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8197 * include/fenv.h [!_ISOMAC]: ... to here.
8198 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8199 (feraiseexcept): Likewise.
8200 * math/fromfp.h: Do not include <fenv_private.h>.
8201 * math/s_cexp_template.c: Likewise.
8202 * math/s_csin_template.c: Likewise.
8203 * math/s_csinh_template.c: Likewise.
8204 * math/s_ctan_template.c: Likewise.
8205 * math/s_ctanh_template.c: Likewise.
8206 * math/s_iseqsig_template.c: Likewise.
8207 * math/w_acos_compat.c: Likewise.
8208 * math/w_acosf_compat.c: Likewise.
8209 * math/w_acosl_compat.c: Likewise.
8210 * math/w_asin_compat.c: Likewise.
8211 * math/w_asinf_compat.c: Likewise.
8212 * math/w_asinl_compat.c: Likewise.
8213 * math/w_j0_compat.c: Likewise.
8214 * math/w_j0f_compat.c: Likewise.
8215 * math/w_j0l_compat.c: Likewise.
8216 * math/w_j1_compat.c: Likewise.
8217 * math/w_j1f_compat.c: Likewise.
8218 * math/w_j1l_compat.c: Likewise.
8219 * math/w_jn_compat.c: Likewise.
8220 * math/w_jnf_compat.c: Likewise.
8221 * math/w_log10_compat.c: Likewise.
8222 * math/w_log10f_compat.c: Likewise.
8223 * math/w_log10l_compat.c: Likewise.
8224 * math/w_log2_compat.c: Likewise.
8225 * math/w_log2f_compat.c: Likewise.
8226 * math/w_log2l_compat.c: Likewise.
8227 * math/w_log_compat.c: Likewise.
8228 * math/w_logf_compat.c: Likewise.
8229 * math/w_logl_compat.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8235 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8236 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8237 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8238 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8239 * sysdeps/ieee754/k_standardl.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8252 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8253 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8257 * math/w_ilogb_template.c: Include <fenv.h> instead of
8258 <fenv_private.h>.
8259 * math/w_llogb_template.c: Likewise.
8260 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8261 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8262
70e2ba33
JM
82632018-09-03 Joseph Myers <joseph@codesourcery.com>
8264
8265 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8266 * math/fromfp.h: Include <fenv_private.h>.
8267 * math/math-narrow.h: Likewise.
8268 * math/s_cexp_template.c: Likewise.
8269 * math/s_csin_template.c: Likewise.
8270 * math/s_csinh_template.c: Likewise.
8271 * math/s_ctan_template.c: Likewise.
8272 * math/s_ctanh_template.c: Likewise.
8273 * math/s_iseqsig_template.c: Likewise.
8274 * math/w_acos_compat.c: Likewise.
8275 * math/w_acosf_compat.c: Likewise.
8276 * math/w_acosl_compat.c: Likewise.
8277 * math/w_asin_compat.c: Likewise.
8278 * math/w_asinf_compat.c: Likewise.
8279 * math/w_asinl_compat.c: Likewise.
8280 * math/w_ilogb_template.c: Likewise.
8281 * math/w_j0_compat.c: Likewise.
8282 * math/w_j0f_compat.c: Likewise.
8283 * math/w_j0l_compat.c: Likewise.
8284 * math/w_j1_compat.c: Likewise.
8285 * math/w_j1f_compat.c: Likewise.
8286 * math/w_j1l_compat.c: Likewise.
8287 * math/w_jn_compat.c: Likewise.
8288 * math/w_jnf_compat.c: Likewise.
8289 * math/w_llogb_template.c: Likewise.
8290 * math/w_log10_compat.c: Likewise.
8291 * math/w_log10f_compat.c: Likewise.
8292 * math/w_log10l_compat.c: Likewise.
8293 * math/w_log2_compat.c: Likewise.
8294 * math/w_log2f_compat.c: Likewise.
8295 * math/w_log2l_compat.c: Likewise.
8296 * math/w_log_compat.c: Likewise.
8297 * math/w_logf_compat.c: Likewise.
8298 * math/w_logl_compat.c: Likewise.
8299 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8300 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8301 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8302 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8327 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8328 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8329 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8330 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8333 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8334 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8335 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8336 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8337 * sysdeps/ieee754/k_standardl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8374 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8375 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8376 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8377 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8378 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8379 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8380 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8381 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8382 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8383 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8384 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8385 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8386 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8387 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8388 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8389 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8390 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8391 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8392 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8393 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8394 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8395 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8396 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8397 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8398 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8399 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8400 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8401 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8402 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8403 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8404 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8405 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8406 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8407 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8408 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8409
a6e8926f
PP
84102018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8411
8412 [BZ #20271]
8413 * include/stdio.h (__libc_fatal): Mention newline in comment.
8414 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8415 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8416 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8417 * nss/nsswitch.c (__nss_next2): Likewise.
8418 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8419 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8420 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8421 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8422 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8423 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8424 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8425 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8426 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8427 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8428 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8429 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8430 (__netlink_assert_response): Likewise.
8431
2bbd06bc
JM
84322018-08-31 Joseph Myers <joseph@codesourcery.com>
8433
8434 * conform/glibcconform.py: New file.
8435 * conform/list-header-symbols.py: Likewise.
8436 * conform/list-header-symbols.pl: Remove.
8437 * conform/Makefile (tests-special): Only add linknamespace tests
8438 if [PYTHON].
8439 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8440
81b9d87b
L
84412018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8442
8443 [BZ #23597]
8444 * support/Makefile (libsupport-routines): Add
8445 support_copy_file_range and xcopy_file_range.
8446 * support/support.h: Include <sys/types.h>.
8447 (support_copy_file_range): New prototype.
8448 * support/support_copy_file_range.c: New file. Copied and
8449 modified from io/copy_file_range-compat.c.
8450 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8451 instead of copy_file_range.
8452 * support/xcopy_file_range.c: New file.
8453 * support/xunistd.h (xcopy_file_range): New prototype.
8454
d330f31a
CD
84552018-08-30 Carlos O'Donell <carlos@redhat.com>
8456
8457 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8458 xpthread_create and xpthread_join.
8459
2bda273a
FW
84602018-08-30 Florian Weimer <fweimer@redhat.com>
8461
8462 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8463
3bad2358
SL
84642018-08-30 Stefan Liebler <stli@linux.ibm.com>
8465
8466 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8467 if malloc fails.
8468
09c12efc
JM
84692018-08-29 Joseph Myers <joseph@codesourcery.com>
8470
8471 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8472 and minus_oflow as non-finite.
8473
ff6b2450
JM
84742018-08-28 Joseph Myers <joseph@codesourcery.com>
8475
8476 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8477 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8478 moved to fenv_private.h except for ...
8479 (TOINT_INTRINSICS): Kept in math_private.h.
8480 (roundtoint): Likewise.
8481 (converttoint): Likewise.
8482 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8483 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8484 * sysdeps/arm/math_private.h: Remove.
8485 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8486 ....
8487 * sysdeps/generic/math_private.h: ... this file. Include
8488 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8489 Include <fenv_private.h>. Remove functions and macros moved to
8490 fenv_private.h.
8491 * sysdeps/i386/fpu/math_private.h: Remove.
8492 * sysdeps/mips/math_private.h: Move to ....
8493 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8494 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8495 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8496 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8497 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8498 * sysdeps/powerpc/fpu/math_private.h: Do not include
8499 <fenv_private.h>.
8500 * sysdeps/riscv/rvf/math_private.h: Move to ....
8501 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8502 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8503 <fenv_private.h>.
8504 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8505 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8506 * sysdeps/sparc/fpu/math_private.h: Remove.
8507 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8508 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8509 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8510 <fenv_private.h>.
8511 * sysdeps/x86_64/fpu/math_private.h: Do not include
8512 <sysdeps/i386/fpu/fenv_private.h>.
8513
761404b7
FW
85142018-08-28 Florian Weimer <fweimer@redhat.com>
8515
8516 [BZ #23578]
8517 * posix/tst-regcomp-truncated.c: New file.
8518 * posix/Makefile (tests): Add it.
8519 (tst-regcomp-truncated.out): Depend on generated locales.
8520
d6c44c3d
FW
85212018-08-28 Florian Weimer <fweimer@redhat.com>
8522
8523 * support/test-container.c (main): Treat unshare failure with
8524 EPERM as an unsupported test.
8525
745664bd
FW
85262018-08-28 Florian Weimer <fweimer@redhat.com>
8527
8528 [BZ #23520]
8529 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8530 * nscd/netgroupcache.c
8531 (addgetnetgrentX): Add tofreep parameter. Do not free
8532 heap-allocated buffer.
8533 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8534 (addgetnetgrentX_ignore): New function.
8535 (addgetnetgrent): Call it.
8536 (readdgetnetgrent): Likewise.
8537
c8dd67e7
RS
85382018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8539
8540 * string/memmem.c: Use memcmp for first match.
8541
5abedf97
RL
85422018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8543
8544 [BZ #17426]
8545 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8546
86de0499
DD
85472018-08-27 DJ Delorie <dj@redhat.com>
8548
8549 * support/Makefile (others): Don't list programs explicitly as a
8550 dependency of "others".
8551
c3ab2110
JM
85522018-08-27 Joseph Myers <joseph@codesourcery.com>
8553
8554 * sysdeps/generic/math-tests-trap-force.h: New file.
8555 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8556 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8557 * sysdeps/powerpc/math-tests.h: Remove file.
8558 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8559
6b5c8607
TS
85602018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8561 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
8562
8563 [BZ #23538]
8564 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8565 Update r to include the set wake-request flag if waiters are
8566 remaining after spinning.
8567
4061791f
JM
85682018-08-27 Joseph Myers <joseph@codesourcery.com>
8569
8570 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8571
bc680b33
PE
85722018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8573
761404b7 8574 [BZ #23578]
bc680b33
PE
8575 regex: fix uninitialized memory access
8576 I introduced this bug into gnulib in commit
8577 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8578 eventually it was merged into glibc. The bug was found by
8579 project-repo <bugs@feusi.co> and reported here:
8580 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8581 Diagnosis and draft fix reported by Assaf Gordon here:
8582 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8583 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8584 * posix/regex_internal.c (build_wcs_upper_buffer):
8585 Fix bug when mbrtowc returns 0.
8586
02458a52
CD
85872018-08-24 Carlos O'Donell <carlos@redhat.com>
8588
8589 * po/be.po: Update translation.
8590
acc2842a
DD
85912018-08-24 DJ Delorie <dj@delorie.com>
8592
8593 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8594 $(libunwind).
8595
6c3a8a9d
PP
85962018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8597
b39d961c
TS
8598 [BZ #23400]
8599 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8600 create temporary files in source tree.
6c3a8a9d 8601
895ef79e
JM
86022018-08-24 Joseph Myers <joseph@codesourcery.com>
8603
8604 * sysdeps/generic/math-tests-trap.h: New file.
8605 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8606 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8607 * sysdeps/aarch64/math-tests.h: Remove file.
8608 * sysdeps/arm/math-tests.h: Likewise.
8609 * sysdeps/riscv/math-tests.h: Likewise.
8610 * sysdeps/aarch64/math-tests-trap.h: New file.
8611 * sysdeps/arm/math-tests-trap.h: Likewise.
8612 * sysdeps/riscv/math-tests-trap.h: Likewise.
8613
ca3aac57
WD
86142018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8615
8616 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8617 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8618 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8619 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8620 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8621 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8625 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8626 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8628 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8629 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8630 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8631 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8632 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8633 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8634
60bcac09
JM
86352018-08-23 Joseph Myers <joseph@codesourcery.com>
8636
8637 * sysdeps/generic/math-tests-exceptions.h: New file.
8638 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8639 (EXCEPTION_TESTS_float): Do not define here.
8640 (EXCEPTION_TESTS_double): Likewise.
8641 (EXCEPTION_TESTS_long_double): Likewise.
8642 (EXCEPTION_TESTS_float128): Likewise.
8643 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8644 Likewise.
8645 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8646 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8647 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8648 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8649 * sysdeps/mips/math-tests.h: Likewise.
8650 * sysdeps/nios2/math-tests.h: Likewise.
8651 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8652 (EXCEPTION_TESTS_float): Do not define here.
8653 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8654 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8655 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8656
3bded567
WD
86572018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8658
8659 * NEWS: Move optimized sinf entry to 2.29.
8660
900fb446
WD
86612018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8662
8663 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8664
561b0bec
DD
86652018-08-22 DJ Delorie <dj@redhat.com>
8666
8667 * Makefile (testroot.pristine): New rules to initialize the
8668 test-in-container "testroot".
8669 * Makerules (all-testsuite): Add tests-container.
8670 * Rules (tests-expected): Add tests-container.
8671 (binaries-all-tests): Likewise.
8672 (tests-container): New, run these tests in the testroot container.
8673 * support/Makefile (others): Add *-container, support_paths.c,
8674 xmkdirp, and links-dso-program.
8675 * support/links-dso-program-c.c: New.
8676 * support/links-dso-program.cc: New.
8677 * support/test-container.c: New.
8678 * support/shell-container.c: New.
8679 * support/echo-container.c: New.
8680 * support/true-container.c: New.
8681 * support/xmkdirp.c: New.
8682 * support/xsymlink.c: New.
8683 * support/support_paths.c: New.
8684 * support/support.h: Add support paths prototypes.
8685 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8686
8687 * nss/tst-nss-test3.c: Convert to test-in-container.
8688 * nss/tst-nss-test3.root/: New.
8689
b35d3509
PE
86902018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8691
8692 regex: port Gnulib code to z/OS POSIX environment
8693 Problem reported by Arnold Robbins in:
8694 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8695 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8696 Undef.
8697
16a25138
JM
86982018-08-22 Joseph Myers <joseph@codesourcery.com>
8699
debc4c98
JM
8700 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8701 (ROUNDING_TESTS_double): Remove.
8702 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8703 (ROUNDING_TESTS_double): Remove.
8704 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8705 (ROUNDING_TESTS_double): Remove.
8706 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8707 (ROUNDING_TESTS_float): Remove.
8708 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8709 (ROUNDING_TESTS_float): Remove.
8710 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8711 (ROUNDING_TESTS_float): Remove.
8712 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8713 !TEST_MATHVEC here.
8714 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8715 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8716
16a25138
JM
8717 * sysdeps/generic/math-tests-rounding.h: New file.
8718 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8719 (ROUNDING_TESTS_float): Do not define here.
8720 (ROUNDING_TESTS_double): Likewise.
8721 (ROUNDING_TESTS_long_double): Likewise.
8722 (ROUNDING_TESTS_float128): Likewise.
8723 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8724 (ROUNDING_TESTS_double): Undefine before defining.
8725 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8726 (ROUNDING_TESTS_double): Undefine before defining.
8727 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8728 (ROUNDING_TESTS_double): Undefine before defining.
8729 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8730 (ROUNDING_TESTS_float): Undefine before defining.
8731 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8732 (ROUNDING_TESTS_float): Undefine before defining.
8733 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8734 (ROUNDING_TESTS_float): Undefine before defining.
8735 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8736 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8737 not define here.
8738 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8739 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8740 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8741 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8742 (ROUNDING_TESTS_float): Do not define here.
8743 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8744 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8745 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8746 (ROUNDING_TESTS_float): Likewise.
8747 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8748 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8749 * sysdeps/mips/math-tests.h [__mips_soft_float]
8750 (ROUNDING_TESTS_float): Likewise.
8751 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8752 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8753 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8754 (ROUNDING_TESTS_double): Likewise.
8755 (ROUNDING_TESTS_long_double): Likewise.
8756
38b0593e
TK
87572018-08-21 Tobias Klauser <tklauser@distanz.ch>
8758
8759 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8760 (PF_XDP): New macro.
8761 (AF_XDP): New macro.
8762 (SOL_XDP): New macro.
8763
5cd7dbde
JM
87642018-08-21 Joseph Myers <joseph@codesourcery.com>
8765
8766 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8767 (TCP_INQ): Likewise.
8768 (TCP_CM_INQ): Likewise.
8769 (TCP_REPAIR_ON): Likewise.
8770 (TCP_REPAIR_OFF): Likewise.
8771 (TCP_REPAIR_OFF_NO_WP): Likewise.
8772 (struct tcp_zerocopy_receive): New type.
8773
aa42b3db
FW
87742018-08-21 Florian Weimer <fweimer@redhat.com>
8775
8776 * support/support.h (support_descriptor_supports_holes): Declare.
8777 * support/Makefile (libsupport-routines): Add
8778 support_descriptor_supports_holes.
8779 * support/support_descriptor_supports_holes.c: New file.
8780 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8781 and stop testing if holes are not supported.
8782 * io/test-lfs.c (do_prepare): Likewise.
8783 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8784 Likewise.
8785 * timezone/tst-tzset.c (create_tz_file): Likewise.
8786 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8787 variable.
8788 (do_prepare): Set it.
8789 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8790
c7627f41
FW
87912018-08-21 Florian Weimer <fweimer@redhat.com>
8792
8793 [BZ #17248]
8794 * Makeconfig (+cflags): Do not sort (and deduplicate).
8795
ef939d92
FW
87962018-08-21 Florian Weimer <fweimer@redhat.com>
8797
8798 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8799 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8800
88ffb39d
FW
88012018-08-20 Florian Weimer <fweimer@redhat.com>
8802
8803 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8804 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8805
17419540
JM
88062018-08-20 Joseph Myers <joseph@codesourcery.com>
8807
e6edd40d
JM
8808 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8809 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8810 and ssi_arch members.
8811
17419540
JM
8812 * elf/elf.c (NT_VMCOREDD): New macro.
8813 (AT_MINSIGSTKSZ): Likewise.
8814
fa78896b
RS
88152018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8816
8817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8818 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8819 s_cosf-ppc64 and s_cosf-power8.
8820 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8821 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8822 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8823 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8830 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8831 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8832
86a6c75a
FW
88332018-08-17 Florian Weimer <fweimer@redhat.com>
8834
8835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8836
35cfefd9
FW
88372018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8838
8839 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8840
6413fcde
FW
88412018-08-16 Florian Weimer <fweimer@redhat.com>
8842
8843 * configure.ac: Add --with-nonshared-cflags option.
8844 * config.make.in (extra-nonshared-cflags): Set variable.
8845 * Makeconfig (CFLAGS-.oS): Use it.
8846 * manual/install.texi (Configuring and compiling): Document
8847 --with-nonshared-cflags.
8848 * configure: Regenerate.
8849 * INSTALL: Likewise.
8850
93a2584c
FW
88512018-08-16 Florian Weimer <fweimer@redhat.com>
8852
8853 * Makeconfig (ASFLAGS): Always append required assembler flags.
8854
f6f275d2 88552018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
8856
8857 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8858 (malloc_consolidate): Likewise.
8859
30a17d8c
PC
88602018-08-16 Pochang Chen <johnchen902@gmail.com>
8861
8862 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8863
953a5a4a
SP
88642018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8865
34f86d61
SP
8866 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8867 every strlen call.
8868
953a5a4a
SP
8869 * benchtests/bench-strlen.c: Print performance numbers in json.
8870
7793ad7a
RS
88712018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8872
8873 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8874 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8875 only for little endian.
8876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8877 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8878 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8879 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8880 Add check for little endian.
8881 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8882 (__strcmp_power9): Add check for little endian.
8883 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8884 Add check for little endian.
8885 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8886 (__strncmp_power9): Add check for little endian.
8887 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8888 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8889 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8890 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8891 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8892
436e4d5b
SP
88932018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8894
8895 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8896 [!STRLEN](STRLEN): Set to __strlen.
8897 * sysdeps/aarch64/multiarch/strlen.c: New file.
8898 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8899 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8900 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8901 (__libc_ifunc_impl_list): Add strlen.
8902 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8903 strlen_generic and strlen_asimd.
8904
126c4e3f
WD
89052018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8906
8907 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8908 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8909 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8910
49acec17
WD
89112018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8912
8913 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8914
fdb16de3
FW
89152018-08-14 Florian Weimer <fweimer@redhat.com>
8916
8917 [BZ #23519]
8918 * include/stdio.h (__vfxprintf): Declare.
8919 * stdio-common/fxprintf.c (__vfxprintf): New function.
8920 (__fxprintf): Call it.
8921 * misc/err.c (convert_and_print): Remove function.
8922 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8923 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8924 * misc/Makefile (tests): Add tst-warn-wide.
8925 * misc/tst-warn-wide.c: New file.
8926
599cf397
WD
89272018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8928 Szabolcs Nagy <szabolcs.nagy@arm.com>
8929
8930 * NEWS: Mention sinf, cosf, sincosf.
8931 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8932 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8933 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8934 constants rather than including generic sincosf.h.
8935 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8936 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8937 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8938 (reduced_cos): Remove.
8939 (sinf_poly): New function.
8940 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8941
e95c6f61
FW
89422018-08-14 Florian Weimer <fweimer@redhat.com>
8943
8944 [BZ #23521]
8945 [BZ #23522]
8946 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8947 processing, bail out if no room, and close the stream before
8948 returning ERANGE.
8949 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8950 (tst-nss-files-alias-leak): Link with libdl.
8951 (tst-nss-files-alias-leak.out): Depend on nss_files.
8952
8953 * nss/tst-nss-files-alias-leak.c: New file.
8954
2d7acfac
FW
89552018-08-14 Florian Weimer <fweimer@redhat.com>
8956
8957 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8958 server_user, stat_user.
8959
f3cd0904
JM
89602018-08-13 Joseph Myers <joseph@codesourcery.com>
8961
17b26500
JM
8962 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8963 version to 4.18.
8964 (io_pgetevents): New syscall.
8965 (rseq): Likewise.
8966
3c1622eb
JM
8967 * manual/install.texi (Configuring and compiling): Do not list
8968 tools used for testing pretty printers here.
8969 (Tools for Compilation): List Python, PExpect and GDB here.
8970 Update descriptions of uses of Perl and Python.
8971 * INSTALL: Regenerate.
8972
f3cd0904
JM
8973 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8974 version to 4.18.
8975
b7b52b9d
FW
89762018-08-13 Florian Weimer <fweimer@redhat.com>
8977
8978 * misc/error.c (error): Add missing va_end call.
8979 (error_at_line): Likewise.
8980
01780188
FW
89812018-08-13 Florian Weimer <fweimer@redhat.com>
8982
8983 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8984
44727aec
SP
89852018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8986
8cac1f26
SP
8987 * benchtests/scripts/benchout.schema.json (properties): Add
8988 new properties.
8989
44727aec
SP
8990 * benchtests/bench-skeleton.c (main): Add duration and
8991 iterations attributes.
8992
c77bf91b
PE
89932018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8994
8995 regex: Gnulib unibyte RRI uses bytes not chars
8996 Adjust the non-glibc code to agree with what Gawk needs for
8997 rational range interpretation (RRI) for regular expression ranges.
8998 In unibyte locales, Gawk wants ranges to use the underlying byte
8999 rather than the character code point. This change does not affect
9000 glibc proper.
9001 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9002 In unibyte locales, use the byte value rather than
9003 running it through btowc.
9004
2ce7ba7d
JM
90052018-08-10 Joseph Myers <joseph@codesourcery.com>
9006
9007 * sysdeps/generic/math-tests-snan.h: New file.
9008 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9009 (SNAN_TESTS_float): Do not define here.
9010 (SNAN_TESTS_double): Likewise.
9011 (SNAN_TESTS_long_double): Likewise.
9012 (SNAN_TESTS_float128): Likewise.
9013 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9014 * sysdeps/i386/fpu/math-tests.h: Remove file.
9015 * sysdeps/ia64/math-tests-snan.h: New file.
9016 * sysdeps/ia64/math-tests.h: Remove file.
9017 * sysdeps/x86/math-tests.h: Likewise.
9018 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9019
ea5c662c
WD
90202018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9021 Szabolcs Nagy <szabolcs.nagy@arm.com>
9022
9023 * math/Makefile: Add s_sincosf_data.c.
9024 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9025 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9026 (sincosf_poly): Likewise.
9027 (reduce_small): Likewise.
9028 (reduce_large): Likewise.
9029 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9030 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9031 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9032 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9033
43cfdf8f
SN
90342018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9035 Szabolcs Nagy <szabolcs.nagy@arm.com>
9036
9037 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9038 (converttoint): Use lround.
9039 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9040 document the semantics when TOINT_INTRINSICS is set.
9041 (converttoint): Likewise.
9042 (TOINT_RINT): Remove.
9043 (TOINT_SHIFT): Remove.
9044 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9045 path.
9046
69065288
FW
90472018-08-10 Florian Weimer <fweimer@redhat.com>
9048
9049 [BZ #23497]
9050 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9051 function.
9052 (__old_getdents64): Use getdents64. Convert entries without
9053 moving them.
9054 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9055 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9056 tst-readdir64-compat.
9057
8f135efc
IL
90582018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9059
9060 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9061 Fix unwind.
9062
71c01af5
IL
90632018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9064
9065 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9066 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9067 code to s390x-mcount.h and #include it.
9068 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9069 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9070 (__fentry__): Add.
9071
8d997d22
IL
90722018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9073
9074 * stdlib/Versions: Remove __fentry__.
9075 * sysdeps/i386/Versions: Add __fentry__.
9076 * sysdeps/x86_64/Versions: Add __fentry__.
9077
69e2444a
IL
90782018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9079
9080 * sysdeps/s390/Makefile: Register the new tests.
9081 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9082 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9083 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9084 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9085 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9086 * sysdeps/s390/tst-dl-runtime.c: New file.
9087
bde6320f
IL
90882018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9089
9090 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9091 Do not clobber R0.
9092
5755f5e4
IL
90932018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9094
9095 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9096 Do not clobber R0.
9097
c8ad8522
IL
90982018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9099
9100 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9101 Do not clobber R0.
9102
b215eee1
IL
91032018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9104
9105 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9106 Do not clobber R0.
9107
329c6fec
IL
91082018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9109
9110 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9111 Use symbolic offsets for stack variables.
9112
0fb7afa2
IL
91132018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9114
9115 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9116 Use symbolic offsets for stack variables.
9117
6954059a
IL
91182018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9119
9120 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9121 Use symbolic offsets for stack variables.
9122
c7099673
IL
91232018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9124
9125 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9126 Use symbolic offsets for stack variables.
9127
2813e41e
JM
91282018-08-09 Joseph Myers <joseph@codesourcery.com>
9129
9130 * math/gen-libm-test.py: New file.
9131 * math/gen-libm-test.pl: Remove.
9132 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9133 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9134 gen-libm-test.pl.
9135 ($(libm-test-c-noauto-obj)): Likewise.
9136 ($(libm-test-c-auto-obj)): Likewise.
9137 ($(libm-test-c-narrow-obj)): Likewise.
9138 (regen-ulps): Likewise.
9139 * math/README.libm-test: Update references to gen-libm-test.pl.
9140 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9141 referencing gen-libm-test.pl.
9142 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9143 * math/libm-test-support.c: Likewise.
9144 * math/libm-test-support.h: Likewise.
9145 * sysdeps/generic/libm-test-ulps: Likewise.
9146
be64b194
SP
91472018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9148
9149 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9150 Fix value.
9151
140137fb
JM
91522018-08-08 Joseph Myers <joseph@codesourcery.com>
9153
9154 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9155 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9156
b5403eca
ST
91572018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9158
9159 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9160 symbols.
8ac0f9e6
ST
9161 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9162 __pthread_setspecific): Add hidden proto.
9163 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9164 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 9165
014efdd7
SP
91662018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9167
9168 * benchtests/bench-string.h (buf1_size, buf2_size): New
9169 variables.
9170 (init_sizes): New function.
9171 (test_init): Use it.
9172 (alloc_buf, exit_error): New functions.
9173 (alloc_bufs): Use ALLOC_BUF.
9174 (realloc_bufs): Remove.
9175 * benchtests/bench-memcmp.c (do_test): Adjust.
9176 * benchtests/bench-memset-large.c (do_test): Likewise.
9177 * benchtests/bench-memset-walk.c (do_test): Likewise.
9178 * benchtests/bench-memset.c (do_test): Likewise.
9179 * benchtests/bench-strncmp.c (do_test): Likewise.
9180
92a4cba7
AS
91812018-08-06 Andreas Schwab <schwab@suse.de>
9182
9183 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9184 of CONST_THREAD_AREA.
9185
fb4c32ae
L
91862018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9187
9188 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9189 (STATE_SAVE_MASK): Likewise.
9190 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9191 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9192 (STATE_SAVE_MASK): Likewise.
9193 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9194 instead of <cpu-features.h>.
9195
bf418187
DD
91962018-08-03 DJ Delorie <dj@redhat.com>
9197
9198 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 9199 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 9200
bb17621a
DD
9201 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9202
ea705eb5
JM
92032018-08-03 Joseph Myers <joseph@codesourcery.com>
9204
9205 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9206 after TEST_* calls.
9207 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9208 * math/libm-test-logb.inc (logb_test_data): Likewise.
9209
284f42bc
WD
92102018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9211
9212 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9213 * string/strstr.c (AVAILABLE): Likewise.
9214
430388d5
L
92152018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9216
9217 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9218 <init-arch.h>.
9219 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9220 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9221 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9222
c5760aa9
CD
92232018-08-03 Carlos O'Donell <carlos@redhat.com>
9224
9225 * po/be.po: Update translation.
9226
6b535b84
CD
9227 * po/be.po: Update translation.
9228
ae67f2e5
L
92292018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9230
9231 * sysdeps/x86/cpu-features-offsets.sym
9232 (rtld_global_ro_offsetof): Removed.
9233 (CPU_FEATURES_SIZE): Likewise.
9234 (CPUID_OFFSET): Likewise.
9235 (CPUID_SIZE): Likewise.
9236 (CPUID_EAX_OFFSET): Likewise.
9237 (CPUID_EBX_OFFSET): Likewise.
9238 (CPUID_ECX_OFFSET): Likewise.
9239 (CPUID_EDX_OFFSET): Likewise.
9240 (FAMILY_OFFSET): Likewise.
9241 (MODEL_OFFSET): Likewise.
9242 (FEATURE_OFFSET): Likewise.
9243 (FEATURE_SIZ): Likewise.
9244 (COMMON_CPUID_INDEX_1): Likewise.
9245 (COMMON_CPUID_INDEX_7): Likewise.
9246 (FEATURE_INDEX_1): Likewise.
9247 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9248
6b5c8607 92492018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
9250
9251 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9252 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9253 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9254 (install-locales): Depend on install-locale-archive.
9255 (install-locale-archive): Define.
7b7adbd8 9256 (install-locale-files): Define.
08a5ee14
CD
9257 (build-one-locale): Define macro.
9258 * manual/install.texi (Running make install): Document.
9259 * manual/INSTALL: Regenerate.
9260
525691bd
SP
92612018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9262
d67d634b
SP
9263 * benchtests/scripts/compare_strings.py: Import traceback.
9264 (parse_file): Pretty-print error.
9265
525691bd
SP
9266 * NEWS: Mention the change.
9267 * elf/dl-tunables.list: Rename tune namespace to cpu.
9268 * sysdeps/powerpc/dl-tunables.list: Likewise.
9269 * sysdeps/x86/dl-tunables.list: Likewise.
9270 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9271 cpu.name.
9272 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9273 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9274 * manual/README.tunables: Likewise.
9275 * manual/tunables.texi: Likewise.
9276 * sysdeps/powerpc/cpu-features.c: Likewise.
9277 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9278 (init_cpu_features): Likewise.
9279 * sysdeps/x86/cpu-features.c: Likewise.
9280 * sysdeps/x86/cpu-features.h: Likewise.
9281 * sysdeps/x86/cpu-tunables.c: Likewise.
9282 * sysdeps/x86_64/Makefile: Likewise.
9283 * sysdeps/x86/dl-cet.c: Likewise.
9284
506d7fb1
JM
92852018-08-02 Joseph Myers <joseph@codesourcery.com>
9286
9287 [BZ #23479]
9288 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9289 [__mips_hard_float].
9290 (FE_UNDERFLOW): Likewise.
9291 (FE_OVERFLOW): Likewise.
9292 (FE_DIVBYZERO): Likewise.
9293 (FE_INVALID): Likewise.
9294 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9295 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9296 (FE_UPWARD): Likewise.
9297 (FE_DOWNWARD): Likewise.
9298 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9299 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9300 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9301 [__mips_hard_float].
9302 (FP_ROUNDMODE): Likewise.
9303 (FP_RND_NEAREST): Likewise.
9304 (FP_RND_ZERO): Likewise.
9305 (FP_RND_PINF): Likewise.
9306 (FP_RND_MINF): Likewise.
9307 (FP_EX_INVALID): Likewise.
9308 (FP_EX_OVERFLOW): Likewise.
9309 (FP_EX_UNDERFLOW): Likewise.
9310 (FP_EX_DIVZERO): Likewise.
9311 (FP_EX_INEXACT): Likewise.
9312 (FP_INIT_ROUNDMODE): Likewise.
9313 * sysdeps/mips/nofpu/fesetenv.c: New file.
9314 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9315
f6dcefbe
JM
93162018-08-01 Joseph Myers <joseph@codesourcery.com>
9317
9318 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9319 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9320 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9321 conditional on [FE_UPWARD].
9322
fa67ba06
PE
93232018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9324
9325 regex: fix memory leak in Gnulib
9326 Problem and fix reported by Assaf Gordon in:
9327 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9328 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9329 range_ends members too, as they are defined in 'struct
9330 re_charset_t' even if not _LIBC. This affects only Gnulib.
9331
82c80ac2
L
93322018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9333
9334 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9335 ...
9336 (get_common_indices): This.
9337 (init_cpu_features): Updated.
9338
c0e7e2c1
JM
93392018-08-01 Joseph Myers <joseph@codesourcery.com>
9340
46f8cf57
JM
9341 * sysdeps/generic/math-tests-snan-payload.h: New file.
9342 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9343 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9344 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9345 * sysdeps/generic/math-tests.h: Include
9346 <math-tests-snan-payload.h>.
9347 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9348 * sysdeps/hppa/math-tests.h: Remove file.
9349 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9350 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9351 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9352 Likewise.
9353
c0e7e2c1
JM
9354 * sysdeps/generic/math-tests-snan-cast.h: New file.
9355 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9356 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9357 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9358 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9359
74939c83
CD
93602018-08-01 Carlos O'Donel <carlos@redhat.com>
9361
b029723b
CD
9362 * version.h (RELEASE): Set to "development".
9363 (VERSION): Set to "2.28.9000".
9364 * NEWS (2.29): New section.
9365
3c03baca
CD
9366 * version.h (RELEASE): Set to "stable".
9367 (VERSION): Set to "2.28".
9368 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9369 * NEWS: Add the list of bugs fixed in 2.28.
9370
74939c83
CD
9371 * po/ca.po: Update to latest version.
9372 * po/cs.po: Likewise
9373 * po/da.po: Likewise
9374 * po/el.po: Likewise
9375 * po/eo.po: Likewise
9376 * po/es.po: Likewise
9377 * po/fi.po: Likewise
9378 * po/fr.po: Likewise
9379 * po/gl.po: Likewise
9380 * po/hu.po: Likewise
9381 * po/ia.po: Likewise
9382 * po/id.po: Likewise
9383 * po/it.po: Likewise
9384 * po/ja.po: Likewise
9385 * po/ko.po: Likewise
9386 * po/lt.po: Likewise
9387 * po/nb.po: Likewise
9388 * po/nl.po: Likewise
9389 * po/pt_BR.po: Likewise
9390 * po/ru.po: Likewise
9391 * po/rw.po: Likewise
9392 * po/sk.po: Likewise
9393 * po/sl.po: Likewise
9394 * po/tr.po: Likewise
9395 * po/zh_CN.po: Likewise
9396 * po/zh_TW.po: Likewise
9397
d4b54bdf
ST
93982018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9399
9400 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9401 initialization...
9402 (init): ... before initializing libpthread.
9403
42fc12ef
ST
9404 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9405 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9406 (__mach_setup_tls): ... new function.
9407 (mach_setup_tls): New alias.
9408 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9409 __mach_setup_thread.
9410 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9411 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9412 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9413 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9414
6cca855e
CD
94152018-07-31 Carlos O'Donell <carlos@redhat.com>
9416
f650932b
CD
9417 * manual/install.texi: Update versions.
9418 * INSTALL: Regenerate.
9419
6cca855e
CD
9420 * manual/contrib.texi (Contributors): Update contributions.
9421
07fdea47
CD
94222018-07-31 Carlos O'Donell <carlos@redhat.com>
9423
9424 * po/be.po: Update translations.
9425
63d5fad4
AZ
94262018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9427
9428 * sysdeps/sh/libm-test-ulps: Update.
9429
1ff712a6
CD
94302018-07-30 Carlos O'Donell <carlos@redhat.com>
9431
9432 * po/bg.po: Update translations.
9433 * po/de.po: Likewise.
9434 * po/hr.po: Likewise.
9435 * po/pt_BR.po: Likewise.
9436 * po/sv.po: Likewise.
9437 * po/vi.po: Likewise.
9438
98864ed0
L
94392018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9440
9441 [BZ #23467]
9442 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9443 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9444 (CFLAGS-tst-cet-property-1.o): New.
9445 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9446 ($(objpfx)tst-cet-property-2): Likewise.
9447 ($(objpfx)tst-cet-property-2.out): Likewise.
9448 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9449 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9450 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9451 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9452 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9453
c92a00d8
L
94542018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 [BZ #23458]
9457 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9458
99bc6241
ST
94592018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9460
9461 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9462 __sbrk): Do not set attribute_hidden.
af86087f 9463 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
9464 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9465 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9466
bcb1c4af
CD
94672018-07-27 Carlos O'Donell <carlos@redhat.com>
9468
9469 * po/uk.po: Update translations.
9470 * po/cs.po: Likewise.
9471 * po/pl.po: Likewise.
9472
4591b7db
L
94732018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9474
9475 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9476 parse beyond the note end.
9477
2c6da2f4
AZ
94782018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9479
9480 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9481 kernel does not support OFD locks.
9482 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9483
20365a31
ST
94842018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9485
9486 * sysdeps/mach/hurd/Versions (libc): Make __access and
9487 __access_noerrno external so they can override the ld symbols.
9488 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9489 __writev, __open64, __access_noerrno extern so they can be overrided.
9490 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9491 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9492
cb1a43db
CD
94932018-07-26 Carlos O'Donell <carlos@redhat.com>
9494
9495 * po/libc.pot: Regenerate.
9496
74759ae5
JM
94972018-07-26 Joseph Myers <joseph@codesourcery.com>
9498
9499 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9500
da80612d
L
95012018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9502
9503 [BZ #23459]
9504 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9505 function.
9506 (init_cpu_features): Call get_extended_indices for both Intel
9507 and AMD CPUs.
9508 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9509 Remove "for AMD" comment.
9510
65d87ade
L
95112018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9512
9513 [BZ # 23456]
9514 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9515 COMMON_CPUID_INDEX_80000001.
9516
c9dc4d51
SL
95172018-07-26 Stefan Liebler <stli@linux.ibm.com>
9518
9519 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9520 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9521
cfba5dbb
FW
95222018-07-26 Florian Weimer <fweimer@redhat.com>
9523
9524 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9525 aliases for symbols not in the implementation namespace.
9526
6b5c8607 95272018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
9528
9529 [BZ #23393]
9530 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9531 lowercase in LATIN script.
9532 * localedata/Makefile (test-input): Add en_US.UTF-8.
9533 * localedata/en_US.UTF-8.in: New file.
9534 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9535 and restore old tests.
9536 * posix/tst-regexloc.c (do_test): Add back range expression test.
9537
3fb455b3
L
95382018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9539
9540 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9541
d6499b70
AZ
95422018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9543
9544 * nptl/threads.h: Move to ...
9545 * sysdeps/nptl/threads.h: ... here.
9546 * sysdeps/hurd/stdc-predef.h: New file.
9547
08ac6bed
L
95482018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9549
9550 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9551 tst-cet-setcontext-1 if CET is enabled.
9552 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9553 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9554
9faaf938
AZ
95552018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9556
9557 * include/threads.h: Move to ...
9558 * sysdeps/nptl/threads.h: ... here.
9559 * sysdeps/htl/threads.h: New file.
9560 * conform/Makefile (linknamespace-libs-ISO11): Use
9561 static-thread-library instead of linking libpthread.
9562 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9563
d6b8f847
FW
95642018-07-25 Florian Weimer <fweimer@redhat.com>
9565
9566 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9567 nanoseconds into seconds.
9568 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9569 (do_test): Likewise.
9570 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9571 (do_test): Likewise. Avoid nanosecond overflow and spurious
9572 timeouts due to system load.
9573 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9574 (child_wait): Increment it.
9575 (do_test): Wait as long as necessary until all expected threads
9576 have arrived.
9577
25123a1c
L
95782018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9579 H.J. Lu <hongjiu.lu@intel.com>
9580
9581 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9582 __ssp.
9583 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9584 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9585 (__push___start_context): New.
9586 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9587 <asm/prctl.h>.
9588 (__getcontext): Record the current shadow stack base. Save the
9589 caller's shadow stack pointer and base.
9590 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9591 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9592 (__push___start_context): New prototype.
9593 (__makecontext): Call __push___start_context to allocate a new
9594 shadow stack, push __start_context onto the new stack as well
9595 as the new shadow stack.
9596 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9597 <asm/prctl.h>.
9598 (__setcontext): Restore the target shadow stack.
9599 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9600 <asm/prctl.h>.
9601 (__swapcontext): Record the current shadow stack base. Save
9602 the caller's shadow stack pointer and base. Restore the target
9603 shadow stack.
9604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9605 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9606 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9607
375a4844
L
96082018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9609
9610 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9611 tst-setcontext8 and tst-setcontext9.
9612 * stdlib/tst-setcontext6.c: New file.
9613 * stdlib/tst-setcontext7.c: Likewise.
9614 * stdlib/tst-setcontext8.c: Likewise.
9615 * stdlib/tst-setcontext9.c: Likewise.
9616
bd4f7903
L
96172018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9618
9619 * stdlib/Makefile ((tests): Add tst-setcontext5.
9620 * stdlib/tst-setcontext5.c: New file.
9621
7e28f203
L
96222018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9623
9624 * stdlib/Makefile (tests): Add tst-setcontext4.
9625 * stdlib/tst-setcontext4.c: New file.
9626
8516ad2d
L
96272018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9628
9629 * stdlib/Makefile (tests): Add tst-swapcontext1.
9630 * stdlib/tst-swapcontext1.c: New test.
9631
fddcd003
L
96322018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9633
9634 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9635 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9636 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9637 and tst-cet-legacy-4c.
9638 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9639 and tst-cet-legacy-mod-4.
9640 (CFLAGS-tst-cet-legacy-2.c): New.
9641 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9642 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9643 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9644 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9645 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9646 ($(objpfx)tst-cet-legacy-1): Likewise.
9647 ($(objpfx)tst-cet-legacy-2): Likewise.
9648 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9649 ($(objpfx)tst-cet-legacy-2a): Likewise.
9650 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9651 ($(objpfx)tst-cet-legacy-4): Likewise.
9652 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9653 ($(objpfx)tst-cet-legacy-4a): Likewise.
9654 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9655 (tst-cet-legacy-4a-ENV): Likewise.
9656 ($(objpfx)tst-cet-legacy-4b): Likewise.
9657 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9658 (tst-cet-legacy-4b-ENV): Likewise.
9659 ($(objpfx)tst-cet-legacy-4c): Likewise.
9660 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9661 (tst-cet-legacy-4c-ENV): Likewise.
9662 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9663 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9664 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9665 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9666 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9667 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9668 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9669 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9670 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9671 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9672 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9673
9aa3113a
L
96742018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9675
9676 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9677 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9678 with ssp_base.
9679 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9680 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9681 with ssp_base.
9682
9c79cec8
AS
96832018-07-25 Andreas Schwab <schwab@suse.de>
9684
9685 [BZ #23442]
9686 * locale/weightwc.h (findidx): Handle the case where usrc is a
9687 prefix of cp but one character too short.
9688
969c3355
AZ
96892018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9690
9691 * NEWS: Add ISO C threads addition.
9692
e0f9c462
FW
96932018-07-24 Florian Weimer <fweimer@redhat.com>
9694
9695 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9696 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9697 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9698 4.13.
9699
394df381
L
97002018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9701
9702 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9703 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9704 <sys/prctl.h> and <asm/prctl.h>.
9705 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9706 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9707 and <asm/prctl.h>.
9708 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9709 ARCH_CET_LEGACY_BITMAP.
9710 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9711 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9712 * sysdeps/x86/libc-start.c: Include <startup.h>.
9713
46545530
FW
97142018-07-24 Florian Weimer <fweimer@redhat.com>
9715
9716 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9717 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9718
6b5c8607 97192018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 9720 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
9721 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9722
9723 [BZ #14092]
9d0a979e
RJ
9724 * manual/debug.texi: Update adjacent chapter name.
9725 * manual/probes.texi: Likewise.
9726 * manual/threads.texi (ISO C Threads): New section.
9727 (POSIX Threads): Convert to a section.
9728
97292018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9730 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9731
9732 [BZ# 14092]
0a07288b
AZ
9733 * nptl/Makefile (tests): Add new test files.
9734 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9735 * nptl/tst-cnd-basic.c: Likewise.
9736 * nptl/tst-cnd-broadcast.c: Likewise.
9737 * nptl/tst-cnd-timedwait.c: Likewise.
9738 * nptl/tst-mtx-basic.c: Likewise.
9739 * nptl/tst-mtx-recursive.c: Likewise.
9740 * nptl/tst-mtx-timedlock.c: Likewise.
9741 * nptl/tst-mtx-trylock.c: Likewise.
9742 * nptl/tst-thrd-basic.c: Likewise.
9743 * nptl/tst-thrd-detach.c: Likewise.
9744 * nptl/tst-thrd-sleep.c: Likewise.
9745 * nptl/tst-tss-basic.c: Likewise.
9746
ce7528f6
AZ
97472018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9748
c6dd669b
AZ
9749 [BZ #14092]
9750 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9751 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9752 symbols.
9753 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9754 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9755 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9756 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9757 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9758 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9759 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9760 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9761 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9762 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9763 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9764 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9766 Likewise.
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9768 Likewise.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9770 Likewise.
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9772 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9773 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9774 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9775 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9776 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9777 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9778 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9779 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9780 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9781 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9782 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9783 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9784 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9785 Likewise.
9786 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9787 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9788 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9789 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9790 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9791 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9792 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9793 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9794 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9795 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9796 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9797 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9798 ikewise.
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9801 Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9803 Likewise.
9804 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9806 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9807 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9810 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9811 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9812
78d40132
AZ
9813 [BZ #14092]
9814 * conform/data/threads.h-data (thread_local): New macro.
9815 (TSS_DTOR_ITERATIONS): Likewise.
9816 (tss_t): New type.
9817 (tss_dtor_t): Likewise.
9818 (tss_create): New function.
9819 (tss_get): Likewise.
9820 (tss_set): Likewise.
9821 (tss_delete): Likewise.
9822 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9823 tss_get, and tss_set objects.
9824 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9825 * nptl/tss_create.c: New file.
9826 * nptl/tss_delete.c: Likewise.
9827 * nptl/tss_get.c: Likewise.
9828 * nptl/tss_set.c: Likewise.
9829 * sysdeps/nptl/threads.h (thread_local): New define.
9830 (TSS_DTOR_ITERATIONS): Likewise.
9831 (tss_t): New typedef.
9832 (tss_dtor_t): Likewise.
9833 (tss_create): New prototype.
9834 (tss_get): Likewise.
9835 (tss_set): Likewise.
9836 (tss_delete): Likewise.
9837
918311a3
AZ
9838 [BZ #14092]
9839 * conform/data/threads.h-data (cnd_t): New type.
9840 (cnd_init): New function.
9841 (cnd_signal): Likewise.
9842 (cnd_broadcast): Likewise.
9843 (cnd_wait): Likewise.
9844 (cnd_timedwait): Likewise.
9845 (cnd_destroy): Likewise.
9846 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9847 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9848 object.
9849 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9850 * nptl/cnd_broadcast.c: New file.
9851 * nptl/cnd_destroy.c: Likewise.
9852 * nptl/cnd_init.c: Likewise.
9853 * nptl/cnd_signal.c: Likewise.
9854 * nptl/cnd_timedwait.c: Likewise.
9855 * nptl/cnd_wait.c: Likewise.
9856 * sysdeps/nptl/threads.h (cnd_t): New type.
9857 (cnd_init): New prototype.
9858 (cnd_signa): Likewise.
9859 (cnd_broadcast): Likewise.
9860 (cnd_wait): Likewise.
9861 (cnd_timedwait): Likewise.
9862 (cnd_destroy): Likewise.
9863
3c20a679
AZ
9864 [BZ #14092]
9865 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9866 (once_flag): New type.
9867 (call_once): New function.
9868 * nptl/Makefile (libpthread-routines): Add call_once object.
9869 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9870 * nptl/call_once.c: New file.
9871 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9872 (once_flag): New type.
9873 (call_once): New prototype.
9874
18d59c1b
AZ
9875 [BZ #14092]
9876 * conform/data/threads.h-data (mtx_plain): New constant.
9877 (mtx_recursive): Likewise.
9878 (mtx_timed): Likewise.
9879 (mtx_t): New type.
9880 (mtx_init): New function.
9881 (mtx_lock): Likewise.
9882 (mtx_timedlock): Likewise.
9883 (mtx_trylock): Likewise.
9884 (mtx_unlock): Likewise.
9885 (mtx_destroy): Likewise.
9886 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9887 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9888 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9889 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9890 * nptl/mtx_destroy.c: New file.
9891 * nptl/mtx_init.c: Likewise.
9892 * nptl/mtx_lock.c: Likewise.
9893 * nptl/mtx_timedlock.c: Likewise.
9894 * nptl/mtx_trylock.c: Likewise.
9895 * nptl/mtx_unlock.c: Likewise.
9896 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9897 (mtx_recursive): Likewise.
9898 (mtx_timed): Likewise.
9899 (mtx_t): New type.
9900 (mtx_init): New prototype.
9901 (mtx_lock): Likewise.
9902 (mtx_timedlock): Likewise.
9903 (mtx_trylock): Likewise.
9904 (mtx_unlock): Likewise.
9905 (mtx_destroy): Likewise.
9906
ce7528f6
AZ
9907 [BZ #14092]
9908 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9909 (linknamespace-libs-ISO11): Add libpthread.a.
9910 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9911 functions.
9912 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9913 * nptl/Makefile (headers): Add threads.h.
9914 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9915 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9916 thrd_yield.
9917 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9918 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9919 thrd_join, thrd_sleep, and thrd_yield symbols.
9920 * nptl/descr.h (struct pthread): Add c11 field.
9921 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9922 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9923 routine with expected function prototype.
9924 (__pthread_create_2_1): Add C11 threads check based on attribute
9925 value.
9926 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9927 * nptl/thrd_create.c: New file.
9928 * nptl/thrd_current.c: Likewise.
9929 * nptl/thrd_detach.c: Likewise.
9930 * nptl/thrd_equal.c: Likewise.
9931 * nptl/thrd_exit.c: Likewise.
9932 * nptl/thrd_join.c: Likewise.
9933 * nptl/thrd_priv.h: Likewise.
9934 * nptl/thrd_sleep.c: Likewise.
9935 * nptl/thrd_yield.c: Likewise.
9936 * include/threads.h: Likewise.
9937
e27f41ba
L
99382018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9939
9940 * bits/indirect-return.h: New file.
9941 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9942 * sysdeps/x86/bits/indirect-return.h: Likewise.
9943 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9944 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9945 (swapcontext): Add __INDIRECT_RETURN.
9946 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9947 (prepare_test_buffer): Use it.
9948
21526a50
AS
99492018-07-24 Andreas Schwab <schwab@suse.de>
9950
9951 [BZ #23448]
9952 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9953 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9954
3650e1d9
L
99552018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9956
9957 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9958 Redefine if shadow stack is enabled.
9959 (SYSCALL_ERROR_LABEL): Likewise.
9960 (__vfork): Pop shadow stack and jump back to to caller directly
9961 when shadow stack is in use.
9962 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9963 Redefine if shadow stack is enabled.
9964 (SYSCALL_ERROR_LABEL): Likewise.
9965 (__vfork): Pop shadow stack and jump back to to caller directly
9966 when shadow stack is in use.
9967
ca027e0f
L
99682018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9969
9970 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9971 enabled.
9972 (foo): Likewise.
9973 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9974 (foo): Likewise.
9975
b99f1c95
JM
99762018-07-20 Joseph Myers <joseph@codesourcery.com>
9977
9978 * scripts/build-many-glibcs.py (Context.checkout): Default
9979 binutils version to 2.31 branch.
9980
c8fabb84
ZL
99812018-07-20 Zong Li <zong@andestech.com>
9982
9983 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9984 URL of gcc's tarball.
9985
786658a0
FW
99862018-07-20 Florian Weimer <fweimer@redhat.com>
9987
9988 [BZ #23396]
9989 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9990 not compare an extra byte after the end of the weights.
9991
46f2474e
ST
99922018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9993
9994 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9995 to 1.
8ba1520e
ST
9996 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9997 hidden prototypes.
9998 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9999 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
10000 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10001 list of libraries whose stack executability is expected.
10002 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10003 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10004 variable.
10005 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10006 libc.so libpthread.so.
46f2474e 10007
60088242
TS
100082018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10009
10010 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10011 SOCK_NONBLOCK.
75d5e4a0
TS
10012 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10013 and SOCK_NONBLOCK.
de195be0
TS
10014 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10015 implement __pipe2.
10016 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 10017
1cf4ae7f
LS
100182018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10019
10020 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10021 library to improve command line parsing.
10022 (__main__): make schema file as optional parameter (--schema),
10023 defaulting to benchtests/scripts/benchout.schema.json.
10024 (main): move out of the parsing stuff to __main_  and leave it
10025 only as caller of main comparison functions.
10026
e84bd851
L
100272018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10028
10029 * NEWS: Add a note for Intel CET status.
10030 * manual/install.texi: Likewise.
10031 * INSTALL: Regenerated.
10032
df467d22
QP
100332018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10034
10035 [BZ #23140]
10036 * localedata/locales/oc_FR (mon): Rename to...
10037 (alt_mon): This, then update October (typo fix).
10038 (mon): New content (genitive case, month names preceded by
10039 "de" or "d’").
10040
10041 [BZ #23422]
10042 * localedata/locales/oc_FR (abday): Update all items.
10043 (day): Update Wednesday and Saturday (typo fixes).
10044 (abmon): Update all items, except May.
10045 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10046 (LC_IDENTIFICATION): Bump the revision number and date.
10047 Keep the "category" entries in alphabetic order.
10048 (LC_ADDRESS): Remove no longer needed comment.
10049 (LC_COLLATE): Use “copy "ca_ES"”.
10050 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10051 "name_mrs".
10052
5c112f1b
JM
100532018-07-18 Joseph Myers <joseph@codesourcery.com>
10054
10055 * grp/tst_fgetgrent.c: Include <unistd.h>.
10056 (main): Use mkstemp instead of tmpnam.
10057 * io/test-utime.c (main): Likewise.
10058 * posix/annexc.c (macrofile): Change to modifiable array.
10059 (main): Remove macrofile here.
10060 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10061 macrofile here.
10062 (check_header): Do not remove macrofile here.
10063 * posix/bug-getopt1.c: Include <stdlib.h>.
10064 (do_test): Use mkstemp instead of tmpnam.
10065 * posix/bug-getopt2.c: Include <stdlib.h>.
10066 (do_test): Use mkstemp instead of tmpnam.
10067 * posix/bug-getopt3.c: Include <stdlib.h>.
10068 (do_test): Use mkstemp instead of tmpnam.
10069 * posix/bug-getopt4.c: Include <stdlib.h>.
10070 (do_test): Use mkstemp instead of tmpnam.
10071 * posix/bug-getopt5.c: Include <stdlib.h>.
10072 (do_test): Use mkstemp instead of tmpnam.
10073 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10074 (main): Use mkstemp instead of tmpnam.
10075 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10076 (main): Use mkstemp instead of tmpnam.
10077 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10078 (main): use mkstemp instead of tmpnam.
10079 * stdlib/isomac.c (macrofile): Change to modifiable array.
10080 (main): Remove macrofile here.
10081 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10082 macrofile here.
10083 (check_header): Do not remove macrofile here.
10084
6d90776d
L
100852018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10086
10087 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10088 glibc.tune.x86_shstk.
10089
e6c69509
L
100902018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10091
10092 * NEWS: Mention --enable-cet.
10093 * manual/install.texi: Document --enable-cet.
10094 * INSTALL: Regenerated.
10095
e2d40a88
L
100962018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10097
10098 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10099 Add _CET_NOTRACK before indirect jump to jump table.
10100
77a8ae09
L
101012018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10102
10103 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10104 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10105 to jump table.
10106
90d15dc5
L
101072018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10108
10109 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10110 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10111 to jump table.
10112
f1574581
L
101132018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10114
10115 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10116 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10117 to jump table.
10118
7fb61336
L
101192018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10120
10121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10122 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10123 to jump table.
10124
0a899af0
L
101252018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10126
10127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10128 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10129 to jump table.
10130 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10131
177824e2
L
101322018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10133
10134 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10135 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10136 to jump table.
10137
00e7b76a
L
101382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10139
10140 * sysdeps/i386/i686/multiarch/memset-sse2.S
10141 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10142 to jump table.
10143
7e119cd5
L
101442018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10145
10146 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10147 indirect jump to jump table.
10148
03aaf49b
L
101492018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10150
10151 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10152 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10153 to jump table.
10154 (MEMCPY): Likewise.
10155
811e9e52
L
101562018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10157
10158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10159 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10160 to jump table.
10161 (MEMCPY): Likewise.
10162
8817df42
L
101632018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10164
10165 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10166 _CET_NOTRACK before indirect jump to jump table.
10167
921595d1
L
101682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10169
10170 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10171 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10172 to jump table.
10173
4ef60d95
L
101742018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10175
10176 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10177 indirect jump to jump table.
10178
61c4aad7
VT
101792018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10180
10181 [BZ #22241]
10182 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10183 (LOCALES): Likewise.
10184 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10185 * localedata/locales/sah_RU: New file.
10186 * localedata/sah_RU.UTF-8.in: New file.
10187
be9ccd27
L
101882018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10189
10190 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10191 "sysdep.h".
10192 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10193 _CET_ENDBR to indirect jump targets and adjust jump destination
10194 for _CET_ENDBR.
10195 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10196 "sysdep.h".
10197 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10198 _CET_ENDBR to indirect jump targets and adjust jump destination
10199 for _CET_ENDBR.
10200 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10201 "sysdep.h".
10202 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10203 _CET_ENDBR to indirect jump targets and adjust jump destination
10204 for _CET_ENDBR.
10205
5efc6777
L
102062018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10207
10208 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10209 _CET_ENDBR.
10210
562837c0
L
102112018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10212
10213 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10214 _CET_ENDBR.
10215 (_dl_tlsdesc_undefweak): Likewise.
10216 (_dl_tlsdesc_dynamic): Likewise.
10217 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10218 (_dl_tlsdesc_resolve_rel): Likewise.
10219 (_dl_tlsdesc_resolve_rela): Likewise.
10220 (_dl_tlsdesc_resolve_hold): Likewise.
10221 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10222 (_dl_tlsdesc_undefweak): Likewise.
10223 (_dl_tlsdesc_dynamic): Likewise.
10224 (_dl_tlsdesc_resolve_rela): Likewise.
10225 (_dl_tlsdesc_resolve_hold): Likewise.
10226
124bcde6
L
102272018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10228
10229 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10230 (_fini): Likewise.
10231 * sysdeps/x86_64/crti.S (_init): Likewise.
10232 (_fini): Likewise.
10233
9145f033
RL
102342018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10235
10236 [BZ #23140]
10237 * localedata/locales/os_RU (mon): Rename to...
10238 (alt_mon): This.
10239 (mon): Import from CLDR (genitive case).
10240
ba2ea23d
L
102412018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10242
10243 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10244 cet-tunables.h> when CET is enabled.
10245
f753fa7d
L
102462018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10247
6b5c8607 10248 [BZ #21598]
f753fa7d
L
10249 * configure.ac: Add --enable-cet.
10250 * configure: Regenerated.
10251 * elf/Makefille (all-built-dso): Add a comment.
10252 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10253 Include <dl-prop.h>.
10254 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10255 segment.
10256 * elf/dl-open.c: Include <dl-prop.h>.
10257 (dl_open_worker): Call _dl_open_check.
10258 * elf/rtld.c: Include <dl-prop.h>.
10259 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10260 _rtld_main_check.
10261 * sysdeps/generic/dl-prop.h: New file.
10262 * sysdeps/i386/dl-cet.c: Likewise.
10263 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10264 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10265 * sysdeps/x86/cet-tunables.h: Likewise.
10266 * sysdeps/x86/check-cet.awk: Likewise.
10267 * sysdeps/x86/configure: Likewise.
10268 * sysdeps/x86/configure.ac: Likewise.
10269 * sysdeps/x86/dl-cet.c: Likewise.
10270 * sysdeps/x86/dl-procruntime.c: Likewise.
10271 * sysdeps/x86/dl-prop.h: Likewise.
10272 * sysdeps/x86/libc-start.h: Likewise.
10273 * sysdeps/x86/link_map.h: Likewise.
10274 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10275 _CET_ENDBR.
10276 (_dl_runtime_profile): Likewise.
10277 (_dl_runtime_resolve_shstk): New.
10278 (_dl_runtime_profile_shstk): Likewise.
10279 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10280 if CET is enabled.
10281 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10282 (CFLAGS-.os): Likewise.
10283 (CFLAGS-.op): Likewise.
10284 (CFLAGS-.oS): Likewise.
10285 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10286 is enabled.
10287 (tests-special): Add $(objpfx)check-cet.out.
10288 (cet-built-dso): New.
10289 (+$(cet-built-dso:=.note)): Likewise.
10290 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10291 ($(objpfx)check-cet.out): New.
10292 (generated): Add check-cet.out.
10293 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10294 <cet-tunables.h>.
10295 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10296 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10297 (init_cpu_features): Call get_cet_status to check CET status
10298 and update dl_x86_feature_1 with CET status. Call
10299 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10300 (set_x86_shstk). Disable and lock CET in libc.a.
10301 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10302 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10303 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10304 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10305 (_CET_ENDBR): Define if not defined.
10306 (ENTRY): Add _CET_ENDBR.
10307 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10308 x86_shstk.
10309 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10310 _CET_ENDBR.
10311 (_dl_runtime_profile): Likewise.
10312
52b2a80f
RA
103132018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10314
10315 [BZ #21895]
10316 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10317 restore r2 on longjmp.
10318 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10319 test list.
10320 Added rules to build test tst-setjmp-bug21895-static.
10321 Added module setjmp-bug21895 and rules to build a shared object from it.
10322 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10323 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10324
3ae725df
WD
103252018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10326
10327 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10328 * benchtests/bench-strstr.c: Likewise.
10329 * string/memmem.c (FASTSEARCH): Define.
10330 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10331 Add support for FASTSEARCH.
10332 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10333 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10334 (FASTSEARCH): Define.
10335 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10336 * string/test-strstr.c: Likewise.
10337
31e422ca
L
103382018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10339
10340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10341 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10342
faaee1f0
L
103432018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10344 H.J. Lu <hongjiu.lu@intel.com>
10345
10346 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10347 (__longjmp): Restore shadow stack pointer if shadow stack is
10348 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10349 isn't defined for __longjmp_cancel.
10350 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10351 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10352 and SHADOW_STACK_POINTER_OFFSET is defined.
10353 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10354 (setjmp): Save shadow stack pointer if shadow stack is enabled
10355 and SHADOW_STACK_POINTER_OFFSET is defined.
10356 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10357 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10358 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10359 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10360 <jmp_buf-ssp.h>.
10361 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10362 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10363 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10364 Remove jmp_buf-ssp.sym.
10365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10366 <jmp_buf-ssp.h>.
10367 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10368 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10369 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10370 jmp_buf-ssp.sym.
10371 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10372 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10373 (__longjmp): Restore shadow stack pointer if shadow stack is
10374 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10375 isn't defined for __longjmp_cancel.
10376 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10377 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10378 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10379
ebff9c5c
L
103802018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10381
10382 [BZ #22563]
10383 * nptl/pthread_create.c: Include <tls-setup.h>.
10384 (__pthread_create_2_1): Call tls_setup_tcbhead.
10385 * sysdeps/generic/tls-setup.h: New file.
10386 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10387 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10388 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10389 Likewise.
10390 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10391 to feature_1.
10392 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10393 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10394 (X86_FEATURE_1_SHSTK): Likewise.
10395 (CET_ENABLED): Likewise.
10396 (IBT_ENABLED): Likewise.
10397 (SHSTK_ENABLED): Likewise.
10398
0a83bad2
RL
103992018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10400
10401 [BZ #23208]
10402 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10403 (LOCALES): Likewise.
10404 * localedata/dsb_DE.UTF-8.in: New file.
10405 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10406
046bfed9
FW
104072018-07-12 Florian Weimer <fweimer@redhat.com>
10408
10409 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10410 __mprotect, not mprotect.
10411
93304f5f
FW
104122018-07-11 Florian Weimer <fweimer@redhat.com>
10413
10414 * io/Makefile (headers): Add bits/statx.h.
10415
4beefeeb
MF
104162018-07-10 Mike FABIAN <mfabian@redhat.com>
10417
10418 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10419 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10420 and headers.
10421 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10422 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10423 for utf8_gen.py
10424
fd70af45
FW
104252018-07-10 Florian Weimer <fweimer@redhat.com>
10426
10427 * io/Makefile (routines): Add statx.
10428 (tests-internal): Add tst-statx.
10429 * io/Versions (GLIBC_2.28): Export statx.
10430 * io/bits/statx.h: New file.
10431 * io/sys/stat.h [__USE_GNU]: Include it.
10432 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10433 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10434 Define.
10435 * io/statx.c: New file.
10436 * io/statx_generic.: Likewise.
10437 * io/tst-statx.: Likewise.
10438 * include/bits/statx.h: Likewise.
10439 * sysdeps/unix/sysv/linux/kernel-features.h
10440 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10441 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10442 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10443 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10444 Undefine.
10445 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10446 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10447 * sysdeps/unix/sysv/linux/statx.c: New file.
10448 * manual/filesys.texi: Note that statx is undocumented.
10449 * sysdeps/**/libc*.abilist: Update.
10450
b444e8f7
AZ
104512018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10452
10453 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10454 a kernel issue which lead to test failure in some cases.
10455
7b2f4ced
FW
104562018-07-10 Florian Weimer <fweimer@redhat.com>
10457
10458 [BZ #23036]
10459 * posix/regexec.c (check_node_accept_bytes): When comparing
10460 weights, do not compare an extra byte after the end of the
10461 weights.
10462
4fa34da6
FW
104632018-07-10 Florian Weimer <fweimer@redhat.com>
10464
10465 * libio/readline.c: Fix copyright year.
10466 * libio/tst-readline.c Likewise.
10467 * nss/tst-nss-files-hosts-getent.c: Likewise.
10468
916124ed
FW
104692018-07-06 Florian Weimer <fweimer@redhat.com>
10470
10471 [BZ #18991]
10472 * nss/nss_files/files-XXX.c (internal_getent): Use
10473 __libc_readline_unlocked. Seek back to the start of the line if
10474 parsing failes with ERANGE.
10475 (get_contents_ret, get_contents): Remove.
10476 * nss/tst-nss-files-hosts-getent.c: New file.
10477 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10478 (tst-nss-files-hosts-getent): Link with -ldl.
10479
3f5e3f5d
FW
104802018-07-06 Florian Weimer <fweimer@redhat.com>
10481
10482 * include/stdio.h (__libc_readline_unlocked): Declare.
10483 (__ftello64, __fseeko64): Declare aliases.
10484 * libio/readline.c: New file.
10485 * libio/tst-readline.c: Likewise.
10486 (routines): Add readline.
10487 (tests-internal): Add tst-readlime.
10488 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10489 __libc_readline_unlocked.
10490 * libio/fseeko.c (__fseeko): Rename from fseeko.
10491 (fseeko): Add alias.
10492 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10493 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10494 (fseeko64): Add alias.
10495 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10496 * libio/ftello64.c (__ftello64): Rename from ftello64.
10497 (ftello64): Add alias.
10498
397c54c1
SN
104992018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10500
10501 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10502 HWCAP_ATOMICS.
10503
d0cd7980
SN
105042018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10505
10506 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10507 Use dl_hwcap without masking.
10508 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10509 Remove HWCAP_CPUID.
10510
ddb3c626
FW
105112018-07-06 Florian Weimer <fweimer@redhat.com>
10512
10513 * conform/conformtest.pl (checknamespace): Escape literal braces
10514 in regular expressions.
10515
bce5911b
AP
105162018-07-06 Amit Pawar <amit.pawar@amd.com>
10517
10518 * sysdeps/x86/cpu-features.c (get_common_indeces):
10519 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10520 * sysdeps/x86/cpu-features.c (init_cpu_features):
10521 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10522
3a885c1f
FW
105232018-07-05 Florian Weimer <fweimer@redhat.com>
10524
10525 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10526 protector.
10527 (CFLAGS-elf-init.oS): Likewise.
10528
38cade0c
FW
105292018-07-05 Florian Weimer <fweimer@redhat.com>
10530 Carlos O'Donell <carlos@redhat.com>
10531
10532 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10533 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10534 with stack protector enabled because there is no risk of infinite
10535 recursion.
10536
9449a295
MR
105372018-07-05 Maciej W. Rozycki <macro@mips.com>
10538
10539 [BZ #19818]
10540 [BZ #23307]
10541 * libc-abis (ABSOLUTE): New ABI.
10542 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10543 * NEWS: Mention the new ABI.
10544
d6da5cb6
FW
105452018-07-05 Florian Weimer <fweimer@redhat.com>
10546
10547 [BZ # 17662]
10548 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10549 (RENAME_WHITEOUT): Define.
10550 [__USE_GNU] (renameat2): Declare.
10551 * stdio-common/Makefile (routines): Add renameat2.
10552 (tests): Add tst-renameat2.
10553 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10554 * stdio-common/renameat2.c: New file.
10555 * stdio-common/tst-renameat2.c: Likewise.
10556 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10557 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10558 undocumented.
10559 * sysdeps/unix/sysv/linux/kernel-features.h
10560 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10561 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10562 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10563 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10564 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10565 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10566 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10567 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10568 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10569 * include/stdio.h (__renameat): Add alias for renameat.
10570 * stdio-common/renameat.c (__renameat): Rename from renameat.
10571 Add hidden definition and alias.
10572 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10573 * sysdeps/mach/hurd/renameat.c: Likewise.
10574 * sysdeps/**/libc*.abilist: Add renameat2.
10575
1002d708
AZ
105762018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10577
10578 * posix/bug-regex33.c: Fix build after regex sync.
10579
34fdb893
CD
105802018-07-04 Carlos O'Donell <carlos@redhat.com>
10581
10582 [BZ #23164]
10583 * localedata/tst-langinfo-setlocale.c: New file.
10584 * localedata/tst-langinfo-setlocale-static.c: New file.
10585 * localedata/tst-langinfo-newlocale.c: New file.
10586 * localedata/tst-langinfo-newlocale-static.c: New file.
10587 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10588 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10589 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10590 (tests-static): Remove tst-langinfo-static. Add
10591 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10592 (tests-special): Remove $(objpfx)tst-langinfo.out,
10593 $(objpfx)tst-langinfo-static.out. Add
10594 $(objpfx)tst-langinfo-setlocale.out,
10595 $(objpfx)tst-langinfo-newlocale.out,
10596 $(objpfx)tst-langinfo-setlocale-static.out,
10597 $(objpfx)tst-langinfo-newlocale-static.out.
10598 ($(objpfx)tst-langinfo.out): Remove.
10599 ($(objpfx)tst-langinfo-static.out): Remove.
10600 ($(objpfx)tst-langinfo-newlocale.out): New target.
10601 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10602 (test-xfail-tst-langinfo-newlocale-static): Add.
10603 ($(objpfx)tst-langinfo-setlocale.out): New target.
10604 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10605 * localedata/tst-langinfo.c: Call test_locale.
10606 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10607 data.
10608
f2873d2d
FW
106092018-07-04 Florian Weimer <fweimer@redhat.com>
10610
10611 testrun.sh: Implement --tool=strace, --tool=valgrind
10612 * Makefile (testrun-script): Define variable.
10613 (testrun.sh): Use variable.
10614 * manual/install.texi (Tools for Compilation): make 4.0 or later
10615 is required.
10616 * configure.ac: Check for make 4.0 or later.
10617 * INSTALL: Regenerate.
10618 * configure: Likewise.
10619
eb04c213
AZ
106202018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10621
10622 [BZ #23233]
10623 [BZ #21163]
10624 [BZ #18986]
10625 [BZ #13762]
10626 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10627 * posix/PCRE.tests: Remove invalid test.
10628 * posix/bug-regex28.c: Fix expected values for used syntax.
10629 * posix/bug-regex37.c: New file.
10630 * posix/bug-regex38.c: Likewise.
10631 * posix/regcomp.c: Sync with gnulib.
10632 * posix/regex.c: Likewise.
10633 * posix/regex.h: Likewise.
10634 * posix/regex_internal.c: Likewise.
10635 * posix/regex_internal.h: Likewise.
10636 * posix/regexec.c: Likewise.
10637
b11643c2
MF
106382018-06-26 Mike FABIAN <mfabian@redhat.com>
10639
10640 [BZ #23308]
10641 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10642 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10643 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10644 * localedata/unicode-gen/PropList.txt: likewise.
10645 * localedata/unicode-gen/UnicodeData.txt: likewise.
10646 * localedata/charmaps/UTF-8: Regenerate.
10647 * localedata/locales/i18n_ctype: likewise.
10648 * localedata/locales/tr_TR: likewise.
10649 * localedata/locales/translit_circle: likewise.
10650 * localedata/locales/translit_cjk_compat: likewise.
10651 * localedata/locales/translit_combining: likewise.
10652 * localedata/locales/translit_compat: likewise.
10653 * localedata/locales/translit_font: likewise.
10654 * localedata/locales/translit_fraction: likewise.
10655
5a357506
FW
106562018-07-03 Florian Weimer <fweimer@redhat.com>
10657
10658 [BZ #23363]
10659 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10660 * stdio-common/tst-printf.sh: Adjust expected output.
10661 * LICENSES: Update.
10662
7279af00
AZ
106632018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10664
10665 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10666 symbol.
10667
b7b88cea
GG
106682018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10669
10670 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10671 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10672 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10673 * stdio-common/tst-printfsz-islongdouble.c: New file.
10674 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10675 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10676 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10677 [subdir == stdio-common] (tests-internal): Add
10678 test-printf-size-ieee128, and test-printf-size-ibm128.
10679 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10680 (CFLAGS-test-printf-size-ibm128.c): New variables.
10681 [subdir == stdio-common] (tests-special): Add
10682 $(objpfx)test-printf-size-ieee128.out and
10683 $(objpfx)test-printf-size-ibm128.out.
10684 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10685 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10686 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10687 __printf_sizeieee128.
10688 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10689 New file.
10690 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10691 Likewise.
10692 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10693 Likewise.
10694
2b445206
SN
106952018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10696
10697 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10698 (exp2f_inline): Likewise.
10699 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10700 (__math_uflowf): Likewise.
10701 (__math_may_uflowf): Likewise.
10702 (__math_divzerof): Likewise.
10703 (__math_invalidf): Likewise.
10704 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10705 (__math_oflowf): Likewise.
10706 (__math_uflowf): Likewise.
10707 (__math_may_uflowf): Likewise.
10708 (__math_divzerof): Likewise.
10709 (__math_invalidf): Likewise.
10710
2827ab99
CD
107112018-06-29 DJ Delorie <dj@redhat.com>
10712 Carlos O'Donell <carlos@redhat.com>
10713
10714 [BZ #23329]
10715 * include/libc-symbols.h: Comment the freeres framework.
10716 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10717 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10718 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10719 * dlfcn/dlerror.c: Include libc-symbols.h
10720 (__dlerror_main_freeres): New function.
10721 * dlfcn/dlfreeres.c: New file.
10722 * dlfcn/sdlfreeres.c: New file.
10723 * include/dlfcn.h: Declare __dlerror_main_freeres.
10724 * malloc/set-freeres.c: Declare __libdl_freeres, and
10725 __libpthread_freeres.
10726 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10727 the releavant libraries are loaded.
10728 * malloc/thread-freeres.c: Add comments.
10729 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10730 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10731 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10732 (__free_stacks): Rename to...
10733 (free_stacks): ...this. Mark static.
10734 (queue_stack): Call free_stacks.
10735 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10736 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10737 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10738 ptr_freeres element from struct.
10739 (pthread_functions): Remove .ptr_freeres from struct initializer.
10740 [SHARED] (nptl_freeres): Remove.
10741 * nptl/nptlfreeres.c: New file.
10742 * nptl/pthreadP.h
10743 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10744 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10745 attribute_hidden.
10746 (__free_stacks): Rename to...
10747 (__nptl_stacks_freeres): ...this.
10748 (__shm_directory_freeres): Declare.
10749 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10750 (__nptl_unwind_freeres): ...this.
10751 * resolv/res-close.c: Add comment.
10752 * resolv/resolv_conf.c: Include libc-symbols.h.
10753 * string/strerror_l.c: Include libc-symbols.h.
10754 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10755 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10756 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10757 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10758
37d3d244
RS
107592018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10760
10761 * stdlib/tst-strfmon_l.c: Add tests for long double.
10762
a1e0c5fa
MW
107632018-06-29 Michael Wolf <milupo@sorbzilla.de>
10764
10765 [BZ #23208]
10766 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10767 * localedata/locales/dsb_DE: New file.
10768
2e0c5de6
RL
107692018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10770
10771 [BZ #23140]
10772 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10773 genitive case).
10774 (alt_mon): New entry, import from CLDR (nominative case).
10775
cdb52c71
SL
107762018-06-29 Sylvain Lesage <severo@rednegra.net>
10777
10778 [BZ #22996]
10779 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10780
ce76a5cb
SP
107812018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10782
0aec4c1d
SP
10783 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10784 Use vector registers.
10785
ce76a5cb
SP
10786 * sysdeps/aarch64/multiarch/memmove_falkor.S
10787 (__memcpy_falkor): Use vector registers.
10788
7e8989d0
MS
107892018-06-29 Martin Sebor <msebor@redhat.com>
10790
10791 * manual/stdio.texi (Customizing Printf): Mention interaction
10792 with GCC built-ins.
10793
bac15a72
MR
107942018-06-29 Maciej W. Rozycki <macro@mips.com>
10795
10796 [BZ #23307]
10797 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10798 `st_value' is 0 if `st_shndx' is SHN_ABS.
10799 * elf/tst-absolute-zero.c: New file.
10800 * elf/tst-absolute-zero-lib.c: New file.
10801 * elf/tst-absolute-zero-lib.lds: New file.
10802 * elf/Makefile (tests): Add `tst-absolute-zero'.
10803 (modules-names): Add `tst-absolute-zero-lib'.
10804 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10805 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10806 ($(objpfx)tst-absolute-zero: New dependency.
10807
e69d994a
ZW
108082018-06-29 Zack Weinberg <zackw@panix.com>
10809
10810 * configure.ac: New command-line option --disable-crypt.
10811 Force --disable-nss-crypt when --disable-crypt is given, with a
10812 warning if it was explicitly enabled.
10813 * configure: Regenerate.
10814 * config.make.in: New boolean substitution variable $(build-crypt).
10815 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10816 when $(build-crypt).
10817 * manual/install.texi: Document --disable-crypt.
10818 * INSTALL: Regenerate.
10819
10820 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10821 which is never set.
10822 * conform/Makefile: Only include libcrypt.a in
10823 linknamespace-libs-xsi and linknamespace-libs-XPG4
10824 when $(build-crypt).
10825 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10826 USE_CRYPT to 1 when $(build-crypt).
10827 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10828 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10829 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10830
841785ba
ZW
108312018-06-29 Zack Weinberg <zackw@panix.com>
10832
10833 * crypt/crypt.h, posix/unistd.h: Update comments and
10834 prototypes for crypt and crypt_r.
10835
10836 * manual/crypt.texi (Cryptographic Functions): New initial
10837 exposition.
10838 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10839 (Unpredictable Bytes): Improve initial exposition. Clarify error
10840 behavior of getentropy and getrandom.
10841 * manual/examples/genpass.c: Generate a salt using getentropy
10842 instead of the current time. Use hash $5$ (SHA-2-256).
10843 * manual/examples/testpass.c: Demonstrate validation against
10844 hashes generated with three different one-way functions.
10845
10846 * manual/intro.texi: crypt.texi does not need an overview
10847 anymore.
10848
10849 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10850 * manual/terminal.texi: Consistently refer to "passphrases"
10851 * instead of "passwords", and to the "user database" instead
10852 * of the "password database".
10853 * manual/users.texi: Similarly. Add notes about how actual
10854 passphrase hashes are now stored in the shadow database.
10855 Remove 20-year-old junk todo note.
10856
6ab902e4
ZW
108572018-06-29 Zack Weinberg <zackw@panix.com>
10858
10859 * manual/crypt.texi: Use a normal top-level @node declaration.
10860 Move most of the introductory text to the 'crypt' section.
10861 Move the example programs below the @deftypefun for 'crypt_r'.
10862 Move the 'getpass' section...
10863 * manual/terminal.texi: ...here.
10864
b10a0acc
ZW
108652018-06-29 Zack Weinberg <zackw@panix.com>
10866 Florian Weimer <fweimer@redhat.com>
10867
10868 * posix/unistd.h: Do not declare encrypt.
10869 (_XOPEN_CRYPT): Remove macro definition.
10870 (crypt): Declare only for _USE_MISC.
10871 * stdlib/stdlib.h: Do not declare setkey.
10872 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10873 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10874
10875 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10876 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10877 into compat symbols. Don't define initial_perm if it's not
10878 going to be used.
10879 * crypt/cert.c: Link explicitly with the expected versions for
10880 setkey and encrypt. If they are not available at all, mark
10881 the test as unsupported.
10882
10883 * sunrpc/des_crypt.c: Unconditionally block linkage with
10884 cbc_crypt and ecb_crypt for new binaries.
10885 * sunrpc/des_soft.c: Unconditionally block linkage with
10886 des_setparity for new binaries.
10887
10888 * manual/crypt.texi: Remove the entire "DES Encryption"
10889 section. Also remove the paragraph talking about FIPS 140-2
10890 from the introduction.
10891 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10892 of libgcrypt for "real" encryption, not DES.
10893 * manual/conf.texi (Constants for Sysconf): Mention that
10894 _XOPEN_CRYPT is no longer impelemented.
10895
10896 * conform/data/unistd.h-data: Remove crypt function declaration.
10897
524d796d
FW
108982018-06-29 Florian Weimer <fweimer@redhat.com>
10899
10900 [BZ #23351]
10901 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10902 (disallow_malloc_check): Remove variable.
10903 (__malloc_check_init): Adjust.
10904 (malloc_set_state): Update comment.
10905 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10906 declarations.
10907
339124ab
RL
109082018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10909
10910 [BZ #23140]
10911 * localedata/locales/ast_ES (mon): Rename to...
10912 (alt_mon): This.
10913 (mon): Import from CLDR (genitive case).
10914
c1f86a33
DA
109152018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10916 Jakub Sitnicki <jkbs@redhat.com>
10917
10918 [BZ #21812]
10919 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10920 on NLM_F_DUMP_INTR.
10921
0b11b649
SN
109222018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10923
10924 * manual/llio.texi: Remove spurious space.
10925
c1c2848b
FW
109262018-06-28 Florian Weimer <fweimer@redhat.com>
10927
10928 [BZ #23349]
10929 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10930 _STRUCT_TIMESPEC.
10931
86a0f561
RS
109322018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10933
10934 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 10935 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
10936 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10937 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10938 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10939 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10940 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10941
780684eb
MR
109422018-06-27 Maciej W. Rozycki <macro@mips.com>
10943
10944 [BZ #23266]
10945 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10946 Copy and null-terminate entries that are not terminated, in
10947 addition to empty ones.
10948
c49e1822
FW
109492018-06-27 Florian Weimer <fweimer@redhat.com>
10950
10951 [BZ #18023]
b39d961c
TS
10952 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10953 (extend_alloca_account): Remove.
c49e1822
FW
10954 * manual/stdio.texi (Variable Arguments Output): Update comment.
10955
a833e627
JM
109562018-06-27 Joseph Myers <joseph@codesourcery.com>
10957
10958 * nptl/sockperf.c: Remove file.
10959
92d6aa85
FW
109602018-06-27 Florian Weimer <fweimer@redhat.com>
10961
10962 [BZ #18023]
10963 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10964 scratch_buffer instead of extend_alloca.
10965
890c2ced
FW
109662018-06-27 Florian Weimer <fweimer@redhat.com>
10967
10968 [BZ #18023]
10969 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10970 scratch_buffer instead of extend_alloca. Update comments.
10971
4272059d
FW
109722018-06-27 Florian Weimer <fweimer@redhat.com>
10973
10974 [BZ #18023]
10975 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10976 instead of extend_alloca.
10977
27f10a09
JM
109782018-06-26 Joseph Myers <joseph@codesourcery.com>
10979
10980 [BZ #13888]
10981 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10982 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10983 /tmp.
10984 * scripts/test-installation.pl: Put temporary files in build
10985 directory, not /tmp.
10986 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10987 (CFLAGS-bug4.c): Likewise.
10988 (CFLAGS-bug5.c): Likewise.
10989 (CFLAGS-test-fseek.c): Likewise.
10990 (CFLAGS-test-popen.c): Likewise.
10991 (CFLAGS-test_rdwr.c): Likewise.
10992 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10993 /tmp.
10994 * stdio-common/bug4.c (main): Likewise.
10995 * stdio-common/bug5.c (main): Likewise.
10996 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10997 * stdio-common/test-popen.c (do_test): Likewise.
10998 * stdio-common/test_rdwr.c (main): Likewise.
10999
05598a09
PF
110002018-06-26 Patsy Franklin <pfrankli@redhat.com>
11001
11002 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11003 (sem_open): Set sem.newsem.pad to zero for valgrind.
11004
06ab719d
AZ
110052018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11006
11007 [BZ #20251]
11008 * NEWS: Mention fcntl64 addition.
11009 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11010 * login/utmp_file.c: Likewise.
11011 * sysdeps/posix/fdopendir.c: Likewise.
11012 * sysdeps/posix/opendir.c: Likewise.
11013 * sysdeps/unix/pt-fcntl.c: Likewise.
11014 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11015 __fcntl64_nocancel_adjusted): New prototype.
11016 (__fcntl_nocancel_adjusted): Remove prototype.
11017 * io/Makefile (routines): Add fcntl64.
11018 (CFLAGS-fcntl64.c): New rule.
11019 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11020 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11021 * io/fcntl.h (fcntl64): Add prototype and redirect if
11022 __USE_FILE_OFFSET64 is defined.
11023 * io/fcntl64.c: New file.
11024 * manual/llio.text: Add a note for which commands fcntl acts a
11025 cancellation point.
11026 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11027 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11028 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11029 New symbols.
11030 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11031 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11032 non-LFS case.
11033 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11034 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11035 to __fcntl64_nocancel.
11036 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11037 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11038 to __fcntl64_nocancel.
11039 * sysdeps/generic/not-cancel.h: Likewise.
11040 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11041 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11042 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11043 (fcntl64): New symbol.
11044 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11045 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11046 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11049 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11050 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11051 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11052 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11054 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11055 fcntl64): Likewise.
11056 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11057 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11058 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11059 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11060 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11061 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11062 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11063 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11066 Likewise.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11068 Likewise.
11069 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11070 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11071 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11072
124e0258
FW
110732018-06-26 Florian Weimer <fweimer@redhat.com>
11074
11075 Run thread shutdown functions in an explicit order.
11076 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11077 definition.
11078 (__libc_thread_freeres): Call thread shutdown functions
11079 explicitly.
11080 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11081 * include/string.h (__strerror_thread_freeres): Declare.
11082 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11083 arena_thread_freeres. No longer static. Remove thread shutdown
11084 hook registration.
11085 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11086 Declare.
11087 * resolv/res-close.c (__res_thread_freeres): Renamed from
11088 res_thread_freeres. No longer static. Remove thread shutdown
11089 hook registration.
11090 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11091 * resolv/resolv_conf.c (freeres): Remove incorrect section
11092 attribute and use libc_freeres_fn.
11093 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11094 strerror_thread_freeres. No longer static. Remove thread
11095 shutdown hook registration.
11096 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11097 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11098 shutdown hook registration.
11099 * Makerules (shlib.lds): Do not provide section boundary symbols
11100 for __libc_thread_subfreeres.
11101 * manual/memory.texi (Basic Allocation): Update comment.
11102
935d920e
FW
111032018-06-26 Florian Weimer <fweimer@redhat.com>
11104
11105 Remove always-defined _RPC_THREAD_SAFE_ macro.
11106 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11107 Do not define _RPC_THREAD_SAFE_.
11108 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11109 conditional.
11110 * sunrpc/clnt_perr.c: Likewise.
11111 * sunrpc/clnt_raw.c: Likewise.
11112 * sunrpc/clnt_simp.c: Likewise.
11113 * sunrpc/key_call.c: Likewise.
11114 * sunrpc/rpc_common.c: Likewise.
11115 * sunrpc/rpc_main.c: Likewise.
11116 * sunrpc/rpc_thread.c: Likewise.
11117 * sunrpc/svc.c: Likewise.
11118 * sunrpc/svc_raw.c: Likewise.
11119 * sunrpc/svc_simple.c: Likewise.
11120 * sumrpc/svcauth_des.c: Likewise.
11121
29055464
FW
111222018-06-26 Florian Weimer <fweimer@redhat.com>
11123
11124 * libio/Makefile (tests-internal): Add tst-vtables,
11125 tst-vtables-interposed.
11126 * libio/tst-vtables.c: New file.
11127 * libio/tst-vtables-common.c: Likewise.
11128 * libio/tst-vtables-interposed.c: Likewise.
11129
5c0202af
FW
111302018-06-26 Florian Weimer <fweimer@redhat.com>
11131
11132 * support/support_test_main.c (support_test_main): Only call
11133 setvbuf if not disables.
11134 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11135 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11136
c402355d
FW
111372018-06-26 Florian Weimer <fweimer@redhat.com>
11138
11139 [BZ #23313]
11140 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11141
43b1048a
FW
111422018-06-25 Florian Weimer <fweimer@redhat.com>
11143
11144 [BZ #18023]
11145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11146 Use struct scratch_buffer instead of extend_alloca.
11147
1599ed4e
FW
111482018-06-25 Florian Weimer <fweimer@redhat.com>
11149
11150 [BZ #18023]
11151 * nss/getent.c (initgroups_keys): Use dynarray instead of
11152 extend_alloca.
11153
a26fe163
FW
111542018-06-25 Florian Weimer <fweimer@redhat.com>
11155
11156 [BZ #18023]
11157 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11158 Use struct scratch_buffer instead of extend_alloca.
11159
90d9d9ce
FW
111602018-06-25 Florian Weimer <fweimer@redhat.com>
11161
11162 [BZ #18023]
11163 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11164 back to malloc directly, without stack allocations.
11165
6b7b2aba
FW
111662018-06-25 Florian Weimer <fweimer@redhat.com>
11167
11168 [BZ #18023]
11169 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11170 of extend_alloca.
11171
2f9f0d18
FW
111722018-06-25 Florian Weimer <fweimer@redhat.com>
11173
11174 [BZ #18023]
11175 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11176 of extend_alloca.
11177 * nscd/hstcache.c (addhstbyX): Likewise.
11178 * nscd/pwdcache.c (addpwbyX): Likewise.
11179 * nscd/servicescache.c (addservbyX): Likewise.
11180
318bad78
FW
111812018-06-25 Florian Weimer <fweimer@redhat.com>
11182
11183 [BZ #18023]
11184 * nscd/connections.c (read_cmdline): New function.
11185 (restart): Use it. Update comment.
11186
189699ab
RL
111872018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11188
11189 [BZ #23140]
11190 * localedata/locales/csb_PL (mon): Rename to...
11191 (alt_mon): This.
11192 (abmon): Rename to...
11193 (ab_alt_mon): This.
11194 (mon): Add with proper genitive forms, copy from Wikipedia.
11195 (abmon): Likewise.
11196
0ea3f13c
RL
111972018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11198
11199 [BZ #19485]
11200 * localedata/locales/csb_PL (mon): Fix typos:
11201 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11202 (yesstr): Add, value is "jo".
11203 (nostr): Add, value is "nié".
11204
d93f4ff1
TMQMF
112052018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11206
11207 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11208 all log1p and significand functions on m680x0.
11209 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11210 of s_significand.c..
11211 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11212 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11213 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11214 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11215 s_log1p.c and include it..
11216
f6299d2a
VC
112172018-06-21 Vincent Chen <vincentc@andestech.com>
11218
11219 * elf/elf.h (R_NDS32_NONE): New define.
11220 (R_NDS32_32_RELA): Likewise.
11221 (R_NDS32_COPY): Likewise.
11222 (R_NDS32_GLOB_DAT): Likewise.
11223 (R_NDS32_JUMP_SLOT): Likewise.
11224 (R_NDS32_RELATIVE): Likewise.
11225 (R_NDS32_TLS_TPOFF): Likewise.
11226 (R_NDS32_TLS_DESC): Likewise.
11227
61ab61c2
MW
112282018-06-21 Mark Wielaard <mark@klomp.org>
11229
11230 * elf/elf.h (R_BPF_MAP_FD): Removed.
11231 (R_BPF_64_64, R_BPF_64_32): New.
11232
f496b28e
FW
112332018-06-21 Florian Weimer <fweimer@redhat.com>
11234
11235 [BZ #23253]
11236 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11237 Renamed from libc_feholdsetround_ctx.
11238 (default_libc_feresetround_ctx): Renamed from
11239 libc_feresetround_ctx.
11240 (default_libc_feholdsetround_noex_ctx): Renamed from
11241 libc_feholdsetround_noex_ctx.
11242 (default_libc_feresetround_noex_ctx): Renamed from
11243 libc_feresetround_noex_ctx.
11244 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11245 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11246 forwardning to the old implementations under the new names.
11247 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11248 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11249 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11250 (libc_feresetround_ctx): Forward to default implements for i386
11251 and MATH_SET_BOTH_ROUNDING_MODES.
11252 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11253 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11254
1760daad
JM
112552018-06-20 Joseph Myers <joseph@codesourcery.com>
11256
99c7adf9
JM
11257 * string/tst-cmp.c: Include <libc-diag.h>.
11258 (strncmp_max): Disable -Wstringop-overflow= around call to
11259 strncmp.
11260 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11261 strncasecmp.
11262
1760daad
JM
11263 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11264 (main): Disable -Wunused-value around call to strpbrk.
11265 * string/bug-strspn1.c: Include <libc-diag.h>.
11266 (main): Disable -Wunused-value around call to strspn.
11267
209ae17c
TMQMF
112682018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11269 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11270
11271 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11272 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11273
badba23c
TMQMF
112742018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11275
5e79e029
TMQMF
11276 * math/Makefile (libm-calls): Move s_significandF to...
11277 (gen-libm-calls): ... here.
11278 * math/s_significand_template.c: New file.
11279 * math/s_significand.c: Removed.
11280 * math/s_significandf.c: Removed.
11281 * math/s_significandl.c: Removed.
11282 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11283 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11284
badba23c
TMQMF
11285 * math/e_exp2_template.c (declare_mgen_finite_alias,
11286 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11287 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11288 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11289
2d1c89a5
FW
112902018-06-20 Florian Weimer <fweimer@redhat.com>
11291
11292 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11293
646c2833
JM
112942018-06-19 Joseph Myers <joseph@codesourcery.com>
11295
11296 [BZ #23280]
11297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11298 floating-point number to strtod functions rather than possibly
11299 negating result of those functions.
11300 * stdio-common/tst-scanf-round.c: New file.
11301 * stdio-common/Makefile (tests): Add tst-scanf-round.
11302 ($(objpfx)tst-scanf-round): Depend on $(libm).
11303
c77e4dc0
ST
113042018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11305
11306 * sysdeps/mach/hurd/localplt.data: Move to...
11307 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11308 R_386_GLOB_DAT like on Linux i386.
11309
91b2f3e5
JM
113102018-06-18 Joseph Myers <joseph@codesourcery.com>
11311
f2857da7
JM
11312 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11313 (SHM_STAT_ANY): New macro.
11314 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11315 (SHM_STAT_ANY): Likewise.
11316 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11317 (SHM_STAT_ANY): Likewise.
11318 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11319 (SHM_STAT_ANY): Likewise.
11320 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11321 (SHM_STAT_ANY): Likewise.
11322 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11323 (SHM_STAT_ANY): Likewise.
11324 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11325 (SHM_STAT_ANY): Likewise.
11326 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11327 (SHM_STAT_ANY): Likewise.
11328 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11329 (SHM_STAT_ANY): Likewise.
11330 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11331 (SHM_STAT_ANY): Likewise.
11332 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11333 (SHM_STAT_ANY): Likewise.
11334 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11335 (SHM_STAT_ANY): Likewise.
11336
176c7fee
JM
11337 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11338 (SEM_STAT_ANY): New macro.
11339 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11340 (SEM_STAT_ANY): Likewise.
11341 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11342 (SEM_STAT_ANY): Likewise.
11343 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11344 (SEM_STAT_ANY): Likewise.
11345 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11346 (SEM_STAT_ANY): Likewise.
11347 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11348 (SEM_STAT_ANY): Likewise.
11349 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11350 (SEM_STAT_ANY): Likewise.
11351 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11352 (SEM_STAT_ANY): Likewise.
11353 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11354 (SEM_STAT_ANY): Likewise.
11355 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11356 (SEM_STAT_ANY): Likewise.
11357
86bf0019
JM
11358 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11359 (MSG_STAT_ANY): New macro.
11360 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11361 (MSG_STAT_ANY): Likewise.
11362 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11363 (MSG_STAT_ANY): Likewise.
11364 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11365 (MSG_STAT_ANY): Likewise.
11366 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11367 (MSG_STAT_ANY): Likewise.
11368 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11369 (MSG_STAT_ANY): Likewise.
11370 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11371 (MSG_STAT_ANY): Likewise.
11372 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11373 (MSG_STAT_ANY): Likewise.
11374 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11375 (MSG_STAT_ANY): Likewise.
11376 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11377 (MSG_STAT_ANY): Likewise.
11378
91b2f3e5
JM
11379 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11380 (MAP_TYPE): Change value to 0x2b.
11381
3fe8fc79
FW
113822018-06-18 Florian Weimer <fweimer@redhat.com>
11383
11384 [BZ #15722]
11385 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11386 socket with SOCK_CLOEXEC.
11387
809dc95d
JM
113882018-06-18 Joseph Myers <joseph@codesourcery.com>
11389
11390 [BZ #23303]
11391 * sysdeps/powerpc/powerpc64/le/Makefile
11392 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11393 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11394 (gnulib-tests): Also add $(f128-loader-link) for
11395 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11396
298a8b59
ST
113972018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11398
11399 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11400 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11401 of sendfile.
11402 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11403 (sendfile64): New strong alias.
faf7bbc2
ST
11404 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11405 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11406 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
11407 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11408 attribute.
11409 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11410 ___pthread_get_cleanup_stack.
932d05f0 11411 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
11412 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11413 * mach/shortcut.awk: Make syscall stubs include
11414 <mach-shortcuts-hidden.h> and add hidden definition.
11415 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
11416 (__mach_msg): Add hidden prototype.
11417 * mach/msg.c: Include <mach.h>.
11418 (__mach_msg): Add hidden definition.
b0344cf5
ST
11419 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11420 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11421 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11422 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
11423 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11424 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
11425 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11426 prototype and definition.
11427 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11428 hidden target for _hurd_self_sigstate.
298a8b59 11429
b12c1e79
JM
114302018-06-15 Joseph Myers <joseph@codesourcery.com>
11431
11432 [BZ #23007]
11433 * stdlib/tst-strtod-nan-sign-main.c: New file.
11434 * stdlib/tst-strtod-nan-sign.c: Likewise.
11435 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11436 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11437 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11438 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11439 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11440
b0debe14
HB
114412018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11442
11443 [BZ #23007]
11444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11445 appropriate sign.
11446
14beef75
FW
114472018-06-14 Florian Weimer <fweimer@redhat.com>
11448
11449 [BZ #23290]
11450 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11451 that the result stays within the ISO-8859-1 range.
11452 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11453 characters are defined in IBM273.
11454
c596630b
ST
114552018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11456
11457 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11458 __mach_task_self): Remove attribute_hidden.
11459
35ebb6b0
JM
114602018-06-14 Joseph Myers <joseph@codesourcery.com>
11461
11462 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11463 ignore -Wrestrict for one test.
11464
3c7b9f1f
SE
114652018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11466 Szabolcs Nagy <szabolcs.nagy@arm.com>
11467
11468 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11469
c59ee916
FW
114702018-06-14 Florian Weimer <fweimer@redhat.com>
11471
11472 * scripts/update-abilist.sh: Accept empty list of files to patch.
11473
43b5ff50
ST
114742018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11475
11476 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11477 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
11478 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11479 __libc_read and __libc_write to __read and __write.
c8c6e6d6 11480 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
11481 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11482 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11483 __thread_switch, __evc_wait): Move declarations to...
11484 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11485 attribute_hidden.
06d1a826
ST
11486 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11487 use PLT to call _hurd_self_sigstate.
43b5ff50 11488
fcd6b5ac
JM
114892018-06-13 Joseph Myers <joseph@codesourcery.com>
11490
11491 [BZ #23279]
11492 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11493 MAX_EXP as overflowing.
11494 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11495 overflow flag.
11496 (round_str): Output also whether result overflows in each rounding
11497 mode.
11498 * stdlib/tst-strtod-round-data: Add more tests.
11499 * stdlib/tst-strtod-round-data.h: Regenerated.
11500 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11501 (TEST): Handle extra arguments for overflow flags.
11502 (struct test_overflow): New type.
11503 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11504 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11505 (test_in_one_mode): Take argument with overflow information.
11506 (do_test): Update calls to test_in_one_mode.
11507
35df5a77
CD
115082018-06-12 Carlos O'Donell <carlos@redhat.com>
11509
a745c837
CD
11510 * elf/dl-load (_dl_dst_substitute): Correct comment.
11511 (_dl_dst_count): Likewise.
11512
35df5a77
CD
11513 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11514 lll_futex_timed_wait.
11515
48b12ed5
JM
115162018-06-12 Joseph Myers <joseph@codesourcery.com>
11517
11518 [BZ #23277]
11519 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11520 attribute.
11521 * math/test-nan-const.c: New file.
11522 * math/Makefile (tests): Add test-nan-const.
11523 (CFLAGS-test-nan-const.c): New variable.
11524
cb8f6aff
L
115252018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11526
11527 * benchtests/scripts/compare_strings.py (process_results): Add
11528 funcs argument. Compare only functions which are selected.
11529 (main): Check if base function is among selected functions.
11530 Pass selected functions to process_results.
11531 (__main__): Add -f/--functions argument.
11532
fc2ba803
HZ
115332018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11534 Hongbo Zhang <hongbo.zhang@linaro.org>
11535
11536 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11537 __memcpy_falkor for phecda core.
11538 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11539 __memmove_falkor for phecda core.
11540 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11541 __memset_falkor for phecda core.
11542 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11543 for phecda core.
11544 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11545 macro to identify phecda core.
11546
5aad5f61
CD
115472018-06-12 Carlos O'Donell <carlos@redhat.com>
11548 Andreas Schwab <schwab@suse.de>
11549 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 11550 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
11551
11552 [BZ #23102]
11553 [BZ #21942]
11554 [BZ #18018]
11555 [BZ #23259]
11556 CVE-2011-0536
11557 * elf/dl-dst.h: Remove DL_DST_COUNT.
11558 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11559 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11560 (is_dst): Comment. Support ELF gABI.
11561 (_dl_dst_count): Comment. Simplify and count DSTs.
11562 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11563 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11564 locals.
11565
329ea513
ZW
115662018-06-12 Zack Weinberg <zackw@panix.com>
11567
11568 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11569 * sysdeps/unix/sysv/linux/dl-sysdep.c
11570 Include not-cancel.h. Use __close_nocancel instead of __close,
11571 __open64_nocancel instead of __open, __read_nocancel instead of
11572 __libc_read, and __write_nocancel instead of __libc_write.
11573
11574 * csu/check_fds.c (check_one_fd)
11575 * sysdeps/posix/fdopendir.c (__fdopendir)
11576 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 11577 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
11578
11579 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11580 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 11581 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
11582 Use __open64_nocancel instead of __open_nocancel.
11583
11584 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11585 hidden_proto declarations to the end and issue them if either
11586 IS_IN(libc) or IS_IN(rtld).
11587 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11588 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11589 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11590 read_nocancel, waitpid_nocancel, write_nocancel.
11591
b39d961c
TS
11592 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11593 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11594 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 11595
b39d961c
TS
11596 * nptl/pt-fcntl.c: New file.
11597 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11598 (libpthread-routines): Add pt-fcntl.
11599 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11600 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
11601 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11602 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 11603 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
11604 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11605 to fcntl_nocancel.c.
11606 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11609 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11610
11611 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11612 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11613 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11614 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11615 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11616 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11617 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11618 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11619 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11620 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11621 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11622 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11623 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11624 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11625 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11626 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11627 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11628 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11629 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11630 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11631
b39d961c
TS
11632 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11633 libpthread-routines.
11634 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11635 defines nothing.
329ea513 11636
b39d961c
TS
11637 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11638 __libc_read, and __write instead of __libc_write. Define
11639 __open64 in addition to __open.
329ea513 11640
0221ce2a
L
116412018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11642
11643 [BZ #23250]
11644 [BZ #10686]
11645 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11646 to _private_tm[3] and add __glibc_reserved2.
11647 Add _Static_assert of offset of __private_ss == 0x30.
11648 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11649 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11650
e826574c
FW
116512018-06-12 Florian Weimer <fweimer@redhat.com>
11652
11653 x86: Make strncmp usable from rtld.
11654 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11655 __strncmp_ia32 if in libc (and not in rtld).
11656 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11657 strncmp if not in libc (and not to __strncmp_sse2).
11658
c4ad5782
RL
116592018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11660
11661 [BZ #23140]
11662 * localedata/locales/gd_GB (mon): Rename to...
11663 (alt_mon): This.
11664 (mon): Import from CLDR (genitive case).
11665 * localedata/locales/hsb_DE (mon): Rename to...
11666 (alt_mon): This.
11667 (mon): Import from CLDR (genitive case).
11668 * localedata/locales/wa_BE (mon): Rename to...
11669 (alt_mon): This.
11670 (mon): Add, fill with the proper genitive forms, but CLDR data
11671 is incomplete; completed according to the comments in this file.
11672 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11673
11674 * localedata/locales/wa_BE (country_name): Reword
11675 "Beljike" -> "Beldjike".
11676
ca121b11
JM
116772018-06-11 Joseph Myers <joseph@codesourcery.com>
11678
11679 [BZ #23272]
11680 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11681 cases of non-finite arguments.
11682 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11683
2b69fecb
JDA
116842018-06-10 John David Anglin <danglin@gcc.gnu.org>
11685
11686 [BZ #23174]
11687 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11688
283d9851
AZ
116892018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11690
11691 [BZ #23264]
11692 * include/unistd.h (__execvpex): New prototype.
11693 * posix/Makefile (tests): Add tst-spawn4.
11694 (tests-internal): Add tst-spawn4-compat.
11695 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11696 * posix/tst-spawn4-compat.c: New file.
11697 * posix/tst-spawn4.c: Likewise.
11698 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11699 binaries as shell scripts.
11700 * sysdeps/posix/spawni.c (__spawni): Likewise.
11701
67c05796
L
117022018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11703
11704 [BZ #23145]
11705 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11706 ($(all-built-dso:=.dynsym): New target.
11707 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11708 ($(objpfx)check-initfini.out): New target.
11709 (generated): Add check-initfini.out.
11710 * scripts/check-initfini.awk: New file.
11711 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11712 (_fini): Likewise.
11713 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11714 (_fini): Likewise.
11715 * sysdeps/arm/crti.S (_init): Mark as hidden.
11716 (_fini): Likewise.
11717 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11718 (_fini): Likewise.
11719 * sysdeps/i386/crti.S (_init): Mark as hidden.
11720 (_fini): Likewise.
11721 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11722 (_fini): Likewise.
11723 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11724 (_fini): Likewise.
11725 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11726 (_fini): Likewise.
11727 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11728 (_fini): Likewise.
11729 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11730 (_fini): Likewise.
11731 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11732 (_fini): Likewise.
11733 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11734 (_fini): Likewise.
11735 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11736 (_fini): Likewise.
11737 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11738 (_fini): Likewise.
11739 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11740 (_fini): Likewise.
11741 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11742 (_fini): Likewise.
11743 * sysdeps/sh/crti.S (_init): Mark as hidden.
11744 (_fini): Likewise.
11745 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11746 (_fini): Likewise.
11747 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11748 (_fini): Likewise.
11749
1c09524e
TMQMF
117502018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11751
11752 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11753 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11754 and TF redirection to KFtype and KF only when the default
11755 long double type is not the IEEE 128-bit floating point type.
11756
0e0577c9
JM
117572018-06-05 Joseph Myers <joseph@codesourcery.com>
11758
0c1c33b2
JM
11759 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11760 macro.
11761 (HWCAP_USCAT): Likewise.
11762 (HWCAP_ILRCPC): Likewise.
11763 (HWCAP_FLAGM): Likewise.
11764 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11765 Increase to 28.
11766 (_dl_aarch64_cap_flags): Add new flag names.
11767
bef1cbf4
JM
11768 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11769 (MAP_FIXED_NOREPLACE): New macro.
11770 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11771 (MAP_FIXED_NOREPLACE): Likewise.
11772 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11773 (MAP_FIXED_NOREPLACE): Likewise.
11774 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11775 (MAP_FIXED_NOREPLACE): Likewise.
11776 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11777 (MAP_FIXED_NOREPLACE): Likewise.
11778 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11779 (MAP_FIXED_NOREPLACE): Likewise.
11780 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11781 (MAP_FIXED_NOREPLACE): Likewise.
11782 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11783 (MAP_FIXED_NOREPLACE): Likewise.
11784 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11785 (MAP_FIXED_NOREPLACE): Likewise.
11786 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11787 (MAP_FIXED_NOREPLACE): Likewise.
11788 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11789 (MAP_FIXED_NOREPLACE): Likewise.
11790 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11791 (MAP_FIXED_NOREPLACE): Likewise.
11792 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11793 (MAP_FIXED_NOREPLACE): Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11795 (MAP_FIXED_NOREPLACE): Likewise.
11796 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11797 (MAP_FIXED_NOREPLACE): Likewise.
11798
0e0577c9
JM
11799 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11800 version to 4.17.
11801
ab3a0da0
JM
118022018-06-04 Joseph Myers <joseph@codesourcery.com>
11803
11804 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11805 version to 4.17
11806
d2d9dfb6
ST
118072018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11808
11809 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11810 int.
11811 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11812
a650b05e
LS
118132018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11814
11815 * benchtests/scripts/compare_string.py: (process_results) Catch
11816 exception in non-existent base_func and catch exception in
11817 non-existent attribute.
11818 (parse_file) Catch exception if input file does not exist.
11819
195abbf4
LS
118202018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11821
11822 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11823 options to avoid diff calculation and omit header, respectively.
11824 (main): process --no-diff and --no-header
11825
14570163
LS
118262018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11827 H.J. Lu <hongjiu.lu@intel.com>
11828
11829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11830 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11831 wcsncmp-sse2.
11832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11833 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11834 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11835 and __wcsncmp_sse2.
11836 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11837 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11838 AVX unaligned load is fast and vzeroupper is preferred.
11839 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11840 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11841 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11842 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11843 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11844 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11845 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11846 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11847 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11848 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11849 is undefined.
11850
e02c026f
FW
118512018-06-01 Florian Weimer <fweimer@redhat.com>
11852
11853 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11854 configuring with --disable-multi-arch, building with
11855 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11856 Haswell-era CPU.
11857
d8c19275
FW
118582018-06-01 Florian Weimer <fweimer@redhat.com>
11859
11860 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11861 results from building with “-march=x86-64 -mtune=generic
11862 -mfpmath=sse” and running on a Haswell-era CPU.
11863
0d2163eb
JM
118642018-06-01 Joseph Myers <joseph@codesourcery.com>
11865
11866 [BZ #18473]
11867 * soft-fp/sqrttf2.c: Remove file.
11868 * soft-fp/sqrtdf2.c: Move to ....
11869 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11870 <shlib-compat.h>.
11871 (__sqrtdf2): Make conditional on
11872 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11873 symbol.
11874 * soft-fp/sqrtsf2.c: Move to ....
11875 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11876 <shlib-compat.h>.
11877 (__sqrtsf2): Make conditional on
11878 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11879 symbol.
11880 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11881 (gcc-double-routines): Remove sqrtdf2.
11882 (gcc-quad-routines): Remove sqrttf2.
11883 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11884 Do not filter out sqrtsf2 and sqrtdf2.
11885 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11886 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11887
10450210
FW
118882018-06-01 Florian Weimer <fweimer@redhat.com>
11889
11890 * sysdeps/generic/libcidn.abilist: Remove file.
11891
4e8a6346
FW
118922018-06-01 Florian Weimer <fweimer@redhat.com>
11893
11894 [BZ #23236]
11895 * libio/strfile.h (struct _IO_str_fields): Rename members to
11896 discourage their use and add comment.
11897 (_IO_STR_DYNAMIC): Remove unused macro.
11898 * libio/strops.c (_IO_str_init_static_internal): Do not use
11899 callback pointers. Call malloc and free.
11900 (_IO_str_overflow): Do not use callback pointers. Call malloc
11901 and free.
11902 (enlarge_userbuf): Likewise.
11903 (_IO_str_finish): Call free.
11904 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11905 _allocate_buffer_unused.
11906 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11907 and free.
11908 (enlarge_userbuf): Likewise.
11909 (_IO_wstr_finish): Call free.
11910 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11911 _allocate_buffer_unused, _free_buffer_unused.
11912 * libio/memstream.c (__open_memstream): Likewise.
11913 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11914 * libio/wmemstream.c (open_wmemstream): Likewise.
11915
50d004c9
PP
119162018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11917
11918 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11919 AMD Ryzen 7 1800X.
11920
2c93fce7
RS
119212018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11922
11923 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11924 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11925 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11926 New file.
11927 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11928 Likewise.
11929 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11930
0ce2fa69
FW
119312018-05-29 Florian Weimer <fweimer@redhat.com>
11932
11933 * support/Makefile (libsupport-routines): Add
11934 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11935 xpthread_barrierattr_setpshared.
11936 * support/xpthread_barrierattr_destroy.c: New file.
11937 * support/xpthread_barrierattr_init.c: Likewise.
11938 * support/xpthread_barrierattr_setpshared.c: Likewise.
11939
7f7b5d8d
L
119402018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11941
11942 [BZ #23206]
11943 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11944 _r_debug and update DT_DEBUG for debugger.
11945
e4890300
FW
119462018-05-29 Florian Weimer <fweimer@redhat.com>
11947
11948 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11949 (tst-strtod5i.out): Likewise.
11950
2c753f3e
JM
119512018-05-25 Joseph Myers <joseph@codesourcery.com>
11952
b5453d9f
JM
11953 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11954 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11955 (sparc64-quad-routines): New variable. Moved from ....
11956 [$(subdir) = soft-fp] (sysdep_routines): Add
11957 $(sparc64-quad-routines). Moved from ....
11958 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11959 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11960 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11961 moved from ....
11962 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11963 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11964 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11965 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11966 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11967 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11968 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11969 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11970 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11971 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11972 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11973 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11974 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11975 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11976 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11977 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11978 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11979 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11980 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11981 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11982 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11983 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11984 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11985 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11986 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11987 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11988 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11989 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11990 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11991 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11992 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11993 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11994 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11995 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11996 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11997 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11998 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11999 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12000 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12001 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12002 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12003 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12004 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12005 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12006 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12007 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12008 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12009 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12010 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12011 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12012 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12013 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12014 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12015 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12016 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12017 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12018 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12019 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12020
2c753f3e
JM
12021 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12022 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12023 (sparc32-quad-routines): New variable. Moved from ....
12024 [$(subdir) = soft-fp] (sysdep_routines): Add
12025 $(sparc32-quad-routines). Moved from ....
12026 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12027 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12028 moved from ....
12029 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12030 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12031 * sysdeps/sparc/sparc32/q_add.c: ... here.
12032 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12033 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12034 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12035 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12036 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12037 * sysdeps/sparc/sparc32/q_div.c: ... here.
12038 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12039 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12040 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12041 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12042 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12043 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12044 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12045 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12046 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12047 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12048 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12049 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12050 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12051 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12052 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12053 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12054 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12055 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12056 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12057 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12058 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12059 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12060 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12061 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12062 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12063 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12064 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12065 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12066 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12067 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12068 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12069 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12070 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12071 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12072 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12073 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12074 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12075 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12076 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12077 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12078 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12079 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12080 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12081 * sysdeps/sparc/sparc32/q_util.c: ... here.
12082 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12083 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12084 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12085 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12086
c1dc1e1b
TMQMF
120872018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12088 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12089
12090 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12091 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12092 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12093 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12094
14186e8d
JM
120952018-05-24 Joseph Myers <joseph@codesourcery.com>
12096
12097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12098 powerpc/soft-fp.
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12100 Likewise.
12101 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12102 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12103
fb0e10b8
GG
121042018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12105
12106 [BZ #23171]
12107 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12108 double version.
12109
1dfeb17e
JM
121102018-05-23 Joseph Myers <joseph@codesourcery.com>
12111
12112 * sysdeps/sh/Implies: Remove sh/soft-fp.
12113 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12114 * sysdeps/sh/sfp-machine.h: ... here.
12115
727b38df
L
121162018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12117
12118 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12119 (__mempcpy_erms): Skip zero length.
12120 (__memmove_erms): Likewise.
12121 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12122 (__memset_erms): Likewise.
12123
2834fb46
JM
121242018-05-23 Joseph Myers <joseph@codesourcery.com>
12125
12126 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12127 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12128 Add functions moved from ....
12129 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12130 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12131 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12132 from ....
12133 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12134 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12135 * sysdeps/alpha/e_sqrtl.c: ... here.
12136 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12137 * sysdeps/alpha/local-soft-fp.h: ... here.
12138 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12139 * sysdeps/alpha/ots_add.c: ... here.
12140 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12141 * sysdeps/alpha/ots_cmp.c: ... here.
12142 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12143 * sysdeps/alpha/ots_cmpe.c: ... here.
12144 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12145 * sysdeps/alpha/ots_cvtqux.c: ... here.
12146 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12147 * sysdeps/alpha/ots_cvtqx.c: ... here.
12148 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12149 * sysdeps/alpha/ots_cvttx.c: ... here.
12150 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12151 * sysdeps/alpha/ots_cvtxq.c: ... here.
12152 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12153 * sysdeps/alpha/ots_cvtxt.c: ... here.
12154 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12155 * sysdeps/alpha/ots_div.c: ... here.
12156 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12157 * sysdeps/alpha/ots_mul.c: ... here.
12158 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12159 * sysdeps/alpha/ots_nintxq.c: ... here.
12160 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12161 * sysdeps/alpha/ots_sub.c: ... here.
12162 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12163 * sysdeps/alpha/sfp-machine.h: ... here.
12164
7f9f1ecb
FW
121652018-05-23 Florian Weimer <fweimer@redhat.com>
12166
12167 [BZ #19728]
12168 [BZ #19729]
12169 [BZ #22247]
12170 CVE-2016-6261
12171 CVE-2016-6263
12172 CVE-2017-14062
12173 Switch to extern IDNA implementation (libidn2).
12174 * libidn: Remove subdirectory.
12175 * LICENSES: Do not mention licensing conditions for the removed
12176 libidn code.
12177 * config.h.in (HAVE_LIBIDN): Remove.
12178 * include/dlfcn.h (__libc_dlopen): Update comment.
12179 * include/idna.h: Remove file.
12180 * inet/Makefile (routines): Add idna.
12181 (tests-static, tests-internal): Add tst-idna_name_classify.
12182 (LOCALES): Generate locales for tests.
12183 (tst-idna_name_classify.out): Depend on generated locales.
12184 * inet/idna_name_classify.c: New file.
12185 * inet/tst-idna_name_classify.c: Likewise.
12186 * inet/net-internal.h (__idna_to_dns_encoding)
12187 (__idna_from_dns_encoding): Declare.
12188 * inet/net-internal.h (enum idna_name_classification): Define.
12189 (__idna_name_classify): Declare.
12190 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12191 __idna_from_dns_encoding.
12192 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12193 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12194 name as a fallback in case of encoding errors.
12195 (getnameinfo): Use DEPRECATED_NI_IDN.
12196 * inet/idna.c: New file.
12197 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12198 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12199 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12200 (modules-names): Add tst-no-libidn2.
12201 (extra-test-objs): Add tst-no-libidn2.os.
12202 (LDFLAGS-tst-no-libidn2.so): Set soname.
12203 (LOCALES): Set, and generate locales.
12204 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12205 (tst-resolv-ai_idn-latin1): Likewise.
12206 (tst-resolv-ai_idn-nolibidn2): Likewise.
12207 (tst-resolv-ai_idn.out): Depend on locales.
12208 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12209 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12210 tst-no-libidn2.so.
12211 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12212 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12213 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12214 * resolv/tst-resolv-ai_idn.c: New file.
12215 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12216 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12217 * resolv/tst-no-libidn2.c: Likewise.
12218 * support/support_format_addrinfo.c (format_ai_flags): Do not
12219 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12220 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12221 (gaih_inet): Call __idna_to_dns_encoding and
12222 __idna_from_dns_encoding, and use the original (punycode) name if
12223 __idna_from_dns_encoding fails due to an encoding error.
12224 (getaddrinfo): Use DEPRECATED_AI_IDN.
12225 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12226 * sysdeps/unix/inet/configure: Remove file.
12227 * sysdeps/unix/inet/configure.ac: Likewise.
12228
5f7b841d
FW
122292018-05-23 Florian Weimer <fweimer@redhat.com>
12230
12231 Implement allocate_once.
12232 * include/allocate_once.h: New file.
12233 * misc/allocate_once.c: Likewise.
12234 * misc/tst-allocate_once.c: Likewise.
12235 * misc/Makefile (routines): Add allocate_once.
12236 (tests-internal): Add tst-allocate_once.
12237 (generated): Add tst-allocate_once.mtrace,
12238 tst-allocate_once-mem.out.
12239 (tests-special): Add tst-allocate_once-mem.out.
12240 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12241 (tst-allocate_once-mem.out): Call mtrace.
12242 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12243
ed983107
L
122442018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12245
12246 [BZ #23196]
12247 * string/test-memcpy.c (do_test1): New function.
12248 (test_main): Call it.
12249
9aaaab7c
AS
122502018-05-23 Andreas Schwab <schwab@suse.de>
12251
12252 [BZ #23196]
12253 CVE-2018-11237
12254 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12255 (L(preloop_large)): Save initial destination pointer in %r11 and
12256 use it instead of %rax after the loop.
12257 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12258
5c5c0dd7
JM
122592018-05-22 Joseph Myers <joseph@codesourcery.com>
12260
8f145c77
JM
12261 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12262 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12263 -I../soft-fp. Moved from ....
12264 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12265 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12266 * sysdeps/aarch64/e_sqrtl.c: ... here.
12267 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12268 * sysdeps/aarch64/sfp-machine.h: ... here.
12269
3d6302a5
JM
12270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12271 -Wmaybe-uninitialized around access to fq[0].
12272 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12273 Likewise.
12274
5c5c0dd7
JM
12275 [BZ #18471]
12276 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12277 aliases for non-libc case of versioned symbols.
12278 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12279 (llseek): Define as compat symbol if
12280 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12281 with link warning.
12282 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12283 Make into a compat symbol, disabled for minimum symbol version
12284 GLIBC_2.28 and later.
12285 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12286
ed0d6988
FW
122872018-05-22 Florian Weimer <fweimer@redhat.com>
12288
12289 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12290 not add -mpreferred-stack-boundary=4.
12291 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12292 (stack-align-test-flags): Likewise.
12293 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12294 Likewise.
12295 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12296 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12297 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12298 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12299 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12300 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12301 (CFLAGS-tst-align2.c): Likewise.
12302
e28e9b1e
L
123032018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12304
12305 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12306 (index_arch_Prefer_FSRM): Likewise.
12307 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12308 Also check Prefer_FSRM.
12309 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12310 Also return OPTIMIZE (erms) for Prefer_FSRM.
12311
1af30adc
L
123122018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12313
12314 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12315 (index_cpu_FSRM): Likewise.
12316 (reg_FSRM): Likewise.
12317
78274dc8
JM
123182018-05-18 Joseph Myers <joseph@codesourcery.com>
12319
7c67e6e8
JM
12320 * math/gen-tgmath-tests.py: Import sys.
12321 (Tests.__init__): Initialize macros_seen.
12322 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12323 if requested to do so for this macro.
12324 (Tests.add_all_tests): Take argument for macro for which to
12325 generate tests.
12326 (Tests.check_macro_list): New function.
12327 (main): Handle check-list argument and argument specifying macro
12328 for which to generate tests.
12329 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12330 [PYTHON] (tgmath3-macro-tests): Likewise.
12331 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12332 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12333 not test-tgmath3.c.
12334 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12335 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12336 to CFLAGS.
12337 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12338 [PYTHON] ($(foreach
12339 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12340 rule.
12341 [PYTHON] (tests-special): Add
12342 $(objpfx)test-tgmath3-macro-list.out.
12343 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12344
ebc129fd
JM
12345 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12346 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12347 later.
12348
78274dc8
JM
12349 [BZ #22639]
12350 * time/tzset.c (SECSPERDAY): Cast to time_t.
12351 * time/tst-y2039.c: New file.
12352 * time/Makefile (tests): Add tst-y2039.
12353
6f7fdeeb
LS
123542018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12355
12356 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12357 (PREFETCH_ONE_SET): Remove duplicate line.
12358
e363a91c
FW
123592018-05-17 Florian Weimer <fweimer@redhat.com>
12360
12361 * sysdeps/generic/math-type-macros-double.h: Include
12362 <math-nan-payload-double.h> after <libm-alias-double.h>.
12363 * sysdeps/generic/math-type-macros-float.h: Include
12364 <math-nan-payload-float.h> after <libm-alias-float.h>.
12365 * sysdeps/generic/math-type-macros-float128.h: Include
12366 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12367 * sysdeps/generic/math-type-macros-ldouble.h: Include
12368 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12369
dae6c43c
AS
123702018-05-17 Andreas Schwab <schwab@suse.de>
12371
12372 * resolv/res_send.c (__res_context_send): Don't set errno when
12373 returing error after malloc failure.
12374
0068c085
L
123752018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * nptl/allocatestack.c (allocate_stack): Remove the
12378 !__ASSUME_PRIVATE_FUTEX paths.
12379 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12380 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12381 Likewise.
12382 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12383 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12384 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12385 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12386 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12387 !__ASSUME_PRIVATE_FUTEX path.
12388 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12389 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12390 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12391 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12392 !__ASSUME_PRIVATE_FUTEX macros.
12393 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12394 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12396 * sysdeps/unix/sysv/linux/kernel-features.h
12397 (__ASSUME_PRIVATE_FUTEX): Removed.
12398
632a6cbe
JM
123992018-05-17 Joseph Myers <joseph@codesourcery.com>
12400
12401 * math/Makefile (libm-narrow-fns): Add div.
12402 (libm-test-funcs-narrow): Likewise.
12403 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12404 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12405 * math/gen-auto-libm-tests.c (test_functions): Add div.
12406 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12407 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12408 (NARROW_DIV_TRIVIAL): Likewise.
12409 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12410 macro.
12411 (__ddivl): Likewise.
12412 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12413 ddiv.
12414 (CFLAGS-nldbl-ddiv.c): New variable.
12415 (CFLAGS-nldbl-fdiv.c): Likewise.
12416 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12417 __nldbl_ddivl.
12418 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12419 prototype.
12420 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12421 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12422 * math/auto-libm-test-in: Add tests of div.
12423 * math/auto-libm-test-out-narrow-div: New generated file.
12424 * math/libm-test-narrow-div.inc: New file.
12425 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12428 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12429 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12430 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12439 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12440 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12441 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12442 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12444 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12445 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12449 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12450 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12451 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12452 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12453 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12454 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12455 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12456 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12461 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12462 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12463 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12464 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12465 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12466 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12467 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12468 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12469
8c78faa9
AZ
124702018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12471
12472 [BZ #23178]
12473 * nscd/nscd-client.h (sendfileall): Remove prototype.
12474 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12475 (handle_request): Use writeall instead of sendfileall.
12476 * nscd/aicache.c (addhstaiX): Likewise.
12477 * nscd/grpcache.c (cache_addgr): Likewise.
12478 * nscd/hstcache.c (cache_addhst): Likewise.
12479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12480 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12481 * nscd/pwdcache.c (cache_addpw): Likewise.
12482 * nscd/servicescache.c (cache_addserv): Likewise.
12483 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12484 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12486 Remove define.
12487
04958880
L
124882018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12489
12490 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12491 Include <string/strncat.c>.
12492 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12493 alias.
12494 (__GI___strncat): New hidden alias.
12495
c9992d13
JM
124962018-05-16 Joseph Myers <joseph@codesourcery.com>
12497
12498 * sysdeps/mips/mips32/libm-test-ulps: Update.
12499 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12500
2afece36
FW
125012018-05-16 Florian Weimer <fweimer@redhat.com>
12502
12503 * support/Makefile (libsupport-routines): Add support_quote_blob,
12504 support_test_compare_blob.
12505 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12506 * support/check.h (TEST_COMPARE_BLOB): Define.
12507 (support_test_compare_blob): Declare.
12508 * support/support.h (support_quote_blob): Declare.
12509 * support/support_quote_blob.c: New file.
12510 * support/support_test_compare_blob.c: Likewise.
12511 * support/tst-support_quote_blob.c: Likewise.
12512 * support/tst-test_compare_blob.c: Likewise.
12513
9761bf4d
FW
125142018-05-16 Florian Weimer <fweimer@redhat.com>
12515
12516 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12517 of <strtod_nan_double.h>.
12518 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12519 instead of SET_MANTISSA.
12520 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12521 of include <strtod_nan_float.h>.
12522 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12523 instead of <strtod_nan_ldouble.h>.
12524 * stdlib/strtod_nan_double.h: Move to ...
12525 * sysdeps/generic/math-nan-payload-double.h: ... here.
12526 (FLOAT): Remove definition.
12527 (SET_MANTISSA): Rename to ...
12528 (SET_NAN_PAYLOAD): ... this.
12529 * stdlib/strtod_nan_float.h: Move to ...
12530 * sysdeps/generic/math-nan-payload-float.h: ... here.
12531 (FLOAT): Remove definition.
12532 (SET_MANTISSA): Rename to ...
12533 (SET_NAN_PAYLOAD): ... this.
12534 * sysdeps/generic/math-type-macros-double.h: Include
12535 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12536 instead of <math-svid-compat.h>.
12537 * sysdeps/generic/math-type-macros-float.h: Include
12538 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12539 instead of <math-svid-compat.h>.
12540 * sysdeps/generic/math-type-macros-float128.h: Include
12541 <math-nan-payload-float128.h>.
12542 * sysdeps/generic/math-type-macros-ldouble.h: Include
12543 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12544 instead of <math-svid-compat.h>.
12545 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12546 check for definition.
12547 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12548 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12549 Include <ieee754_float128.h>.
12550 (FLOAT): Remove definition.
12551 (SET_MANTISSA): Rename to ...
12552 (SET_NAN_PAYLOAD): ... this.
12553 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12554 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12555 Do not include <float128_private.h>.
12556 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12558 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12559 (FLOAT): Remove definition.
12560 (SET_MANTISSA): Rename to ...
12561 (SET_NAN_PAYLOAD): ... this.
12562 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12563 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12564 (FLOAT): Remove definition.
12565 (SET_MANTISSA): Rename to ...
12566 (SET_NAN_PAYLOAD): ... this.
12567 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12568 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12569 (FLOAT): Remove definition.
12570 (SET_MANTISSA): Rename to ...
12571 (SET_NAN_PAYLOAD): ... this.
12572 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12573 of "../stdlib/strtod_nan_double.h".
12574 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12575 of "../stdlib/strtod_nan_float.h".
12576 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12577 instead of "../stdlib/strtod_nan_ldouble.h".
12578 * manual/arith.texi (Parsing of Floats): Adjust comment.
12579
69a01461
JM
125802018-05-16 Joseph Myers <joseph@codesourcery.com>
12581
12582 * math/Makefile (libm-narrow-fns): Add mul.
12583 (libm-test-funcs-narrow): Likewise.
12584 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12585 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12586 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12587 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12588 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12589 (NARROW_MUL_TRIVIAL): Likewise.
12590 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12591 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12592 macro.
12593 (__dmull): Likewise.
12594 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12595 dmul.
12596 (CFLAGS-nldbl-dmul.c): New variable.
12597 (CFLAGS-nldbl-fmul.c): Likewise.
12598 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12599 __nldbl_dmull.
12600 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12601 prototype.
12602 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12603 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12604 * math/auto-libm-test-in: Add tests of mul.
12605 * math/auto-libm-test-out-narrow-mul: New generated file.
12606 * math/libm-test-narrow-mul.inc: New file.
12607 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12610 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12611 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12612 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12618 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12619 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12620 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12621 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12622 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12623 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12624 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12626 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12651
a15529fd
L
126522018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12653
12654 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12655 with *%eax in call.
12656
98ee36c7
L
126572018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12658
12659 * sysdeps/i386/ldsodefs.h: Removed.
12660 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12661 * sysdeps/x86/ldsodefs.h: This.
12662 (La_i86_regs): New.
12663 (La_i86_retval): Likewise.
12664 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12665 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12666
e322ec32
L
126672018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12668
12669 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12670 unnecessary testl.
12671
0937e209
AM
126722018-05-13 Alan Modra <amodra@gmail.com>
12673
12674 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12675 R_PARISC_TLS_DTPOFF32 reloc addend.
12676
5db7d705
TMQMF
126772018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12678
12679 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12680 * math/math.h: Restrict the prototype definition for the functions
12681 issignaling(_Float128) and iszero(_Float128); and template
12682 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12683 __HAVE_FLOAT128_UNLIKE_LDBL.
12684 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12685 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12686 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12687 __f128() constants; define the type _Float128 as long double;
12688 and reuse long double in __CFLOAT128.
12689
b4d5b8b0
JM
126902018-05-11 Joseph Myers <joseph@codesourcery.com>
12691
12692 * sysdeps/generic/math_private.h: Do not include
12693 <math-barriers.h>.
12694 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12695 <math_private.h>.
12696 * math/fromfp.h: Include <math-barriers.h>.
12697 * math/math-narrow.h: Likewise.
12698 * math/s_nextafter.c: Likewise.
12699 * math/s_nexttowardf.c: Likewise.
12700 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12701 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12702 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12703 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12704 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12705 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12706 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12710 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12711 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12713 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12719 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12720 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12721 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12722 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12723 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12724 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12725 * sysdeps/ieee754/k_standardl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12742 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12743 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12744 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12745 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12746 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12747 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12748
fc79706a
FW
127492018-05-11 Florian Weimer <fweimer@redhat.com>
12750
12751 Use 64-bit epoch values in the time zone file parser.
12752 * include/time.h (internal_time_t): Define.
12753 (__tzfile_compute): Use it.
12754 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12755 member.
12756 (transitions): Switch to internal_time_t.
12757 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12758 types.
12759 (__tzfile_compute): Use internal_time_t for timer argument. Check
12760 for truncation before calling __offtime.
12761
89aacb51
FW
127622018-05-11 Florian Weimer <fweimer@redhat.com>
12763
12764 [BZ #23166]
12765 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12766 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12767 Likewise.
12768 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12769 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12770 export without --enable-obsolete-rpc.
12771 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12772 symbol. This should not have been exported, ever.
12773
bb066cb8
RL
127742018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12775
12776 [BZ #23152]
12777 * localedata/locales/gd_GB (abmon): Fix typo in May:
12778 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12779
70c97f84
SP
127802018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12781
db725a45
SP
12782 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12783 Use multiple registers to copy data in loop tail.
12784
70c97f84
SP
12785 * sysdeps/aarch64/multiarch/memmove_falkor.S
12786 (__memmove_falkor): Use multiple registers to move data in
12787 loop tail.
12788
8f5b00d3
JM
127892018-05-10 Joseph Myers <joseph@codesourcery.com>
12790
12791 * math/math-underflow.h: New file.
12792 * sysdeps/generic/math_private.h: Do not include <float.h>.
12793 (fabs_tg): Remove macro. Moved to math-underflow.h.
12794 (min_of_type_f): Likewise.
12795 (min_of_type_): Likewise.
12796 (min_of_type_l): Likewise.
12797 (min_of_type_f128): Likewise.
12798 (min_of_type): Likewise.
12799 (math_check_force_underflow): Likewise.
12800 (math_check_force_underflow_nonneg): Likewise.
12801 (math_check_force_underflow_complex): Likewise.
12802 * math/e_exp2_template.c: Include <math-underflow.h>.
12803 * math/k_casinh_template.c: Likewise.
12804 * math/s_catan_template.c: Likewise.
12805 * math/s_catanh_template.c: Likewise.
12806 * math/s_ccosh_template.c: Likewise.
12807 * math/s_cexp_template.c: Likewise.
12808 * math/s_clog10_template.c: Likewise.
12809 * math/s_clog_template.c: Likewise.
12810 * math/s_csin_template.c: Likewise.
12811 * math/s_csinh_template.c: Likewise.
12812 * math/s_csqrt_template.c: Likewise.
12813 * math/s_ctan_template.c: Likewise.
12814 * math/s_ctanh_template.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12818 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12833 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12834 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12835 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12836 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12837 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12838 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12839 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12840 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12841 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12842 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12844 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12845 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12846 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12862 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12867 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12883 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12885 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12892 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12893 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12895 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12899
9ed2e15f
JM
129002018-05-09 Joseph Myers <joseph@codesourcery.com>
12901
12902 * sysdeps/generic/math-barriers.h: New file.
12903 * sysdeps/generic/math_private.h [!math_opt_barrier]
12904 (math_opt_barrier): Move to math-barriers.h.
12905 [!math_opt_barrier] (math_force_eval): Likewise.
12906 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12907 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12908 math-barriers.h.
12909 (math_force_eval): Likewise.
12910 * sysdeps/alpha/fpu/math-barriers.h: New file.
12911 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12912 math-barriers.h.
12913 (math_force_eval): Likewise.
12914 * sysdeps/x86/fpu/math-barriers.h: New file.
12915 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12916 math-barriers.h.
12917 (math_force_eval): Likewise.
12918 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12919 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12920 multiple-include guard for rename.
12921 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12922 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12923 math-barriers.h.
12924 (math_force_eval): Likewise.
12925
5460617d
PP
129262018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12927
12928 [BZ #22786]
43d4f3d5 12929 CVE-2018-11236
5460617d
PP
12930 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12931 computation.
12932 * stdlib/Makefile (test-bz22786): New test.
12933 * stdlib/test-bz22786.c: New test.
12934
aaee3cd8
JM
129352018-05-09 Joseph Myers <joseph@codesourcery.com>
12936
12937 * include/math-narrow-eval.h: New file. Contents moved from ....
12938 * sysdeps/generic/math_private.h: ... here.
12939 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12940 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12941 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12942 * stdlib/strtod_l.c: Likewise.
12943 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12944 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12945 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12946 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12952 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12958 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12959 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12960 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12961 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12962 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12963 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12964 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12965 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12966 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12967 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12968 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12969 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12970 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12971 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12972
0555c477
AS
129732018-05-08 Andreas Schwab <schwab@suse.de>
12974
12975 * sysdeps/nptl/internaltypes.h: Fix comment.
12976
50d7d351
L
129772018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12980 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12981 hidden.
12982
543477f7
SP
129832018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12984
12985 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12986 of I into loop header.
12987 * benchtests/bench-memmove-walk.c
12988 (test_main): Likewise.
12989
129902018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
12991
12992 Revert:
12993 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12994 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12995
0065aaaa
PP
129962018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12997
12998 [BZ #20419]
12999 * elf/dl-load.c (open_verify): Fix stack overflow.
13000 * elf/Makefile (tst-big-note): New test.
13001 * elf/tst-big-note-lib.S: New.
13002 * elf/tst-big-note.c: New.
13003
b289cd9d
JM
130042018-05-04 Joseph Myers <joseph@codesourcery.com>
13005
13006 * scripts/abilist.awk: Ignore absolute symbols.
13007 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13008 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13009 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13010 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13011 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13012 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13013 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13014 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13015 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13016 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13017 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13018 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13046 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13047 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13048 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13049 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13050 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13051 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13052 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13054 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13065 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13066 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13067 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13068 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13078 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13079 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13080 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13081 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13093 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13099 Likewise.
13100 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13113 Likewise.
13114 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13116 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13117 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13118 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13119 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13121 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13122 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13123 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13124 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13125 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13126 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13127 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13128 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13129 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13130 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13131 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13132 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13133 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13134 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13135 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13136 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13137 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13138 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13139 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13140 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13141 Likewise.
13142 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13143 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13144 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13145 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13147 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13148 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13151 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13155 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13156 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13157 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13158 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13159 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13160 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13161 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13162 Likewise.
13163 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13164 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13165 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13166 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13167 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13168 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13170 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13171 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13173 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13178 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13179 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13180 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13181 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13182 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13184 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13186 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13187 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13188 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13189 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13190 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13195 Likewise.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13203 Likewise.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13206 Likewise.
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13209 Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13211 Likewise.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13215 Likewise.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13217 Likewise.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13219 Likewise.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13224 Likewise.
13225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13231 Likewise.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13234 Likewise.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13236 Likewise.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13238 Likewise.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13240 Likewise.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13244 Likewise.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13246 Likewise.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13248 Likewise.
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13252 Likewise.
13253 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13259 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13267 Likewise.
13268 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13280 Likewise.
13281 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13287 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13306 Likewise.
13307 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13320 Likewise.
13321 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13329 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13330 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13331 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13332 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13335 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13340 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13341 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13342 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13353 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13359
16609018
SL
133602018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13361
13362 [BZ #23137]
13363 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13364 Use atomic_load_acquire to load __tid.
13365
556f5c46
L
133662018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13367
13368 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13369 Restore the pointer into %rdx, after syscall and use %rdx,
13370 instead of %rsi, to restore context.
13371
8b8f32b2
L
133722018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13373
13374 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13375 Pop the pointer into %rdx after syscall and use %rdx, instead
13376 of %rsi, to restore context.
13377
d6cc1829
L
133782018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13379
13380 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13381 handlers after setjmp.
13382 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13383 defined.
13384 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13385 <libc-pointer-arith.h>.
13386 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13387 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13388 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13389 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13390 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13391 * sysdeps/x86/__longjmp_cancel.S: New file.
13392 * sysdeps/x86/longjmp.c: Likewise.
13393 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13394
cf2478d5
AZ
133952018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13396
13397 * NEWS: Add ustat.h deprecation entry.
13398 * bits/ustat.h: Remove file.
13399 * misc/sys/ustat.h: Likewise.
13400 * misc/ustat.h: Likewise.
13401 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13402 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13403 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13404 compatibility mode.
13405 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13406 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13407 generic Linux implementation.
13408
dc115e1c
TMQMF
134092018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13410
13411 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13412 * math/w_expl_compat.c: Likewise.
13413 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13414
6b5c8607 134152018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
13416
13417 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13418
c57bf7c1
AZ
134192018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13420
13421 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13422 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13423 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13424 Remove.
13425 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13427 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13428 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13429 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13430 and SYSCALL_LL64.
13431
06135c33
TMQMF
134322018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13433
33927914
TMQMF
13434 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13435
06135c33
TMQMF
13436 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13437 * math/w_asin_template.c: Likewise.
13438 * math/w_atanh_template.c: Likewise.
13439
3a33b069
GG
134402018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13441
13442 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13443 to powerpc/powerpc64/be for big-endian.
13444 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13445 little-endian.
13446
13447 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13448 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13449 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13450 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13451 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13452 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13453 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13454 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13455 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13456 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13457 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13458 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13459 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13460 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13461 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13462 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13463 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13464 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13465 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13466 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13467 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13468 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13469 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13470 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13471 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13472 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13473 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13474 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13475 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13476 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13477 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13478 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13479
13480 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13481 adjusted to imply powerpc64 and older processors on powerpc64/be.
13482 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13483 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13484 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13485 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13486 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13487 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13488 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13489 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13490 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13491 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13492 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13493 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13494 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13495 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13496 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13497 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13498 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13499 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13500 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13501 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13502 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13503 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13504 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13505 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13506 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13507 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13508 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13509 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13510 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13511 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13512 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13513
13514 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13515 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13516 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13517 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13518
13519 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13520 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13521 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13522 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13523
13524 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13525 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13526 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13527 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13528 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13529 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13530 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13531 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13532 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13533 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13534 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13535
13536 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13537 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13538 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13539 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13540 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13541 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13542 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13543 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13544 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13545 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13546 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13547
13548 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13549 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13550 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13551 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13552 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13553 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13554 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13555 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13556 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13557 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13558 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13559 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13560
13561 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13562 and adjusted to imply olders processors.
13563 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13564 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13565 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13566 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13567 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13568 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13569 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13570 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13571 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13572 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13573 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13574
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13576 powerpc64/le.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13579
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13581 powerpc64le.
13582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13584
13585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13586 powerpc64/be.
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13590
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13592 powerpc64 and adjusted.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13596 Likewise.
13597
a3fb6b6b
JM
135982018-04-27 Joseph Myers <joseph@codesourcery.com>
13599
13600 * sysdeps/tile: Remove.
13601 * sysdeps/unix/sysv/linux/tile: Likewise.
13602 * README (tilegx-*-linux-gnu): Remove from list of supported
13603 configurations.
13604 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13605 contribution of support for generic Linux kernel syscall
13606 interface.
13607 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13608 tilegx configurations.
13609 (Config.install_linux_headers): Do not handle tile.
13610 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13611 in comment.
13612 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13613 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13614 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13615 conditional undefine and redefine.
13616 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13617 in comment.
13618 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13619 conditional undefine and redefine.
13620
7a6f7478
AJ
136212018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13622
13623 * signal/tst-sigaction.c: New file to test BZ #23069.
13624 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13625
81b49e96
TMQMF
136262018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13627
13628 [BZ #22766]
13629 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13630 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13631 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13632 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13633
7d80f48e
AZ
136342018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13635
13636 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13637 _DIRENT_MATCHES_DIRENT64 is not defined.
13638 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13639 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13640 is defined.
13641 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13642 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13643
42a2bf58
JM
136442018-04-25 Joseph Myers <joseph@codesourcery.com>
13645
13646 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13647 version to GCC 8 branch.
13648
9320ca88
JM
136492018-04-24 Joseph Myers <joseph@codesourcery.com>
13650
5e14bb97
JM
13651 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13652 (check_no_hidden): Use type of original function when declaring
13653 alias.
13654
9320ca88
JM
13655 * sysdeps/unix/sysv/linux/sys/ptrace.h
13656 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13657 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13658 (struct __ptrace_seccomp_metadata): New type.
13659 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13660 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13661 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13662 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13663 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13664 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13666 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13668 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13669 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13670 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13671 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13672 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13673 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13674 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13675
af7e376b
AZ
136762018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13677
13678 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13679 defined.
13680 * dirent/versionsort.c (versionsort): Likewise.
13681 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13682 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13683 * dirent/versionsort64.c (versionsort64): Likewise.
13684 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13685 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13686 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13687 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13688 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13689 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13690 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13691 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13692 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13693 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13696 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13697 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13698
da5e0361
JM
136992018-04-23 Joseph Myers <joseph@codesourcery.com>
13700
13701 * elf/elf.h (NT_PPC_PKEY): New macro.
13702
6b5c8607 137032018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
13704
13705 [BZ #23094]
13706 * localedata/locales/hr_HR: fix thousands_sep and
13707 mon_thousands_sep
13708
573963e3
JM
137092018-04-20 Joseph Myers <joseph@codesourcery.com>
13710
13711 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13712 (XTABS): Define to TAB3.
13713
c0123b3b
AZ
137142018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13715
0900a849
AZ
13716 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13717
c0123b3b
AZ
13718 * dirent/scandir-tail-common.c: New file.
13719 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13720 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13721 * dirent/scandir.c: Use scandir-tail-common.c.
13722 * dirent/scandirat.c: Likewise.
13723 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13724 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13725 if _DIRENT_MATCHES_DIRENT64 is defined.
13726 * dirent/scandirat64.c (scandirat64): Likewise.
13727 * include/dirent.h (__scandir_tail): Only define iff
13728 _DIRENT_MATCHES_DIRENT64 is not defined.
13729 (__scandir64_tail): Define regardless.
13730 (__scandirat, scandirat64): Remove libc_hidden_proto.
13731 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13732 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13734 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13735 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13736 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13737 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13738
458b94f6
JM
137392018-04-20 Joseph Myers <joseph@codesourcery.com>
13740
13741 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13742 New macro.
13743 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13744 Increase to 24.
13745 (_dl_aarch64_cap_flags): Add asimdfhm.
13746
9f0437e8
CLT
137472018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13748
13749 * sysdeps/nios2/libm-test-ulps: Update.
13750
298d0e31
AZ
137512018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13752
50511ca4
AZ
13753 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13754 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13755
298d0e31
AZ
13756 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13757 requirements.
6b5c8607 13758 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
13759 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13760 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13761 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13762 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13763 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13764 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13765 use getdents64 syscalls as base.
13766 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13767 symbol if required.
13768 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13769 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13770 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13771 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13772 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13773 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13774 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13775 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13776 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13777 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13778 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13779
0085be14
SL
137802018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13781
13782 * scripts/test_printers_common.py (init_test): Disable lock elision.
13783
da796524
SL
137842018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13785
13786 * math/test-tgmath.c (count_double, count_float,
13787 count_ldouble, count_cdouble, count_cfloat,
13788 count_cldouble): Use volatile int.
13789
0dd25301
ST
137902018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13791
13792 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13793 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 13794 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
13795 i386-gnu.
13796 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13797 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13798 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13799 msqid_ds.msg_lrpid): Likewise.
13800 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13801 Likewise.
13802 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13803 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
13804 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13805 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13806 unsigned int.
13807 (struct statvfs64): Likewise.
f55a4fde
ST
13808 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13809 Likewise.
77b93390
ST
13810 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13811 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13812 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13813 instead of wait_queue.
13814 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13815 instead of vm_area_struct.
5cd2931a
ST
13816 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13817 struct sched_param definition to it.
e60c3f2b
ST
13818 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13819 * bits/types/struct_sched_param.h: New file.
13820 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13821 <bits/types/struct_sched_param.h> instead of <sched.h>.
13822 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
13823 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13824 generic version but include <bits/pthreadtypes.h> to make struct
13825 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
13826 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13827 non-compliant.
a564872d
ST
13828 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13829 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13830 [__USE_XOPEN] (OFDEL): New macro.
13831 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 13832 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
13833 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13834 prototypes.
13835 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13836 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
13837 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13838 non-compliant.
13839 * sysdeps/i386/sys/ucontext.h: Likewise.
13840 * sysdeps/m68k/sys/ucontext.h: Likewise.
13841 * sysdeps/mips/sys/ucontext.h: Likewise.
13842 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
13843 * sysdeps/mach/hurd/i386/Makefile
13844 (test-xfail-POSIX/fcntl.h/conform): Add.
13845 (test-xfail-POSIX/signal.h/conform): Add.
13846 (test-xfail-POSIX/semaphore.h/conform): Add.
13847 (test-xfail-POSIX/regex.h/conform): Add.
13848 (test-xfail-POSIX/aio.h/conform): Add.
13849 (test-xfail-POSIX/mqueue.h/conform): Add.
13850 (test-xfail-POSIX/sys/types.h/conform): Add.
13851 (test-xfail-UNIX98/fcntl.h/conform): Add.
13852 (test-xfail-UNIX98/netdb.h/conform): Add.
13853 (test-xfail-UNIX98/signal.h/conform): Add.
13854 (test-xfail-UNIX98/semaphore.h/conform): Add.
13855 (test-xfail-UNIX98/regex.h/conform): Add.
13856 (test-xfail-UNIX98/aio.h/conform): Add.
13857 (test-xfail-UNIX98/ftw.h/conform): Add.
13858 (test-xfail-UNIX98/mqueue.h/conform): Add.
13859 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13860 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13861 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13862 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13863 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13864 (test-xfail-UNIX98/sys/types.h/conform): Add.
13865 (test-xfail-UNIX98/stdlib.h/conform): Add.
13866 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13867 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13868 (test-xfail-POSIX2008/netdb.h/conform): Add.
13869 (test-xfail-POSIX2008/signal.h/conform): Add.
13870 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13871 (test-xfail-POSIX2008/regex.h/conform): Add.
13872 (test-xfail-POSIX2008/aio.h/conform): Add.
13873 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13874 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13875 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13876 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13877 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13878 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13879 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13880 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13881 (test-xfail-XOPEN2K/signal.h/conform): Add.
13882 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13883 (test-xfail-XOPEN2K/regex.h/conform): Add.
13884 (test-xfail-XOPEN2K/aio.h/conform): Add.
13885 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13886 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13887 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13888 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13889 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13890 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13891 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13892 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13893 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13894 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13895 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13896 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13897 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13898 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13899 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13900 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13901 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13902 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13903 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13904 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13905 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13906 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13907 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13908 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13909 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13910 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
13911 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13912 i386-gnu.
13913 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13914 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 13915
d6397de3
JM
139162018-04-18 Joseph Myers <joseph@codesourcery.com>
13917
13918 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13919 --enable-obsolete for powerpc-linux-gnuspe.
13920
8323a902
ST
139212018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13922
3dc0814c 13923 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 13924 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 13925 prototypes.
c5896a45
ST
13926 * sysdeps/mach/include/mach.h: Likewise.
13927 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13928 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 13929
743b9c2a
AZ
139302018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13931
13932 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13933 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13934 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13935 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13936
326e74e7
AS
139372018-04-16 Andreas Schwab <schwab@suse.de>
13938
13939 [BZ #19527]
13940 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13941
6b5c8607 139422018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
13943
13944 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13945 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13946
a700e7cb
DD
139472018-04-12 DJ Delorie <dj@redhat.com>
13948
13949 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13950 version to 4.16.
13951
d8abfab7
SL
139522018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13953
13954 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13955 (struct kernel_sigaction): Use the same definition on 31bit as is used
13956 on 64bit.
13957
583a27d5
FW
139582018-04-09 Florian Weimer <fweimer@redhat.com>
13959
13960 [BZ #23037]
13961 * resolv/res_send.c (send_dg): Use designated initializers instead
13962 of assignment to zero-initialize other fields of struct mmsghdr.
13963
243f59e5
AZ
139642018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13965
942de61a
AZ
13966 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13967 __READDIR_ALIAS): Undefine after usage.
13968 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13969 __READDIR_R_ALIAS): Likewise.
13970 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13971 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13972 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13973 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13974 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13975 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13976 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13977 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13978 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13979 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13980 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13981 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13982 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13983 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13984 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13985 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13986 * sysdeps/unix/sysv/linux/readdir.c: New file.
13987 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13988 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13989 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13990
243f59e5
AZ
13991 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13992
690c3475
AS
139932018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13994
13995 * manual/charset.texi (Converting a Character): Fix typo.
13996
6b5c8607 139972018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 13998
bbc2062a
AZ
13999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14000
fa7c6199
AZ
14001 * sysdeps/arm/libm-test-ulps: Update.
14002
b4a5d26d
AZ
14003 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14004 as base implementation.
14005 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14006 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14009 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14010 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14011 remove unrequired definitions and update comments.
14012 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14013 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14014 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14015 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14016 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14017 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14018 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14019 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14020 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14021 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14022 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14023 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14024 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14025 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14026 and RESET_SA_RESTORER hooks.
14027
db9e55ff
SL
140282018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14029
14030 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14031
cf138b0c
FW
140322018-04-05 Florian Weimer <fweimer@redhat.com>
14033
14034 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14035 integer overflow, memory leak on error, and indeterminate errno
14036 value. Add a null wide character to terminate the result string.
14037 * manual/charset.texi (Converting a Character): Mention embedded
14038 null bytes in the mbrtowc input string. Explain what happens in
14039 the -2 result case. Do not claim that mbrtowc is simple or
14040 obvious to use. Adjust the description of the code example. Use
14041 @code, not @var, for concrete variables.
14042
0f339252
FW
140432018-04-05 Florian Weimer <fweimer@redhat.com>
14044
14045 * manual/examples/mbstouwcs.c: New file.
14046 * manual/charset.texi (Converting a Character): Include it.
14047
e5f9508a
ST
140482018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14049
c120981d
ST
14050 * include/dirent.h (dirfd): Add hidden proto.
14051 * dirent/dirfd.c (dirfd): Add hidden def.
14052 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14053 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 14054
b2fd61ca
TMQMF
140552018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14056
14057 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14058 sin, cos and sincos to 1 ULP.
14059
10a446dd
MR
140602018-04-04 Maciej W. Rozycki <macro@mips.com>
14061
e7feec37
MR
14062 [BZ #19818]
14063 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14064 symbols.
14065 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14066 * elf/tst-absolute-sym.c: New file.
14067 * elf/tst-absolute-sym-lib.c: New file.
14068 * elf/tst-absolute-sym-lib.lds: New file.
14069 * elf/Makefile (tests): Add `tst-absolute-sym'.
14070 (modules-names): Add `tst-absolute-sym-lib'.
14071 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14072 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14073 ($(objpfx)tst-absolute-sym): New dependency.
14074
10a446dd
MR
14075 [BZ #19818]
14076 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14077 parameter.
14078 (SYMBOL_ADDRESS): New macro.
14079 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14080 SYMBOL_ADDRESS for symbol address calculation.
14081 * elf/dl-runtime.c (_dl_fixup): Likewise.
14082 (_dl_profile_fixup): Likewise.
14083 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14084 * elf/rtld.c (dl_main): Likewise.
14085 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14086 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14087 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14088 (elf_machine_rela): Likewise.
14089 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14090 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14091 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14092 (elf_machine_rela): Likewise.
14093 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14094 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14095 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14096 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14097 Likewise.
14098 (elf_machine_reloc): Likewise.
14099 (elf_machine_got_rel): Likewise.
14100 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14101 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14102 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14103 Likewise.
14104 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14105 Likewise.
14106 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14107 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14108 Likewise.
14109 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14110 Likewise.
14111 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14112 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14113 Likewise.
14114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14115 Likewise.
14116 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14118
9185f86d
ZW
141192018-04-04 Zack Weinberg <zackw@panix.com>
14120
14121 * sysdeps/generic/internal-signals.h: Include signal.h,
14122 sigsetops.h, and stdbool.h.
14123 (__libc_signal_block_all): Actually block all signals.
14124 (__libc_signal_block_app): Likewise.
14125 (__libc_signal_restore_set): Actually restore the signal mask.
14126
b07367bc
FW
141272018-04-04 Florian Weimer <fweimer@redhat.com>
14128
14129 inet: Actually build and run tst-deadline.
14130 * inet/Makefile (tests-internal): Add tst-deadline and do not
14131 overwrite the variable.
14132 (tests-static-internal): Remove variable.
14133
f2652643
L
141342018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14135
14136 [BZ #22947]
14137 * bits/uio-ext.h (RWF_APPEND): New.
14138 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14139 * manual/llio.texi: Document RWF_APPEND.
14140 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14141 (RWF_SUPPORTED): Add RWF_APPEND.
14142
6b5c8607 141432018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
14144
14145 [BZ #22391]
14146 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14147 check for internal nptl signals.
14148 * nptl/sigaction.c (__sigaction): Likewise.
14149 * signal/sigaddset.c (sigaddset): Likewise.
14150 * signal/sigdelset.c (sigdelset): Likewise.
14151 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14152 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14153 value.
14154 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14155 to filter out internal nptl signals.
14156 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14157 also check realtime signals using standard macros.
14158 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14159 __is_internal_signal, __libc_signal_block_all,
14160 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14161 * sysdeps/nptl/sigfillset.c: Remove file.
14162 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14163 Change return to bool.
14164 (__clear_internal_signals): Remove SIGTIMER clean since it is
14165 equal to SIGCANEL on Linux.
14166 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14167 signal set was constructed using standard functions.
14168
511ed56f
ST
141692018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14170
92846492
ST
14171 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14172 ifname is too long.
e8ef51b1
ST
14173 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14174 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
14175 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14176 hidden def.
14177 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
14178 * signal/sigaddset.c: Include <sigsetopts.h>.
14179 * signal/sigdelset.c: Likewise.
511ed56f 14180
e88ecbbf
WD
141812018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14182
14183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14184 (__cos): Likewise.
14185 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14186 logic as sin and cos.
14187
aef3e255
WD
141882018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14189
14190 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14191 inputs. Return correct sign.
14192 (do_sincos): Remove small input check before do_sin, let do_sin set
14193 the sign.
14194 (__sin): Likewise.
14195 (__cos): Likewise.
14196
72f6e9a3
WD
141972018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14198
14199 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14200 (do_cos_slow): Likewise.
14201 (do_sin_slow): Likewise.
14202 (reduce_and_compute): Likewise.
14203 (slow): Likewise.
14204 (slow1): Likewise.
14205 (slow2): Likewise.
14206 (sloww): Likewise.
14207 (sloww1): Likewise.
14208 (sloww2): Likewise.
14209 (bslow): Likewise.
14210 (bslow1): Likewise.
14211 (bslow2): Likewise.
14212 (cslow2): Likewise.
14213
64909583
WD
142142018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14215
14216 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14217 (do_cos): Remove corp parameter and calculations.
14218 (do_sin): Likewise.
14219 (do_sincos): Remove cor variable.
14220 (__sin): Use do_sincos for huge inputs.
14221 (__cos): Likewise.
14222 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14223 (reduce_and_compute_sincos): Remove unused function.
14224
d9469deb
WD
142252018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14226
14227 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14228 reduce_sincos, improve accuracy to 136 bits.
14229 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14230 (__sin): Use improved reduction and simplified do_sincos calculation.
14231 (__cos): Likewise.
14232 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14233
7a5640f2
WD
142342018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14235
14236 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14237 (do_sincos_2): Likewise.
14238 (__sin): Remove middle range reduction case.
14239 (__cos): Likewise.
14240 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14241 reduction case.
14242
19a8b9a3
WD
142432018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14244
14245 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14246 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14247 inputs.
14248 (__cos): Likewise.
14249 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14250
f72aa11d
JM
142512018-04-03 Joseph Myers <joseph@codesourcery.com>
14252
14253 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 14254 version to 4.16
f72aa11d 14255
8e4754ed
AZ
142562018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14257
14258 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14259 Remove definitions.
14260 (opendir_oflags): Use O_DIRECTORY regardless.
14261 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14262 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14263
8e2666ea
ST
142642018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14265
14266 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14267 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14268 macros.
14269 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14270 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14271 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14272 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
14273 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14274 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 14275
ad2b41bf
ST
14276 * htl/Makefile: Bump licence to LGPL 2.1+.
14277 * htl/alloca_cutoff.c: Likewise.
14278 * htl/cthreads-compat.c: Likewise.
14279 * htl/lockfile.c: Likewise.
14280 * htl/pt-alloc.c: Likewise.
14281 * htl/pt-cancel.c: Likewise.
14282 * htl/pt-cleanup.c: Likewise.
14283 * htl/pt-create.c: Likewise.
14284 * htl/pt-dealloc.c: Likewise.
14285 * htl/pt-detach.c: Likewise.
14286 * htl/pt-exit.c: Likewise.
14287 * htl/pt-getattr.c: Likewise.
14288 * htl/pt-initialize.c: Likewise.
14289 * htl/pt-internal.h: Likewise.
14290 * htl/pt-join.c: Likewise.
14291 * htl/pt-self.c: Likewise.
14292 * htl/pt-setcancelstate.c: Likewise.
14293 * htl/pt-setcanceltype.c: Likewise.
14294 * htl/pt-sigmask.c: Likewise.
14295 * htl/pt-spin-inlines.c: Likewise.
14296 * htl/pt-testcancel.c: Likewise.
14297 * htl/pt-yield.c: Likewise.
14298 * htl/tests/test-1.c: Likewise.
14299 * htl/tests/test-10.c: Likewise.
14300 * htl/tests/test-11.c: Likewise.
14301 * htl/tests/test-12.c: Likewise.
14302 * htl/tests/test-13.c: Likewise.
14303 * htl/tests/test-14.c: Likewise.
14304 * htl/tests/test-15.c: Likewise.
14305 * htl/tests/test-16.c: Likewise.
14306 * htl/tests/test-17.c: Likewise.
14307 * htl/tests/test-2.c: Likewise.
14308 * htl/tests/test-3.c: Likewise.
14309 * htl/tests/test-4.c: Likewise.
14310 * htl/tests/test-5.c: Likewise.
14311 * htl/tests/test-6.c: Likewise.
14312 * htl/tests/test-7.c: Likewise.
14313 * htl/tests/test-8.c: Likewise.
14314 * htl/tests/test-9.c: Likewise.
14315 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14316 * sysdeps/htl/bits/cancelation.h: Likewise.
14317 * sysdeps/htl/bits/pthread-np.h: Likewise.
14318 * sysdeps/htl/bits/pthread.h: Likewise.
14319 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14320 * sysdeps/htl/bits/semaphore.h: Likewise.
14321 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14322 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14323 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14324 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14325 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14326 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14327 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14328 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14329 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14330 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14331 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14332 * sysdeps/htl/old_pt-atfork.c: Likewise.
14333 * sysdeps/htl/pt-atfork.c: Likewise.
14334 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14335 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14336 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14337 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14338 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14339 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14340 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14341 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14342 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14343 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14344 * sysdeps/htl/pt-attr-init.c: Likewise.
14345 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14346 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14347 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14348 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14349 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14350 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14351 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14352 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14353 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14354 * sysdeps/htl/pt-attr.c: Likewise.
14355 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14356 * sysdeps/htl/pt-barrier-init.c: Likewise.
14357 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14358 * sysdeps/htl/pt-barrier.c: Likewise.
14359 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14360 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14361 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14362 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14363 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14364 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14365 * sysdeps/htl/pt-cond-init.c: Likewise.
14366 * sysdeps/htl/pt-cond-signal.c: Likewise.
14367 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14368 * sysdeps/htl/pt-cond-wait.c: Likewise.
14369 * sysdeps/htl/pt-cond.c: Likewise.
14370 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14371 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14372 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14373 * sysdeps/htl/pt-condattr-init.c: Likewise.
14374 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14375 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14376 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14377 * sysdeps/htl/pt-equal.c: Likewise.
14378 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14379 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14380 * sysdeps/htl/pt-getschedparam.c: Likewise.
14381 * sysdeps/htl/pt-getspecific.c: Likewise.
14382 * sysdeps/htl/pt-init-specific.c: Likewise.
14383 * sysdeps/htl/pt-key-create.c: Likewise.
14384 * sysdeps/htl/pt-key-delete.c: Likewise.
14385 * sysdeps/htl/pt-key.h: Likewise.
14386 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14387 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14388 * sysdeps/htl/pt-mutex-init.c: Likewise.
14389 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14390 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14391 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14392 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14393 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14394 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14395 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14396 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14397 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14398 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14399 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14400 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14401 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14402 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14403 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14404 * sysdeps/htl/pt-mutexattr.c: Likewise.
14405 * sysdeps/htl/pt-once.c: Likewise.
14406 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14407 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14408 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14409 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14410 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14411 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14412 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14413 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14414 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14415 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14416 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14417 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14418 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14419 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14420 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14421 * sysdeps/htl/pt-setschedparam.c: Likewise.
14422 * sysdeps/htl/pt-setschedprio.c: Likewise.
14423 * sysdeps/htl/pt-setspecific.c: Likewise.
14424 * sysdeps/htl/pt-spin.c: Likewise.
14425 * sysdeps/htl/pt-startup.c: Likewise.
14426 * sysdeps/htl/pthread.h: Likewise.
14427 * sysdeps/htl/sem-close.c: Likewise.
14428 * sysdeps/htl/sem-destroy.c: Likewise.
14429 * sysdeps/htl/sem-getvalue.c: Likewise.
14430 * sysdeps/htl/sem-init.c: Likewise.
14431 * sysdeps/htl/sem-open.c: Likewise.
14432 * sysdeps/htl/sem-post.c: Likewise.
14433 * sysdeps/htl/sem-timedwait.c: Likewise.
14434 * sysdeps/htl/sem-trywait.c: Likewise.
14435 * sysdeps/htl/sem-unlink.c: Likewise.
14436 * sysdeps/htl/sem-wait.c: Likewise.
14437 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14438 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14439 * sysdeps/mach/htl/pt-block.c: Likewise.
14440 * sysdeps/mach/htl/pt-spin.c: Likewise.
14441 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14442 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14443 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14444 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14445 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14446 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14447 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14448 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14449 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14450 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14451 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14452 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14453 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14454 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14455 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14456 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14457 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14458 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14459 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14460 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14461 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14462 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14463 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14464 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14465 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14466 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14467 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14468 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14469 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14470 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14471 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14472 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14473 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14474 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14475 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14476 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14477 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14478 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14479 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14480 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14481 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14482 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14483 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14484
fb03b04b
ST
14485 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14486 * README: Remove the mention of out-of-tree patches needed for
14487 GNU/Hurd.
14488
fa9e1555
ST
14489 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14490 (UTIME_NOW, UTIME_OMIT): Define macros.
14491
f6fb29d2
ST
14492 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14493 instead of pthread_detach.
14494 (__cthread_fork): Call __pthread_create instead of pthread_create.
14495 (__cthread_keycreate): Call __pthread_key_create instead of
14496 pthread_key_create.
14497 (__cthread_getspecific): Call __pthread_getspecific instead of
14498 pthread_getspecific.
14499 (__cthread_setspecific): Call __pthread_setspecific instead of
14500 pthread_setspecific.
14501 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14502 __pthread_mutex_unlock instead of pthread_mutex_lock and
14503 pthread_mutex_unlock.
14504 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14505 ___pthread_get_cleanup_stack.
14506 (__pthread_get_cleanup_stack): New strong alias.
14507 * htl/pt-create.c: Include <pthreadP.h>.
14508 (entry_point): Call __pthread_exit instead of pthread_exit.
14509 (pthread_create): Rename to __pthread_create.
14510 (pthread_create): New strong alias.
14511 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14512 (pthread_detach): New strong alias.
14513 (__pthread_detach): Call __pthread_cond_broadcast instead of
14514 pthread_cond_broadcast.
fe9748cc
ST
14515 * htl/pt-exit.c: Include <pthreadP.h>.
14516 (__pthread_exit): Call __pthread_setcancelstate and
14517 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14518 __pthread_get_cleanup_stack.
f6fb29d2
ST
14519 * htl/pt-testcancel.c: Include <pthreadP.h>.
14520 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14521 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14522 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14523 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14524 pthread_attr_getstacksize.
14525 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14526 Rename to __pthread_attr_getstackaddr.
14527 (pthread_attr_getstackaddr): New strong alias.
14528 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14529 Rename to __pthread_attr_getstacksize.
14530 (pthread_attr_getstacksize): New strong alias.
14531 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14532 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14533 (pthread_attr_setstack): New strong alias.
14534 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14535 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14536 pthread_attr_getstacksize, pthread_attr_setstacksize and
14537 pthread_attr_setstackaddr.
14538 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14539 Rename to __pthread_attr_setstackaddr.
14540 (pthread_attr_setstackaddr): New strong alias.
14541 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14542 Rename to __pthread_attr_setstacksize.
14543 (pthread_attr_setstacksize): New strong alias.
14544 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14545 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14546 pthread_exit.
14547 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14548 (__pthread_key_create): New hidden def.
14549 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14550 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14551 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14552 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14553 __pthread_setspecific, __pthread_setcancelstate,
14554 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14555 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14556 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14557 declarations.
14558 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14559 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14560 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14561 (pthread_attr_setstackaddr): New strong alias.
14562 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14563 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14564 (pthread_attr_setstacksize): New strong alias.
14565 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14566 (call_exit): Call __pthread_exit instead of pthread_exit.
14567 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14568 (_pthread_mutex_init): New hidden definition.
14569 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14570 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14571 instead of pthread_attr_init and pthread_attr_setstack.
14572
dba2bdbe
ST
14573 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14574 __vm_deallocate instead of vm_allocate and vm_deallocate.
14575 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14576 setenv.
14577 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14578 of geteuid.
14579 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14580 strdup.
14581 * hurd/siginfo.c: Include <libioP.h>.
14582 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14583 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14584 munmap.
dba2bdbe
ST
14585 * mach/devstream.c: Include <libioP.h>.
14586 (dealloc_ref): Call __mach_port_deallocate instead of
14587 mach_port_deallocate.
14588 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14589 Call __mach_port_deallocate instead of mach_port_deallocate.
14590 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14591 pathconf.
14592 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14593 munmap.
14594 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14595 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14596 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14597 of munmap.
14598 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14599 of close.
14600 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14601 instead of sysconf.
14602 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14603 __clock_gettime instead of clock_gettime.
14604 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14605 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14606 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14607 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14608 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14609 tcgetattr.
14610 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14611 __clock_gettime and __nanosleep instead of clock_gettime and
14612 nanosleep.
7a8f45e3
ST
14613 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14614 __hurd_catch_signal.
14615 (hurd_catch_signal): New strong alias.
14616 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14617 __hurd_catch_signal instead of hurd_catch_signal.
14618 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14619 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14620 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14621 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14622 (_hurd_thread_sigstate): Add hidden def.
14623 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14624 mutex_unlock.
14625 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14626 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14627 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14628 __hurd_file_name_path_lookup.
14629 (hurd_file_name_path_lookup): New strong alias.
14630 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14631 hurd_file_name_path_lookup.
14632 * mach/errstring.c (mach_error_type): Add hidden def.
14633 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14634 * mach/mutex-init.c (__mutex_init): Add hidden def.
14635 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14636 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14637 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14638 * sysdeps/mach/hurd/getcwd.c
14639 (_hurd_canonicalize_directory_name_internal): Rename to
14640 __hurd_canonicalize_directory_name_internal.
14641 (_hurd_canonicalize_directory_name_internal): New strong alias.
14642 (__canonicalize_directory_name_internal, __getcwd): Call
14643 __hurd_canonicalize_directory_name_internal instead of
14644 _hurd_canonicalize_directory_name_internal.
14645 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14646 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14647 hidden defs.
14648 * sysdeps/hurd/include/hurd.h: New file.
14649 * sysdeps/hurd/include/hurd/fd.h: New file.
14650 * sysdeps/hurd/include/hurd/signal.h: New file.
14651 * sysdeps/mach/include/lock-intern.h: New file.
14652 * sysdeps/mach/include/mach.h: New file.
14653 * sysdeps/mach/include/mach/mig_support.h: New file.
14654 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
14655 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14656 prototype.
14657 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14658 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14659 _HEADER_H_HIDDEN_DEF macro.
14660 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14661 _hurd_fd_error_signal): Add hidden prototype.
14662 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14663 hidden def.
82dbf555
ST
14664 * libio/iolibio.h (_IO_puts): New hidden prototype.
14665 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
14666 * sysdeps/mach/hurd/localplt.data: New file.
14667
33574c17 146682018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
14669 Amos Jeffries <squid3@treenet.co.nz>
14670 David Michael <fedora.dm0@gmail.com>
14671 Marco Gerards <marco@gnu.org>
14672 Marcus Brinkmann <marcus@gnu.org>
14673 Neal H. Walfield <neal@gnu.org>
14674 Pino Toscano <toscano.pino@tiscali.it>
14675 Richard Braun <rbraun@sceen.net>
14676 Roland McGrath <roland@gnu.org>
14677 Samuel Thibault <samuel.thibault@ens-lyon.org>
14678 Thomas DiModica <ricinwich@yahoo.com>
14679 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
14680
14681 * htl: New directory.
14682 * sysdeps/htl: New directory.
14683 * sysdeps/hurd/htl: New directory.
14684 * sysdeps/i386/htl: New directory.
14685 * sysdeps/mach/htl: New directory.
14686 * sysdeps/mach/hurd/htl: New directory.
14687 * sysdeps/mach/hurd/i386/htl: New directory.
14688 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14689 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14690 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14691
03e2aa50
ST
146922018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14693
14694 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14695 signals in thread created for runing timers.
14696
1aa52ced
FW
146972018-04-01 Florian Weimer <fweimer@redhat.com>
14698
14699 * support/support_format_addrinfo.c (support_format_addrinfo):
14700 Include unknown error number in formatted result.
14701
4d76d3e5
FW
147022018-03-29 Florian Weimer <fweimer@redhat.com>
14703
14704 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14705 capture SIGBUS.
14706
d39c0a45
AZ
147072018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14708
14709 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14710 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14711 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14712 (__ASSUME_CLONE_BACKWARDS): Define.
14713
cc8a1620
JH
147142018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14715
57408435 14716 [BZ #23024]
cc8a1620
JH
14717 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14718 early when linux sentinel value is set.
14719
8bfd94d0
ST
147202018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14721
14722 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14723
f178e59f
AS
147242018-03-27 Andreas Schwab <schwab@suse.de>
14725
14726 [BZ #23005]
14727 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14728 allocation of private copy of nsaddr_list fails.
14729
5f45f96a
JM
147302018-03-26 Joseph Myers <joseph@codesourcery.com>
14731
14732 [BZ #16552]
14733 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14734 * sysdeps/unix/sysv/linux/umount.c: ... here.
14735 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14736 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14737 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14738 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14740 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14741 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14742
3dfd23eb
AS
147432018-03-26 Andreas Schwab <schwab@suse.de>
14744
14745 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14746 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14747 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14748 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14749 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14750 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14751 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14752 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14753 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14754 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14755 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14756 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14757 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14758 (R_RISCV_NUM): Define.
14759
fa97d2ab
ST
147602018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14761
14762 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14763 TLS declaration of errno.
37be82a0
ST
14764 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14765 __libc_setup_tls.
14766 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14767 (ARCH_SETUP_TLS): Likewise.
14768 * sysdeps/mach/hurd/libc-start.h: New file copied from
14769 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
14770 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14771 instead of __libc_setup_tls.
37be82a0 14772 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
14773 __libc_setup_tls before initializing libpthread and running _hurd_init
14774 which starts the signal thread.
14775 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14776 Declare function.
2d813d7b 14777 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 14778
b8114edd
L
147792018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14780
14781 [BZ #22998]
14782 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14783 after it is defined.
14784
cd66c0e5
AS
147852018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14786 Max Horn <max@quendi.de>
14787
14788 [BZ #22644]
43d4f3d5 14789 CVE-2017-18269
cd66c0e5
AS
14790 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14791 branch conditions.
14792 * string/test-memmove.c (do_test2): New testcase.
14793
a4406139
JM
147942018-03-22 Joseph Myers <joseph@codesourcery.com>
14795
14796 * sysdeps/generic/frame.h: Remove file.
14797 * sysdeps/arm/frame.h: Likewise.
14798 * sysdeps/hppa/frame.h: Likewise.
14799 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14800 macro.
14801 (GET_FRAME): Likewise.
14802 (GET_STACK): Likewise.
14803 (CALL_SIGHANDLER): Likewise.
14804 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14805 Likewise.
14806 (GET_FRAME): Likewise.
14807 (GET_STACK): Likewise.
14808 (CALL_SIGHANDLER): Likewise.
14809 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14810 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14811 (GET_FRAME): Likewise.
14812 (GET_STACK): Likewise.
14813 (CALL_SIGHANDLER): Likewise.
14814 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14815 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14816 (GET_FRAME): Likewise.
14817 (GET_STACK): Likewise.
14818 (ADVANCE_STACK_FRAME): Likewise.
14819 (CALL_SIGHANDLER): Likewise.
14820 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14821 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14822 (GET_FRAME): Likewise.
14823 (GET_STACK): Likewise.
14824 (CALL_SIGHANDLER): Likewise.
14825 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14826 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14827 (GET_FRAME): Likewise.
14828 (GET_STACK): Likewise.
14829 (CALL_SIGHANDLER): Likewise.
14830 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14831 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14832 (GET_FRAME): Likewise.
14833 (GET_STACK): Likewise.
14834 (CALL_SIGHANDLER): Likewise.
14835 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14836 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14837 (GET_FRAME): Likewise.
14838 (GET_STACK): Likewise.
14839 (CALL_SIGHANDLER): Likewise.
14840 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14841 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14842 (GET_FRAME): Likewise.
14843 (GET_STACK): Likewise.
14844 (CALL_SIGHANDLER): Likewise.
14845 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14846 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14847 (GET_FRAME): Likewise.
14848 (GET_STACK): Likewise.
14849 (CALL_SIGHANDLER): Likewise.
14850 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14851 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14852 (GET_FRAME): Likewise.
14853 (GET_STACK): Likewise.
14854 (CALL_SIGHANDLER): Likewise.
14855 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14856 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14857 (GET_FRAME): Likewise.
14858 (GET_STACK): Likewise.
14859 (CALL_SIGHANDLER): Likewise.
14860 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14861 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14862 (GET_FRAME): Likewise.
14863 (GET_STACK): Likewise.
14864 (CALL_SIGHANDLER): Likewise.
14865 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14866 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14867 (FIRST_FRAME_POINTER): Likewise.
14868 (ADVANCE_STACK_FRAME): Likewise.
14869 (GET_STACK): Likewise.
14870 (GET_FRAME): Likewise.
14871 (CALL_SIGHANDLER): Likewise.
14872 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14873 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14874 (ADVANCE_STACK_FRAME): Likewise.
14875 (GET_STACK): Likewise.
14876 (GET_FRAME): Likewise.
14877 (CALL_SIGHANDLER): Likewise.
14878 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14879 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14880 (GET_FRAME): Likewise.
14881 (GET_STACK): Likewise.
14882 (CALL_SIGHANDLER): Likewise.
14883 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14884 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14885 (GET_FRAME): Likewise.
14886 (GET_STACK): Likewise.
14887 (CALL_SIGHANDLER): Likewise.
14888
ffec7b27
JM
148892018-03-21 Joseph Myers <joseph@codesourcery.com>
14890
14891 * sysdeps/x86_64/backtrace.c: Move to ....
14892 * debug/backtrace.c: ... here.
14893 * sysdeps/aarch64/backtrace.c: Remove file.
14894 * sysdeps/alpha/backtrace.c: Likewise.
14895 * sysdeps/hppa/backtrace.c: Likewise.
14896 * sysdeps/ia64/backtrace.c: Likewise.
14897 * sysdeps/mips/backtrace.c: Likewise.
14898 * sysdeps/nios2/backtrace.c: Likewise.
14899 * sysdeps/riscv/backtrace.c: Likewise.
14900 * sysdeps/sh/backtrace.c: Likewise.
14901 * sysdeps/tile/backtrace.c: Likewise.
14902
8a07b0c4
JM
149032018-03-20 Joseph Myers <joseph@codesourcery.com>
14904
d0c5d731
JM
14905 [BZ #22987]
14906 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14907 function.
14908 (fdimf): Likewise.
14909 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14910
8a07b0c4
JM
14911 [BZ #17343]
14912 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14913 possibly overflowing computations.
14914
ceb54b9b
ST
149152018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14916
14917 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14918 values from Linux-specific section now that it is in the GNU section.
14919 * sysdeps/gnu/errlist.c: Regenerate.
14920
8d3f9e85
JM
149212018-03-20 Joseph Myers <joseph@codesourcery.com>
14922
14923 * math/Makefile (libm-narrow-fns): Add sub.
14924 (libm-test-funcs-narrow): Likewise.
14925 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14926 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14927 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14928 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14929 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14930 (NARROW_SUB_TRIVIAL): Likewise.
14931 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14932 macro.
14933 (__dsubl): Likewise.
14934 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14935 dsub.
14936 (CFLAGS-nldbl-dsub.c): New variable.
14937 (CFLAGS-nldbl-fsub.c): Likewise.
14938 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14939 __nldbl_dsubl.
14940 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14941 prototype.
14942 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14943 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14944 * math/auto-libm-test-in: Add tests of sub.
14945 * math/auto-libm-test-out-narrow-sub: New generated file.
14946 * math/libm-test-narrow-sub.inc: New file.
14947 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14950 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14951 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14952 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14961 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14962 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14963 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14964 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14966 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14973 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14993
d473f015
JM
149942018-03-19 Joseph Myers <joseph@codesourcery.com>
14995
14996 [BZ #20079]
14997 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14998
fbce6f72
WD
149992018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15000
15001 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15002
72e7ffc3
RB
150032018-03-18 Richard Braun <rbraun@sceen.net>
15004
15005 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15006 thread reference.
15007
542c20a1
AA
150082018-03-18 Agustina Arzille <avarzille@riseup.net>
15009
15010 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15011 (__libc_cleanup_fct): Define function.
15012 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15013 __libc_cleanup_end): Rewrite implementation using
15014 __attribute__ ((__cleanup__)).
15015 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
15016 * hurd/Makefile (routines): Add hurdlock.
15017 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15018 interface.
15019 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15020 * hurd/hurdpid.c: Include <lowlevellock.h>
15021 (_S_msg_proc_newids): Use lll_wait to synchronize.
15022 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15023 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15024 * mach/Makefile (lock-headers): Remove machine-lock.h.
15025 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15026 <machine-lock.h>.
15027 (__spin_lock_t): New type.
15028 (__SPIN_LOCK_INITIALIZER): New macro.
15029 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15030 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15031 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15032 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15033 (__mutex_init): Initialize with lll.
15034 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15035 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15036 needing lll.
15037 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15038 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15039 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15040 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15041 (__setpgid): Use lll for synchronization.
15042 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15043 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15044 instead of <cthreads.h>.
15045 (_IO_lock_inexpensive): New macro
15046 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15047 (__libc_lock_self0): New declaration.
15048 (__libc_lock_owner_self): New macro.
15049 (__libc_key_t): Remove type.
15050 (_LIBC_LOCK_INITIALIZER): New macro.
15051 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15052 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15053 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15054 __libc_lock_define_initialized_recursive,
15055 __rtld_lock_define_initialized_recursive,
15056 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15057 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15058 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15059 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15060 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15061 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15062 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15063 New macros.
15064 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15065 * hurd/hurdlock.c: New file.
15066 * hurd/hurdlock.h: New file.
15067 * mach/lowlevellock.h: New file
542c20a1 15068
9a37922e
ST
150692018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15070
15071 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
15072 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15073 when opening a symlink with O_NOFOLLOW.
72103e73
ST
15074 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15075 path when flags contains O_NOFOLLOW.
15076 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15077 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
15078 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15079 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
15080 * sysdeps/mach/hurd/mlockall.c: New file.
15081 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 15082
34e6a869
ST
150832018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15084
15085 * hurd/hurdsig.c: Include <pthread.h>.
15086 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15087 get the signal thread stack layout.
dc33bef3
ST
15088 * hurd/Makefile (headers): Remove threadvar.h.
15089 (inline-headers): Remove threadvar.h.
15090 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15091 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15092 __hurd_threadvar_max, __hurd_errno_location.
15093 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15094 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15095 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15096 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15097 unless TLS is not initialized yet, in which case we do not need a
15098 critical section yet anyway.
15099 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15100 <machine-sp.h>.
15101 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15102 declarations.
15103 (__hurd_threadvar_index): Remove enum.
15104 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15105 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15106 inlines.
15107 (__hurd_reply_port0): New variable declaration.
15108 (__hurd_local_reply_port): New macro.
15109 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15110 (interrupted_reply_port_location): Add thread_t parameter. Use it
15111 with THREAD_TCB to access thread-local variables.
15112 (_hurdsig_abort_rpcs): Pass ss->thread to
15113 interrupted_reply_port_location.
15114 (_hurd_internal_post_signal): Likewise.
15115 (_hurdsig_init): Use presence of cthread_fork instead of
15116 __hurd_threadvar_stack_mask to start signal thread by hand.
15117 Remove signal thread threadvar initialization.
15118 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15119 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15120 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15121 of threadvar.
15122 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15123 __libc_lock_self0.
15124 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15125 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15126 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15127 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15128 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15129 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15130 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15131 define variables.
15132 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15133 <hurd/threadvar.h>.
15134 [IS_IN(rtld)] (rtld_errno): New variable.
15135 [IS_IN(rtld)] (__errno_location): New weak function.
15136 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15137 * sysdeps/mach/hurd/errno.c: Remove file.
15138 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15139 (__fork): Remove THREADVAR_SPACE macro and its use.
15140 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15141 variable.
15142 (init): Do not initialize threadvar.
15143 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15144 symbol.
15145 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15146 __hurd_local_reply_port instead of threadvar.
15147 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15148 _hurd_sigstate fields.
15149 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15150 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15151 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15152 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15153 instead of threadvar.
15154 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15155 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15156 (use_threadvar, global_reply_port): Remove variables.
15157 (__hurd_reply_port0): New variable.
15158 (__mig_get_reply_port): Use __hurd_local_reply_port and
15159 __hurd_reply_port0 instead of threadvar.
15160 (__mig_dealloc_reply_port): Likewise.
15161 (__mig_init): Do not initialize threadvar.
15162 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
15163 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15164 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15165 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15166 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15167 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15168 __cthread_setspecific.
15169 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15170 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15171 __cthread_t instead of cthread_fork, cthread_detach,
15172 pthread_getattr_np, pthread_attr_getstack.
15173 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15174 __cthread_keycreate.
15175 (cthread_getspecific): Rename to __cthread_getspecific.
15176 (cthread_setspecific): Rename to __cthread_setspecific.
15177 (__libc_getspecific): Use __cthread_getspecific instead of
15178 cthread_getspecific.
15179 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15180 __cthread_keycreate instead of cthread_keycreate.
15181 (__libc_setspecific): Use __cthread_setspecific instead of
15182 cthread_setspecific.
15183 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15184 Likewise.
dd28d4ba
ST
15185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15186 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15187 testing whether it is defined.
34e6a869 15188
f8baf2a2
ST
151892018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15190
15191 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15192 Define macro.
15193 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15194 * sysdeps/mach/i386/thread_state.h
15195 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15196 i386_THREAD_STATE.
15197 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15198 i386_THREAD_STATE.
15199 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15200
15201 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15202 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15203
15204 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15205 macros.
15206 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15207 descriptor instead of creating a new one.
15208 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15209
15210 * mach/setup-thread.c: Include <ldsodefs.h>.
15211 (__mach_setup_thread): Call _dl_allocate_tls, pass
15212 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15213 MACHINE_THREAD_STATE_FLAVOR, before getting
15214 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15215 MACHINE_THREAD_STATE_FLAVOR with the result.
15216 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15217 MACHINE_THREAD_STATE_FIX_NEW.
15218 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15219 too. Add original thread parameter.
15220
34ba96b8
JM
152212018-03-16 Joseph Myers <joseph@codesourcery.com>
15222
5d75b75f
JM
15223 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15224 Remove inline function.
15225
34ba96b8
JM
15226 * sysdeps/i386/fpu/libm-test-ulps: Update.
15227 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15228
22679b2c
WD
152292018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15230
15231 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15232 commit.
15233
c429a8d8
JM
152342018-03-15 Joseph Myers <joseph@codesourcery.com>
15235
15236 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15237 (__sincos_code): Remove define and undefine.
15238 [__FAST_MATH__] (__sincos): Remove inline function.
15239 [__FAST_MATH__] (__sincosf): Remove inline function.
15240 [__FAST_MATH__] (__sincosl): Remove inline function.
15241 (__atan2l): Remove inline functions.
15242 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15243 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15244 function.
15245 (floor): Remove inline function.
15246 (ceil): Likewise.
15247 [__FAST_MATH__] (__ldexp_code): Remove macro.
15248 [__FAST_MATH__] (ldexp): Remove inline function.
15249 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15250 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15251 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15252 [__USE_ISOC99] (__lrint_code): Remove macro.
15253 [__USE_ISOC99] (__llrint_code): Likewise.
15254 [__USE_ISOC99] (lrintf): Remove inline function.
15255 [__USE_ISOC99] (lrint): Likewise.
15256 [__USE_ISOC99] (lrintl): Likewise.
15257 [__USE_ISOC99] (llrint): Likewise.
15258 [__USE_ISOC99] (llrintf): Likewise.
15259 [__USE_ISOC99] (llrintl): Likewise.
15260
700593fd
WD
152612018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15262
15263 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15264 (__ieee754_sqrtf): Remove.
15265 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15266 (__ieee754_sqrtf): Remove.
15267 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15268 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15269 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15270 (__ieee754_sqrtf): Remove.
15271 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15272 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15273 (sqrtf): Remove.
15274 (sqrtl): Remove.
15275 (__ieee754_sqrt): Remove.
15276 (__ieee754_sqrtf): Remove.
15277 (__ieee754_sqrtl): Remove.
15278 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15279 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15280 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15281 (__ieee754_sqrtf): Remove.
15282 (__ieee754_sqrtl): Remove.
15283
f67a8147
WD
152842018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15285
15286 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15287 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15288 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15289 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15290 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15291 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15292 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15293 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15294 Likewise.
15295 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15296 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15297 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15298 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15299 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15300 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15301 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15302 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15303 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15304 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15305 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15306 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15307 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15308 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15309 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15310 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15311 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15312 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15313 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15314 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15317 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15318 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15319 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15320 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15322 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15323 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15324 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15325 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15326 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15327 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15328 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15329 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15331 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15332 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15333 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15334 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15335
1294b189
WD
153362018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15337
15338 * include/math.h (sqrt): Declare with asm redirect.
15339 (sqrtf): Likewise.
15340 (sqrtl): Likewise.
15341 (sqrtf128): Likewise.
15342 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15343 nonlib and libnldbl with -fmath-errno.
15344 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15345 * math/w_sqrt_template.c: Likewise.
15346 * math/w_sqrtf_compat.c: Likewise.
15347 * math/w_sqrtl_compat.c: Likewise.
15348 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15349 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15350 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15351 complex.h.
15352
f1c8185d
WD
153532018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15354
15355 * benchtests/Makefile: Define _ISOMAC.
15356 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15357 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15358 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15359 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15360 * benchtests/bench-timing.h: Define attribute_hidden.
15361
b47c3e76
SP
153622018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15363
15364 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15365 mov + lsr.
15366
807fee29
RL
153672018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15368
15369 [BZ #22963]
15370 * localedata/locales/cs_CZ (mon): Rename to...
15371 (alt_mon): This.
15372 (mon): Import from CLDR (genitive case).
15373
e7155a28
RL
153742018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15375
15376 [BZ #22937]
15377 * localedata/locales/el_CY (abmon): Rename to...
15378 (ab_alt_mon): This.
15379 (abmon): Import from CLDR (abbreviated genitive case).
15380 * localedata/locales/el_GR (abmon): Rename to...
15381 (ab_alt_mon): This.
15382 (abmon): Import from CLDR (abbreviated genitive case).
15383
71d7b121
RL
153842018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15385
15386 [BZ #22932]
15387 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15388
a00bffe8
RB
153892018-03-15 Robert Buj <robert.buj@gmail.com>
15390
15391 [BZ #22848]
15392 * localedata/locales/ca_ES (abmon): Rename to...
15393 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15394 (mon): Rename to...
15395 (alt_mon): This.
15396 (abmon): Import from CLDR (genitive case, month names preceded by
15397 "de" or "d’").
15398 (mon): Likewise.
15399 (abday): Synchronize with CLDR.
15400 (d_t_fmt): Likewise.
15401 (d_fmt): Likewise.
15402 (am_pm): Likewise.
15403
15404 (LC_TIME): Improve indentation.
15405 (LC_TELEPHONE): Likewise.
15406 (LC_NAME): Likewise.
15407 (LC_ADDRESS): Likewise.
15408
f9555d73
JM
154092018-03-14 Joseph Myers <joseph@codesourcery.com>
15410
15411 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15412 (lrintf): Remove definitions used only with old GCC.
15413 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15414 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15415 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15416 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15417 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15418 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15419 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15420 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15421 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15422 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15423 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15424 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15425 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15426 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15427 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15428 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15429 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15430 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15431 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15432 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15433 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15434 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15435 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15436 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15437 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15438 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15439 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15440 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15441
d46f84de
SP
154422018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15443
15444 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15445 instruction to unbreak builds with binutils 2.26 and older.
15446
7108f1f9
SP
154472018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15448
15449 * sysdeps/aarch64/strncmp.S (count): New macro.
15450 (strncmp): Store misaligned length in SRC1 in COUNT.
15451 (mutual_align): Adjust.
15452 (misaligned8): Load dword at a time when it is safe.
15453
2cc7bad0
ZW
154542018-03-12 Zack Weinberg <zackw@panix.com>
15455
15456 [BZ #1190]
15457 [BZ #19476]
15458 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15459 if the _IO_EOF_SEEN bit is already set; update commentary.
15460 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15461 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15462
15463 * support/support_openpty.c, support/tty.h: New files.
15464 * support/Makefile (libsupport-routines): Add support_openpty.
15465
15466 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15467 New test cases.
15468 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15469 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15470
778f1974
DL
154712018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15472
15473 * po/pt_BR.po: Update translations.
15474
6b5c8607 154752018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
15476
15477 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15478 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15479 get a port to the startup server.
15480
d3da750d
ZW
154812018-03-11 Zack Weinberg <zackw@panix.com>
15482
15483 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15484 before nldbl-compat.h.
15485
054b72cc
ZW
154862018-03-10 Zack Weinberg <zackw@panix.com>
15487
0d13dfa1
ZW
15488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15489 math.h or math_private.h.
15490
15491 * sysdeps/alpha/fpu/s_isnan.c
15492 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15493 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15494 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15495 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15496 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15497 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15498 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15499 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15500 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15503 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15504 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15505 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15506 Include math_private.h.
15507
15508 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15509 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15510 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15511 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15512 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15513 * sysdeps/powerpc/power7/fpu/s_logb.c:
15514 Include math.h and math_private.h.
15515
054b72cc
ZW
15516 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15517 uses of $at in .set noat / .set at.
15518
6253bacd
L
155192018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15520
15521 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15522 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15523 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15524 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15525 Likewise.
15526
229855e5
FW
155272018-03-09 Florian Weimer <fweimer@redhat.com>
15528
15529 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15530 in comment.
15531
9aa5c222
AJ
155322018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15533
15534 [BZ #22919]
15535 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15536 Add nop before __startcontext, add explaining comments.
15537
3dc21497
AZ
155382018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15539
e921c89e
AZ
15540 [BZ #22926]
15541 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15542 empty for __SPE__.
15543 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15545 Do not build hardware transactional code for __SPE__.
15546 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15547 (__lll_trylock_elision): Likewise.
15548 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15549 (__lll_unlock_elision): Likewise.
15550
d9f26dab 15551 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
15552 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15553 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15554 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15555 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15556 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15557 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15558 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15559 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15560 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15561 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15562 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15563 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15564 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15565 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15566 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15567 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15568 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15569 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15570 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15571 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15572 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15573 (__ASSUME_CLONE_BACKWARDS): Define.
15574 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15575 __clone2 if __NR_clone2 is defined.
15576 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15577 (__ASSUME_CLONE_BACKWARDS): Likewise.
15578 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15579 (__ASSUME_CLONE_BACKWARDS): Likewise.
15580 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15581 (__ASSUME_CLONE2): Likewise.
15582 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15583 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15584 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15585 variants and the define architecture can use.
15586 (__ASSUME_CLONE_DEFAULT): Define as default.
15587 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15588 (__ASSUME_CLONE_BACKWARDS): Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15590 (__ASSUME_CLONE_BACKWARDS): Likewise.
15591 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15592 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15593
adc95fb0
SP
155942018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15595
4e54d918
SP
15596 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15597
30a81dae
SP
15598 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15599 time.
15600
adc95fb0
SP
15601 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15602 (do_test_limit): Likewise.
15603
15604 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15605 for every implementation.
15606 (do_test): Likewise.
15607
15608 * benchtests/bench-strncmp.c: Convert output to json.
15609
4e9066bc
ST
156102018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15611
15612 * io/futimens.c: Add missing start-of-file descriptive comment.
15613 * io/utime.c: Likewise.
15614 * misc/futimesat.c: Likewise.
15615 * misc/utimes.c: Likewise.
15616 * sysdeps/mach/hurd/futimesat.c: Likewise.
15617 * sysdeps/mach/hurd/utimes.c: Likewise.
15618 * sysdeps/posix/utime.c: Likewise.
15619 * sysdeps/posix/utimes.c: Likewise.
15620 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15621 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15622 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15623 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15624
ec1300cf
ST
156252018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15626
15627 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15628 hurd_futimes.
15629 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15630 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15631 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15632 (__futimens): Move implementation to...
15633 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15634 utime_tvalue_from_tspec): ... new helper functions.
15635 (hurd_futimens): New function.
15636 * sysdeps/mach/hurd/futimesat.c: New file.
15637 * sysdeps/mach/hurd/utimensat.c: New file.
15638
bbe762d1
FC
156392018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15640
15641 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15642 UTIME_OMIT): New macros.
15643 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15644 before reverting to converting time spec to time value and calling
15645 __file_utimes.
15646 * sysdeps/mach/hurd/utime-helper.c: New file.
15647 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15648 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15649 reverting to utime_tvalue_from_tval and __file_utimes.
15650 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15651 (__lutimes): Just call hurd_futimens after lookup.
15652 * sysdeps/mach/hurd/utimes.c: Likewise.
15653
a1ede3a4
ST
156542018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15655
15656 * bits/sigaction.h: Add include guard.
15657 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15658 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15659 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15660 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15661 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15662 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15663 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15664 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15665 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15666
6900d2ca
JM
156672018-03-05 Joseph Myers <joseph@codesourcery.com>
15668
15669 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15670 -Wmaybe-uninitialized for -Os.
15671 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15672 this disabling.
15673
68448be2
AZ
156742018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15675
5226a81f
AZ
15676 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15677 __INO_T_MATCHES_INO64_T is defined.
15678 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15679 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15680 of definition.
15681 * dirent/alphasort64.c: Likewise.
15682 * dirent/scandir.c: Likewise.
15683 * dirent/scandir64-tail.c: Likewise.
15684 * dirent/scandir64.c: Likewise.
15685 * dirent/scandirat.c: Likewise.
15686 * dirent/scandirat64.c: Likewise.
15687 * dirent/versionsort.c: Likewise.
15688 * dirent/versionsort64.c: Likewise.
15689 * include/dirent.h: Likewise.
15690
fbd01e6c
AZ
15691 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15692 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15693 for socketpair endpoint.
15694 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15695 WRITE_BUFFER_SIZE as buffer size for sending socket.
15696 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15697 issue on system where send is implemented with sendto syscall.
15698 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15699 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15700 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15701 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15702
68448be2
AZ
15703 [BZ #21269]
15704 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15705 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15706 sa_restorer for vDSO case.
15707 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15708
eb1ca47e
ST
157092018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15710
15711 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
15712 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15713 * hurd/hurd/ioctl.h: Include <mach/port.h>
15714 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
15715 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15716 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
15717 (headers): Move mach/param.h to bits/mach/param.h.
15718 * sysdeps/mach/i386/mach/param.h: Move file to ...
15719 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15720 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15721 of <mach/param.h>.
3403cb7d
ST
15722 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15723 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15724 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
15725 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15726 trivial, for C++ conformity.
44c6376c 15727 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
15728 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15729 Process mig output through $(migheadersed).
15730 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
15731 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15732 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15733 headers.
ba89615d
ST
15734 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15735 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15736 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15737 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15738 <bits/types/sigset_t.h>.
15739 [!defined __USE_GNU]: Do not #error out.
15740 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15741 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15742 Include <stddef.h> and <bits/types/sigset_t.h>
15743 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15744 instead of sighandler_t.
974393ea
ST
15745 * stdlib/errno.h (error_t): Move definition to...
15746 * bits/types/error_t.h: ... new header.
15747 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15748 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15749 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15750 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15751 * hurd/hurd.h: Include <bits/types/error_t.h>
15752 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15753 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15754 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15755 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15756 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15757 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 15758 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 15759
eaf6753f
AS
157602018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15761
15762 [BZ #22918]
15763 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15764 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15765 * nscd/gai.c (__nss_hosts_database): Readd definition.
15766 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15767 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15768 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15769
4dc23804
JM
157702018-03-02 Joseph Myers <joseph@codesourcery.com>
15771
15772 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15773 (ifunc_one): Likewise.
15774
1c81d55f
DD
157752018-03-01 DJ Delorie <dj@delorie.com>
15776
15777 [BZ #22342]
15778 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15779 key value.
15780
b717c14f
MR
157812018-03-01 Maciej W. Rozycki <macro@mips.com>
15782
15783 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15784 `match_pid' parameter.
15785 (td_ta_thr_iter): Update accordingly.
15786
1efe1358
FW
157872018-03-01 Florian Weimer <fweimer@redhat.com>
15788
15789 * nptl/Makefile (install-lib-ldscripts): Remove.
15790 (install): Remove rule.
15791 ($(inst_libdir)/libpthread.so): Likewise.
15792
a527f09c
MF
157932018-03-01 Mike FABIAN <mfabian@redhat.com>
15794
15795 [BZ #22896]
15796 * localedata/locales/an_ES: update month and day names,
15797 improve d_fmt, improve postal_fmt, add country_post,
15798 add country_isbn
15799
35d660b0
MF
158002018-03-01 Mike FABIAN <mfabian@redhat.com>
15801
15802 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15803 Ukrainian instead of Bulgarian.
15804
1a2f44a8
FW
158052018-03-01 Florian Weimer <fweimer@redhat.com>
15806
15807 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15808 reference.
15809
bd60ce86
FW
158102018-03-01 Florian Weimer <fweimer@redhat.com>
15811
15812 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15813 * nptl/Makefile (routines): Add pthread_atfork.
15814 (static-only-routines): Set to pthread_atfork.
15815 (libpthread-routines): Remove pthread_atfork.
15816 (libpthread-static-only-routines): Remove.
15817 (install): Update comment.
15818 (libpthread.so): Do not install libpthread_nonshared.a.
15819 (tests): Do not link with libpthread_nonshared.a.
15820 (generated): Remove libpthread_nonshared.a.
15821 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15822 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15823 with libpthread_nonshared.a.
15824
000f290f
JM
158252018-02-28 Joseph Myers <joseph@codesourcery.com>
15826
e2bcf6a8
JM
15827 [BZ #22902]
15828 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15829 (libc_feholdexcept_setroundf128): New macro.
15830 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15831
000f290f
JM
15832 [BZ #15105]
15833 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15834 libc_hidden_def.
15835 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15836 * include/inttypes.h: New file.
15837
02f2fead
JM
158382018-02-27 Joseph Myers <joseph@codesourcery.com>
15839
15840 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15841 -Os in two more places.
15842
874c56d7
MF
158432018-02-27 Mike FABIAN <mfabian@redhat.com>
15844
15845 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15846 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15847 be sorted correctly at the moment because of a bug.
15848
15973854
MF
158492018-02-27 Mike FABIAN <mfabian@redhat.com>
15850
15851 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15852 treat ñ as a primary different character, sync the collation
15853 for Spanish with CLDR.
15854 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15855 * localedata/Makefile: Add new test files.
15856 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15857 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15858 collation order.
15859 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15860 * localedata/am_ET.UTF-8.in: New test file.
15861 * localedata/az_AZ.UTF-8.in: Likewise.
15862 * localedata/be_BY.UTF-8.in: Likewise.
15863 * localedata/ber_DZ.UTF-8.in: Likewise.
15864 * localedata/ber_MA.UTF-8.in: Likewise.
15865 * localedata/bg_BG.UTF-8.in: Likewise.
15866 * localedata/br_FR.UTF-8.in: Likewise.
15867 * localedata/cmn_TW.UTF-8.in: Likewise.
15868 * localedata/crh_UA.UTF-8.in: Likewise.
15869 * localedata/csb_PL.UTF-8.in: Likewise.
15870 * localedata/cv_RU.UTF-8.in: Likewise.
15871 * localedata/cy_GB.UTF-8.in: Likewise.
15872 * localedata/dz_BT.UTF-8.in: Likewise.
15873 * localedata/eo.UTF-8.in: Likewise.
15874 * localedata/es_ES.UTF-8.in: Likewise.
15875 * localedata/fa_IR.UTF-8.in: Likewise.
15876 * localedata/fi_FI.UTF-8.in: Likewise.
15877 * localedata/fil_PH.UTF-8.in: Likewise.
15878 * localedata/fur_IT.UTF-8.in: Likewise.
15879 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15880 * localedata/ha_NG.UTF-8.in: Likewise.
15881 * localedata/ig_NG.UTF-8.in: Likewise.
15882 * localedata/ik_CA.UTF-8.in: Likewise.
15883 * localedata/kk_KZ.UTF-8.in: Likewise.
15884 * localedata/ku_TR.UTF-8.in: Likewise.
15885 * localedata/ky_KG.UTF-8.in: Likewise.
15886 * localedata/ln_CD.UTF-8.in: Likewise.
15887 * localedata/mi_NZ.UTF-8.in: Likewise.
15888 * localedata/ml_IN.UTF-8.in: Likewise.
15889 * localedata/mn_MN.UTF-8.in: Likewise.
15890 * localedata/mr_IN.UTF-8.in: Likewise.
15891 * localedata/mt_MT.UTF-8.in: Likewise.
15892 * localedata/nb_NO.UTF-8.in: Likewise.
15893 * localedata/om_KE.UTF-8.in: Likewise.
15894 * localedata/os_RU.UTF-8.in: Likewise.
15895 * localedata/ps_AF.UTF-8.in: Likewise.
15896 * localedata/ro_RO.UTF-8.in: Likewise.
15897 * localedata/ru_RU.UTF-8.in: Likewise.
15898 * localedata/sc_IT.UTF-8.in: Likewise.
15899 * localedata/se_NO.UTF-8.in: Likewise.
15900 * localedata/sq_AL.UTF-8.in: Likewise.
15901 * localedata/sv_SE.UTF-8.in: Likewise.
15902 * localedata/szl_PL.UTF-8.in: Likewise.
15903 * localedata/tg_TJ.UTF-8.in: Likewise.
15904 * localedata/tk_TM.UTF-8.in: Likewise.
15905 * localedata/tt_RU.UTF-8.in: Likewise.
15906 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15907 * localedata/ug_CN.UTF-8.in: Likewise.
15908 * localedata/uz_UZ.UTF-8.in: Likewise.
15909 * localedata/vi_VN.UTF-8.in: Likewise.
15910 * localedata/yi_US.UTF-8.in: Likewise.
15911 * localedata/yo_NG.UTF-8.in: Likewise.
15912 * localedata/zh_CN.UTF-8.in: Likewise.
15913 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15914 file and fix bugs in the collation.
15915 * localedata/locales/az_AZ: Likewise.
15916 * localedata/locales/be_BY: Likewise.
15917 * localedata/locales/ber_DZ: Likewise.
15918 * localedata/locales/ber_MA: Likewise.
15919 * localedata/locales/bg_BG: Likewise.
15920 * localedata/locales/br_FR: Likewise.
15921 * localedata/locales/br_FR@euro: Likewise.
15922 * localedata/locales/ca_ES: Likewise.
15923 * localedata/locales/cns11643_stroke: Likewise.
15924 * localedata/locales/crh_UA: Likewise.
15925 * localedata/locales/cs_CZ: Likewise.
15926 * localedata/locales/csb_PL: Likewise.
15927 * localedata/locales/cv_RU: Likewise.
15928 * localedata/locales/cy_GB: Likewise.
15929 * localedata/locales/da_DK: Likewise.
15930 * localedata/locales/dz_BT: Likewise.
15931 * localedata/locales/en_CA: Likewise.
15932 * localedata/locales/eo: Likewise.
15933 * localedata/locales/es_CU: Likewise.
15934 * localedata/locales/es_EC: Likewise.
15935 * localedata/locales/es_ES: Likewise.
15936 * localedata/locales/es_US: Likewise.
15937 * localedata/locales/et_EE: Likewise.
15938 * localedata/locales/fa_IR: Likewise.
15939 * localedata/locales/fi_FI: Likewise.
15940 * localedata/locales/fil_PH: Likewise.
15941 * localedata/locales/fur_IT: Likewise.
15942 * localedata/locales/gez_ER@abegede: Likewise.
15943 * localedata/locales/ha_NG: Likewise.
15944 * localedata/locales/hr_HR: Likewise.
15945 * localedata/locales/hsb_DE: Likewise.
15946 * localedata/locales/hu_HU: Likewise.
15947 * localedata/locales/ig_NG: Likewise.
15948 * localedata/locales/ik_CA: Likewise.
15949 * localedata/locales/is_IS: Likewise.
15950 * localedata/locales/iso14651_t1_pinyin: Likewise.
15951 * localedata/locales/kk_KZ: Likewise.
15952 * localedata/locales/ku_TR: Likewise.
15953 * localedata/locales/ky_KG: Likewise.
15954 * localedata/locales/ln_CD: Likewise.
15955 * localedata/locales/lt_LT: Likewise.
15956 * localedata/locales/lv_LV: Likewise.
15957 * localedata/locales/mi_NZ: Likewise.
15958 * localedata/locales/ml_IN: Likewise.
15959 * localedata/locales/mn_MN: Likewise.
15960 * localedata/locales/mr_IN: Likewise.
15961 * localedata/locales/mt_MT: Likewise.
15962 * localedata/locales/nb_NO: Likewise.
15963 * localedata/locales/om_KE: Likewise.
15964 * localedata/locales/os_RU: Likewise.
15965 * localedata/locales/pl_PL: Likewise.
15966 * localedata/locales/ps_AF: Likewise.
15967 * localedata/locales/ro_RO: Likewise.
15968 * localedata/locales/ru_RU: Likewise.
15969 * localedata/locales/ru_UA: Likewise.
15970 * localedata/locales/sc_IT: Likewise.
15971 * localedata/locales/se_NO: Likewise.
15972 * localedata/locales/si_LK: Likewise.
15973 * localedata/locales/sq_AL: Likewise.
15974 * localedata/locales/sv_FI: Likewise.
15975 * localedata/locales/sv_FI@euro: Likewise.
15976 * localedata/locales/sv_SE: Likewise.
15977 * localedata/locales/szl_PL: Likewise.
15978 * localedata/locales/tg_TJ: Likewise.
15979 * localedata/locales/ti_ER: Likewise.
15980 * localedata/locales/tk_TM: Likewise.
15981 * localedata/locales/tl_PH: Likewise.
15982 * localedata/locales/tr_TR: Likewise.
15983 * localedata/locales/tt_RU: Likewise.
15984 * localedata/locales/tt_RU@iqtelif: Likewise.
15985 * localedata/locales/ug_CN: Likewise.
15986 * localedata/locales/uk_UA: Likewise.
15987 * localedata/locales/uz_UZ: Likewise.
15988 * localedata/locales/uz_UZ@cyrillic: Likewise.
15989 * localedata/locales/vi_VN: Likewise.
15990 * localedata/locales/yi_US: Likewise.
15991 * localedata/locales/yo_NG: Likewise.
15992
ce6636b0
MF
159932018-02-27 Mike FABIAN <mfabian@redhat.com>
15994
15995 * gen-locales.mk: Make test files which contain @ modifiers in their
15996 name work.
15997 * localedata/gen-locale.sh: Likewise.
15998
ac3a3b4b
MF
159992018-02-27 Mike FABIAN <mfabian@redhat.com>
16000
16001 * posix/tst-fnmatch.input: Fix results for range expressions
16002 for non C locales.
16003 * posix/tst-regexloc.c: Do not use a range expression for
16004 de_DE.ISO-8859-1 locale.
16005
770cbe14
MF
160062018-02-27 Mike FABIAN <mfabian@redhat.com>
16007
16008 * posix/bug-regex5.c: Fix test case because with the new
16009 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16010 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16011 file.
16012
0fc355d9
MF
160132018-02-27 Mike FABIAN <mfabian@redhat.com>
16014
16015 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16016 downloaded from ISO, the collation order of @-. and space has changed.
16017 Therefore, this test file needed to be adapted.
16018 * localedata/fr_CA.UTF-8.in: Likewise.
16019 * localedata/fr_FR.UTF-8.in: Likewise.
16020 * localedata/uk_UA.UTF-8.in: Likewise.
16021
43f3893f
MF
160222018-02-27 Mike FABIAN <mfabian@redhat.com>
16023
16024 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16025 order of ȥ in the new iso14651_t1_common file.
16026 * localedata/pl_PL.UTF-8.in: Likewise.
16027
df74ef78
MF
160282018-02-27 Mike FABIAN <mfabian@redhat.com>
16029
16030 * localedata/locales/iso14651_t1_common: Add sections for various
16031 scripts to the iso14651_t1_common file.
16032
d5adfbad
MF
160332018-02-27 Mike FABIAN <mfabian@redhat.com>
16034
16035 * localedata/locales/iso14651_t1_common: Use the code point of a
16036 character in the fourth collation level instead of IGNORE for all
16037 entries which have IGNORE on all 4 levels.
16038
5f5a9610
MF
160392018-02-27 Mike FABIAN <mfabian@redhat.com>
16040
16041 * localedata/locales/iso14651_t1_common: Add some convenient collation
16042 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16043 rules similar to those in CLDR.
16044
8a97e900
MF
160452018-02-27 Mike FABIAN <mfabian@redhat.com>
16046
16047 * localedata/locales/iso14651_t1_common: The new version of this
16048 file downloaded from ISO contained several syntax errors which
16049 are fixed by this patch.
16050
bbdd2fba
MF
160512018-02-27 Mike FABIAN <mfabian@redhat.com>
16052
16053 * localedata/locales/iso14651_t1_common: replace all <U.....>
16054 with <U000.....> because glibc understands only 4 digit or 8 digit
16055
1569e551
MF
160562018-02-27 Mike FABIAN <mfabian@redhat.com>
16057
16058 * localedata/locales/iso14651_t1_common: Necessary changes
16059 to make the file downloaded from ISO usable by glibc.
16060
9479b6d5
MF
160612018-02-27 Mike FABIAN <mfabian@redhat.com>
16062
16063 [BZ #14095]
16064 * localedata/locales/iso14651_t1_common: Update file to
16065 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16066
03b540b3
ST
160672018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16068
16069 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16070 of <nptl/pthreadP.h>
16071 (thread_attr_compare): Move function to...
eb937a52 16072 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 16073 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 16074 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 16075
20602c72
JM
160762018-02-26 Joseph Myers <joseph@codesourcery.com>
16077
f54d8f73
JM
16078 * string/strcoll_l.c: Include <libc-diag.h>.
16079 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16080 declarations of seq1 and seq2.
16081
20602c72
JM
16082 [BZ #15105]
16083 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16084 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16085
f5f473a9
DL
160862018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16087
16088 [BZ #22433]
16089 [BZ #22807]
16090 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16091 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16092 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16093 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16094 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16095 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16096
398c6fdd
TMQMF
160972018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16098
16099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16100 macros used in __ptrace_request.
16101
f5d1f629
L
161022018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16103
16104 [BZ #22792]
16105 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16106 to $(CC).
16107 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16108 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16109 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16110 <tcb-offsets.h>.
16111
54412d20
JM
161122018-02-23 Joseph Myers <joseph@codesourcery.com>
16113
16114 [BZ #15105]
16115 * ctype/ctype.c (tolower): Use libc_hidden_def.
16116 (toupper): Likewise.
16117 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16118 [!_ISOMAC] (toupper): Likewise.
16119
81be4b5e
MF
161202018-02-23 Mike FABIAN <mfabian@redhat.com>
16121
16122 * localedata/Makefile: Remove --quiet argument when
16123 installing locales
16124
9d5cfd8e
MF
161252018-02-23 Mike FABIAN <mfabian@redhat.com>
16126
16127 [BZ #17438]
16128 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16129 in d_fmt.
16130 * localedata/locales/pt_PT (LC_TIME): likewise
16131
6c7269f3
MF
161322018-02-23 Mike FABIAN <mfabian@redhat.com>
16133
16134 [BZ #22646]
16135 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16136 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16137 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16138
92aabad9
AZ
161392018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16140
4cdc25a4
AZ
16141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16142
27761a10
AZ
16143 * nptl/Makefile (routines): Remove unregister-atfork.
16144 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16145 (fork_handler_alloc): Remove function.
16146 (fork_handlers, fork_handler_init): New variables.
16147 (__fork_lock): Rename to atfork_lock.
16148 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16149 to use a dynamic array to add/remove atfork handlers.
16150 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16151 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16152 Remove declaration.
16153 (fork_handler): Remove next, refcntr, and need_signal member.
16154 (__run_fork_handler_type): New enum.
16155 (__run_fork_handlers): New prototype.
16156 * nptl/register-atfork.c: Remove file.
16157 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16158
92aabad9
AZ
16159 * sysdeps/nptl/nptl-signals.h: Move to ...
16160 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16161 comments.
16162 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16163 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16164 unnecessary check for SIGTIMER.
16165 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16166 remove unnecessary removal of SIGTIMER.
16167 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16168 include-signals.h rename.
16169 * nptl/pthreadP.h: Likewise.
16170 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16171 __is_internal_signal instead of __nptl_is_internal_signal.
16172
6b5c8607 161732018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 16174
7e04eb29 16175 [BZ # 22884]
fdcc6253
AW
16176 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16177 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16178 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16179 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16180
8090720a
DD
161812018-02-22 DJ Delorie <dj@delorie.com>
16182
16183 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16184
6ca24c43
SP
161852018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16186
16187 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16188 do_misaligned, not misaligned8.
16189
e9537ddd
SE
161902018-02-22 Steve Ellcey <sellcey@cavium.com>
16191
16192 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16193 Add memcpy_thunderx2.
16194 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16195 Increment to 4.
16196 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16197 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16198 and IS_THUNDERX2PA checks.
16199 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16200 Use macro to set name appropriately.
16201 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16202 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16203 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16204 New macro.
16205 (IS_THUNDERX2): New macro.
16206
6e336476
SL
162072018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16208
16209 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16210
34957904
ZW
162112018-02-21 Zack Weinberg <zackw@panix.com>
16212
30bfee26
ZW
16213 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16214 Define here, unconditionally.
16215 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16216 * libio/libioP.h: Remove #if 0 blocks.
16217 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16218 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16219 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16220
16221 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16222 Assume weak_alias is always defined.
16223
16224 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16225 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16226 Remove #if 0 and #ifdef TODO blocks.
16227 Assume text_set_element is always defined.
16228
16229 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16230 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16231 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16232
df6c012b
ZW
16233 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16234 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16235 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16236 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16237 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16238 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16239 Reformat bit flags for _flags field to make occupancy clearer.
16240 Update commentary.
16241 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16242 Keep definitions consistent with those in libio/libio.h.
16243
16244 * libio/libio.h (_IO_file_flags): Remove macro.
16245 All uses changed to _flags.
16246
177aad3f
ZW
16247 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16248 (__HAVE_COLUMN, _IO_BE): Don't define.
16249 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16250 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16251 * libio/libioP.h (EOF): Don't define.
16252 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16253 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16254 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16255 testing _IO_UNIFIED_JUMPTABLES.
16256
9964a145
ZW
16257 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16258 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16259 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16260 (_IO_size_t): Delete; all uses changed to size_t.
16261 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16262 (_IO_off_t): Delete; all uses changed to off_t.
16263 (_IO_off64_t): Delete; all uses changed to off64_t.
16264 (_IO_pid_t): Delete; all uses changed to pid_t.
16265 (_IO_uid_t): Delete; all uses changed to uid_t.
16266 (_IO_wint_t): Delete; all uses changed to wint_t.
16267 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16268 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16269 (_IO_cookie_io_functions_t): Delete; all uses changed to
16270 cookie_io_functions_t.
16271 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16272 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16273 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16274 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16275
16276 * libio/iofopncook.c: Remove unnecessary forward declarations.
16277 * libio/iolibio.h: Correct outdated commentary.
16278 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16279 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16280 Remove unnecessary casts.
16281 * stdio-common/getline.c: Use _IO_getdelim directly.
16282 Don't redefine ssize_t.
16283 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16284 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16285 Remove outdated comments.
16286 * stdio-common/vfscanf.c: Don't redefine va_list.
16287
34957904
ZW
16288 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16289 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16290 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16291 which are always true, and __cplusplus, which is always false.
16292
30ac923d
JM
162932018-02-21 Joseph Myers <joseph@codesourcery.com>
16294
039c721a
JM
16295 [BZ #15105]
16296 [BZ #19463]
16297 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16298 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16299 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16300 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16301 libc_hidden_proto.
16302 [!_ISOMAC] (putc_unlocked): Likewise.
16303 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16304 define inline if [__USE_EXTERN_INLINES].
16305 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16306 putc_unlocked.
16307
30ac923d
JM
16308 [BZ #15105]
16309 [BZ #19463]
16310 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16311 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16312 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16313 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16314 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16315 getc_unlocked.
16316 * time/tzfile.c (__tzfile_read): Likewise.
16317
7ec5f946
MF
163182018-02-21 Mike FABIAN <mfabian@redhat.com>
16319
16320 [BZ #22517]
16321 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16322
0d217f40
RJ
163232018-02-21 Rical Jasan <ricaljasan@pacific.net>
16324
16325 * io/fcntl.h: Fix a typo in a comment.
16326
862b4502
RJ
163272018-02-21 Rical Jasan <ricaljasan@pacific.net>
16328
16329 [BZ #22862]
16330 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16331 define _DEFAULT_SOURCE.
16332 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16333
999a6dab
FW
163342018-02-21 Florian Weimer <fweimer@redhat.com>
16335
16336 [BZ #20890]
16337 * elf/cache.c (save_cache): Call fsync on temporary file before
16338 renaming it.
16339 (save_aux_cache): Call fdatasync on temporary file before renaming
16340 it.
16341
52a01100
FW
163422018-02-21 Florian Weimer <fweimer@redhat.com>
16343
16344 [BZ #22787]
16345 * include/caller.h: Remove file.
16346 * elf/dl-caller.c: Likewise.
16347 * elf/Makefile (dl-routines): Remove dl-caller.
16348 (shared-only-routines): Do not add dl-caller.
16349 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16350 __check_caller.
16351 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16352 member.
16353 (dl_open_worker): Do not call __check_caller.
16354 (_dl_open): Do not set caller_dl_open member.
16355 * elf/rtld.c (_rtld_global_ro): Do not initialize
16356 _dl_check_caller member.
16357 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16358 _dl_check_caller member.
16359 (_dl_check_caller): Remove declaration.
16360 * sysdeps/unix/sysv/linux/dl-execstack.c
16361 (_dl_make_stack_executable): Do not call __check_caller.
16362
b5bf62e4
ST
163632018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16364
16365 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 16366 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 16367
e8d190b9
RJ
163682018-02-20 Rical Jasan <ricaljasan@pacific.net>
16369
16370 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16371 description.
16372
6a3962c4
RJ
163732018-02-20 Rical Jasan <ricaljasan@pacific.net>
16374
da81ae64 16375 [BZ #16335]
6a3962c4
RJ
16376 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16377 of 199606L, 200112L, and 200809L.
16378 (_XOPEN_SOURCE): Document special values of 600 and 700.
16379 (_ISOC11_SOURCE): Document macro.
16380 (_ATFILE_SOURCE): Likewise.
16381 (_FORTIFY_SOURCE): Likewise.
16382
ec481ad8
JM
163832018-02-19 Joseph Myers <joseph@codesourcery.com>
16384
16385 [BZ #15105]
16386 [BZ #19463]
16387 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16388 and define as weak alias of __ferror_unlocked. Use
16389 libc_hidden_weak.
16390 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16391 libc_hidden_proto.
16392 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16393 function if [__USE_EXTERN_INLINES].
16394 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16395 ferror_unlocked.
16396
7d15ef84
RJ
163972018-02-19 Rical Jasan <ricaljasan@pacific.net>
16398
16399 [BZ #6889]
16400 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16401
f8d79582
AJ
164022018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16403
16404 [BZ #22818]
16405 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16406 the GLIBC_2.1 version.
16407
56456a2a
AJ
164082018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16409
16410 [BZ #21508]
16411 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16412 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16413 intl/tst-gettext-de.po from po/de.po by removing the
16414 POT-Creation-Date line.
16415 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16416 ../po/de.po.
16417 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16418 ../po/de.po.
16419
13768813
ST
164202018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16421
16422 * mach/Makefile (headers): Add mach/param.h.
16423 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16424 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
16425 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16426 (__ptsname_r): Move implementation to...
16427 (__ptsname_internal): ... new function. Add filling the STP
16428 structure.
13768813 16429
6aca1b61
JDA
164302018-02-17 John David Anglin <danglin@gcc.gnu.org>
16431
16432 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16433 idouble to 1 ULP.
16434
16efad51
RJ
164352018-02-16 Rical Jasan <ricaljasan@pacific.net>
16436
16437 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16438 syntax.
16439
87245073
SL
164402018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16441
16442 * nptl/Makefile (tst-mutex8-ENV): Delete.
16443 * nptl/tst-mutex8.c (check_type):
16444 Add runtime check if mutex will be elided.
16445
7fc03cf3
JM
164462018-02-15 Joseph Myers <joseph@codesourcery.com>
16447
db9881ec
JM
16448 [BZ #20980]
16449 [BZ #21234]
16450 * manual/install.texi (Configuring and compiling): Describe
16451 passing CC and CFLAGS on configure command line, not as
16452 environment variables. Use @code markup on those variables.
16453 Specify what options go in CC and what go in CFLAGS. Note the
16454 requirement to compile with optimization.
16455 * INSTALL: Regenerated.
16456
3785b31c
JM
16457 [BZ #18124]
16458 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16459 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16460 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16461 __sigprocmask instead of sigprocmask.
16462 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16463 Likewise.
16464 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16465 __sigsetjmp and sigprocmask.
16466
055ac2a7
JM
16467 [BZ #15105]
16468 * include/argz.h (argz_next): Use libc_hidden_proto.
16469 (__argz_next): Likewise.
16470 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16471 (argz_next): Use libc_hidden_weak.
16472
e4452a2d
JM
16473 [BZ #15105]
16474 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16475 libc_hidden_proto.
16476 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16477 libc_hidden_def.
16478
499b3153
JM
16479 [BZ #15105]
16480 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16481 libc_hidden_proto.
16482 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16483
7fc03cf3
JM
16484 [BZ #15105]
16485 [BZ #19463]
16486 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16487 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16488 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16489 (__feof_unlocked): New declaration, and inline function if
16490 [__USE_EXTERN_INLINES].
16491 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16492 instead of feof_unlocked.
16493 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16494 * nss/nsswitch.c (nss_parse_file): Likewise.
16495 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16496 Likewise.
16497 * time/getdate.c (__getdate_r): Likewise.
16498 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16499 Define as macro to call __feof_unlocked.
16500
0c8a67a5
WD
165012018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16502
16503 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16504
610ee1fc
WD
165052018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16506
16507 * math/Makefile: Remove mpexp.c and mplog.c
16508 * sysdeps/i386/fpu/mpexp.c: Delete file.
16509 * sysdeps/i386/fpu/mplog.c: Likewise.
16510 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16511 * sysdeps/ia64/fpu/mplog.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16513 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16514 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16515 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16516 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16517 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16518 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16519 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16520 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16521 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16522 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16523 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16524 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16525 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16526 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16527 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16528
8e7196c8
SL
165292018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16530
16531 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16532
4f55ad0b
AZ
165332018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16534
16535 * sysdeps/sh/libm-test-ulps: Update.
16536
261a851c
TMQMF
165372018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16538
16539 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16540 idouble to 1 ULP.
16541
e16deca6
ZW
165422018-02-12 Zack Weinberg <zackw@panix.com>
16543
16544 [BZ #19239]
16545 * posix/sys/types.h: Don't include sys/sysmacros.h.
16546 * misc/sys/sysmacros.h: Remove the conditional deprecation
16547 warnings for the macros defined by this header.
16548
de800d83
SN
165492018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16550
16551 * manual/probes.texi: Remove slowexp probes.
16552 * math/Makefile: Remove slowexp.
16553 * sysdeps/generic/math_private.h (__slowexp): Remove.
16554 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16555 document error bounds.
16556 * sysdeps/i386/fpu/slowexp.c: Remove.
16557 * sysdeps/ia64/fpu/slowexp.c: Remove.
16558 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16559 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16560 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16561 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16562 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16563 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16564 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16566 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16567 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16568 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16569
c3d466cb
WD
165702018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16571
16572 [BZ #13932]
16573 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16574 * benchtests/pow-inputs: Update comment for slow path cases.
16575 * manual/probes.texi (slowpow_p10): Delete removed probe.
16576 (slowpow_p10): Likewise.
16577 * math/Makefile: Remove halfulp.c and slowpow.c.
16578 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16579 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16580 (__halfulp): Remove.
16581 (__slowpow): Remove.
16582 * sysdeps/i386/fpu/halfulp.c: Delete file.
16583 * sysdeps/i386/fpu/slowpow.c: Likewise.
16584 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16585 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16587 improve comments and add error analysis.
16588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16589 (power1): Remove function:
16590 (log1): Remove error argument, add error analysis.
16591 (my_log2): Remove function.
16592 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16593 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16594 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16595 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16596 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16597 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16598 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16599 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16600 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16601 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16602 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16603 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16604 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16605 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16606
7bb087bd
ST
166072018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16608
16609 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16610 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16611
2fd4bbaa
DL
166122018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16613
16614 [BZ #22433]
16615 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16616 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16617 and PTRACE_SETHBPREGS.
16618
402ecba4
ZW
166192018-02-10 Zack Weinberg <zackw@panix.com>
16620
16621 [BZ #22830]
16622 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16623 correctly.
16624 * malloc/tst-malloc-stats-cancellation.c: New test case.
16625 * malloc/Makefile: Add new test case.
16626
4f5b921e
WD
166272018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16628
16629 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16630
a85b70db
JM
166312018-02-10 Joseph Myers <joseph@codesourcery.com>
16632
d8742dd8
JM
16633 * math/Makefile (libm-narrow-fns): Add add.
16634 (libm-test-funcs-narrow): Likewise.
16635 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16636 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16637 * math/gen-auto-libm-tests.c (test_functions): Add add.
16638 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16639 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16640 (NARROW_ADD_TRIVIAL): Likewise.
16641 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16642 macro.
16643 (__daddl): Likewise.
16644 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16645 dadd.
16646 (CFLAGS-nldbl-dadd.c): New variable.
16647 (CFLAGS-nldbl-fadd.c): Likewise.
16648 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16649 __nldbl_daddl.
16650 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16651 prototype.
16652 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16653 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16654 * math/auto-libm-test-in: Add tests of add.
16655 * math/auto-libm-test-out-narrow-add: New generated file.
16656 * math/libm-test-narrow-add.inc: New file.
16657 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16660 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16661 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16662 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16663 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16664 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16665 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16667 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16668 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16669 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16671 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16672 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16673 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16674 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16676 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16677 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16678 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16679 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16680 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16681 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16682 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16683 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16684 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16685 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16686 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16687 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16688 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16693 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16694 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16695 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16696 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16697 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16698 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16699 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16700 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16701 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16702 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16703
a85b70db
JM
16704 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16705 (f128-pairs): New variable.
16706 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16707 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16708 to CFLAGS.
16709 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16710 Also make tests add $(f128-loader-link) to gnulib-tests.
16711
6a1ff640
DD
167122018-02-09 DJ Delorie <dj@redhat.com>
16713
16714 [BZ #22827]
16715 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16716 64-bit ELF type for 64-bit ELF objects.
16717
bfd47587
JM
167182018-02-09 Joseph Myers <joseph@codesourcery.com>
16719
31958338
JM
16720 * math/libm-test-driver.c (snan_tests_arg): New variable.
16721 * math/libm-test-support.h (snan_tests_arg): New declaration.
16722 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16723
8e554659
JM
16724 * math/Makefile (test-type-pairs): New variable.
16725 (test-type-pairs-f64xf128-yes): Likewise.
16726 (tests): Add test-narrow-macros.
16727 (libm-test-funcs-narrow): New variable.
16728 (libm-test-c-narrow): Likewise.
16729 (generated): Add $(libm-test-c-narrow).
16730 (libm-tests-base-narrow): New variable.
16731 (libm-tests-narrow): Likewise.
16732 (libm-tests): Add $(libm-tests-narrow).
16733 (libm-tests-for-type): Handle $(libm-tests-narrow).
16734 (libm-test-c-narrow-obj): New variable.
16735 ($(libm-test-c-narrow-obj)): New rule.
16736 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16737 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16738 $(o-iterator) to set dependencies and CFLAGS.
16739 * math/gen-auto-libm-tests.c: Document use for narrowing
16740 functions.
16741 (output_for_one_input_case): Take argument NARROW.
16742 (generate_output): Likewise. Update call to
16743 output_for_one_input_case.
16744 (main): Take --narrow option. Update call to generate_output.
16745 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16746 (apply_lit): Update call to _apply_lit.
16747 (apply_arglit): New function.
16748 (parse_args): Handle "a" arguments.
16749 (parse_auto_input): Handle format names using ":".
16750 * math/README.libm-test: Document "a" parameter type.
16751 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16752 (ARG_TYPE_TRUE_MIN): Likewise.
16753 (ARG_TYPE_MAX): Likwise.
16754 (ARG_MIN_EXP): Likewise.
16755 (ARG_MAX_EXP): Likewise.
16756 (ARG_MANT_DIG): Likewise.
16757 (TEST_COND_arg_ibm128): Likewise.
16758 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16759 (TEST_COND_arg_fmt): New macro.
16760 (init_max_error): Update prototype.
16761 * math/libm-test-support.c (test_ibm128): New variable.
16762 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16763 instead of using [TEST_COND_ibm128] conditional.
16764 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16765 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16766 [TEST_NARROW] (TEST_MSG): New definition.
16767 (arg_plus_zero): New macro.
16768 (arg_minus_zero): Likewise.
16769 (arg_plus_infty): Likewise.
16770 (arg_minus_infty): Likewise.
16771 (arg_qnan_value_pl): Likewise.
16772 (arg_qnan_value): Likewise.
16773 (arg_snan_value_pl): Likewise.
16774 (arg_snan_value): Likewise.
16775 (arg_max_value): Likewise.
16776 (arg_min_value): Likewise.
16777 (arg_min_subnorm_value): Likewise.
16778 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16779 (RUN_TEST_LOOP_aa_f): New macro.
16780 (TEST_SUFF): New macro.
16781 (TEST_SUFF_STR): Likewise.
16782 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16783 (TEST_COND_any_ibm128): New macro.
16784 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16785 this_func. Update call to init_max_error.
16786 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16787 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16788 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16789 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16790 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16791 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16792 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16793 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16794 * math/test-math-vector.h (TEST_NARROW): Likewise.
16795 * math/test-arg-double.h: New file.
16796 * math/test-arg-float128.h: Likewise.
16797 * math/test-arg-float32x.h: Likewise.
16798 * math/test-arg-float64.h: Likewise.
16799 * math/test-arg-float64x.h: Likewise.
16800 * math/test-arg-ldouble.h: Likewise.
16801 * math/test-math-narrow.h: Likewise.
16802 * math/test-narrow-macros.c: Likewise.
16803 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16804 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16805 test-narrow-macros-ldbl-64.
16806 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16807
63716ab2
JM
16808 * math/bits/mathcalls-narrow.h: New file.
16809 * include/bits/mathcalls-narrow.h: Likewise.
16810 * math/math-narrow.h: Likewise.
16811 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16812 (__MATHCALL_NARROW_ARGS_2): Likewise.
16813 (__MATHCALL_NARROW_ARGS_3): Likewise.
16814 (__MATHCALL_NARROW_NORMAL): Likewise.
16815 (__MATHCALL_NARROW_REDIR): Likewise.
16816 (__MATHCALL_NARROW): Likewise.
16817 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16818 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16819 defined.
16820 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16821 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16822 (libm-narrow-fns): New variable.
16823 (libm-narrow-types-basic): Likewise.
16824 (libm-narrow-types-ldouble-yes): Likewise.
16825 (libm-narrow-types-float128-yes): Likewise.
16826 (libm-narrow-types-float128-alias-yes): Likewise.
16827 (libm-narrow-types): Likewise.
16828 (libm-routines): Add narrowing functions.
16829 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16830 (libc_feholdexcept_setroundf128): New macro.
16831 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16832 * sysdeps/ieee754/float128/float128_private.h: Include
16833 <math/math-narrow.h>.
16834 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16835 Undefine and redefine.
16836 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16837 (libm_alias_float_ldouble): Undefine and redefine.
16838 (libm_alias_double_ldouble): Likewise.
16839
bfd47587
JM
16840 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16841
3f8d9d58
WD
168422018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16843
16844 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16845 FPCR/FPSR.
16846
1f6676d7
RJ
168472018-02-09 Rical Jasan <ricaljasan@pacific.net>
16848
16849 * manual/creature.texi: Convert references to gcc.info to gcc.
16850 * manual/stdio.texi: Likewise.
16851 * manual/string.texi: Likewise.
16852
d80441dd
JM
168532018-02-07 Joseph Myers <joseph@codesourcery.com>
16854
15081be9
JM
16855 [BZ #17979]
16856 * posix/bits/types.h (__int_least8_t): New typedef.
16857 (__uint_least8_t): Likewise.
16858 (__int_least16_t): Likewise.
16859 (__uint_least16_t): Likewise.
16860 (__int_least32_t): Likewise.
16861 (__uint_least32_t): Likewise.
16862 (__int_least64_t): Likewise.
16863 (__uint_least64_t): Likewise.
16864 * sysdeps/generic/stdint.h (int_least8_t): Define using
16865 __int_least8_t.
16866 (int_least16_t): Define using __int_least16_t.
16867 (int_least32_t): Define using __int_least32_t.
16868 (int_least64_t): Define using __int_least64_t.
16869 (uint_least8_t): Define using __uint_least8_t.
16870 (uint_least16_t): Define using __uint_least16_t.
16871 (uint_least32_t): Define using __uint_least32_t.
16872 (uint_least64_t): Define using __uint_least64_t.
16873 * wcsmbs/uchar.h: Include <bits/types.h>.
16874 (char16_t): Define using __uint_least16_t conditional only on
16875 [!__USE_ISOCXX11].
16876 (char32_t): Define using __uint_least32_t conditional only on
16877 [!__USE_ISOCXX11].
16878 * wcsmbs/test-char-types.c: New file.
16879 * wcsmbs/Makefile (tests): Add test-char-types.
16880
d80441dd
JM
16881 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16882 version to 4.0.1.
16883
6c6c962a
ZW
168842018-02-07 Zack Weinberg <zackw@panix.com>
16885
63fb8f9a
ZW
16886 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16887 Delete all contents except for definitions of _G_HAVE_MMAP and
16888 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16889 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16890 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16891 change as above.
16892
16893 * libio/libio.h: Don't include bits/_G_config.h here.
16894 Include stddef.h with __need_wchar_t defined. Include
16895 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16896 Define _IO_iconv_t here, directly.
16897 Don't define _IO_HAVE_ST_BLKSIZE.
16898 * libio/libioP.h: Include _G_config.h here. Move include of
16899 shlib-compat.h up with rest of includes. Simplify conditionals
16900 controlling definition of _IO_JUMPS_OFFSET.
16901
16902 * csu/init.c: Remove always-true #if around entire file.
16903 Don't include stdio.h. Set _IO_stdin_used to hardwired
16904 constant 0x20001, and update commentary.
16905 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16906 Replace all uses of _G_va_list with __gnuc_va_list.
16907 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16908 instead of #if _IO_HAVE_ST_BLKSIZE.
16909 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16910 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16911 not #ifdef.
16912
6c6c962a
ZW
16913 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16914 multiple-include guard to match.
16915 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16916 into this file.
16917 Remove preprocessor conditionals that are always true and/or
16918 redundant to other preprocessor conditionals in the same nest.
16919 Include shlib-compat.h unconditionally.
16920 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16921 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16922 defined after including stdio.h.
16923 Use __BEGIN_DECLS/__END_DECLS.
16924
16925 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16926 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16927 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16928
a4fea3f2
ZW
169292018-02-07 Zack Weinberg <zackw@panix.com>
16930
16931 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16932 New single-type headers split from _G_config.h.
16933 * libio/bits/types/cookie_io_functions_t.h
16934 * libio/bits/types/struct_FILE.h
16935 New single-type headers split from libio.h.
16936
16937 * libio/Makefile: Install the above new headers. Don't install
16938 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16939 bits/libio-ldbl.h.
16940 * libio/_G_config.h, libio/libio.h: Delete file.
16941
16942 * libio/bits/libio.h: Remove improper-inclusion guard.
16943 Include stdio.h and don't repeat anything that it does.
16944 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16945 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16946 __io_read_fn as cookie_read_function_t,
16947 __io_write_fn as cookie_write_function_t,
16948 __io_seek_fn as cookie_seek_function_t,
16949 __io_close_fn as cookie_close_function_t,
16950 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16951 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16952 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 16953 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
16954 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16955 and _IO_ferror_unlocked.
16956 Move prototypes of __uflow and __overflow...
16957
16958 * libio/stdio.h: ...here. Don't include bits/libio.h.
16959 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 16960 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
16961 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16962 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16963 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16964 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16965 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16966 __ssize_t, not _IO_ssize_t. Unconditionally define
16967 BUFSIZ as 8192 and EOF as (-1).
16968
16969 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16970 macros from bits/types/struct_FILE.h instead of _IO_* macros
16971 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16972 instead of _IO_ssize_t.
16973 * libio/bits/stdio2.h: Similarly.
16974
16975 * libio/iolibio.h: Add multiple-include guard.
16976 Include bits/libio.h after stdio.h.
16977 * libio/libioP.h: Add multiple-include guard.
16978 Include stdio.h and bits/libio.h before iolibio.h.
16979
6c6c962a 16980 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
16981 * include/bits/types/cookie_io_functions_t.h
16982 * include/bits/types/struct_FILE.h: New wrappers.
16983
16984 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
16985 Get definitions of _G_fpos_t and _G_fpos64_t from
16986 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16987 respectively. Remove improper-inclusion guards.
a4fea3f2 16988
6c6c962a 16989 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 16990 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 16991 libio.h and _G_config.h.
a4fea3f2 16992
ce999220
JM
169932018-02-07 Joseph Myers <joseph@codesourcery.com>
16994
8b4a1182
JM
16995 [BZ #15105]
16996 [BZ #19463]
16997 * include/sys/sysmacros.h [!_ISOMAC]
16998 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16999 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17000 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17001 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17002 libc_hidden_proto.
17003 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17004 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17005 Likewise.
17006 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17007 Undefine and redefine to add use __gnu_dev_ prefix.
17008 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17009 Likewise.
17010 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17011 and define as hidden inline function.
17012 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17013 Likewise.
17014 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17015 Likewise.
17016 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17017 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17018 (gnu_dev_minor): Likewise.
17019 (gnu_dev_makedev): Likewise.
17020 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17021 makedev.
17022 * posix/wordexp.c (exec_comm_child): Likewise.
17023 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17024 instead of minor and __gnu_dev_major instead of major.
17025 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17026 __gnu_dev_major instead of major.
17027 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17028 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17029 instead of gnu_dev_minor.
17030 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17031 (SLAVE_P): Likewise.
17032 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17033 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17034 instead of major.
17035
ce999220
JM
17036 [BZ #21313]
17037 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17038 in another place.
17039 * locale/weightwc.h (findidx): Likewise.
17040
b7c83ca3
WD
170412018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17042
17043 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17044 (slowlog_inexact): Likewise
17045 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17046 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17047
388ff7bd
IG
170482018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17049
17050 [BZ #22797]
17051 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17052 missing second underscore to parameter name.
17053
663e7d78
JM
170542018-02-06 Joseph Myers <joseph@codesourcery.com>
17055
0d40d0ec
JM
17056 [BZ #14508]
17057 [BZ #15512]
17058 [BZ #17082]
17059 [BZ #20530]
17060 * bits/byteswap.h: Update file comment. Do not include
17061 <bits/byteswap-16.h>.
17062 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17063 constant.
17064 (__bswap_16): Define as inline function.
17065 (__bswap_constant_32): Reformat definition.
17066 (__bswap_32): Always define as inline function, not macro, using
17067 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17068 otherwise __bswap_constant_32.
17069 (__bswap_constant_64): Reformat definition. Do not use
17070 __extension__ here.
17071 (__bswap_64): Always define as inline function, not macro. Use
17072 __extension__ on function definition. Use __builtin_bswap64 if
17073 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17074 * string/test-endian-file-scope.c: New file.
17075 * string/test-endian-sign-conversion.c: Likewise.
17076 * string/Makefile (headers): Remove bits/byteswap-16.h.
17077 (tests): Add test-endian-file-scope and
17078 test-endian-sign-conversion.
17079 (CFLAGS-test-endian-sign-conversion.c): New variable.
17080 * bits/byteswap-16.h: Remove file.
17081 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17082 * sysdeps/ia64/bits/byteswap.h: Likewise.
17083 * sysdeps/m68k/bits/byteswap.h: Likewise.
17084 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17085 * sysdeps/s390/bits/byteswap.h: Likewise.
17086 * sysdeps/tile/bits/byteswap.h: Likewise.
17087 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17088 * sysdeps/x86/bits/byteswap.h: Likewise.
17089
383e87c9
JM
17090 [BZ #17721]
17091 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17092 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17093 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17094 199901L] (__restrict): Define to restrict.
17095
d92c2759
JM
17096 [BZ #19667]
17097 * string/testcopy.c: Include <support/support.h>. Do not include
17098 <malloc.h>. Use <support/test-driver.c>.
17099 (main): Rename to do_test. Make static. Use xmalloc instead of
17100 malloc.
17101
625fb764
JM
17102 [BZ #13575]
17103 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17104 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17105 (SSIZE_MAX): Define to INT_MAX.
17106 * posix/test-ssize-max.c: New file.
17107 * posix/Makefile (tests): Add test-ssize-max.
17108
02325d6c
JM
17109 [BZ #19668]
17110 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17111 <support/support.h>. Do not include <malloc.h>.
17112 (query_auxv): Use xmalloc instead of malloc.
17113
663e7d78
JM
17114 [BZ #14553]
17115 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17116 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17117 instead of loff_t.
17118
6b5c8607 171192018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
17120
17121 [BZ #18023]
17122 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17123 Use scratch_buffer instead of extend_alloca.
17124
de6da571
ZW
171252018-02-06 Zack Weinberg <zackw@panix.com>
17126
26c07172
ZW
17127 * libio/stdio.h: Don't define getc or putc as macros.
17128 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17129 not _IO_getc and _IO_putc.
17130
de6da571
ZW
17131 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17132 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17133
92669d6e
JM
171342018-02-06 Joseph Myers <joseph@codesourcery.com>
17135
c2b84df9
JM
17136 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17137 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17138
41376f8c
JM
17139 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17140
d28bf648
JM
17141 [BZ #14890]
17142 * elf/elf.h (NT_PRFPREG): New macro.
17143 (NT_S390_VXRS_LOW): Likewise.
17144 (NT_S390_VXRS_HIGH): Likewise.
17145 (NT_S390_GS_CB): Likewise.
17146 (NT_S390_GS_BC): Likewise.
17147 (NT_S390_RI_CB): Likewise.
17148
e76def72
JM
17149 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17150 (MAP_SYNC): New macro.
17151 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17152 Likewise.
17153 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17154 (MAP_SYNC): Likewise.
17155 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17156 (MAP_SYNC): Likewise.
17157 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17158 (MAP_SYNC): Likewise.
17159 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17160 (MAP_SYNC): Likewise.
17161 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17162 (MAP_SYNC): Likewise.
17163 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17164 (MAP_SYNC): Likewise.
17165 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17166 Likewise.
17167 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17168 Likewise.
17169
92669d6e
JM
17170 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17171 (MAP_SHARED_VALIDATE): New macro.
17172 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17173 (MAP_SHARED_VALIDATE): Likewise.
17174
6a5cac49
L
171752018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17176
17177 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17178 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17179 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17180
b44e0dfb
L
171812018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17182
17183 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17184 (DT_NUM): Updated to 35.
17185
f886c16c
L
171862018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17189 __builtin_expect with __glibc_likely and __glibc_unlikely.
17190 (elf_machine_rela): Likewise.
17191 (elf_machine_lazy_rel): Likewise.
17192
06fbebff
L
171932018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17194
17195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 17196 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
17197 (elf_machine_lazy_rel): Likewise.
17198
371b220f
L
171992018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17200
17201 [BZ #22638]
17202 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17203 SHARED.
65805016 17204 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 17205
f649a1b8
AS
172062018-02-05 Andreas Schwab <schwab@suse.de>
17207
17208 [BZ #22761]
17209 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17210 string.
17211
9fdb340e
ST
172122018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17213
17214 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17215 not check against PTHREAD_STACK_MIN.
17216
09e56b9e
SM
172172018-02-02 Sean McKean <smckean83@gmail.com>
17218
17219 [BZ #22735]
17220 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17221
d4b4a00a
FW
172222018-02-02 Florian Weimer <fweimer@redhat.com>
17223
17224 [BZ #22753]
17225 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17226 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17227 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17228 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17229 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17230 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17231 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17232 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17233 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17234 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17235 * misc/tst-preadvwritev2.c (do_test): Call it.
17236 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17237
3dfcbfa1
SP
172382018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17239
84c94d2f
SP
17240 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17241
96e6a716
SP
17242 * benchtests/bench-memcmp.c: Print json instead of plain text.
17243
3dfcbfa1
SP
17244 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17245 every test run.
17246
049375e2
JM
172472018-02-01 Joseph Myers <joseph@codesourcery.com>
17248
39f898c6
JM
17249 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17250 version to 4.15.
17251 (s390_sthyi): New syscall.
17252
6f9a3dd8
JM
17253 * sysdeps/generic/ldbl-classify-compat.h: New file.
17254 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17255 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17256 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17257 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17258 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17259 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17260 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17261 <ldbl-classify-compat.h>.
17262 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17263 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17264 <ldbl-classify-compat.h>.
17265 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17266 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17267 <ldbl-classify-compat.h>.
17268 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17269 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17270 <ldbl-classify-compat.h>.
17271 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17273 <ldbl-classify-compat.h>.
17274 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17276 <ldbl-classify-compat.h>.
17277 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17278 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17279 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17280 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17281 * sysdeps/microblaze/math_private.h: Likewise.
17282 * sysdeps/nios2/math_private.h: Likewise.
17283 * sysdeps/sh/math_private.h: Likewise.
17284
eb65a3d5
JM
17285 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17286 * sysdeps/m68k/coldfire/math_private.h: ... here.
17287 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17288 * sysdeps/tile/math_private.h: Likewise.
17289 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17290 Remove macro.
17291 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17292 Likewise.
17293
8a6bb1d0
JM
17294 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17295 Remove macro.
17296 (libc_fetestexcept): Likewise.
17297 (libc_feupdateenv_test): Likewise.
17298 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17299 (libc_fetestexcept): Likewise.
17300 (libc_feupdateenv_test): Likewise.
17301 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17302 (libc_fetestexcept): Likewise.
17303 (libc_feupdateenv_test): Likewise.
17304 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17305 (libc_fetestexcept): Likewise.
17306 (libc_feupdateenv_test): Likewise.
17307
ae1fcb7b
JM
17308 * sysdeps/generic/math_private.h
17309 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17310 New inline function.
17311 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17312 Likewise.
17313
b1c347e2
JM
17314 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17315 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17316 * sysdeps/generic/math_private.h
17317 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17318 inline function.
17319 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17320 Likewise.
17321 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17322 Likewise.
17323 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17324 Likewise.
17325 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17326 Likewise.
17327 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17328 Likewise.
17329 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17330 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17331 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17332 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17333 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17334 (__fegetenv): Likewise.
17335 (fesetenv): Likewise.
17336 (__fesetenv): Likewise.
17337 (feupdateenv): Likewise.
17338 (__feupdateenv): Likewise.
17339 (fegetround): Likewise.
17340 (__fegetround): Likewise.
17341 (fesetround): Likewise.
17342 (__fesetround): Likewise.
17343
d23a4962
JM
17344 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17345 (feraiseexcept): New macro.
17346 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17347 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17348 Remove macro.
17349 (__feraiseexcept): Likewise.
17350 (feclearexcept): Likewise.
17351 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17352 (__feraiseexcept): Likewise.
17353 (feclearexcept): Likewise.
17354 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17355 (__feraiseexcept): Likewise.
17356 (feclearexcept): Likewise.
17357 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17358 (__feraiseexcept): Likewise.
17359 (feclearexcept): Likewise.
17360 (fetestexcept): Likewise.
17361
5f167950
JM
17362 * sysdeps/m68k/coldfire/math-tests.h: New file.
17363
ccc9035a
JM
17364 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17365 * sysdeps/m68k/bits/fenv.h: ... here.
17366 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17367 not define.
17368 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17369 Likewise.
17370 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17371 Likewise.
17372 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17373 Likewise.
17374 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17375 Likewise.
17376 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17377 Define to 0.
17378 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17379 (__FE_UNDEFINED): New enum constant.
17380 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17381 Do not define.
17382 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17383 Likewise.
17384 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17385 Likewise.
17386 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17387 to match generic bits/fenv.h.
17388 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17389 Do not define.
17390
049375e2
JM
17391 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17392 packed on bits.
17393 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17394 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17395 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17396 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17397
f1d73681
CD
173982018-02-01 Carlos O'Donell <carlos@redhat.com>
17399 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17400 Joseph Myers <joseph@codesourcery.com>
17401
17402 [BZ #21314]
17403 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17404 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17405 computation using c.
17406 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17407 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17408 computation using c.
17409
242cbc90
DL
174102018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17411
086ee48e
DL
17412 * version.h (RELEASE): Set to "development".
17413 (VERSION): Set to "2.27.9000".
17414 * NEWS (2.28): New section.
17415
23158b08
DL
17416 * version.h (RELEASE): Set to "stable".
17417 (VERSION): Set to "2.27".
17418 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17419
242cbc90
DL
17420 * NEWS: Add the list of bugs fixed in 2.27.
17421
673e2305
AZ
174222018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17423
17424 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17425 against PTHREAD_STACK_MIN.
17426
ced64e01
DL
174272018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17428
17429 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17430 New entries.
17431 (Rafal Luzynski, Andreas Schwab): Update.
17432
c10c9a5e
RL
174332018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17434
17435 [BZ #10871]
17436 * NEWS: List the languages which actually use the alternative
17437 months feature in this release. Also explain that "alt_mon" and
17438 "ab_alt_mon" are optional.
17439
650ba77a
IM
174402018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17441
17442 [BZ #22765]
17443 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17444
93493119
DL
174452018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17446
17447 * manual/install.texi (Tools for Compilation): Update the newest
17448 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17449 * INSTALL: Regenerated.
17450
363e4519 174512018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
17452
17453 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17454 instead of __builtin_expect.
17455
d7536874
FW
174562018-01-30 Florian Weimer <fweimer@redhat.com>
17457
17458 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17459 data.
17460 * nss/tst-nss-getpwent.c (do_test): Likewise.
17461
9a1b267d
RL
174622018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17463
17464 [BZ #10871]
17465 * localedata/locales/hr_HR (mon): Rename to...
17466 (alt_mon): This.
17467 (mon): Import from CLDR (genitive case).
17468 (d_t_fmt): Update the comment.
17469
9a179328
AS
174702018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17471
17472 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17473 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17474 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17475
e01e0ddc
ST
174762018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17477
17478 * mach/Versions: Fix version when __mach_host_self_ was added.
17479 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17480 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17481 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17482 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17483 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17484 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17485 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17486 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17487 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17488 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17489 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17490 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
17491 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17492 || to respect codestyle.
2aadb705
ST
17493 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17494 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
17495 * malloc/malloc.c: Include <assert.h>.
17496 (assert): Do not define.
17497 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
17498 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17499 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 17500 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 17501 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 17502
521877e1
PD
175032018-01-29 Darius Rad <darius@bluespec.com>
17504
17505 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17506
532cf290
PD
175072018-01-29 Palmer Dabbelt <palmer@sifive.com>
17508
17509 * sysdeps/init_array/crti.S (.section .init_array): Add
17510 PREINIT_FUNCTION when defined.
40ca951b 17511 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 17512 * config.h.in: Regenerate.
ba9e25a6
PD
17513 * manual/platform.texi: Add RISC-V documenation for
17514 __riscv_flush_icache.
c776fa11
PD
17515 * sysdeps/riscv/__longjmp.S: New file.
17516 * sysdeps/riscv/backtrace.c: Likewise.
17517 * sysdeps/riscv/bits/endian.h: Likewise.
17518 * sysdeps/riscv/bits/setjmp.h: Likewise.
17519 * sysdeps/riscv/bits/wordsize.h: Likewise.
17520 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17521 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17522 * sysdeps/riscv/dl-trampoline.S: Likewise.
17523 * sysdeps/riscv/gccframe.h: Likewise.
17524 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17525 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17526 * sysdeps/riscv/machine-gmon.h: Likewise.
17527 * sysdeps/riscv/memusage.h: Likewise.
17528 * sysdeps/riscv/setjmp.S: Likewise.
17529 * sysdeps/riscv/sys/asm.h: Likewise.
17530 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
17531 * sysdeps/riscv/dl-tls.h: New file.
17532 * sysdeps/riscv/libc-tls.c: Likewise.
17533 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17534 * sysdeps/riscv/nptl/tls.h: Likewise.
17535 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
17536 * sysdeps/riscv/bits/fenv.h: New file.
17537 * sysdeps/riscv/e_sqrtl.c: Likewise.
17538 * sysdeps/riscv/fpu_control.h: Likewise.
17539 * sysdeps/riscv/math-tests.h: Likewise.
17540 * sysdeps/riscv/nofpu/Implies: Likewise.
17541 * sysdeps/riscv/sfp-machine.h: Likewise.
17542 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
17543 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17544 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17545 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17546 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17547 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17548 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17549 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17550 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17551 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17552 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17553 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17554 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17555 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17556 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17557 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17558 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17559 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17560 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17561 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17562 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17563 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17564 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17565 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17566 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17567 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17568 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17569 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17570 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17571 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17572 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17573 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17574 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17575 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17576 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17577 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17578 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17579 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17580 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17581 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17582 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17583 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17584 * sysdeps/riscv/rvf/math_private.h: Likewise.
17585 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17586 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17587 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17588 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17589 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17590 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17591 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17592 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17593 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17594 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17595 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17596 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17597 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17598 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17599 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17600 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
17601 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17602 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17603 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17604 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
17605 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17606 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17607 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17608 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17609 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17610 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17611 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17612 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17613 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
17614 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17615 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17616 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17617 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17618 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17619 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17620 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17621 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17622 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17623 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17624 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17625 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17626 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17627 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17628 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17629 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17630 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17631 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17632 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17633 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17634 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17635 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
17636 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17637 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17638 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
17639 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17640 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17641 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17642 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17643 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17644 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17645 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17647 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17648 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17649 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17650 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17651 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17652 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
17653 * sysdeps/riscv/Implies: New file.
17654 * sysdeps/riscv/Makefile: Likewise.
17655 * sysdeps/riscv/configure: Likewise.
17656 * sysdeps/riscv/configure.ac: Likewise.
17657 * sysdeps/riscv/nptl/Makefile: Likewise.
17658 * sysdeps/riscv/preconfigure: Likewise.
17659 * sysdeps/riscv/rv64/Implies-after: Likewise.
17660 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17661 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17662 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17663 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17664 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17665 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17666 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17667 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17668 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17669 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17670 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
17671 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17672 (Config): Likewise.
532cf290 17673
cdd14619
FW
176742018-01-29 Florian Weimer <fweimer@redhat.com>
17675
17676 [BZ #22701]
17677 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17678 libnsl_hidden_proto.
17679 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17680 libnsl_hidden_proto.
17681 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17682 * nis/Makefile (libnsl-routines): Add nss-default only for
17683 build-obsolete-nsl.
17684 * nis/nis_defaults.c (__nis_default_ttl): Add
17685 libnsl_hidden_nolink_def.
17686 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17687 declaration.
17688 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17689 * nis/ypclnt.c (yp_maplist): Likewise.
17690
b7ccb5de
RN
176912018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17692
17693 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17694 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17695
522623e4
JM
176962018-01-29 Joseph Myers <joseph@codesourcery.com>
17697
e3aa6999
JM
17698 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17699 clean -dxfq for git updates when replacing sources.
17700
088de7d0
JM
17701 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17702 --disable-libcilkrts unconditionally, not just for the final GCC
17703 build for Hurd.
17704
522623e4
JM
17705 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17706 version to 4.15.
17707
8b406f87
RL
177082018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17709
17710 [BZ #10871]
17711 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17712 case).
17713
105e90bd
RL
177142018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17715
17716 [BZ #10871]
17717 * localedata/locales/be_BY (mon): Rename to...
17718 (alt_mon): This, then synchronize with CLDR (nominative case).
17719 (abmon): Rename to...
17720 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17721 (mon): Import from CLDR (genitive case).
17722 (abmon): Likewise.
17723 * localedata/locales/be_BY@latin (mon): Rename to...
17724 (alt_mon): This.
17725 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17726
17727 * localedata/locales/be_BY@latin (lang_name): Reworded to
17728 "biełaruskaja mova".
17729
561cb414
RL
177302018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17731
17732 [BZ #10871]
17733 * localedata/locales/el_CY (mon): Renamed to...
17734 (alt_mon): This.
17735 (mon): Import from CLDR (genitive case).
17736 * localedata/locales/el_GR: Likewise.
17737
f7bdf30d
RL
177382018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17739
17740 [BZ #10871]
17741 * localedata/locales/ru_RU (mon): Rename to...
17742 (alt_mon): This.
17743 (abmon): Rename to...
17744 (ab_alt_mon): This.
17745 (mon): Import from CLDR (genitive case).
17746 (abmon): Copy from the old content except the 5th month which is
17747 now in the genitive case, even when abbreviated.
17748 * localedata/locales/ru_UA: Likewise.
17749 * time/tst-strptime.c (day_tests): Add an actual example of
17750 a difference between %b and %Ob in Russian.
17751
85285a0c
ST
177522018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17753
17754 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
17755 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17756 a `c' variable.
3538a4b6 17757 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
17758 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17759 <sys/wait.h>, <time.h>, <sys/uio.h>.
17760 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 17761 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
17762 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17763 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17764 return 0.
05ebfe87
ST
17765 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17766 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
17767 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17768 instead of void *.
17769 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17770 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
17771 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17772 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
17773 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17774 and make them the default for now.
903d3633
ST
17775 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17776 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
17777 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17778 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17779 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17780 MACH_IPC_COMPAT.
06fac9f5
ST
17781 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17782 __task_terminate would ever return successfully.
f8177753
ST
17783 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17784 to global scope.
41cdb1eb
ST
17785 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17786 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
17787 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17788 critical section to make code simpler and avoid warning.
17789 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17790 critical section to make code simpler and avoid warning.
844bf921
ST
17791 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17792 const char * instead of char *.
f8bee46c
ST
17793 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17794 __hurd_file_name_split, hurd_file_name_split,
17795 __hurd_directory_name_split, hurd_directory_name_split,
17796 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17797 hurd_file_name_path_lookup): Make lookup function parameter take a
17798 const char *name instead of char *name.
17799 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17800 __hurd_directory_name_split): Likewise.
17801 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17802 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
17803 * sysdeps/mach/hurd/check_native.c: New file.
17804 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
17805 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17806 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
17807 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17808 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
17809 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17810 (do_test_bz20181): Rename accordingly.
17811 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
17812 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17813 <sys/mount.h>.
28f6186f
ST
17814 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17815 version only if __USE_EXTERN_INLINES is defined.
17816 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17817 __hurd_sockfail): Likewise.
17818 (_hurd_fd_get): Always declare functions, and provide inline versions
17819 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17820 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17821 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17822 _hurd_port_set): Always declare functions, and provide inline versions
17823 only if __USE_EXTERN_INLINES and _LIBC are defined and
17824 IS_IN(libc).
17825 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17826 _hurd_critical_section_unlock): Likewise.
17827 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17828 * __hurd_threadvar_location): Likewise.
17829 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17830 _hurd_userlink_clear): Likewise.
17831 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17832 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17833 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17834 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17835 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17836 __spin_lock_locked): Likewise.
17837 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17838 __spin_lock_locked): Likewise.
17839 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17840 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17841 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17842 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17843 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
17844 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17845 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
17846 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17847 check size against PTHREAD_STACK_MIN.
625ba81e
ST
17848 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17849 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
17850 * mach/Makefile (user-interfaces): Add mach/gnumach.
17851 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17852 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
17853 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17854 instead of invalid -1.
1f89ac71
ST
17855 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17856 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17857 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17858 <net/ppp_defs.h>.
85285a0c 17859
1fd1e27c 178602018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
17861
17862 * hurd/fcntl-internal.h: New file.
17863
3854c5a8
JC
178642018-01-27 James Clarke <jrtc27@jrtc27.com>
17865
7e23a7dd
JC
17866 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17867
3854c5a8
JC
17868 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17869
5503f413
AS
178702018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17871
17872 [BZ #22701]
17873 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17874 Build only shared objects.
17875
caaf7804
CD
178762018-01-26 Carlos O'Donell <carlos@redhat.com>
17877
17878 * README: Update for hppa.
17879
1cbf818d
PM
178802018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17881
caaf7804
CD
17882 * sysdeps/sparc/fpu/libm-test-ulps: Update
17883 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 17884
caaf7804 178852018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
17886
17887 Revert:
17888
17889 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17890
17891 [BZ #22563]
17892 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17893 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17894 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17895 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17896 to feature_1.
17897
17898 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17899
17900 [BZ #22563]
17901 * bits/types/__cancel_jmp_buf_tag.h: New file.
17902 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17903 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17904 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17905 * nptl/Makefile (headers): Add
17906 bits/types/__cancel_jmp_buf_tag.h.
17907 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17908 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17909 * sysdeps/nptl/pthread.h: Include
17910 <bits/types/__cancel_jmp_buf_tag.h>.
17911 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17912 __cancel_jmp_buf.
17913 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17914
65f6c94e
RL
179152018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17916
17917 [BZ #10871]
17918 * localedata/locales/uk_UA (mon): Renamed to...
17919 (alt_mon): This.
17920 (alt_digits): "0" removed and then renamed to...
17921 (mon): This.
17922 (date_fmt): Definition changed not to use the alternative
17923 digits hack.
17924
fb58aac5
PD
179252018-01-25 Palmer Dabbelt <palmer@sifive.com>
17926
17927 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17928 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17929 * elf/elf.h (EF_RISCV_RVC): New define.
17930 (EF_RISCV_FLOAT_ABI): Likewise.
17931 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17932 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17933 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17934 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17935 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17936 define.
17937 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17938
128c43a2
AS
179392018-01-25 Andreas Schwab <schwab@suse.de>
17940
17941 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17942 single quotes.
17943 * sysdeps/gnu/configure: Regenerate.
17944 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17945 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17947 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17948 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17949 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17950 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17951 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17952
f9015003
ST
179532018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17954
48130690 17955 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 17956 URL, and run autoconf, make it the default for now.
f9015003 17957
91b2cffa
JM
179582018-01-24 Joseph Myers <joseph@codesourcery.com>
17959
3005b705
JM
17960 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17961 soft-float ColdFire configuration.
17962
69231fab
JM
17963 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17964 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17965 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17966
d4c7e1d0
JM
17967 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17968 MicroBlaze file.
17969
0cfe5be5
JM
17970 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17971 ....
17972 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17973 ... here.
17974 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17975 New file.
17976
91b2cffa
JM
17977 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17978 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17979 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17980 file.
17981
c739e191
SN
179822018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17983
17984 [BZ #22742]
17985 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17986 Rename to __reserved and add comment.
17987 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17988 Rename to __reserved.
17989
394b5bac
JM
179902018-01-24 Joseph Myers <joseph@codesourcery.com>
17991
17992 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17993 i686-gnu configurations.
17994 (Context.run_builds): Include mig, gnumach and hurd in components
17995 considered.
17996 (Context.checkout): Add mig, gnumach and hurd to components.
17997 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17998 hurd.
17999 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18000 (Config.build): Install gnumach headers, build mig and install
18001 hurd headers for 'gnu' OS.
18002 (Config.install_gnumach_headers): New function.
18003 (Config.install_hurd_headers): Likewise.
18004 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18005 when building for 'gnu' OS.
18006
28c3f14f
TK
180072018-01-23 Tobias Klauser <tklauser@distanz.ch>
18008
18009 * manual/tunables.texi (Hardware Capability Tunables): Fix
18010 spelling.
18011
0f5e2da1
RJ
180122018-01-22 Rical Jasan <ricaljasan@pacific.net>
18013
18014 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18015 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18016 (ALTMON_11, ALTMON_12): Improve documentation.
18017 * manual/time.texi (strftime): Likewise.
18018
7817b14a
RL
180192018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18020
18021 [BZ #10871]
18022 * localedata/locales/pl_PL: Alternative month names added,
18023 primary month names are genitive now.
18024 * time/tst-strptime.c (day_tests): Actually use a genitive case
18025 of a month name in Polish language.
18026
22390764
RL
180272018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18028
18029 [BZ #10871]
18030 * manual/locale.texi: Document ALTMON_1..12 constants for
18031 nl_langinfo. Specify when to use ALTMON instead of MON.
18032 * manual/time.texi (strftime, strptime): Document GNU extension
18033 permitting O modifier with %B and %b. Specify when to use
18034 %OB instead of %B.
18035
761a585c
RL
180362018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18037
18038 [BZ #10871]
18039 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18040 names, define them as the same as abbreviated month names explicitly.
18041 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18042 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18043 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18044 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18045 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18046 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18047 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18048 _NL_WABALTMON_12): New enum constants.
18049 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18050 wab_alt_mon, and ab_alt_mon_defined members.
18051 (time_output): Output ab_alt_mon and wab_alt_mon members.
18052 (time_read): Read them, initialize them as copies of abmon and wabmon
18053 respectively if they are missing, initialize ab_alt_mon_defined.
18054 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18055 * locale/programs/locfile-kw.h: Regenerate.
18056 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18057 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18058 and ru_RU.UTF-8.
18059 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18060 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18061 (__strftime_internal): Handle %Ob and %Oh formats.
18062 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18063 (__strptime_internal): Handle %Ob and %Oh formats.
18064 * time/tst-strptime.c (day_tests): Add more tests to parse different
18065 forms of month names including the new %Ob format specifier.
18066
95cb863a
RL
180672018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18068
18069 [BZ #10871]
18070 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18071 define them as the same as primary full month names explicitly.
18072 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18073 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18074 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18075 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18076 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18077 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18078 _NL_WALTMON_12): New enum constants.
18079 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18080 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18081 macros.
18082 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18083 walt_mon, and alt_mon_defined members.
18084 (time_output): Output alt_mon and walt_mon members.
18085 (time_read): Read them, initialize them as copies of mon and wmon
18086 respectively if they are missing, initialize alt_mon_defined.
18087 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18088 * locale/programs/locfile-kw.h: Regenerate.
18089 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18090 * localedata/tst-langinfo.c (map): Add tests for the new constants
18091 ALTMON_1 .. ALTMON_12.
18092 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18093 and pl_PL.UTF-8.
18094 * time/strftime_l.c (f_altmonth): New macro.
18095 (__strftime_internal): Handle %OB format.
18096 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18097 (__strptime_internal): Handle %OB format.
18098 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18099 of month names including the new %OB format specifier.
18100
4612268a
TMQMF
181012018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18102
18103 [BZ #22685]
18104 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18105 from ABORT_TRANSACTION.
18106 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18107 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18108 ABORT_TRANSACTION_IMPL): Likewise.
18109 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18110 Linux code, but remove the code that aborts transactions.
18111
64f63cb4
ST
181122018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18113
18114 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18115
32ac6e92
RL
181162018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18117
18118 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18119 in date: "2004-14-09" should be "2004-09-14".
18120 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18121 "2003-15-09" should be "2003-09-15".
18122
8e448310
AS
181232018-01-18 Arjun Shankar <arjun@redhat.com>
18124
18125 [BZ #22343]
71aa429b 18126 [BZ #22774]
4590634f 18127 CVE-2018-6485
71aa429b 18128 CVE-2018-6551
8e448310
AS
18129 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18130 after padding.
18131 (_int_memalign): check for integer overflow before calling
18132 _int_malloc.
18133 * malloc/tst-malloc-too-large.c: New test.
18134 * malloc/Makefile: Add tst-malloc-too-large.
18135
e234d7cb
RL
181362018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18137
18138 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18139 in date: "2017-24-07" should be "2017-07-24".
18140 * localedata/locales/mai_IN: Likewise.
18141 * localedata/locales/mai_NP: Likewise.
18142
48b66019
DL
181432018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18144
18145 * po/ru.po: Update translations.
18146
1eeddc58
JM
181472018-01-17 Joseph Myers <joseph@codesourcery.com>
18148
18149 [BZ #22719]
18150 * sysdeps/hppa/backtrace.c: New file.
18151
207a72e2
L
181522018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18153
18154 [BZ #22715]
18155 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18156 align La_x86_64_retval to VEC_SIZE.
18157
4942c4ea
JM
181582018-01-16 Joseph Myers <joseph@codesourcery.com>
18159
18160 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18161 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18162
10d200db
FW
181632018-01-16 Florian Weimer <fweimer@redhat.com>
18164
18165 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18166 Move tst-thread-exit-clobber ...
18167 [$(CXX)] (tests-unsupported): ... to here.
18168
953c49cc
SN
181692018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18170
18171 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18172 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18173 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18174 (_dl_aarch64_cap_flags): Update.
18175 (_DL_HWCAP_COUNT): Update.
18176
afce1991
SN
181772018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18178
18179 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18180 (_DL_HWCAP_LAST): Remove.
18181 (_DL_HWCAP_COUNT): Move to ...
18182 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18183 (_DL_HWCAP_COUNT): ... here.
18184
b725132d
FW
181852018-01-16 Florian Weimer <fweimer@redhat.com>
18186
18187 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18188 mode with GNU extensions.
18189
c9e613a7
AH
181902018-01-15 Alan Hayward <alan.hayward@arm.com>
18191
18192 * elf/elf.h (NT_ARM_SVE): Define.
18193
860b0240
FW
181942018-01-15 Florian Weimer <fweimer@redhat.com>
18195
18196 [BZ #22636]
18197 * nptl/tst-minstack-throw.cc: New file.
18198 * nptl/Makefile (tests): Add tst-minstack-throw.
18199 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18200 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18201
16d0f6ac
JM
182022018-01-15 Joseph Myers <joseph@codesourcery.com>
18203
18204 * scripts/build-many-glibcs.py (Context.checkout): Default
18205 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18206 version to 1.1.0.
18207
505d3910
CD
182082018-01-13 Carlos O'Donell <carlos@redhat.com>
18209
18210 [BZ #22707]
18211 * elf/elf.h (DF_1_STUB): Define.
18212 (DF_1_PIE): Define.
18213
af1e6be4
TMQMF
182142018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18215
18216 [BZ #22697]
18217 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18218 Do not add 0.5 to integer or out-of-range arguments.
18219
98d13ce0
DL
182202018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18221
18222 * po/bg.po: Update translations.
18223 * po/cs.po: Likewise.
18224 * po/de.po: Likewise.
18225 * po/ko.po: Likewise.
18226 * po/pl.po: Likewise.
18227 * po/sv.po: Likewise.
18228 * po/uk.po: Likewise.
18229 * po/vi.po: Likewise.
18230
3d1d7928
SN
182312018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18232
18233 * aarch64/start.S (_start): Use __wrap_main.
18234 (__wrap_main): New local symbol.
18235
52a713fd
DL
182362018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18237
18238 [BZ #22679]
18239 CVE-2018-1000001
18240 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18241 generic_getcwd if the path returned by getcwd syscall is not absolute.
18242 * io/tst-getcwd-abspath.c: New test.
18243 * io/Makefile (tests): Add tst-getcwd-abspath.
18244
249a5895
IK
182452018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18246
18247 * malloc/malloc.c (malloc_consolidate): Add size check.
18248
1a51e46e
FW
182492018-01-12 Florian Weimer <fweimer@redhat.com>
18250
18251 * support/write_message.c (write_message): Preserve errno.
18252 * support/check.c (print_failure): Likewise.
18253 * support/support_test_verify_impl.c (support_test_verify_impl):
18254 Likewise.
18255 * support/support_test_compare_failure.c
18256 (support_test_compare_failure): Likewise.
18257
9a08a366
FW
182582018-01-12 Florian Weimer <fweimer@redhat.com>
18259
18260 [BZ #22701]
18261 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18262 Prevent installation of libnsl.so.
18263 (libnsl-inhibit-o): Do not build (or install) static libraries.
18264
80647883 182652018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
18266
18267 [BZ #22657]
18268 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18269 before the day number which may produce a double space.
18270 (date_fmt): Likewise.
18271
c8924f1f
JM
182722018-01-12 Joseph Myers <joseph@codesourcery.com>
18273
18274 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18275 instead of fegetenv.
18276
da09e6fa
JM
182772018-01-11 Joseph Myers <joseph@codesourcery.com>
18278
18279 [BZ #22702]
18280 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18281 comment to say exceptions are discarded.
18282 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18283 __fegetenv.
18284 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18285 be enabled.
18286
08c6e952
FW
182872018-01-11 Florian Weimer <fweimer@redhat.com>
18288
18289 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18290 and error message.
18291
d8b77890
FW
182922018-01-11 Florian Weimer <fweimer@redhat.com>
18293
18294 [BZ #22636]
18295 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18296 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18297
b303185d
JM
182982018-01-10 Joseph Myers <joseph@codesourcery.com>
18299
18300 [BZ #22693]
18301 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18302 negative arguments in test for NaN or infinity argument.
18303
ee61d028
DL
183042018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18305
18306 * po/libc.pot: Regenerate.
18307
f993b875
FW
183082018-01-10 Florian Weimer <fweimer@redhat.com>
18309
18310 [BZ #22636]
18311 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18312 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18313
09085ede
ST
183142018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18315
18316 * hurd/hurd/fd.h: Include <fcntl.h>
18317 (__hurd_at_flags): New function.
18318 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18319 with call to __hurd_at_flags.
18320 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18321 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18322 __faccessat
18323 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18324 (__access_noerrno): Use __faccessat_common instead of access_common.
18325 (__access): Likewise.
18326 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18327 with a call to __faccessat.
18328 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18329 (__faccessat_common): ... this. Move implementation of __access into it when
18330 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18331 reauthenticate_cwdir_at helper to implement AT mechanism.
18332 (__faccessat_noerrno): New function, just calls __faccessat_common.
18333 (__faccessat): New function, just calls __faccessat_common.
18334 (faccessat): Define weak alias.
18335
12727488
JM
183362018-01-10 Joseph Myers <joseph@codesourcery.com>
18337
87faac55
JM
18338 [BZ #22691]
18339 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18340 (CFLAGS-s_fmaxmagl.c): New variable.
18341 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18342
12727488
JM
18343 [BZ #22690]
18344 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18345 long int for arguments of possibly overflowing addition or
18346 subtraction.
18347 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18348
e134ca17
JM
183492018-01-09 Joseph Myers <joseph@codesourcery.com>
18350
b2584ac2
JM
18351 [BZ #22688]
18352 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18353 (CFLAGS-e_remainderl.c): New variable.
18354
e134ca17
JM
18355 [BZ #22687]
18356 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18357 variable.
18358 (CFLAGS-s_cacoshl.c): Likewise.
18359 (CFLAGS-s_casinhl.c): Likewise.
18360 (CFLAGS-s_catanl.c): Likewise.
18361 (CFLAGS-s_catanhl.c): Likewise.
18362 (CFLAGS-s_cexpl.c): Likewise.
18363 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18364 (CFLAGS-s_csinhl.c): Likewise.
18365 (CFLAGS-s_clogl.c): Likewise.
18366 (CFLAGS-s_clog10l.c): Likewise.
18367 (CFLAGS-s_csinl.c): Likewise.
18368 (CFLAGS-s_csqrtl.c): Likewise.
18369
d31a4a48
ST
183702017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
183712017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
18372
18373 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18374 (_hurd_exec_paths): New function.
18375 * hurd/hurd.h (_hurd_exec): Deprecate function.
18376 (_hurd_exec_paths): Declare function.
18377 * hurd/Versions: Export _hurd_exec_paths.
18378 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18379 (__execve): Use __getcwd to build absolute path, and use
18380 _hurd_exec_paths instead of _hurd_exec.
18381 * sysdeps/mach/hurd/spawni.c: Likewise.
18382 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18383 _hurd_exec.
18384
d7ff3f11
DL
183852018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18386
18387 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18388 test instead of failing in case of ENOENT returned by posix_openpt.
18389
401311cf
FW
183902018-01-08 Florian Weimer <fweimer@redhat.com>
18391
18392 resolv: Support binary labels in test framework.
18393 * support/resolv_test.c (struct to_be_freed): Remove.
18394 (struct compressed_name): New.
18395 (allocate_compressed_name, ascii_tolower)
18396 (compare_compressed_name): New functions.
18397 (struct resolv_response_builder): Update type of
18398 compression_offsets for use with tsearch. Rempve to_be_freed.
18399 (response_push_pointer_to_free): Remove function.
18400 (resolv_response_add_name): Rewrite using struct compressed_name
18401 and tsearch instead of hsearch_r.
18402 (response_builder_allocate): Remove initialization of
18403 compression_offsets.
18404 (response_builder_free): Update for removal of to_be_freed. Use
18405 tdestroy instead of hdestroy_r.
18406 * resolv/Makefile (tests): Add tst-resolv-binary.
18407 (tst-resolv-binary): Link with -lresolv -lpthread.
18408
2b3aa446
FW
184092018-01-08 Florian Weimer <fweimer@redhat.com>
18410
18411 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18412 time. Pass positive flag instead of negative flag to
18413 support_test_compare_failure.
18414 (support_test_compare_failure): Change negative parameter to
18415 positive.
18416 * support/support_test_compare_failure.c (report)
18417 (support_test_compare_failure): Likewise.
18418 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18419 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18420
630f4cc3
SN
184212018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18422
18423 [BZ #22637]
18424 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18425 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18426 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18427 stacksize.
18428 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18429
c70e4e9c
L
184302018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18431
18432 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18433 Add s_sincosf-sse2 and s_sincosf-fma.
18434 (CFLAGS-s_sincosf-fma.c): New.
18435 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18436 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18437 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18438 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18439 __sincosf is defined.
18440
579396ee
FW
184412018-01-08 Florian Weimer <fweimer@redhat.com>
18442
18443 * nptl/tst-thread-exit-clobber.cc: New file.
18444 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18445 C++11 mode.
18446 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18447 (tests): Add tst-thread-exit-clobber.
18448 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18449
dabd75b6
FW
184502018-01-08 Florian Weimer <fweimer@redhat.com>
18451
18452 * support/check.h (support_static_assert): Define.
18453 (TEST_COMPARE): Use it.
18454
c2e014cc
AJ
184552018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18456
18457 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18458 [!__RLIM_T_MATCHES_RLIM64_T]
18459 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18460 __getrlimit64. Add libc_hidden_weak.
18461
31a98837
PD
184622018-01-06 Palmer Dabbelt <palmer@sifive.com>
18463
18464 * elf/elf.h (R_RISCV_NONE): New define.
18465 (R_RISCV_32): Likewise.
18466 (R_RISCV_64): Likewise.
18467 (R_RISCV_RELATIVE): Likewise.
18468 (R_RISCV_COPY): Likewise.
18469 (R_RISCV_JUMP_SLOT): Likewise.
18470 (R_RISCV_TLS_DTPMOD32): Likewise.
18471 (R_RISCV_TLS_DTPMOD64): Likewise.
18472 (R_RISCV_TLS_DTPREL32): Likewise.
18473 (R_RISCV_TLS_DTPREL64): Likewise.
18474 (R_RISCV_TLS_TPREL32): Likewise.
18475 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
18476 * Makerules (make-link-multidir): Make directories before linking into
18477 them.
150bbac1
PD
18478 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18479 define.
18480 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
18481 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18482 in subdirectories of lib.
8e13c51b
PD
18483 * nptl/Makefile (/librt.so): Always depend on
18484 "$(shared-thread-library)".
31a98837 18485
fad7d57e
ST
184862018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18487
18488 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
18489 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18490 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18491 (___tls_get_addr).
18492 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
18493 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18494 "-O2 -march=i686".
01c7e549 18495 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
18496 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18497 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18498 * sysdeps/gnu/glob-lstat-compat.c: New file.
18499 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 18500 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 18501
3a32b716
TMQMF
185022018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18503
18504 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18505 Reserve 16 chars to reloc_addr before calling _itoa_word.
18506
24731685
AJ
185072018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18508
18509 [BZ #22678]
18510 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18511 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18512
19be56d8
AJ
18513 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18514 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18515
a6d0afb5
AJ
18516 * resource/tst-getrlimit.c: Add copyright header.
18517
8e900969
AJ
185182018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18519 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18520
18521 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18522 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18523 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18524 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18525 instead.
18526 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18527 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18528 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18529 RLIM64_INFINITY): Fix values to match the kernel ones.
18530 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18531 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18532 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18533 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18534 getrlimit64@@GLIBC_2_27.
18535 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18536 and setrlimit64.
18537 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18538 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18539 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18540 setrlimit, getrlimit64 and setrlimit64.
18541
0d0bc784
AJ
185422018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18543
18544 [BZ #22648]
18545 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18546 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18547
ba374b6d
JM
185482018-01-04 Joseph Myers <joseph@codesourcery.com>
18549
18550 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18551 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18552 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18553
4854ddd8
AZ
185542018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18555
b0a4eca2
AZ
18556 [BZ #15479]
18557 [BZ #22666]
18558 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18559 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18560
4854ddd8
AZ
18561 [BZ #15479]
18562 [BZ #22665]
18563 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18564 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18565 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18566 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18567
8a5df95f
FW
185682018-01-04 Florian Weimer <fweimer@redhat.com>
18569
18570 [BZ #22667]
18571 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18572 Align the stack before calling exit.
18573 * stdlib/tst-makecontext-align.c: New file.
18574 * stdlib/Makefile (tests): Add tst-makecontext-align.
18575
82eef55f
FW
185762018-01-04 Florian Weimer <fweimer@redhat.com>
18577
18578 Add support for calling dlvsym from libc.so.
18579 * include/dlfcn.h (__libc_dlvsym): Declare.
18580 * elf/Makefile (tests-static-internal): Add
18581 tst-libc_dlvsym-static.
18582 (tests-internal): Add tst-libc_dlvsym.
18583 (modules-names): Add tst-libc_dlvsym-dso.
18584 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18585 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18586 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18587 object tst-libc_dlvsym-dso.so needs to be built before running
18588 these tests.
18589 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18590 * elf/Versions: Export __libc_dlvsym.
18591 * elf/dl-libc.c (struct do_dlvsym_args): New.
18592 (do_dlvsym, __libc_dlvsym): New functions.
18593 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18594 (_dl_open_hook2): New variable.
18595 (__libc_register_dl_open_hook): Set it.
18596 * elf/tst-libc_dlvsym-dso.c: New file.
18597 * elf/tst-libc_dlvsym-static.c: Likewise.
18598 * elf/tst-libc_dlvsym.c: Likewise.
18599 * elf/tst-libc_dlvsym.h: Likewise.
18600
1714fc06
ST
186012018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18602
18603 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18604 include <sys/mount.h>.
18605
3c7d0312
WD
186062018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18607
18608 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18609 Add __NO_MATH_ERRNO__ check.
18610
7eff0954
JM
186112018-01-02 Joseph Myers <joseph@codesourcery.com>
18612
18613 * sysdeps/mips/mips32/libm-test-ulps: Update.
18614 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18615
77f49956
FW
186162018-01-02 Florian Weimer <fweimer@redhat.com>
18617
18618 * misc/tst-pselect.c: Add copyright header.
18619
363e4519 186202018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
18621
18622 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18623 comment.
18624 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18625 comment.
18626 (settrlimit): Rename into setrlimit.
18627 (__sttrlimit): Rename into __setrlimit.
18628
3e4226ff
AJ
18629 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18630 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18631 never defined in that case.
18632
b9256ab6
JM
186332018-01-02 Joseph Myers <joseph@codesourcery.com>
18634
28fd6a44
JM
18635 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18636
a4933a15
JM
18637 * sysdeps/arm/libm-test-ulps: Update.
18638
b9256ab6
JM
18639 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18640 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18641
4cf82d23
RS
186422018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18643
18644 * NEWS: Add cosf and sincosf to list of optimized functions.
18645
6a9dd7a7
AJ
186462018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18647
18648 [BZ #22660]
18649 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18650 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18651 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18652 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18653
dbba87d5
DL
186542018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18655
b05cb613
DL
18656 [BZ #22433]
18657 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18658
dbba87d5
DL
18659 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18660 making a copy of it.
18661
688903eb
JM
186622018-01-01 Joseph Myers <joseph@codesourcery.com>
18663
66ac23de
JM
18664 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18665 trailing whitespace removed.
18666 * scripts/config.guess: Update to version 2018-01-01.
18667 * scripts/config.sub: Update to version 2018-01-01.
18668 * scripts/move-if-change: Update from gnulib.
18669
09533208
JM
18670 * NEWS: Update copyright dates.
18671 * catgets/gencat.c (print_version): Likewise.
18672 * csu/version.c (banner): Likewise.
18673 * debug/catchsegv.sh: Likewise.
18674 * debug/pcprofiledump.c (print_version): Likewise.
18675 * debug/xtrace.sh (do_version): Likewise.
18676 * elf/ldconfig.c (print_version): Likewise.
18677 * elf/ldd.bash.in: Likewise.
18678 * elf/pldd.c (print_version): Likewise.
18679 * elf/sotruss.sh: Likewise.
18680 * elf/sprof.c (print_version): Likewise.
18681 * iconv/iconv_prog.c (print_version): Likewise.
18682 * iconv/iconvconfig.c (print_version): Likewise.
18683 * locale/programs/locale.c (print_version): Likewise.
18684 * locale/programs/localedef.c (print_version): Likewise.
18685 * login/programs/pt_chown.c (print_version): Likewise.
18686 * malloc/memusage.sh (do_version): Likewise.
18687 * malloc/memusagestat.c (print_version): Likewise.
18688 * malloc/mtrace.pl: Likewise.
18689 * manual/libc.texinfo: Likewise.
18690 * nptl/version.c (banner): Likewise.
18691 * nscd/nscd.c (print_version): Likewise.
18692 * nss/getent.c (print_version): Likewise.
18693 * nss/makedb.c (print_version): Likewise.
18694 * posix/getconf.c (main): Likewise.
18695 * scripts/test-installation.pl: Likewise.
18696 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18697
688903eb
JM
18698 * All files with FSF copyright notices: Update copyright dates
18699 using scripts/update-copyrights.
18700 * locale/programs/charmap-kw.h: Regenerated.
18701 * locale/programs/locfile-kw.h: Likewise.
18702
4f820792
ZW
187032017-12-31 Zack Weinberg <zackw@panix.com>
18704
18705 * libio/bits/libio-ldbl.h: Correct check for improper
18706 inclusion. Add own multiple include guard.
18707
3e3c904d
AJ
187082017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18709 Dmitry V. Levin <ldv@altlinux.org>
18710
18711 [BZ #22625]
31f96325 18712 CVE-2017-16997
3e3c904d
AJ
18713 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18714 string token expansion. Check for NULL pointer or empty string possibly
18715 returned by expand_dynamic_string_token.
18716 (decompose_rpath): Check for empty path after dynamic string
18717 token expansion.
18718
7e21972b
DL
187192017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18720
c48831d0
DL
18721 [BZ #22433]
18722 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18723
ac583f50
DL
18724 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18725 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18726 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18727 and PTRACE_SYSCALL.
18728 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18729 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18731 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18732 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18733 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18734
7e21972b
DL
18735 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18736 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18737 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18738 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18740 bits/ptrace-shared.h.
18741 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18742 <bits/ptrace-shared.h>.
18743 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18744 __ptrace_peeksiginfo_flags, ptrace): Remove.
18745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18746 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18747 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18748 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18749 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18750
72f29e3a
AJ
187512017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18752
18753 [BZ #17804]
18754 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18755 end of the loop. Improve comments.
18756
54e4efc2
AJ
187572017-12-29 Zack Weinberg <zackw@panix.com>
18758
18759 [BZ #22615]
18760 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18761 might be set on success.
18762
f8aa69be
AJ
187632017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18764
18765 [BZ #22611]
18766 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18767 is unchanged on success.
18768
97f13188
DL
187692017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18770
2bd86632
DL
18771 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18772 updated.
18773 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18774 expand_dynamic_string_token): Likewise.
18775 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18776 is_path argument.
18777
1c36e1e6
DL
18778 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18779 contains ':'.
18780
97f13188
DL
18781 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18782 is set and name contains ':', and all code depending on these checks.
18783
48a8f832
ZW
187842017-12-24 Zack Weinberg <zackw@panix.com>
18785
18786 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18787 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18788 respectively.
18789 * libio/libio.h: Rename the original version of this file to
18790 libio/bits/libio.h. Error out if not included by stdio.h or the
18791 stub libio.h.
18792 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18793 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18794 if not included by bits/libio.h or the stub _G_config.h.
18795 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18796 sysdeps/unix/sysv/linux/bits. Error out if not included by
18797 bits/libio.h or the stub _G_config.h.
18798 * libio/stdio.h: Include bits/libio.h, not libio.h.
18799 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18800 well as libio.h and _G_config.h.
18801
18802 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18803 * libio/strfile.h, stdio-common/vfscanf.c
18804 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18805 Include stdio.h, not _G_config.h nor libio.h.
18806 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18807 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18808
18809 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18810
a47ad79a
DL
188112017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18812
18813 [BZ #22347]
18814 * stdlib/getrandom.c (getrandom): Fix comment.
18815 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18816
363e4519 188172017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 18818
f5c558f3
AJ
18819 [BZ #21161]
18820 * manual/arith.texi (strtoul): Fix a typo.
18821
e65a5644
AJ
18822 [BZ #22596]
18823 * manual/arith.texi (finite): Fix the description of the return
18824 value.
18825
ed8ae46b
EB
188262017-12-22 Eric Blake <ebb9@byu.net>
18827
18828 Avoid gcc warnings on cygwin
18829 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18830 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18831 Avoid unused variable.
18832
bad7a0c8
FW
188332017-12-22 Florian Weimer <fweimer@redhat.com>
18834
18835 * io/Makefile (routines): Add copy_file_range.
18836 (tests): Add tst-copy_file_range.
18837 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18838 * io/Versions (GLIBC_2.27): Export copy_file_range.
18839 * io/copy_file_range-compat.c: New file.
18840 * io/copy_file_range.c: Likewise.
18841 * io/tst-copy_file_range-compat.c: Likewise.
18842 * io/tst-copy_file_range.c: Likewise.
18843 * manual/llio.texi (Copying File Data): New section.
18844 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18845 * support/Makefile (libsupport-routines): Add support-xfstat,
18846 xftruncate, xlseek.
18847 * support/support-xfstat.c: New file.
18848 * support/xftruncate.c: Likewise.
18849 * support/xlseek.c: Likewise.
18850 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18851 * sysdeps/unix/sysv/linux/**.abilist: Update.
18852 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18853
6cb86fd2
SN
188542017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18855
18856 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18857 disable-multi-arch variant to aarch64-linux-gnu.
18858
41d11b15
JM
188592017-12-20 Joseph Myers <joseph@codesourcery.com>
18860
18861 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18862 trailing whitespace removed.
18863 * scripts/config.guess: Update to version 2017-12-17.
18864 * scripts/config.sub: Update to version 2017-11-23.
18865 * scripts/install-sh: Update to version 2017-09-23.17.
18866 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18867
4735850f
AZ
188682017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18869
8d2d239c
AZ
18870 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18871 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18872 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18873 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18874 * sysdeps/tile/crtn.S: Likewise.
18875 * sysdeps/tile/dl-start.S (_start): Likewise.
18876 * sysdeps/tile/dl-trampoline.S: Likewise.
18877 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18878 * sysdeps/tile/start.S (_start): Likewise.
18879 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18880 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18881 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18882 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18883 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18884 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18885 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18886
24d1d8ec
AZ
18887 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18888 comment.
18889 * sysdeps/tile/preconfigure: Remove tilegx folder.
18890 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18891 * sysdeps/tile/Implies: ... here.
18892 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18893 * sysdeps/tile/Makefile: ... here.
18894 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18895 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18896 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18897 * sysdeps/tile/bits/wordsize.h: ... here.
18898 * sysdeps/tile/tilegx/*: Move to ...
18899 * sysdeps/tile/*: ... here.
18900 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18901 * sysdeps/tile/tilegx32/Implies: ... here.
18902 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18903 * sysdeps/tile/tilegx64/Implies: ... here.
18904 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18905 to ...
18906 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18907 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18908 * sysdeps/unix/sysv/linux/tile/*: ... here.
18909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18910 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18912 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18913
ed95f611
AZ
18914 * README: Remove tilepro-*-linux-gnu from supported architecture.
18915 * scripts/build-many-glibcs.py: Likewise.
18916 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18917 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18918 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18919 elf_machine_matches_host, elf_machine_dynamic,
18920 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18921 howto, elf_machine_rela): Likewise.
18922 * sysdeps/tile/dl-start.S (_start): Likewise.
18923 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18924 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18925 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18926 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18927 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18928 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18929 Likewise.
18930 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18931 * sysdeps/tile/preconfigure: Likewise.
18932 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18933 POINTER_CHK_GUARD): Likewise.
18934 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18935 * sysdeps/tile/start.S (_start): Likewise.
18936 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18937 Likewise.
18938 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18939 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18940 CMOVNEZ): Remove.
18941 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18942 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18943 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18944 Likewise.
18945 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18946 * sysdeps/tile/tilepro/Implies: Remove file.
18947 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18948 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18949 * sysdeps/tile/tilepro/memchr.c: Likewise.
18950 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18951 * sysdeps/tile/tilepro/memset.c: Likewise.
18952 * sysdeps/tile/tilepro/memusage.h: Likewise.
18953 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18954 * sysdeps/tile/tilepro/strchr.c: Likewise.
18955 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18956 * sysdeps/tile/tilepro/strlen.c: Likewise.
18957 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18958 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18959 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18960 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18961 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18962 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18963 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18964 Likewise.
18965 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18966 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18967 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18968 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18969 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18970 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18971 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18972 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18973 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18974 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18975 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18976 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18977 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18978 tilepro mention in comment.
18979
4735850f
AZ
18980 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18981 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18982 * nptl/pthread_join_common.c: New file: common function used on
18983 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18984 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18985 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18986 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18987 (cleanup): Move definition to pthread_join_common.c.
18988 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18989 Remove superflous checks.
18990 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18991 Likewise.
18992
8bfb461e
SN
189932017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18994
18995 * sysdeps/aarch64/libm-test-ulps: Update.
18996
4e001969
AZ
189972017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18998
18999 * sysdeps/aarch64/memset.S (MEMSET): Define.
19000
8a26ad2a
FW
190012017-12-20 Florian Weimer <fweimer@redhat.com>
19002
19003 [BZ #22635]
19004 nptl: Provide full implementation of pthread_self in libc.so.
19005 * nptl/Makefile (routines): Add pthread_self.
19006 (libpthread-routines): Replace pthread_self with
19007 compat-pthread_self.
19008 * nptl/forward.c (pthread_self): Remove.
19009 * nptl/nptl-init.c (pthread_functions): Do not initialize
19010 ptr_pthread_self.
19011 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19012 * nptl/compat-pthread_self.c: New file.
19013 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19014 Remove ptr_pthread_self.
19015
5069ff32
AR
190162017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19017
19018 * posix/regcomp.c: Fix spelling in comments.
19019 * posix/regex.h: Likewise.
19020 * posix/regex_internal.c: Likewise.
19021 * posix/regexec.c: Likewise.
19022
c85e54ac
GG
190232017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19024
19025 [BZ #22377]
19026 * math/Makefile [C++] (tests): Add test for iseqsig.
19027 * math/math.h [C++] (iseqsig): New implementation, which does
19028 not rely on __MATH_TG/__builtin_types_compatible_p.
19029 * math/test-math-iseqsig.cc: New file.
19030 * sysdeps/powerpc/powerpc64le/Makefile
19031 (CFLAGS-test-math-iseqsig.cc): New variable.
19032
10e93d96
DL
190332017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19034
19035 * elf/dl-load.c (is_trusted_path): Remove.
19036 (fillin_rpath): Remove check_trusted argument and its use,
19037 all callers changed.
19038
ce16eb52
L
190392017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19040
19041 [BZ #22630]
19042 * Makeconfig (link-pie-before-libc): Replace -pie with
19043 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19044 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19045 (tst-dlopen-aout-no-pie): New.
19046 (LDFLAGS-tst-prelink): Removed.
19047 (tst-prelink-no-pie): New.
19048 (LDFLAGS-tst-main1): Removed.
19049 (tst-main1-no-pie): New.
19050 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19051 (tst-gmon-no-pie): New.
19052
126adc89
L
190532017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19054
19055 * manual/install.texi: Document that --enable-static-pie
19056 implies PIE.
19057 * INSTALL: Regenerated.
19058
648615e1
BE
190592017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19060
19061 [BZ #21309]
19062 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19063 unsigned.
19064
f1e00502
JM
190652017-12-19 Joseph Myers <joseph@codesourcery.com>
19066
19067 Revert:
19068
19069 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19070
19071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19072
19073 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19074
19075 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19076 <errno.h>. Include "eexp.tbl".
19077 (half): New constant.
19078 (one): Likewise.
19079 (__ieee754_exp): Rewrite.
19080 (__slowexp): Remove prototype.
19081 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19082 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19083 * sysdeps/i386/fpu/slowexp.c: Likewise.
19084 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19085 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19086 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19087 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19088 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19089 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19090 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19091 comment.
19092 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19093 (CPPFLAGS-slowexp.c): Remove variable.
19094 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19095 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19096 (CFLAGS-slowexp-fma.c): Remove variable.
19097 (CFLAGS-slowexp-fma4.c): Likewise.
19098 (CFLAGS-slowexp-avx.c): Likewise.
19099 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19100 define as macro.
19101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19102 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19103 * math/Makefile (type-double-routines): Remove slowexp.
19104 * manual/probes.texi (slowexp_p6): Remove.
19105 (slowexp_p32): Likewise.
19106
d711a00f
AZ
191072017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19108
e184ac3a
AZ
19109 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19110 arithmetic.
19111
d711a00f
AZ
19112 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19113
6f58c10d
JM
191142017-12-19 Joseph Myers <joseph@codesourcery.com>
19115
19116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19117
6fd0a3c6
PM
191182017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19119
19120 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19121 <errno.h>. Include "eexp.tbl".
19122 (half): New constant.
19123 (one): Likewise.
19124 (__ieee754_exp): Rewrite.
19125 (__slowexp): Remove prototype.
19126 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19127 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19128 * sysdeps/i386/fpu/slowexp.c: Likewise.
19129 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19130 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19131 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19132 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19133 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19134 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19135 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19136 comment.
19137 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19138 (CPPFLAGS-slowexp.c): Remove variable.
19139 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19140 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19141 (CFLAGS-slowexp-fma.c): Remove variable.
19142 (CFLAGS-slowexp-fma4.c): Likewise.
19143 (CFLAGS-slowexp-avx.c): Likewise.
19144 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19145 define as macro.
19146 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19147 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19148 * math/Makefile (type-double-routines): Remove slowexp.
19149 * manual/probes.texi (slowexp_p6): Remove.
19150 (slowexp_p32): Likewise.
19151
3bb1ef58 191522017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 19153 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
19154
19155 [BZ #22603]
19156 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19157 addition.
19158
554e3d51
AZ
191592017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19160
19161 [BZ #22605]
19162 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19163 code.
19164
cba595c3
L
191652017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19166
19167 [BZ #22563]
19168 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19169 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19170 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19171 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19172 to feature_1.
19173
f81ddabf
L
191742017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19175
19176 [BZ #22563]
19177 * bits/types/__cancel_jmp_buf_tag.h: New file.
19178 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19179 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19180 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19181 * nptl/Makefile (headers): Add
19182 bits/types/__cancel_jmp_buf_tag.h.
19183 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19184 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19185 * sysdeps/nptl/pthread.h: Include
19186 <bits/types/__cancel_jmp_buf_tag.h>.
19187 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19188 __cancel_jmp_buf.
19189 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19190
1a49fc59
L
191912017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19192
19193 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19194 --enable-static-pie variants to x86_64, x32 and i686.
19195
8e52f573
JM
191962017-12-19 Joseph Myers <joseph@codesourcery.com>
19197
66425185
JM
19198 [BZ #22631]
19199 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19200 argument for attrubutes. All callers changed.
19201 (__inline_mathop1): Likewise. All callers changed.
19202 (__inline_mathop): Likewise. All callers changed.
19203 [__USE_MISC] (scalbn): Use __inline_forward instead of
19204 __inline_forward_c.
19205 [__USE_ISOC99] (scalbln): Likewise.
19206 [__USE_ISOC99] (nearbyint): Likewise.
19207 [__USE_ISOC99] (lrint): Likewise.
19208 [__USE_MISC] (scalbnf): Likewise.
19209 [__USE_ISOC99] (scalblnf): Likewise.
19210 [__USE_ISOC99] (nearbyintf): Likewise.
19211 [__USE_ISOC99] (lrintf): Likewise.
19212 [__USE_MISC] (scalbnl): Likewise.
19213 [__USE_ISOC99] (scalblnl): Likewise.
19214 [__USE_ISOC99] (nearbyintl): Likewise.
19215 [__USE_ISOC99] (lrintl): Likewise.
19216 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19217 __inline_mathop and __m81_defun changed.
19218
8e52f573
JM
19219 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19220 CPU or FPU for ARM hard-float configurations.
19221
1421f39b
JM
192222017-12-18 Joseph Myers <joseph@codesourcery.com>
19223
40c4162d
JM
19224 * nptl/tst-attr3.c: Include <libc-diag.h>.
19225 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19226
5983df32
JM
19227 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19228
1421f39b
JM
19229 * string/tester.c (test_strncat): Also disable -Warray-bounds
19230 warnings for two tests.
19231
00c714df
L
192322017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19233
19234 [BZ #22614]
19235 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19236 $(cc-pie-default) == yes.
19237 * config.make.in (cc-pie-default): New.
19238 * configure.ac (libc_cv_pie_default): Renamed to ...
19239 (libc_cv_cc_pie_default): This.
19240 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19241 * configure: Regenerated.
19242
8e1472d2
FW
192432017-12-18 Florian Weimer <fweimer@redhat.com>
19244
19245 [BZ #20204]
19246 ld.so: Harden dl-libc/libdl hooks.
19247 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19248 (rtld_active): New function.
19249 * dlfcn/dladdr.c (__dladdr): Call it.
19250 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19251 * dlfcn/dlclose.c (__dlcose): Likewise.
19252 * dlfcn/dlerror.c (__dlerror): Likewise.
19253 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19254 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19255 * dlfcn/dlopen.c (__dlopen): Likewise.
19256 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19257 * dlfcn/dlsym.c (__dlsym): Likewise.
19258 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19259 * libio/vtables.c (_IO_vtable_check): Likewise.
19260 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19261 (__libc_dlclose): Likewise.
19262 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19263 assignment.
19264
49b036bc
JM
192652017-12-18 Joseph Myers <joseph@codesourcery.com>
19266
19267 [BZ #22446]
19268 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19269 buffers for readlink input and output.
19270
368b6c8d
ST
192712017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19272
c85c564d
ST
19273 [BZ #22624]
19274 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19275 inhibit_stack_protector.
19276
368b6c8d
ST
19277 [BZ #22624]
19278 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19279 inhibit_stack_protector.
19280
bb195224
DL
192812017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19282
19283 [BZ #22627]
19284 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19285 code and invocation.
19286
14d886ed
SN
192872017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19288
19289 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19290
7d38eb38
AJ
192912017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19292
19293 [BZ #22505]
19294 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19295
2e77deef
RS
192962017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19297
19298 * sysdeps/s390/fpu/libm-test-ulps: Update.
19299
0b9bef6d
RS
193002017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19301
19302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19303
984ae996
RS
193042017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19305
19306 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19307 constants to s_sincosf.h file.
19308 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19309 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19310 implementation.
19311 * sysdeps/ieee754/flt-32/s_sincosf.h:
19312 New file.
19313
363e4519 193142017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
19315
19316 [BZ #14681]
19317 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19318 before mtrace.
19319
9d7a3741
L
193202017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19321
19322 [BZ #19574]
19323 * INSTALL: Regenerated.
19324 * Makeconfig (real-static-start-installed-name): New.
19325 (pic-default): Updated for --enable-static-pie.
19326 (pie-default): New for --enable-static-pie.
19327 (default-pie-ldflag): Likewise.
19328 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19329 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19330 Replace $(static-start-installed-name) with
19331 $(real-static-start-installed-name).
19332 (+prectorT): Updated for --enable-static-pie.
19333 (+postctorT): Likewise.
19334 (CFLAGS-.o): Add $(pie-default).
19335 (CFLAGS-.op): Likewise.
19336 * NEWS: Mention --enable-static-pie.
19337 * config.h.in (ENABLE_STATIC_PIE): New.
19338 * configure.ac (--enable-static-pie): New configure option.
19339 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19340 (have-static-pie): Likewise.
19341 Enable static PIE if linker supports --no-dynamic-linker.
19342 (ENABLE_STATIC_PIE): New AC_DEFINE.
19343 (enable-static-pie): New LIBC_CONFIG_VAR.
19344 * configure: Regenerated.
19345 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19346 gr$(start-installed-name) for --enable-static-pie.
19347 (extra-objs): Likewise.
19348 (install-lib): Likewise.
19349 (extra-objs): Add static-reloc.o and static-reloc.os
19350 ($(objpfx)$(start-installed-name)): Also depend on
19351 $(objpfx)static-reloc.o.
19352 ($(objpfx)r$(start-installed-name)): New.
19353 ($(objpfx)g$(start-installed-name)): Also depend on
19354 $(objpfx)static-reloc.os.
19355 ($(objpfx)gr$(start-installed-name)): New.
19356 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19357 in libc.a.
19358 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19359 initimage.
19360 * csu/static-reloc.c: New file.
19361 * elf/Makefile (routines): Add dl-reloc-static-pie.
19362 (elide-routines.os): Likewise.
19363 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19364 (tst-tls1-static-non-pie-no-pie): New.
19365 * elf/dl-reloc-static-pie.c: New file.
19366 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19367 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19368 STATIC_PIE_BOOTSTRAP.
19369 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19370 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19371 (tests-static): Likewise.
19372 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19373 (tst-gmon-static-no-pie): New.
19374 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19375 (CRT-tst-gmon-static-pie): Likewise.
19376 (tst-gmon-static-pie-ENV): Likewise.
19377 (tests-special): Likewise.
19378 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19379 (clean-tst-gmon-static-pie-data): Likewise.
19380 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19381 * gmon/tst-gmon-static-pie.c: New file.
19382 * manual/install.texi: Document --enable-static-pie.
19383 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19384 (_dl_get_dl_main_map): Likewise.
19385 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19386 * sysdeps/x86_64/configure.ac: Likewise.
19387 * sysdeps/i386/configure: Regenerated.
19388 * sysdeps/x86_64/configure: Likewise.
19389 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19390 (ASFLAGS-.op): Likewise.
19391
95511aab
JM
193922017-12-15 Joseph Myers <joseph@codesourcery.com>
19393
19394 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19395 * posix/tst-mmap-offset.c (fname): Use /tmp.
19396 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19397
a7e3edf4
SE
193982017-12-15 Steve Ellcey <sellcey@cavium.com>
19399
19400 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19401
d232f2e1
TS
194022017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19403
19404 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19405 errno.
19406
174edbde
JM
194072017-12-15 Joseph Myers <joseph@codesourcery.com>
19408
5170fa49
JM
19409 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19410 --with-float=hard for arm-linux-gnueabihf configurations.
19411
f2da2fd8
JM
19412 [BZ #14121]
19413 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19414 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19415 ($(mo-installed)): Use $(objpfx)%.mo.
19416 (realclean): Remove rule.
19417
0c4fe28d
JM
19418 * po/Makefile (linguas): Remove rule and dependencies.
19419 (linguas.mo): Likewise.
19420 (.PHONY): Do not depend on linguas and linguas.mo.
19421 (podir): Remove variable.
19422 (pofiles): Likewise.
19423 [$(pofiles)] (%.po): Remove rule.
19424
174edbde
JM
19425 * sysdeps/sparc/sparc32/Makefile
19426 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19427 start-of-line whitespace in argument of echo.
19428 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19429 with whitespace. Generate __wrap_.udiv alias.
19430 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19431 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19432 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19433 * sysdeps/sparc/sparc32/urem.S: Likewise.
19434
1e36806f
RS
194352017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19436
19437 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19438 for aligned inputs.
19439
aa6932aa
SP
194402017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19441
5f1603c3
SP
19442 * benchtests/bench-strcmp.c: Print output in JSON format.
19443
aa6932aa
SP
19444 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19445
3ff3dfa5
FW
194462017-12-14 Florian Weimer <fweimer@redhat.com>
19447
19448 [BZ #22607]
19449 CVE-2017-1000409
19450 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19451 the expanded path string.
19452
8a0b17e4
FW
194532017-12-14 Florian Weimer <fweimer@redhat.com>
19454
19455 [BZ #22606]
19456 CVE-2017-1000408
19457 * elf/dl-load.c (system_dirs): Update comment.
19458 (nsystem_dirs_len): Use array_length.
19459 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19460
f58bd7f0
FW
194612017-12-14 Florian Weimer <fweimer@redhat.com>
19462
19463 Simplify compiling most of support/ outside of glibc.
19464 * support/check_addrinfo.c: Include <string.h>.
19465 * support/check_dns_packet.c: Likewise.
19466 * support/check_hostent.c: Likewise.
19467 * support/support_can_chroot.c: Include <support/xunistd.h>.
19468 * support/support_format_addrinfo.c: Include <stdlib.h>
19469 * support/support_format_dns_packet.c: Include <stdbool.h>.
19470 * support/support_format_hostent.c: Include <stdlib.h>.
19471 * support/support_format_netent.c: Likewise.
19472 * support/support_write_string.c: Include <support/xunistd.h>.
19473 * support/xdlfcn.c: Include <stddef.h>.
19474
4ca945e9
L
194752017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19476
19477 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19478
1b6e07f8
PM
194792017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19480 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19481
e6a1c5dc
PM
19482 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19483 (sysdeps_routines): Add memset-niagara7.
19484 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19485 Likewise.
19486 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19487 file.
19488 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19489 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19490 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19491 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19492 Add niagara7 option.
19493 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19494 memset.
19495
1b6e07f8
PM
19496 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19497 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19498 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19499 Likewise.
19500 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19501 New file.
19502 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19503 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19504 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19505 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19506 and __memmove_niagara7.
19507 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19508 Add niagara7 option.
19509 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19510 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19511 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19512 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19513 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19514
bfb7bf22
JM
195152017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19516
767a26d6
JM
19517 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19518 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19519 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19520 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19521
bfb7bf22
JM
19522 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19523 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19524 _dl_sparc_cap_flags array.
19525 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19526
2bce01eb
SP
195272017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19528
19529 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19530 time whenever possible.
19531
363e4519 195322017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
19533
19534 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19535 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19536
6f7c0092
JM
195372017-12-12 Joseph Myers <joseph@codesourcery.com>
19538
19539 * soft-fp/fmadf4.c: Move to ....
19540 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19541 * soft-fp/fmasf4.c: Move to ....
19542 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19543 * soft-fp/fmatf4.c: Move to ....
19544 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19545 * sysdeps/ieee754/soft-fp/Makefile: New file.
19546 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19547 * sysdeps/arm/preconfigure: Regenerated.
19548 * sysdeps/arm/nofpu/Implies: New file.
19549 * sysdeps/arm/s_fma.c: Remove file.
19550 * sysdeps/arm/s_fmaf.c: Likewise.
19551 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19552 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19553 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19554 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19555 * sysdeps/microblaze/s_fma.c: Remove file.
19556 * sysdeps/microblaze/s_fmaf.c: Likewise.
19557 * sysdeps/mips/mips32/nofpu/Implies: New file.
19558 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19559 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19560 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19561 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19562 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19563 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19564 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19565 implementation.
19566 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19567 * sysdeps/nios2/s_fma.c: Remove file.
19568 * sysdeps/nios2/s_fmaf.c: Likewise.
19569 * sysdeps/sh/nofpu/Implies: New file.
19570 * sysdeps/sh/s_fma.c: Remove file.
19571 * sysdeps/sh/s_fmaf.c: Likewise.
19572 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19573 * sysdeps/tile/s_fma.c: Remove file.
19574 * sysdeps/tile/s_fmaf.c: Likewise.
19575
ac817e08
L
195762017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19577
19578 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19579 Add s_cosf-sse2 and s_cosf-fma.
19580 (CFLAGS-s_cosf-fma.c): New.
19581 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19582 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19583 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19584
eb428576
SE
195852017-12-12 Steve Ellcey <sellcey@cavium.com>
19586
19587 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19588
c80acdc3
AZ
195892017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19590
cc683f7e
AZ
19591 * libio/Makefile (tests): Add tst-bz22415.
19592 (tst-bz22415-ENV): New rule.
19593 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19594 (tests-special): Add tst-bz22415-mem.out.
19595 ($(objpfx)tst-bz22415-mem.out): New rule.
19596 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19597 in case of a successful seek operation.
19598 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19599 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19600 buffer is required.
19601 * libio/tst-bz22415.c: New test.
19602
c80acdc3
AZ
19603 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19604
363e4519 196052017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
19606
19607 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19608 __IPC_64 to 0 to avoid IPC_64 being set.
19609
4e0dca54
SN
196102017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19611
19612 [BZ #22593]
19613 * math/bits/mathcalls.h (nextafter): Remove const.
19614 (nexttoward): Likewise.
19615
8df5d347
JM
196162017-12-12 Joseph Myers <joseph@codesourcery.com>
19617
19618 * configure.ac (--with-fp): Remove configure option.
19619 (with_fp_cond): New variable.
19620 (libc_cv_with_fp): New configure test. Use this variable instead
19621 of with_fp.
19622 * configure: Regenerated.
19623 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19624 * manual/install.texi (Configuring and compiling): Remove
19625 --without-fp.
19626 * INSTALL: Regenerated.
19627 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19628 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19629 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19630 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19631 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19632 use --without-fp to configure glibc.
19633
0cee1257
RJ
196342017-12-12 Rical Jasan <ricaljasan@pacific.net>
19635
19636 * manual/locale.texi (nl_langinfo): Fix a typo.
19637
363e4519 196382017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
19639
19640 [BZ #22588]
19641 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19642
36975e8e
L
196432017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19644
19645 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19646 (CFLAGS-argp-parse.c): Likewise.
19647 (CFLAGS-argp-fmtstream.c): Likewise.
19648 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19649 (CPPFLAGS-sha512-crypt.c): Likewise.
19650 (CPPFLAGS-md5-crypt.c): Likewise.
19651 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19652 (CFLAGS-stack_chk_fail_local.c): Likewise.
19653 (CFLAGS-backtrace.c): Likewise.
19654 (CFLAGS-sprintf_chk.c): Likewise.
19655 (CFLAGS-snprintf_chk.c): Likewise.
19656 (CFLAGS-vsprintf_chk.c): Likewise.
19657 (CFLAGS-vsnprintf_chk.c): Likewise.
19658 (CFLAGS-asprintf_chk.c): Likewise.
19659 (CFLAGS-vasprintf_chk.c): Likewise.
19660 (CFLAGS-obprintf_chk.c): Likewise.
19661 (CFLAGS-dprintf_chk.c): Likewise.
19662 (CFLAGS-vdprintf_chk.c): Likewise.
19663 (CFLAGS-printf_chk.c): Likewise.
19664 (CFLAGS-fprintf_chk.c): Likewise.
19665 (CFLAGS-vprintf_chk.c): Likewise.
19666 (CFLAGS-vfprintf_chk.c): Likewise.
19667 (CFLAGS-gets_chk.c): Likewise.
19668 (CFLAGS-fgets_chk.c): Likewise.
19669 (CFLAGS-fgets_u_chk.c): Likewise.
19670 (CFLAGS-fread_chk.c): Likewise.
19671 (CFLAGS-fread_u_chk.c): Likewise.
19672 (CFLAGS-swprintf_chk.c): Likewise.
19673 (CFLAGS-vswprintf_chk.c): Likewise.
19674 (CFLAGS-wprintf_chk.c): Likewise.
19675 (CFLAGS-fwprintf_chk.c): Likewise.
19676 (CFLAGS-vwprintf_chk.c): Likewise.
19677 (CFLAGS-vfwprintf_chk.c): Likewise.
19678 (CFLAGS-fgetws_chk.c): Likewise.
19679 (CFLAGS-fgetws_u_chk.c): Likewise.
19680 (CFLAGS-read_chk.c): Likewise.
19681 (CFLAGS-pread_chk.c): Likewise.
19682 (CFLAGS-pread64_chk.c): Likewise.
19683 (CFLAGS-recv_chk.c): Likewise.
19684 (CFLAGS-recvfrom_chk.c): Likewise.
19685 (CFLAGS-tst-longjmp_chk.c): Likewise.
19686 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19687 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19688 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19689 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19690 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19691 (CFLAGS-tst-chk1.c): Likewise.
19692 (CFLAGS-tst-chk2.c): Likewise.
19693 (CFLAGS-tst-chk3.c): Likewise.
19694 (CFLAGS-tst-chk4.cc): Likewise.
19695 (CFLAGS-tst-chk5.cc): Likewise.
19696 (CFLAGS-tst-chk6.cc): Likewise.
19697 (CFLAGS-tst-lfschk1.c): Likewise.
19698 (CFLAGS-tst-lfschk2.c): Likewise.
19699 (CFLAGS-tst-lfschk3.c): Likewise.
19700 (CFLAGS-tst-lfschk4.cc): Likewise.
19701 (CFLAGS-tst-lfschk5.cc): Likewise.
19702 (CFLAGS-tst-lfschk6.cc): Likewise.
19703 (CFLAGS-tst-ssp-1.c): Likewise.
19704 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19705 (CFLAGS-scandir64.c): Likewise.
19706 (CFLAGS-scandir-tail.c): Likewise.
19707 (CFLAGS-scandir64-tail.c): Likewise.
19708 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19709 (CFLAGS-dl-tunables.c): Likewise.
19710 (CFLAGS-dl-runtime.c): Likewise.
19711 (CFLAGS-dl-lookup.c): Likewise.
19712 (CFLAGS-dl-iterate-phdr.c): Likewise.
19713 (CFLAGS-vismain.c): Likewise.
19714 (CFLAGS-tst-linkall-static.c): Likewise.
19715 (CFLAGS-tst-linkall-static.c): Likewise.
19716 (CPPFLAGS-dl-load.c): Likewise.
19717 (CFLAGS-ldconfig.c): Likewise.
19718 (CFLAGS-dl-cache.c): Likewise.
19719 (CFLAGS-cache.c): Likewise.
19720 (CFLAGS-rtld.c): Likewise.
19721 (CFLAGS-multiload.c): Likewise.
19722 (CFLAGS-filtmod1.c): Likewise.
19723 (CFLAGS-tst-align.c): Likewise.
19724 (CFLAGS-tst-align2.c): Likewise.
19725 (CFLAGS-tst-alignmod.c): Likewise.
19726 (CFLAGS-tst-alignmod2.c): Likewise.
19727 (CPPFLAGS-tst-execstack.c): Likewise.
19728 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19729 (CFLAGS-tst-latepthreadmod.c): Likewise.
19730 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19731 (CFLAGS-getgrnam_r.c): Likewise.
19732 (CFLAGS-getgrent_r.c): Likewise.
19733 (CFLAGS-getgrent.c): Likewise.
19734 (CFLAGS-fgetgrent.c): Likewise.
19735 (CFLAGS-fgetgrent_r.c): Likewise.
19736 (CFLAGS-putgrent.c): Likewise.
19737 (CFLAGS-initgroups.c): Likewise.
19738 (CFLAGS-getgrgid.c): Likewise.
19739 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19740 (CFLAGS-getsgent.c): Likewise.
19741 (CFLAGS-fgetsgent.c): Likewise.
19742 (CFLAGS-fgetsgent_r.c): Likewise.
19743 (CFLAGS-putsgent.c): Likewise.
19744 (CFLAGS-getsgnam.c): Likewise.
19745 (CFLAGS-getsgnam_r.c): Likewise.
19746 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19747 (CFLAGS-iconv_charmap.c): Likewise.
19748 (CFLAGS-dummy-repertoire.c): Likewise.
19749 (CFLAGS-charmap.c): Likewise.
19750 (CFLAGS-linereader.c): Likewise.
19751 (CFLAGS-simple-hash.c): Likewise.
19752 (CFLAGS-gconv_conf.c): Likewise.
19753 (CFLAGS-iconvconfig.c): Likewise.
19754 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19755 (CFLAGS-gethstbyad.c): Likewise.
19756 (CFLAGS-gethstbynm_r.c): Likewise.
19757 (CFLAGS-gethstbynm.c): Likewise.
19758 (CFLAGS-gethstbynm2_r.c): Likewise.
19759 (CFLAGS-gethstbynm2.c): Likewise.
19760 (CFLAGS-gethstent_r.c): Likewise.
19761 (CFLAGS-gethstent.c): Likewise.
19762 (CFLAGS-rcmd.c): Likewise.
19763 (CFLAGS-getnetbynm_r.c): Likewise.
19764 (CFLAGS-getnetbynm.c): Likewise.
19765 (CFLAGS-getnetbyad_r.c): Likewise.
19766 (CFLAGS-getnetbyad.c): Likewise.
19767 (CFLAGS-getnetent_r.c): Likewise.
19768 (CFLAGS-getnetent.c): Likewise.
19769 (CFLAGS-getaliasent_r.c): Likewise.
19770 (CFLAGS-getaliasent.c): Likewise.
19771 (CFLAGS-getrpcent_r.c): Likewise.
19772 (CFLAGS-getrpcent.c): Likewise.
19773 (CFLAGS-getservent_r.c): Likewise.
19774 (CFLAGS-getservent.c): Likewise.
19775 (CFLAGS-getprtent_r.c): Likewise.
19776 (CFLAGS-getprtent.c): Likewise.
19777 (CFLAGS-either_ntoh.c): Likewise.
19778 (CFLAGS-either_hton.c): Likewise.
19779 (CFLAGS-getnetgrent.c): Likewise.
19780 (CFLAGS-getnetgrent_r.c): Likewise.
19781 (CFLAGS-tst-checks-posix.c): Likewise.
19782 (CFLAGS-tst-sockaddr.c): Likewise.
19783 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19784 (CFLAGS-tst-translit.c): Likewise.
19785 (CFLAGS-tst-gettext2.c): Likewise.
19786 (CFLAGS-tst-codeset.c): Likewise.
19787 (CFLAGS-tst-gettext3.c): Likewise.
19788 (CFLAGS-tst-gettext4.c): Likewise.
19789 (CFLAGS-tst-gettext5.c): Likewise.
19790 (CFLAGS-tst-gettext6.c): Likewise.
19791 * io/Makefile (CFLAGS-open.c): Likewise.
19792 (CFLAGS-open64.c): Likewise.
19793 (CFLAGS-creat.c): Likewise.
19794 (CFLAGS-creat64.c): Likewise.
19795 (CFLAGS-fcntl.c): Likewise.
19796 (CFLAGS-poll.c): Likewise.
19797 (CFLAGS-ppoll.c): Likewise.
19798 (CFLAGS-lockf.c): Likewise.
19799 (CFLAGS-statfs.c): Likewise.
19800 (CFLAGS-fstatfs.c): Likewise.
19801 (CFLAGS-statvfs.c): Likewise.
19802 (CFLAGS-fstatvfs.c): Likewise.
19803 (CFLAGS-fts.c): Likewise.
19804 (CFLAGS-fts64.c): Likewise.
19805 (CFLAGS-ftw.c): Likewise.
19806 (CFLAGS-ftw64.c): Likewise.
19807 (CFLAGS-lockf.c): Likewise.
19808 (CFLAGS-posix_fallocate.c): Likewise.
19809 (CFLAGS-posix_fallocate64.c): Likewise.
19810 (CFLAGS-fallocate.c): Likewise.
19811 (CFLAGS-fallocate64.c): Likewise.
19812 (CFLAGS-read.c): Likewise.
19813 (CFLAGS-write.c): Likewise.
19814 (CFLAGS-test-stat.c): Likewise.
19815 (CFLAGS-test-lfs.c): Likewise.
19816 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19817 (CFLAGS-fputc.c): Likewise.
19818 (CFLAGS-fputwc.c): Likewise.
19819 (CFLAGS-freopen64.c): Likewise.
19820 (CFLAGS-freopen.c): Likewise.
19821 (CFLAGS-fseek.c): Likewise.
19822 (CFLAGS-fseeko64.c): Likewise.
19823 (CFLAGS-fseeko.c): Likewise.
19824 (CFLAGS-ftello64.c): Likewise.
19825 (CFLAGS-ftello.c): Likewise.
19826 (CFLAGS-fwide.c): Likewise.
19827 (CFLAGS-genops.c): Likewise.
19828 (CFLAGS-getc.c): Likewise.
19829 (CFLAGS-getchar.c): Likewise.
19830 (CFLAGS-getwc.c): Likewise.
19831 (CFLAGS-getwchar.c): Likewise.
19832 (CFLAGS-iofclose.c): Likewise.
19833 (CFLAGS-iofflush.c): Likewise.
19834 (CFLAGS-iofgetpos64.c): Likewise.
19835 (CFLAGS-iofgetpos.c): Likewise.
19836 (CFLAGS-iofgets.c): Likewise.
19837 (CFLAGS-iofgetws.c): Likewise.
19838 (CFLAGS-iofputs.c): Likewise.
19839 (CFLAGS-iofputws.c): Likewise.
19840 (CFLAGS-iofread.c): Likewise.
19841 (CFLAGS-iofsetpos64.c): Likewise.
19842 (CFLAGS-iofsetpos.c): Likewise.
19843 (CFLAGS-ioftell.c): Likewise.
19844 (CFLAGS-iofwrite.c): Likewise.
19845 (CFLAGS-iogetdelim.c): Likewise.
19846 (CFLAGS-iogetline.c): Likewise.
19847 (CFLAGS-iogets.c): Likewise.
19848 (CFLAGS-iogetwline.c): Likewise.
19849 (CFLAGS-ioputs.c): Likewise.
19850 (CFLAGS-ioseekoff.c): Likewise.
19851 (CFLAGS-ioseekpos.c): Likewise.
19852 (CFLAGS-iosetbuffer.c): Likewise.
19853 (CFLAGS-iosetvbuf.c): Likewise.
19854 (CFLAGS-ioungetc.c): Likewise.
19855 (CFLAGS-ioungetwc.c): Likewise.
19856 (CFLAGS-oldfileops.c): Likewise.
19857 (CFLAGS-oldiofclose.c): Likewise.
19858 (CFLAGS-oldiofgetpos64.c): Likewise.
19859 (CFLAGS-oldiofgetpos.c): Likewise.
19860 (CFLAGS-oldiofsetpos64.c): Likewise.
19861 (CFLAGS-oldiofsetpos.c): Likewise.
19862 (CFLAGS-peekc.c): Likewise.
19863 (CFLAGS-putc.c): Likewise.
19864 (CFLAGS-putchar.c): Likewise.
19865 (CFLAGS-putwc.c): Likewise.
19866 (CFLAGS-putwchar.c): Likewise.
19867 (CFLAGS-rewind.c): Likewise.
19868 (CFLAGS-wfileops.c): Likewise.
19869 (CFLAGS-wgenops.c): Likewise.
19870 (CFLAGS-oldiofopen.c): Likewise.
19871 (CFLAGS-iofopen.c): Likewise.
19872 (CFLAGS-iofopen64.c): Likewise.
19873 (CFLAGS-oldtmpfile.c): Likewise.
19874 (CFLAGS-tst_putwc.c): Likewise.
19875 * locale/Makefile (CFLAGS-md5.c): Likewise.
19876 (CFLAGS-charmap.c): Likewise.
19877 (CFLAGS-locfile.c): Likewise.
19878 (CFLAGS-charmap-dir.c): Likewise.
19879 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19880 (CFLAGS-getpt.c): Likewise.
19881 (CFLAGS-pt_chown.c): Likewise.
19882 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19883 (CFLAGS-obstack.c): Likewise.
19884 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19885 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19886 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19887 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19888 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19889 (CFLAGS-test-tgmath.c): Likewise.
19890 (CFLAGS-test-tgmath2.c): Likewise.
19891 (CFLAGS-test-tgmath-ret.c): Likewise.
19892 (CFLAGS-test-powl.c): Likewise.
19893 (CFLAGS-test-snan.c): Likewise.
19894 (CFLAGS-test-signgam-finite.c): Likewise.
19895 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19896 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19897 (CFLAGS-test-signgam-uchar.c): Likewise.
19898 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19899 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19900 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19901 (CFLAGS-test-signgam-uint.c): Likewise.
19902 (CFLAGS-test-signgam-uint-init.c): Likewise.
19903 (CFLAGS-test-signgam-uint-static.c): Likewise.
19904 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19905 (CFLAGS-test-signgam-ullong.c): Likewise.
19906 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19907 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19908 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19909 (CFLAGS-test-math-cxx11.cc): Likewise.
19910 (CFLAGS-test-math-isinff.cc): Likewise.
19911 (CFLAGS-test-math-iszero.cc): Likewise.
19912 (CFLAGS-test-math-issignaling.cc): Likewise.
19913 (CFLAGS-test-math-iscanonical.cc): Likewise.
19914 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19915 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19916 (CFLAGS-test-flt-eval-method.c): Likewise.
19917 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19918 (CFLAGS-test-finite-macros.c): Likewise.
19919 * misc/Makefile (CFLAGS-select.c): Likewise.
19920 (CFLAGS-tsearch.c): Likewise.
19921 (CFLAGS-lsearch.c): Likewise.
19922 (CFLAGS-pselect.c): Likewise.
19923 (CFLAGS-readv.c): Likewise.
19924 (CFLAGS-writev.c): Likewise.
19925 (CFLAGS-preadv.c): Likewise.
19926 (CFLAGS-preadv64.c): Likewise.
19927 (CFLAGS-pwritev.c): Likewise.
19928 (CFLAGS-pwritev64.c): Likewise.
19929 (CFLAGS-preadv2.c): Likewise.
19930 (CFLAGS-preadv64v2.c): Likewise.
19931 (CFLAGS-pwritev2.c): Likewise.
19932 (CFLAGS-pwritev64v2.c): Likewise.
19933 (CFLAGS-usleep.c): Likewise.
19934 (CFLAGS-syslog.c): Likewise.
19935 (CFLAGS-error.c): Likewise.
19936 (CFLAGS-getpass.c): Likewise.
19937 (CFLAGS-mkstemp.c): Likewise.
19938 (CFLAGS-mkstemp64.c): Likewise.
19939 (CFLAGS-getsysstats.c): Likewise.
19940 (CFLAGS-getusershell.c): Likewise.
19941 (CFLAGS-err.c): Likewise.
19942 (CFLAGS-tst-tsearch.c): Likewise.
19943 (CFLAGS-msync.c): Likewise.
19944 (CFLAGS-fdatasync.c): Likewise.
19945 (CFLAGS-fsync.c): Likewise.
19946 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19947 (CFLAGS-unwind.c): Likewise.
19948 (CFLAGS-unwind-forcedunwind.c): Likewise.
19949 (CFLAGS-pthread_cancel.c): Likewise.
19950 (CFLAGS-pthread_setcancelstate.c): Likewise.
19951 (CFLAGS-pthread_setcanceltype.c): Likewise.
19952 (CFLAGS-cancellation.c): Likewise.
19953 (CFLAGS-libc-cancellation.c): Likewise.
19954 (CFLAGS-pthread_exit.c): Likewise.
19955 (CFLAGS-forward.c): Likewise.
19956 (CFLAGS-pthread_testcancel.c): Likewise.
19957 (CFLAGS-pthread_join.c): Likewise.
19958 (CFLAGS-pthread_timedjoin.c): Likewise.
19959 (CFLAGS-pthread_once.c): Likewise.
19960 (CFLAGS-pthread_cond_wait.c): Likewise.
19961 (CFLAGS-sem_wait.c): Likewise.
19962 (CFLAGS-sem_timedwait.c): Likewise.
19963 (CFLAGS-fcntl.c): Likewise.
19964 (CFLAGS-lockf.c): Likewise.
19965 (CFLAGS-pread.c): Likewise.
19966 (CFLAGS-pread64.c): Likewise.
19967 (CFLAGS-pwrite.c): Likewise.
19968 (CFLAGS-pwrite64.c): Likewise.
19969 (CFLAGS-wait.c): Likewise.
19970 (CFLAGS-waitpid.c): Likewise.
19971 (CFLAGS-sigwait.c): Likewise.
19972 (CFLAGS-msgrcv.c): Likewise.
19973 (CFLAGS-msgsnd.c): Likewise.
19974 (CFLAGS-tcdrain.c): Likewise.
19975 (CFLAGS-open.c): Likewise.
19976 (CFLAGS-open64.c): Likewise.
19977 (CFLAGS-pause.c): Likewise.
19978 (CFLAGS-recv.c): Likewise.
19979 (CFLAGS-send.c): Likewise.
19980 (CFLAGS-accept.c): Likewise.
19981 (CFLAGS-sendto.c): Likewise.
19982 (CFLAGS-connect.c): Likewise.
19983 (CFLAGS-recvfrom.c): Likewise.
19984 (CFLAGS-recvmsg.c): Likewise.
19985 (CFLAGS-sendmsg.c): Likewise.
19986 (CFLAGS-close.c): Likewise.
19987 (CFLAGS-read.c): Likewise.
19988 (CFLAGS-write.c): Likewise.
19989 (CFLAGS-nanosleep.c): Likewise.
19990 (CFLAGS-sigsuspend.c): Likewise.
19991 (CFLAGS-msync.c): Likewise.
19992 (CFLAGS-fdatasync.c): Likewise.
19993 (CFLAGS-fsync.c): Likewise.
19994 (CFLAGS-pt-system.c): Likewise.
19995 (CFLAGS-tst-cleanup2.c): Likewise.
19996 (CFLAGS-tst-cleanupx2.c): Likewise.
19997 (CFLAGS-flockfile.c): Likewise.
19998 (CFLAGS-ftrylockfile.c): Likewise.
19999 (CFLAGS-funlockfile.c): Likewise.
20000 (CFLAGS-tst-initializers1.c): Likewise.
20001 (CFLAGS-tst-initializers1-c89.c): Likewise.
20002 (CFLAGS-tst-initializers1-c99.c): Likewise.
20003 (CFLAGS-tst-initializers1-c11.c): Likewise.
20004 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20005 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20006 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20007 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20008 (CFLAGS-nscd_getgr_r.c): Likewise.
20009 (CFLAGS-nscd_gethst_r.c): Likewise.
20010 (CFLAGS-nscd_getai.c): Likewise.
20011 (CFLAGS-nscd_initgroups.c): Likewise.
20012 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20013 (CFLAGS-pause.c): Likewise.
20014 (CFLAGS-pread.c): Likewise.
20015 (CFLAGS-pread64.c): Likewise.
20016 (CFLAGS-pwrite.c): Likewise.
20017 (CFLAGS-pwrite64.c): Likewise.
20018 (CFLAGS-sleep.c): Likewise.
20019 (CFLAGS-wait.c): Likewise.
20020 (CFLAGS-waitid.c): Likewise.
20021 (CFLAGS-waitpid.c): Likewise.
20022 (CFLAGS-getopt.c): Likewise.
20023 (CFLAGS-wordexp.c): Likewise.
20024 (CFLAGS-sysconf.c): Likewise.
20025 (CFLAGS-pathconf.c): Likewise.
20026 (CFLAGS-fpathconf.c): Likewise.
20027 (CFLAGS-spawn.c): Likewise.
20028 (CFLAGS-spawnp.c): Likewise.
20029 (CFLAGS-spawni.c): Likewise.
20030 (CFLAGS-glob.c): Likewise.
20031 (CFLAGS-glob64.c): Likewise.
20032 (CFLAGS-getconf.c): Likewise.
20033 (CFLAGS-nanosleep.c): Likewise.
20034 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20035 (CFLAGS-getpwent.c): Likewise.
20036 (CFLAGS-getpw.c): Likewise.
20037 (CFLAGS-fgetpwent_r.c): Likewise.
20038 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20039 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20040 (CFLAGS-mq_timedreceive.c): Likewise.
20041 (CFLAGS-mq_timedsend.c): Likewise.
20042 (CFLAGS-clock_nanosleep.c): Likewise.
20043 (CFLAGS-librt-cancellation.c): Likewise.
20044 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20045 (CFLAGS-getspent.c): Likewise.
20046 (CFLAGS-fgetspent.c): Likewise.
20047 (CFLAGS-fgetspent_r.c): Likewise.
20048 (CFLAGS-putspent.c): Likewise.
20049 (CFLAGS-getspnam.c): Likewise.
20050 (CFLAGS-getspnam_r.c): Likewise.
20051 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20052 (CFLAGS-sigsuspend.c): Likewise.
20053 (CFLAGS-sigtimedwait.c): Likewise.
20054 (CFLAGS-sigwait.c): Likewise.
20055 (CFLAGS-sigwaitinfo.c): Likewise.
20056 (CFLAGS-sigreturn.c): Likewise.
20057 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20058 (CFLAGS-vfwprintf.c): Likewise.
20059 (CFLAGS-tmpfile.c): Likewise.
20060 (CFLAGS-tmpfile64.c): Likewise.
20061 (CFLAGS-tempname.c): Likewise.
20062 (CFLAGS-psignal.c): Likewise.
20063 (CFLAGS-vprintf.c): Likewise.
20064 (CFLAGS-cuserid.c): Likewise.
20065 (CFLAGS-errlist.c): Likewise.
20066 (CFLAGS-siglist.c): Likewise.
20067 (CFLAGS-scanf15.c): Likewise.
20068 (CFLAGS-scanf17.c): Likewise.
20069 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20070 (CFLAGS-msort.c): Likewise.
20071 (CFLAGS-qsort.c): Likewise.
20072 (CFLAGS-system.c): Likewise.
20073 (CFLAGS-fmtmsg.c): Likewise.
20074 (CFLAGS-strfmon.c): Likewise.
20075 (CFLAGS-strfmon_l.c): Likewise.
20076 (CFLAGS-strfromd.c): Likewise.
20077 (CFLAGS-strfromf.c): Likewise.
20078 (CFLAGS-strfroml.c): Likewise.
20079 (CFLAGS-tst-bsearch.c): Likewise.
20080 (CFLAGS-tst-qsort.c): Likewise.
20081 (CFLAGS-tst-makecontext2.c): Likewise.
20082 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20083 (CFLAGS-xnlm_prot.c): Likewise.
20084 (CFLAGS-xrstat.c): Likewise.
20085 (CFLAGS-xyppasswd.c): Likewise.
20086 (CFLAGS-xklm_prot.c): Likewise.
20087 (CFLAGS-xrex.c): Likewise.
20088 (CFLAGS-xsm_inter.c): Likewise.
20089 (CFLAGS-xmount.c): Likewise.
20090 (CFLAGS-xrusers.c): Likewise.
20091 (CFLAGS-xspray.c): Likewise.
20092 (CFLAGS-xnfs_prot.c): Likewise.
20093 (CFLAGS-xrquota.c): Likewise.
20094 (CFLAGS-xkey_prot.c): Likewise.
20095 (CFLAGS-auth_unix.c): Likewise.
20096 (CFLAGS-key_call.c): Likewise.
20097 (CFLAGS-pmap_rmt.c): Likewise.
20098 (CFLAGS-clnt_perr.c): Likewise.
20099 (CFLAGS-openchild.c): Likewise.
20100 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20101 (CFLAGS-msgsnd.c): Likewise.
20102 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20103 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20104 (CFLAGS-tzset.c): Likewise.
20105 (CFLAGS-getdate.c): Likewise.
20106 (CFLAGS-test_time.c): Likewise.
20107 (CPPFLAGS-tst-tzname.c): Likewise.
20108 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20109 (CFLAGS-zic.c): Likewise.
20110 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20111 (CFLAGS-wcswidth.c): Likewise.
20112 (CFLAGS-wcstol.c): Likewise.
20113 (CFLAGS-wcstoul.c): Likewise.
20114 (CFLAGS-wcstoll.c): Likewise.
20115 (CFLAGS-wcstoull.c): Likewise.
20116 (CFLAGS-wcstod.c): Likewise.
20117 (CFLAGS-wcstold.c): Likewise.
20118 (CFLAGS-wcstof128.c): Likewise.
20119 (CFLAGS-wcstof.c): Likewise.
20120 (CFLAGS-wcstol_l.c): Likewise.
20121 (CFLAGS-wcstoul_l.c): Likewise.
20122 (CFLAGS-wcstoll_l.c): Likewise.
20123 (CFLAGS-wcstoull_l.c): Likewise.
20124 (CFLAGS-wcstod_l.c): Likewise.
20125 (CFLAGS-wcstold_l.c): Likewise.
20126 (CFLAGS-wcstof128_l.c): Likewise.
20127 (CFLAGS-wcstof_l.c): Likewise.
20128 (CPPFLAGS-tst-wchar-h.c): Likewise.
20129 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 20130
f4b2aea6
PC
201312017-12-11 Paul A. Clarke <pc@us.ibm.com>
20132
20133 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20134
c9cd7b0c
AZ
201352017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20136 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20137
20138 * manual/tunables.texi (Hardware Capability Tunables): Document
20139 glibc.tune.cached_memopt.
20140 * sysdeps/powerpc/cpu-features.c: New file.
20141 * sysdeps/powerpc/cpu-features.h: New file.
20142 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20143 _dl_powerpc_cpu_features.
20144 * sysdeps/powerpc/dl-tunables.list: New file.
20145 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20146 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20147 (INIT_ARCH): Initialize use_aligned_memopt.
20148 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20149 IS_IN(rtld))]: Restrict dl_platform_init availability and
20150 initialize CPU features used by tunables.
20151 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20152 Add memcpy-power8-cached.
20153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20154 __memcpy_power8_cached.
20155 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20157 New file.
20158
e70c6fee
L
201592017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20160
20161 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20162 (CFLAGS-noinl-tester.c): Likewise.
20163 (CFLAGS-tst-strlen.c): Likewise.
20164 (CFLAGS-stratcliff.c): Likewise.
20165 (CFLAGS-test-ffs.c): Likewise.
20166 (CFLAGS-tst-inlcall.c): Likewise.
20167 (CFLAGS-tst-xbzero-opt.c): Likewise.
20168 (CFLAGS-memcpy.c): Likewise.
20169 (CFLAGS-wordcopy.c): Likewise.
20170
dee94366
SL
201712017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20172
20173 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20174 Store r15 on stack and add cfi rule.
20175 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20176 Likewise.
20177
363e4519 201782017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
20179
20180 [BZ #22577]
20181 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20182 call.
20183
9d0ffa60
L
201842017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20185
20186 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20187 Add s_sinf-sse2 and s_sinf-fma.
20188 (CFLAGS-s_sinf-fma.c): New.
20189 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20190 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20191 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20192
9574c7b6
L
201932017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20194
20195 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20196
d15e83c5
JM
201972017-12-07 Joseph Myers <joseph@codesourcery.com>
20198
20199 [BZ #22568]
20200 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20201 part of result to imaginary part of argument if it is zero and the
20202 real part of the argument is not finite.
20203 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20204 of result to real part of argument if it is zero and the imaginary
20205 part of the argument is not finite.
20206
d89756eb
MF
202072017-12-07 Mike FABIAN <mfabian@redhat.com>
20208
20209 [BZ #22524]
20210 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20211 and to the list of locales to be built for testing.
20212 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20213 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20214 and build the collation rules upon that.
20215
1f9055ce
JM
202162017-12-07 Joseph Myers <joseph@codesourcery.com>
20217
20218 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20219 * manual/math.texi (Mathematics): Document support for _Float32.
20220 * math/Makefile (test-types): Add float32.
20221 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20222 * stdlib/Versions (GLIBC_2.27): Likewise.
20223 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20224 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20225 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20226 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20227 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20228 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20229 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20230 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20231 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20232 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20233 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20234 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20235 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20236 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20237 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20238 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20239 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20240 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20241 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20242 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20243 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20244 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20245 Likewise.
20246 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20247 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20249 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20250 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20252 Likewise.
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20254 Likewise.
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20256 Likewise.
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20258 Likewise.
20259
20260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20261 Likewise.
20262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20263 Likewise.
20264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20265 Likewise.
20266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20267 Likewise.
20268 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20269 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20270 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20271 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20272 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20273 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20274 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20275 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20276 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20277 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20279 Likewise.
20280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20281 Likewise.
20282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20283 Likewise.
20284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20285 Likewise.
20286 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20287 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20288 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20289 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20290 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20291 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20292 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20293 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20294
5244527d
JM
202952017-12-06 Joseph Myers <joseph@codesourcery.com>
20296
fb1ca2aa
JM
20297 * stdlib/strtof.c: Include <bits/floatn.h>
20298 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20299 and later undefine as macro. Define as weak alias if
20300 [!USE_WIDE_CHAR].
20301 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20302 and later undefine as macro. Define as weak alias if
20303 [USE_WIDE_CHAR].
20304 * stdlib/strtof_l.c: Include <bits/floatn.h>
20305 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20306 and later undefine as macro. Define as weak alias if
20307 [!USE_WIDE_CHAR].
20308 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20309 and later undefine as macro. Define as weak alias if
20310 [USE_WIDE_CHAR].
20311
fc10cc3f
JM
20312 * stdlib/strfromf.c: Include <bits/floatn.h>.
20313 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20314 and later undefine as macro and define as weak alias.
20315
e420d228
JM
20316 * math/test-float32.h: New file.
20317
26007a2f
JM
20318 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20319 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20320 (libm_alias_float_other_r): Create f32 alias.
20321 (libm_alias_float_r): Use semicolon before call to
20322 libm_alias_float_other_r.
20323
c191f64c
JM
20324 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20325 second argument to libm_alias_float_other.
20326 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20327 second argument to libm_alias_float_other.
20328 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20329 argument to libm_alias_float_other.
20330
5244527d
JM
20331 [BZ #22561]
20332 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20333 real part of result for argument 0 + i * NaN.
20334 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20335 results for tests of 0 + i * NaN.
20336
d73fac82
AZ
203372017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20338
20339 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20340
7ec094e8
DM
203412017-12-06 David S. Miller <davem@davemloft.net>
20342
20343 * sysdeps/sparc/fpu/libm-test-ulps: Update
20344 exp_{downward,towardzero,upward} ulps.
20345
53994f12
JM
203462017-12-06 Joseph Myers <joseph@codesourcery.com>
20347
1dbe6f64
JM
20348 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20349 variables static.
20350
53994f12
JM
20351 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20352 (Y0_2D): Likewise.
20353 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20354 (Y0_2D): Likewise.
20355 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20356 (Y0_2D): Likewise.
20357 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20358 (Y0_2D): Likewise.
20359
62ea2193
MF
203602017-12-06 Mike FABIAN <mfabian@redhat.com>
20361
20362 [BZ #22515]
20363 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20364 and to the list of locales to be built for testing.
20365 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20366 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20367 and build the collation rules upon that.
20368
87235d70
RS
203692017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20370
20371 * NEWS: Add sinf to list of optimized functions.
20372
0d93b7fd
JM
203732017-12-06 Joseph Myers <joseph@codesourcery.com>
20374
20375 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20376 (__HAVE_FLOAT32X): Likewise.
20377 * manual/math.texi (Mathematics): Document support for _Float64
20378 and _Float32x.
20379 * math/Makefile (test-types): Add float64 and float32x.
20380 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20381 functions.
20382 * stdlib/Versions (GLIBC_2.27): Likewise.
20383 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20384 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20385 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20386 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20387 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20388 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20389 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20390 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20391 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20392 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20393 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20394 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20395 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20396 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20397 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20398 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20399 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20400 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20401 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20402 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20403 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20404 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20405 Likewise.
20406 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20407 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20408 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20409 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20410 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20412 Likewise.
20413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20414 Likewise.
20415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20416 Likewise.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20418 Likewise.
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20420 Likewise.
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20422 Likewise.
20423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20424 Likewise.
20425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20426 Likewise.
20427 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20428 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20430 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20431 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20432 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20433 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20434 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20435 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20436 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20438 Likewise.
20439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20440 Likewise.
20441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20442 Likewise.
20443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20444 Likewise.
20445 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20446 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20447 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20448 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20449 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20450 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20451 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20452 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20453
f7787234
JM
204542017-12-05 Joseph Myers <joseph@codesourcery.com>
20455
20456 * bits/floatn-common.h: Include <bits/long-double.h>.
20457 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20458 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20459 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20460 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20461 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20462 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20463 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20464 (__builtin_huge_valf64): Use __builtin_huge_vall.
20465 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20466 (__builtin_inff64): Use __builtin_infl.
20467 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20468 (__builtin_nanf64): Use __builtin_nanl.
20469 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20470 (__builtin_nansf64): Use __builtin_nansl.
20471
363e4519
DL
204722017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20473 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 20474 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
20475
20476 * elf/dl-tunables.list: Add elision parameters.
20477 * manual/tunables.texi: Add entries about elision tunable.
20478 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20479 Add callback functions to dynamically enable/disable elision.
20480 Add multiple callbacks functions to set elision parameters.
20481 Deleted __libc_enable_secure check.
20482 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20483 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20484 * configure: Regenerated.
20485 * configure.ac: Option enable_lock_elision was deleted.
20486 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20487 * config.make.in: Remove references to enable_lock_elision.
20488 * manual/install.texi: Elision configure option was removed.
20489 * INSTALL: Regenerated to remove enable_lock_elision.
20490 * nptl/Makefile:
20491 Disable elision so it can verify error case for destroying a mutex.
20492 * sysdeps/powerpc/nptl/elide.h:
20493 Cleanup ENABLE_LOCK_ELISION check.
20494 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20495 * sysdeps/s390/configure: Regenerated.
20496 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20497 * nptl/tst-mutex8.c:
20498 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20499 * sysdeps/powerpc/powerpc32/sysdep.h:
20500 Deleted all ENABLE_LOCK_ELISION checks.
20501 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20502 * sysdeps/powerpc/sysdep.h: Likewise.
20503 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20504 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20505 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20506 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20507 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20508 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20509 enable-lock-elision.
20510
a5a2a76b
JM
205112017-12-05 Joseph Myers <joseph@codesourcery.com>
20512
20513 * stdlib/strtod.c: Include <bits/floatn.h>.
20514 (BUILD_DOUBLE): New macro.
20515 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20516 (strtof64): Define and later undefine as macro. Define as weak
20517 alias if [!USE_WIDE_CHAR].
20518 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20519 (wcstof64): Define and later undefine as macro. Define as weak
20520 alias if [USE_WIDE_CHAR].
20521 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20522 (strtof32x): Define and later undefine as macro. Define as weak
20523 alias if [!USE_WIDE_CHAR].
20524 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20525 (wcstof32x): Define and later undefine as macro. Define as weak
20526 alias if [USE_WIDE_CHAR].
20527 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20528 (BUILD_DOUBLE): New macro.
20529 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20530 (strtof64_l): Define and later undefine as macro. Define as weak
20531 alias if [!USE_WIDE_CHAR].
20532 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20533 (wcstof64_l): Define and later undefine as macro. Define as weak
20534 alias if [USE_WIDE_CHAR].
20535 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20536 (strtof32x_l): Define and later undefine as macro. Define as weak
20537 alias if [!USE_WIDE_CHAR].
20538 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20539 (wcstof32x_l): Define and later undefine as macro. Define as weak
20540 alias if [USE_WIDE_CHAR].
20541
94d80dfc
AZ
205422017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20543
20544 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20545 (reduced): Use ones as double instead of integer.
20546
00d54af7
SN
205472017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20548
20549 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20550
f2d64d62
JM
205512017-12-05 Joseph Myers <joseph@codesourcery.com>
20552
1f70eae4
JM
20553 * stdlib/strfromd.c: Include <bits/floatn.h>.
20554 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20555 and later undefine as macro and define as weak alias.
20556 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20557 Likewise.
20558
e2c4dce5
JM
20559 * math/test-float32x.h: New file.
20560 * math/test-float64.h: Likewise.
20561
f2d64d62
JM
20562 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20563 (libm_alias_double_other_r_f64): New macro.
20564 (libm_alias_double_other_r_f32x): Likewise.
20565 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20566 libm_alias_double_other_r_f32x.
20567 (libm_alias_double_r): Use semicolon before call to
20568 libm_alias_double_other_r.
20569 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20570 <bits/floatn.h>.
20571 (libm_alias_double_other_r_f64): New macro.
20572 (libm_alias_double_other_r_f32x): Likewise.
20573 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20574 libm_alias_double_other_r_f32x.
20575
91c318e7
L
205762017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20577
20578 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20579 int.
20580 (SINF_FUNC): Likewise. Replace floor with simple casts.
20581
de9661d6
MF
205822017-12-05 Mike FABIAN <mfabian@redhat.com>
20583
20584 [BZ #22517]
20585 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20586 and to the list of locales to be built for testing.
20587 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20588 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20589 and build the collation rules upon that.
20590
f18b8dc7
CM
205912017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20592
20593 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20594 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20595 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20596 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20597 instead of __insn__xxx.
20598 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20599 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20600 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20601 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20602 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20603 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20604
446d22e9
FW
206052017-12-05 Florian Weimer <fweimer@redhat.com>
20606
20607 Linux: Implement interfaces for memory protection keys
20608 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20609 xsignal, xsysconf.
20610 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20611 * support/xunistd.h (xsysconf): Declare.
20612 * support/xraise.c: New file.
20613 * support/xsigaction.c: Likewise.
20614 * support/xsignal.c: Likewise.
20615 * support/xsysconf.c: Likewise.
20616 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20617 pkey_set, pkey_get, pkey_mprotect.
20618 [misc] (tests): Add tst-pkey.
20619 (tst-pkey): Link with -lpthread.
20620 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20621 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20622 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20623 (PKEY_DISABLE_WRITE): Define.
20624 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20625 Declare.
20626 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20627 (SEGV_PKUERR): Add.
20628 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20629 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20630 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20631 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20632 Add.
20633 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20634 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20635 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20636 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20637 * sysdeps/unix/sysv/linux/**.abilist: Update.
20638
da616c14
FW
206392017-12-05 Florian Weimer <fweimer@redhat.com>
20640
20641 * support/tst-test_compare.c (subprocess): Use long long instead
20642 of long argument for consistent type width across 32-bit and
20643 64-bit architectures.
20644 (do_test): Adjust expected output.
20645
216933b2
JM
206462017-12-05 Joseph Myers <joseph@codesourcery.com>
20647
20648 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20649 (cosf): Define using libm_alias_float.
20650 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20651 (fabsf): Define using libm_alias_float.
20652 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20653 (fmaf): Define using libm_alias_float.
20654 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20655 (rintf): Define using libm_alias_float.
20656 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20657 (sinf): Define using libm_alias_float.
20658 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20659 <libm-alias-float.h>.
20660 (modff): Define using libm_alias_float.
20661 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20662 <libm-alias-float.h>.
20663 (logbf): Define using libm_alias_float.
20664 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20665 <libm-alias-float.h>.
20666 (ceilf): Define using libm_alias_float.
20667 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20668 <libm-alias-float.h>.
20669 (copysignf): Define using libm_alias_float.
20670 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20671 <libm-alias-float.h>.
20672 (floorf): Define using libm_alias_float.
20673 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20674 <libm-alias-float.h>.
20675 (llrintf): Define using libm_alias_float.
20676 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20677 <libm-alias-float.h>.
20678 (llroundf): Define using libm_alias_float.
20679 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20680 <libm-alias-float.h>.
20681 (lrintf): Define using libm_alias_float.
20682 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20683 <libm-alias-float.h>.
20684 (lroundf): Define using libm_alias_float.
20685 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20686 <libm-alias-float.h>.
20687 (nearbyintf): Define using libm_alias_float.
20688 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20689 <libm-alias-float.h>.
20690 (rintf): Define using libm_alias_float.
20691 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20692 <libm-alias-float.h>.
20693 (roundf): Define using libm_alias_float.
20694 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20695 <libm-alias-float.h>.
20696 (truncf): Define using libm_alias_float.
20697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20698 Include <libm-alias-float.h>.
20699 (ceilf): Define using libm_alias_float.
20700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20701 Include <libm-alias-float.h>.
20702 (copysignf): Define using libm_alias_float.
20703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20704 Include <libm-alias-float.h>.
20705 (floorf): Define using libm_alias_float.
20706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20707 Include <libm-alias-float.h>.
20708 (llrintf): Define using libm_alias_float.
20709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20710 Include <libm-alias-float.h>.
20711 (llroundf): Define using libm_alias_float.
20712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20713 Include <libm-alias-float.h>.
20714 (logbf): Define using libm_alias_float.
20715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20716 Include <libm-alias-float.h>.
20717 (lrintf): Define using libm_alias_float.
20718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20719 Include <libm-alias-float.h>.
20720 (lroundf): Define using libm_alias_float.
20721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20722 Include <libm-alias-float.h>.
20723 (modff): Define using libm_alias_float.
20724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20725 Include <libm-alias-float.h>.
20726 (roundf): Define using libm_alias_float.
20727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20728 Include <libm-alias-float.h>.
20729 (truncf): Define using libm_alias_float.
20730 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20731 <libm-alias-float.h>.
20732 (llrintf): Define using libm_alias_float.
20733 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20734 <libm-alias-float.h>.
20735 (llroundf): Define using libm_alias_float.
20736 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20737 <libm-alias-float.h>.
20738 (ceilf): Define using libm_alias_float.
20739 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20740 <libm-alias-float.h>.
20741 (floorf): Define using libm_alias_float.
20742 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20743 <libm-alias-float.h>.
20744 (llroundf): Define using libm_alias_float.
20745 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20746 <libm-alias-float.h>.
20747 (lroundf): Define using libm_alias_float.
20748 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20749 <libm-alias-float.h>.
20750 (roundf): Define using libm_alias_float.
20751 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20752 <libm-alias-float.h>.
20753 (truncf): Define using libm_alias_float.
20754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20755 <libm-alias-float.h>.
20756 (copysignf): Define using libm_alias_float.
20757 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20758 <libm-alias-float.h>.
20759 (llrintf): Define using libm_alias_float.
20760 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20761 <libm-alias-float.h>.
20762 (llroundf): Define using libm_alias_float.
20763 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20764 <libm-alias-float.h>.
20765 (lrintf): Define using libm_alias_float.
20766 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20767 <libm-alias-float.h>.
20768 (lroundf): Define using libm_alias_float.
20769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20770 <libm-alias-float.h>.
20771 (ceilf): Define using libm_alias_float.
20772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20773 <libm-alias-float.h>.
20774 (copysignf): Define using libm_alias_float.
20775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20776 <libm-alias-float.h>.
20777 (cosf): Define using libm_alias_float.
20778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20779 <libm-alias-float.h>.
20780 (floorf): Define using libm_alias_float.
20781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20782 <libm-alias-float.h>.
20783 (llrintf): Define using libm_alias_float.
20784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20785 <libm-alias-float.h>.
20786 (llroundf): Define using libm_alias_float.
20787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20788 <libm-alias-float.h>.
20789 (logbf): Define using libm_alias_float.
20790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20791 <libm-alias-float.h>.
20792 (modff): Define using libm_alias_float.
20793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20794 <libm-alias-float.h>.
20795 (roundf): Define using libm_alias_float.
20796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20797 <libm-alias-float.h>.
20798 (sinf): Define using libm_alias_float.
20799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20800 <libm-alias-float.h>.
20801 (truncf): Define using libm_alias_float.
20802 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20803 <libm-alias-float.h>.
20804 (ceilf): Define using libm_alias_float.
20805 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20806 <libm-alias-float.h>.
20807 (copysignf): Define using libm_alias_float.
20808 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20809 <libm-alias-float.h>.
20810 (floorf): Define using libm_alias_float.
20811 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20812 <libm-alias-float.h>.
20813 (llrintf): Define using libm_alias_float.
20814 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20815 <libm-alias-float.h>.
20816 (llroundf): Define using libm_alias_float.
20817 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20818 <libm-alias-float.h>.
20819 (nearbyintf): Define using libm_alias_float.
20820 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20821 <libm-alias-float.h>.
20822 (rintf): Define using libm_alias_float.
20823 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20824 <libm-alias-float.h>.
20825 (roundf): Define using libm_alias_float.
20826 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20827 <libm-alias-float.h>.
20828 (truncf): Define using libm_alias_float.
20829 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20830 <libm-alias-float.h>.
20831 (ceilf): Define using libm_alias_float.
20832 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20833 <libm-alias-float.h>.
20834 (floorf): Define using libm_alias_float.
20835 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20836 <libm-alias-float.h>.
20837 (llroundf): Define using libm_alias_float.
20838 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20839 <libm-alias-float.h>.
20840 (roundf): Define using libm_alias_float.
20841 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20842 <libm-alias-float.h>.
20843 (truncf): Define using libm_alias_float.
20844 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20845 <libm-alias-float.h>.
20846 (copysignf): Define using libm_alias_float.
20847 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20848 <libm-alias-float.h>.
20849 (llrintf): Define using libm_alias_float.
20850 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20851 <libm-alias-float.h>.
20852 (llroundf): Define using libm_alias_float.
20853 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20854 <libm-alias-float.h>.
20855 (cosf): Define using libm_alias_float.
20856 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20857 <libm-alias-float.h>.
20858 (llrintf): Define using libm_alias_float.
20859 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20860 <libm-alias-float.h>.
20861 (llroundf): Define using libm_alias_float.
20862 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20863 <libm-alias-float.h>.
20864 (sinf): Define using libm_alias_float.
20865
93485524
FW
208662017-12-04 Florian Weimer <fweimer@redhat.com>
20867
20868 * support/check.h (TEST_COMPARE): Define.
20869 (support_test_compare_failure): Declare.
20870 * support/Makefile (libsupport-routines): Add
20871 support_test_compare_failure.
20872 (tests): Add tst-test_compare.
20873 * support /support_test_compare_failure.c: New file.
20874 * support/tst-test_compare.c: Likewise.
20875
96b06a19
MF
208762017-12-04 Mike FABIAN <mfabian@redhat.com>
20877
20878 [BZ #22527]
20879 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20880 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20881 available, this rewrite of the collation rules does reproduce
20882 the test file in the same order.
20883
1f6d91f3
MF
208842017-12-04 Mike FABIAN <mfabian@redhat.com>
20885
20886 [BZ #10580]
20887 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20888 digraphs in the month and day names. Using single code points for
20889 digraphs is deprecated. While there are dedicated Unicode
20890 codepoints, for the digraphs, these are included for backwards
20891 compatibility and modern texts use a sequence of Basic Latin
20892 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20893 This makes the month and day names agree exactly with CLDR now,
20894 CLDR does not use the single code points for the digraphs either.
20895
2e49fed8
CM
208962017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20897
20898 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20899
73895b49
JM
209002017-12-04 Joseph Myers <joseph@codesourcery.com>
20901
20902 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20903 of floor.
20904
4c1d801a
SP
209052017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20906
20907 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20908 Define only for libc.so.
20909
478593e6
SL
209102017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20911
20912 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20913 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 20914 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
20915 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20917
7863a711
RS
209182017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20919
20920 [BZ #5997]
20921 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20922
800a496a
JDA
209232017-12-02 John David Anglin <danglin@gcc.gnu.org>
20924
b3f7fb12
JDA
20925 [BZ libc/19170]
20926 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20927 PREINIT_FUNCTION_WEAK is nonzero.
20928 (gmon_initializer): New function. Put procedure label for it in
20929 .init_array section.
20930 (_init): Don't call PREINIT_FUNCTION.
20931 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20932 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20933 value when map argument is null.
20934
800a496a
JDA
20935 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20936 depi instruction from PIC pc-relative sequence.
20937 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20938 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20939 (elf_machine_load_address): Likewise.
20940 (elf_machine_runtime_setup): Likewise.
20941
d17542d2
JM
209422017-12-02 Joseph Myers <joseph@codesourcery.com>
20943
20944 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20945 <libm-alias-double.h>.
20946 (logb): Define using libm_alias_double.
20947 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20948 <libm-alias-double.h>.
20949 (copysign): Define using libm_alias_double.
20950 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20951 <libm-alias-double.h>.
20952 (llrint): Define using libm_alias_double.
20953 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20954 <libm-alias-double.h>.
20955 (llround): Define using libm_alias_double.
20956 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20957 <libm-alias-double.h>.
20958 (lrint): Define using libm_alias_double.
20959 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20960 <libm-alias-double.h>.
20961 (lround): Define using libm_alias_double.
20962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20963 Include <libm-alias-double.h>.
20964 (copysign): Define using libm_alias_double.
20965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20966 Include <libm-alias-double.h>.
20967 (llrint): Define using libm_alias_double.
20968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20969 Include <libm-alias-double.h>.
20970 (llround): Define using libm_alias_double.
20971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20972 <libm-alias-double.h>.
20973 (logb): Define using libm_alias_double.
20974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20975 Include <libm-alias-double.h>.
20976 (lrint): Define using libm_alias_double.
20977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20978 Include <libm-alias-double.h>.
20979 (lround): Define using libm_alias_double.
20980 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20981 <libm-alias-double.h>.
20982 (llrint): Define using libm_alias_double.
20983 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20984 <libm-alias-double.h>.
20985 (llround): Define using libm_alias_double.
20986 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20987 <libm-alias-double.h>.
20988 (llround): Define using libm_alias_double.
20989 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20990 <libm-alias-double.h>.
20991 (lround): Define using libm_alias_double.
20992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20993 <libm-alias-double.h>.
20994 (copysign): Define using libm_alias_double.
20995 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20996 <libm-alias-double.h>.
20997 (llrint): Define using libm_alias_double.
20998 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20999 <libm-alias-double.h>.
21000 (llround): Define using libm_alias_double.
21001 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21002 <libm-alias-double.h>.
21003 (lrint): Define using libm_alias_double.
21004 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21005 <libm-alias-double.h>.
21006 (lround): Define using libm_alias_double.
21007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21008 <libm-alias-double.h>.
21009 (copysign): Define using libm_alias_double.
21010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21011 <libm-alias-double.h>.
21012 (llrint): Define using libm_alias_double.
21013 (lrint): Likewise.
21014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21015 <libm-alias-double.h>.
21016 (llround): Define using libm_alias_double.
21017 (lround): Likewise.
21018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21019 <libm-alias-double.h>.
21020 (logb): Define using libm_alias_double.
21021 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21022 <libm-alias-double.h>.
21023 (copysign): Define using libm_alias_double.
21024 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21025 <libm-alias-double.h>.
21026 (llrint): Define using libm_alias_double.
21027 (lrint): Likewise.
21028 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21029 <libm-alias-double.h>.
21030 (llround): Define using libm_alias_double.
21031 (lround): Likewise.
21032 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21033 <libm-alias-double.h>.
21034 (llround): Define using libm_alias_double.
21035 (lround): Likewise.
21036 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21037 <libm-alias-double.h>.
21038 (copysign): Define using libm_alias_double.
21039 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21040 <libm-alias-double.h>.
21041 (llrint): Define using libm_alias_double.
21042 (lrint): Likewise.
21043 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21044 <libm-alias-double.h>.
21045 (llround): Define using libm_alias_double.
21046 (lround): Likewise.
21047 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21048 <libm-alias-double.h>.
21049 (llrint): Define using libm_alias_double.
21050 (lrint): Likewise.
21051 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21052 <libm-alias-double.h>.
21053 (llround): Define using libm_alias_double.
21054 (lround): Likewise.
21055
ec2cf3f4
JM
210562017-12-01 Joseph Myers <joseph@codesourcery.com>
21057
0ddde474
JM
21058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21059 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21060 compat symbol based on llround.
21061
0d5ba561
JM
21062 * sysdeps/powerpc/power7/fpu/s_logb.c
21063 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21064 symbol based on __logb, not on logb.
21065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21066 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21068 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21069
51ea3b20
JM
21070 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21071 (rint): Define using libm_alias_double.
21072 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21073 <libm-alias-double.h>.
21074 (modf): Define using libm_alias_double.
21075 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21076 <libm-alias-double.h>.
21077 (ceil): Define using libm_alias_double.
21078 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21079 <libm-alias-double.h>.
21080 (floor): Define using libm_alias_double.
21081 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21082 <libm-alias-double.h>.
21083 (nearbyint): Define using libm_alias_double.
21084 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21085 <libm-alias-double.h>.
21086 (rint): Define using libm_alias_double.
21087 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21088 <libm-alias-double.h>.
21089 (round): Define using libm_alias_double.
21090 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21091 <libm-alias-double.h>.
21092 (trunc): Define using libm_alias_double.
21093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21094 <libm-alias-double.h>.
21095 (ceil): Define using libm_alias_double.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21097 Include <libm-alias-double.h>.
21098 (floor): Define using libm_alias_double.
21099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21100 <libm-alias-double.h>.
21101 (modf): Define using libm_alias_double.
21102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21103 Include <libm-alias-double.h>.
21104 (round): Define using libm_alias_double.
21105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21106 Include <libm-alias-double.h>.
21107 (trunc): Define using libm_alias_double.
21108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21109 <libm-alias-double.h>.
21110 (ceil): Define using libm_alias_double.
21111 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21112 <libm-alias-double.h>.
21113 (floor): Define using libm_alias_double.
21114 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21115 <libm-alias-double.h>.
21116 (round): Define using libm_alias_double.
21117 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21118 <libm-alias-double.h>.
21119 (trunc): Define using libm_alias_double.
21120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21121 <libm-alias-double.h>.
21122 (ceil): Define using libm_alias_double.
21123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21124 <libm-alias-double.h>.
21125 (floor): Define using libm_alias_double.
21126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21127 <libm-alias-double.h>.
21128 (modf): Define using libm_alias_double.
21129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21130 <libm-alias-double.h>.
21131 (round): Define using libm_alias_double.
21132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21133 <libm-alias-double.h>.
21134 (trunc): Define using libm_alias_double.
21135 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21136 <libm-alias-double.h>.
21137 (ceil): Define using libm_alias_double.
21138 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21139 <libm-alias-double.h>.
21140 (floor): Define using libm_alias_double.
21141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21142 <libm-alias-double.h>.
21143 (nearbyint): Define using libm_alias_double.
21144 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21145 <libm-alias-double.h>.
21146 (rint): Define using libm_alias_double.
21147 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21148 <libm-alias-double.h>.
21149 (round): Define using libm_alias_double.
21150 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21151 <libm-alias-double.h>.
21152 (trunc): Define using libm_alias_double.
21153 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21154 <libm-alias-double.h>.
21155 (ceil): Define using libm_alias_double.
21156 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21157 <libm-alias-double.h>.
21158 (floor): Define using libm_alias_double.
21159 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21160 <libm-alias-double.h>.
21161 (round): Define using libm_alias_double.
21162 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21163 <libm-alias-double.h>.
21164 (trunc): Define using libm_alias_double.
21165
ec2cf3f4
JM
21166 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21167 (fabs): Define using libm_alias_double.
21168 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21169 (fma): Define using libm_alias_double.
21170 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21171 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21172 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21173 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21174
5b7bd975
AZ
211752017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21176
0594b13f
AZ
21177 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21178
dbdfcf3b
AZ
21179 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21180 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21181 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21182
5b7bd975
AZ
21183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21184 due redirect macro.
21185
ef9ecfa6
AS
211862017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21187
21188 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21189
5b4e5e78
AZ
211902017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21191
2a14526b
AZ
21192 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21193 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21194 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21195 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21196
dbeb74ef 21197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
21198 (libm-sysdep_routines): Add s_nearbyintf-generic and
21199 s_nearbyint-generic.
21200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21201 New file.
21202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21204 Likewise.
21205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21206 Likewise.
21207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21208 file.
21209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21210 Likewise.
21211
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
21213 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21215 file.
21216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21218 Likewise.
21219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21222
fa7ded96
AZ
21223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21224 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21226 file.
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21229 Likewise.
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21233
e240cf0e
AZ
21234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21235 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21237 file.
21238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21240 Likewise.
21241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21244
5b4e5e78
AZ
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21246 (sysdep_calls): New rule.
21247 (sysdep_routines): Use sysdep_calls as base.
21248 (libm-sysdep_routines): Add generic rule for symbols shared with
21249 libc. Add s_copysign-generic and s_copysign-generic objects.
21250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21251 New file.
21252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21254 Likewise.
21255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21258
d985adae
MF
212592017-12-01 Mike FABIAN <mfabian@redhat.com>
21260
21261 [BZ #22519]
21262 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21263 the list of locales to be built for testing.
21264 * localedata/is_IS.UTF-8.in: New file.
21265 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21266 on iso14651_t1.
21267
ff84a0e0
JM
212682017-12-01 Joseph Myers <joseph@codesourcery.com>
21269
21270 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21271 <libm-alias-float.h>.
21272 (fabsf): Define using libm_alias_float.
21273
ef5d8b43
L
212742017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21275
21276 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21277
c0535adf
JM
212782017-11-30 Joseph Myers <joseph@codesourcery.com>
21279
f938b397
JM
21280 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21281 <libm-alias-float.h>.
21282 (fabsf): Define using libm_alias_float.
21283 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21284 <libm-alias-float.h>.
21285 (lrintf): Define using libm_alias_float.
21286 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21287 <libm-alias-float.h>.
21288 (rintf): Define using libm_alias_float.
21289
2251fad0
JM
21290 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21291 <libm-alias-double.h>.
21292 (fabs): Define using libm_alias_double.
21293 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21294 <libm-alias-double.h>.
21295 (lrint): Define using libm_alias_double.
21296 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21297 <libm-alias-double.h>.
21298 (rint): Define using libm_alias_double.
21299
e53df1de
JM
21300 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21301 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21302 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21303 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21304 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21305 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21306 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21307 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21308 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21309 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21310 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21311 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21312 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21313 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21314 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21315 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21316 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21317 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21318 s_atan_template.c.
21319 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21320 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21321 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21322 s_ceil_template.c.
21323 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21324 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21325 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21326 s_cos_template.c.
21327 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21328 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21329 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21330 s_expm1_template.c.
21331 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21332 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21333 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21334 s_fabs_template.c.
21335 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21336 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21337 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21338 s_floor_template.c.
21339 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21340 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21341 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21342 s_frexp_template.c.
21343 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21344 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21345 s_lrint_template.c.
21346 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21347 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21348 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21349 s_modf_template.c.
21350 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21351 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21352 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21353 s_nearbyint_template.c.
21354 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21355 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21356 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21357 s_remquo_template.c.
21358 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21359 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21360 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21361 s_rint_template.c.
21362 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21363 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21364 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21365 s_sin_template.c.
21366 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21367 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21368 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21369 s_sincos_template.c.
21370 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21371 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21372 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21373 s_tan_template.c.
21374 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21375 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21376 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21377 s_tanh_template.c.
21378 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21379 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21380 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21381 s_trunc_template.c.
21382 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21383 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21384 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21385 s_atan.c instead of including s_atan.c.
21386 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21387 s_atanf.c instead of including s_atanf.c.
21388 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21389 s_atanl.c instead of including s_atanl.c.
21390 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21391 instead of s_atan.c.
21392 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21393 instead of s_atanf.c.
21394 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21395 instead of s_atanl.c.
21396
c0535adf
JM
21397 * scripts/update-copyrights: Do not handle intl/plural.c
21398 specially.
21399
1faaf703
JB
214002017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21401
21402 [BZ #22432]
21403 * configure.ac (BISON): Require to be present.
21404 * configure: Regenerated.
21405 * intl/Makefile (generated): Add plural.c.
21406 [$(BISON) != no]: Make code unconditional.
21407 (plural.c): Change rule to $(objpfx)plural.c.
21408 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21409 * intl/plural.c: Remove.
21410 * manual/install.texi (Tools for Compilation): Document bison as
21411 required.
21412 * INSTALL: Regenerated.
21413
faec6323
JM
214142017-11-30 Joseph Myers <joseph@codesourcery.com>
21415
bd6ea9ed
JM
21416 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21417 <libm-alias-double.h>.
21418 (llrint): Define using libm_alias_double.
21419 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21420 <libm-alias-float.h>.
21421 (llrintf): Define using libm_alias_float.
21422 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21423 <libm-alias-ldouble.h>.
21424 (llrintl): Define using libm_alias_ldouble.
21425
faec6323
JM
21426 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21427 declare_mgen_alias instead of weak_alias.
21428 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21429 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21430 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21431
023cade3
AZ
214322017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21433
9e2279a0
AZ
21434 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21435 Add add_n-generic.
21436 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21437 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21438 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21439
75f37c71
AZ
21440 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21441 Add submul_1-generic.
21442 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21443 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21444 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21445
b70cbbfc 21446 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
21447 Add addmul_1-generic.
21448 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21449 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21450 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21451
21452 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
21453 Add sub_n-generic.
21454 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21455 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21456 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21457
023cade3
AZ
21458 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21459 Add mul_1-generic.
21460 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21461 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21462 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21463
fbb5fd03
MF
214642017-11-30 Mike FABIAN <mfabian@redhat.com>
21465
21466 According to CLDR, collation rules for Serbian and Bosnian
21467 should be the same as for Croatian.
21468
21469 [BZ #22534]
21470 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21471 and to the list of locales to be built for testing.
21472 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21473 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21474 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21475 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21476
5e56e937
MF
214772017-11-30 Mike FABIAN <mfabian@redhat.com>
21478
21479 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21480 to make test case pass.
21481 * localedata/hr_HR.UTF-8.in: Add more test strings.
21482
cf4341ca
MF
214832017-11-30 Mike FABIAN <mfabian@redhat.com>
21484
21485 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21486
363e4519 214872017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
21488
21489 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21490 the list of locales to built for testing.
21491 * localedata/hr_HR.UTF-8.in: New file.
21492
363e4519 214932017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
21494
21495 [BZ #10580]
21496 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21497 iso14651_t1.
21498 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21499 CLDR (except use ligatures for the digraphs, CLDR does not use
21500 the ligatures), add first_workday, some fixes in the date and time
21501 formats.
21502 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21503 for Đ and đ.
21504 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21505 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21506 Add int_p_cs_precedes and int_n_cs_precedes.
21507 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21508 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21509 LC_MONETARY now).
21510 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21511 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21512 name_miss.
21513 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21514 and lang_lib. Change postal_fmt.
21515
f33632cc
L
215162017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21517
21518 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21519 <setjmp.h>.
21520 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21521 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21522 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21523 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21524 * sysdeps/generic/setjmpP.h: New file.
21525 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21526 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21527 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21528 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21529 Add jmp_buf-ssp.sym.
21530 (tests): Add tst-saved_mask-1.
21531
34697694
AS
215322017-11-30 Arjun Shankar <arjun@redhat.com>
21533
21534 [BZ #22375]
37ac8e63 21535 CVE-2017-17426
34697694
AS
21536 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21537 instead of request2size.
21538
3e5efdbd
JM
215392017-11-30 Joseph Myers <joseph@codesourcery.com>
21540
18305fba
JM
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21542 (__lllrint): Remove alias.
21543 (lllrint): Likewise.
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21545 (__lllrintf): Likewise.
21546 (lllrintf): Likewise.
21547
3e5efdbd
JM
21548 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21549 <libm-alias-float.h>.
21550 (copysignf): Define using libm_alias_float.
21551 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21552 <libm-alias-float.h>.
21553 (fabsf): Define using libm_alias_float.
21554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21555 Include <libm-alias-float.h>.
21556 (copysignf): Define using libm_alias_float.
21557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21558 <libm-alias-float.h>.
21559 (fabsf): Define using libm_alias_float.
21560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21561 <libm-alias-float.h>.
21562 (fdimf): Define using libm_alias_float.
21563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21564 <libm-alias-float.h>.
21565 (fmaf): Define using libm_alias_float.
21566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21567 <libm-alias-float.h>.
21568 (llrintf): Define using libm_alias_float.
21569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21570 Include <libm-alias-float.h>.
21571 (nearbyintf): Define using libm_alias_float.
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21573 <libm-alias-float.h>.
21574 (rintf): Define using libm_alias_float.
21575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21576 <libm-alias-float.h>.
21577 (llrintf): Define using libm_alias_float.
21578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21579 <libm-alias-float.h>.
21580 (lrintf): Define using libm_alias_float.
21581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21582 <libm-alias-float.h>.
21583 (nearbyintf): Define using libm_alias_float.
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21585 <libm-alias-float.h>.
21586 (rintf): Define using libm_alias_float.
21587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21588 <libm-alias-float.h>.
21589 (ceilf): Define using libm_alias_float.
21590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21591 <libm-alias-float.h>.
21592 (floorf): Define using libm_alias_float.
21593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21594 <libm-alias-float.h>.
21595 (fmaf): Define using libm_alias_float.
21596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21597 <libm-alias-float.h>.
21598 (lrintf): Define using libm_alias_float.
21599 (llrintf): Likewise.
21600 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21601 <libm-alias-float.h>.
21602 (nearbyintf): Define using libm_alias_float.
21603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21604 <libm-alias-float.h>.
21605 (rintf): Define using libm_alias_float.
21606 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21607 <libm-alias-float.h>.
21608 (truncf): Define using libm_alias_float.
21609 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21610 <libm-alias-float.h>.
21611 (copysignf): Define using libm_alias_float.
21612 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21613 <libm-alias-float.h>.
21614 (fabsf): Define using libm_alias_float.
21615 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21616 <libm-alias-float.h>.
21617 (lrintf): Define using libm_alias_float.
21618 (llrintf): Likewise.
21619 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21620 <libm-alias-float.h>.
21621 (nearbyintf): Define using libm_alias_float.
21622 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21623 <libm-alias-float.h>.
21624 (rintf): Define using libm_alias_float.
21625
011fba7e
JM
216262017-11-29 Joseph Myers <joseph@codesourcery.com>
21627
875cd548
JM
21628 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21629 <libm-alias-double.h>.
21630 (copysign): Define using libm_alias_double.
21631 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21632 <libm-alias-double.h>.
21633 (fabs): Define using libm_alias_double.
21634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21635 Include <libm-alias-double.h>.
21636 (copysign): Define using libm_alias_double.
21637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21638 <libm-alias-double.h>.
21639 (fabs): Define using libm_alias_double.
21640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21641 <libm-alias-double.h>.
21642 (fdim): Define using libm_alias_double.
21643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21644 <libm-alias-double.h>.
21645 (fma): Define using libm_alias_double.
21646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21647 <libm-alias-double.h>.
21648 (llrint): Define using libm_alias_double.
21649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21650 Include <libm-alias-double.h>.
21651 (nearbyint): Define using libm_alias_double.
21652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21653 <libm-alias-double.h>.
21654 (rint): Define using libm_alias_double.
21655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21656 <libm-alias-double.h>.
21657 (fabs): Define using libm_alias_double.
21658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21659 <libm-alias-double.h>.
21660 (llrint): Define using libm_alias_double.
21661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21662 <libm-alias-double.h>.
21663 (nearbyint): Define using libm_alias_double.
21664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21665 <libm-alias-double.h>.
21666 (rint): Define using libm_alias_double.
21667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21668 <libm-alias-double.h>.
21669 (ceil): Define using libm_alias_double.
21670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21671 <libm-alias-double.h>.
21672 (floor): Define using libm_alias_double.
21673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21674 <libm-alias-double.h>.
21675 (fma): Define using libm_alias_double.
21676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21677 <libm-alias-double.h>.
21678 (lrint): Define using libm_alias_double.
21679 (llrint): Likewise.
21680 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21681 <libm-alias-double.h>.
21682 (nearbyint): Define using libm_alias_double.
21683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21684 <libm-alias-double.h>.
21685 (rint): Define using libm_alias_double.
21686 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21687 <libm-alias-double.h>.
21688 (trunc): Define using libm_alias_double.
21689 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21690 <libm-alias-double.h>.
21691 (copysign): Define using libm_alias_double.
21692 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21693 <libm-alias-double.h>.
21694 (fabs): Define using libm_alias_double.
21695 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21696 <libm-alias-double.h>.
21697 (lrint): Define using libm_alias_double.
21698 (llrint): Likewise.
21699 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21700 <libm-alias-double.h>.
21701 (nearbyint): Define using libm_alias_double.
21702 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21703 <libm-alias-double.h>.
21704 (rint): Define using libm_alias_double.
21705
cf4ebc27
JM
21706 [BZ #22229]
21707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21708 <math_ldbl_opt.h>.
21709 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21710
0c097378
JM
21711 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21712 SPARC --disable-multi-arch glibc variants.
21713
34bb10aa
JM
21714 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21715 <libm-alias-float.h>.
21716 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21717 if [SHARED].
21718 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21719 <libm-alias-float.h>.
21720 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21721 if [SHARED].
21722 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21723 <libm-alias-float.h>.
21724 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21725 if [SHARED].
21726 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21727 <libm-alias-float.h>.
21728 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21729 if [SHARED].
21730 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21731 <libm-alias-float.h>.
21732 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21733 if [SHARED].
21734 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21735 <libm-alias-float.h>.
21736 (ceilf): Define using libm_alias_float.
21737 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21738 <libm-alias-float.h>.
21739 (floorf): Define using libm_alias_float.
21740 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21741 <libm-alias-float.h>.
21742 (fmaf): Define using libm_alias_float.
21743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21744 <libm-alias-float.h>.
21745 (nearbyintf): Define using libm_alias_float.
21746 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21747 <libm-alias-float.h>.
21748 (rintf): Define using libm_alias_float.
21749 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21750 <libm-alias-float.h>.
21751 (truncf): Define using libm_alias_float.
21752 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21753 (copysignf): Define using libm_alias_float.
21754 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21755 (cosf): Define using libm_alias_float.
21756 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21757 (fabsf): Define using libm_alias_float.
21758 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21759 (fmaxf): Define using libm_alias_float.
21760 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21761 (fminf): Define using libm_alias_float.
21762 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21763 (llrintf): Define using libm_alias_float.
21764 [!__ILP32__] (lrintf): Likewise.
21765 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21766 (sincosf): Define using libm_alias_float.
21767 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21768 (sinf): Define using libm_alias_float.
21769 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21770 (lrintf): Define using libm_alias_float.
21771
011fba7e
JM
21772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21773 <libm-alias-double.h>.
21774 (atan): Define using libm_alias_double.
21775 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21776 <libm-alias-double.h>.
21777 (ceil): Define using libm_alias_double.
21778 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21779 <libm-alias-double.h>.
21780 (floor): Define using libm_alias_double.
21781 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21782 <libm-alias-double.h>.
21783 (fma): Define using libm_alias_double.
21784 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21785 <libm-alias-double.h>.
21786 (nearbyint): Define using libm_alias_double.
21787 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21788 <libm-alias-double.h>.
21789 (rint): Define using libm_alias_double.
21790 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21791 <libm-alias-double.h>.
21792 (sin): Define using libm_alias_double.
21793 (cos): Likewise.
21794 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21795 <libm-alias-double.h>.
21796 (tan): Define using libm_alias_double.
21797 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21798 <libm-alias-double.h>.
21799 (trunc): Define using libm_alias_double.
21800 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21801 (copysign): Define using libm_alias_double.
21802 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21803 (fabs): Define using libm_alias_double.
21804 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21805 (fmax): Define using libm_alias_double.
21806 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21807 (fmin): Define using libm_alias_double.
21808 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21809 (llrint): Define using libm_alias_double.
21810 [!__ILP32__] (lrint): Likewise.
21811 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21812 (lrint): Define using libm_alias_double.
21813
1cbd7bfe
AZ
218142017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21815
21bfcc3d
AZ
21816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21817 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21818 objects.
21819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21821 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21825
522228dd
AZ
21826 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21827 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21828 objects.
21829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21832 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21834 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21835
2a6f4fab
AZ
21836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21837 (libm-sysdep_routines): Add s_nearbyint-generic and
21838 s_nearbyintf-generic objects.
21839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21841 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21842 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21844 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21845
712b5b83
AZ
21846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21847 Add s_finitef-generic and s_finite-generic objects.
21848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21854
c96d3335
AZ
21855 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21856 Add s_isinff-generic and s_isinf-generic objects.
21857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21863
c6862a23
AZ
21864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21865 Add s_isnanf-generic and s_isnan-generic objects.
21866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21872
1cbd7bfe
AZ
21873 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21874 macro.
21875 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21876 rule.
21877 (sysdep_routines): Use sysdep_calls as base.
21878 (libm-sysdep_routines): Add generic rule for symbols shared with
21879 libc. Add s_signbit-generic and s_signbitf-generic objects.
21880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21883 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21885 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21886
aa1142c5
JM
218872017-11-29 Joseph Myers <joseph@codesourcery.com>
21888
21889 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21890 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21891 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21892 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21893 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21894 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21895 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21896 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21897 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21898 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21899 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21900 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21901 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21902 libm_alias_float_r.
21903 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21904 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21905 (logf): Likewise.
21906 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21907 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21908 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21909 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21910 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21911 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21912 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21913 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21914 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21915 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21916 libm_alias_float.
21917 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21918 (cosf): Likewise.
21919 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21920 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21921 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21922 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21923 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21924 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21925 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21926 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21927 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21928 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21929 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21930 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21931 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21932 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21933 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21934 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21935 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21936 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21937 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21938 libm_alias_float.
21939 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21940 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21941 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21942 * sysdeps/ia64/fpu/w_lgammaf_main.c
21943 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21944 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21945
363e4519
DL
219462017-11-28 Mike FABIAN <mfabian@redhat.com>
21947 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
21948
21949 [BZ #17750]
21950 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21951 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21952 accents sorting.
21953 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21954 sorting.
21955 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21956 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21957 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21958 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21959 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21960 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21961 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21962 instead of “ifdef DIACRIT_BACKWARD”.
21963
a55430cb
AZ
219642017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21965
21966 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21967 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21968 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21969 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21970 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21971 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21980 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21981 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21982 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21983 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21985 ($(have-as-vis3) == yes): Remove conditional.
21986 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21987 Likewise.
21988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21989 file.
21990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21991 file.
21992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21993 file.
21994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21995 file.
21996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22002 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22004
0609ec0a
JM
220052017-11-29 Joseph Myers <joseph@codesourcery.com>
22006
22007 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22008 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22009 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22010 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22011 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22012 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22013 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22014 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22015 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22016 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22017 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22018 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22019 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22020 libm_alias_double_r.
22021 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22022 (log): Likewise.
22023 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22024 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22025 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22026 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22027 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22028 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22029 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22030 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22031 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22032 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22033 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22034 libm_alias_double.
22035 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22036 (cos): Likewise.
22037 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22038 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22039 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22040 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22041 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22042 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22043 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22044 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22045 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22046 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22047 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22048 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22049 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22050 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22051 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22052 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22053 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22054 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22055 libm_alias_double.
22056 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22057 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22058 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22059 * sysdeps/ia64/fpu/w_lgamma_main.c
22060 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22061 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22062
d5bfa34a
JDA
220632017-11-28 John David Anglin <danglin@gcc.gnu.org>
22064
22065 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22066 address of $global$ into %dp register earlier. Use pc-relative
22067 instruction sequence for PIC case.
22068
bc4e8f9b
JM
220692017-11-28 Joseph Myers <joseph@codesourcery.com>
22070
e4602cba
JM
22071 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22072 (asinhf): Define using libm_alias_float.
22073 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22074 (atanf): Define using libm_alias_float.
22075 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22076 (cbrtf): Define using libm_alias_float.
22077 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22078 (ceilf): Define using libm_alias_float.
22079 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22080 (copysignf): Define using libm_alias_float.
22081 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22082 (expm1f): Define using libm_alias_float.
22083 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22084 (fabsf): Define using libm_alias_float.
22085 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22086 (floorf): Define using libm_alias_float.
22087 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22088 (fmaxf): Define using libm_alias_float.
22089 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22090 (fminf): Define using libm_alias_float.
22091 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22092 (frexpf): Define using libm_alias_float.
22093 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22094 (llrintf): Define using libm_alias_float.
22095 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22096 (logbf): Define using libm_alias_float.
22097 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22098 (lrintf): Define using libm_alias_float.
22099 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22100 (nearbyintf): Define using libm_alias_float.
22101 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22102 (remquof): Define using libm_alias_float.
22103 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22104 (rintf): Define using libm_alias_float.
22105 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22106 (truncf): Define using libm_alias_float.
22107 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22108 <libm-alias-float.h>.
22109 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22110 if [SHARED].
22111 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22112 <libm-alias-float.h>.
22113 (expf): Define using libm_alias_float, or libm_alias_float_other
22114 if [SHARED].
22115 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22116 <libm-alias-float.h>.
22117 (log2f): Define using libm_alias_float, or libm_alias_float_other
22118 if [SHARED].
22119 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22120 <libm-alias-float.h>.
22121 (logf): Define using libm_alias_float, or libm_alias_float_other
22122 if [SHARED].
22123 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22124 <libm-alias-float.h>.
22125 (powf): Define using libm_alias_float, or libm_alias_float_other
22126 if [SHARED].
22127 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22128 <libm-alias-float.h>.
22129 (cosf): Define using libm_alias_float.
22130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22131 <libm-alias-float.h>.
22132 (sincosf): Define using libm_alias_float.
22133 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22134 <libm-alias-float.h>.
22135 (sinf): Define using libm_alias_float.
22136 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22137 (fmaxf): Define using libm_alias_float.
22138 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22139 (fminf): Define using libm_alias_float.
22140 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22141 <libm-alias-float.h>.
22142 (fmaf): Define using libm_alias_float.
22143
bc4e8f9b
JM
22144 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22145 (asinh): Define using libm_alias_double.
22146 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22147 (atan): Define using libm_alias_double.
22148 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22149 (cbrt): Define using libm_alias_double.
22150 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22151 (ceil): Define using libm_alias_double.
22152 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22153 (copysign): Define using libm_alias_double.
22154 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22155 (expm1): Define using libm_alias_double.
22156 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22157 (fabs): Define using libm_alias_double.
22158 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22159 (fdim): Define using libm_alias_double.
22160 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22161 (floor): Define using libm_alias_double.
22162 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22163 (fmax): Define using libm_alias_double.
22164 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22165 (fmin): Define using libm_alias_double.
22166 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22167 (frexp): Define using libm_alias_double.
22168 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22169 (llrint): Define using libm_alias_double.
22170 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22171 (logb): Define using libm_alias_double.
22172 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22173 (lrint): Define using libm_alias_double.
22174 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22175 (nearbyint): Define using libm_alias_double.
22176 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22177 (remquo): Define using libm_alias_double.
22178 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22179 (rint): Define using libm_alias_double.
22180 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22181 (trunc): Define using libm_alias_double.
22182 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22183 (fmax): Define using libm_alias_double.
22184 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22185 (fmin): Define using libm_alias_double.
22186 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22187 (fma): Define using libm_alias_double.
22188
8d81ce0c
L
221892017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22190
22191 [BZ #22370]
22192 * elf/dl-hwcaps.c (ROUND): Removed.
22193 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22194 and ELF_NOTE_NEXT_OFFSET.
22195 * elf/dl-load.c (ROUND): Removed.
22196 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22197 * elf/readelflib.c (ROUND): Removed.
22198 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22199 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22200 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22201 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22202
6940bd96
JM
222032017-11-28 Joseph Myers <joseph@codesourcery.com>
22204
313ba463
JM
22205 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22206 [!__fmaf] (fmaf): Define using libm_alias_float.
22207
6940bd96
JM
22208 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22209 [!__fma] (fma): Define using libm_alias_double.
22210 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22211
22c69b6a
MF
222122017-11-28 Mike FABIAN <mfabian@redhat.com>
22213
22214 [BZ #22336]
22215 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22216 and implement the collation rules for cs from CLDR on top of that.
22217 * Makefile: Add cs_CZ.UTF-8 to test-input.
22218 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22219
8d7d3ba8
SP
222202017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22221
22222 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22223
0422ed1e
VR
222242017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22225 Icarus Sparry <icarus.w.sparry@intel.com>
22226
22227 * benchtests/Makefile:Add BENCHSET to allow subsets of
22228 benchmarks to be run.
22229 * benchtests/README: Add documentation for: Running subsets of
22230 benchmarks.
22231
0595e360
VR
222322017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22233
d5090db3
VR
22234 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22235 range of tests names.
22236
0595e360
VR
22237 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22238 result from property and remove "max", min" and "mean" from
22239 required properties based on benchtests/bench-skeleton.c.
22240
b4c645c2
FW
222412017-11-28 Florian Weimer <fweimer@redhat.com>
22242
22243 [BZ #20826]
22244 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22245 due to Internet requirement.
22246 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22247 tst-getaddrinfo5.
22248 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22249
88684de7
AZ
222502017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22251
69056564
AZ
22252 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22253 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22254 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22255 (sysdep_routines): Add memset-ultra1.
22256 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22257 file.
22258 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22259 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22260 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22261 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22262 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22263 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22264 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22266
88684de7
AZ
22267 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22268 file.
22269 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22270 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22271 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22272 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22273 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22274 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22275 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22276 macro.
22277 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22278 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22279 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22280 (sysdep_routines): Add memcpy-ultra1.
22281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22282 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22283
d8124864
JM
222842017-11-28 Joseph Myers <joseph@codesourcery.com>
22285
f433d0b3
JM
22286 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22287 (cfloat_versions): Take function argument without trailing 'f'.
22288 Call libm_alias_float_other.
22289 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22290 * sysdeps/alpha/fpu/cargf.c: Likewise.
22291 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22292 * sysdeps/alpha/fpu/conjf.c: Likewise.
22293 * sysdeps/alpha/fpu/crealf.c: Likewise.
22294 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22295 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22296 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22297 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22298 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22299 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22300 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22301 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22302 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22303 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22304 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22305 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22306 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22307 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22308 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22309 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22310 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22311 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22312 (clog10f): Use libm_alias_float_other.
22313 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22314 (ceilf): Define using libm_alias_float.
22315 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22316 (copysignf): Define using libm_alias_float.
22317 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22318 (fabsf): Define using libm_alias_float.
22319 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22320 (floorf): Define using libm_alias_float.
22321 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22322 (fmaxf): Define using libm_alias_float.
22323 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22324 (fminf): Define using libm_alias_float.
22325 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22326 (lrintf): Define using libm_alias_float.
22327 (llrintf): Likewise.
22328 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22329 (lroundf): Define using libm_alias_float.
22330 (llroundf): Likewise.
22331 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22332 (rintf): Define using libm_alias_float.
22333 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22334 (truncf): Define using libm_alias_float.
22335
15ff4900
JM
22336 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22337 (ceilf): Define using libm_alias_float.
22338 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22339 (floorf): Define using libm_alias_float.
22340 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22341 (fmaf): Define using libm_alias_float.
22342 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22343 (fmaxf): Define using libm_alias_float.
22344 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22345 (fminf): Define using libm_alias_float.
22346 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22347 (llrintf): Define using libm_alias_float.
22348 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22349 (llroundf): Define using libm_alias_float.
22350 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22351 (lrintf): Define using libm_alias_float.
22352 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22353 (lroundf): Define using libm_alias_float.
22354 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22355 <libm-alias-float.h>.
22356 (nearbyintf): Define using libm_alias_float.
22357 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22358 (rintf): Define using libm_alias_float.
22359 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22360 (roundf): Define using libm_alias_float.
22361 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22362 (truncf): Define using libm_alias_float.
22363
5de60638
JM
22364 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22365 (ceil): Define using libm_alias_double.
22366 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22367 (copysign): Define using libm_alias_double.
22368 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22369 (fabs): Define using libm_alias_double.
22370 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22371 (floor): Define using libm_alias_double.
22372 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22373 (fmax): Define using libm_alias_double.
22374 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22375 (fmin): Define using libm_alias_double.
22376 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22377 (lrint): Define using libm_alias_double.
22378 (llrint): Likewise.
22379 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22380 (lround): Define using libm_alias_double.
22381 (llround): Likewise.
22382 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22383 (rint): Define using libm_alias_double.
22384 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22385 (trunc): Define using libm_alias_double.
22386
d8124864
JM
22387 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22388 (libm_alias_double_r): Add semicolon after weak_alias call.
22389
f07d2ec8
JM
223902017-11-27 Joseph Myers <joseph@codesourcery.com>
22391
22392 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22393 (ceil): Define using libm_alias_double.
22394 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22395 (floor): Define using libm_alias_double.
22396 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22397 (fma): Define using libm_alias_double.
22398 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22399 (fmax): Define using libm_alias_double.
22400 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22401 (fmin): Define using libm_alias_double.
22402 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22403 (llrint): Define using libm_alias_double.
22404 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22405 (llround): Define using libm_alias_double.
22406 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22407 (lrint): Define using libm_alias_double.
22408 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22409 (lround): Define using libm_alias_double.
22410 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22411 (nearbyint): Define using libm_alias_double.
22412 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22413 (rint): Define using libm_alias_double.
22414 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22415 (round): Define using libm_alias_double.
22416 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22417 (trunc): Define using libm_alias_double.
22418
4bab0224
FW
224192017-11-27 Florian Weimer <fweimer@redhat.com>
22420
22421 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22422 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22423 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22424 (tests): Add tst-mlock2.
22425 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22427 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22428 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22429 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22430 for mlock. Document mlock2.
22431
a23aa5b7
JM
224322017-11-27 Joseph Myers <joseph@codesourcery.com>
22433
22434 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22435 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22436 Likewise.
22437 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22438 Likewise.
22439 * sysdeps/x86/Makeconfig: New file.
22440 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22441 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22442 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22443 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22444 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22445 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22446 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22447 Likewise.
22448 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22449 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22450 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22451 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22452 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22453 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22454 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22455 * manual/math.texi (Mathematics): Document support for _Float64x.
22456 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22457 * stdlib/Versions (GLIBC_2.27): Likewise.
22458 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22459 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22460 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22461 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22462 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22463 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22464 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22465 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22466 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22467 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22468 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22469 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22471 Likewise.
22472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22473 Likewise.
22474 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22475 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22476 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22477 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22478 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22479 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22480 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22481 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22482 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22483 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22484 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22485 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22486 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22487 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22488
c2c299fd
AS
224892017-11-27 Andreas Schwab <schwab@suse.de>
22490
22491 * elf/Makefile (dl-routines): Add dl-sort-maps.
22492 * elf/dl-sort-maps.c: New file.
22493 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22494 (_dl_sort_maps): Declare.
22495 * elf/dl-fini.c (_dl_sort_fini): Remove.
22496 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22497 * elf/dl-close.c (_dl_close_worker): Likewise.
22498 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22499 open-coding it.
22500 * elf/dl-open.c (dl_open_worker): Likewise.
22501
9d4b0117
JM
225022017-11-24 Joseph Myers <joseph@codesourcery.com>
22503
de61465c
JM
22504 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22505 using libm_alias_float128.
22506 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22507 Likewise.
22508 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22509 Likewise.
22510 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22511 (setpayloadsigf128): Likewise.
22512 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22513 Likewise.
22514 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22515 Likewise.
22516
9ae6d171
JM
22517 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22518 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22519 -mfloat128 to CFLAGS.
22520 ($(foreach
22521 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22522 Likewise.
22523 (CFLAGS-libm-test-support-float64x.c): New variable.
22524 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22525 $(f128-loader-link) to gnulib-tests.
22526
6e70d156
JM
22527 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22528 (libm_alias_float128_other_r): If
22529 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22530 alias.
22531 (libm_alias_float128_r): Add semicolon after weak_alias call.
22532 * sysdeps/generic/libm-alias-ldouble.h
22533 (libm_alias_ldouble_other_r_f128): New macro.
22534 (libm_alias_ldouble_other_r_f64x): Likewise.
22535 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22536 and libm_alias_ldouble_other_r_f64x.
22537 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22538 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22539 (libm_alias_ldouble_other_r_f128): New macro.
22540 (libm_alias_ldouble_other_r_f64x): Likewise.
22541 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22542 and libm_alias_ldouble_other_r_f64x.
22543
df2806cd
JM
22544 * stdlib/strfroml.c: Always include <stdlib.h>.
22545 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22546 undefine as macro and define as weak alias.
22547 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22548 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22549 <stdlib.h>.
22550 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22551 Define and later undefine as macro and define as weak alias.
22552
0df4fe35
JM
22553 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22554 Define and later undefine as macro. Define as weak alias if
22555 [!USE_WIDE_CHAR].
22556 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22557 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22558 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22559 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22560 Define and later undefine as macro. Define as weak alias if
22561 [!USE_WIDE_CHAR].
22562 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22563 Define and later undefine as macro. Define as weak alias if
22564 [USE_WIDE_CHAR].
22565 * sysdeps/ieee754/float128/strtof128_l.c
22566 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22567 Define and later undefine as macro. Define as weak alias if
22568 [!USE_WIDE_CHAR].
22569 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22570 Define and later undefine as macro. Define as weak alias if
22571 [USE_WIDE_CHAR].
22572 * sysdeps/ieee754/ldbl-128/strtold_l.c
22573 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22574 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22575 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22576 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22577 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22578 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22579 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22580 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22581 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22582 * sysdeps/ieee754/ldbl-96/strtold_l.c
22583 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22584 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22585 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22586 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22587
ae7207d0
JM
22588 * math/test-float64x.h: New file.
22589 * math/Makefile (type-float64x-yes): New variable.
22590 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22591
9596fc69
JM
22592 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22593 function-like macro.
22594 (min_of_type_): Likewise.
22595 (min_of_type_l): Likewise.
22596 (min_of_type_f128): Likewise.
22597 (min_of_type): Pass () as last argument of __MATH_TG.
22598
46453c3c
JM
22599 * stdlib/tst-strtod-round-skeleton.c
22600 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22601 headers.
22602
01e659e7
JM
22603 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22604 for combinations of long double with _Float64 and _Float64x.
22605
5c60afdd
JM
22606 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22607 (__DECL_SIMD_cosf32): Likewise.
22608 (__DECL_SIMD_cosf64): Likewise.
22609 (__DECL_SIMD_cosf32x): Likewise.
22610 (__DECL_SIMD_cosf64x): Likewise.
22611 (__DECL_SIMD_cosf128x): Likewise.
22612 (__DECL_SIMD_sinf16): Likewise.
22613 (__DECL_SIMD_sinf32): Likewise.
22614 (__DECL_SIMD_sinf64): Likewise.
22615 (__DECL_SIMD_sinf32x): Likewise.
22616 (__DECL_SIMD_sinf64x): Likewise.
22617 (__DECL_SIMD_sinf128x): Likewise.
22618 (__DECL_SIMD_sincosf16): Likewise.
22619 (__DECL_SIMD_sincosf32): Likewise.
22620 (__DECL_SIMD_sincosf64): Likewise.
22621 (__DECL_SIMD_sincosf32x): Likewise.
22622 (__DECL_SIMD_sincosf64x): Likewise.
22623 (__DECL_SIMD_sincosf128x): Likewise.
22624 (__DECL_SIMD_logf16): Likewise.
22625 (__DECL_SIMD_logf32): Likewise.
22626 (__DECL_SIMD_logf64): Likewise.
22627 (__DECL_SIMD_logf32x): Likewise.
22628 (__DECL_SIMD_logf64x): Likewise.
22629 (__DECL_SIMD_logf128x): Likewise.
22630 (__DECL_SIMD_expf16): Likewise.
22631 (__DECL_SIMD_expf32): Likewise.
22632 (__DECL_SIMD_expf64): Likewise.
22633 (__DECL_SIMD_expf32x): Likewise.
22634 (__DECL_SIMD_expf64x): Likewise.
22635 (__DECL_SIMD_expf128x): Likewise.
22636 (__DECL_SIMD_powf16): Likewise.
22637 (__DECL_SIMD_powf32): Likewise.
22638 (__DECL_SIMD_powf64): Likewise.
22639 (__DECL_SIMD_powf32x): Likewise.
22640 (__DECL_SIMD_powf64x): Likewise.
22641 (__DECL_SIMD_powf128x): Likewise.
22642
9d4b0117
JM
22643 * stdlib/Versions (libc): Move entries for wcstof128 and
22644 wcstof128_l to ....
22645 * wcsmbs/Versions (libc): ... here.
22646 Include <float128-abi.h>.
22647
7911dd47
FW
226482017-11-24 Florian Weimer <fweimer@redhat.com>
22649
22650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22651 bits/mman-shared.h.
22652 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22653 <bits/mman-shared.h>.
22654 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22655 to ...
22656 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22657 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22658 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22659 <bits/mman-shared.h>.
22660
c45d78aa
AZ
226612017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22662
22663 [BZ #22457]
22664 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22665 posix_memalign/free.
22666 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22667
3ffc4cc1
MF
226682017-11-22 Mike FABIAN <mfabian@redhat.com>
22669
22670 [BZ #22469]
22671 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22672 and implement the collation rules for pl from CLDR on top of that.
22673 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22674 of locales to be built for testing.
22675 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22676
3a327316
JM
226772017-11-23 Joseph Myers <joseph@codesourcery.com>
22678
22679 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22680 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22681 libm_alias_ldouble_other.
22682 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22683 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22684 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22685 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22686 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22687 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22688 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22689 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22690 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22691 libm_alias_ldouble_r.
22692 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22693 libm_alias_ldouble_other.
22694 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22695 (log10l): Likewise.
22696 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22697 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22698 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22699 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22700 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22701 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22702 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22703 (atan2l): Likewise.
22704 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22705 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22706 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22707 libm_alias_ldouble.
22708 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22709 (cosl): Likewise.
22710 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22711 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22712 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22713 (expl): Likewise.
22714 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22715 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22716 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22717 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22718 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22719 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22720 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22721 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22722 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22723 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22724 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22725 libm_alias_ldouble.
22726 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22727 libm_alias_ldouble_other.
22728 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22729 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22730 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22731 libm_alias_ldouble.
22732 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22733 libm_alias_ldouble_other.
22734 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22735 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22736 * sysdeps/ia64/fpu/w_lgammal_main.c
22737 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22738 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22739
0a947e06
FW
227402017-11-23 Florian Weimer <fweimer@redhat.com>
22741
22742 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22743 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22744 alike. Remove freeres marker.
22745 * malloc/arena.c (arena_thread_freeres): Call
22746 tcache_thread_shutdown.
22747
67f36c79
FW
227482017-11-23 Florian Weimer <fweimer@redhat.com>
22749
22750 [BZ #22459]
22751 Export nscd hash function as __nss_hash.
22752 * include/nss.h (__nss_hash): Declare.
22753 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22754 symbol.
22755 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22756 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22757 of __nscd_hash.
22758 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22759 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22760 * nss/Makefiles (routines): Add nss_hash.
22761 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22762 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22763 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22764 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22765
cccb6d4e
FW
227662017-11-23 Florian Weimer <fweimer@redhat.com>
22767
22768 [BZ #22478]
22769 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22770 Return error code, not -1.
22771 * signal/tst-sigwait-eintr.c: New file.
22772 * signal/Makefile (tests): Add tst-sigwait-eintr.
22773
59d2cbb1
FW
227742017-11-23 Florian Weimer <fweimer@redhat.com>
22775
22776 Linux: Add memfd_create system call wrapper
22777 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22778 tst-memfd_create.
22779 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22780 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22781 [__USE_GNU] (memfd_create): Declare.
22782 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22783 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22784 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22785 * sysdeps/unix/sysv/linux/**.abilist: Update.
22786 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22787
a90d1ac2
JM
227882017-11-22 Joseph Myers <joseph@codesourcery.com>
22789
0a9d1d62
JM
22790 * localedata/gen-locale.sh: Fix typo in variable name.
22791
754034c4
JM
22792 * resolv/res_debug.c (p_secstodate): Condition definition on
22793 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22794 directly as __p_secstodate, and as a compat symbol. Do not use
22795 libresolv_hidden_def.
22796 * resolv/resolv.h (p_secstodate): Remove macro and function
22797 declaration.
22798 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22799 using p_secstodate.
22800 * include/resolv.h (__p_secstodate): Do not use
22801 libresolv_hidden_proto.
22802 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22803 (tests-internal): ... here.
22804 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22805 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22806 and declare and use __p_secstodate and use compat_symbol_reference
22807 in that case.
22808 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22809 implementation returning 77.
22810
f120cda6
JM
22811 [BZ #22463]
22812 * resolv/res_debug.c: Include <libc-diag.h>.
22813 (p_secstodate): Assert time_t at least as wide as u_long. On
22814 overflow, use integer seconds since the epoch as output, or use
22815 "<overflow>" as output and set errno to EOVERFLOW if integer
22816 seconds since the epoch would be 14 or more characters.
22817 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22818 for sprintf call.
22819 * resolv/tst-p_secstodate.c: New file.
22820 * resolv/Makefile (tests): Add tst-p_secstodate.
22821 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22822
a90d1ac2
JM
22823 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22824 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22825 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22826
0285e6bd
PE
228272017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22828
22829 * posix/regcomp.c (init_word_char): Add comments.
22830
4bae6150
JM
228312017-11-22 Joseph Myers <joseph@codesourcery.com>
22832
22833 [BZ #22447]
22834 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22835 strlen to compute length of ut_user and set trailing NUL byte of
22836 result explicitly.
22837
4b7af5fc
MF
228382017-11-21 Mike FABIAN <mfabian@redhat.com>
22839
22840 [BZ #15537]
22841 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22842 using “copy "iso14651_t1"” and then implementing the
22843 collation rules for lv from CLDR on top of that.
22844 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22845 of locales to be built for testing.
22846 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22847 sorting.
22848
922bb78c
JM
228492017-11-21 Joseph Myers <joseph@codesourcery.com>
22850
22851 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22852 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22853 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22854 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22855 [__USE_MISC] (MADV_HWPOISON): New macro.
22856 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22857
a3aaa598
AZ
228582017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22859
22860 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22861 -Wmissing-braces on GCC 4.9.
22862
8beba15d
SL
228632017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22864
22865 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22866 * sysdeps/s390/s390-32/start.S (_start): Likewise
22867 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22868 (thread_start): Likewise.
22869 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22870 (thread_start): Likewise.
22871 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22872 (__makecontext_ret): Likewise.
22873 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22874 (__makecontext_ret): Likewise.
22875
80eb52e3
SL
228762017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22877
22878 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22879 __wcschrnul): Remove attribute_hidden.
22880
567d8c1f
PE
228812017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22882
22883 regex: don't assume uint64_t or uint32_t
22884 This avoids -Werror=overflow errors for 32-bit systems in
22885 the 64-bit case. Problem reported by Joseph Myers in:
22886 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22887 Also, when this code is used in Gnulib it ports to platforms
22888 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22889 them, and on some 32-bit compilers there is no uint64_t.
22890 Problem reported by Gianluigi Tiesi in:
22891 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22892 * posix/regcomp.c (init_word_char): Don't assume that the types
22893 uint64_t and uint32_t exist. Adapted from Gnulib patch
22894 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22895 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22896
4d7632ff
SP
228972017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22898
5a67c4fa
SP
22899 * sysdeps/aarch64/memset-reg.h: New file.
22900 * sysdeps/aarch64/memset.S: Use it.
22901 (__memset): Rename to MEMSET macro.
22902 [ZVA_MACRO]: Use zva_macro.
22903 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22904 Add memset_generic and memset_falkor.
22905 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22906 (__libc_ifunc_impl_list): Add memset ifuncs.
22907 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22908 local variable zva_size.
22909 * sysdeps/aarch64/multiarch/memset.c: New file.
22910 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22911 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22912 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22913 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22914 (DCZID_DZP_MASK): New macro.
22915 (DCZID_BS_MASK): Likewise.
22916 (init_cpu_features): Read and set zva_size.
22917 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22918 (struct cpu_features): New member zva_size.
22919
eb332f9f
SP
22920 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22921 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22922 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22923
4d7632ff
SP
22924 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22925 backwards. Fix timing computation.
22926 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22927 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22928 on memset by N at a time. Fix timing computation.
22929
a465b89e
FW
229302017-11-20 Florian Weimer <fweimer@redhat.com>
22931
22932 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22933 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22934
0f74bbf5
FW
229352017-11-19 Florian Weimer <fweimer@redhat.com>
22936
22937 manual: Document mprotect
22938 * manual/memory.texi (Memory Protection): New section.
22939 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22940 documentation of PROT_* flags and reference the Memory Protection
22941 section instead.
22942
f6e965ee
FW
229432017-11-19 Florian Weimer <fweimer@redhat.com>
22944
22945 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22946 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22947 (Scatter-Gather): ... to here. Remove misleading comment.
22948
363e4519 229492017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 22950
5f9d1949
CB
22951 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22952 style.
22953
ea69a5c8
CB
22954 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22955 when /proc/<pid>/setgroups does not exist.
22956
8db7f48c
FW
229572017-11-18 Florian Weimer <fweimer@redhat.com>
22958
22959 * sysdeps/unix/sysv/linux/tst-ttyname.c
22960 (become_root_in_mount_ns): Remove.
22961 (do_in_chroot_1): Call support_enter_mount_namespace.
22962 (do_in_chroot_2): Likewise.
22963 (do_test): Call support_become_root early.
22964
273a0c49
FW
229652017-11-18 Florian Weimer <fweimer@redhat.com>
22966
22967 * support/namespace.h (support_enter_mount_namespace): Declare.
22968 * support/support_enter_mount_namespace.c: New file.
22969 * support/Makefile (libsupport-routines): Add
22970 support_enter_mount_namespace.
22971
8adfb0ee
FW
229722017-11-18 Florian Weimer <fweimer@redhat.com>
22973
22974 * support/temp_file.c (support_create_temp_directory): Use
22975 test_dir and do not rely on the presence of the XXXXXX suffix.
22976 * support/temp_file.h (support_create_temp_directory): Update
22977 comment.
22978 * support/tst-xreadlink.c (do_test): Adjust.
22979 * support/support_chroot.c (support_chroot_create): Likewise.
22980
df0c40ee
TMQMF
229812017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22982
22983 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22984 macro.
22985 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22986 htm-no-suspend.
22987
015c6dc2
JM
229882017-11-17 Joseph Myers <joseph@codesourcery.com>
22989
f58e5f48
JM
22990 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22991 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22992 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22993 (ceill): Define using libm_alias_ldouble.
22994 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22995 <libm-alias-ldouble.h>.
22996 (copysignl): Define using libm_alias_ldouble.
22997 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22998 (fabsl): Define using libm_alias_ldouble.
22999 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23000 (floorl): Define using libm_alias_ldouble.
23001 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23002 (fmaxl): Define using libm_alias_ldouble.
23003 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23004 (fminl): Define using libm_alias_ldouble.
23005 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23006 (llrintl): Define using libm_alias_ldouble.
23007 (lrintl): Likewise.
23008 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23009 <libm-alias-ldouble.h>.
23010 (nearbyintl): Define using libm_alias_ldouble.
23011 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23012 (truncl): Define using libm_alias_ldouble.
23013 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23014 <libm-alias-ldouble.h>.
23015 (lrintl): Define using libm_alias_ldouble.
23016
2ce30701
JM
23017 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23018 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23019 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23020 (asinhl): Define using libm_alias_ldouble.
23021 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23022 (atanl): Define using libm_alias_ldouble.
23023 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23024 (cbrtl): Define using libm_alias_ldouble.
23025 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23026 (ceill): Define using libm_alias_ldouble.
23027 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23028 (copysignl): Define using libm_alias_ldouble.
23029 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23030 (fabsl): Define using libm_alias_ldouble.
23031 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23032 (floorl): Define using libm_alias_ldouble.
23033 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23034 (fmaxl): Define using libm_alias_ldouble.
23035 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23036 (fminl): Define using libm_alias_ldouble.
23037 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23038 (frexpl): Define using libm_alias_ldouble.
23039 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23040 (llrintl): Define using libm_alias_ldouble.
23041 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23042 (logbl): Define using libm_alias_ldouble.
23043 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23044 (lrintl): Define using libm_alias_ldouble.
23045 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23046 (nearbyintl): Define using libm_alias_ldouble.
23047 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23048 (nextafterl): Define using libm_alias_ldouble.
23049 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23050 (remquol): Define using libm_alias_ldouble.
23051 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23052 (rintl): Define using libm_alias_ldouble.
23053 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23054 (truncl): Define using libm_alias_ldouble.
23055 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23056 (fmaxl): Define using libm_alias_ldouble.
23057 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23058 (fminl): Define using libm_alias_ldouble.
23059
015c6dc2
JM
23060 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23061 to C syntax instead of availability and properties of types.
23062 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23063 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23064 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23065 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23066 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23067 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23068
ce003e5d
FW
230692017-11-17 Florian Weimer <fweimer@redhat.com>
23070
23071 support_become_root: Enable file creation in namespaces.
23072 * support/support_become_root.c (setup_mapping): New function.
23073 (support_become_root): Call it.
23074
e7df6c5c
JM
230752017-11-17 Joseph Myers <joseph@codesourcery.com>
23076
23077 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23078 macro.
23079
58a813bf
AZ
230802017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23081
23082 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23083 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23084
f97773d1
JM
230852017-11-16 Joseph Myers <joseph@codesourcery.com>
23086
6a6aa1f3
JM
23087 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23088
f97773d1
JM
23089 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23090 version to 4.14.
23091
a306c790
SP
230922017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23093
7b0fb870
SP
23094 * INSTALL: Fix botched up regeneration.
23095
23096 * NEWS: Update sourceare link to https.
a306c790
SP
23097 * configure.ac: Likewise.
23098 * crypt/md5test-giant.c: Likewise.
23099 * dlfcn/bug-atexit1.c: Likewise.
23100 * dlfcn/bug-atexit2.c: Likewise.
23101 * localedata/README: Likewise.
23102 * malloc/tst-mallocfork.c: Likewise.
23103 * manual/install.texi: Likewise.
23104 * nptl/tst-pthread-getattr.c: Likewise.
23105 * stdio-common/tst-fgets.c: Likewise.
23106 * stdio-common/tst-fwrite.c: Likewise.
23107 * sunrpc/Makefile: Likewise.
23108 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23109 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
23110 * configure: Regenerate.
23111 * INSTALL: Regenerate.
a306c790 23112
7532837d
MS
231132017-11-15 Martin Sebor <msebor@redhat.com>
23114
23115 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23116 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23117 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23118
495a56fd
LS
231192017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23120
d9611e30
LS
23121 [BZ #22145]
23122 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23123 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23124
a09dfc19
LS
23125 [BZ #22145]
23126 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23127 Defer is_pty check until end of the function.
23128 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23129
2fbce9c2
LS
23130 [BZ #22145]
23131 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23132 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23133 (ttyname): Likewise.
23134 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23135 (__ttyname_r): Likewise.
23136
d10d6cab
LS
23137 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23138 int to bool.
23139
9b5a8750
LS
23140 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23141
495a56fd
LS
23142 * manual/terminal.texi (Is It a Terminal):
23143 Mention ENODEV for ttyname and ttyname_r.
23144
fa680dc6
JM
231452017-11-15 Joseph Myers <joseph@codesourcery.com>
23146
78cde19f
JM
23147 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23148 constant and macro.
23149
fa680dc6
JM
23150 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23151 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23152 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23153 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23154 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23155 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23156
ad4f43a2
AZ
231572017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23158
1ba1d8a4
AZ
23159 * signal/sigrelse.c (sigrelse): Optimize implementation.
23160
ad4f43a2
AZ
23161 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23162 (__sigpause): Rely on __sigsuspend to implement single thread
23163 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23164
d0212d42
JM
231652017-11-15 Joseph Myers <joseph@codesourcery.com>
23166
23167 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23168 kernel version to 4.14.
23169
2180fee1
SE
231702017-11-15 Steve Ellcey <sellcey@cavium.com>
23171
23172 [BZ #22442]
23173 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23174 Check if ifname is too long.
23175
cad7ca39
LS
231762017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23177
23178 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23179
58c9f659
MF
231802017-11-15 Mike FABIAN <mfabian@redhat.com>
23181
23182 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23183 was accidentally lost.
23184
0fa87c01
MF
231852017-11-15 Mike FABIAN <mfabian@redhat.com>
23186
23187 * localedata/locales/az_IR: Add standard copyright header.
23188
34eb4157
FW
231892017-11-15 Florian Weimer <fweimer@redhat.com>
23190
23191 [BZ #22439]
23192 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23193 not just the top one. Output a new "subheaps" statistic.
23194
7a9368a1
FW
231952017-11-15 Florian Weimer <fweimer@redhat.com>
23196
23197 [BZ #22408]
23198 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23199 under the per-arena lock.
23200 * malloc/Makefile (tests): Add tst-malloc_info.
23201 (tst-malloc_info): Link with libpthread.
23202 * malloc/tst-malloc_info.c: New file.
23203
be3a79a3
JM
232042017-11-15 Joseph Myers <joseph@codesourcery.com>
23205
23206 [BZ #21660]
23207 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23208 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23209 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23210 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23211 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23212 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23213 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23214 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23215 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23216 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23217 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23218 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23219 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23220 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23221 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23222 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23223 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23224 (__floating_type): Likewise.
23225 (__real_integer_type): Likewise.
23226 (__complex_integer_type): Likewise.
23227 (__expr_is_real): Likewise.
23228 (__tgmath_real_type_sub): Likewise.
23229 (__tgmath_real_type): Likewise.
23230 (__tgmath_complex_type_sub): Likewise.
23231 (__tgmath_complex_type): Likewise.
23232 (__TGMATH_F128): Likewise.
23233 (__TGMATH_CF128): Likewise.
23234 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23235 new macros.
23236 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23237 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23238 Likewise.
23239 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23240 Likewise.
23241 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23242 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23243 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23244 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23245 Likewise.
23246 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23247 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23248 Likewise.
23249 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23250 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23251 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23252 Likewise.
23253 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23254 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23255 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23256 (cimag): Likewise.
23257 (creal): Likewise.
23258
ec72135e
JM
232592017-11-14 Joseph Myers <joseph@codesourcery.com>
23260
2e64ec9c
JM
23261 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23262 for stpncpy calls for GCC 8.
23263 (test_strncat): Disable -Wstringop-truncation warning for strncat
23264 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23265 strncat call for GCC 7.
23266 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23267 calls for GCC 8.
23268 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23269 trailing NUL.
23270
ec72135e
JM
23271 * string/bug-strncat1.c: Include <libc-diag.h>.
23272 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23273
363e4519 232742017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
23275
23276 [BZ #22387]
23277 * localedata/locales/aa_DJ: Improved readibility by replacing
23278 <Uxxxx> sequences in the ASCII printable range by their ASCII
23279 character equivalents.
23280 * localedata/locales/aa_ER: Likewise.
23281 * localedata/locales/aa_ER@saaho: Likewise.
23282 * localedata/locales/aa_ET: Likewise.
23283 * localedata/locales/af_ZA: Likewise.
23284 * localedata/locales/agr_PE: Likewise.
23285 * localedata/locales/ak_GH: Likewise.
23286 * localedata/locales/am_ET: Likewise.
23287 * localedata/locales/anp_IN: Likewise.
23288 * localedata/locales/ar_AE: Likewise.
23289 * localedata/locales/ar_BH: Likewise.
23290 * localedata/locales/ar_DZ: Likewise.
23291 * localedata/locales/ar_EG: Likewise.
23292 * localedata/locales/ar_IN: Likewise.
23293 * localedata/locales/ar_IQ: Likewise.
23294 * localedata/locales/ar_JO: Likewise.
23295 * localedata/locales/ar_KW: Likewise.
23296 * localedata/locales/ar_LB: Likewise.
23297 * localedata/locales/ar_LY: Likewise.
23298 * localedata/locales/ar_MA: Likewise.
23299 * localedata/locales/ar_OM: Likewise.
23300 * localedata/locales/ar_QA: Likewise.
23301 * localedata/locales/ar_SA: Likewise.
23302 * localedata/locales/ar_SD: Likewise.
23303 * localedata/locales/ar_SS: Likewise.
23304 * localedata/locales/ar_SY: Likewise.
23305 * localedata/locales/ar_TN: Likewise.
23306 * localedata/locales/ar_YE: Likewise.
23307 * localedata/locales/as_IN: Likewise.
23308 * localedata/locales/ast_ES: Likewise.
23309 * localedata/locales/ayc_PE: Likewise.
23310 * localedata/locales/az_AZ: Likewise.
23311 * localedata/locales/az_IR: Likewise.
23312 * localedata/locales/be_BY: Likewise.
23313 * localedata/locales/be_BY@latin: Likewise.
23314 * localedata/locales/bem_ZM: Likewise.
23315 * localedata/locales/ber_DZ: Likewise.
23316 * localedata/locales/ber_MA: Likewise.
23317 * localedata/locales/bg_BG: Likewise.
23318 * localedata/locales/bhb_IN: Likewise.
23319 * localedata/locales/bho_IN: Likewise.
23320 * localedata/locales/bi_VU: Likewise.
23321 * localedata/locales/bn_BD: Likewise.
23322 * localedata/locales/bn_IN: Likewise.
23323 * localedata/locales/bo_CN: Likewise.
23324 * localedata/locales/bo_IN: Likewise.
23325 * localedata/locales/br_FR: Likewise.
23326 * localedata/locales/brx_IN: Likewise.
23327 * localedata/locales/bs_BA: Likewise.
23328 * localedata/locales/byn_ER: Likewise.
23329 * localedata/locales/ca_AD: Likewise.
23330 * localedata/locales/ca_ES: Likewise.
23331 * localedata/locales/ca_FR: Likewise.
23332 * localedata/locales/ca_IT: Likewise.
23333 * localedata/locales/ce_RU: Likewise.
23334 * localedata/locales/chr_US: Likewise.
23335 * localedata/locales/cmn_TW: Likewise.
23336 * localedata/locales/crh_UA: Likewise.
23337 * localedata/locales/cs_CZ: Likewise.
23338 * localedata/locales/csb_PL: Likewise.
23339 * localedata/locales/cv_RU: Likewise.
23340 * localedata/locales/cy_GB: Likewise.
23341 * localedata/locales/da_DK: Likewise.
23342 * localedata/locales/de_AT: Likewise.
23343 * localedata/locales/de_BE: Likewise.
23344 * localedata/locales/de_CH: Likewise.
23345 * localedata/locales/de_DE: Likewise.
23346 * localedata/locales/de_IT: Likewise.
23347 * localedata/locales/de_LI: Likewise.
23348 * localedata/locales/de_LU: Likewise.
23349 * localedata/locales/doi_IN: Likewise.
23350 * localedata/locales/dv_MV: Likewise.
23351 * localedata/locales/dz_BT: Likewise.
23352 * localedata/locales/el_CY: Likewise.
23353 * localedata/locales/el_GR: Likewise.
23354 * localedata/locales/en_AG: Likewise.
23355 * localedata/locales/en_AU: Likewise.
23356 * localedata/locales/en_BW: Likewise.
23357 * localedata/locales/en_CA: Likewise.
23358 * localedata/locales/en_DK: Likewise.
23359 * localedata/locales/en_GB: Likewise.
23360 * localedata/locales/en_HK: Likewise.
23361 * localedata/locales/en_IE: Likewise.
23362 * localedata/locales/en_IL: Likewise.
23363 * localedata/locales/en_IN: Likewise.
23364 * localedata/locales/en_NG: Likewise.
23365 * localedata/locales/en_NZ: Likewise.
23366 * localedata/locales/en_PH: Likewise.
23367 * localedata/locales/en_SG: Likewise.
23368 * localedata/locales/en_US: Likewise.
23369 * localedata/locales/en_ZA: Likewise.
23370 * localedata/locales/en_ZM: Likewise.
23371 * localedata/locales/en_ZW: Likewise.
23372 * localedata/locales/eo: Likewise.
23373 * localedata/locales/es_AR: Likewise.
23374 * localedata/locales/es_BO: Likewise.
23375 * localedata/locales/es_CL: Likewise.
23376 * localedata/locales/es_CO: Likewise.
23377 * localedata/locales/es_CR: Likewise.
23378 * localedata/locales/es_CU: Likewise.
23379 * localedata/locales/es_DO: Likewise.
23380 * localedata/locales/es_EC: Likewise.
23381 * localedata/locales/es_ES: Likewise.
23382 * localedata/locales/es_GT: Likewise.
23383 * localedata/locales/es_HN: Likewise.
23384 * localedata/locales/es_MX: Likewise.
23385 * localedata/locales/es_NI: Likewise.
23386 * localedata/locales/es_PA: Likewise.
23387 * localedata/locales/es_PE: Likewise.
23388 * localedata/locales/es_PR: Likewise.
23389 * localedata/locales/es_PY: Likewise.
23390 * localedata/locales/es_SV: Likewise.
23391 * localedata/locales/es_US: Likewise.
23392 * localedata/locales/es_UY: Likewise.
23393 * localedata/locales/es_VE: Likewise.
23394 * localedata/locales/et_EE: Likewise.
23395 * localedata/locales/eu_ES: Likewise.
23396 * localedata/locales/eu_ES@euro: Likewise.
23397 * localedata/locales/fa_IR: Likewise.
23398 * localedata/locales/ff_SN: Likewise.
23399 * localedata/locales/fi_FI: Likewise.
23400 * localedata/locales/fil_PH: Likewise.
23401 * localedata/locales/fo_FO: Likewise.
23402 * localedata/locales/fr_BE: Likewise.
23403 * localedata/locales/fr_CA: Likewise.
23404 * localedata/locales/fr_CH: Likewise.
23405 * localedata/locales/fr_FR: Likewise.
23406 * localedata/locales/fr_LU: Likewise.
23407 * localedata/locales/fur_IT: Likewise.
23408 * localedata/locales/fy_DE: Likewise.
23409 * localedata/locales/fy_NL: Likewise.
23410 * localedata/locales/ga_IE: Likewise.
23411 * localedata/locales/gd_GB: Likewise.
23412 * localedata/locales/gez_ER: Likewise.
23413 * localedata/locales/gez_ET: Likewise.
23414 * localedata/locales/gl_ES: Likewise.
23415 * localedata/locales/gu_IN: Likewise.
23416 * localedata/locales/gv_GB: Likewise.
23417 * localedata/locales/ha_NG: Likewise.
23418 * localedata/locales/hak_TW: Likewise.
23419 * localedata/locales/he_IL: Likewise.
23420 * localedata/locales/hi_IN: Likewise.
23421 * localedata/locales/hif_FJ: Likewise.
23422 * localedata/locales/hne_IN: Likewise.
23423 * localedata/locales/hr_HR: Likewise.
23424 * localedata/locales/hsb_DE: Likewise.
23425 * localedata/locales/ht_HT: Likewise.
23426 * localedata/locales/hu_HU: Likewise.
23427 * localedata/locales/hy_AM: Likewise.
23428 * localedata/locales/i18n: Likewise.
23429 * localedata/locales/ia_FR: Likewise.
23430 * localedata/locales/id_ID: Likewise.
23431 * localedata/locales/ig_NG: Likewise.
23432 * localedata/locales/ik_CA: Likewise.
23433 * localedata/locales/is_IS: Likewise.
23434 * localedata/locales/it_CH: Likewise.
23435 * localedata/locales/it_IT: Likewise.
23436 * localedata/locales/iu_CA: Likewise.
23437 * localedata/locales/ja_JP: Likewise.
23438 * localedata/locales/ka_GE: Likewise.
23439 * localedata/locales/kk_KZ: Likewise.
23440 * localedata/locales/kl_GL: Likewise.
23441 * localedata/locales/kn_IN: Likewise.
23442 * localedata/locales/ko_KR: Likewise.
23443 * localedata/locales/kok_IN: Likewise.
23444 * localedata/locales/ks_IN: Likewise.
23445 * localedata/locales/ks_IN@devanagari: Likewise.
23446 * localedata/locales/ku_TR: Likewise.
23447 * localedata/locales/kw_GB: Likewise.
23448 * localedata/locales/ky_KG: Likewise.
23449 * localedata/locales/lb_LU: Likewise.
23450 * localedata/locales/lg_UG: Likewise.
23451 * localedata/locales/li_BE: Likewise.
23452 * localedata/locales/li_NL: Likewise.
23453 * localedata/locales/lij_IT: Likewise.
23454 * localedata/locales/ln_CD: Likewise.
23455 * localedata/locales/lo_LA: Likewise.
23456 * localedata/locales/lt_LT: Likewise.
23457 * localedata/locales/lv_LV: Likewise.
23458 * localedata/locales/lzh_TW: Likewise.
23459 * localedata/locales/mag_IN: Likewise.
23460 * localedata/locales/mai_IN: Likewise.
23461 * localedata/locales/mg_MG: Likewise.
23462 * localedata/locales/mhr_RU: Likewise.
23463 * localedata/locales/mi_NZ: Likewise.
23464 * localedata/locales/mk_MK: Likewise.
23465 * localedata/locales/ml_IN: Likewise.
23466 * localedata/locales/mn_MN: Likewise.
23467 * localedata/locales/mni_IN: Likewise.
23468 * localedata/locales/mr_IN: Likewise.
23469 * localedata/locales/ms_MY: Likewise.
23470 * localedata/locales/mt_MT: Likewise.
23471 * localedata/locales/my_MM: Likewise.
23472 * localedata/locales/nan_TW: Likewise.
23473 * localedata/locales/nan_TW@latin: Likewise.
23474 * localedata/locales/nb_NO: Likewise.
23475 * localedata/locales/nds_DE: Likewise.
23476 * localedata/locales/nds_NL: Likewise.
23477 * localedata/locales/ne_NP: Likewise.
23478 * localedata/locales/nhn_MX: Likewise.
23479 * localedata/locales/niu_NU: Likewise.
23480 * localedata/locales/niu_NZ: Likewise.
23481 * localedata/locales/nl_AW: Likewise.
23482 * localedata/locales/nl_BE: Likewise.
23483 * localedata/locales/nl_NL: Likewise.
23484 * localedata/locales/nn_NO: Likewise.
23485 * localedata/locales/nr_ZA: Likewise.
23486 * localedata/locales/nso_ZA: Likewise.
23487 * localedata/locales/oc_FR: Likewise.
23488 * localedata/locales/om_ET: Likewise.
23489 * localedata/locales/om_KE: Likewise.
23490 * localedata/locales/or_IN: Likewise.
23491 * localedata/locales/os_RU: Likewise.
23492 * localedata/locales/pa_IN: Likewise.
23493 * localedata/locales/pa_PK: Likewise.
23494 * localedata/locales/pap_AW: Likewise.
23495 * localedata/locales/pap_CW: Likewise.
23496 * localedata/locales/pl_PL: Likewise.
23497 * localedata/locales/ps_AF: Likewise.
23498 * localedata/locales/pt_BR: Likewise.
23499 * localedata/locales/pt_PT: Likewise.
23500 * localedata/locales/quz_PE: Likewise.
23501 * localedata/locales/raj_IN: Likewise.
23502 * localedata/locales/ro_RO: Likewise.
23503 * localedata/locales/ru_RU: Likewise.
23504 * localedata/locales/ru_UA: Likewise.
23505 * localedata/locales/rw_RW: Likewise.
23506 * localedata/locales/sa_IN: Likewise.
23507 * localedata/locales/sat_IN: Likewise.
23508 * localedata/locales/sc_IT: Likewise.
23509 * localedata/locales/sd_IN: Likewise.
23510 * localedata/locales/sd_IN@devanagari: Likewise.
23511 * localedata/locales/se_NO: Likewise.
23512 * localedata/locales/sgs_LT: Likewise.
23513 * localedata/locales/shs_CA: Likewise.
23514 * localedata/locales/si_LK: Likewise.
23515 * localedata/locales/sid_ET: Likewise.
23516 * localedata/locales/sk_SK: Likewise.
23517 * localedata/locales/sl_SI: Likewise.
23518 * localedata/locales/sm_WS: Likewise.
23519 * localedata/locales/so_DJ: Likewise.
23520 * localedata/locales/so_ET: Likewise.
23521 * localedata/locales/so_KE: Likewise.
23522 * localedata/locales/so_SO: Likewise.
23523 * localedata/locales/sq_AL: Likewise.
23524 * localedata/locales/sq_MK: Likewise.
23525 * localedata/locales/sr_ME: Likewise.
23526 * localedata/locales/sr_RS: Likewise.
23527 * localedata/locales/sr_RS@latin: Likewise.
23528 * localedata/locales/ss_ZA: Likewise.
23529 * localedata/locales/st_ZA: Likewise.
23530 * localedata/locales/sv_FI: Likewise.
23531 * localedata/locales/sv_SE: Likewise.
23532 * localedata/locales/sw_KE: Likewise.
23533 * localedata/locales/sw_TZ: Likewise.
23534 * localedata/locales/szl_PL: Likewise.
23535 * localedata/locales/ta_IN: Likewise.
23536 * localedata/locales/ta_LK: Likewise.
23537 * localedata/locales/tcy_IN: Likewise.
23538 * localedata/locales/te_IN: Likewise.
23539 * localedata/locales/tg_TJ: Likewise.
23540 * localedata/locales/th_TH: Likewise.
23541 * localedata/locales/the_NP: Likewise.
23542 * localedata/locales/ti_ER: Likewise.
23543 * localedata/locales/ti_ET: Likewise.
23544 * localedata/locales/tig_ER: Likewise.
23545 * localedata/locales/tk_TM: Likewise.
23546 * localedata/locales/tl_PH: Likewise.
23547 * localedata/locales/tn_ZA: Likewise.
23548 * localedata/locales/to_TO: Likewise.
23549 * localedata/locales/tpi_PG: Likewise.
23550 * localedata/locales/tr_CY: Likewise.
23551 * localedata/locales/tr_TR: Likewise.
23552 * localedata/locales/ts_ZA: Likewise.
23553 * localedata/locales/tt_RU: Likewise.
23554 * localedata/locales/tt_RU@iqtelif: Likewise.
23555 * localedata/locales/ug_CN: Likewise.
23556 * localedata/locales/uk_UA: Likewise.
23557 * localedata/locales/unm_US: Likewise.
23558 * localedata/locales/ur_IN: Likewise.
23559 * localedata/locales/ur_PK: Likewise.
23560 * localedata/locales/uz_UZ: Likewise.
23561 * localedata/locales/uz_UZ@cyrillic: Likewise.
23562 * localedata/locales/ve_ZA: Likewise.
23563 * localedata/locales/vi_VN: Likewise.
23564 * localedata/locales/wa_BE: Likewise.
23565 * localedata/locales/wae_CH: Likewise.
23566 * localedata/locales/wal_ET: Likewise.
23567 * localedata/locales/wo_SN: Likewise.
23568 * localedata/locales/xh_ZA: Likewise.
23569 * localedata/locales/yi_US: Likewise.
23570 * localedata/locales/yo_NG: Likewise.
23571 * localedata/locales/yue_HK: Likewise.
23572 * localedata/locales/yuw_PG: Likewise.
23573 * localedata/locales/zh_CN: Likewise.
23574 * localedata/locales/zh_HK: Likewise.
23575 * localedata/locales/zh_SG: Likewise.
23576 * localedata/locales/zh_TW: Likewise.
23577 * localedata/locales/zu_ZA: Likewise.
23578
cae87e64
FW
235792017-11-13 Florian Weimer <fweimer@redhat.com>
23580
23581 * support/next_to_fault.h, support/next_to_fault.c: New files.
23582 * support/Makefile (libsupport-routines): Add next_to_fault.
23583 * resolv/tst-inet_pton.c (struct next_to_fault)
23584 (next_to_fault_allocate, next_to_fault_free): Remove.
23585 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23586
4a306ef1
L
235872017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23588
23589 * elf/dl-support.c: Include <dl-procruntime.c>.
23590 * include/link.h: Include <link_map.h>.
23591 * sysdeps/generic/dl-procruntime.c: New file.
23592 * sysdeps/generic/link_map.h: Likewise.
23593 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23594 the writable ld.so namespace.
23595
e69897bf
PE
235962017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23597
23598 timezone: pacify GCC -Wstringop-truncation
23599 Problem reported by Martin Sebor in:
23600 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23601 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23602
1ffe1ccb
FW
236032017-11-12 Florian Weimer <fweimer@redhat.com>
23604
eceed671
FW
23605 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23606 tst-xreadlink.
23607 (tests): Add tst-xreadlink.
1ffe1ccb
FW
23608 * support/support.h (xstrndup): Declare.
23609 * support/xunistd.h (xunlink, xreadlink): Declare.
23610 * support/temp_file.h (support_create_temp_directory): Declare.
23611 * support/temp_file.c (support_create_temp_directory): New function.
23612 * support/support_chroot.c (support_chroot_create): Use it.
23613 * support/xreadlink.c: New file.
23614 * support/xstrndup.c: Likewise.
23615 * support/xunlink.c: Likewise.
23616 * support/tst-xreadlink.c: Likewise.
23617
456b40a9
JDA
236182017-11-11 John David Anglin <danglin@gcc.gnu.org>
23619
23620 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23621
c0a25aa9
FW
236222017-11-11 Florian Weimer <fweimer@redhat.com>
23623
23624 [BZ #22409]
23625 [BZ #22412]
23626 * resolv/res_comp.c (printable_string, binary_hnok)
23627 (binary_leading_dash): New functions.
23628 (res_hnok): Reimplement using these functions and ns_name_pton.
23629 (res_ownok): Likewise.
23630 (res_mailok): Reimplement using printable_string, ns_name_pton and
23631 binary_hnok.
23632 (res_dnok): Reimplement using printable_string and ns_name_pton.
23633 * resolv/tst-res_hnok.c (tests): Add additional tests.
23634 (LETTERDIGITS, PRINTABLE): Define.
23635 (do_test): Adjust one_char results.
23636
9e0ad304
FW
236372017-11-11 Florian Weimer <fweimer@redhat.com>
23638
23639 [BZ #22413]
23640 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23641 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23642
e2a9fca8
FW
236432017-11-11 Florian Weimer <fweimer@redhat.com>
23644
23645 * resolv/tst-ns_name_pton.c: New file.
23646 * resolv/Makefile (tests): Add tst-ns_name_pton.
23647 (tst-ns_name_pton): Link against libresolv.
23648
5c1a6923
FW
236492017-11-11 Florian Weimer <fweimer@redhat.com>
23650
23651 * resolv/tst-res_hnok.c: New file.
23652 * resolv/Makefile (tests): Add tst-res_hnok.
23653 (tst-res_hnok): Link against libresolv.
23654
a19c0a1d
FW
236552017-11-11 Florian Weimer <fweimer@redhat.com>
23656
23657 * resolv/tst-resolv-network.c: Use test framework instead explicit
23658 main function.
23659
8cb5295d
L
236602017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23661
23662 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23663 <jmp_buf-macros.h>.
23664 [!_ISOMAC] (STR_HELPER): New.
23665 [!_ISOMAC] (STR): Likewise.
23666 [!_ISOMAC] (TEST_SIZE): Likewise.
23667 [!_ISOMAC] (TEST_ALIGN): Likewise.
23668 [!_ISOMAC] (TEST_OFFSET): Likewise.
23669 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23670 field offsets of jmp_buf as well as sigjmp_buf.
23671 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23672 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23673 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23674 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23675 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23676 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23677 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23678 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23679 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23680 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23681 Likewise.
23682 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23683 Likewise.
23684 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23686 Likewise.
23687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23688 Likewise.
23689 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23690 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23691 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23692 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23693 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23695 Likewise.
23696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23697 Likewise.
23698 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23699 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23700 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23701
58c4a161
JM
237022017-11-07 Joseph Myers <joseph@codesourcery.com>
23703
3683b423
JM
23704 * include/float.h
23705 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23706 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23707 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23708 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23709 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23710 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23711 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23712 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23713 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23714 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23715 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23716 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23717 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23718 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23719 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23720 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23721 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23722 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23723 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23724 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23725 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23726 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23727 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23728 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23729 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23730 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23731 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23732 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23733 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23734 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23735 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23736 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23737 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23738 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23739 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23740 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23741 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23742 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23743 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23744 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23745 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23746 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23747 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23748 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23749 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23750 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23751 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23752 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23753 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23754 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23755 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23756 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23757 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23758 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23759 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23760 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23761 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23762 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23763 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23764 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23765 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23766 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23767 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23768 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23769 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23770 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23771 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23772 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23773 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23774 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23775 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23776 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23777 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23778 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23779 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23780 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23781 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23782 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23783 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23784 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23785 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23786 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23787 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23788 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23789 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23790 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23791 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23792 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23793
58c4a161
JM
23794 * stdlib/tst-strtod.h (F16): New macro.
23795 (F32): Likewise.
23796 (F64): Likewise.
23797 (F32X): Likewise.
23798 (F64X): Likewise.
23799 (F128X): Likewise.
23800 (IF_FLOAT16): Likewise.
23801 (IF_FLOAT32): Likewise.
23802 (IF_FLOAT64): Likewise.
23803 (IF_FLOAT32X): Likewise.
23804 (IF_FLOAT64X): Likewise.
23805 (IF_FLOAT128X): Likewise.
23806 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23807 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23808 (STRTOD_TEST_FOREACH): Likewise.
23809 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23810 (CHOOSE_f64): Likewise.
23811 (CHOOSE_f32x): Likewise.
23812 (CHOOSE_f64x): Likewise.
23813
feda96a1
AS
238142017-11-07 Andreas Schwab <schwab@suse.de>
23815
23816 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23817
1bd0cbb8
MF
238182017-11-07 Mike FABIAN <mfabian@redhat.com>
23819
23820 [BZ #22403]
23821 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23822 to be escaped.
23823 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23824 to be escaped.
23825
363e4519 238262017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
23827
23828 [BZ #22403]
23829 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23830 to be escaped.
23831 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23832 to be escaped.
23833 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23834 to be escaped.
23835
dff91cd4
AZ
238362017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23837
06be6368
AZ
23838 [BZ #22298]
23839 * nptl/allocatestack.c (allocate_stack): Check if
23840 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23841 __PTHREAD_MUTEX_HAVE_PREV is defined.
23842 * nptl/descr.h (pthread): Likewise.
23843 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23844 Likewise.
23845 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23846 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23847 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23848 * sysdeps/nptl/bits/thread-shared-types.h
23849 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23850 defines.
23851 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23852 of __WORDSIZE for internal layout.
23853 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23854 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23855 instead of __WORDSIZE whether to use an union for __spins and __list
23856 fields.
23857 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23858 case.
23859 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23860 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23861 defines.
23862 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23863 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23864 Likewise.
23865 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23866 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23867 Likewise.
23868 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23869 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23870 Likewise.
23871 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23872 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23873 Likewise.
23874 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23875 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23876 Likewise.
23877 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23878 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23879 Likewise.
23880 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23881 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23882 Likewise.
23883 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23884 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23885 Likewise.
23886 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23887 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23888 Likewise.
23889 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23890 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23891 Likewise.
23892 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23893 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23894 Likewise.
23895 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23896 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23897 Likewise.
23898 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23899 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23900 Likewise.
23901 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23902 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23903 Likewise.
23904
72b3c6ee
AZ
23905 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23906 New macros.
23907 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23908 checks for expected input type size.
23909 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23910 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23911 Likewise.
23912 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23913 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23914 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23915 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23916 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23917 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23918 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23919 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23920 superflous runtime assert check.
23921 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23922 Likewise.
23923 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23924 Likewise.
23925 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23926 Likewise.
23927 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23928 Likewise.
23929 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23930 Likewise.
23931 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23932 Likewise.
23933 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23934 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23935 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23936 Likewise.
23937 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23938 Likewise.
23939 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23940 Likewise.
23941 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23942 Likewise.
23943 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23944 Likewise.
23945 * nptl/pthread_attr_setinheritsched.c
23946 (__pthread_attr_setinheritsched): Likewise.
23947 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23948 Likewise.
23949 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23950 Likewise.
23951 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23952 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23953 __old_pthread_attr_setstack): Likewise.
23954 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23955 Likewise.
23956 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23957 Likewise.
23958 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23959 Likewise.
23960 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23961 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23962 Likewise.
23963 * nptl/tst-typesizes.c: Remove file.
23964
dff91cd4
AZ
23965 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23966 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23967 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23968 checks for internal pthread_mutex_t offsets.
23969 * sysdeps/aarch64/nptl/pthread-offsets.h
23970 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23971 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23972 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23973 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23974 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23975 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23976 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23977 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23978 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23979 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23980 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23981 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23982 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23983 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23984 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23985 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23986 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23987 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23988
b7fc95f8
FW
239892017-11-07 Florian Weimer <fweimer@redhat.com>
23990
23991 * bits/mman-linux.h: Move ...
23992 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23993 comment.
23994 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23995 outdated comment.
23996
6b860364
RS
239972017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23998
23999 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24000 Redefine STRNLEN as __strnlen_power8.
24001
802c1f16
AZ
240022017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24003
d83da3a4
AZ
24004 * signal/sighold.c (sighold): Optimize implementation.
24005
6a4235f1
AZ
24006 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24007 __NR_rt_sigqueueinfo.
24008
8b0e795a
AZ
24009 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24010 __sigtimedwait.
24011 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24012 assume __NR_rt_sigtimedwait.
24013 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24014 and add LIBC_CANCEL_HANDLED for cancellation marking.
24015 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24016
a1a638dd
AZ
24017 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24018 (sysdeps_routines): Add memchr_noneon.
24019 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24020 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24021 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24022 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24023 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24024 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24025 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24026
802c1f16
AZ
24027 * sysdeps/arm/arm-ifunc.h: New file.
24028 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24029 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24030 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24031 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24032 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24033 (__memcpy_neon): Avoid create hidden alias.
24034 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24035 (__memcpy_vfp): Likewise.
24036 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24037 (sysdep_routines): Add memcpy_arm.
24038 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24039
abcb584d
L
240402017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24041
24042 [BZ #22362]
24043 * Makerules (make-link-multidir): New.
24044 * config.make.in (multidir): New.
24045 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24046 * configure: Regenerated.
24047 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24048 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24049 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24050 New target.
24051
4e2dff67
JM
240522017-11-06 Joseph Myers <joseph@codesourcery.com>
24053
24054 [BZ #22402]
24055 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24056 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24057
a1c7cd3c
MF
240582017-11-04 Mike FABIAN <mfabian@redhat.com>
24059
24060 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24061 to be escaped.
24062
b9af29c0
FW
240632017-11-04 Florian Weimer <fweimer@redhat.com>
24064
24065 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24066
4ca70e1a
JM
240672017-11-03 Joseph Myers <joseph@codesourcery.com>
24068
24069 * math/math.h [__HAVE_DISTINCT_FLOAT16
24070 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24071 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24072 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24073 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24074 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24075 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24076 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24077 (__MATH_TG_F32): New macro.
24078 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24079 (__MATH_TG_F64X): Likewise.
24080 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24081 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24082
ba0e6668
DL
240832017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24084
24085 * po/de.po: Update translations.
24086 * po/ru.po: Likewise.
24087
bc18a6d3
FW
240882017-11-03 Florian Weimer <fweimer@redhat.com>
24089
24090 * manual/filesys.texi (Hard Links): Document linkat.
24091
97255170
JM
240922017-11-03 Joseph Myers <joseph@codesourcery.com>
24093
86ec4865
JM
24094 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24095 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24096 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24097 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24098 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24099 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24100 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24101 the same as _Float128.
24102 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24103 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24104 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24105
97255170
JM
24106 * stdlib/stdlib.h
24107 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24108 Declare.
24109 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24110 Likewise.
24111 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24112 Likewise.
24113 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24114 (strtof32x): Likewise.
24115 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24116 (strtof64x): Likewise.
24117 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24118 (strtof128x): Likewise.
24119 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24120 (strfromf16): Likewise.
24121 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24122 (strfromf32): Likewise.
24123 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24124 (strfromf64): Likewise.
24125 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24126 (strfromf32x): Likewise.
24127 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24128 (strfromf64x): Likewise.
24129 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24130 (strfromf128x): Likewise.
24131 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24132 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24133 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24134 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24135 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24136 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24137
6d58ce5e
RH
241382017-11-03 Richard Henderson <rth@twiddle.net>
24139
24140 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24141
659ca267
SN
241422017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24143
24144 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24145
94d2f0af
SN
241462017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24147
24148 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24149 DT_TLSDESC_GOT initialization.
24150 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24151 (_dl_tlsdesc_resolve_hold): Likewise.
24152 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24153 (_dl_tlsdesc_resolve_hold): Likewise.
24154 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24155 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24156
28e1ddf3
SN
241572017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24158
24159 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24160
0ca3d1d6
SN
241612017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24162
24163 [BZ #18572]
24164 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24165 non-lazily for R_ARM_TLS_DESC.
24166
2c1d4e5f
SN
241672017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24168
24169 [BZ #17078]
24170 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24171 R_ARM_TLS_DESC case.
24172 (elf_machine_lazy_rel): Remove the prelink check.
24173
91c5a366
SN
241742017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24175
24176 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24177 DT_TLSDESC_GOT initialization.
24178 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24179 (_dl_tlsdesc_resolve_rela): Likewise.
24180 (_dl_tlsdesc_resolve_hold): Likewise.
24181 (_dl_tlsdesc_undefweak): Remove ldar.
24182 (_dl_tlsdesc_dynamic): Likewise.
24183 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24184 (_dl_tlsdesc_resolve_rela): Likewise.
24185 (_dl_tlsdesc_resolve_hold): Likewise.
24186 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24187 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24188 (_dl_tlsdesc_resolve_rela): Likewise.
24189 (_dl_tlsdesc_resolve_hold): Likewise.
24190
b7cf203b
SN
241912017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24192
24193 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24194 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24195
0cc5b022
SN
241962017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24197
24198 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24199 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24200
43ddff2e
JM
242012017-11-02 Joseph Myers <joseph@codesourcery.com>
24202
24203 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24204 Declare.
24205 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24206 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24207 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24208 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24209 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24210 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24211 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24212 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24213 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24214 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24215 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24216
5baac970
MF
242172017-11-02 Mike FABIAN <mfabian@redhat.com>
24218
24219 [BZ #22382]
24220 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24221 * localedata/locales/tpi_PG: Add standard header.
24222
ef11081f
FW
242232017-11-02 Florian Weimer <fweimer@redhat.com>
24224
24225 test-errno-linux: quotactl can fail with EPERM in containers.
24226 * sysdeps/unix/sysv/linux/test-errno-linux.c
24227 (LIST, LIST_FORWARD): New macros.
24228 (check_error_in_list): New function.
24229 (test_wrp_rv): Accept list of permitted error codes.
24230 (test_wrp_rv2): Remove.
24231 (test_wrp): Call test_wrp_rv with list of error codes.
24232 (test_wrp2): Accept list of error codes.
24233 (do_test): Adjust. Allow EPERM for quotactl.
24234
d10b132b
FW
242352017-11-02 Florian Weimer <fweimer@redhat.com>
24236
24237 * stdio-common/bug16.c (do_test): Use array_length.
24238 * stdio-common/errlist.c (_sys_nerr): Likewise.
24239 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24240 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24241 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24242 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24243 (do_test): Use array_length.
24244 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24245 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24246 * stdio-common/tst-printf-round.c (do_test): Likewise.
24247 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24248 (CHECK): Use array_length.
24249 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24250 * stdio-common/tstscanf.c (main): Likewise.
24251 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24252
c94a5688
FW
242532017-11-02 Florian Weimer <fweimer@redhat.com>
24254
24255 Add array_length and array_end macros.
24256 * include/array_length.h: New file.
24257
2fac6a6c
FW
242582017-11-02 Florian Weimer <fweimer@redhat.com>
24259
24260 [BZ #22332]
24261 * posix/tst-glob-tilde.c (do_noescape): New variable.
24262 (one_test): Process it.
24263 (do_test): Set do_noescape. Add unescaping test case.
24264
2f1b212e
JM
242652017-11-01 Joseph Myers <joseph@codesourcery.com>
24266
260fbd0a
JM
24267 * math/complex.h
24268 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24269 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24270 with appropriate macros defined and undefined.
24271 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24272 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24273 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24274 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24275 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24276 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24277 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24278 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24279 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24280 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24281
2f1b212e
JM
24282 * math/complex.h
24283 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24284 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24285 that for long double. Do not condition define and undefine of
24286 _Mdouble_complex_ on [__CFLOAT128].
24287
95b93c6e
L
242882017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24289
24290 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24291 of <sysdeps/generic/sysdep.h>.
24292 (ALIGNARG): Removed.
24293 (ASM_SIZE_DIRECTIVE): Likewise.
24294 (ENTRY): Likewise.
24295 (END): Likewise.
24296 (ENTRY_CHK): Likewise.
24297 (END_CHK): Likewise.
24298 (syscall_error): Likewise.
24299 (mcount): Likewise.
24300 (PSEUDO_END): Likewise.
24301 (L): Likewise.
24302 (atom_text_section): Likewise.
24303 * sysdeps/x86/sysdep.h: New file.
24304 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24305 of <sysdeps/generic/sysdep.h>.
24306 (ALIGNARG): Removed.
24307 (ASM_SIZE_DIRECTIVE): Likewise.
24308 (ENTRY): Likewise.
24309 (END): Likewise.
24310 (ENTRY_CHK): Likewise.
24311 (END_CHK): Likewise.
24312 (syscall_error): Likewise.
24313 (mcount): Likewise.
24314 (PSEUDO_END): Likewise.
24315 (L): Likewise.
24316 (atom_text_section): Likewise.
24317
1bb36539
RL
243182017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24319
24320 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24321 category of LC_CTYPE set to "i18n:2012".
24322 * localedata/locales/i18n_ctype: Regenerate.
24323
067f5d97 243242017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 24325
87bbc4cf
YN
24326 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24327 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24328 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24329 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24330
e8681faa
YN
24331 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24332 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24334 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24335
540af6e2
JM
243362017-10-31 Joseph Myers <joseph@codesourcery.com>
24337
43e66283
JM
24338 * math/complex.h
24339 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24340 New macro.
24341 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24342 Likewise.
24343 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24344 Likewise.
24345 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24346 (CMPLXF32X): Likewise.
24347 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24348 (CMPLXF64X): Likewise.
24349 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24350 (CMPLXF128X): Likewise.
24351
540af6e2
JM
24352 * math/math.h
24353 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24354 (__MATH_EVAL_FMT2): Define to add 0.0f.
24355
58af72b4
AM
243562017-10-31 Alan Modra <amodra@gmail.com>
24357
24358 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24359 include sysdep.h.
24360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24374 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24375 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24376 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24377 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24378 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24379 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24380 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24381 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24382 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24383 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24384 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24385 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24386 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24387 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24388 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24389 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24390 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24391 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24392 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24393 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24394 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24395 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24396 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24398 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24400 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24401 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24402 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24403 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24404 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24405 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24406 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24407 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24408 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24409 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24410 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24411 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24412 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24413 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24414 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24415 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24416 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24417 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24418 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24419 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24420 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24421 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24422 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24423 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24424 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24425 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24426 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24427 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24428 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24429
24430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24431 include sysdep.h and math_ldbl_opt.h.
24432
24433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24434 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24459
112f30b3
AM
244602017-10-31 Alan Modra <amodra@gmail.com>
24461
24462 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24463 string/strncase_l.c, not string/strncase.c.
24464 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24465 (libc_hidden_def): Redefine.
24466
e9e7eced
AM
244672017-10-31 Alan Modra <amodra@gmail.com>
24468
24469 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24470 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24471 (__strcasecmp): Don't define.
24472
f7b465cf
AM
244732017-10-31 Alan Modra <amodra@gmail.com>
24474
24475 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24476 IS_IN (libc).
24477 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24478 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24479 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24480
d46b09f9
AM
244812017-10-31 Alan Modra <amodra@gmail.com>
24482
24483 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24484 USE_AS_STPNCPY.
24485
e9b8e194
AM
244862017-10-31 Alan Modra <amodra@gmail.com>
24487
24488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24489 Redefine only when SHARED.
24490
eda162dd
JM
244912017-10-30 Joseph Myers <joseph@codesourcery.com>
24492
b61afe8c
JM
24493 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24494 Include <bits/math-finite.h> with appropriate macros defined and
24495 undefined.
24496 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24497 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24498 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24499 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24500 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24501
eda162dd
JM
24502 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24503 [!_Mlong_double_] (_Mlong_double_): Likewise.
24504 [!_Mfloat16_] (_Mfloat16_): Likewise.
24505 [!_Mfloat32_] (_Mfloat32_): Likewise.
24506 [!_Mfloat64_] (_Mfloat64_): Likewise.
24507 [!_Mfloat128_] (_Mfloat128_): Likewise.
24508 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24509 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24510 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24511 (_Mdouble_): Define without indirection through those macros.
24512 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24513 [!_Mfloat128_] (_Mfloat128_): Likewise.
24514 [_Mlong_double_] (_Mlong_double_): Likewise.
24515 (_Mdouble_): Define without indirection through those macros.
24516 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24517 not add -D_Mlong_double_=double.
24518 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24519 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24520
4ad5106e
L
245212017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24522
24523 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24524
fe326df7
L
245252017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24526
24527 * sysdeps/x86/libc-start.c: Reformat.
24528
c5cc4514
L
245292017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24530
24531 [BZ #22353]
24532 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24533 (1): Renamed to ...
24534 (L(Src0)): This.
24535 (L(Src1)): New.
24536 (L(Src2)): Likewise.
24537 (L(1)): Renamed to ...
24538 (L(Src3)): This.
24539
ce12269f
JM
245402017-10-30 Joseph Myers <joseph@codesourcery.com>
24541
24542 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24543 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24544 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24545 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24546 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24547 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24548 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24549 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24550 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24551 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24552 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24553 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24554 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24555 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24556 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24557 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24558 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24559 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24560 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24561 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24562 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24563 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24564 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24565 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24566 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24567 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24568 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24569 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24570 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24571 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24572 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24573 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24574 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24575 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24576 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24577 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24578 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24579 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24580 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24581 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24582 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24583 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24584 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24585 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24586 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24587 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24588 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24589 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24590 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24591 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24592 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24593 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24594 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24595 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24596 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24597 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24598 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24599 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24600 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24601 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24602 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24603 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24604 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24605 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24606 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24607 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24608
4484b9e2
FW
246092017-10-30 Florian Weimer <fweimer@redhat.com>
24610
24611 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24612 always defined.
24613 * io/tst-mkdirat.c (do_test): Likewise.
24614 * io/tst-mkfifoat.c (do_test): Likewise.
24615 * io/tst-mknodat.c (do_test): Likewise.
24616 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24617 * locale/programs/locale.c (select_dirs): Likewise.
24618 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24619 * posix/bug-glob2.c (my_readdir): Likewise.
24620 * posix/tst-dir.c (main): Likewise.
24621 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24622 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24623
68fe16dd
FW
246242017-10-30 Florian Weimer <fweimer@redhat.com>
24625
24626 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24627 just __USE_GNU.
24628
dadf23f0
FW
246292017-10-30 Florian Weimer <fweimer@redhat.com>
24630
24631 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24632 Convert to support/test-driver.c.
24633 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24634 New macro parameters.
24635 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24636 * posix/tst-gnuglob.c: New file.
24637 * posix/tst-gnuglob64.c: Likewise.
24638 * posix/Makefile (tests): Add tst-gnuglob64.
24639
363e4519 246402017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
24641
24642 [BZ #19485]
24643 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24644 and use a better translation for March in “mon”.
24645 * localedata/locales/csb_PL: Use more ASCII to improve the
24646 readability of the source.
24647
b110af82
MF
246482017-10-30 Mike FABIAN <mfabian@redhat.com>
24649
24650 [BZ #13953]
24651 * localedata/locales/km_KH: Use ASCII as much
24652 as possible for better readability of the source and
24653 remove useless comments.
24654 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24655 was commented out and apparently wrong anyway because it was
24656 using Lao characters. If Buddhist era should be used
24657 for km_KH, a native speaker should write the correct formaat
24658 for Khmer.
24659 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24660 (According to CLDR, the first weekday for Cambodia is Sunday).
24661 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24662 (These were using Lao characters which must be wrong. If we get
24663 the correct data from a native speaker, we could add it back, until
24664 then it is better not to have name_mr and name_mrs at all than
24665 having it wrong).
24666
f301e533
RL
246672017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24668
24669 * locale/loadlocale.c: Correct size of
24670 _nl_value_type_LC_<category> arrays.
24671
7e9d7073
JM
246722017-10-27 Joseph Myers <joseph@codesourcery.com>
24673
24674 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24675 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24676 with appropriate macros defined and undefined.
24677 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24678 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24679 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24680 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24681 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24682
63d3b468
L
246832017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24684
24685 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24686 "-O2 -march=i586".
24687
a4cc02c7
MF
246882017-10-27 Mike FABIAN <mfabian@redhat.com>
24689
24690 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24691 with lowercase letters to make it agree with CLDR.
24692
1e5971ec
MF
246932017-10-27 Mike FABIAN <mfabian@redhat.com>
24694
24695 [BZ #15260]
24696 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24697 first letters of yesstr and nostr in yesexpr and noexpr,
24698 not for the full words.
24699 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24700 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24701 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24702 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24703 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24704 first letters of yesstr and nostr in yesexpr and noexpr,
24705 until now only English was matched in yesexpr and noexpr.
24706 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24707 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24708 fil but not for tl. As tl and fil are very similar, using fil
24709 is probably better than using English.
24710
363e4519 247112017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
24712
24713 [BZ #21706]
24714 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24715 in yesstr and nostr.
24716
5d220788
JM
247172017-10-26 Joseph Myers <joseph@codesourcery.com>
24718
ecc7da5b
JM
24719 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24720 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24721 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24722 Likewise.
24723 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24724 Likewise.
24725 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24726 Likewise.
24727 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24728 Likewise.
24729 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24730 (SNANF128X): Likewise.
24731
5d220788
JM
24732 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24733 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24734 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24735 (HUGE_VAL_F32): Likewise.
24736 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24737 (HUGE_VAL_F64): Likewise.
24738 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24739 (HUGE_VAL_F32X): Likewise.
24740 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24741 (HUGE_VAL_F64X): Likewise.
24742 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24743 (HUGE_VAL_F128X): Likewise.
24744
363e4519 247452017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
24746
24747 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24748 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24749 for the br_FR locale.
24750
363e4519 247512017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
24752
24753 [BZ #21706]
24754 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24755
337ff3c5
CD
247562017-10-25 Carlos O'Donell <carlos@redhat.com>
24757
02eec681
CD
24758 * locale/programs/record-status.h: Define globals, and function
24759 prototypes. Move function bodies...
24760 * locale/programs/record-status.c: ... to here. New file.
24761 * iconv/Makefile (iconv_prog-modules): Add record-status.
24762 * locale/Makefile (lib-modules): Likewise.
24763 * iconv/iconv_prog.c: Remove verbose.
24764 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24765 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24766 record a warning about ASCII compatibility.
24767 * locale/programs/ld-monetary.c (monetary_finish): If
24768 warn_int_curr_symbol is true then record a warning about the symbol
24769 not being in our ISO 4217 list.
24770 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24771 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24772 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24773 (OPT_NO_WARN): Define.
24774 (OPT_WARN): Define.
24775 (options): Add entry for --no-warnings, and --warnings.
24776 (set_warnings): New function to enable/disable warnings.
24777 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24778 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24779 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24780 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24781 Pass flags to generate_locale.
24782 (generate_locale): Accept new flag argument and pass it to localedef
24783 invocation.
24784 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24785 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24786
56fa555a
CD
24787 * localedata/Makefile (test-input-data): Use full file name.
24788 * localedata/da_DK.in: Rename to...
24789 * localedata/da_DK.ISO-8859-1.in: ...this.
24790 * localedata/de_DE.in: Rename to...
24791 * localedata/de_DE.ISO-8859-1.in: ...this.
24792 * localedata/en_US.in: Rename to...
24793 * localedata/en_US.ISO-8859-1.in: ...this.
24794 * localedata/fr_FR.in: Rename to...
24795 * localedata/fr_FR.UTF-8.in: ... this.
24796 * localedata/hr_HR.in: Rename to...
24797 * localedata/hr_HR.ISO-8859-2.in: ...this.
24798 * localedata/hu_HU.in: Rename to...
24799 * localedata/hu_HU.UTF-8.in: ...this.
24800 * localedata/si_LK.in: Rename to...
24801 * localedata/si_LK.UTF-8.in: ...this.
24802 * localedata/sv_SE.in: Rename to...
24803 * localedata/sv_SE.ISO-8859-1.in: ...this.
24804 * localedata/tr_TR.in: Rename to...
24805 * localedata/tr_TR.UTF-8.in: ...this.
24806 * localedata/uk_UA.in: Rename to...
24807 * localedata/uk_UA.UTF-8.in: ...this.
24808 * localedata/sort-test.sh: Test file is locale name with the
24809 suffix.
24810
337ff3c5
CD
24811 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24812 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24813 file.
24814 * localedata/locales/i18n_ctype: Regenerate.
24815 * localedata/locales/tr_TR: Likewise.
24816 * localedata/locales/translit_circle: Likewise.
24817 * localedata/locales/translit_cjk_compat: Likewise.
24818 * localedata/locales/translit_combining: Likewise.
24819 * localedata/locales/translit_compat: Likewise.
24820 * localedata/locales/translit_font: Likewise.
24821 * localedata/locales/translit_fraction: Likewise.
24822
63da5cd4
RS
248232017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24824
24825 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24826 lxvd2x/stxvd2x with lvx/stvx.
24827 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24828
a122dbfb
L
248292017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24830
24831 * include/alloc_buffer.h: Replace "if if " with "if " in
24832 comments.
24833 * sysdeps/mips/memcpy.S: Likkewise.
24834 * sysdeps/mips/memset.S: Likewise.
24835 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24836 Likewise.
24837 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24838 Likewise.
24839 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24840 Likewise.
24841
9be7530c
MF
248422017-10-25 Mike FABIAN <mfabian@redhat.com>
24843
24844 [BZ #15261]
24845 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24846 yesexpr and noexpr.
24847 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24848 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24849 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24850 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24851 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24852 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24853 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24854
6ccbf6ff
MF
248552017-10-25 Mike FABIAN <mfabian@redhat.com>
24856
24857 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24858 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24859 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24860 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24861 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24862 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24863 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24864 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24865 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24866 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24867 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24868 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24869
58b1a7ea
MF
248702017-10-25 Mike FABIAN <mfabian@redhat.com>
24871
24872 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24873 as possible for better readability of the source.
24874 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24875 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24876 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24877 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24878 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24879 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24880 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24881 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24882 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24883 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24884 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24885 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24886 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24887 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24888 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24889 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24890 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24891 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24892 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24893 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24894 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24895 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24896 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24897 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24898 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24899 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24900 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24901 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24902 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24903 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24904 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24905 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24906 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24907 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24908 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24909 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24910 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24911 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24912 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24913 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24914 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24915 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24916 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24917 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24918 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24919 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24920 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24921 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24922 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24923 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24924 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24925 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24926 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24927 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24928 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24929 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24930 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24931 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24932 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24933 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24934 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24935 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24936 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24937 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24938 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24939 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24940 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24941 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24942 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24943 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24944 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24945 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24946 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24947 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24948 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24949 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24950 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24951 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24952 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24953 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24954 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24955 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24956 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24957 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24958 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24959 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24960 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24961 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24962 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24963 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24964 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24965 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24966 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24967 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24968 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24969 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24970 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24971 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24972 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24973 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24974 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24975 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24976 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24977 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24978 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24979 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24980 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24981 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24982 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24983 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24984 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24985 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24986 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24987 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24988 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24989 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24990 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24991 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24992 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24993 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24994 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24995 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24996 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24997 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24998 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24999 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25000 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25001 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25002 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25003 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25004 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25005 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25006 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25007 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25008 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25009 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25010 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25011 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25012 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25013 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25014 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25015 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25016 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25017 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25018 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25019 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25020 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25021 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25022 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25023 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25024 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25025 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25026 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25027 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25028 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25029 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25030 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25031 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25032 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25033 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25034 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25035 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25036 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25037 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25038 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25039 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25040 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25041 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25042 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25043 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25044 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25045 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25046 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25047 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25048
17e78edb
MF
250492017-10-25 Mike FABIAN <mfabian@redhat.com>
25050
25051 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25052 (Use first letters of yesstr and nostr correctly instead of using
25053 full words).
25054
74e7284f
MF
250552017-10-25 Mike FABIAN <mfabian@redhat.com>
25056
25057 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25058 (Use first letters of yesstr and nostr correctly).
25059
b41a0ff1
MF
250602017-10-25 Mike FABIAN <mfabian@redhat.com>
25061
25062 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25063 also check for the first characters of yesstr and nostr.
25064 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25065 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25066
d971f380
MF
250672017-10-25 Mike FABIAN <mfabian@redhat.com>
25068
25069 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25070 also check for Chinese characters.
25071
effc9e1d
MF
250722017-10-25 Mike FABIAN <mfabian@redhat.com>
25073
25074 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25075 match also for the contents of yesstr and nostr. As the first letter
25076 of yesstr and nostr is equal, checking only for the first letter
25077 is not enough.
25078
10320881
MF
250792017-10-25 Mike FABIAN <mfabian@redhat.com>
25080
25081 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25082 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25083
d8682a15
MF
250842017-10-25 Mike FABIAN <mfabian@redhat.com>
25085
25086 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25087 of main contributor.
25088
1bfb86ae
MF
250892017-10-25 Mike FABIAN <mfabian@redhat.com>
25090
25091 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25092 instead of using English.
25093
da33d60b
MF
250942017-10-25 Mike FABIAN <mfabian@redhat.com>
25095
25096 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25097 by including the first letters of nostr and yesexpr in the regexp.
25098 Also make it more readable by using ASCII where possible.
25099
725bbb3e
MF
251002017-10-25 Mike FABIAN <mfabian@redhat.com>
25101
25102 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25103 the first letter of nostr in the regexp. It agrees with CLDR now.
25104 Also make it more readable by using ASCII where possible.
25105
fe043d8a
MF
251062017-10-24 Mike FABIAN <mfabian@redhat.com>
25107
25108 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25109 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25110 these strings contain a U+17D6 (which somewhat looks like a colon)
25111 instead of a real colon to separate the full words for “yes”
25112 and “no” from the single letter responses.
25113
360a8df3
MF
251142017-10-24 Mike FABIAN <mfabian@redhat.com>
25115
25116 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25117 it agree with CLDR (include the first letter of yesstr).
25118 Also make it more readable by using ASCII where possible.
25119
bab7b6b0
MF
251202017-10-24 Mike FABIAN <mfabian@redhat.com>
25121
25122 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25123 and improve yesexpr and noexpr. The yesstr and nostr apparently
25124 came from CLDR. And CLDR has a bug there: these strings contain
25125 a U+0903 (which looks like a colon) instead of a real colon
25126 to separate the full words for “yes” and “no” from the single
25127 letter responses.
25128
3e79f758
MF
251292017-10-24 Mike FABIAN <mfabian@redhat.com>
25130
25131 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25132 letters of the full yesstr and nostr in yesexpr and noexpr.
25133
4960c879
MF
251342017-10-24 Mike FABIAN <mfabian@redhat.com>
25135
25136 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25137 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25138 * localedata/locales/an_ES: Make source more readable by using ASCII
25139 where possible.
25140
b06a054f
MF
251412017-10-24 Mike FABIAN <mfabian@redhat.com>
25142
25143 [BZ #20952]
25144 * localedata/locales/yuw_PG: New file.
25145 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25146 * locale/iso-639.def: Add Yau (Uruwa).
25147
905a7725
WD
251482017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25149
25150 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25151
3f6bb8a3
WD
251522017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25153
25154 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25155 (__libc_realloc): Likewise.
25156 (_mid_memalign): Likewise.
25157 (__libc_calloc): Likewise.
25158
1d479c8c
MF
251592017-10-23 Mike FABIAN <mfabian@redhat.com>
25160
25161 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25162 by adding the generic +1 and -0 as in all other locales.
25163 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25164 day names and make it more readable by using ASCII where possible.
25165
91c3985c
JM
251662017-10-24 Joseph Myers <joseph@codesourcery.com>
25167
25168 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25169 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25170
aa95a241
AZ
251712017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25172
25173 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25174 WNOHANG in waitpid call.
25175
db9bab09
SP
251762017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25177
a2e0a7f1
SP
25178 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25179 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25180
db9bab09
SP
25181 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25182 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25183 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25184 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25185 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25186 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25187 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25188 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25189 variables.
25190
5062680c
MC
251912017-10-23 Michael Collison <michael.collison@arm.com>
25192
25193 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25194 with __builtin_sqrt.
25195 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25196 with __builtin_sqrtf.
25197 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25198 with __builtin_ceil.
25199 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25200 with __builtin_ceilf.
25201 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25202 with __builtin_floor.
25203 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25204 with __builtin_floorf.
25205 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25206 with __builtin_fma.
25207 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25208 with __builtin_fmaf.
25209 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25210 with __builtin_fmax.
25211 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25212 with __builtin_fmaxf.
25213 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25214 with __builtin_fmin.
25215 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25216 with __builtin_fminf.
25217 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25218 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25219 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25220 with builtin_rint and conversion to int.
25221 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25222 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25223 with builtin_llround.
25224 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25225 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25226 with builtin_rint and conversion to long int.
25227 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25228 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25229 with builtin_lround.
25230 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25231 with builtin_lroundf.
25232 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25233 statements with __builtin_nearbyint.
25234 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25235 statements with __builtin_nearbyintf.
25236 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25237 with __builtin_rint.
25238 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25239 with __builtin_rintf.
25240 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25241 with __builtin_round.
25242 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25243 with __builtin_roundf.
25244 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25245 with __builtin_trunc.
25246 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25247 with __builtin_truncf.
be080b6c
SN
25248 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25249 and s_l[l]round[f].c too.
5062680c 25250
174935af
AM
252512017-10-23 Alan Modra <amodra@gmail.com>
25252
25253 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25254 Adjust stack after restoring regs. Add missing LR cfi_restore.
25255
750a0e49
AM
252562017-10-23 Alan Modra <amodra@gmail.com>
25257
25258 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25259 Move LR save and frame setup/teardown and LR restore to
25260 immediately around memset call. Provide cfi.
25261
5313581c
L
252622017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25263
25264 * sysdeps/i386/fpu/e_powf.S: Removed.
25265 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25266 * sysdeps/i386/fpu/w_powf.c: Likewise.
25267 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25268 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25269 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25270 Add e_powf-sse2.
25271 (CFLAGS-e_powf-sse2.c): New.
25272 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25273 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25274
6089a3ee
L
252752017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25276
25277 * sysdeps/i386/fpu/e_log2f.S: Removed.
25278 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25279 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25280 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25281 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25282 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25283 Add e_log2f-sse2.
25284 (CFLAGS-e_log2f-sse2.c): New.
25285 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25286 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25287
80bb5935
L
252882017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25289
25290 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25291 Add e_powf-fma.
25292 (CFLAGS-e_powf-fma.c): New.
25293 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25294 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25295
5c7adbd8
L
252962017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25297
25298 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25299 Add e_log2f-fma.
25300 (CFLAGS-e_log2f-fma.c): New.
25301 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25302 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25303
0ccc7153
L
253042017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25305
25306 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25307 Add e_logf-fma.
25308 (CFLAGS-e_logf-fma.c): New.
25309 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25310 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25311
fe596486
L
253122017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25313
25314 * sysdeps/i386/fpu/e_logf.S: Removed.
25315 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25316 * sysdeps/i386/fpu/w_logf.c: Likewise.
25317 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25318 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25319 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25320 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25321 Add e_logf-sse2.
25322 (CFLAGS-e_logf-sse2.c): New.
25323 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25324 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25325
7eda65f6
L
253262017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25327
25328 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25329 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25330 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25331 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25332 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25333 Add e_exp2f-sse2.
25334 (CFLAGS-e_exp2f-sse2.c): New.
25335 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25336 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25337
5d15c969
L
253382017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25339
25340 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25341 Add e_exp2f-fma.
25342 (CFLAGS-e_exp2f-fma.c): New.
25343 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25344 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25345
b2f6137e
L
253462017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25347
25348 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25349 * sysdeps/i386/fpu/e_expf.S: Likewise.
25350 * sysdeps/i386/fpu/math_errf.c: Likewise.
25351 * sysdeps/i386/fpu/w_expf.c: Likewise.
25352 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25353 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25354 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25355 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25356 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25357 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25358 Remove e_expf-ia32.
25359 (CFLAGS-e_expf-sse2.c): New.
25360 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25361 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25362
e1f59beb
L
253632017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25364
25365 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25366 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25367 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25368 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25369 e_expf.c.
25370 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25371 New.
25372 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25373 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25374 Renamed to ...
25375 (__redirect_expf): This.
25376 (SYMBOL_NAME): Changed to expf.
25377 (__ieee754_expf): Renamed to ...
25378 (__expf): This.
25379 (__GI___expf): This.
25380 (__ieee754_expf): Add strong_alias.
25381 (__expf_finite): Likewise.
25382 (__expf): New.
25383 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25384
363e4519 253852017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
25386
25387 [BZ #22332]
25388 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25389 unescaping.
25390
e80fc1fc
FW
253912017-10-21 Florian Weimer <fweimer@redhat.com>
25392
25393 * posix/Makefile (tests): Add tst-glob-tilde.
25394 (tests-special): Add tst-glob-tilde-mem.out
25395 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25396 (tst-glob-tilde-mem.out): Add mtrace check.
25397 * posix/tst-glob-tilde.c: New file.
25398
797ba44b
JM
253992017-10-20 Joseph Myers <joseph@codesourcery.com>
25400
25401 * bits/floatn-common.h: New file.
25402 * math/Makefile (headers): Add bits/floatn-common.h.
25403 * bits/floatn.h: Include <bits/floatn-common.h>.
25404 * sysdeps/ia64/bits/floatn.h: Likewise.
25405 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25406 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25407 * sysdeps/powerpc/bits/floatn.h: Likewise.
25408 * sysdeps/x86/bits/floatn.h: Likewise.
25409
fe05e1cb
AZ
254102017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25411
8f6f5362
AZ
25412 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25413 indicates whether compiler emits an warning for alias for
25414 functions with incompatible types.
25415
fe05e1cb
AZ
25416 [BZ #22273]
25417 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25418 the auxiliary process is terminated by a signal before calling _exit
25419 or execve.
25420
b52b0d79
L
254212017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25422
25423 [BZ #21265]
25424 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25425 New.
25426 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25427 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25428 and bit_arch_XSAVEC_Usable if needed.
25429 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25430 and bit_arch_Use_dl_runtime_resolve_opt.
25431 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25432 Removed.
25433 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25434 (bit_arch_Prefer_No_AVX512): Updated.
25435 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25436 (bit_arch_XSAVEC_Usable): New.
25437 (STATE_SAVE_OFFSET): Likewise.
25438 (STATE_SAVE_MASK): Likewise.
25439 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25440 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25441 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25442 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25443 (index_arch_XSAVEC_Usable): New.
25444 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25445 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25446 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25447 is enabled.
25448 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25449 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25450 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25451 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25452 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25453 _dl_runtime_resolve_xsavec.
25454 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25455 Removed.
25456 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25457 instead of VEC_SIZE.
25458 (REGISTER_SAVE_BND0): Removed.
25459 (REGISTER_SAVE_BND1): Likewise.
25460 (REGISTER_SAVE_BND3): Likewise.
25461 (REGISTER_SAVE_RAX): Always defined to 0.
25462 (VMOV): Removed.
25463 (_dl_runtime_resolve_avx): Likewise.
25464 (_dl_runtime_resolve_avx_slow): Likewise.
25465 (_dl_runtime_resolve_avx_opt): Likewise.
25466 (_dl_runtime_resolve_avx512): Likewise.
25467 (_dl_runtime_resolve_avx512_opt): Likewise.
25468 (_dl_runtime_resolve_sse): Likewise.
25469 (_dl_runtime_resolve_sse_vex): Likewise.
25470 (USE_FXSAVE): New.
25471 (_dl_runtime_resolve_fxsave): Likewise.
25472 (USE_XSAVE): Likewise.
25473 (_dl_runtime_resolve_xsave): Likewise.
25474 (USE_XSAVEC): Likewise.
25475 (_dl_runtime_resolve_xsavec): Likewise.
25476 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25477 Removed.
25478 (_dl_runtime_resolve_avx512_opt): Likewise.
25479 (_dl_runtime_resolve_avx): Likewise.
25480 (_dl_runtime_resolve_avx_opt): Likewise.
25481 (_dl_runtime_resolve_sse): Likewise.
25482 (_dl_runtime_resolve_sse_vex): Likewise.
25483 (_dl_runtime_resolve_fxsave): New.
25484 (_dl_runtime_resolve_xsave): Likewise.
25485 (_dl_runtime_resolve_xsavec): Likewise.
25486
363e4519 254872017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
25488
25489 [BZ #22320]
25490 CVE-2017-15670
25491 * posix/glob.c (__glob): Fix one-byte overflow.
25492
6d43de4b
WD
254932017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25494
25495 * malloc/malloc.c (sysdep-cancel.h): Add include.
25496
a15d53e2
WD
254972017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25498
25499 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25500
b9a558e7
WH
255012017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25502
25503 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25504 (tests): Remove $(objpfx)ga_test depdendency.
25505 * resolv/ga_test.c: Remove file.
25506
b6b08b8e
MF
255072017-10-20 Mike FABIAN <mfabian@redhat.com>
25508
25509 [BZ #18812]
25510 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25511 * localedata/locales/kab_DZ: New file.
25512
9ba7e810
L
255132017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25514
25515 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25516 _dl_relocate_static_pie instead of _dl_start to compute load
25517 address in static PIE.
25518
4027a4fd
L
255192017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25520
25521 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25522
2f9314b4
MF
255232017-10-20 Mike FABIAN <mfabian@redhat.com>
25524
25525 [BZ #13605]
25526 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25527 * localedata/locales/shn_MM: New file.
25528
63b4baa4
FW
255292017-10-20 Florian Weimer <fweimer@redhat.com>
25530
25531 [BZ #22321]
25532 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25533 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25534 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25535 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25536 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25537 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25538
95ccb619
L
255392017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25540
25541 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25542
37bb78cb
JM
255432017-10-19 Joseph Myers <joseph@codesourcery.com>
25544
76f2ed92
JM
25545 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25546
37bb78cb
JM
25547 [BZ #22322]
25548 * sysdeps/mips/bits/long-double.h: Move to ....
25549 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25550
d74e6f6c
WD
255512017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25552
25553 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25554
363e4519 255552017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
25556 H.J. Lu <hongjiu.lu@intel.com>
25557
25558 [BZ #22299]
25559 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25560 GLRO(dl_platform) to NULL.
25561 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25562 (modules-names): Add tst-platformmod-1 and
25563 x86_64/tst-platformmod-2.
25564 (CFLAGS-tst-platform-1.c): New.
25565 (CFLAGS-tst-platformmod-1.c): Likewise.
25566 (CFLAGS-tst-platformmod-2.c): Likewise.
25567 (LDFLAGS-tst-platformmod-2.so): Likewise.
25568 ($(objpfx)tst-platform-1): Likewise.
25569 ($(objpfx)tst-platform-1.out): Likewise.
25570 (tst-platform-1-ENV): Likewise.
25571 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25572 * sysdeps/x86_64/tst-platform-1.c: New file.
25573 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25574 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25575
4b0fa403
MF
255762017-10-19 Mike FABIAN <mfabian@redhat.com>
25577
25578 [BZ #13994]
25579 * locale/iso-639.def: Add Karbi.
25580 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25581 * localedata/locales/mjw_IN: New file.
25582
81325b12
JM
255832017-10-18 Joseph Myers <joseph@codesourcery.com>
25584
25585 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25586 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25587 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25588 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25589 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25590 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25591 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25592 <bits/floatn.h>.
25593 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25594 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25595 * manual/math.texi (Mathematics): Document additional architecture
25596 support for _Float128.
25597 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25598 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25599 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25600 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25601 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25602 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25603 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25604 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25605 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25606 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25607 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25608 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25609 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25610 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25611 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25612
a68ba2f3
SN
256132017-10-18 Renlin Li <renlin.li@arm.com>
25614
25615 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25616 _DYNAMIC symbol to calculate load address.
25617
346729f6
PC
256182017-10-18 Paul A. Clarke <pc@us.ibm.com>
25619
25620 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25621 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25622 summary bits.
25623 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25624 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25625
508b1e71
MF
256262017-10-18 Mike FABIAN <mfabian@redhat.com>
25627
25628 [BZ #16777]
25629 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25630 and improve readability by using more ASCII.
25631 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25632 and improve readability by using more ASCII.
25633
2c2245b9
WD
256342017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25635
25636 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25637 not all targets support atomics on bool.
25638
13c92696
JM
256392017-10-17 Joseph Myers <joseph@codesourcery.com>
25640
25641 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25642 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25643 __f128.
25644 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25645 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25646 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25647 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25648 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25649 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25650
71d85045
AZ
256512017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25652
25653 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25654 defines.
25655
3381be5c
WD
256562017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25657
25658 [BZ #22159]
25659 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25660 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25661 (do_check_remalloced_chunk): Fix build bug.
25662 (do_check_malloc_state): Add assert that checks arena->top.
25663 (malloc_consolidate): Remove initialization.
25664 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 25665 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 25666
e956075a
WD
256672017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25668
25669 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25670 (have_fastchunks): Remove.
25671 (clear_fastchunks): Remove.
25672 (set_fastchunks): Remove.
25673 (malloc_state): Add have_fastchunks.
25674 (malloc_init_state): Use have_fastchunks.
25675 (do_check_malloc_state): Remove incorrect invariant checks.
25676 (_int_malloc): Use have_fastchunks.
25677 (_int_free): Likewise.
25678 (malloc_consolidate): Likewise.
25679
e4dd4ace
WD
256802017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25681
25682 * malloc/malloc.c (tcache_put): Inline.
25683 (tcache_get): Inline.
25684
5bf58bc7
AJ
256852017-10-17 Jordi Mallach <jordi@gnu.org>
25686
25687 Aurelien Jarno <aurelien@aurel32.net>
25688 [BZ #2522]
25689 * localedata/locales/ca_ES@valencia: New file.
25690 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25691
386e1c26
RN
256922017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25693
25694 [BZ #22296]
25695 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25696 < 6.x
25697
4e17c78e
AZ
256982017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25699
3d265601
AZ
25700 * scripts/build-many-glibcs.py (Context.add_all_configs):
25701 Add arm-linux-gnueabihf multiarch extra_glibcs.
25702
4e17c78e
AZ
25703 * sysdeps/generic/ifunc-init.h: New file.
25704 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25705
56a752ab
MF
257062017-10-17 Mike FABIAN <mfabian@redhat.com>
25707
25708 [BZ #22019]
25709 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25710 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25711 * stdlib/tst-strfmon_l.c: adapt test case.
25712
c38a4bfd
JM
257132017-10-16 Joseph Myers <joseph@codesourcery.com>
25714
25715 * sysdeps/generic/float128-abi.h: New file.
25716 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25717 non-__prefixed symbols to ....
25718 * math/Versions: ... here. Include <float128-abi.h>.
25719 * stdlib/Versions ... and here. Include <float128-abi.h>
25720
76009b26
FW
257212017-10-16 Florian Weimer <fweimer@redhat.com>
25722
25723 * version.h (VERSION): Switch to ".9000" as the development
25724 version suffix.
25725
7ece6cd5
FW
257262017-10-16 Florian Weimer <fweimer@redhat.com>
25727
25728 [BZ #22050]
25729 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25730 compat_symbol_reference to access non-default version.
25731
d8287b36
FW
257322017-10-16 Florian Weimer <fweimer@redhat.com>
25733
25734 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25735
3480ddc4
CD
257362017-10-16 Carlos O'Donell <carlos@redhat.com>
25737
25738 * include/shlib-compat.h (compat_symbol_reference): Update
25739 comment.
25740
02010e79
JM
257412017-10-16 Joseph Myers <joseph@codesourcery.com>
25742
596f7013
JM
25743 * math/Makefile (test-types): Add
25744 $(type-float128-$(float128-alias-fcts)).
25745 * math/test-float128.h (TYPE_STR): Define conditional on
25746 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25747 (ULP_IDX): Likewise.
25748 (ULP_I_IDX): Likewise.
25749
02010e79
JM
25750 * stdlib/strtold.c: Include <bits/floatn.h>
25751 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25752 and later undefine as macro. Define as weak alias if
25753 [!USE_WIDE_CHAR].
25754 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25755 and later undefine as macro. Define as weak alias if
25756 [USE_WIDE_CHAR].
25757 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25758 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25759 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25760 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25761 Define and later undefine as macro. Define as weak alias if
25762 [USE_WIDE_CHAR].
25763 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25764 <bits/floatn.h>.
25765 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25766 Define and later undefine as macro. Define as weak alias if
25767 [!USE_WIDE_CHAR].
25768 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25769 Define and later undefine as macro. Define as weak alias if
25770 [USE_WIDE_CHAR].
25771
ea91c315
CD
257722017-10-15 Carlos O'Donell <carlos@redhat.com>
25773
25774 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25775 record_verbose messages.
25776
8e57c943
L
257772017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25778
25779 [BZ #22052]
25780 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25781 to silence -O3 -Wall warning with GCC 7.
25782
a4777c46
L
257832017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25784
25785 * Makeconfig (+link-static-before-libc): Use the first of
25786 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25787 * gmon/Makefile (tests): Add tst-gmon-static.
25788 (tests-static): Likewise.
25789 (CFLAGS-tst-gmon-static.c): New.
25790 (CRT-tst-gmon-static): Likewise.
25791 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25792 (tst-gmon-static-ENV): Likewise.
25793 (tests-special): Likewise.
25794 ($(objpfx)tst-gmon-static.out): Likewise.
25795 (clean-tst-gmon-static-data): Likewise.
25796 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25797 * gmon/tst-gmon-static-gprof.sh: New file.
25798 * gmon/tst-gmon-static.c: Likewise.
25799
bc3821bb
CD
258002017-10-13 Carlos O'Donell <carlos@redhat.com>
25801
25802 [BZ #22295]
25803 * locale/programs/linereader.c (get_string): Don't warn on
25804 non-symbolic character.
25805
a3e23a2c
CD
25806 [BZ #22294]
25807 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25808 int_curr_symbol.
25809
f16491eb
CD
25810 [BZ #22292]
25811 * locale/programs/record-status.h: New file
25812 * locale/programs/locale.c: Add comment.
25813 * locale/programs/charmap-dir.c: Don't include error.h.
25814 (charmap_opendir): Use record_error.
25815 * locale/programs/charmap.c: Don't include error.h.
25816 (charmap_read): Use record_error, and record_warning.
25817 (parse_charmap): Likewise.
25818 * locale/programs/ld-address.c: Don't include error.h.
25819 (address_finish): Use record_error, and record_warning.
25820 * locale/programs/ld-collate.c: Don't include error.h.
25821 (collate_finish): Use record_error, and record_error_at_line.
25822 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25823 (ctype_class_new): Likewise.
25824 (ctype_map_new): Likewise.
25825 (set_one_default): Likewise.
25826 (set_class_defaults): Likewise.
25827 (translit_flatten): Likewise.
25828 (allocate_arrays): Use record_error, and record_verbose.
25829 * locale/programs/ld-identification.c: Don't include error.h.
25830 (indentation_finish): Use record_error and record_warning.
25831 * locale/programs/ld-measurement.c: Don't include error.h.
25832 (measurement_finish): Use record_error.
25833 * locale/programs/ld-messages.c
25834 (message_finish): Likewise.
25835 * locale/programs/ld-monetary.c
25836 (monetary_finish): Likewise.
25837 * locale/programs/ld-name.c (name_finish): Use record_error
25838 and record_warning.
25839 * locale/programs/ld-numeric.c
25840 (numeric_finish): Use record_error.
25841 * locale/programs/ld-paper.c: Don't include error.h.
25842 (paper_finish): Use record_error.
25843 * locale/programs/ld-telephone.c: Don't include error.h.
25844 (telephone_finish): Use record_error.
25845 * locale/programs/ld-time.c (time_finish): Likewise.
25846 * locale/programs/linereader.h (lr_error): Make inline func.
25847 * locale/programs/localedef.c: Define recorded_warning_count,
25848 and recorded_error_count.
25849 (main): Use record_error. Use recorded_error_count and
25850 recorded_warning_count to issue correct error returns.
25851 (add_to_readlist): Use record_error.
25852 (find_locale): Likewise.
25853 (load_locale): Likewise.
25854 * locale/programs/localedef.h: Remove be_quiet
25855 and WITH_CUR_LOCALE.
25856 * locale/programs/locarchive.c (compare_from_file): Use
25857 record_error.
25858 * locale/programs/locfile.c (write_locale_data): Use
25859 record_error.
25860 * locale/programs/repertoire.c: Dont include error.h.
25861 (repertoire_complain): Use record_error.
25862 * localedata/tst-fmon.sh: Expect failures from localedef.
25863 * localedata/tst-locale.sh: Likewise.
25864 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25865
8dc8be75
CD
25866 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25867 (REPORTS): Likewise.
25868 (check): Likewise.
25869 (i18n): Rename to...
25870 (i18n_ctype): ...this.
25871 (i18n-report): Rename to...
25872 (i18n_ctype-report): ...this.
25873 * localedata/locales/i18n_ctype: Regenerate.
25874 * localedata/locales/i18n: copy i18n_ctype.
25875
f8718a9e
JM
258762017-10-13 Joseph Myers <joseph@codesourcery.com>
25877
18c08b96
JM
25878 * stdlib/strfroml.c: Include <bits/floatn.h>.
25879 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25880 Define before include of <stdlib.h> and undefine afterwards, then
25881 define as weak alias.
25882
f8718a9e
JM
25883 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25884 Undefine and restore default definition. Use
25885 libm_alias_ldouble_other.
25886
e4f530da
PZ
258872017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25888
25889 [BZ #22153]
25890 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25891 in coredumps.
25892
86445888
JC
258932017-10-13 James Clarke <jrtc27@jrtc27.com>
25894
25895 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25896 Assign sym_map to be map for local symbols, as TLS relocations
25897 use sym_map to determine whether the symbol is defined and to
25898 extract the TLS information.
25899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25900 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25901
179dcdb7
TMQMF
259022017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25903
e8dbd6a3
TMQMF
25904 [BZ #22189]
25905 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25906 (math_force_eval): Add powerpc version.
25907
179dcdb7
TMQMF
25908 [BZ #22142]
25909 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25910 -DBL_MAX.
25911 (do_test): Likewise.
25912 * stdio-common/tst-printf.sh: Likewise.
25913 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25914 ifdef clause in order to set the carry bit right. Replace r0 by
25915 0 without changing the behavior.
25916
7d25d410
JM
259172017-10-13 Joseph Myers <joseph@codesourcery.com>
25918
006e7664
JM
25919 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25920 <libm-alias-ldouble.h>.
25921 (fabsl): Define using libm_alias_ldouble.
25922 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25923 <libm-alias-ldouble.h>.
25924 (fabsl): Define using libm_alias_ldouble.
25925
1def91b3
JM
25926 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25927 Remove conditional code.
25928
7d25d410
JM
25929 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25930 Rename to __clog10_internal_l.
25931 (__clog10_internal_l): Define aliases using
25932 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25933 with __clog10.
25934
077ee129
RS
259352017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25936
25937 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25938 * benchtests/sincosf-inputs: New file.
25939 * benchtests/cosf-inputs: New file.
25940 * benchtests/sinf-inputs: New file.
25941
5ba41de9
SN
259422017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25943
25944 * posix/tst-spawn.c (do_test): Wait for both children.
25945
d165ca64
L
259462017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25947
25948 [BZ #22284]
25949 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25950 tests-pie): Add tst-gmon-pie.
25951 (CFLAGS-tst-gmon-pie.c): New.
25952 (CRT-tst-gmon-pie): Likewise.
25953 (tst-gmon-pie-ENV): Likewise.
25954 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25955 ($(objpfx)tst-gmon-pie.out): Likewise.
25956 (clean-tst-gmon-pie-data): Likewise.
25957 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25958 * gmon/gmon.c [PIC]: Include <link.h>.
25959 [PIC] (callback): New function.
25960 (write_hist): Add an argument for load address. Subtract load
25961 address from PCs.
25962 (write_call_graph): Likewise.
25963 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25964 it to write_hist and write_call_graph.
7bacdcfc 25965 * gmon/tst-gmon-pie.c: New file.
d165ca64 25966
bc9620d0
JM
259672017-10-11 Joseph Myers <joseph@codesourcery.com>
25968
25969 * math/Makefile (test-types-basic): New variable.
25970 (test-types): Likewise.
25971 (libm-test-support): Use $(test-types) instead of $(types).
25972 (libm-tests-base-normal): Likewise.
25973 (libm-tests-base-finite): Likewise.
25974 (libm-tests-base-inline): Likewise.
25975 (generated): Likewise.
25976 ($(objpfx)libm-test-support-$(t).c): Likewise.
25977 (libm-tests-for-type iterator): Likewise.
25978 (libm-test-support iterator): Likewise.
25979 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25980 (ulp_idx): Use ULP_IDX.
25981 * math/test-ldouble.h: Include <float.h>.
25982 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25983 (ULP_IDX): New macro.
25984 (ULP_I_IDX): Likewise.
25985 * math/test-double.h (ULP_IDX): Likewise.
25986 (ULP_I_IDX): Likewise.
25987 * math/test-float.h (ULP_IDX): Likewise.
25988 (ULP_I_IDX): Likewise.
25989 * math/test-float128.h (ULP_IDX): Likewise.
25990 (ULP_I_IDX): Likewise.
25991
09c76a74
AZ
259922017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25993
25994 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25995 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25996 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25997 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25998 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25999 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26000 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26001 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26002 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26003 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26004 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26005 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26006 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26008 (SINGLE_THREAD_BY_GLOBAL): Define.
26009 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26010 Likewise.
26011 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26012 Likewise.
26013 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26014 Likewise.
26015 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26016 Likewise.
26017 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26018 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26020 Likewise.
26021
2faa42da
AS
260222017-10-11 Andreas Schwab <schwab@suse.de>
26023
26024 * nis/Makefile (aux): Remove.
26025 * nscd/Makefile (aux): Add nscd_hash.
26026 (nscd-modules): Likewise.
26027 ($(objpfx)nscd): Don't depend on libnsl.
26028 * nscd/nscd_hash.c: New file.
26029 * nscd/nscd_hash.h: Likewise.
26030 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26031 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26032 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26033 instead of <nis/rpcsvc/nis.h>.
26034 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26035
d8425e11
FW
260362017-10-11 Florian Weimer <fweimer@redhat.com>
26037
26038 [BZ #22078]
26039 Avoid large NSS buffers with many addresses, aliases.
26040 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26041 using dynarrays and struct alloc_buffer.
26042 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26043 (tst-nss-files-hosts-multi): Link with -ldl.
26044 * nss/tst-nss-files-hosts-multi.c: New file.
26045
78e806fd
FW
260462017-10-11 Florian Weimer <fweimer@redhat.com>
26047
26048 [BZ #18023]
26049 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26050 scratch_buffer. Eliminate gotos.
26051
541f19ba
JM
260522017-10-11 Joseph Myers <joseph@codesourcery.com>
26053
0ff64d3a
JM
26054 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26055 libm_alias_ldouble_other.
26056 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26057 undefine and redefine.
26058 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26059 (exp10l): Do not define here.
26060 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26061 (weak_alias): Undefine and redefine.
26062 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26063 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26064 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26065 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26066
541f19ba
JM
26067 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26068 [!__fma] (fma): Define using libm_alias_double.
26069 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26070 [!__fmaf] (fmaf): Define using libm_alias_float.
26071 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26072 (fmal): Define using libm_alias_ldouble.
26073
24b6515d
JM
260742017-10-10 Joseph Myers <joseph@codesourcery.com>
26075
26076 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26077 New macro.
26078 (libm_alias_double_other): Likewise.
26079 (libm_alias_double_r): Use libm_alias_double_other_r.
26080 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26081 New macro.
26082 (libm_alias_float_other): Likewise.
26083 (libm_alias_float_r): Use libm_alias_float_other_r.
26084 * sysdeps/generic/libm-alias-float128.h
26085 (libm_alias_float128_other_r): New macro.
26086 (libm_alias_float128_other): Likewise.
26087 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26088 * sysdeps/generic/libm-alias-ldouble.h
26089 (libm_alias_ldouble_other_r): New macro.
26090 (libm_alias_ldouble_other): Likewise.
26091 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26092 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26093 (libm_alias_double_other_r): New macro.
26094 (libm_alias_double_other): Likewise.
26095 (libm_alias_double_r): Use libm_alias_double_other_r.
26096 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26097 (libm_alias_ldouble_other_r): New macro.
26098 (libm_alias_ldouble_other): Likewise.
26099 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26100 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26101 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26102 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26103 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26104 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26105 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26106 * math/w_exp2f.c: Use libm_alias_float_other.
26107 * math/w_expf.c: Likewise.
26108 * math/w_log2f.c: Likewise.
26109 * math/w_logf.c: Likewise.
26110 * math/w_powf.c: Likewise.
26111 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26112 [!__exp2f]: Use libm_alias_float_other.
26113 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26114 [!__expf]: Use libm_alias_float_other.
26115 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26116 [!__log2f]: Use libm_alias_float_other.
26117 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26118 [!__logf]: Use libm_alias_float_other.
26119 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26120 [!__powf]: Use libm_alias_float_other.
26121
8ed70de2
FW
261222017-10-10 Florian Weimer <fweimer@redhat.com>
26123
26124 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26125 function.
26126 (_nss_files_gethostbyname3_r): Call it.
26127
a8dce619
JM
261282017-10-09 Joseph Myers <joseph@codesourcery.com>
26129
26130 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26131 error. Remove default definition of declare_mgen_alias.
26132 [!declare_mgen_alias_r]: Likewise.
26133 * sysdeps/generic/math-type-macros-double.h
26134 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26135 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26136 (declare_mgen_alias_r): Likewise.
26137 * sysdeps/generic/math-type-macros-float128.h
26138 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26139 * sysdeps/generic/math-type-macros-ldouble.h
26140 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26141 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26142 macro.
26143 (declare_mgen_alias_r_s): Likewise.
26144 (declare_mgen_alias_r): Likewise.
26145 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26146 (lgamma_r): Define using libm_alias_double_r.
26147 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26148 (lgammaf_r): Define using libm_alias_float_r.
26149 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26150 (lgammal_r): Define using libm_alias_ldouble_r.
26151 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26152 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26153
bedac136
AZ
261542017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26155
26156 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26157 extern declaration.
26158
c7509db2
JM
261592017-10-09 Joseph Myers <joseph@codesourcery.com>
26160
26161 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26162
d6c064e9
JW
261632017-10-09 Jonathan Wakely <jwakely@redhat.com>
26164
26165 [BZ #21326]
26166 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26167 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26168 * math/Makefile (test-math-cxx11): New test.
26169 * math/test-math-cxx11.cc: New file.
26170
98e07420
CB
261712017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26172
26173 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26174
645ac9aa
CB
26175 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26176 call to allocate the slave pty file descriptor.
26177
fd3b4e7c
JM
261782017-10-06 Joseph Myers <joseph@codesourcery.com>
26179
f85a176f
JM
26180 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26181 [!__fma] (fma): Define using libm_alias_double.
26182 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26183 [!__fma] (fma): Define using libm_alias_double.
26184
fd3b4e7c
JM
26185 * sysdeps/ieee754/float128/float128_private.h: Include
26186 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26187 (libm_alias_ldouble_r): Undefine and redefine.
26188 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26189 <libm-alias-ldouble.h>.
26190 (asinhl): Define using libm_alias_ldouble.
26191 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26192 <libm-alias-ldouble.h>.
26193 (atanl): Define using libm_alias_ldouble.
26194 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26195 <libm-alias-ldouble.h>.
26196 (cbrtl): Define using libm_alias_ldouble.
26197 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26198 <libm-alias-ldouble.h>.
26199 (ceill): Define using libm_alias_ldouble.
26200 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26201 <libm-alias-ldouble.h>.
26202 (copysignl): Define using libm_alias_ldouble.
26203 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26204 <libm-alias-ldouble.h>.
26205 (cosl): Define using libm_alias_ldouble.
26206 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26207 <libm-alias-ldouble.h>.
26208 (erfl): Define using libm_alias_ldouble.
26209 (erfcl): Likewise.
26210 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26211 <libm-alias-ldouble.h>.
26212 (expm1l): Define using libm_alias_ldouble.
26213 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26214 <libm-alias-ldouble.h>.
26215 (fabsl): Define using libm_alias_ldouble.
26216 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26217 <libm-alias-ldouble.h>.
26218 (floorl): Define using libm_alias_ldouble.
26219 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26220 <libm-alias-ldouble.h>.
26221 (fmal): Define using libm_alias_ldouble.
26222 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26223 <libm-alias-ldouble.h>.
26224 (frexpl): Define using libm_alias_ldouble.
26225 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26226 libm_alias_ldouble.
26227 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26228 <libm-alias-ldouble.h>.
26229 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26230 libm_alias_ldouble.
26231 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26232 <libm-alias-ldouble.h>.
26233 (getpayloadl): Define using libm_alias_ldouble.
26234 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26235 <libm-alias-ldouble.h>.
26236 (llrintl): Define using libm_alias_ldouble.
26237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26238 <libm-alias-ldouble.h>.
26239 (llroundl): Define using libm_alias_ldouble.
26240 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26241 <libm-alias-ldouble.h>.
26242 (logbl): Define using libm_alias_ldouble.
26243 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26244 <libm-alias-ldouble.h>.
26245 (lrintl): Define using libm_alias_ldouble.
26246 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26247 <libm-alias-ldouble.h>.
26248 (lroundl): Define using libm_alias_ldouble.
26249 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26250 <libm-alias-ldouble.h>.
26251 (modfl): Define using libm_alias_ldouble.
26252 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26253 <libm-alias-ldouble.h>.
26254 (nearbyintl): Define using libm_alias_ldouble.
26255 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26256 <libm-alias-ldouble.h>.
26257 (nextafterl): Define using libm_alias_ldouble.
26258 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26259 <libm-alias-ldouble.h>.
26260 (nextupl): Define using libm_alias_ldouble.
26261 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26262 <libm-alias-ldouble.h>.
26263 (remquol): Define using libm_alias_ldouble.
26264 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26265 <libm-alias-ldouble.h>.
26266 (rintl): Define using libm_alias_ldouble.
26267 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26268 <libm-alias-ldouble.h>.
26269 (roundevenl): Define using libm_alias_ldouble.
26270 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26271 <libm-alias-ldouble.h>.
26272 (roundl): Define using libm_alias_ldouble.
26273 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26274 using libm_alias_ldouble.
26275 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26276 <libm-alias-ldouble.h>.
26277 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26278 Define using libm_alias_ldouble.
26279 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26280 <libm-alias-ldouble.h>.
26281 (sincosl): Define using libm_alias_ldouble.
26282 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26283 <libm-alias-ldouble.h>.
26284 (sinl): Define using libm_alias_ldouble.
26285 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26286 <libm-alias-ldouble.h>.
26287 (tanhl): Define using libm_alias_ldouble.
26288 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26289 <libm-alias-ldouble.h>.
26290 (tanl): Define using libm_alias_ldouble.
26291 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26292 <libm-alias-ldouble.h>.
26293 (totalorderl): Define using libm_alias_ldouble.
26294 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26295 <libm-alias-ldouble.h>.
26296 (totalordermagl): Define using libm_alias_ldouble.
26297 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26298 <libm-alias-ldouble.h>.
26299 (truncl): Define using libm_alias_ldouble.
26300 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26301 libm_alias_ldouble.
26302 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26303 libm_alias_ldouble.
26304 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26305 <libm-alias-ldouble.h>.
26306 (weak_alias): Do not undefine and redefine.
26307 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26308 (copysignl): Define with long_double_symbol only if [IS_IN
26309 (libc)].
26310 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26311 <libm-alias-ldouble.h>.
26312 (weak_alias): Do not undefine and redefine.
26313 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26314 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26315 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26316 <libm-alias-ldouble.h>.
26317 (weak_alias): Do not undefine and redefine.
26318 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26319 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26320 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26321 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26324 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26327 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26330 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26337 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26344
1e26d351
CD
263452017-10-06 Carlos O'Donell <carlos@redhat.com>
26346
26347 [BZ #22111]
26348 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26349 (tcache_thread_freeres): Set tcache_shutting_down before
26350 freeing the tcache.
26351 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26352 * malloc/tst-malloc-tcache-leak.c: New file.
26353
d1386762
RS
263542017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26355
26356 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26357 back to powerpc32 file.
26358 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26359 (memrchr): Add __memrchr_power8 to ifunc list.
26360 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26361 extra bytes for unaligned inputs.
26362
6dff1983
JM
263632017-10-06 Joseph Myers <joseph@codesourcery.com>
26364
26365 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26366 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26370
86f9568a
JM
263712017-10-05 Joseph Myers <joseph@codesourcery.com>
26372
0db0b931
JM
26373 * sysdeps/arm/libm-test-ulps: Update.
26374
86f9568a
JM
26375 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26376 <libm-alias-ldouble.h>.
26377 (asinhl): Define using libm_alias_ldouble.
26378 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26379 <libm-alias-ldouble.h>.
26380 (cbrtl): Define using libm_alias_ldouble.
26381 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26382 <libm-alias-ldouble.h>.
26383 (copysignl): Define using libm_alias_ldouble.
26384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26385 <libm-alias-ldouble.h>.
26386 (cosl): Define using libm_alias_ldouble.
26387 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26388 <libm-alias-ldouble.h>.
26389 (erfl): Define using libm_alias_ldouble.
26390 (erfcl): Likewise.
26391 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26392 <libm-alias-ldouble.h>.
26393 (fmal): Define using libm_alias_ldouble.
26394 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26395 <libm-alias-ldouble.h>.
26396 (frexpl): Define using libm_alias_ldouble.
26397 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26398 libm_alias_ldouble.
26399 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26400 <libm-alias-ldouble.h>.
26401 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26402 libm_alias_ldouble.
26403 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26404 <libm-alias-ldouble.h>.
26405 (getpayloadl): Define using libm_alias_ldouble.
26406 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26407 <libm-alias-ldouble.h>.
26408 (llrintl): Define using libm_alias_ldouble.
26409 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26410 <libm-alias-ldouble.h>.
26411 (llroundl): Define using libm_alias_ldouble.
26412 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26413 <libm-alias-ldouble.h>.
26414 (lrintl): Define using libm_alias_ldouble.
26415 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26416 <libm-alias-ldouble.h>.
26417 (lroundl): Define using libm_alias_ldouble.
26418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26419 <libm-alias-ldouble.h>.
26420 (modfl): Define using libm_alias_ldouble.
26421 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26422 <libm-alias-ldouble.h>.
26423 (nextupl): Define using libm_alias_ldouble.
26424 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26425 <libm-alias-ldouble.h>.
26426 (remquol): Define using libm_alias_ldouble.
26427 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26428 <libm-alias-ldouble.h>.
26429 (roundevenl): Define using libm_alias_ldouble.
26430 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26431 <libm-alias-ldouble.h>.
26432 (roundl): Define using libm_alias_ldouble.
26433 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26434 using libm_alias_ldouble.
26435 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26436 <libm-alias-ldouble.h>.
26437 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26438 <libm-alias-ldouble.h>.
26439 (setpayloadsigl): Define using libm_alias_ldouble.
26440 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26441 <libm-alias-ldouble.h>.
26442 (sincosl): Define using libm_alias_ldouble.
26443 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26444 <libm-alias-ldouble.h>.
26445 (sinl): Define using libm_alias_ldouble.
26446 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26447 <libm-alias-ldouble.h>.
26448 (tanhl): Define using libm_alias_ldouble.
26449 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26450 <libm-alias-ldouble.h>.
26451 (tanl): Define using libm_alias_ldouble.
26452 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26453 <libm-alias-ldouble.h>.
26454 (totalorderl): Define using libm_alias_ldouble.
26455 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26456 <libm-alias-ldouble.h>.
26457 (totalordermagl): Define using libm_alias_ldouble.
26458 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26459 libm_alias_ldouble.
26460 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26461 libm_alias_ldouble.
26462
9ec87fd2
SP
264632017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26464
dd5bc7f1
SP
26465 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26466 memmove_falkor.
26467 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26468 (__libc_ifunc_impl_list): Likewise.
26469 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26470 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26471
5bfb0404
SP
26472 * benchtests/bench-memmove-walk.c: New file.
26473 * benchtests/Makefile (string-benchset): Add it.
26474
36bb8edf
SP
26475 * benchtests/bench-memset-walk.c: New file.
26476 * benchtests/Makefile (string-benchset): Add it.
26477
9ec87fd2
SP
26478 * benchtests/bench-memcpy-walk.c: New file.
26479 * benchtests/Makefile (string-benchset): Add it.
26480
1e9522c6
FW
264812017-10-05 Florian Weimer <fweimer@redhat.com>
26482
26483 nscd: Eliminate compilation time dependency in the build output.
26484 * nscd/nscd_stat.c (STATDATA_VERSION)
26485 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26486 (STATDATA_VERSION_FULL): New macro definitions.
26487 (compilation): Remove.
26488 (struct statdata): Adjust version member.
26489 (send_stats): Set version from STATDATA_VERSION_FULL.
26490 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26491
644d3857
JM
264922017-10-05 Joseph Myers <joseph@codesourcery.com>
26493
26494 * configure.ac (--enable-add-ons): Remove option.
26495 (machine): Do not mention add-ons in comment.
26496 (LIBC_PRECONFIGURE): Likewise.
26497 (add_ons): Remove variable and sanity checks and logic to locate
26498 add-ons.
26499 (add_ons_automatic): Remove variable.
26500 (configured_add_ons): Likewise.
26501 (add_ons_sfx): Likewise.
26502 (add_ons_pfx): Likewise.
26503 (add_on_subdirs): Likewise.
26504 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26505 consideration of add-ons in Implies handling.
26506 (sysdeps_add_ons): Likewise.
26507 * configure: Regenerated.
26508 * libidn/configure.ac: Remove.
26509 * libidn/configure: Likewise.
26510 * sysdeps/unix/inet/configure.ac: New file.
26511 * sysdeps/unix/inet/configure: New generated file.
26512 * sysdeps/unix/inet/Subdirs: Add libidn.
26513 * Makeconfig (sysdeps-srcdirs): Remove variable.
26514 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26515 ($(common-objpfx)config.status): Do not depend on add-on files.
26516 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26517 comment.
26518 (all-subdirs): Do not include $(add-on-subdirs).
26519 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26520 * config.make.in (add-ons): Remove variable.
26521 (add-on-subdirs): Likewise.
26522 (sysdeps-add-ons): Likewise.
26523 * manual/Makefile (add-chapters): Remove.
26524 ($(objpfx)texis): Do not depend on $(add-chapters).
26525 (nonexamples): Do not handle $(add-chapters).
26526 (examples): Do not handle $(add-ons).
26527 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26528 libc-texinfo.sh.
26529 * manual/install.texi (Installation): Do not mention add-ons.
26530 (--enable-add-ons): Do not document configure option.
26531 * INSTALL: Regenerated.
26532 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26533 * manual/maint.texi (Hierarchy Conventions): Do not mention
26534 add-ons.
26535 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26536 --enable-add-ons.
26537 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26538 add-ons.
26539 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26540 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26541
19f82f35
AS
265422017-10-05 Andreas Schwab <schwab@suse.de>
26543
26544 [BZ #15142]
26545 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26546 (_IO_flush_all_lockp): Always lock list_all_lock.
26547 (_IO_flush_all_linebuffered): Likewise.
26548 (_IO_unbuffer_all): Likewise.
26549
91e7cf98
FW
265502017-10-05 Florian Weimer <fweimer@redhat.com>
26551
26552 [BZ #15436]
26553 Do not flush stdio streams on abort.
26554 * stdlib/abort.c (fflush): Remove macro definition.
26555 (abort): Remove stages related to stdio flushing.
26556
0c251257
FW
265572017-10-05 Florian Weimer <fweimer@redhat.com>
26558
26559 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26560
7ea59e3e
SL
265612017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26562
26563 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26564
84d0e6f0
FW
265652017-10-05 Florian Weimer <fweimer@redhat.com>
26566
26567 * support/support_format_hostent.c (support_format_hostent): Add
26568 more error information for NETDB_INTERNAL.
26569
ee417882
L
265702017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26571
26572 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26573 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26574 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26575 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26576 AC_DEFINE if multi-arch is enabled.
26577 * sysdeps/i386/configure: Regenerated.
26578
a67029ff
L
265792017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26580
26581 * Makeconfig (+link-static-before-libc): Use
26582 $(DEFAULT-LDFLAGS-$(@F)).
26583 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26584 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26585 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26586
5dba84b3
L
265872017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26588
26589 * elf/Makefile (tests): Add tst-main1.
26590 (modules-names): Add tst-main1mod.
26591 ($(objpfx)tst-main1): New.
26592 (CRT-tst-main1): Likewise.
26593 (LDFLAGS-tst-main1): Likewise.
26594 (LDLIBS-tst-main1): Likewise.
26595 (tst-main1mod.so-no-z-defs): Likewise.
26596 * elf/tst-main1.c: New file.
26597 * elf/tst-main1mod.c: Likewise.
26598
758f1bfa
L
265992017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26600
26601 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26602
7e16a5d1
JM
266032017-10-04 Joseph Myers <joseph@codesourcery.com>
26604
26605 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26606 (fma): Define using libm_alias_double.
26607 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26608 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26609 <math_ldbl_opt.h>.
26610 (fmal): Do not define as compat symbol here.
26611 * sysdeps/alpha/fpu/s_fma.c: New file.
26612
db4f87ba
SN
266132017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26614
26615 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26616
72d13ed1
JM
266172017-10-04 Joseph Myers <joseph@codesourcery.com>
26618
32d372d5
JM
26619 [BZ #22229]
26620 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26621 <math_ldbl_opt.h>
26622 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26623 and libc.
26624 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26625 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26626 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26627 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26629 Include <math_ldbl_opt.h>
26630 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26631 and libc.
26632 (compat_symbol): Undefine and redefine.
26633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26634 <math_ldbl_opt.h>
26635 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26636 (compat_symbol): Undefine and redefine.
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26638 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26639 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26640 GLIBC_2_1 for libm.
26641 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26642 GLIBC_2.0 copysignl symbol.
26643 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26644 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26645
72d13ed1
JM
26646 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26647
11c4f501
FW
266482017-10-04 Florian Weimer <fweimer@redhat.com>
26649
26650 * scripts/check-local-headers.sh: Ignore nspr4 header file
26651 directory in addition to nspr.
26652
57b4af19
GT
266532017-10-04 Guido Trentalancia <guido@trentalancia.net>
26654
26655 [BZ #17956]
26656 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26657 * configure: Regenerate.
26658 * crypt/Makefile (nss-cpp-flags): New variable.
26659 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26660 (CPPFLAGS-md5-crypt.c): Use it.
26661 * scripts/check-local-headers.sh: Ignore nspr header file
26662 directory.
26663
64d1e08e
AS
266642017-10-04 Andreas Schwab <schwab@suse.de>
26665
26666 * nis/Makefile (services): Remove compat.
26667 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26668 ($(objpfx)libnss_compat.so): Remove rule.
26669 * nis/Versions (libnss_compat): Remove.
26670 * nss/Makefile (services): Add compat.
26671 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26672 * nss/Versions (libnss_compat): Define.
26673 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26674 Don't include <rpc/types.h>. Replace bool_t by bool.
26675 * nss/nss_compat/compat-initgroups.c: Likewise.
26676 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26677 instead of <rpcsrv/ypclnt.h>.
26678 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26679 yp_get_default_domain.
26680 * nss/nss_compat/compat-pwd.c: Likewise.
26681 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26682 yp_get_default_domain.
26683 * nss/nss_compat/nisdomain.c: New file.
26684 * nss/nss_compat/nisdomain.h: Likewise.
26685
86c27ade
SN
266862017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26687
26688 [BZ #22244]
26689 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26690 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26691
8f8f8ef7
SN
266922017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26693
26694 [BZ #22243]
26695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26696 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26697
95577475
L
266982017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26699
26700 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26701 "movl main@GOTOFF(%ebx), %eax".
26702
02d2d892
L
267032017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26704
26705 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26706 allow undefined _DYNAMIC in PIE libc.a.
26707 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26708 Likewse.
26709
0c609d19
L
267102017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26711
26712 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26713 check _DYNAMIC.
26714
c34a19ed
L
267152017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26716
26717 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26718 check _DYNAMIC.
26719
cdd4155d
L
267202017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26721
26722 * math/test-math-iscanonical.cc (error): Replace bool with int.
26723
4699cb8b
JM
267242017-10-03 Joseph Myers <joseph@codesourcery.com>
26725
d8f619b3
JM
26726 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26727 (modf): Define using libm_alias_double, only if [!__modf].
26728 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26729 <libm-alias-double.h>.
26730 (modf): Define using libm_alias_double, only if [!__modf].
26731 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26732 compat symbol here.
26733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26734 (weak_alias): Do not undefine and redefine.
26735 (strong_alias): Likewise.
26736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26737 (weak_alias): Likewise.
26738 (strong_alias): Likewise.
26739
4699cb8b
JM
26740 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26741 (logb): Define using libm_alias_double, only if [!__logb].
26742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26743 <libm-alias-double.h>.
26744 (logb): Define using libm_alias_double, only if [!__logb].
26745 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26747 (weak_alias): Do not undefine and redefine.
26748 (strong_alias): Likewise.
26749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26750 (weak_alias): Likewise.
26751 (strong_alias): Likewise.
26752
bcc4e4bb
L
267532017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26754
26755 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26756 Check SHARED instead PIC.
26757
39793865
JM
267582017-10-03 Joseph Myers <joseph@codesourcery.com>
26759
7f1cbdf8
JM
26760 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26761 [!__fmaf] (fmaf): Define using libm_alias_float.
26762
39793865
JM
26763 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26764 (frexp): Define using libm_alias_double.
26765 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26766 <libm-alias-double.h>.
26767 (frexp): Define using libm_alias_double.
26768 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26769 compat symbol here.
26770
aa0235df
GG
267712017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26772
26773 [BZ #22235]
26774 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26775 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26776 (CFLAGS-test-math-iscanonical.cc): New variable.
26777 * math/test-math-iscanonical.cc: New file.
26778 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26779 Provide a C++ implementation based on function overloading,
26780 rather than using __MATH_TG, which uses C-only builtins.
26781 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26782 Likewise.
26783 * sysdeps/powerpc/powerpc64le/Makefile
26784 (CFLAGS-test-math-iscanonical.cc): New variable.
26785
a1132b5e
JM
267862017-10-03 Joseph Myers <joseph@codesourcery.com>
26787
26788 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26789 (ceil): Define using libm_alias_double.
26790 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26791 (floor): Define using libm_alias_double.
26792 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26793 <libm-alias-double.h>.
26794 (llround): Define using libm_alias_double.
26795 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26796 <libm-alias-double.h>.
26797 (lround): Define using libm_alias_double.
26798 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26799 <libm-alias-double.h>.
26800 (nearbyint): Define using libm_alias_double.
26801 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26802 <libm-alias-double.h>.
26803 (remquo): Define using libm_alias_double.
26804 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26805 (rint): Define using libm_alias_double.
26806 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26807 (round): Define using libm_alias_double.
26808 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26809 (trunc): Define using libm_alias_double.
26810 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26811 <libm-alias-double.h>.
26812 (ceil): Define using libm_alias_double.
26813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26814 <libm-alias-double.h>.
26815 (floor): Define using libm_alias_double.
26816 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26817 <libm-alias-double.h>.
26818 (llround): Define using libm_alias_double.
26819 [_LP64] (lround): Likewise.
26820 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26821 <libm-alias-double.h>.
26822 [!_LP64] (lround): Define using libm_alias_double.
26823 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26824 <libm-alias-double.h>.
26825 (nearbyint): Define using libm_alias_double.
26826 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26827 <libm-alias-double.h>.
26828 (remquo): Define using libm_alias_double.
26829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26830 <libm-alias-double.h>.
26831 (rint): Define using libm_alias_double.
26832 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26833 <libm-alias-double.h>.
26834 (round): Define using libm_alias_double.
26835 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26836 <libm-alias-double.h>.
26837 (trunc): Define using libm_alias_double.
26838 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26839 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26840 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26841 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26842 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26843 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26844 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26845 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26846 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26847
f275f64e
SN
268482017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26849
26850 * math/w_remainder.c: New file.
26851 * math/w_remainderf.c: New file.
26852 * math/w_remainderl.c: New file.
26853
b8818ab5
L
268542017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26855
26856 * elf/rtld.c (BOOTSTRAP_MAP): New.
26857 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26858 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26859 Likewise.
26860 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26861 Likewise.
26862 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26863 Likewise.
26864
3d1870fa
ST
268652017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26866
26867 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26868 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26869 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26870 rtld_hidden_data_ver): Define to empty.
26871 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26872 __assert_perror_fail): Likewise.
26873 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26874 (__rewinddir): Likewise.
26875 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26876 (__profile_frequency): Likewise.
26877 * include/setjmp.h (__sigsetjmp): Likewise.
26878 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26879 __libc_sigaction): Likewise.
26880 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26881 not set hidden attribute.
26882 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26883 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26884 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26885 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26886 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26887 __fxstatat64): Likewise.
26888 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26889 (__uname): Likewise.
26890 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26891 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26892 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26893 (NO_RTLD_HIDDEN): Set.
26894 * sysdeps/mach/hurd/configure: Refresh.
26895 * config.h.in: Refresh.
26896
527cd19c
JM
268972017-10-02 Joseph Myers <joseph@codesourcery.com>
26898
38722448
JM
26899 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26900 (atan): Define using libm_alias_double.
26901 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26902 (tan): Define using libm_alias_double.
26903 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26904 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26905
527cd19c
JM
26906 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26907 define as weak alias of __atan. Do not define any aliases if
26908 [__atan].
26909 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26910 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26911 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26912 as weak alias of __tan. Do not define any aliases if [__tan].
26913 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26914 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26915 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26916 __atan.
26917 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26918 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26919 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26920 and define as weak alias of __atan.
26921 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26922 __atan.
26923 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26925 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26926 define as weak alias of __tan.
26927
bdc5c592
SN
269282017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26929
26930 * math/w_lgamma.c: New file.
26931 * math/w_lgammaf.c: New file.
26932 * math/w_lgammal.c: New file.
26933
bd4430c2
SN
269342017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26935
26936 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26937 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26938 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26939 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26940 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26941 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26942 * sysdeps/i386/fpu/w_log2f.c: New file.
26943 * sysdeps/i386/fpu/w_logf.c: New file.
26944 * sysdeps/i386/fpu/w_powf.c: New file.
26945 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26946 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26947 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26948
f7a0b063
SN
269492017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26950 H.J. Lu <hongjiu.lu@intel.com>
26951
26952 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26953 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26954 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26955 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26956 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26957 the new expf code.
26958 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26959 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26960 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26961 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26962 * sysdeps/i386/fpu/w_exp2f.c: New file.
26963 * sysdeps/i386/fpu/w_expf.c: New file.
26964 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26965 * sysdeps/x86_64/fpu/w_expf.c: New file.
26966
72d3d281
SN
269672017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26968
26969 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26970 (log2f): Likewise.
26971 (powf): Likewise.
26972 * math/w_log2f.c: New file.
26973 * math/w_logf.c: New file.
26974 * math/w_powf.c: New file.
26975 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26976 * math/w_logf_compat.c (__logf_compat): Likewise.
26977 * math/w_powf_compat.c (__powf_compat): Likewise.
26978 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26979 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26980 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26981 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26982 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26983 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26984 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26985 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26986 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26987 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26988 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26989 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26990 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26991 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26992 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26994 Likewise.
26995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26996 Likewise.
26997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26998 Likewise.
26999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27000 Likewise.
27001 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27002 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27003 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27004 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27005 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27007 Likewise.
27008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27009 Likewise.
27010 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27011 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27012 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27013
59ba2d2b
RS
270142017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27015
27016 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27017 (sysdep_routines): Add memrchr_power8.
27018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27019 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27020 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27021 New file.
27022 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27023 (memrchr): Add __memrchr_power8 to ifunc list.
27024 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27025
397286ea
L
270262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27027
27028 [BZ #18822]
27029 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27030 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27031 libc_hidden_def.
27032 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27033 (__posix_fallocate64_l64): Likewise.
27034
d0a4512b
L
270352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27036
27037 [BZ #18822]
27038 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27039 (__sched_setaffinity_new): Add libc_hidden_proto and
27040 libc_hidden_def.
27041
c0769f70
L
270422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27043
27044 [BZ #18822]
27045 * include/glob.h (__glob64): Add libc_hidden_proto.
27046 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27047 libc_hidden_def.
27048
0e7d5b6e
L
270492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27050
27051 [BZ #18822]
27052 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27053 attribute_hidden.
27054
bde06c87
L
270552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27056
27057 [BZ #18822]
27058 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27059
fa426590
L
270602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27061
27062 [BZ #18822]
27063 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27064 libc_hidden_def.
27065
2f8a05d8
L
270662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27067
27068 [BZ #18822]
27069 * csu/version.c (__libc_print_version): Add attribute_hidden.
27070
7bfd08ac
L
270712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27072
27073 [BZ #18822]
27074 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27075
0e1fd06c
L
270762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27077
27078 [BZ #18822]
27079 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27080
36e7ae1e
L
270812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27082
27083 [BZ #18822]
27084 * nscd/nscd_helper.c (__nis_hash): New prototype.
27085
87078544
L
270862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27087
27088 [BZ #18822]
27089 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27090 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27091 libc_hidden_def.
27092 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27093 * termios/tcgetattr.c (__tcgetattr): Likewise.
27094
dd3121df
L
270952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27096
27097 [BZ #18822]
27098 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27099 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27100 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27101 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27102 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27103
047d1a81
L
271042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27105
27106 [BZ #18822]
27107 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27108
fd331b11
L
271092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27110
27111 [BZ #18822]
27112 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27113 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27114
57f859bd
L
271152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27116
27117 [BZ #18822]
27118 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27119
d1903329
L
271202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27121
27122 [BZ #18822]
27123 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27124 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27125
b4744101
L
271262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27127
27128 [BZ #18822]
27129 * include/ifreq.h: New file.
27130 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27131 (__ifreq): Likewise.
27132 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27133 (__ifreq): Likewise.
27134
43b7dfd1
L
271352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27136
27137 [BZ #18822]
27138 * include/idna.h: New file.
27139 * inet/getnameinfo.c: Include <idna.h> instead of
27140 <libidn/idna.h>.
27141 (__idna_to_unicode_lzlz): Removed.
27142 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27143 <libidn/idna.h>.
27144 (__idna_to_ascii_lz): Removed.
27145 (__idna_to_unicode_lzlz): Likewise.
27146
2c0cd8f8
L
271472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27148
27149 [BZ #18822]
27150 * include/plural-exp.h: New file.
27151 * intl/plural-exp.c: Include <plural-exp.h> instead of
27152 "plural-exp.h".
27153
8369d216
L
271542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27155
27156 [BZ #18822]
27157 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27158 "getsourcefilter.h".
27159 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27160 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27161 "getsourcefilter.h".
27162 (__get_sol): Removed.
27163
a0aef783
L
271642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27165
27166 [BZ #18822]
27167 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27168 to ...
27169 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27170
3ee8209b
L
271712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27172
27173 [BZ #18822]
27174 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27175 attribute_hidden.
27176
6036fc38
L
271772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27178
27179 [BZ #18822]
27180 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27181
fe84fed0
L
271822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27183
27184 [BZ #18822]
27185 * include/search.h (__tdestroy): Add libc_hidden_proto.
27186 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27187
048dd681
L
271882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27189
27190 [BZ #18822]
27191 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27192
6e342af6
L
271932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27194
27195 [BZ #18822]
27196 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27197 attribute_hidden.
27198
6a088436
L
271992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27200
27201 [BZ #18822]
27202 * include/signal.h (__kill): Add libc_hidden_proto.
27203 (__sigblock): Likewise.
27204 (__sigprocmask): Likewise.
27205 (__sigaltstack): Likewise.
27206 * signal/kill.c (__kill): Add libc_hidden_def.
27207 * signal/sigblock.c (__sigblock): Likewise.
27208 * signal/sigprocmask.c (__sigprocmask): Likewise.
27209 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27210 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27211 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27212 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27213 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27214 Likewise.
27215 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27216 Likewise.
27217 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27218 (__sigprocmask): Likewise.
27219 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27220 Likewise.
27221 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27222 (__sigprocmask): Likewise.
27223 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27224 Likewise.
27225
78cf1d74
L
272262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27227
27228 [BZ #18822]
27229 * include/string.h (__strsep): Add libc_hidden_proto.
27230 * string/strsep.c (__strsep): Add libc_hidden_def.
27231
85b35894
L
272322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27233
27234 [BZ #18822]
27235 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27236 attribute_hidden.
27237 (__spawni): Likewise.
27238
225f7eec
L
272392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27240
27241 [BZ #18822]
27242 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27243 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27244 libc_hidden_def.
27245
372fe247
L
272462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27247
27248 [BZ #18822]
27249 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27250
9e5ee8b8
L
272512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27252
27253 [BZ #18822]
27254 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27255 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27256 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27257 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27258 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27259 Likewise.
27260 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27261 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27262
2ff16592
L
272632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27264
27265 [BZ #18822]
27266 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27267 (__dcigettext): Likewise.
27268
b5648377
L
272692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27270
27271 [BZ #18822]
27272 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27273 libc_hidden_proto.
27274 (__get_nprocs): Likewise.
27275 (__get_phys_pages): Likewise.
27276 (__get_avphys_pages): Likewise.
27277 (__get_child_max): Add attribute_hidden.
27278 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27279 (__get_nprocs): Likewise.
27280 (__get_phys_pages): Likewise.
27281 (__get_avphys_pages): Likewise.
27282 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27283 libc_hidden_def.
27284 (__get_nprocs): Likewise.
27285 (__get_phys_pages): Likewise.
27286 (__get_avphys_pages): Likewise.
27287 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27288 libc_hidden_def.
27289 (__get_nprocs_conf): Likewise.
27290 (__get_phys_pages): Likewise.
27291 (__get_avphys_pages): Likewise.
27292
0389a6aa
L
272932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27294
27295 [BZ #18822]
27296 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27297 attribute_hidden.
27298 (__netlink_close): Likewise.
27299 (__netlink_free_handle): Likewise.
27300 (__netlink_request): Likewise.
27301
d48354d8
L
273022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27303
27304 [BZ #18822]
27305 * include/rpc/rpc.h (__rpc_thread_variables): Add
27306 attribute_hidden.
27307 (__rpc_thread_svc_cleanup): Likewise.
27308 (__rpc_thread_clnt_cleanup): Likewise.
27309 (__rpc_thread_key_cleanup): Likewise.
27310
d6daff12
L
273112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27312
27313 [BZ #18822]
27314 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27315 (__writev): Likewise.
27316 * misc/readv.c (__readv): Add libc_hidden_def.
27317 * misc/writev.c (__writev): Likewise.
27318 * sysdeps/posix/readv.c (__readv): Likewise.
27319 * sysdeps/posix/writev.c (__writev): Likewise.
27320 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27321 (__readv): Likewise.
27322 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27323 (__writev): Likewise.
27324
b68f8620
L
273252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27326
27327 [BZ #18822]
27328 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27329 (__regcomp): Add libc_hidden_proto.
27330 (__regexec): Likewise.
27331 (__regfree): Likewise.
27332 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27333 (__regfree): Likewise.
27334 * posix/regexec.c (__regexec): Likewise.
27335
59c04e67
L
273362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27337
27338 [BZ #18822]
27339 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27340 (__getutent): Likewise.
27341 (__getutid): Likewise.
27342 (__getutline): Likewise.
27343 (__pututline): Likewise.
27344 (__getutent_r): Likewise.
27345 (__getutid_r): Likewise.
27346 (__getutline_r): Likewise.
27347 (__utmpname): Add attribute_hidden.
27348 (__setutent): Likewise.
27349 (__endutent): Likewise.
27350 * login/getutent.c (__getutent): Add libc_hidden_def.
27351 * login/getutent_r.c (__getutent_r): Likewise.
27352 (__pututline): Likewise.
27353 * login/getutid.c (__getutid): Likewise.
27354 * login/getutid_r.c (__getutid_r): Likewise.
27355 * login/getutline.c (__getutline): Likewise.
27356 * login/getutline_r.c (__getutline_r): Likewise.
27357 * login/updwtmp.c (__updwtmp): Likewise.
27358
4587a421
L
273592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27360
27361 [BZ #18822]
27362 * include/dirent.h (__opendir): Always add attribute_hidden.
27363 (__fdopendir): Likewise.
27364 (__closedir): Likewise.
27365 (__readdir): Likewise.
27366 (__readdir64): Add libc_hidden_proto.
27367 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27368 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27369 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27370 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27371 New alias.
27372
9635ce69
L
273732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27374
27375 [BZ #18822]
27376 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27377 * include/netdb.h (__gethostbyaddr_r): Likewise.
27378 (__gethostbyname_r): Likewise.
27379 (__gethostbyname2_r): Likewise.
27380 (__getnetbyaddr_r): Likewise.
27381 (__getnetbyname_r): Likewise.
27382 (__getservbyname_r): Likewise.
27383 (__getservbyport_r): Likewise.
27384 (__getprotobyname_r): Likewise.
27385 (__getprotobynumber_r): Likewise.
27386 (__getnetgrent_r): Likewise.
27387 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27388 (__getrpcbynumber_r): Likewise.
27389 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27390
2e0a6909
L
273912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27392
27393 [BZ #18822]
27394 * include/stdio.h (__fcloseall): Add attribute_hidden.
27395 (__getline): Likewise.
27396 (__path_search): Likewise.
27397 (__gen_tempname): Likewise.
27398 (__libc_message): Likewise.
27399 (__flockfile): Likewise.
27400 (__funlockfile): Likewise.
27401 (__fxprintf): Likewise.
27402 (__fxprintf_nocancel): Likewise.
27403
94fd682c
L
274042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27405
27406 [BZ #18822]
27407 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27408 (__sgetsgent_r): Likewise.
27409
e1b33bba
L
274102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27411
27412 [BZ #18822]
27413 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27414 (__statfs64): Likewise.
27415 (__fstatfs64): Likewise.
27416 * include/sys/statvfs.h (__statvfs64): Likewise.
27417 (__fstatvfs64): Likewise.
27418 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27419 (__statfs_filesize_max): Likewise.
27420 (__statfs_symlinks): Likewise.
27421 (__statfs_chown_restricted): Likewise.
27422
b0f56784
L
274232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27424
27425 [BZ #18822]
27426 * include/time.h (__tzstring): Add attribute_hidden.
27427 (__tzfile_read): Likewise.
27428 (__tzfile_compute): Likewise.
27429 (__tzfile_default): Likewise.
27430 (__tzset_parse_tz): Likewise.
27431 (__offtime): Likewise.
27432 (__asctime_r): Likewise.
27433 (__tzset): Likewise.
27434 (__tz_convert): Likewise.
27435 (__getdate_r): Likewise.
27436 (__getclktck): Likewise.
27437
a4338d99
L
274382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27439
27440 [BZ #18822]
27441 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27442 (__nscd_unmap): Likewise.
27443 (__nscd_cache_search): Likewise.
27444 (__nscd_get_nl_timestamp): Likewise.
27445 (__nscd_getpwnam_r): Likewise.
27446 (__nscd_getpwuid_r): Likewise.
27447 (__nscd_getgrnam_r): Likewise.
27448 (__nscd_getgrgid_r): Likewise.
27449 (__nscd_gethostbyname_r): Likewise.
27450 (__nscd_gethostbyname2_r): Likewise.
27451 (__nscd_gethostbyaddr_r): Likewise.
27452 (__nscd_getai): Likewise.
27453 (__nscd_getgrouplist): Likewise.
27454 (__nscd_getservbyname_r): Likewise.
27455 (__nscd_getservbyport_r): Likewise.
27456 (__nscd_innetgr): Likewise.
27457 (__nscd_setnetgrent): Likewise.
27458
a2ca1652
L
274592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27460
27461 [BZ #18822]
27462 * include/gmp.h: Declare internal functions only if _ISOMAC is
27463 undefined.
27464 (__mpn_extract_double): Add attribute_hidden.
27465 (__mpn_extract_long_double): Likewise.
27466 (__mpn_extract_float128): Likewise.
27467 (__mpn_construct_float): Likewise.
27468 (__mpn_construct_double): Likewise.
27469 (__mpn_construct_long_double): Likewise.
27470 (__mpn_construct_float128): Likewise.
27471 (mpn_add_1): Likewise.
27472 (mpn_addmul_1): Likewise.
27473 (mpn_add_n): Likewise.
27474 (mpn_cmp): Likewise.
27475 (mpn_divrem): Likewise.
27476 (mpn_lshift): Likewise.
27477 (mpn_mul): Likewise.
27478 (mpn_mul_1): Likewise.
27479 (mpn_rshift): Likewise.
27480 (mpn_sub_1): Likewise.
27481 (mpn_submul_1): Likewise.
27482 (mpn_sub_n): Likewise.
27483
44af8a32
L
274842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27485
27486 [BZ #18822]
27487 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27488 (__wcscat): Likewise.
27489 (__btowc): Likewise.
27490 (__wcrtomb): Likewise.
27491 (__mbsrtowcs): Likewise.
27492 (__wcsrtombs): Likewise.
27493 (__mbsnrtowcs): Likewise.
27494 (__wcsnrtombs): Likewise.
27495 (__wcsncpy): Likewise.
27496 (__wcpncpy): Likewise.
27497 (__wmemcpy): Likewise.
27498 (__wmempcpy): Likewise.
27499 (__wmemmove): Likewise.
27500 (__wcschrnul): Likewise.
27501 (__vfwscanf): Likewise.
27502 (__vswprintf): Likewise.
27503 (__fwprintf): Likewise.
27504 (__vfwprintf): Likewise.
27505
783cd767
L
275062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27507
27508 [BZ #18822]
27509 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27510 (__getgrgid_r): Likewise.
27511 (__getgrnam_r): Likewise.
27512 * include/pwd.h (__getpwuid_r): Likewise.
27513 (__getpwnam_r): Likewise.
27514 (__fgetpwent_r): Likewise.
27515 * include/shadow.h (__getspnam_r): Likewise.
27516 (__sgetspent_r): Likewise.
27517 (__fgetspent_r): Likewise.
27518
7ec4b39a
L
275192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27520
27521 [BZ #18822]
27522 * include/unistd.h (__access): Add attribute_hidden.
27523 (__lseek64): Likewise.
27524 (__libc_pread64): Likewise.
27525 (__pipe2): Likewise.
27526 (__sleep): Likewise.
27527 (__chdir): Likewise.
27528 (__fchdir): Likewise.
27529 (__getcwd): Likewise.
27530 (__rmdir): Likewise.
27531 (__execvpe): Likewise.
27532 (__execve): Likewise.
27533 (__setsid): Likewise.
27534 (__getuid): Likewise.
27535 (__geteuid): Likewise.
27536 (__getgid): Likewise.
27537 (__getegid): Likewise.
27538 (__getgroups): Likewise.
27539 (__group_member): Likewise.
27540 (__ttyname_r): Likewise.
27541 (__isatty): Likewise.
27542 (__readlink): Likewise.
27543 (__unlink): Likewise.
27544 (__gethostname): Likewise.
27545 (__profil): Likewise.
27546 (__getdtablesize): Likewise.
27547 (__brk): Likewise.
27548 (__ftruncate): Likewise.
27549 (__ftruncate64): Likewise.
27550
8345a760
L
275512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27552
27553 [BZ #18822]
27554 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27555 * argp/argp-fs-xinl.c: Likewise.
27556 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27557 * argp/argp-parse.c: Include <argp.h>.
27558 * argp/argp-xinl.c: Likewise.
27559 * include/argp-fmtstream.h: New file.
27560 * include/argp.h (__argp_error): Add attribute_hidden.
27561 (__argp_failure): Likewise.
27562 (__argp_input): Likewise.
27563 (__argp_state_help): Likewise.
27564
c26dd7c6
L
275652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27566
27567 [BZ #18822]
27568 * include/wchar.h (____wcstof_l_internal): New prototype.
27569 (____wcstod_l_internal): Likewise.
27570 (____wcstold_l_internal): Likewise.
27571 (____wcstol_l_internal): Likewise.
27572 (____wcstoul_l_internal): Likewise.
27573 (____wcstoll_l_internal): Likewise.
27574 (____wcstoull_l_internal): Likewise.
27575 (____wcstof128_l_internal): Likewise.
27576 * sysdeps/ieee754/float128/wcstof128.c
27577 (____wcstof128_l_internal): Removed.
27578 * sysdeps/ieee754/float128/wcstof128_l.c
27579 (____wcstof128_l_internal): Likewise.
27580 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27581 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27582 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27583 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27584 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27585 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27586 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27587 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27588 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27589 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27590
3aff5644
L
275912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27592
27593 [BZ #18822]
27594 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27595 instead of <sys/statvfs.h>.
27596 (__internal_statvfs): Removed.
27597 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27598 instead of <sys/statvfs.h>.
27599 (__internal_statvfs64): Removed.
27600 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27601 "internal_statvfs.h" instead of <sys/statvfs.h>.
27602 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27603 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27604 instead of <sys/statvfs.h>.
27605 (__internal_statvfs): Removed.
27606 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27607 instead of <sys/statvfs.h>.
27608 (__internal_statvfs64): Removed.
27609
8bcdb7e0
L
276102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27611
27612 [BZ #18822]
27613 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27614 (__gconv_close): Likewise.
27615 (__gconv): Likewise.
27616 (__gconv_find_transform): Likewise.
27617 (__gconv_lookup_cache): Likewise.
27618 (__gconv_compare_alias_cache): Likewise.
27619 (__gconv_load_cache): Likewise.
27620 (__gconv_get_path): Likewise.
27621 (__gconv_close_transform): Likewise.
27622 (__gconv_release_cache): Likewise.
27623 (__gconv_find_shlib): Likewise.
27624 (__gconv_release_shlib): Likewise.
27625 (__gconv_get_builtin_trans): Likewise.
27626 (__gconv_compare_alias): Likewise.
27627 * include/dlfcn.h (_dlerror_run): Likewise.
27628 * include/stdio.h (__fortify_fail_abort): Likewise.
27629 * include/time.h (__tz_compute): Likewise.
27630 (__strptime_internal): Likewise.
27631 * intl/gettextP.h (_nl_find_domain): Likewise.
27632 (_nl_load_domain): Likewise.
27633 (_nl_find_msg): Likewise.
27634 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27635 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27636 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27637 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27638 (__gai_find_request): Likewise.
27639 (__gai_remove_request): Likewise.
27640 (__gai_notify): Likewise.
27641 (__gai_notify_only): Likewise.
27642 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27643 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27644 (_dl_non_dynamic_init): Likewise.
27645 (_dl_aux_init): Likewise.
27646 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27647 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27648 Likewise.
27649 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27650 (__wcsmbs_clone_conv): Likewise.
27651 (__wcsmbs_named_conv): Likewise.
27652
8ed3b643
L
276532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27654
27655 [BZ #18822]
27656 * include/stdlib.h (__random): Add attribute_hidden.
27657 (__random_r): Likewise.
27658 (__srandom_r): Likewise.
27659 (__initstate_r): Likewise.
27660 (__setstate_r): Likewise.
27661 (__erand48_r): Likewise.
27662 (__nrand48_r): Likewise.
27663 (__jrand48_r): Likewise.
27664 (__srand48_r): Likewise.
27665 (__seed48_r): Likewise.
27666 (__lcong48_r): Likewise.
27667 (__drand48_iterate): Likewise.
27668 (__setenv): Likewise.
27669 (__unsetenv): Likewise.
27670 (__clearenv): Likewise.
27671 (__ptsname_r): Likewise.
27672 (__posix_openpt): Likewise.
27673 (__add_to_environ): Likewise.
27674 (__realpath): Add libc_hidden_proto.
27675 (__ecvt_r): Likewise.
27676 (__fcvt_r): Likewise.
27677 (__qecvt_r): Likewise.
27678 (__qfcvt_r): Likewise.
27679 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27680 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27681
ef9b6f73
L
276822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27683
27684 [BZ #18822]
27685 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27686 * include/time.h (__mktime_internal): Likewise.
27687 * libio/iolibio.h (__fopen_internal): Likewise.
27688
8da92e72
JDA
276892017-10-01 John David Anglin <danglin@gcc.gnu.org>
27690
27691 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27692 pointer in frame.
27693 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27694 Correct offset used to restore PIC register.
27695
388784cf
JDA
276962017-09-30 John David Anglin <danglin@gcc.gnu.org>
27697
27698 [BZ libc/22165]
27699 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27700 code to load address of __getcontext_ret when generating PIC code.
27701
2000067a
L
277022017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27703
27704 * elf/Makefile (tests-static-internal): Add
27705 tst-tls1-static-non-pie.
27706 (LDFLAGS-tst-tls1-static-non-pie): New.
27707 * elf/tst-tls1-static-non-pie.c: New file.
27708
1e2bffd0
JM
277092017-09-29 Joseph Myers <joseph@codesourcery.com>
27710
27711 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27712 (asinh): Define using libm_alias_double.
27713 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27714 (cbrt): Define using libm_alias_double.
27715 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27716 <libm-alias-double.h>.
27717 (copysign): Define using libm_alias_double.
27718 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27719 (erf): Define using libm_alias_double.
27720 (erfc): Likewise.
27721 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27722 (expm1): Define using libm_alias_double.
27723 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27724 (fabs): Define using libm_alias_double.
27725 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27726 libm_alias_double.
27727 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27728 <libm-alias-double.h>.
27729 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27730 libm_alias_double.
27731 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27732 <libm-alias-double.h>.
27733 (getpayload): Define using libm_alias_double.
27734 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27735 <libm-alias-double.h>.
27736 (llrint): Define using libm_alias_double.
27737 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27738 (lrint): Define using libm_alias_double.
27739 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27740 <libm-alias-double.h>.
27741 (nextup): Define using libm_alias_double.
27742 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27743 <libm-alias-double.h>.
27744 (roundeven): Define using libm_alias_double.
27745 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27746 libm_alias_double.
27747 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27748 <libm-alias-double.h>.
27749 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27750 using libm_alias_double.
27751 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27752 (cos): Define using libm_alias_double.
27753 (sin): Likewise.
27754 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27755 <libm-alias-double.h>.
27756 (sincos): Define using libm_alias_double.
27757 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27758 (tanh): Define using libm_alias_double.
27759 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27760 <libm-alias-double.h>.
27761 (totalorder): Define using libm_alias_double.
27762 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27763 <libm-alias-double.h>.
27764 (totalordermag): Define using libm_alias_double.
27765 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27766 libm_alias_double.
27767 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27768 libm_alias_double.
27769 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27770 <libm-alias-double.h>.
27771 (getpayload): Define using libm_alias_double.
27772 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27773 <libm-alias-double.h>.
27774 (roundeven): Define using libm_alias_double.
27775 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27776 <libm-alias-double.h>.
27777 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27778 <libm-alias-double.h>.
27779 (totalorder): Define using libm_alias_double.
27780 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27781 <libm-alias-double.h>.
27782 (totalordermag): Define using libm_alias_double.
27783 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27784 libc compat symbol here.
27785 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27786 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27787 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27788 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27789 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27790 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27791 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27792 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27793 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27794 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27795
8172aad9
L
277962017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27797
27798 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27799 _dl_relocate_static_pie instead of _dl_start to compute load
27800 address in static PIE. Return 0 if _DYNAMIC is undefined for
27801 static executable.
27802
54464e74
L
278032017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27804
27805 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27806 _DYNAMIC is undefined for static executable.
27807
f6c5e5bc
L
278082017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27809
27810 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27811
2f92505d
JM
278122017-09-29 Joseph Myers <joseph@codesourcery.com>
27813
27814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27815
bd8d53bb
WD
278162017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27817
27818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27819 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27820 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27821 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27822 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27823 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27824 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27825 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27826 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27827 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27828 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27829 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27831 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27832 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27834 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27835
fffb1507
WD
278362017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27837
27838 * math/bits/cmathcalls.h (cimag): Remove inline.
27839 (creal): Remove inline.
27840 (conj): Remove inline.
27841
4ea49f4c
SN
278422017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27843
27844 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27845 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27846 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27847 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27848 (issignalingf_inline): Likewise.
27849 (POWF_LOG2_TABLE_BITS): Likewise.
27850 (POWF_LOG2_POLY_ORDER): Likewise.
27851 (POWF_SCALE_BITS): Likewise.
27852 (POWF_SCALE): Likewise.
27853 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27854 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27855 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27856
875c76c7
SN
278572017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27858
27859 * math/Makefile (type-float-routines): Add e_log2f_data.
27860 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27861 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27862 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27863 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27864 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27865 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27866 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27867
90c42e40
SN
278682017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27869
27870 * math/Makefile (type-float-routines): Add e_logf_data.
27871 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27872 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27873 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27874 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27875 * sysdeps/i386/fpu/e_logf_data.c: New file.
27876 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27877 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27878
4088d8dd
L
278792017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27880
27881 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27882 undefined _DYNAMIC in PIE libc.a.
27883 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27884 Likewse.
27885
4d3693ec
WD
278862017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27887
27888 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27889 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27890 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27891 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27892 (__signbit): Remove.
27893 (__signbitl): Remove.
27894 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27895 (__signbit): Remove.
27896 (__signbitl): Remove.
27897 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27898 (__signbit): Remove.
27899 (__signbitl): Remove.
27900 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27901 (__signbit): Remove.
27902 (__signbitl): Remove.
27903 * sysdeps/tile/bits/mathinline.h: Delete file.
27904 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27905 (__signbit): Remove.
27906 (__signbitl): Remove.
27907
1e6d0723
WD
279082017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27909
27910 * math/math.h: Improve handling of C99 isgreater macros.
27911 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27912 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27913 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27914 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27915 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27916
b2f03cf3
SN
279172017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27918
27919 * sysdeps/aarch64/libm-test-ulps: Update.
27920
f124cb38
JM
279212017-09-28 Joseph Myers <joseph@codesourcery.com>
27922
27923 [BZ #22225]
27924 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27925 math_opt_barrier on argument when doing arithmetic on it.
27926 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27927 Likewise. Use math_force_eval not math_opt_barrier after
27928 arithmetic.
27929 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27930 math_opt_barrier on argument when doing arithmetic on it.
27931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27932 Likewise.
27933
7edd0691
L
279342017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27935
27936 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27937 libc_hidden_def.
27938 (__freeifaddrs): Likewise.
27939
2c7bbfaf
ST
279402017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27941
27942 * include/dirent.h (__dirfd): New declaration.
27943 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27944 alias.
27945 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27946 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27947 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
27948 * include/unistd.h (__revoke): New declaration.
27949 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27950 alias.
27951 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27952 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27953 revoke.
64a4af28
ST
27954 * include/dirent.h (__seekdir): New declaration.
27955 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27956 redefine as weak alias.
27957 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27958 of seekdir.
4009ddc6
ST
27959 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27960 and use libc_hidden_def on them.
27961 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27962 them.
27963 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27964 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27965 instead of getifaddrs and freeifaddrs.
2c7bbfaf 27966
825adeee
L
279672017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27968
27969 [BZ #18822]
27970 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27971 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27972 (__dso_handle): Remove declaration.
27973 * dlfcn/tstatexit.c (__dso_handle): Removed.
27974 (main): Don't check __dso_handle.
27975 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27976 (main): Don't check __dso_handle.
27977 * include/dso_handle.h: New file.
27978 * malloc/mtrace.c: Include <dso_handle.h>.
27979 (mtrace): Pass __dso_handle directly.
27980 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27981 (__dso_handle): Remove declaration.
27982 (__pthread_atfork): Pass __dso_handle directly.
27983 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27984 (__dso_handle): Removed.
27985 * posix/wordexp-test.c: Include <dso_handle.h>.
27986 (__dso_handle): Remove declaration.
27987 (__app_register_atfork): Pass __dso_handle directly.
27988 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27989 (__dso_handle): Remove declaration.
27990 (at_quick_exit): Pass __dso_handle directly.
27991 * stdlib/atexit.c: Include <dso_handle.h>.
27992 (__dso_handle): Remove declaration.
27993 (atexit): Pass __dso_handle directly.
27994 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27995 (__dso_handle): Removed.
27996
bfb0deb3
JM
279972017-09-26 Joseph Myers <joseph@codesourcery.com>
27998
27999 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28000 using VDSO.
28001
cebcb9f8
AM
280022017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28003
28004 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28005 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28006 values to correct default value for given type.
28007
592d5c75
L
280082017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28009
28010 [BZ #22101]
28011 * elf/Makefile (tests): Add tst-debug1.
28012 ($(objpfx)tst-debug1): New.
28013 ($(objpfx)tst-debug1.out): Likewise.
28014 ($(objpfx)tst-debug1mod1.so): Likewise.
28015 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28016 with p_filesz == 0.
28017 * elf/tst-debug1.c: New file.
28018
2d9193f2
JM
280192017-09-26 Joseph Myers <joseph@codesourcery.com>
28020
28021 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28022 Define using __ifunc.
28023
4c5a7a02
TMQMF
280242017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28025
28026 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28027 exp2f() values.
28028
12ef66c4
JM
280292017-09-26 Joseph Myers <joseph@codesourcery.com>
28030
28031 [BZ #22156]
28032 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28033
44dade71
FW
280342017-09-26 Florian Weimer <fweimer@redhat.com>
28035
28036 * resolv/Makefile (tests-internal): Fix typo in comment.
28037
eaca16f1
FW
280382017-09-26 Florian Weimer <fweimer@redhat.com>
28039
28040 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28041
ccf970c7
AZ
280422017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28043
5f9f31ad
AZ
28044 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28045 Use an union instead of a max_align_t array for __space,
28046 so that __space is the same size on all platforms.
28047 * malloc/scratch_buffer_grow_preserve.c
28048 (__libc_scratch_buffer_grow_preserve): Likewise.
28049
ccf970c7
AZ
28050 [BZ #22183]
28051 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28052 version to 2.
28053 * posix/Makefile (routines): Add glob-lstat-compat and
28054 glob64-lstat-compat.
28055 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28056 * posix/glob-lstat-compat.c: New file.
28057 * posix/glob64-lstat-compat.c: Likewise.
28058 * posix/tst-glob_lstat_compat.c: Likewise.
28059 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28060 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28061 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28062 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28063 Likewise.
28064 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28065 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28066 * posix/glob.c (glob_lstat): New function.
28067 (glob): Rename to __glob and add versioned symbol to 2.27.
28068 (glob_in_dir): Use glob_lstat.
28069 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28070 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28071 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28072 2.27.
28073 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28074 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28075 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28076 gl_lstat on glob call.
28077 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28078 and glob64 symbols.
28079 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28080 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28081 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28082 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28083 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28084 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28085 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28086 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28087 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28088 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28089 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28090 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28092 Likewise.
28093 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28095 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28096 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28097 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28098 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28099 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28102 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28103 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28104 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28105
b4396163
L
281062017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28107
28108 * configure.ac (AS): Require binutils 2.25 or later.
28109 * configure: Regenerated.
28110
8f834987
PP
281112017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28112
28113 [BZ #22207]
28114 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28115 VM size.
28116
3de93d19
DD
281172017-09-25 DJ Delorie <dj@redhat.com>
28118
28119 [BZ #22161]
28120 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28121 resetting timeout.
28122
9947638d
SL
281232017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28124
28125 * sysdeps/ieee754/dbl-64/sincos32.h
28126 [SINCCOS32_H]: Remove define.
28127 [SINCOS32_H]: Define.
28128
f5f0f526
SN
281292017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28130
28131 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28132 (exp2f): Likewise.
28133 * math/w_exp2f.c: New file.
28134 * math/w_expf.c: New file.
28135 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28136 * math/w_expf_compat.c (__expf_compat): Likewise.
28137 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28138 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28139 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28140 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28141 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28142 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28143 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28144 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28145 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28146 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28147 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28148 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28149 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28150 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28152 Likewise.
28153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28154 Likewise.
28155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28156 Likewise.
28157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28158 Likewise.
28159 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28160 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28161 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28162 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28163 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28165 Likewise.
28166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28167 Likewise.
28168 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28169 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28170 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28171
72aa6233
SN
281722017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28173
28174 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28175 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28176 (roundtoint, converttoint): Likewise.
28177 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28178 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28179 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28180 * sysdeps/ieee754/flt-32/math_config.h: New file.
28181 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28182 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28183 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28184 * sysdeps/i386/fpu/math_errf.c: New file.
28185 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28186 * sysdeps/ia64/fpu/math_errf.c: New file.
28187 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28188 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28189
5e6f3253
ST
281902017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28191
28192 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28193 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28194 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28195 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28196 to make sure that these symbols are defined.
b38a42a0
ST
28197 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28198 of <limits.h>
28199 (__need_NULL): Do not define.
28200 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28201 alignment.
28202 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28203 CMGROUP_MAX, cmsgcred): Do not define.
28204 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28205 NULL.
28206 * bits/socket.h: Likewise.
fcafcd16
ST
28207 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28208 __gettimeofday instead of gettimeofday.
28209 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28210 instead of settimeofday.
5e6f3253 28211
2f49ce7d
JM
282122017-09-22 Joseph Myers <joseph@codesourcery.com>
28213
28214 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28215 (asinhf): Define using libm_alias_float.
28216 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28217 (atanf): Define using libm_alias_float.
28218 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28219 (cbrtf): Define using libm_alias_float.
28220 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28221 (ceilf): Define using libm_alias_float.
28222 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28223 <libm-alias-float.h>.
28224 (copysignf): Define using libm_alias_float.
28225 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28226 (cosf): Define using libm_alias_float.
28227 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28228 (erff): Define using libm_alias_float.
28229 (erfcf): Likewise.
28230 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28231 (expm1f): Define using libm_alias_float.
28232 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28233 (fabsf): Define using libm_alias_float.
28234 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28235 (floorf): Define using libm_alias_float.
28236 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28237 (frexpf): Define using libm_alias_float.
28238 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28239 libm_alias_float.
28240 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28241 <libm-alias-float.h>.
28242 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28243 libm_alias_float.
28244 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28245 <libm-alias-float.h>.
28246 (getpayloadf): Define using libm_alias_float.
28247 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28248 <libm-alias-float.h>.
28249 (llrintf): Define using libm_alias_float.
28250 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28251 <libm-alias-float.h>.
28252 (llroundf): Define using libm_alias_float.
28253 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28254 (logbf): Define using libm_alias_float.
28255 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28256 (lrintf): Define using libm_alias_float.
28257 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28258 (lroundf): Define using libm_alias_float.
28259 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28260 (modff): Define using libm_alias_float.
28261 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28262 <libm-alias-float.h>.
28263 (nearbyintf): Define using libm_alias_float.
28264 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28265 <libm-alias-float.h>.
28266 (nextafterf): Define using libm_alias_float.
28267 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28268 <libm-alias-float.h>.
28269 (nextupf): Define using libm_alias_float.
28270 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28271 <libm-alias-float.h>.
28272 (remquof): Define using libm_alias_float.
28273 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28274 (rintf): Define using libm_alias_float.
28275 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28276 <libm-alias-float.h>.
28277 (roundevenf): Define using libm_alias_float.
28278 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28279 (roundf): Define using libm_alias_float.
28280 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28281 using libm_alias_float.
28282 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28283 <libm-alias-float.h>.
28284 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28285 Define using libm_alias_float.
28286 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28287 <libm-alias-float.h>.
28288 (sincosf): Define using libm_alias_float.
28289 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28290 (sinf): Define using libm_alias_float.
28291 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28292 (tanf): Define using libm_alias_float.
28293 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28294 (tanhf): Define using libm_alias_float.
28295 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28296 <libm-alias-float.h>.
28297 (totalorderf): Define using libm_alias_float.
28298 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28299 <libm-alias-float.h>.
28300 (totalordermagf): Define using libm_alias_float.
28301 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28302 (truncf): Define using libm_alias_float.
28303 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28304 libm_alias_float.
28305 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28306 libm_alias_float.
28307
c5c4a626
GG
283082017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28309
28310 [BZ #22146]
28311 math/math.h: Let fpclassify use the builtin in C++ mode, even
28312 when optimazing for size.
28313
23947846
JM
283142017-09-22 Joseph Myers <joseph@codesourcery.com>
28315
28316 * csu/Makefile (generated): Do not add version-info.h.
28317 (before-compile): Likewise.
28318 (all-Banner-files): Remove variable.
28319 ($(objpfx)version-info.h): Remove rule.
28320 * csu/version.c (banner): Do not include "version-info.h".
28321 * libidn/Banner: Remove.
28322 * manual/contrib.texi (Simon Josefsson): New entry.
28323
9ac3c682
GG
283242017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28325
28326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28327 Remove conditionals on LDBL_MANT_DIG.
28328 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28329 (__ieee754_lgammal_r): Likewise.
28330
d2f0ed09
GG
283312017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28332
28333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28334 _Float128 and L().
28335 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28336 _Float128 and L(). Replace _Float128 with long double and L(x)
28337 with xL, throughout the file.
28338 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28342
c5c2e667
GG
283432017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28344
28345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28346 sysdeps/ieee754/ldbl-128ibm.
28347 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28348 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28349 of including it. Keep _Float128 and L() intact. These will be
28350 reviewed by a separate patch.
28351 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28353 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28355
e010deb2
GG
283562017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28357
28358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28359 (__finitef128): Define to __redirect___finitef128.
28360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28361 (__isinff128): Define to __redirect___isinff128.
28362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28363 (__isnanf128): Define to __redirect___isnanf128.
28364
ffa44804
GG
283652017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28366
28367 * sysdeps/powerpc/powerpc64le/Makefile
28368 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28369 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28370
e5e4d7cc
PP
283712017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28372 Carlos O'Donell <carlos@redhat.com>
28373
28374 [BZ #22180]
28375 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28376 * stdlib/test-dlclose-exit-race.c: New file.
28377 * stdlib/test-dlclose-exit-race-helper.c: New file.
28378 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28379
c10c5267
JM
283802017-09-21 Joseph Myers <joseph@codesourcery.com>
28381
28382 * crypt/Banner: Remove file.
28383 * nptl/Banner: Likewise.
28384 * resolv/Banner: Likewise.
28385 * soft-fp/Banner: Likewise.
28386 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28387 ($(objpfx)version.d): Remove dependency on banner.h.
28388 ($(objpfx)version.os): Likewise.
28389 * nptl/version.c (banner): Do not include banner.h.
28390 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28391 Jelinek and BIND code.
28392
1cc9e59a
PP
283932017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28394 Carlos O'Donell <carlos@redhat.com>
28395
28396 * support/xdlfcn.h: New file.
28397 * support/xdlfcn.c: New file.
28398 * support/Makefile (libsupport-routines): Add xdlfcn.
28399 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28400
ae8372d7
JM
284012017-09-20 Joseph Myers <joseph@codesourcery.com>
28402
28403 [BZ #20142]
28404 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28405 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28406 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28407 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28408 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28409 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28410 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28411 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28412
26e70aec 284132017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
28414 Ricky Zhou <rickyz@google.com>
28415 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
28416
28417 [BZ #14333]
28418 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28419 Remove atomics.
28420 (__new_exitfn): Fail registration when we finished at_exit processing.
28421 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28422 * stdlib/on_exit.c (__on_exit): Likewise.
28423 * stdlib/exit.c (__exit_funcs_done): New variable.
28424 (__run_exit_handlers): Use __exit_funcs_lock.
28425 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28426 declarations.
28427 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28428 (test-cxa_atexit-race, test-on_exit-race): New tests.
28429 * stdlib/test-atexit-race-common.c: New file.
28430 * stdlib/test-atexit-race.c: New file.
28431 * stdlib/test-at_quick_exit-race.c: New file.
28432 * stdlib/test-cxa_atexit-race.c: New file.
28433 * stdlib/test-on_exit-race.c: New file.
28434
0525ce48
SN
284352017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28436
28437 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28438 * benchtests/exp2f-inputs: Copy of expf-inputs.
28439 * benchtests/log2f-inputs: Copy of logf-inputs.
28440
d82468d1
JM
284412017-09-19 Joseph Myers <joseph@codesourcery.com>
28442
28443 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28444 Explicitly take address of first element of array arguments in
28445 call to INLINE_SYSCALL.
28446
43ffc53a
AS
284472017-09-19 Andreas Schwab <schwab@suse.de>
28448
28449 [BZ #22134]
28450 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28451 execveat first.
28452 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28453 unimplemented.
28454 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28455 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28456 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28457 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28458 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28459 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28460 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28461 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28462 * posix/Makefile (tests): Add tst-fexecve.
28463 * posix/tst-fexecve.c: New file.
28464
a5dcc87e
WD
284652017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28466
28467 * benchtests/Makefile: Add logf benchmark.
28468 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28469
7024d544
WD
284702017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28471
28472 * benchtests/Makefile: Add expf benchmark.
28473 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28474
ca3a382e
WD
284752017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28476
28477 * csu/Makefile: Add -funwind-tables to libc-start.c.
28478 * debug/Makefile: Add -funwind-tables to backtrace.c.
28479 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28480 * sysdeps/arm/Makefile: Likewise.
28481 * sysdeps/i386/Makefile: Likewise.
28482 * sysdeps/m68k/Makefile: Likewise.
28483 * sysdeps/mips/Makefile: Likewise.
28484 * sysdeps/nios2/Makefile: Likewise.
28485 * sysdeps/sh/Makefile: Likewise.
28486 * sysdeps/sparc/Makefile: Likewise.
28487
eb375def
JM
284882017-09-19 Joseph Myers <joseph@codesourcery.com>
28489
28490 * benchtests/Makefile (bench-math): Add trunc and truncf.
28491 (CFLAGS-bench-trunc.c): New variable.
28492 (CFLAGS-bench-truncf.c): Likewise.
28493 * benchtests/trunc-inputs: New file.
28494 * benchtests/truncf-inputs: Likewise.
28495
bd17ba29
RS
284962017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28497
28498 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28499
92892fdb
JM
285002017-09-18 Joseph Myers <joseph@codesourcery.com>
28501
6d9b0b5a
JM
28502 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28503 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28504 redefine.
28505 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28506 (exp10l): Define as weak alias.
28507 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28508 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28509 and redefine.
28510 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28511 (remainderl): Define as weak alias.
28512
92892fdb
JM
28513 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28514 (fmal): Define using libm_alias_ldouble.
28515 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28516 (acoshl): Define using libm_alias_ldouble.
28517 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28518 (acosl): Define using libm_alias_ldouble.
28519 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28520 (asinl): Define using libm_alias_ldouble.
28521 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28522 (atan2l): Define using libm_alias_ldouble.
28523 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28524 (atanhl): Define using libm_alias_ldouble.
28525 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28526 (coshl): Define using libm_alias_ldouble.
28527 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28528 (exp10l): Define using libm_alias_ldouble.
28529 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28530 (exp2l): Define using libm_alias_ldouble.
28531 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28532 (expl): Define using libm_alias_ldouble.
28533 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28534 (fmodl): Define using libm_alias_ldouble.
28535 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28536 (hypotl): Define using libm_alias_ldouble.
28537 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28538 (j0l): Define using libm_alias_ldouble.
28539 (y0l): Likewise.
28540 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28541 (j1l): Define using libm_alias_ldouble.
28542 (y1l): Likewise.
28543 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28544 (jnl): Define using libm_alias_ldouble.
28545 (ynl): Likewise.
28546 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28547 (log10l): Define using libm_alias_ldouble.
28548 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28549 (log2l): Define using libm_alias_ldouble.
28550 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28551 (logl): Define using libm_alias_ldouble.
28552 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28553 (powl): Define using libm_alias_ldouble.
28554 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28555 (remainderl): Define using libm_alias_ldouble.
28556 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28557 (sinhl): Define using libm_alias_ldouble.
28558 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28559 (sqrtl): Define using libm_alias_ldouble.
28560 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28561 (tgammal): Define using libm_alias_ldouble.
28562 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28563 (exp10l): Do not use long_double_symbol here.
28564 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28565 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28566 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28567 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28568 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28569 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28570 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28571 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28572 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28573 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28574 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28575 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28576 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28577 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28578 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28579 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28580 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28581 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28582 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28583 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28584 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28585 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28586
6cd380dd
WB
285872017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28588
28589 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28590 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28591
1c6d89e9
ST
285922017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28593
28594 * io/read.c (read): Add libc_hidden_weak.
28595 * sysdeps/mach/hurd/read.c (read): Likewise.
28596 * io/write.c (write): Likewise.
28597 * sysdeps/mach/hurd/write.c (write): Likewise.
28598 * io/pread64.c (__pread64): Likewise.
28599 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28600 * posix/pread64.c (__pread64): Add libc_hidden_def.
28601
06b1de23
SP
286022017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28603
140647ea
SP
28604 * benchtests/scripts/compare_strings.py: New option -g.
28605 (draw_graph): Print a message that a graph is being generated.
28606 (process_results): Generate graph only if -g is passed.
28607 (main): Process option -g.
28608
5a6547b7
SP
28609 * benchtests/scripts/compare_strings.py (process_results):
28610 Better spacing for output.
28611
06b1de23
SP
28612 * benchtests/scripts/compare_strings.py: Use argparse.
28613 * benchtests/README: Document existence of compare_strings.py.
28614
c67a2328
JM
286152017-09-15 Joseph Myers <joseph@codesourcery.com>
28616
9ac44708
JM
28617 * math/s_fma.c: Include <libm-alias-double.h>.
28618 (fma): Define using libm_alias_double.
28619 * math/s_nextafter.c: Include <libm-alias-double.h>.
28620 (nextafter): Define using libm_alias_double.
28621 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28622 (acos): Define using libm_alias_double.
28623 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28624 (aocsh): Define using libm_alias_double.
28625 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28626 (asin): Define using libm_alias_double.
28627 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28628 (atan2): Define using libm_alias_double.
28629 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28630 (atanh): Define using libm_alias_double.
28631 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28632 (cosh): Define using libm_alias_double.
28633 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28634 (exp10): Define using libm_alias_double.
28635 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28636 (exp2): Define using libm_alias_double.
28637 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28638 (exp): Define using libm_alias_double.
28639 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28640 (fmod): Define using libm_alias_double.
28641 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28642 (hypot): Define using libm_alias_double.
28643 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28644 (j0): Define using libm_alias_double.
28645 (y0): Likewise.
28646 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28647 (j1): Define using libm_alias_double.
28648 (y1): Likewise.
28649 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28650 (jn): Define using libm_alias_double.
28651 (yn): Likewise.
28652 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28653 (log10): Define using libm_alias_double.
28654 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28655 (log2): Define using libm_alias_double.
28656 * math/w_log_compat.c: Include <libm-alias-double.h>.
28657 (log): Define using libm_alias_double.
28658 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28659 (pow): Define using libm_alias_double.
28660 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28661 (remainder): Define using libm_alias_double.
28662 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28663 (sinh): Define using libm_alias_double.
28664 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28665 (sqrt): Define using libm_alias_double.
28666 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28667 (tgamma): Define using libm_alias_double.
28668 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28669 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28670 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28671 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28672 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28673 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28674 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28675 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28676 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28677 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28678 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28679 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28680 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28681 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28682 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28683 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28684 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28685 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28686 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28687 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28688 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28689 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28690 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28691 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28692 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28693
c67a2328
JM
28694 * math/e_acoshl.c: Remove.
28695 * math/e_acosl.c: Likewise.
28696 * math/e_asinl.c: Likewise.
28697 * math/e_atan2l.c: Likewise.
28698 * math/e_atanhl.c: Likewise.
28699 * math/e_coshl.c: Likewise.
28700 * math/e_expl.c: Likewise.
28701 * math/e_fmodl.c: Likewise.
28702 * math/e_gammal_r.c: Likewise.
28703 * math/e_hypotl.c: Likewise.
28704 * math/e_j0l.c: Likewise.
28705 * math/e_j1l.c: Likewise.
28706 * math/e_jnl.c: Likewise.
28707 * math/e_lgammal_r.c: Likewise.
28708 * math/e_log10l.c: Likewise.
28709 * math/e_log2l.c: Likewise.
28710 * math/e_logl.c: Likewise.
28711 * math/e_powl.c: Likewise.
28712 * math/e_rem_pio2l.c: Likewise.
28713 * math/e_sinhl.c: Likewise.
28714 * math/e_sqrtf128.c: Likewise.
28715 * math/e_sqrtl.c: Likewise.
28716 * math/k_cosl.c: Likewise.
28717 * math/k_sinl.c: Likewise.
28718 * math/k_tanl.c: Likewise.
28719 * math/s_asinhl.c: Likewise.
28720 * math/s_atanl.c: Likewise.
28721 * math/s_cbrtl.c: Likewise.
28722 * math/s_erfl.c: Likewise.
28723 * math/s_expm1l.c: Likewise.
28724 * math/s_log1pl.c: Likewise.
28725 * math/s_tanhl.c: Likewise.
28726
61c45f25
TMQMF
287272017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28728
28729 [BZ #21745]
28730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28731 [$(subdir) = math] (sysdep_calls): New variable. Has the
28732 previous contents of sysdep_routines, but re-sorted..
28733 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28734 sysdep_calls.
28735 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28736 defined in sysdep_calls and replace by the respective m_* names.
28737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28738 (compat_symbol): Undefine to avoid duplicated compat symbols in
28739 libc.
28740
5bcdb315
JM
287412017-09-15 Joseph Myers <joseph@codesourcery.com>
28742
28743 * math/s_fmaf.c: Include <libm-alias-float.h>.
28744 (fmaf): Define using libm_alias_float.
28745 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28746 (acosf): Define using libm_alias_float.
28747 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28748 (acoshf): Define using libm_alias_float.
28749 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28750 (asinf): Define using libm_alias_float.
28751 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28752 (atan2f): Define using libm_alias_float.
28753 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28754 (atanhf): Define using libm_alias_float.
28755 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28756 (coshf): Define using libm_alias_float.
28757 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28758 (exp10f): Define using libm_alias_float.
28759 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28760 (fmodf): Define using libm_alias_float.
28761 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28762 (hypotf): Define using libm_alias_float.
28763 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28764 (j0f): Define using libm_alias_float.
28765 (y0f): Likewise.
28766 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28767 (j1f): Define using libm_alias_float.
28768 (y1f): Likewise.
28769 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28770 (jnf): Define using libm_alias_float.
28771 (ynf): Likewise.
28772 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28773 (log10f): Define using libm_alias_float.
28774 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28775 (log2f): Define using libm_alias_float.
28776 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28777 (logf): Define using libm_alias_float.
28778 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28779 (powf): Define using libm_alias_float.
28780 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28781 (remainderf): Define using libm_alias_float.
28782 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28783 (sinhf): Define using libm_alias_float.
28784 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28785 (sqrtf): Define using libm_alias_float.
28786 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28787 (tgammaf): Define using libm_alias_float.
28788
01f28812
JM
287892017-09-14 Joseph Myers <joseph@codesourcery.com>
28790
28791 * include/math.h (roundeven): Change hidden_proto call to
28792 __roundeven.
28793 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28794 alias.
28795 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28796 (y0): Rename to __y0 and define as weak alias.
28797 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28798 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28799 alias.
28800 (y0f): Rename to __y0f and define as weak alias.
28801 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28802 alias.
28803 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28804 (y1): Rename to __y1 and define as weak alias.
28805 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28806 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28807 alias.
28808 (y1f): Rename to __y1f and define as weak alias.
28809 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28810 alias.
28811 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28812 (yn): Rename to __yn and define as weak alias.
28813 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28814 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28815 alias.
28816 (ynf): Rename to __ynf and define as weak alias.
28817 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28818 (fromfp): Define as weak alias.
28819 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28820 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28821 (fromfpx): Define as weak alias.
28822 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28823 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28824 __getpayload and define as weak alias.
28825 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28826 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28827 __roundeven and define as weak alias.
28828 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28829 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28830 __setpayload.
28831 (setpayload): Define as weak alias.
28832 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28833 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28834 __setpayloadsig.
28835 (setpayloadsig): Define as weak alias.
28836 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28837 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28838 __totalorder and define as weak alias.
28839 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28840 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28841 to __totalordermag and define as weak alias.
28842 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28843 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28844 (ufromfp): Define as weak alias.
28845 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28846 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28847 __ufromfpx.
28848 (ufromfpx): Define as weak alias.
28849 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28850 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28851 Rename to __getpayload and define as weak alias.
28852 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28853 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28854 Rename to __roundeven and define as weak alias.
28855 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28856 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28857 Rename to __totalorder and define as weak alias.
28858 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28859 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28860 (totalordermag): Rename to __totalordermag and define as weak
28861 alias.
28862 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28863 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28864 macro.
28865 (__roundevenl): Likewise.
28866 (__totalorderl): Likewise.
28867 (__totalordermagl): Likewise
28868 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28869 __fromfpf128.
28870 (fromfpf128): Define as weak alias.
28871 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28872 __fromfpxf128.
28873 (fromfpxf128): Define as weak alias.
28874 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28875 __setpayloadf128.
28876 (setpayloadf128): Define as weak alias.
28877 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28878 __setpayloadsigf128.
28879 (setpayloadsigf128): Define as weak alias.
28880 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28881 __ufromfpf128.
28882 (ufromfpf128): Define as weak alias.
28883 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28884 __ufromfpxf128.
28885 (ufromfpxf128): Define as weak alias.
28886 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28887 (fromfpf): Define as weak alias.
28888 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28889 __fromfpxf.
28890 (fromfpxf): Define as weak alias.
28891 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28892 __getpayloadf and define as weak alias.
28893 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28894 __roundevenf and define as weak alias.
28895 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28896 __setpayloadf.
28897 (setpayloadf): Define as weak alias.
28898 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28899 __setpayloadsigf.
28900 (setpayloadsigf): Define as weak alias.
28901 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28902 __totalorderf and define as weak alias.
28903 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28904 Rename to __totalordermagf and define as weak alias.
28905 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28906 __ufromfpf.
28907 (ufromfpf): Define as weak alias.
28908 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28909 __ufromfpxf.
28910 (ufromfpxf): Define as weak alias.
28911 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28912 __fromfpl.
28913 (fromfpl): Define as weak alias.
28914 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28915 __fromfpxl.
28916 (fromfpxl): Define as weak alias.
28917 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28918 to __getpayloadl and define as weak alias.
28919 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28920 __roundevenl and define as weak alias.
28921 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28922 __setpayloadl.
28923 (setpayloadl): Define as weak alias.
28924 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28925 __setpayloadsigl.
28926 (setpayloadsigl): Define as weak alias.
28927 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28928 to __totalorderl and define as weak alias.
28929 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28930 Rename to __totalordermagl and define as weak alias.
28931 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28932 __ufromfpl.
28933 (ufromfpl): Define as weak alias.
28934 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28935 __ufromfpxl.
28936 (ufromfpxl): Define as weak alias.
28937 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28938 __fromfpl.
28939 (fromfpl): Define as weak alias.
28940 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28941 __fromfpxl.
28942 (fromfpxl): Define as weak alias.
28943 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28944 Rename to __getpayloadl and define as weak alias.
28945 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28946 to __roundevenl and define as weak alias. Call __roundeven
28947 instead of roundeven.
28948 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28949 __setpayloadl.
28950 (setpayloadl): Define as weak alias.
28951 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28952 __setpayloadsigl.
28953 (setpayloadsigl): Define as weak alias.
28954 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28955 Rename to __totalorderl and define as weak alias.
28956 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28957 Rename to __totalordermagl and define as weak alias.
28958 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28959 __ufromfpl.
28960 (ufromfpl): Define as weak alias.
28961 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28962 __ufromfpxl.
28963 (ufromfpxl): Define as weak alias.
28964 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28965 __fromfpl.
28966 (fromfpl): Define as weak alias.
28967 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28968 __fromfpxl.
28969 (fromfpxl): Define as weak alias.
28970 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28971 __getpayloadl and define as weak alias.
28972 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28973 __roundevenl and define as weak alias.
28974 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28975 __setpayloadl.
28976 (setpayloadl): Define as weak alias.
28977 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28978 __setpayloadsigl.
28979 (setpayloadsigl): Define as weak alias.
28980 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28981 __totalorderl and define as weak alias.
28982 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28983 Rename to __totalordermagl and define as weak alias.
28984 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28985 __ufromfpl.
28986 (ufromfpl): Define as weak alias.
28987 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28988 __ufromfpxl.
28989 (ufromfpxl): Define as weak alias.
28990
29c933fb
SP
289912017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28992
503c92c3
SP
28993 * benchtests/bench-string.h (realloc_bufs): New function.
28994 (test_init): Call it.
28995 * benchtests/bench-memset-large.c (do_test): Likewise.
28996 * benchtests/bench-memset.c (do_test): Likewise.
28997
29c933fb
SP
28998 * benchtests/bench-memset-large.c: Print output in JSON
28999 format.
29000 * benchtests/bench-memset.c: Likewise.
29001
799c8d69
MF
290022017-09-14 Mike FABIAN <mfabian@redhat.com>
29003
29004 [BZ #21084]
29005 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29006 * iconvdata/Makefile: Add IBM858.
29007 * iconvdata/gconv-modules: Likewise.
29008 * iconvdata/tst-tables.sh: Likewise.
29009 * iconvdata/ibm858.c: New file.
29010 * localedata/charmaps/IBM858: Likewise.
29011
c207f7ce 290122017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
29013
29014 [BZ #22023]
29015 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29016 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29017
f28a0926
AK
290182017-09-14 Mike FABIAN <mfabian@redhat.com>
29019
29020 [BZ #22112]
29021 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29022 and add tel_int_fmt.
29023
02093e62
JM
290242017-09-14 Joseph Myers <joseph@codesourcery.com>
29025
29026 * sysdeps/generic/libm-alias-float128.h: New file.
29027 * sysdeps/generic/math-type-macros-float128.h: Include
29028 <libm-alias-float128.h>.
29029 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29030
1aae75ef
JM
290312017-09-13 Joseph Myers <joseph@codesourcery.com>
29032
29033 * sysdeps/generic/libm-alias-ldouble.h: New file.
29034 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29035 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29036 * sysdeps/generic/math-type-macros-ldouble.h: Include
29037 <libm-alias-ldouble.h>.
29038 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29039 libm_alias_ldouble.
29040
bcea7ad6
SN
290412017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29042
29043 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29044 * math/w_exp_compat.c: ... here.
29045 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29046 * math/w_expf_compat.c: ... here.
29047 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29048 * math/w_expl_compat.c: ... here.
29049 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29050 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29051 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29052 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29053
0fc56478
JM
290542017-09-13 Joseph Myers <joseph@codesourcery.com>
29055
29056 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29057 redefine.
29058 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29059 macro.
29060 (ldexpl): Only define as compat symbol for libc, not libm.
29061 (scalbnl): Define as compat symbol for libc here.
29062 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29063 define for [IS_IN (libc)].
29064 (__ldexpl_2): Remove alias.
29065 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29066 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29067 name in long_double_symbol call.
29068 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29069 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29070 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29071 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29072 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29073 Remove macro.
29074 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29075 Define as compat symbol.
29076
3ca622e4
AZ
290772017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29078
29079 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29080 * sysdeps/unix/sysv/linux/alpha/Makefile
29081 [$(subdir) = csu] (sysdep_routines): Remove rule.
29082
620ff9ee
JM
290832017-09-13 Joseph Myers <joseph@codesourcery.com>
29084
29085 * sysdeps/generic/libm-alias-double.h: New file.
29086 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29087 * sysdeps/generic/math-type-macros-double.h: Include
29088 <libm-alias-double.h>.
29089 [declare_mgen_alias] (declare_mgen_alias): Define to use
29090 libm_alias_double.
29091 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29092 (M_LIBM_NEED_COMPAT): Remove macro.
29093 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29094 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29095 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29096 code.
29097 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29098 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29099 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29100 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29101 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29102 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29103 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29104 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29105 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29106 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29107 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29108 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29109 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29110 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29111 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29112 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29113 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29114 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29115 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29116 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29117 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29118 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29119 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29120 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29121 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29122 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29123 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29124 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29125 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29126 macro.
29127 (declare_mgen_alias): New macro.
29128 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29129 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29131 (M_LIBM_NEED_COMPAT): Remove macro.
29132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29133 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29134 <first-versions.h>.
29135 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29136 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29137
a891caff
JM
291382017-09-12 Joseph Myers <joseph@codesourcery.com>
29139
29140 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29141 (declare_mgen_alias_2): Remove.
29142 * sysdeps/generic/math-type-macros-double.h
29143 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29144 Likewise.
29145 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29146 alias.
29147 (ldexp): Define with declare_mgen_alias.
29148 (scalbn): Likewise.
29149
a1a78204
SE
291502017-09-12 Steve Ellcey <sellcey@cavium.com>
29151
29152 * grp/initgroups.c: Include config.h.
29153 (DEFAULT_CONFIG): New macro.
29154 (internal_getgrouplist): Use DEFAULT_CONFIG.
29155 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29156 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29157 (DEFAULT_DEFCONFIG): New macro.
29158 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29159 * nss/grp-lookup.c: Include config.h
29160 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29161 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29162 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29163 * manual/nss.texi: Update default values section.
29164
ef8adeb0
L
291652017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29166
29167 [BZ #21967]
29168 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29169 New.
29170 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29171 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29172 Handle MathVec_Prefer_No_AVX512.
29173 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29174 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29175 is set.
29176
a166531f
ST
291772017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29178
29179 * posix/sched_primax.c (__sched_get_priority_max): Add
29180 libc_hidden_def.
29181 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29182 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29183 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29184 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29185 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29186 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29187 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29188 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29189 Add aliases.
29190
4b7d1efb
JM
291912017-09-11 Joseph Myers <joseph@codesourcery.com>
29192
29193 * sysdeps/generic/libm-alias-float.h: New file.
29194 * sysdeps/generic/math-type-macros-float.h: Include
29195 <libm-alias-float.h>.
29196 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29197
45ff3463
L
291982017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29199
29200 [BZ #22093]
29201 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29202 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29203 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29204 (HWCAP_IMPORTANT): Likewise.
29205 (HWCAP_X86_64): New enum.
29206 (HWCAP_X86_AVX512_1): Updated.
29207 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29208 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29209 (modules-names): Add x86_64/tst-x86_64mod-1.
29210 (LDFLAGS-tst-x86_64mod-1.so): New.
29211 ($(objpfx)tst-x86_64-1): Likewise.
29212 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29213 (tst-x86_64-1-clean): Likewise.
29214 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29215 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29216
891abfd3
SP
292172017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29218
29219 * po/sv.po: Update translations.
29220 * po/fr.po: Likewise.
29221
00c3da43
ST
292222017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29223
29224 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29225 seconds.
3bdfd9fb
ST
29226 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29227 seconds.
65b22ebc 29228 * elf/rtld-Rules: Fix $(error) use.
00c3da43 29229
96480903
MF
292302017-09-09 Mike FABIAN <mfabian@redhat.com>
29231
29232 [BZ #14925]
29233 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29234 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29235 * localedata/locales/bn_BD: “Bengali” was still used in some
29236 comments. Change it to “Bangla”.
29237
4c03a696
MT
292382017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29239
29240 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29241
9c9ec581
SE
292422017-09-08 Steve Ellcey <sellcey@cavium.com>
29243
29244 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29245 thunderx2t99p1 to list of cpu names.
29246 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29247 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29248
f00bce74
SE
292492017-09-08 Steve Ellcey <sellcey@cavium.com>
29250
29251 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29252 Use strcmp instead of tunable_is_name.
29253
27342d17
JM
292542017-09-08 Joseph Myers <joseph@codesourcery.com>
29255
af1b7c8c
JM
29256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29257 (F_GET_RW_HINT): New macro.
29258 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29259 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29260 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29261 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29262 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29263 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29264 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29265 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29266 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29267
27342d17
JM
29268 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29269 (F_ADD_SEALS): New macro.
29270 [__USE_GNU] (F_GET_SEALS): Likewise.
29271 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29272 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29273 [__USE_GNU] (F_SEAL_GROW): Likewise.
29274 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29275
c66c9082
AZ
292762017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29277
07b4f49d
AZ
29278 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29279 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29280 * posix/glob_internal.h (__glob_pattern_type):
29281 * posix/glob.c (glob):
29282 * posix/glob_pattern_p.c (__glob_pattern_p):
29283 Use them.
29284
116f1c64
AZ
29285 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29286 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29287 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29288 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29289 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29291 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29292 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29293 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29294 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29295 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29296 * sysdeps/wordsize-64/glob.c: Likewise.
29297 * sysdeps/wordsize-64/glob64.c: Likewise.
29298 * sysdeps/wordsize-64/globfree.c: Likewise.
29299 * sysdeps/wordsize-64/globfree64.c: Likewise.
29300 * sysdeps/unix/sysv/linux/glob.c: New file.
29301 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29302 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29303 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29304 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29305 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29306 adds !GLOB_NO_OLD_VERSION as an extra condition.
29307 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29308 using relative path instead of absolute one.
29309 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29310 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29311 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29312 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29313 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29314 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29315
ffca8901
AZ
29316 [BZ #1062]
29317 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29318 (glob): Use the same scratch buffer for both getlogin_r and
29319 getpwnam_r. Don’t require preallocation of the login name. This
29320 simplifies storage allocation, and corrects the handling of
29321 long login names.
29322
5a79f975
AZ
29323 [BZ #1062]
29324 * posix/glob.c (glob): Port recent patches to platforms
29325 lacking getpwnam_r.
29326 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29327 returns an error number rather than setting errno.
29328
e00f2425
AZ
29329 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29330 instead of GCC extension.
29331 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29332 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29333 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29334
5554304f
AZ
29335 [BZ #866]
29336 [BZ #1062]
29337 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29338 * posix/bug-glob1.c: Remove file.
29339 * posix/tst-glob_symlinks.c: New file.
29340 * posix/glob.c (__lstat64): New macro.
29341 (is_dir): New function.
29342 (glob, glob_in_dir): Match symlinks even if they are dangling.
29343 (link_stat, link_exists_p): Remove. All uses removed.
29344
686f2ea1
AZ
29345 [BZ #1062]
29346 [BZ #19971]
29347 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29348 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29349 All uses removed.
29350
c66c9082 29351 [BZ #1062]
914c9994 29352 CVE-2017-15671
c66c9082
AZ
29353 * posix/Makefile (routines): Add globfree, globfree64, and
29354 glob_pattern_p.
29355 * posix/flexmember.h: New file.
29356 * posix/glob_internal.h: Likewise.
29357 * posix/glob_pattern_p.c: Likewise.
29358 * posix/globfree.c: Likewise.
29359 * posix/globfree64.c: Likewise.
29360 * sysdeps/gnu/globfree64.c: Likewise.
29361 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29362 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29363 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29364 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29365 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29366 * sysdeps/wordsize-64/globfree.c: Likewise.
29367 * sysdeps/wordsize-64/globfree64.c: Likewise.
29368 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29369 [NDEBUG): Remove comments.
29370 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29371 (dirent_type): New type. Use uint_fast8_t not
29372 uint8_t, as C99 does not require uint8_t.
29373 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29374 (struct readdir_result): Use dirent_type. Do not define skip_entry
29375 unless it is needed; this saves a byte on platforms lacking d_ino.
29376 (readdir_result_type, readdir_result_skip_entry):
29377 New functions, replacing ...
29378 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 29379 these functions, which were removed. This makes the callers
c66c9082
AZ
29380 easier to read. All callers changed.
29381 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29382 (size_add_wrapv, glob_use_alloca): New static functions.
29383 (glob, glob_in_dir): Check for size_t overflow in several places,
29384 and fix some size_t checks that were not quite right.
29385 Remove old code using SHELL since Bash no longer
29386 uses this.
29387 (glob, prefix_array): Separate MS code better.
29388 (glob_in_dir): Remove old Amiga and VMS code.
29389 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29390 separate files.
29391 (glob_in_dir): Do not rely on undefined behavior in accessing
29392 struct members beyond their bounds. Use a flexible array member
29393 instead
29394 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29395 0/1. Caller changed.
29396 (glob): Fix memory leaks.
29397 * posix/glob64 (globfree64): Move to separate file.
29398 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29399 (globfree64): Remove hidden alias.
29400 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29401 oldglob.
29402 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29403 separate file.
29404 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29405 define.
29406 Move compat code to separate file.
29407 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29408 separate file.
29409
78bfa877
L
294102017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29411
29412 * resolv/tst-resolv-qtypes.c (domain): Changed to
29413 "const char domain[] =".
29414
05f0011f
JM
294152017-09-07 Joseph Myers <joseph@codesourcery.com>
29416
85bec0f2
JM
29417 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29418 version to 3.1.6.
29419
5c23ee6e
JM
29420 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29421 (TCP_MD5SIG_EXT): Likewise.
29422 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29423 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29424 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29425
05f0011f
JM
29426 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29427
7c9c5be9
MF
294282017-09-07 Mike FABIAN <mfabian@redhat.com>
29429
29430 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29431
c207f7ce 294322017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
29433
29434 [BZ #22100]
29435 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29436
507fe027
ST
294372017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29438
29439 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29440 before assuming that the file is empty. Avoid testing buffer content
29441 when nread == 0.
29442
65687ac7
AZ
294432017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29444
7bbbb4b9 29445 [BZ #18858]
65687ac7
AZ
29446 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29447 Remove define.
29448 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29449 Likewise.
29450 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29451 Likewise.
29452 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29453 Likewise.
29454 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29455 Likewise.
29456 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29457 Likewise.
29458 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29459 Likewise.
29460
ab5ac271
FW
294612017-09-06 Florian Weimer <fweimer@redhat.com>
29462
29463 * malloc/dynarray_emplace_enlarge.c
29464 (__libc_dynarray_emplace_enlarge): Add missing else.
29465
a8304730
FW
294662017-09-06 Florian Weimer <fweimer@redhat.com>
29467
29468 [BZ #22096]
29469 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29470 case of failure to obtain the global conf object.
29471
5670c4ab
FW
294722017-09-06 Florian Weimer <fweimer@redhat.com>
29473
29474 [BZ #22095]
29475 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29476 dynarray allocation failure.
29477
c77eb969
FW
294782017-09-06 Florian Weimer <fweimer@redhat.com>
29479
29480 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29481 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29482 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29483 New functions.
29484 (response): Call them. Add 'p', '6' flag processing.
29485 (test_reverse): New function.
29486 (test_get2_any): Call it.
29487 (test_no_inet6): Add 'p' test.
29488 (test_inet6): Likewise.
29489
5e9c4d17
FW
294902017-09-06 Florian Weimer <fweimer@redhat.com>
29491
29492 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29493 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29494 the QNAME.
29495 (test_gai): Adjust query names. Add additional tests.
29496 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29497 test_get2. Adjust query names. Add additional tests.
29498 (test_no_inet6): New function, extracted from threadfunc.
29499 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29500 Add additional tests.
29501
2ae5be04
MF
295022017-09-06 Mike FABIAN <mfabian@redhat.com>
29503
29504 [BZ #22070]
29505 * localedata/unicode-gen/utf8_gen.py: Set the width for
29506 characters with Prepended_Concatenation_Mark property to 1
29507 * localedata/charmaps/UTF-8: Updated using the improved script.
29508
af83ed5c
MF
295092017-09-06 Mike FABIAN <mfabian@redhat.com>
29510
29511 [BZ #21750]
29512 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29513 use the range notation for all ranges of neighbouring characters
29514 with the same width.
29515
4f3647e4
JM
295162017-09-05 Joseph Myers <joseph@codesourcery.com>
29517
29518 * sysdeps/generic/math-type-macros-double.h: Include
29519 <math-svid-compat.h>.
29520 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29521 * sysdeps/generic/math-type-macros-float.h: Include
29522 <math-svid-compat.h>.
29523 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29524 * sysdeps/generic/math-type-macros-ldouble.h: Include
29525 <math-svid-compat.h>.
29526 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29527 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29528 condition.
29529 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29530 * math/w_acosf_compat.c: Likewise.
29531 * math/w_acosh_compat.c: Likewise.
29532 * math/w_acoshf_compat.c: Likewise.
29533 * math/w_acoshl_compat.c: Likewise.
29534 * math/w_acosl_compat.c: Likewise.
29535 * math/w_asin_compat.c: Likewise.
29536 * math/w_asinf_compat.c: Likewise.
29537 * math/w_asinl_compat.c: Likewise.
29538 * math/w_atan2_compat.c: Likewise.
29539 * math/w_atan2f_compat.c: Likewise.
29540 * math/w_atan2l_compat.c: Likewise.
29541 * math/w_atanh_compat.c: Likewise.
29542 * math/w_atanhf_compat.c: Likewise.
29543 * math/w_atanhl_compat.c: Likewise.
29544 * math/w_cosh_compat.c: Likewise.
29545 * math/w_coshf_compat.c: Likewise.
29546 * math/w_coshl_compat.c: Likewise.
29547 * math/w_exp10_compat.c: Likewise.
29548 * math/w_exp10f_compat.c: Likewise.
29549 * math/w_exp10l_compat.c: Likewise.
29550 * math/w_exp2_compat.c: Likewise.
29551 * math/w_exp2f_compat.c: Likewise.
29552 * math/w_exp2l_compat.c: Likewise.
29553 * math/w_fmod_compat.c: Likewise.
29554 * math/w_fmodf_compat.c: Likewise.
29555 * math/w_fmodl_compat.c: Likewise.
29556 * math/w_hypot_compat.c: Likewise.
29557 * math/w_hypotf_compat.c: Likewise.
29558 * math/w_hypotl_compat.c: Likewise.
29559 * math/w_j0_compat.c: Likewise.
29560 * math/w_j0f_compat.c: Likewise.
29561 * math/w_j0l_compat.c: Likewise.
29562 * math/w_j1_compat.c: Likewise.
29563 * math/w_j1f_compat.c: Likewise.
29564 * math/w_j1l_compat.c: Likewise.
29565 * math/w_jn_compat.c: Likewise.
29566 * math/w_jnf_compat.c: Likewise.
29567 * math/w_jnl_compat.c: Likewise.
29568 * math/w_lgamma_r_compat.c: Likewise.
29569 * math/w_lgammaf_r_compat.c: Likewise.
29570 * math/w_lgammal_r_compat.c: Likewise.
29571 * math/w_log10_compat.c: Likewise.
29572 * math/w_log10f_compat.c: Likewise.
29573 * math/w_log10l_compat.c: Likewise.
29574 * math/w_log2_compat.c: Likewise.
29575 * math/w_log2f_compat.c: Likewise.
29576 * math/w_log2l_compat.c: Likewise.
29577 * math/w_log_compat.c: Likewise.
29578 * math/w_logf_compat.c: Likewise.
29579 * math/w_logl_compat.c: Likewise.
29580 * math/w_pow_compat.c: Likewise.
29581 * math/w_powf_compat.c: Likewise.
29582 * math/w_powl_compat.c: Likewise.
29583 * math/w_remainder_compat.c: Likewise.
29584 * math/w_remainderf_compat.c: Likewise.
29585 * math/w_remainderl_compat.c: Likewise.
29586 * math/w_sinh_compat.c: Likewise.
29587 * math/w_sinhf_compat.c: Likewise.
29588 * math/w_sinhl_compat.c: Likewise.
29589 * math/w_sqrt_compat.c: Likewise.
29590 * math/w_sqrtf_compat.c: Likewise.
29591 * math/w_sqrtl_compat.c: Likewise.
29592 * math/w_tgamma_compat.c: Likewise.
29593 * math/w_tgammaf_compat.c: Likewise.
29594 * math/w_tgammal_compat.c: Likewise.
29595 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29596 [LIBM_SVID_COMPAT].
29597 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29598 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29599 [LIBM_SVID_COMPAT].
29600 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29601 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29602 [LIBM_SVID_COMPAT].
29603 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29604 * sysdeps/i386/fpu/w_sqrt.c: New file.
29605 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29606 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29607 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29608 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29609 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29610 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29611 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29612 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29613 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29614 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29615 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29616 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29617 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29618 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29619 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29620 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29621 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29622 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29623 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29624 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29625 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29626 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29627 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29628 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29629 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29630 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29631 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29632 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29633 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29634 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29635 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29636 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29637 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29638 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29639 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29640 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29641 * sysdeps/ia64/fpu/w_log.c: Likewise.
29642 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29643 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29644 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29645 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29646 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29647 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29648 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29649 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29650 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29651 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29652 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29653 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29654 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29655 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29656 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29657 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29658 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29659 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29660 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29661 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29662 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29663 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29664 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29665 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29666 [LIBM_SVID_COMPAT].
29667 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29668 * sysdeps/ieee754/k_standard.c: Likewise.
29669 * sysdeps/ieee754/k_standardf.c: Likewise.
29670 * sysdeps/ieee754/k_standardl.c: Likewise.
29671 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29672 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29673 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29674 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29675 long_double_symbol call on [LIBM_SVID_COMPAT].
29676 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29677 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29678 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29679 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29680 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29681 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29682 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29683 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29684 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29685 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29686 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29687 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29688 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29689 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29690 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29691 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29692 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29693 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29694 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29695 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29696 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29697 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29698
05b38d64
SE
296992017-09-05 Steve Ellcey <sellcey@cavium.com>
29700
29701 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29702 * malloc/tst-mallocstate.c: Convert from test-skeleton
29703 to test-driver. Ifdef code using TEST_COMPAT macro.
29704 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29705 * math/test-matherr.c: Likewise.
29706
99d67918
JM
297072017-09-05 Joseph Myers <joseph@codesourcery.com>
29708
29709 [BZ #22086]
29710 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29711 comparing word with byte-swapped constant.
29712
c207f7ce 297132017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
29714
29715 [BZ #20498]
29716 * locale/iso-639.def: add Miskito.
29717 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29718 * localedata/locales/miq_NI: New file.
29719
0a587a8a
L
297202017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29721
29722 [BZ #18822]
29723 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29724 (__mkdir): Likewise.
29725 * io/chmod.c (__chmod): Add libc_hidden_def.
29726 * io/mkdir.c (__mkdir): Likewise.
29727 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29728 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29729 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29730 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29731
f3a129b8
JM
297322017-09-04 Joseph Myers <joseph@codesourcery.com>
29733
1650e192
JM
29734 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29735 version to 4.13.
29736
f3a129b8
JM
29737 [BZ #22082]
29738 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29739 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29740
b38042f5
FW
297412017-09-04 Florian Weimer <fweimer@redhat.com>
29742
29743 * math/math.h: Issue warning if log is defined.
29744
059b6404
JM
297452017-09-04 Joseph Myers <joseph@codesourcery.com>
29746
29747 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29748 kernel version to 4.13.
29749
b794e16b
ST
297502017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29751
29752 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
29753 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29754 parameter.
01969395
ST
29755 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29756 just <bits/types.h>.
dd2b31de 29757 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 29758 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 29759 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 29760 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
29761 * misc/preadv2.c: Include <errno.h>.
29762 * misc/preadv64v2.c: Include <errno.h>.
29763 * misc/pwritev2.c: Include <errno.h>.
29764 * misc/pwritev64v2.c: Include <errno.h>.
29765 * sysdeps/posix/preadv2.c: Include <errno.h>.
29766 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29767 Fix <unistd.h> inclusion.
29768 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29769 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
29770 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29771 __strtoul_internal): New functions.
127e7773
ST
29772 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29773 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
29774 * sysdeps/mach/hurd/i386/Makefile
29775 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29776 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29777 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
29778 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29779 __feraiseexcept_renamed to feraiseexcept instead of
29780 __GI_feraiseexcept.
56bf5497 29781 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 29782 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
29783 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29784 RWF_NOWAIT): Define to 0 if undefined already.
29785 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29786 boils down to 0.
6547ec0a
ST
29787 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29788 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 29789
5a80d39d
JM
297902017-09-01 Joseph Myers <joseph@codesourcery.com>
29791
29792 * manual/math.texi (pow10): Do not document.
29793 (pow10f): Likewise.
29794 (pow10l): Likewise.
29795 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29796 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29797 * math/libm-test-exp10.inc (pow10_test): Remove.
29798 (do_test): Do not call pow10.
29799 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29800 [NO_LONG_DOUBLE] (pow10l): Likewise.
29801 * math/w_exp10f_compat.c (pow10f): Likewise.
29802 * math/w_exp10l_compat.c (pow10l): Likewise.
29803 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29804 (pow10): Make into compat symbol.
29805 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29806 (pow10f): Make into compat symbol.
29807 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29808 (pow10l): Make into compat symbol.
29809 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29810 pow10.
29811 (CFLAGS-nldbl-pow10.c): Remove variable..
29812 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29813 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29814 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29815 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29816 Undefine and redefine.
29817 (pow10l): Make into compat symbol.
29818 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29819 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29820 * sysdeps/arm/libm-test-ulps: Likewise.
29821 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29822 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29823 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29824 * sysdeps/microblaze/libm-test-ulps: Likewise.
29825 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29826 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29827 * sysdeps/nios2/libm-test-ulps: Likewise.
29828 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29829 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29830 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29831 * sysdeps/sh/libm-test-ulps: Likewise.
29832 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29833 * sysdeps/tile/libm-test-ulps: Likewise.
29834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29835
3824fc38
PP
298362017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29837
29838 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29839
b3008279
L
298402017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29841
29842 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29843 "../ChangeLog.old/ChangeLog.8".
29844 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29845 "../ChangeLog.old/ChangeLog.14".
29846
136fa185
L
298472017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29848
29849 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29850 Threads Library.
29851
c18d50a2
JM
298522017-09-01 Joseph Myers <joseph@codesourcery.com>
29853
29854 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29855
bedbd859
L
298562017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29857
29858 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29859 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29860
50c66c7a
PP
298612017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29862
29863 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29864 32 atexit handlers.
29865
a617bd11
ZW
298662017-09-01 Zack Weinberg <zackw@panix.com>
29867
29868 * math/math.h (HUGE_VAL): Improve commentary.
29869
e0d2eb5a
AZ
298702017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29871 Andreas Schwab <schwab@suse.de>
29872
29873 [BZ #21530]
29874 * include/stdio.h (__gen_tempfd): New function.
29875 * stdio-common/Makefile (routines): Add gentempfd.
29876 * stdio-common/gentempfd.c: New file.
29877 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29878 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29879 unnamed file first.
29880
f4a6be25
FW
298812017-09-01 Florian Weimer <fweimer@redhat.com>
29882
29883 [BZ #21915]
29884 [BZ #21922]
29885 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29886 result to determine success or failure, not the errno value.
29887 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29888 (tst-nss-files-hosts-erange): Link with -ldl.
29889 * nss/tst-nss-files-hosts-erange.c: New file.
29890 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29891 (do_test): Add NO_DATA tests.
29892 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29893 (do_test): Call it.
29894
5f8340f5
FW
298952017-09-01 Florian Weimer <fweimer@redhat.com>
29896
29897 [BZ #21922]
29898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29899 coming from gethostbyname2_r.
29900
65329bd2
FW
299012017-09-01 Florian Weimer <fweimer@redhat.com>
29902
29903 * support/namespace.h (struct support_chroot_configuration): Add
29904 hosts, host_conf.
29905 (struct support_chroot): Add path_hosts, path_host_conf.
29906 * support/support_chroot.c (write_file): New function.
29907 (support_chroot_create): Call it to process /etc/resolv.conf,
29908 /etc/hosts, /etc/host.conf.
29909 (support_chroot_free): Update.
29910
a2881ef0
FW
299112017-09-01 Florian Weimer <fweimer@redhat.com>
29912
29913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29914 status indicates it is set.
29915
ad816a5e
FW
299162017-09-01 Florian Weimer <fweimer@redhat.com>
29917
63b52889 29918 [BZ #20532]
ad816a5e
FW
29919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29920 function lookup failures more reliable.
29921
53250a21
FW
299222017-09-01 Florian Weimer <fweimer@redhat.com>
29923
29924 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29925 (getcanonname): Likewise.
29926 (gaih_inet): Likewise.
29927
924b121c
FW
299282017-09-01 Florian Weimer <fweimer@redhat.com>
29929
29930 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29931 (getcanonname): Likewise.
29932 (gaih_inet): Likewise.
29933
d9ff799a 299342017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 29935 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
29936
29937 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29938 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29939 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29940 (IREG_SIZE, OREG_SIZE): New macros.
29941 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29942 (IREG_SIZE, OREG_SIZE): New macros.
29943 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29944 (IREG_SIZE): New macro.
29945 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29946 (IREG_SIZE): New macro.
29947 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29948 New includes.
29949 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29950 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29951 (__CONCATX): Handle exceptions correctly on large values that may
29952 set FE_INVALID.
29953 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29954 Initialize if not already set.
b39d961c 29955 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 29956
102dde84
AZ
299572017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29958
29959 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29960 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29961 Likewise.
29962 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29963 Likewise.
29964 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29965 Likewise.
29966 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29967 Likewise.
29968 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29969 Likewise.
29970 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29971 Likewise.
29972 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29973 Likewise.
29974 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29975 (NO_CANCELLATION): Likewise.
29976 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29977 Likewise.
29978 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29979 Likewise.
29980 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29981 Likewise.
29982 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29983 (NO_CANCELLATION): Likewise.
29984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29985 (NO_CANCELLATION): Likewise.
29986 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29987 Likewise
29988 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29989 Likewise.
29990 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29991 Likewise.
29992 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29993 Likewise.
29994 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29995 hidden prototype.
29996 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29997 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29998
9eee633b
SE
299992017-08-31 Steve Ellcey <sellcey@cavium.com>
30000
30001 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30002 in resolver call.
30003
65284eb7
FW
300042017-08-31 Florian Weimer <fweimer@redhat.com>
30005
30006 * include/libc-symbols.h (internal_function): Remove.
30007
41ad5ca6
FW
300082017-08-31 Florian Weimer <fweimer@redhat.com>
30009
30010 * stdlib/fmtmsg.c (internal_addseverity): Remove
30011 internal_function.
30012
2fa6d086
FW
300132017-08-31 Florian Weimer <fweimer@redhat.com>
30014
30015 * stdio-common/printf_fp.c (group_number): Remove
30016 internal_function.
30017 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30018
b41bd5bc
FW
300192017-08-31 Florian Weimer <fweimer@redhat.com>
30020
30021 * posix/fnmatch.c (internal_function): Remove definition.
30022 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30023 * posix/regcomp.c (peek_token, init_word_char)
30024 (duplicate_node_closure, fetch_token, peek_token)
30025 (peek_token_bracket, build_range_exp, build_collating_symbol):
30026 Likewise.
30027 * posix/regex_internal.c (re_string_construct_common)
30028 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30029 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30030 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30031 (re_string_translate_buffer, re_string_reconstruct)
30032 (re_string_peek_byte_case, re_string_fetch_byte_case)
30033 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30034 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30035 (re_node_set_add_intersect, re_node_set_init_union)
30036 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30037 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30038 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30039 (re_acquire_state_context): Likewise.
30040 * posix/regex_internal.h (internal_function): Remove definition.
30041 (re_string_realloc_buffers, build_wcs_buffer)
30042 (build_wcs_upper_buffer, build_upper_buffer)
30043 (re_string_translate_buffer, re_string_context_at)
30044 (re_string_char_size_at, re_string_wchar_at)
30045 (re_string_elem_size_at): Likewise.
30046 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30047 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30048 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30049 (re_search_internal, re_search_2_stub, re_search_stub)
30050 (re_copy_regs, prune_impossible_nodes, check_matching)
30051 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30052 (free_fail_stack_return, sift_states_iter_mb)
30053 (sift_states_backward, build_sifted_states)
30054 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30055 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30056 (check_subexp_limits, sift_states_bkref, merge_state_array)
30057 (find_recover_state, transit_state, merge_state_with_log)
30058 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30059 (transit_state_mb, transit_state_bkref, get_subexp)
30060 (get_subexp_sub, find_subexp_node, check_arrival)
30061 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30062 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30063 (check_node_accept_bytes, find_collation_sequence_value)
30064 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30065 (acquire_init_state_context, check_halt_node_context)
30066 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30067 (sub_epsilon_src_nodes): Likewise.
30068 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30069 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30070 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30071 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30072 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30073 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30074 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30075 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30076 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30077 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30078 (PREADV): Likewise.
30079 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30080 (PREADV): Likewise.
30081 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30082 (PWRITEV): Likewise.
30083 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30084 (PWRITEV): Likewise.
30085 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30086 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30087
83b09837
FW
300882017-08-31 Florian Weimer <fweimer@redhat.com>
30089
30090 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30091 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30092 Remove internal_function.
30093 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30094 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30095 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30096 (__deallocate_stack, __libc_pthread_init)
30097 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30098 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30099 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30100 Likewise.
30101 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30102 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30103 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30104 Likewise.
30105 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30106 (__pthread_mutex_unlock_usercnt): Likewise.
30107
116ac301
FW
301082017-08-31 Florian Weimer <fweimer@redhat.com>
30109
30110 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30111 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30112 (fts_safe_changedir): Remove internal_function.
30113 * io/ftw.c (internal_function): Remove definition.
30114 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30115
9da93bd7
FW
301162017-08-31 Florian Weimer <fweimer@redhat.com>
30117
30118 * inet/deadline.c (__deadline_current_time)
30119 (__deadline_from_timeval, __deadline_to_ms): Remove
30120 internal_function.
30121 * inet/getnameinfo.c (nrl_domainname): Likewise.
30122 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30123 * inet/inet6_option.c (add_pad): Likewise.
30124 * inet/net-internal.h (__deadline_current_time)
30125 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30126 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30127 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30128 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30129
a60eca2e
JM
301302017-08-31 Joseph Myers <joseph@codesourcery.com>
30131
c0c49d60
JM
30132 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30133 include <bits/nan.h>.
30134 * math/Makefile (headers): Remove bits/nan.h.
30135 * bits/nan.h: Remove.
30136 * sysdeps/ieee754/bits/nan.h: Likewise.
30137 * sysdeps/mips/bits/nan.h: Likewise.
30138
5ef1b213
JM
30139 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30140 not include <bits/inf.h>.
30141 * math/Makefile (headers): Remove bits/inf.h.
30142 * bits/inf.h: Remove.
30143 * sysdeps/ieee754/bits/inf.h: Likewise.
30144
a60eca2e
JM
30145 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30146 bits/huge_vall.h or bits/huge_val_flt128.h.
30147 (HUGE_VAL): Define directly here.
30148 [__USE_ISOC99] (HUGE_VALF): Likewise.
30149 [__USE_ISOC99] (HUGE_VALL): Likewise.
30150 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30151 (HUGE_VAL_F128): Likewise.
30152 * math/Makefile (headers): Remove bits/huge_val.h,
30153 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30154 * bits/huge_val.h: Remove.
30155 * bits/huge_val_flt128.h: Likewise.
30156 * bits/huge_valf.h: Likewise.
30157 * bits/huge_vall.h: Likewise.
30158 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30159 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30160 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30161 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30162 * sysdeps/sh/bits/huge_val.h: Likewise.
30163 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30164 * sysdeps/x86/bits/huge_vall.h: Likewise.
30165
17e00cc6
FW
301662017-08-31 Florian Weimer <fweimer@redhat.com>
30167
30168 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30169 internal_function.
30170 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30171 Likewise.
30172 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30173 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30174 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30175 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30176 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30177 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30178 * elf/dl-libc.c (dlerror_run): Likewise.
30179 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30180 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30181 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30182 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30183 Likewise.
30184 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30185 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30186 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30187 * elf/dl-profile.c (_dl_start_profile): Likewise.
30188 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30189 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30190 Likewise.
30191 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30192 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30193 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30194 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30195 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30196 (_dl_allocate_tls_storage): Likewise.
30197 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30198 (_dl_check_all_versions): Likewise.
30199 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30200 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30201 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30202 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30203 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30204 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30205 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30206 internal_function from __dl_start.
30207 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30208 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30209 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30210 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30211 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30212 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30213 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30214 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30215 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30216 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30217 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30218 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30219 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30220 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30221 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30222 Likewise.
30223 (struct rtld_global_ro): Remove internal_function from the
30224 _dl_lookup_symbol_x member.
30225 (_dl_symbol_value): Remove. No longer defined anywhere.
30226 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30227 internal_function.
30228 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30229 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30230 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30231 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30232 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30233 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30234 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30235 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30236 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30237 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30238 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30239 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30240
8d2f9410
FW
302412017-08-31 Florian Weimer <fweimer@redhat.com>
30242
30243 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30244 Remove internal_function.
30245 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30246 Likewise.
30247 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30248 Likewise.
30249
86e4919f
FW
302502017-08-31 Florian Weimer <fweimer@redhat.com>
30251
30252 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30253 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30254 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30255
59bd52b0
FW
302562017-08-31 Florian Weimer <fweimer@redhat.com>
30257
30258 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30259 (__gai_enqueue_request): Remove internal_function.
30260 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30261 (__gai_remove_request, __gai_notify, __gai_notify_only)
30262 (__gai_sigqueue): Likewise.
30263 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30264 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30265 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30266 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30267 Likewise.
30268
fc3d9497
FW
302692017-08-31 Florian Weimer <fweimer@redhat.com>
30270
30271 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30272 * include/dirent.h (__opendirat, __getdents, __getdents64)
30273 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30274 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30275 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30276 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30277 Likewise.
30278 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30279
18c54fac
FW
302802017-08-31 Florian Weimer <fweimer@redhat.com>
30281
30282 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30283 internal_function.
30284 (GETCWD_RETURN_TYPE): Likewise.
30285
7e01f080
FW
302862017-08-31 Florian Weimer <fweimer@redhat.com>
30287
30288 * include/time.h (__tz_compute, __strptime_internal): Remove
30289 internal_function.
30290 * time/strptime_l.c (__strptime_internal): Likewise.
30291 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30292
d7ccc6c9
FW
302932017-08-31 Florian Weimer <fweimer@redhat.com>
30294
30295 * iconv/gconv.c (__gconv): Remove internal_function.
30296 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30297 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30298 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30299 (__gconv_release_cache): Likewise.
30300 * iconv/gconv_close.c (__gconv_close): Likewise.
30301 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30302 (read_conf_file, __gconv_get_path): Likewise.
30303 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30304 (__gconv_release_step, gen_steps, increment_counter)
30305 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30306 (__gconv_close_transform, free_modules_db): Likewise.
30307 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30308 Likewise.
30309 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30310 (__gconv_find_transform, __gconv_lookup_cache)
30311 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30312 (__gconv_close_transform, __gconv_release_cache)
30313 (__gconv_loaded_object, __gconv_release_shlib)
30314 (__gconv_compare_alias): Likewise.
30315 * iconv/gconv_open.c (__gconv_open): Likewise.
30316 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30317 * iconv/iconvconfig.c (add_module): Likewise.
30318 * intl/dcigettext.c (plural_lookup, guess_category_value)
30319 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30320 * intl/eval-plural.h (plural_eval): Likewise.
30321 * intl/finddomain.c (_nl_find_domain): Likewise.
30322 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30323 (_nl_load_domain, _nl_find_msg): Likewise.
30324 (internal_function): Remove definition.
30325 * intl/loadinfo.h (internal_function): Likewise.
30326 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30327 internal_function.
30328 * intl/localealias.c (internal_function): Remove definition.
30329 (read_alias_file): Remove internal_function.
30330 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30331 * intl/plural-exp.h (internal_function): Remove definition.
30332 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30333 internal_function.
30334 * intl/plural.c: Regenerate.
30335 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30336 * locale/coll-lookup.c (__collidx_table_lookup)
30337 (__collseq_table_lookup): Likewise.
30338 * locale/coll-lookup.h (__collidx_table_lookup)
30339 (__collseq_table_lookup): Likewise.
30340 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30341 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30342 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30343 (_nl_unload_locale): Likewise.
30344 * locale/localeinfo.h (struct __locale_data): Remove
30345 internal_function from cleanup member.
30346 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30347 (_nl_remove_locale, _nl_load_locale_from_archive)
30348 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30349 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30350 (_nl_cleanup_time): Remove internal_function.
30351 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30352 (_nl_parse_alt_digit): Likewise.
30353 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30354 (_nl_select_era_entry): Likewise.
30355 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30356 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30357 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
30358 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30359 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 30360
dab0eece
FW
303612017-08-31 Florian Weimer <fweimer@redhat.com>
30362
30363 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30364 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30365 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30366 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30367 Likewise.
30368 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30369 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30370 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30371 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30372 Likewise.
30373 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30374
ab5bf7cf
FW
303752017-08-31 Florian Weimer <fweimer@redhat.com>
30376
30377 * misc/getttyent.c (skip, value): Remove internal_function.
30378 * misc/syslog.c (openlog_internal): Likewise.
30379 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30380
75b3047e
FW
303812017-08-31 Florian Weimer <fweimer@redhat.com>
30382
30383 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30384 (__nss_rewrite_field): Remove internal_function.
30385 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30386 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30387 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30388 * nss/nsswitch.c (nss_parse_file, nss_getline)
30389 (nss_parse_service_list, nss_new_service): Likewise.
30390 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30391 * nss/valid_field.c (__nss_valid_field): Likewise.
30392 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30393
0c71122c
FW
303942017-08-31 Florian Weimer <fweimer@redhat.com>
30395
30396 * malloc/arena.c (__malloc_fork_lock_parent)
30397 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30398 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30399 internal_function from defintions.
30400 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30401 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30402 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30403 internal_function from declarations.
30404 * malloc/malloc.c (internal_function): Do not define.
30405 (mem2mem_check): Remove internal_function from declaration.
30406 (munmap_chunk, mremap_chunk): Remove internal_function.
30407 * malloc/mtrace.c (tr_where): Likewise.
30408
ca4ec803
FW
304092017-08-31 Florian Weimer <fweimer@redhat.com>
30410
30411 * include/rpc/pmap_clnt.h (__get_socket): Remove
30412 internal_function.
30413 * sunrpc/auth_des.c (synchronize): Likewise.
30414 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30415 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30416 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30417 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30418 (key_call): Likewise.
30419 * sunrpc/pm_getport.c (__get_socket): Likewise.
30420 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30421 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30422 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30423 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30424 (invalidate): Likewise.
30425 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30426 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30427 (set_input_fragment, get_input_bytes): Likewise.
30428
24cffce7
FW
304292017-08-31 Florian Weimer <fweimer@redhat.com>
30430
30431 * malloc/malloc.c (_int_free): Remove locked variable and related
30432 asserts.
30433
ecd0747d
L
304342017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30435
30436 [BZ #22051]
30437 * Makerules (build-module-helper-objlist): Filter out
30438 $(elf-objpfx)sofini.os.
30439 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30440 needed.
30441
5f0704b6
FW
304422017-08-31 Florian Weimer <fweimer@redhat.com>
30443
30444 * libio/fcloseall.c: Assume weak_alias is defined.
30445 * libio/feof.c: Likewise.
30446 * libio/fileno.c: Likewise.
30447 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30448 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30449 definitions.
30450 (_IO_file_open): Call __open directly.
30451 (_IO_new_file_sync): Assume ESPIPE is defined.
30452 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30453 (_IO_new_file_write): Call __write directly.
30454 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30455 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30456 * libio/genops.c: Assume _LIBC is defined.
30457 (save_for_backup): Remove internal_function.
30458 * libio/getc.c: Assume weak_alias is defined.
30459 * libio/getwc.c: Likewise.
30460 * libio/iofclose.c: Assume _LIBC is defined.
30461 * libio/iofdopen.c: Likewise.
30462 (_IO_fcntl): Remove macro definition.
30463 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30464 Call __fcntl directly.
30465 * libio/iofflush.c: Assume weak_alias is defined.
30466 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30467 defined.
30468 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30469 * libio/iofgets.c: Likewise.
30470 * libio/iofopen.c: Assume _LIBC is defined.
30471 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30472 * libio/iofputs.c: Assume weak_alias is defined.
30473 * libio/iofread.c: Likewise.
30474 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30475 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30476 * libio/ioftell.c: Assume weak_alias is defined.
30477 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30478 * libio/iofwide.c: Assume _LIBC is defined.
30479 (_IO_fwide): Drop SHARED conditional because it is implied by
30480 SHLIB_COMPAT.
30481 * libio/iofwrite.c: Assume weak_alias is defined.
30482 * libio/iogetdelim.c: Likewise.
30483 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30484 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30485 (_IO_getwline): Call __wmemcpy directly.
30486 * libio/iopopen.c: Assume _LIBC is defined.
30487 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30488 (_IO_close): Remove macro definitions.
30489 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30490 _exit directly.
30491 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30492 directly.
30493 * libio/ioputs.c: Assume weak_alias is defined.
30494 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30495 * libio/iosetbuffer.c: Assume weak_alias is defined.
30496 * libio/iosetvbuf.c: Likewise.
30497 * libio/ioungetc.c: Likewise.
30498 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30499 libc_hidden_def, libc_hidden_weak, NULL are defined.
30500 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30501 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30502 defined.
30503 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30504 definitions.
30505 (_IO_old_file_init_internal): Drop SHARED conditional because it
30506 is implied by SHLIB_COMPAT.
30507 (_IO_old_file_fopen): Call __open directly.
30508 (_IO_old_file_sync): Assume ESPIPE is defined.
30509 (_IO_old_file_write): Call __write directly.
30510 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30511 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30512 Call __fcntl directly.
30513 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30514 (_IO_old_fgetpos): Assume EIO is defined.
30515 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30516 (_IO_old_fgetpos64): Assume EIO is defined.
30517 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30518 (_IO_old_fsetpos): Assume EIO is defined.
30519 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30520 (_IO_old_fsetpos64): Assume EIO is defined.
30521 * libio/oldiopopen.c: Assume _LIBC is defined.
30522 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30523 (_IO_close): Remove macro definitions.
30524 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30525 directly.
30526 (_IO_old_proc_close): Call __close, __waitpid directly.
30527 * libio/put.c: Assume weak_alias is defined.
30528 * libio/stdfiles.c: Assume _LIBC is defined.
30529 * libio/stdio.c: Likewise.
30530 * libio/wfileops.c: Likewise.
30531 (_IO_wfile_sync): Assume ESPIPE is defined.
30532 * libio/wgenops.c: Assume _LIBC is defined.
30533 (save_for_wbackup): Remove internal_function.
30534
5129873a
FW
305352017-08-31 Florian Weimer <fweimer@redhat.com>
30536
30537 * malloc/malloc.c (top_check): Change return type to void. Remove
30538 internal_function.
30539 * malloc/hooks.c (top_check): Likewise.
30540 (malloc_check, realloc_check, memalign_check): Adjust.
30541
4fa9b3bf
JM
305422017-08-30 Joseph Myers <joseph@codesourcery.com>
30543
30544 [BZ #21457]
30545 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30546 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30547 sigcontext and namespace requirements.
30548 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30549 * sysdeps/m68k/sys/ucontext.h: Likewise.
30550 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30551 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30552 <bits/sigcontext.h>.
30553 (__ctx): Define earlier.
30554 (mcontext_t): Define structure contents rather than using struct
30555 sigcontext.
30556 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30557 __glibc_reserved1 instead of __reserved.
30558 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30559 <bits/sigcontext.h>.
30560 (__ctx): Define earlier.
30561 (mcontext_t): Define structure contents rather than using struct
30562 sigcontext.
30563 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30564 mcontext_t instead of struct sigcontext.
30565 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30566 <bits/sigcontext.h>.
30567 (__ctx): Define earlier.
30568 (mcontext_t): Define structure contents rather than using struct
30569 sigcontext.
30570 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30571 <bits/sigcontext.h>.
30572 (__ctx): Define earlier.
30573 (mcontext_t): Define structure contents rather than using struct
30574 sigcontext.
30575 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30576 mcontext_t instead of struct sigcontext.
30577 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30578 mcontext_t instead of struct sigcontext.
30579 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30580 <bits/sigcontext.h>.
30581 (__ctx): New macro.
30582 (struct __ia64_fpreg_mcontext): New type.
30583 (mcontext_t): Define structure contents rather than using struct
30584 sigcontext.
30585 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30586 (uc_sigmask): Define using __ctx.
30587 (uc_stack): Likewise.
30588 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30589 <bits/sigcontext.h>.
30590 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30591 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30592 <bits/sigcontext.h>.
30593 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30594 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30595 <bits/sigcontext.h>.
30596 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30597 <bits/sigcontext.h>.
30598 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30599 <bits/sigcontext.h>.
30600 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30601 <bits/sigcontext.h>.
30602 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30603 <bits/sigcontext.h>.
30604 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30605 <bits/sigcontext.h>.
30606 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30607 <bits/sigcontext.h>.
30608 (__ctx): Define earlier.
30609 (mcontext_t): Define structure contents rather than using struct
30610 sigcontext.
30611 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30612 <bits/sigcontext.h>. Include <bits/types.h>.
30613 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30614 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30615 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30616 (test-xfail-UNIX98/signal.h/conform): Likewise.
30617 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30618 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30619 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30620 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30621 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30622 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30623 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30624 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30625 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30626
5898f454
FW
306272017-08-30 Florian Weimer <fweimer@redhat.com>
30628
30629 * malloc/dynarray_emplace_enlarge.c
30630 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30631 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30632 * malloc/tst-dynarray.c (test_long_overflow): New function.
30633 (do_test): Call it.
30634
a9da0bb2
FW
306352017-08-30 Florian Weimer <fweimer@redhat.com>
30636
30637 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30638 (set_arena_corrupt): Remove definitions.
30639 (mtrim): Do not check for corrupt arena.
30640 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30641 Likewise.
30642
ac3ed168
FW
306432017-08-30 Florian Weimer <fweimer@redhat.com>
30644
30645 [BZ #21754]
30646 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30647 check_action.
30648 (ptmalloc_init): Do not set or use check_action.
30649 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30650 call to malloc_printerr. Remove return statement.
30651 (free_check): Likewise. Remove arena unlock.
30652 (top_check): Update comment. Adjust call to malloc_printerr.
30653 Remove heap repair code.
30654 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30655 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30656 (sysmalloc): Adjust call to malloc_printerr.
30657 (munmap_chunk, __libc_realloc): Likewise. Remove return
30658 statement.
30659 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30660 Remove errout label and corresponding gotos.
30661 (_int_free): Likewise. Remove arena unlock.
30662 (do_set_mallopt_check): Do not set check_action.
30663 (malloc_printerr): Adjust parameter list. Do not mark arena as
30664 corrupt.
30665 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30666 comment.
30667 * manual/probes.texi (Memory Allocation Probes): Remove
30668 memory_mallopt_check_action.
30669
44bcba80
SE
306702017-08-30 Steve Ellcey <sellcey@cavium.com>
30671
30672 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30673 Use pointer to uint64_t instead of long int for sp.
30674
ec2c1fce
FW
306752017-08-30 Florian Weimer <fweimer@redhat.com>
30676
30677 [BZ #21754]
30678 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30679 without printing a backtrace. Do not leak any information in the
30680 error message.
30681 * manual/memory.texi (Heap Consistency Checking): Update.
30682 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30683
9ce673b6
FW
306842017-08-30 Florian Weimer <fweimer@redhat.com>
30685
30686 Do not scale NPTL tests with available number of CPUs.
30687 * nptl/tst-cond16.c (count): Set to constant value of 8.
30688 * nptl/tst-cond18.c (count): Likewise.
30689
2f1aef19
JM
306902017-08-29 Joseph Myers <joseph@codesourcery.com>
30691
30692 [BZ #22035]
30693 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30694 Define to take a second argument that is a macro that
30695 concatentates a suffix, not the suffix itself.
30696 (__CONCAT_d): New macro.
30697 (__CONCAT_f): Likewise.
30698 (__CONCAT_l): Likewise.
30699
8325b477
PP
307002017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30701
30702 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30703 by child.
30704
319cbbf6
AZ
307052017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30706 Aurelien Jarno <aurelien@aurel32.net>
30707 Maciej W. Rozycki <macro@imgtec.com>
30708
30709 [BZ #21956]
30710 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30711 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30712 `mips16-syscall6' and `mips16-syscall7'.
30713 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30714 (CFLAGS-mips16-syscall7.c): Remove.
30715 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30716 Remove `__mips16_syscall5', `__mips16_syscall6' and
30717 `__mips16_syscall7'.
30718 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30719 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30720 `__mips_syscall_return'.
30721 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30722 (__mips16_syscall1): Likewise.
30723 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30724 (__mips16_syscall2): Likewise.
30725 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30726 (__mips16_syscall3): Likewise.
30727 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30728 (__mips16_syscall4): Likewise.
30729 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30730 Remove.
30731 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30732 Remove.
30733 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30734 Remove.
30735 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30736 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30737 `__mips16_syscall5'. Remove prototype.
30738 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30739 `__mips16_syscall6'. Remove prototype.
30740 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30741 `__mips16_syscall7'. Remove prototype.
30742 (__nomips16, __mips16_syscall_return): Move to...
30743 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30744 (__nomips16, __mips_syscall_return): ... here.
30745 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30746 `__mips16_syscall_return' to `__mips_syscall_return'.
30747 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30748 `internal_syscall##nr'.
30749 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30750 `internal_syscall##nr'.
30751 (FORCE_FRAME_POINTER): Remove.
30752 (__mips_syscall5): New prototype.
30753 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30754 (__mips_syscall6): New prototype.
30755 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30756 (__mips_syscall7): New prototype.
30757 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30758 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30759 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30760 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30761 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30762 (sysdep_routines): Add libc-do-syscall.
30763 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30764 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30765
01b87c65
AZ
307662017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30767
30768 [BZ #21672]
30769 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30770 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30771 (advise_stack_range): New function.
30772 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30773 stack non required to advise_stack_range at allocatestack.c
30774
16f138a4
SN
307752017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30776
30777 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30778
251bccfa
FW
307792017-08-29 Florian Weimer <fweimer@redhat.com>
30780
30781 [BZ #22026]
30782 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30783 __end_fct. Mangle __end_fct after setting it to NULL.
30784 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30785 (modules-names, modules-names-tests): Add
30786 tst-gconv-init-failure-mod.
30787 (gconv-modules): New target.
30788 (tst-gconv-init-failure-mod.so): Link against libsupport.
30789 (tst-gconv-init-failure): Depend on gconv-modules,
30790 tst-gconv-init-failure-mod.so.
30791 * iconv/tst-gconv-init-failure-mod.c: New file.
30792 * iconv/tst-gconv-init-failure.c: Likewise.
30793 * iconv/test-gconv-modules: Likewise.
30794
e7c18b9d
FW
307952017-08-29 Florian Weimer <fweimer@redhat.com>
30796
30797 [BZ #22025]
30798 * iconv/gconv_db.c (free_derivation): Remove redundant
30799 parentheses.
30800 (gen_steps): Unconditionally mangle __btowc_fct after
30801 initialization.
30802 (increment_counter): Likewise. Do not call init_fct for internal
30803 modules.
30804
7daada03
JM
308052017-08-29 Joseph Myers <joseph@codesourcery.com>
30806
30807 [BZ #22028]
30808 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30809 (_MSUF_): Remove macro.
30810 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30811 Likewise.
30812 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30813 (__REDIRFROM_X): New macro.
30814 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30815 Likewise.
30816 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30817 (__REDIRTO_X): Likewise.
30818 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30819 arguments.
30820 (__MATH_REDIRCALL_2): Likewise.
30821 (__MATH_REDIRCALL_INTERNAL): Likewise.
30822 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30823 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30824 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30825 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30826 * math/test-finite-macros.c: New file.
30827 * math/Makefile (tests): Add test-finite-macros.
30828 (CFLAGS-test-finite-macros.c): New variable.
30829
1cf1232c
PF
308302017-08-29 Patsy Franklin <pfrankli@redhat.com>
30831 Jeff Law <law@redhat.com>
30832
30833 [BZ #22025]
30834 Mangle NULL pointers in iconv/gconv.
30835 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30836 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30837 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30838 is non-NULL before demangling the end_fct. Check for NULL
30839 end_fct after demangling.
30840 (__gconv_release_step): Demangle the end_fct before checking
30841 it for NULL. Remove assert on __shlibc_handle != NULL.
30842 (gen_steps): Don't check btowc_fct for NULL before mangling.
30843 Demangle init_fct before checking for NULL.
30844 (increment_counter): Likewise.
30845 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30846 end_fct for NULL before mangling.
30847 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30848 for NULL.
30849
c207f7ce 308502017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
30851
30852 [BZ #21971]
30853 * locale/iso-639.def: add Morisyen.
30854
42496114
GG
308552017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30856
30857 [BZ #21930]
30858 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30859 (iszero): New C++ implementation that does not use
30860 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30861 signaling nans are enabled, since __builtin_types_compatible_p
30862 is a C-only feature.
30863 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30864 defined, include ieee754_float128.h for access to the union and
30865 member ieee854_float128.ieee.
30866 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30867 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30868 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30869 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30870 options of test-math-zero on powerpc64le.
30871
5e2bc4ff
L
308722017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30873
30874 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30875 Change double to float.
30876
a48c0fb4
JM
308772017-08-28 Joseph Myers <joseph@codesourcery.com>
30878
30879 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30880 unconditional.
30881 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30882 conditional code; define contents only for [LIBM_SVID_COMPAT].
30883
ee17d4e9
FW
308842017-08-28 Florian Weimer <fweimer@redhat.com>
30885
30886 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30887 (abi-lp64_be-options): Remove.
30888 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30889 (abi-hard-options): Likewise.
30890 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30891 (abi-o32_hard-options, abi-o32_soft_2008-options)
30892 (abi-o32_hard_2008-options, abi-n32_soft-options)
30893 (abi-n32_hard-options, abi-n32_soft_2008-options)
30894 (abi-n32_hard_2008-options, abi-n64_soft-options)
30895 (abi-n64_hard-options, abi-n64_soft_2008-options)
30896 (abi-n64_hard_2008-options): Likewise.
30897 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30898 (abi-64-v1-options, abi-64-v2-options): Likewise.
30899 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30900 (abi-64-options): Likewise.
30901 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30902 (abi-64-options): Likewise.
30903 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30904 (abi-64-options): Likewise.
30905 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30906 (abi-64-options, abi-x32-options): Likewise.
30907
2dba5ce7
FW
309082017-08-28 Florian Weimer <fweimer@redhat.com>
30909
30910 Store supported list of SYS_* system calls in the source tree.
30911 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30912 (bits/syscall.h): Generate from list file.
30913 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30914 [$(subdir) = misc] (tests): Add tst-syscall-list.
30915 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30916 [$(subdir) = misc] (tst-syscall-list-macros.list)
30917 [$(subdir) = misc] (tst-syscall-list-nr.list)
30918 (tst-syscall-list-sys.list): Helper targets for new
30919 tst-syscall-list test.
30920 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30921 tst-syscall-list.sh.
30922 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30923 target. Do not include bits/syscall.d.
30924 [$(subdir) = misc] (generated): Do not update.
30925 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30926 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30927 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30928 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30929
5f3b183d
PP
309302017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30931
30932 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30933 (tst-cxa_atexit, tst-on_exit): Likewise.
30934 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30935 tst-cxa_atexit, and tst-on_exit.
30936 * stdlib/tst-atexit-common.c: New file.
30937 * stdlib/tst-atexit.c: New file.
30938 * stdlib/tst-at_quick_exit.c: New file.
30939 * stdlib/tst-cxa_atexit.c: New file.
30940 * stdlib/tst-on_exit.c: New file.
30941
2ef8d469
ST
309422017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30943
30944 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
30945 * mach/stack_chk_fail_local.c: New file.
30946 * hurd/stack_chk_fail_local.c: New file.
30947 * mach/Machrules ($(interface-library)-routines): Add
30948 stack_chk_fail_local.
99ee4d26
ST
30949 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30950 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30951 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30952 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30953 * hurd/Makefile (CFLAGS-hurdstartup.o,
30954 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 30955
7ab70c98
L
309562017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30957
30958 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30959 (index_cpu_*, index_arch_*): Removed.
30960
39e7a5a6
SN
309612017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30962
30963 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30964 Use uint64_t instead of unsigned long.
30965
bba5c930
JM
309662017-08-25 Joseph Myers <joseph@codesourcery.com>
30967
a6ccdb08
JM
30968 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30969 [__HAVE_DISTINCT_FLOAT128].
30970
23761119
JM
30971 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30972 of <bits/math-finite.h>.
30973 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30974 inclusion of <bits/math-finite.h>.
30975 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30976 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30977 __NO_LONG_DOUBLE_MATH].
30978 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30979 (__MATH_REDIRCALL_2): Likewise.
30980 (__MATH_REDIRCALL_INTERNAL): Likewise.
30981 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30982 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30983 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30984
bba5c930
JM
30985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30986 Remove file.
30987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30988 Likewise.
30989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30990 Likewise.
30991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30992 Likewise.
30993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30994 Likewise.
30995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30996 Likewise.
30997 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30998 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30999 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31000 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31002 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31003 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31004 w_sqrtf_compat-ppc32.
31005
3d7b66f6
GG
310062017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31007
31008 * math/math.h [defined __cplusplus] (issignaling): In the long
31009 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31010 is not defined. Call __issignaling, otherwise.
31011
ebd6f007
AZ
310122017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31013
31014 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31015 syscall definitions and replace __builtin_expect with __glibc_likely.
31016 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31017 syscall.
6b5c8607 31018 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
31019 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31020 definition.
31021 (PSEUDO_END): Likewise.
31022 [IS_IN (libpthread)] (CENABLE): Likewise.
31023 [IS_IN (libpthread)] (CDISABLE): Likewise.
31024 [IS_IN (libc)] (CENABLE): Likewise.
31025 [IS_IN (libc)] (CENABLE): Likewise.
31026 [IS_IN (librt)] (CDISABLE): Likewise.
31027 [IS_IN (librt)] (CDISABLE): Likewise.
31028 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31029 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31030 definition.
31031 (PSEUDO_END): Likewise.
31032 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31033 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31034 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31035 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31036 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31037 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31038 (CENABLE): Likewise.
31039 (CDISABLE): Likewise.
31040 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31041 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31042 defintion.
31043 (PSEUDO_END): Likewise.
31044 [IS_IN (libpthread)] (CENABLE): Likewise.
31045 [IS_IN (libpthread)] (CDISABLE): Likewise.
31046 [IS_IN (libc)] (CENABLE): Likewise.
31047 [IS_IN (libc)] (CENABLE): Likewise.
31048 [IS_IN (librt)] (CDISABLE): Likewise.
31049 [IS_IN (librt)] (CDISABLE): Likewise.
31050 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31051 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31052 definition.
31053 (PSEUDO_END): Likewise.
31054 [IS_IN (libpthread)] (CENABLE): Likewise.
31055 [IS_IN (libpthread)] (CDISABLE): Likewise.
31056 [IS_IN (libc)] (CENABLE): Likewise.
31057 [IS_IN (libc)] (CENABLE): Likewise.
31058 [IS_IN (librt)] (CDISABLE): Likewise.
31059 [IS_IN (librt)] (CDISABLE): Likewise.
31060 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31061 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31062 definition.
31063 (PSEUDO_END): Likewise.
31064 [IS_IN (libpthread)] (CENABLE): Likewise.
31065 [IS_IN (libpthread)] (CDISABLE): Likewise.
31066 [IS_IN (libc)] (CENABLE): Likewise.
31067 [IS_IN (libc)] (CENABLE): Likewise.
31068 [IS_IN (librt)] (CDISABLE): Likewise.
31069 [IS_IN (librt)] (CDISABLE): Likewise.
31070 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31071 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31072 definition.
31073 (PSEUDO_END): Likewise.
31074 [IS_IN (libpthread)] (CENABLE): Likewise.
31075 [IS_IN (libpthread)] (CDISABLE): Likewise.
31076 [IS_IN (libc)] (CENABLE): Likewise.
31077 [IS_IN (libc)] (CENABLE): Likewise.
31078 [IS_IN (librt)] (CDISABLE): Likewise.
31079 [IS_IN (librt)] (CDISABLE): Likewise.
31080 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31081 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31082 definition.
31083 (PSEUDO_END): Likewise.
31084 [IS_IN (libpthread)] (CENABLE): Likewise.
31085 [IS_IN (libpthread)] (CDISABLE): Likewise.
31086 [IS_IN (libc)] (CENABLE): Likewise.
31087 [IS_IN (libc)] (CENABLE): Likewise.
31088 [IS_IN (librt)] (CDISABLE): Likewise.
31089 [IS_IN (librt)] (CDISABLE): Likewise.
31090 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31091 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31092 definition.
31093 (PSEUDO_END): Likewise.
31094 [IS_IN (libpthread)] (CENABLE): Likewise.
31095 [IS_IN (libpthread)] (CDISABLE): Likewise.
31096 [IS_IN (libc)] (CENABLE): Likewise.
31097 [IS_IN (libc)] (CENABLE): Likewise.
31098 [IS_IN (librt)] (CDISABLE): Likewise.
31099 [IS_IN (librt)] (CDISABLE): Likewise.
31100 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31101 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31102 Remove definition.
31103 (PSEUDO_END): Likewise.
31104 [IS_IN (libpthread)] (CENABLE): Likewise.
31105 [IS_IN (libpthread)] (CDISABLE): Likewise.
31106 [IS_IN (libc)] (CENABLE): Likewise.
31107 [IS_IN (libc)] (CENABLE): Likewise.
31108 [IS_IN (librt)] (CDISABLE): Likewise.
31109 [IS_IN (librt)] (CDISABLE): Likewise.
31110 (SINGLE_THREAD_P): Likewise.
31111 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31112 definition.
31113 (PSEUDO_END): Likewise.
31114 [IS_IN (libpthread)] (CENABLE): Likewise.
31115 [IS_IN (libpthread)] (CDISABLE): Likewise.
31116 [IS_IN (libc)] (CENABLE): Likewise.
31117 [IS_IN (libc)] (CENABLE): Likewise.
31118 [IS_IN (librt)] (CDISABLE): Likewise.
31119 [IS_IN (librt)] (CDISABLE): Likewise.
31120 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31121 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31122 definition.
31123 (PSEUDO_END): Likewise.
31124 [IS_IN (libpthread)] (CENABLE): Likewise.
31125 [IS_IN (libpthread)] (CDISABLE): Likewise.
31126 [IS_IN (libc)] (CENABLE): Likewise.
31127 [IS_IN (libc)] (CENABLE): Likewise.
31128 [IS_IN (librt)] (CDISABLE): Likewise.
31129 [IS_IN (librt)] (CDISABLE): Likewise.
31130 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31131 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31132 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31133 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31134 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31135 definition.
31136 (PSEUDO_END): Likewise.
31137 [IS_IN (libpthread)] (CENABLE): Likewise.
31138 [IS_IN (libpthread)] (CDISABLE): Likewise.
31139 [IS_IN (libc)] (CENABLE): Likewise.
31140 [IS_IN (libc)] (CENABLE): Likewise.
31141 [IS_IN (librt)] (CDISABLE): Likewise.
31142 [IS_IN (librt)] (CDISABLE): Likewise.
31143 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31145 definition.
31146 (PSEUDO_END): Likewise.
31147 [IS_IN (libpthread)] (CENABLE): Likewise.
31148 [IS_IN (libpthread)] (CDISABLE): Likewise.
31149 [IS_IN (libc)] (CENABLE): Likewise.
31150 [IS_IN (libc)] (CENABLE): Likewise.
31151 [IS_IN (librt)] (CDISABLE): Likewise.
31152 [IS_IN (librt)] (CDISABLE): Likewise.
31153 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31154 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31155 definition.
31156 (PSEUDO_END): Likewise.
31157 [IS_IN (libpthread)] (CENABLE): Likewise.
31158 [IS_IN (libpthread)] (CDISABLE): Likewise.
31159 [IS_IN (libc)] (CENABLE): Likewise.
31160 [IS_IN (libc)] (CENABLE): Likewise.
31161 [IS_IN (librt)] (CDISABLE): Likewise.
31162 [IS_IN (librt)] (CDISABLE): Likewise.
31163 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31166 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31167 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31168 definition.
31169 (PSEUDO_END): Likewise.
31170 [IS_IN (libpthread)] (CENABLE): Likewise.
31171 [IS_IN (libpthread)] (CDISABLE): Likewise.
31172 [IS_IN (libc)] (CENABLE): Likewise.
31173 [IS_IN (libc)] (CENABLE): Likewise.
31174 [IS_IN (librt)] (CDISABLE): Likewise.
31175 [IS_IN (librt)] (CDISABLE): Likewise.
31176 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31177 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31178 definition.
31179 (PSEUDO_END): Likewise.
31180 [IS_IN (libpthread)] (CENABLE): Likewise.
31181 [IS_IN (libpthread)] (CDISABLE): Likewise.
31182 [IS_IN (libc)] (CENABLE): Likewise.
31183 [IS_IN (libc)] (CENABLE): Likewise.
31184 [IS_IN (librt)] (CDISABLE): Likewise.
31185 [IS_IN (librt)] (CDISABLE): Likewise.
31186 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31187
8aa48656
SN
311882017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31189
31190 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31191
fcaaca41
L
311922017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31193
31194 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31195
376b40a2
L
311962017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31197
31198 [BZ #21982]
31199 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31200 middle and outer with size_t instead of int. Repleace %d and
31201 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31202 "MAX (outer, nchars - 64)" to support unsigned outer and
31203 nchars. Also exit loop when outer == 0.
31204
2b0b9a1c
AZ
312052017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31206
31207 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31208 * include/signal.h (__sigsuspend_nocancel): Likewise.
31209 * include/time.h (__nanosleep_nocancel): Likewise.
31210 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31211 * login/utmp_file.c: Include non cancellable syscall header.
31212 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31213 prototype.
31214
b9eaca8f
L
312152017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31216
31217 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31218 .byte sequences with AVX512F instructions.
31219 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31220 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31221 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31223 Likewise.
31224 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31225 Likewise.
31226
5a706f64
SE
312272017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31228 Steve Ellcey <sellcey@cavium.com>
31229
31230 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31231 Use PTR_REG macro in cmp instruction.
31232
b513da7e
GG
312332017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31234
31235 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31236 Change the return type of the ifunc resolver to match the return
31237 type of the target function.
31238
78ca091c
AZ
312392017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31240
b70b6026
AZ
31241 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31242 (preadv64): Likewise.
31243 (pwrite64(: Likewise.
31244 (pwritev64): Likewise.
31245
78ca091c
AZ
31246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31247 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31248 (LOAD_ARGS_0): Likewise.
31249 (LOAD_ARGS_1): Likewise.
31250 (LOAD_ARGS_2): Likewise.
31251 (LOAD_ARGS_3): Likewise.
31252 (LOAD_ARGS_4): Likewise.
31253 (LOAD_ARGS_5): Likewise.
31254 (LOAD_ARGS_6): Likewise.
31255 (LOAD_REGS_0): Likewise.
31256 (LOAD_REGS_1): Likewise.
31257 (LOAD_REGS_2): Likewise.
31258 (LOAD_REGS_3): Likewise.
31259 (LOAD_REGS_4): Likewise.
31260 (LOAD_REGS_5): Likewise.
31261 (LOAD_REGS_6): Likewise.
31262 (ASM_ARGS_0): Likewise.
31263 (ASM_ARGS_1): Likewise.
31264 (ASM_ARGS_2): Likewise.
31265 (ASM_ARGS_3): Likewise.
31266 (ASM_ARGS_4): Likewise.
31267 (ASM_ARGS_5): Likewise.
31268 (ASM_ARGS_6): Likewise.
31269 (LOAD_ARGS_TYPES_1): Likewise.
31270 (LOAD_ARGS_TYPES_2): Likewise.
31271 (LOAD_ARGS_TYPES_3): Likewise.
31272 (LOAD_ARGS_TYPES_4): Likewise.
31273 (LOAD_ARGS_TYPES_5): Likewise.
31274 (LOAD_ARGS_TYPES_6): Likewise.
31275 (LOAD_REGS_TYPES_1): Likewise.
31276 (LOAD_REGS_TYPES_2): Likewise.
31277 (LOAD_REGS_TYPES_3): Likewise.
31278 (LOAD_REGS_TYPES_4): Likewise.
31279 (LOAD_REGS_TYPES_5): Likewise.
31280 (LOAD_REGS_TYPES_6): Likewise.
31281 (TYPEFY): New define.
31282 (ARGIFY): Likewise.
31283 (internal_syscall0): Likewise.
31284 (internal_syscall1): Likewise.
31285 (internal_syscall2): Likewise.
31286 (internal_syscall3): Likewise.
31287 (internal_syscall4): Likewise.
31288 (internal_syscall5): Likewise.
31289 (internal_syscall6): Likewise.
31290 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31291 (INTERNAL_SYSCALL_NCS): Remove define.
31292 (internal_syscall1): Add define.
31293
453a493d
GG
312942017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31295
31296 * math/w_remainder_compat.c: Remove duplicate inclusion of
31297 math-svid-compat.h.
31298 * math/w_remainderf_compat.c: Likewise.
31299 * math/w_remainderl_compat.c: Likewise.
31300
f2f048a5
GG
313012017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31302
31303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31304
d9bef9c0
JM
313052017-08-22 Joseph Myers <joseph@codesourcery.com>
31306
31307 [BZ #21684]
31308 * math/tgmath.h (__floating_type): Simplify definitions.
31309 (__real_integer_type): New macro.
31310 (__complex_integer_type): Likewise.
31311 (__expr_is_real): Likewise.
31312 (__tgmath_real_type_sub): Update comment to describe handling of
31313 complex types.
31314 (__tgmath_complex_type_sub): New macro.
31315 (__tgmath_complex_type): Likewise.
31316 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31317 (__TGMATH_CF128): Use __expr_is_real.
31318 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31319 __expr_is_real.
31320 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31321 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31322 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31323 integer types.
31324
08d6eb46
AZ
313252017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31326
988f991b
AZ
31327 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31328 macro.
31329 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31330 alias.
31331 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31332 Likewise.
31333
6f33fd04
AZ
31334 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31335 nanosleep_not_cancel with __nanosleep_nocancel.
31336 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31337 (__nanosleep_nocancel): New macro.
31338 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31339 function.
31340 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31341 macro.
31342 (__nanosleep_nocancel): New prototype.
31343
08d6eb46
AZ
31344 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31345 pause_not_cancel with __pause_nocancel.
31346 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31347 (__pause_nocancel): New macro.
31348 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31349 macro.
31350 (__pause_nocancel): New prototype.
31351 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31352
ee4e992e
MS
313532017-08-22 Martin Sebor <msebor@redhat.com>
31354
31355 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31356 to return a pointer to the same type as the target function.
31357
20962acb
L
313582017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31359
31360 [BZ #18822]
31361 [BZ #21986]
31362 * include/printf.h (__printf_fphex): Add attribute_hidden.
31363 (__guess_grouping): New prototype.
31364 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31365 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31366 libc_hidden_proto and libc_hidden_def.
31367 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31368 (__vstrfmon_l): Remove the third argument passed to
31369 __guess_grouping.
31370
a16e8bc0
GG
313712017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31372
31373 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31374 definition for issignaling that does not rely on __MATH_TG,
31375 since __MATH_TG uses __builtin_types_compatible_p, which is only
31376 available in C mode.
31377 (CFLAGS-test-math-issignaling.cc): New variable.
31378 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31379 * math/test-math-issignaling.cc: New test for C++ implementation
31380 of type-generic issignaling.
31381 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31382 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31383 options of test-math-issignaling on powerpc64le.
31384
8d2ec553
L
313852017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31386
31387 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31388 building libc.a.
31389 (hidden_proto): Likewise.
31390 (hidden_tls_proto): Likewise.
31391 (__hidden_proto): Likewise.
31392
a4d57b79
FW
313932017-08-22 Florian Weimer <fweimer@redhat.com>
31394
31395 math: Statically link tests of internal functionality.
31396 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31397 atest-exp2.
31398 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31399 (gmp-objs): Remove assignment.
31400 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31401
75dfe623
JM
314022017-08-22 Joseph Myers <joseph@codesourcery.com>
31403
80f91666
JM
31404 [BZ #21987]
31405 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31406 and copy to ...
31407 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31408 ... here.
31409 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31410 ... and here.
31411
75dfe623
JM
31412 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31413 variable definitions above inclusion of ../Rules.
31414
ea99fcd0
JM
314152017-08-21 Joseph Myers <joseph@codesourcery.com>
31416
31417 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31418 case calling __builtin_unreachable.
31419
19926de9
AZ
314202017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31421
a8410a5f
AZ
31422 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31423 __waitpid_nocancel.
31424 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31425 (__waitpid_nocancel): New macro.
31426 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31427 macro.
31428 (__waitpid_nocancel): Replace macro with a function.
31429 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31430 function.
31431
7369800c
AZ
31432 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31433 __fcntl_nocancel.
31434 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31435 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31436
19926de9
AZ
31437 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31438 __writev_nocancel_nostatus.
31439 (write_call_graph): Likewise.
31440 (write_bb_counts): Likewise.
31441 * resolv/herror.c (herror): Likewise.
31442 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31443 macro.
31444 (__writev_nocancel_nostatus): New macro.
31445 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31446 Remove macro.
31447 (__writev_nocancel_nostatus): New function.
31448
813378e9
JM
314492017-08-21 Joseph Myers <joseph@codesourcery.com>
31450
df1deda6
JM
31451 Revert:
31452 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31453
31454 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31455 building libc.a.
31456 (hidden_proto): Likewise.
31457 (hidden_tls_proto): Likewise.
31458 (__hidden_proto): Likewise.
31459
831bbd55
JM
31460 [BZ #21973]
31461 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31462 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31464 Likewise.
31465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31466 Likewise.
31467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31468 Likewise.
31469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31470 Likewise.
31471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31473 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31474 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31475 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31476 GLIBC_2.0 sqrtl symbol.
31477
813378e9
JM
31478 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31479 [__USE_MISC] (_LIB_VERSION): Likewise.
31480 [__USE_MISC] (struct exception): Likewise.
31481 [__USE_MISC] (matherr): Likewise.
31482 [__USE_MISC] (DOMAIN): Likewise.
31483 [__USE_MISC] (SING): Likewise.
31484 [__USE_MISC] (OVERFLOW): Likewise.
31485 [__USE_MISC] (UNDERFLOW): Likewise.
31486 [__USE_MISC] (TLOSS): Likewise.
31487 [__USE_MISC] (PLOSS): Likewise.
31488 [__USE_MISC] (HUGE): Likewise.
31489 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31490 * math/math-svid-compat.h: New file.
31491 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31492 and matherrl.
31493 * include/math.h [!_ISOMAC] (__matherr): Remove.
31494 * manual/arith.texi (FP Exceptions): Do not document matherr.
31495 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31496 (tests-internal): New variable.
31497 (install-lib): Do not add libieee.a.
31498 (non-lib.a): Likewise.
31499 (extra-objs): Do not add libieee.a and ieee-math.o.
31500 (CPPFLAGS-s_lib_version.c): Remove variable.
31501 ($(objpfx)libieee.a): Remove rule.
31502 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31503 * math/ieee-math.c: Remove.
31504 * math/libm-test-support.c (matherr): Remove.
31505 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31506 and license notices. Include <math-svid-compat.h> and
31507 <shlib-compat.h>.
31508 (matherr): Undefine as macro. Use compat_symbol_reference.
31509 (_LIB_VERSION): Likewise.
31510 * math/test-matherr-2.c: New file.
31511 * math/test-matherr-3.c: Likewise.
31512 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31513 declaration.
31514 (__kernel_standard_f): Likewise.
31515 (__kernel_standard_l): Likewise.
31516 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31517 <math_private.h>. Include <math-svid-compat.h>.
31518 (_LIB_VERSION): Undefine as macro.
31519 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31520 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31521 [LIBM_SVID_COMPAT], use compat_symbol.
31522 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31523 <math_private.h>. Include <math-svid-compat.h>.
31524 (matherr): Undefine as macro.
31525 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31526 compat_symbol.
31527 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31528 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31529 compat_symbol_reference.
31530 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31531 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31532 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31533 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31534 (MATHERR_D): Remove declaration.
31535 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31536 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31537 [LIBM_BUILD] (pmatherrf): Likewise.
31538 [LIBM_BUILD] (pmatherr): Likewise.
31539 [LIBM_BUILD] (pmatherrl): Likewise.
31540 (DOMAIN): Likewise.
31541 (SING): Likewise.
31542 (OVERFLOW): Likewise.
31543 (UNDERFLOW): Likewise.
31544 (TLOSS): Likewise.
31545 (PLOSS): Likewise.
31546 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31547 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31548 compat_symbol.
31549 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31550 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31551 compat_symbol.
31552 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31553 * math/w_acos_compat.c: Likewise.
31554 * math/w_acosf_compat.c: Likewise.
31555 * math/w_acosh_compat.c: Likewise.
31556 * math/w_acoshf_compat.c: Likewise.
31557 * math/w_acoshl_compat.c: Likewise.
31558 * math/w_acosl_compat.c: Likewise.
31559 * math/w_asin_compat.c: Likewise.
31560 * math/w_asinf_compat.c: Likewise.
31561 * math/w_asinl_compat.c: Likewise.
31562 * math/w_atan2_compat.c: Likewise.
31563 * math/w_atan2f_compat.c: Likewise.
31564 * math/w_atan2l_compat.c: Likewise.
31565 * math/w_atanh_compat.c: Likewise.
31566 * math/w_atanhf_compat.c: Likewise.
31567 * math/w_atanhl_compat.c: Likewise.
31568 * math/w_cosh_compat.c: Likewise.
31569 * math/w_coshf_compat.c: Likewise.
31570 * math/w_coshl_compat.c: Likewise.
31571 * math/w_exp10_compat.c: Likewise.
31572 * math/w_exp10f_compat.c: Likewise.
31573 * math/w_exp10l_compat.c: Likewise.
31574 * math/w_exp2_compat.c: Likewise.
31575 * math/w_exp2f_compat.c: Likewise.
31576 * math/w_exp2l_compat.c: Likewise.
31577 * math/w_fmod_compat.c: Likewise.
31578 * math/w_fmodf_compat.c: Likewise.
31579 * math/w_fmodl_compat.c: Likewise.
31580 * math/w_hypot_compat.c: Likewise.
31581 * math/w_hypotf_compat.c: Likewise.
31582 * math/w_hypotl_compat.c: Likewise.
31583 * math/w_j0_compat.c: Likewise.
31584 * math/w_j0f_compat.c: Likewise.
31585 * math/w_j0l_compat.c: Likewise.
31586 * math/w_j1_compat.c: Likewise.
31587 * math/w_j1f_compat.c: Likewise.
31588 * math/w_j1l_compat.c: Likewise.
31589 * math/w_jn_compat.c: Likewise.
31590 * math/w_jnf_compat.c: Likewise.
31591 * math/w_jnl_compat.c: Likewise.
31592 * math/w_lgamma_main.c: Likewise.
31593 * math/w_lgamma_r_compat.c: Likewise.
31594 * math/w_lgammaf_main.c: Likewise.
31595 * math/w_lgammaf_r_compat.c: Likewise.
31596 * math/w_lgammal_main.c: Likewise.
31597 * math/w_lgammal_r_compat.c: Likewise.
31598 * math/w_log10_compat.c: Likewise.
31599 * math/w_log10f_compat.c: Likewise.
31600 * math/w_log10l_compat.c: Likewise.
31601 * math/w_log2_compat.c: Likewise.
31602 * math/w_log2f_compat.c: Likewise.
31603 * math/w_log2l_compat.c: Likewise.
31604 * math/w_log_compat.c: Likewise.
31605 * math/w_logf_compat.c: Likewise.
31606 * math/w_logl_compat.c: Likewise.
31607 * math/w_pow_compat.c: Likewise.
31608 * math/w_powf_compat.c: Likewise.
31609 * math/w_powl_compat.c: Likewise.
31610 * math/w_remainder_compat.c: Likewise.
31611 * math/w_remainderf_compat.c: Likewise.
31612 * math/w_remainderl_compat.c: Likewise.
31613 * math/w_scalb_compat.c: Likewise.
31614 * math/w_scalbf_compat.c: Likewise.
31615 * math/w_scalbl_compat.c: Likewise.
31616 * math/w_sinh_compat.c: Likewise.
31617 * math/w_sinhf_compat.c: Likewise.
31618 * math/w_sinhl_compat.c: Likewise.
31619 * math/w_sqrt_compat.c: Likewise.
31620 * math/w_sqrtf_compat.c: Likewise.
31621 * math/w_sqrtl_compat.c: Likewise.
31622 * math/w_tgamma_compat.c: Likewise.
31623 * math/w_tgammaf_compat.c: Likewise.
31624 * math/w_tgammal_compat.c: Likewise.
31625 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31626 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31627 * sysdeps/ieee754/k_standard.c: Likewise.
31628 * sysdeps/ieee754/k_standardf.c: Likewise.
31629 * sysdeps/ieee754/k_standardl.c: Likewise.
31630 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31631 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31632 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31634 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31635 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31636 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31637 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31638 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31640 Likewise.
31641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31642 Likewise.
31643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31644 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31645 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31646 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31647
4504783c
FW
316482017-08-21 Florian Weimer <fweimer@redhat.com>
31649
31650 [BZ #21864]
31651 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31652 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31653 Move before inclusion of ../Rules.
31654
b5889d25
FW
316552017-08-21 Florian Weimer <fweimer@redhat.com>
31656
31657 [BZ #21972]
31658 * assert/assert.h (assert): Use static_cast (bool) for C++.
31659 Use the ternary operator in the warning branch for GNU C.
31660 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31661 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31662 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31663 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31664 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31665
41e673c1
L
316662017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31667
31668 [BZ #18822]
31669 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31670 (__syscall_clock_gettime): Add attribute_hidden.
31671 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31672 (__start_context): Likewise.
31673
568ff429
L
316742017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31675
31676 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31677 building libc.a.
31678 (hidden_proto): Likewise.
31679 (hidden_tls_proto): Likewise.
31680 (__hidden_proto): Likewise.
31681
7c41b4a1
L
316822017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31683
31684 * include/libc-symbols.h (attribute_hidden): Enable hidden
31685 visibility in libc.a compiled with PIE.
31686
483d7068
L
316872017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31688
31689 [BZ #18822]
31690 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31691 Add attribute_hidden.
31692
316932017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31694
31695 [BZ #21864]
31696 * Makerules (all-nonlib): Add $(others-extras).
31697 * catgets/Makefile (others-extras): New.
31698 * elf/Makefile (others-extras): Likewise.
31699 * nss/Makefile (others-extras): Likewise.
31700
54e4b8f2
L
317012017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31702
31703 [BZ #18822]
31704 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31705 * elf/dl-open.c: Include <libc-internal.h>.
31706 (__libc_multiple_libcs): Removed.
31707 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31708 <hp-timing.h>.
31709 * include/libc-internal.h (__libc_multiple_libcs): New.
31710 * misc/sbrk.c: Include <libc-internal.h>.
31711 (__libc_multiple_libcs): Removed.
31712
1dbbb1ec
L
317132017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31714
31715 [BZ #18822]
31716 * grp/initgroups.c (__nss_group_database): Removed.
31717 (__nss_initgroups_database): Likewise.
31718 * nscd/gai.c (__nss_hosts_database): Likewise.
31719 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31720 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31721 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31722 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31723 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31724 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31725 attribute_hidden.
31726 * nss/nsswitch.c (__nss_database_custom): Define only if
31727 USE_NSCD is defined.
31728 (__nss_configure_lookup): Use __nss_database_custom only if
31729 USE_NSCD is defined.
31730 * nss/nsswitch.h (__nss_database_custom): Declare only if
31731 USE_NSCD is defined. Add attribute_hidden.
31732 (__nss_setent): Add attribute_hidden.
31733 (__nss_endent): Likewise.
31734 (__nss_getent_r): Likewise.
31735 (__nss_getent): Likewise.
31736 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31737
2585d7b8
L
317382017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31739
31740 [BZ #18822]
31741 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31742 libc_hidden_proto and libc_hidden_def.
31743
c8dfa99c
L
317442017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31745
31746 [BZ #18822]
31747 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31748 Add libc_hidden_proto.
31749 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31750 Add libc_hidden_def.
31751
7ed87317
L
317522017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31753
31754 [BZ #21974]
31755 * gmon/Makefile (routines): Remove bb_init_func and
31756 bb_exit_func.
31757 (elide-routines.os): Removed.
9476b904
L
31758 * gmon/bb_exit_func.c: Likewise.
31759 * gmon/bb_init_func.c: Likewise.
7ed87317
L
31760 * include/sys/gmon.h (__bb): Likewise.
31761 (__bb_init_func): Likewise.
31762 (__bb_exit_func): Likewise.
91695eb1 31763 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 31764
94e6ba15
L
317652017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31766
31767 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31768 * include/setjmp.h (____longjmp_chk): Here. Add
31769 attribute_hidden.
31770
7550717e
L
317712017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31772
31773 [BZ #18822]
31774 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31775 attribute_hidden.
31776 (__strspn_sse2): Likewise.
31777
0bb2fabc
AZ
317782017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31779
c181840c
AZ
31780 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31781 (close_not_cancel_no_status): Likewise.
31782 (__close_nocancel): New macro.
31783 (__close_nocancel_nostatus): Likewise.
31784 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31785 macro.
31786 (close_not_cancel): Likewise.
31787 (close_not_cancel_no_status): Likewise.
31788 (__close_nocancel): New prototype.
31789 (__close_nocancel_nostatus): New function.
31790 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31791 * catgets/open_catalog.c (__open_catalog): Replace
31792 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31793 * gmon/gmon.c (write_gmon): Likewise.
31794 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31795 * intl/loadmsgcat.c (close): Likewise.
31796 * io/ftw.c (open_dir_stream): Likewise.
31797 (ftw_startup): Likewise.
31798 * libio/fileops.c (_IO_file_open): Likewise.
31799 (_IO_file_close_mmap): Likewise.
31800 (_IO_file_close): Likewise.
31801 * libio/iopopen.c (_IO_dup2): Likewise.
31802 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31803 * locale/loadlocale.c (_nl_load_locale): Likewise.
31804 * login/utmp_file.c (pututline_file): Likewise.
31805 (endutent_file): Likewise.
31806 * misc/daemon.c (daemon): Likewise.
31807 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31808 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31809 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31810 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31811 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31812 * nscd/nscd_helper.c (open_socket): Likewise.
31813 (__nscd_open_socket): Likewise.
31814 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31815 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31816 (__nscd_innetgr): Likewise.
31817 * nss/nss_db/db-open.c (internal_setent): Likewise.
31818 * resolv/res-close.c (__res_iclose): Likewise.
31819 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31820 * sysdeps/posix/closedir.c (__closedir): Likewise.
31821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31822 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31823 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31824 (opendir_tail): Likewise.
31825 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31826 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31827 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31828 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31829 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31830 (gethostid): Likewise.
31831 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31832 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31833 Likewise.
31834 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31835 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31836 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31837 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31838 Likewise.
31839 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31840 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31841 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31842 Likewise.
31843 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31844 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31845 Likewise.
31846 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31847 Likewise.
31848 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31849 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31850 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31851 __close_nocancel.
31852
0bb2fabc
AZ
31853 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31854 (openat_not_cancel_3): Likewise.
31855 (openat64_not_cancel_3): Likewise).
31856 (openat_not_cancel_3): Likewise).
31857 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31858 macro.
31859 (openat_not_cancel_3): Likewise.
31860 (openat64_not_cancel): Likewise.
31861 (openat64_not_cancel_3): Likewise.
31862 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31863 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31864 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31865 __open{64}_nocancel.
31866 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31867 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31868 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31869
65a086db
L
318702017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31871
31872 [BZ #18822]
31873 * include/argz.h (__argz_create_sep): New function prototype.
31874 (__argz_append): Likewise.
31875 (__argz_add): Likewise.
31876 (__argz_add_sep): Likewise.
31877 (__argz_delete): Likewise.
31878 (__argz_insert): Likewise.
31879 (__argz_replace): Likewise.
31880 * string/argz.h (__argz_create_sep): Removed.
31881 (__argz_append): Likewise.
31882 (__argz_add): Likewise.
31883 (__argz_add_sep): Likewise.
31884 (__argz_delete): Likewise.
31885 (__argz_insert): Likewise.
31886 (__argz_replace): Likewise.
31887
62753d2c
L
318882017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31889
31890 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31891 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31892 (GNU_PROPERTY_STACK_SIZE): Likewie.
31893 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31894 (GNU_PROPERTY_LOPROC): Likewise.
31895 (GNU_PROPERTY_HIPROC): Likewise.
31896 (GNU_PROPERTY_LOUSER): Likewise.
31897 (GNU_PROPERTY_HIUSER): Likewise.
31898 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31899 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31900 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31901 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31902 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31903 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31904 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31905 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31906 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31907 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31908 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31909 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31910 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31911 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31912 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31913 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31914 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31915 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31916 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31917 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31918 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31919 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31920 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31921
6913ad65
GG
319222017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31923
31924 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31925 in C++ mode.
31926
47a67213
GG
319272017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31928
31929 [BZ #21930]
31930 * math/math.h (isinf): Check if in C or C++ mode before using
31931 __builtin_types_compatible_p, since this is a C mode feature.
31932
a748eb31
AZ
319332017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31934
c647fb88
AZ
31935 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31936 (__write_nocancel): New macro.
31937 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31938 Rewrite as a function prototype.
31939 (write_not_cancel): Remove macro.
31940 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31941 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31942 (write_gmon): Likewise.
31943 * libio/fileops.c (_IO_new_file_write): Likewise.
31944 * login/utmp_file.c (pututline_file): Likewise.
31945 (updwtmp_file): Likewise.
31946 * stdio-common/psiginfo.c (psiginfo): Likewise.
31947 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31948 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31949 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31950 Likewise.
31951 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31952 Likewise.
31953
a748eb31
AZ
31954 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31955 (__read_nocancel): New macro.
31956 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31957 __read_nocancel.
31958 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31959 macro.
31960 (__read_nocancel): New prototype.
31961 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31962 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31963 with __read_nocancel.
31964 * intl/loadmsgcat.c (read): Likewise.
31965 * libio/fileops.c (_IO_file_read): Likewise.
31966 * locale/loadlocale.c (_nl_load_locale): Likewise.
31967 * login/utmp_file.c (getutent_r_file): Likewise.
31968 (internal_getut_r): Likewise.
31969 (getutline_r_file): Likewise.
31970 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31971 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31972 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31974 Likewise.
31975 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31976 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31977 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31978 Likewise.
31979 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31980 Likewise.
31981 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31982 Likewise.
31983 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31984 Likewise.
31985 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31986
098b9dd4
L
319872017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31988
31989 [BZ #21966]
31990 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31991 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31992 usable.
31993
a3fe6a20
DD
319942017-08-17 DJ Delorie <dj@redhat.com>
31995
31996 * bug17079.c: Update to new test harness.
31997 * test-digits-dots.c: Likewise.
31998 * test-netdb.c: Likewise.
31999 * tst-field.c: Likewise.
32000 * tst-nss-getpwent.c: Likewise.
32001 * tst-nss-static.c: Likewise.
32002 * tst-nss-test1.c: Likewise.
32003 * tst-nss-test2.c: Likewise.
32004 * tst-nss-test3.c: Likewise.
32005 * tst-nss-test4.c: Likewise.
32006 * tst-nss-test5.c: Likewise.
32007
c2284574
AZ
320082017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32009
32010 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32011 (open_not_cancel_2): Likewise.
32012 (open_nocancel): New macro.
32013 (open64_nocancel): Likewise.
32014 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32015 (open_not_cancel_2): Likewise.
32016 (__open_nocancel): New prototype.
32017 (__open64_nocancel): Likewise.
32018 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32019 __open_nocancel.
32020 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32021 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32022 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32023 with __open_nocancel.
32024 * csu/check_fds.c (check_one_fd): Likewise.
32025 * gmon/gmon.c (write_gmon): Likewise.
32026 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32027 * intl/loadmsgcat.c (open): Likewise.
32028 * libio/fileops.c (_IO_file_open): Likewise.
32029 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32030 * locale/loadlocale.c (_nl_load_locale): Likewise.
32031 * login/utmp_file.c (setutent_file): Likewise.
32032 * misc/daemon.c (daemon): Likewise.
32033 * nss/nss_db/db-open.c (internal_setent): Likewise.
32034 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32035 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32036 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32037 (__opendir): Likewise.
32038 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32039 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32040 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32041 (gethostid): Likewise.
32042 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32043 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32044 Likewise.
32045 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32046 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32047 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32048 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32049 Likewise.
32050 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32051 Likewise.
32052 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32053 Likewise.
32054 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32055 Likewise.
32056 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32057 Likewise.
32058 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32059 Likewise.
32060 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32061 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32062
d4505b89
WD
320632017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32064
32065 * benchtests/bench-skeleton.c (main): Add support for
32066 latency benchmarking.
32067 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32068
34d6a3cb
L
320692017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32070
32071 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32072 the startup object.
32073
038d1caf
FW
320742017-08-17 Florian Weimer <fweimer@redhat.com>
32075
32076 * include/sys/socket.h (__opensock): Remove internal_function.
32077 * socket/opensock.c (__opensock): Likewise.
32078 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32079
67f0aff0
JM
320802017-08-16 Joseph Myers <joseph@codesourcery.com>
32081
32082 [BZ #21944]
32083 * signal/bits/types/__sigval_t.h: New file.
32084 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32085 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32086 and define sigval_t using __sigval_t.
32087 * include/bits/types/__sigval_t.h: New file.
32088 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32089 instead of <bits/types/__sigval_t.h>.
32090 (struct sigevent): Use __sigval_t instead of sigval_t.
32091 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32092 instead of <bits/types/__sigval_t.h>.
32093 (siginfo_t): Use __sigval_t instead of sigval_t.
32094 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32095 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32096 (struct sigevent): Use __sigval_t instead of sigval_t.
32097 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32098 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32099 (siginfo_t): Use __sigval_t instead of sigval_t.
32100 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32101
87e7bf4d
L
321022017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32103
32104 * NEWS: Remove "[Add new features here]" for 2.27.
32105
5047057f
JM
321062017-08-16 Joseph Myers <joseph@codesourcery.com>
32107
32108 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32109 libc.so.
32110
20c7b195
L
321112017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32112
32113 * NEWS: Mention x86-64 FMA optimization.
32114
24a2e658
L
321152017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32116
32117 [BZ #21912]
32118 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32119 Add e_expf-fma.
32120 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32121 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32122 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32123
eedca977
AS
321242017-08-16 Andreas Schwab <schwab@suse.de>
32125
403143e1
FW
32126 [BZ #16750]
32127 CVE-2009-5064
eedca977
AS
32128 * elf/ldd.bash.in: Never run file directly.
32129
f59f7adb
L
321302017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32131
32132 [BZ #21955]
32133 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32134 (L(SP_INF_0)): Likewise.
32135
6b11a6ad
FW
321362017-08-15 Florian Weimer <fweimer@redhat.com>
32137
32138 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32139 run-built-tests.
32140
bbf5c438
FW
321412017-08-15 Florian Weimer <fweimer@redhat.com>
32142
32143 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32144 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32145 BROKEN_THREAD_SIGNALS code.
32146 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32147 request_list): Remove caller_pid member used for
32148 BROKEN_THREAD_SIGNALS.
32149 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32150 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32151 Remove BROKEN_THREAD_SIGNALS support.
32152 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32153 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32154
6014c65d
FW
321552017-08-15 Florian Weimer <fweimer@redhat.com>
32156
32157 * gmon/Makefile (tests): Add tst-gmon.
32158 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32159 Set.
32160 (tests-special): Add tst-gmon-prof.out.
32161 (tst-gmon.out): Depend on clean-tst-gmon-data.
32162 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32163 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32164 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32165 startup object.
32166 * aclocal.m4 (GPROF): Set and substitute.
32167 * config.amke.in (GPROF): Set.
32168 * configure: Regenerate.
32169
ee72219a
GR
321702017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32171
32172 * elf/elf.h A (NT_PPC_TAR): New macro.
32173 (NT_PPC_PPR): Likewise.
32174 (NT_PPC_DSCR): Likewise.
32175 (NT_PPC_EBB): Likewise.
32176 (NT_PPC_PMU): Likewise.
32177 (NT_PPC_TM_CGPR): Likewise.
32178 (NT_PPC_TM_CFPR): Likewise.
32179 (NT_PPC_TM_CVMX): Likewise.
32180 (NT_PPC_TM_CVSX): Likewise.
32181 (NT_PPC_TM_SPR): Likewise.
32182 (NT_PPC_TM_CTAR): Likewise.
32183 (NT_PPC_TM_CPPR): Likewise.
32184 (NT_PPC_TM_CDSCR): Likewise.
32185
4ebf934e
FW
321862017-08-15 Florian Weimer <fweimer@redhat.com>
32187
32188 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32189 regparm (2) instead of internal_function.
32190 (_MCOUNT_DECL): Adjust.
32191
e9f57484
SL
321922017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32193
32194 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32195 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32196
88ff4d55
JM
321972017-08-14 Joseph Myers <joseph@codesourcery.com>
32198
32199 * conform/data/sys/wait.h-data (si_value): Do not expect for
32200 XPG42.
32201
c88ffc23
FW
322022017-08-14 Florian Weimer <fweimer@redhat.com>
32203
32204 [BZ #21962]
32205 NSS: Create stubs for accidentally exported lookup functions.
32206 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32207 Remove declaration.
32208 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32209 (ether_hostton): Call __nss_ethers_lookup2 instead.
32210 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32211 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32212 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32213 (setup): Call __nss_netgroup_lookup2 instead.
32214 * nss/Makefile (routines): Add compat-lookup.
32215 * nss/Versions (GLIBC_2.27): Add symbol version.
32216 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32217 (DB_COMPAT_FCT): Remove.
32218 * nss/compat-lookup.c: New file.
32219 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32220 from databases.def.
32221 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32222 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32223 (netname2user): Call __nss_publickey_lookup2 instead.
32224 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32225 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32226 instead.
32227
35a29136 322282017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
32229 Sergei Trofimovich <slyfox@inbox.ru>
32230
32231 [BZ #21908]
32232 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32233 Rename to MMAP2_PAGE_UNIT.
32234 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32235 __OFF_T_MATCHES_OFF64_T is not defined.
32236 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32237 uint64_t.
32238 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32239 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32240
fbdc1e3e
FW
322412017-08-14 Florian Weimer <fweimer@redhat.com>
32242
32243 i386: Do not set internal_function.
32244 * config.h.in (USE_REGPARMS, internal_function): Remove.
32245 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32246 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32247
b3f85fd2
FW
322482017-08-14 Florian Weimer <fweimer@redhat.com>
32249
32250 * elf/dl-init.c (_dl_init): Remove internal_function.
32251 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32252 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32253
630bf491
FW
322542017-08-14 Florian Weimer <fweimer@redhat.com>
32255
32256 * elf/rtld.c (_dl_start): Remove internal_function.
32257 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32258 _dl_start.
32259
9fa7449b
FW
322602017-08-14 Florian Weimer <fweimer@redhat.com>
32261
32262 * elf/dl-fini.c (_dl_fini): Remove internal_function
32263 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32264
73322d5f
L
322652017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32266
d863cd71 32267 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
32268 (bit_cpu_SHSTK): Likewise.
32269 (index_cpu_IBT): Likewise.
32270 (index_cpu_SHSTK): Likewise.
32271 (reg_IBT): Likewise.
32272 (reg_SHSTK): Likewise.
32273 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32274 Handle index_cpu_IBT and index_cpu_SHSTK.
32275
dbc303ef
MF
322762017-08-14 Mike FABIAN <mfabian@redhat.com>
32277
32278 [BZ #19982]
32279 * po/fr.po: Fix spelling mistake.
32280
3012cfb0
FW
322812017-08-13 Florian Weimer <fweimer@redhat.com>
32282
32283 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32284 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32285 (_dl_catch_error, _dl_receive_error): Likewise.
32286 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32287 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32288 (_dl_deallocate_tls): Likewise.
32289 * include/dlfcn.h (_dl_addr): Likewise.
32290 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32291 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32292 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32293 Likewise.
32294
52bcdf26
FW
322952017-08-13 Florian Weimer <fweimer@redhat.com>
32296
32297 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32298 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32299 internal_function.
32300 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32301
e1d2ae8d
FW
323022017-08-13 Florian Weimer <fweimer@redhat.com>
32303
32304 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32305 internal_function.
32306 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32307 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32308 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32309 internal_function from _dl_make_stack_executable_hook member.
32310 (_dl_make_stack_executable): Remove internal_function.
32311 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32312 Likewise.
32313 * sysdeps/unix/sysv/linux/dl-execstack.c
32314 (_dl_make_stack_executable): Likewise.
32315
c4ce0382
FW
323162017-08-13 Florian Weimer <fweimer@redhat.com>
32317
32318 * sysdeps/unix/sysv/linux/netlinkaccess.h
32319 (__netlink_assert_response): Remove internal_function.
32320 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32321 (__netlink_assert_response): Likewise.
32322
c4d767f7
FW
323232017-08-13 Florian Weimer <fweimer@redhat.com>
32324
32325 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32326 internal_function.
32327 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32328
b2297409
FW
323292017-08-13 Florian Weimer <fweimer@redhat.com>
32330
32331 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32332 internal_function.
32333 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32334 * inet/netgroup.h (__internal_setnetgrent)
32335 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32336 * inet/getnetgrent_r.c (__internal_setnetgrent)
32337 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32338 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32339 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32340 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32341 * nss/nsswitch.h (db_lookup_function): Likewise.
32342
1b0bfc69
FW
323432017-08-13 Florian Weimer <fweimer@redhat.com>
32344
32345 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32346 Remove internal_function.
32347 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32348 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32349 message argument on the stack.
32350 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32351 Likeweise.
32352
a6bd8722
MF
323532017-08-12 Mike FABIAN <mfabian@redhat.com>
32354
32355 Adapt test case data to the changes in the thousands
32356 separators.
32357
32358 [BZ #20756]
32359 * localedata/tst-langinfo.sh: Adapt test case data.
32360 * stdlib/tst-strfmon_l.c: Likewise.
32361 * stdlib/tst-strtod4.c: Likewise.
32362 * stdlib/tst-strtod5i.c: Likewise.
32363
8b2c63e4
FW
323642017-08-11 Florian Weimer <fweimer@redhat.com>
32365
32366 [BZ #21242]
32367 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32368 Suppress pedantic warning resulting from statement expression.
32369 (__ASSERT_FUNCTION): Add missing __extension__.
32370
61c98291
SP
323712017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32372
86c6519e
SP
32373 * benchtests/bench-memmove-large.c: Print output in JSON
32374 format.
32375 * benchtests/bench-memmove.c: Likewise.
32376
61c98291
SP
32377 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32378 * benchtests/bench-memchr.c (do_one_test): Likewise.
32379 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32380 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32381 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32382 * benchtests/bench-memmove.c (do_one_test): Likewise.
32383 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32384 * benchtests/bench-memset.c (do_one_test): Likewise.
32385 * benchtests/bench-string.h (test_init): Remove memsets.
32386
925733a9
RJ
323872017-08-10 Rical Jasan <ricaljasan@pacific.net>
32388
32389 * manual/lang.texi
32390 (Computing the Width of an Integer Data Type): Rename section to
32391 "Width of an Integer Type". Remove inaccurate statement regarding
32392 lack of C language facilities for determining width of integer
32393 types, and reorder content to improve flow and context of
32394 discussion.
32395
4fcdfbfc
RJ
323962017-08-10 Rical Jasan <ricaljasan@pacific.net>
32397
32398 * lang.texi (va_copy): Change standard from ISO to C99.
32399 (__va_copy): Add standard and header annotation.
32400 Update description for clarity of origins and current use.
32401
4d98ace9
GG
324022017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32403
32404 [BZ #21941]
32405 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32406 xssqrtqp requires operands to be in Vector Registers
32407 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32408 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32409 (__ieee754_sqrtf128): Likewise.
32410
92236903
WD
324112017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32412
32413 * sysdeps/aarch64/memcmp.S (memcmp):
32414 Rewrite of optimized memcmp.
32415
2449ae7b
FW
324162017-08-10 Florian Weimer <fweimer@redhat.com>
32417
32418 Introduce ld.so exceptions.
32419 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32420 (_dl_exception_create, _dl_exception_create_format)
32421 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32422 (_dl_catch_exception): Declare.
32423 (_dl_catch_error): Update comment.
32424 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32425 errstring, malloced members with exception member.
32426 (_dl_out_of_memory): Remove.
32427 (fatal_error): New function, extracted from _dl_signal_error.
32428 (_dl_signal_exception, _dl_signal_cexception): New functions.
32429 (_dl_signal_error): Call _dl_exception_create to allocate an
32430 exception object.
32431 (_dl_catch_exception): New function, based on _dl_catch_error.
32432 (_dl_catch_error): Implement using _dl_catch_exception.
32433 * elf/dl-exception.c: New file.
32434 * elf/Makefile (dl-routines): Add dl-exception.
32435 (elide-routines.os): Likewise.
32436 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32437 _dl_exception_create_format, _dl_exception_free.
32438 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32439 _dl_signal_exception.
32440 * elf/dl-lookup.c (make_string): Remove.
32441 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32442 _dl_signal_cexception, _dl_exception_free.
32443 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32444 _dl_signal_exception.
32445 * elf/dl-sym.c (do_sym): Likewise.
32446 * elf/dl-version.c (make_string): Remove.
32447 (match_symbol): Use _dl_exception_create_format,
32448 _dl_signal_cexception, _dl_exception_free.
32449 (_dl_check_map_versions): Likewise.
32450 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32451 _dl_catch_exception.
32452 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32453 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32454 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32455 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32456 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32457 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32458 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32459 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32460 Likewise.
32461 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32463 (ld.so): Likewise.
32464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32465 (ld.so): Likewise.
32466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32467 Likewise.
32468 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32469 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32470 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32471 Likewise.
32472 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32473 Likewise.
32474 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32475
f87cc2bf
FW
324762017-08-10 Florian Weimer <fweimer@redhat.com>
32477
32478 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32479 attribute_hidden, internal_function.
32480 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32481 internal_function.
32482
eac43cbb
FW
324832017-08-10 Florian Weimer <fweimer@redhat.com>
32484
32485 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32486 function which calls __builtin_unreachable.
32487
bd80111e
MF
324882017-08-10 Mike FABIAN <mfabian@redhat.com>
32489
32490 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32491 Indian monetary formatting
32492 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32493 test cases.
32494
60e2846e
DL
324952017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32496
68dc02d1
DL
32497 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32498 Fix typo in comment.
32499
60e2846e
DL
32500 [BZ #21928]
32501 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32502 PTRACE_SEIZE_DEVEL): Remove.
32503 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32504 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32508
3d452dab
JM
325092017-08-09 Joseph Myers <joseph@codesourcery.com>
32510
24d9f53a
JM
32511 * posix/bits/types.h (__qaddr_t): Remove.
32512
3d452dab
JM
32513 [BZ #21457]
32514 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32515 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32516 __glibc_reserved1.
32517 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32518 (ucontext_t): Use __ctx with uc_flags.
32519 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32520 (__ctxt): Likewise.
32521 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32522 __glibc_reserved1.
32523 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32524 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32525 __glibc_reserved1.
32526 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32527 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32528 __glibc_reserved1.
32529 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32530 macro.
32531 (ucontext_t): Use __ctx with uc_flags.
32532 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32533 (ucontext_t): Use __ctx with uc_flags.
32534 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32535 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32536 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32537 (ucontext_t): Use __ctx with uc_flags.
32538 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32539 undefine further down.
32540 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32541 __glibc_reserved1.
32542 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32543 undefine further down.
32544 (ucontext_t): Use __ctx with uc_flags.
32545 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32546 undefine further down.
32547 (ucontext_t): Use __ctx with uc_flags.
32548 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32549 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32550 Rename uc_pad to __glibc_reserved1.
32551 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32552 undefine further down.
32553 (ucontext_t): Use __ctx with uc_flags.
32554 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32555 further down.
32556 (ucontext_t): Use __ctx with uc_flags.
32557 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32558 __ctx with uc_flags.
32559 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32560 (ucontext_t): Use __ctx with uc_flags.
32561 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32562 __ctx with uc_flags.
32563
30161498
FW
325642017-08-09 Florian Weimer <fweimer@redhat.com>
32565
32566 [BZ #21932]
32567 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32568 before early return.
32569
5797b410
AS
325702017-08-09 Andreas Schwab <schwab@suse.de>
32571
139237a4 32572 [BZ #21041]
5797b410
AS
32573 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32574 renamed alias.
32575
139237a4 32576 [BZ #21041]
40c06a3d
AS
32577 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32578 tst-compat-forwarder.
32579 (modules-names): Add tst-compat-forwarder-mod.
32580 ($(objpfx)tst-compat-forwarder): Depend on
32581 $(objpfx)tst-compat-forwarder-mod.so.
32582 * nptl/tst-compat-forwarder.c: New file.
32583 * nptl/tst-compat-forwarder-mod.c: New file.
32584
36ada5f6
SP
325852017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32586
0e02b510
SP
32587 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32588 comments.
32589
36ada5f6
SP
32590 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32591 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32592 memcpy_falkor.
32593 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32594 Bump.
32595 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32596 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32597 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32598 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32599 Add falkor.
32600 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32601 New macro.
32602
9995c839
AZ
326032017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32604
32605 [BZ #759]
32606 * manual/setjmp.texi (getcontex): Document uc_stack value
32607 compatibility differences.
32608
f17a4233
JM
326092017-08-08 Joseph Myers <joseph@codesourcery.com>
32610
32611 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32612 (old_malloc_hook): Likewise.
32613 (old_memalign_hook): Likewise.
32614 (old_realloc_hook): Likewise.
32615 (struct hdr): Likewise.
32616 (flood): Likewise.
32617 (freehook): Likewise.
32618 (mallochook): Likewise.
32619 (memalignhook): Likewise.
32620 (reallochook): Likewise.
32621 (mprobe): Likewise.
32622 * malloc/mtrace.c (mallwatch): Likewise.
32623 (tr_old_free_hook): Likewise.
32624 (tr_old_malloc_hook): Likewise.
32625 (tr_old_realloc_hook): Likewise.
32626 (tr_old_memalign_hook): Likewise.
32627 (tr_where): Likewise.
32628 (lock_and_info): Likewise.
32629 (tr_freehook): Likewise.
32630 (tr_mallochook): Likewise.
32631 (tr_reallochook): Likewise.
32632 (tr_memalignhook): Likewise.
32633 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32634 * misc/mmap.c (__mmap): Likewise.
32635 * misc/mmap64.c (__mmap64): Likewise.
32636 * misc/mprotect.c (__mprotect): Likewise.
32637 * misc/msync.c (msync): Likewise.
32638 * misc/munmap.c (__munmap): Likewise.
32639 * posix/posix_madvise.c (posix_madvise): Likewise.
32640 * socket/send.c (__send): Likewise.
32641 * socket/sendto.c (__sendto): Likewise.
32642 * socket/setsockopt.c (__setsockopt): Likewise.
32643 * string/memcmp.c (__ptr_t): Remove macro.
32644 (MEMCMP): Use void * instead of ptr_t.
32645 * string/memrchr.c (__ptr_t): Remove macro.
32646 (__memrchr): Use void * instead of ptr_t.
32647 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32648 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32649 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32650 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32651 * sysdeps/mach/msync.c (msync): Likewise.
32652 * sysdeps/mach/munmap.c (__munmap): Likewise.
32653 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32654 Likewise.
32655 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32656 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32657 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32658 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32659 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32660 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32661 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32662 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32663 Likewise.
32664 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32665 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32666 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32667 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32668 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32669 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32670 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32671 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32672 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32673 Likewise.
32674 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32675 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32676 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32677 (MEMCMP): Use void * instead of ptr_t.
32678 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32679 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32680
0df595b2
FW
326812017-08-08 Florian Weimer <fweimer@redhat.com>
32682
32683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32684 return statement.
32685
086df229
L
326862017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32687
32688 [BZ #21913]
32689 * csu/libc-tls.c: Include <startup.h> first.
32690 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32691 * elf/dl-tunables.c: Include <startup.h> first.
32692 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32693 * sysdeps/generic/startup.h: New file.
32694 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32695 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32696 (I386_USE_SYSENTER): New. Defined to 0.
32697
fc5ad702
AS
326982017-08-08 Andreas Schwab <schwab@suse.de>
32699
32700 [BZ #21041]
32701 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32702 * nptl/pt-system.c (system): Likewise.
32703
852d6312
AZ
327042017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32705
32706 [BZ #21780]
32707 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32708 EOPNOTSUPP.
32709 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32710 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32711 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32712 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32713 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32714 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32715 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32716
8b164787
JM
327172017-08-07 Joseph Myers <joseph@codesourcery.com>
32718
cd65836b
JM
32719 [BZ #21899]
32720 * bits/sigaction.h (struct sigaction): Define sa_handler and
32721 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32722 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32723 [__USE_XOPEN_EXTENDED].
32724 (SA_RESTART): Likewise.
32725 (SA_NODEFER): Likewise.
32726 (SA_RESETHAND): Likewise.
32727 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32728 (struct sigaction): Define sa_handler and sa_sigaction using union
32729 also for [__USE_XOPEN_EXTENDED].
32730 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32731 [__USE_XOPEN_EXTENDED].
32732 (SA_RESTART): Likewise.
32733 (SA_NODEFER): Likewise.
32734 (SA_RESETHAND): Likewise.
32735 * sysdeps/unix/sysv/linux/bits/sigaction.h
32736 (struct sigaction): Define sa_handler and sa_sigaction using union
32737 also for [__USE_XOPEN_EXTENDED].
32738 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32739 [__USE_XOPEN_EXTENDED].
32740 (SA_RESTART): Likewise.
32741 (SA_NODEFER): Likewise.
32742 (SA_RESETHAND): Likewise.
32743 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32744 (struct sigaction): Define sa_handler and sa_sigaction using union
32745 also for [__USE_XOPEN_EXTENDED].
32746 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32747 [__USE_XOPEN_EXTENDED].
32748 (SA_RESTART): Likewise.
32749 (SA_NODEFER): Likewise.
32750 (SA_RESETHAND): Likewise.
32751 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32752 (struct sigaction): Define sa_handler and sa_sigaction using union
32753 also for [__USE_XOPEN_EXTENDED].
32754 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32755 [__USE_XOPEN_EXTENDED].
32756 (SA_RESTART): Likewise.
32757 (SA_NODEFER): Likewise.
32758 (SA_RESETHAND): Likewise.
32759 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32760 (struct sigaction): Define sa_handler and sa_sigaction using union
32761 also for [__USE_XOPEN_EXTENDED].
32762 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32763 [__USE_XOPEN_EXTENDED].
32764 (SA_RESTART): Likewise.
32765 (SA_NODEFER): Likewise.
32766 (SA_RESETHAND): Likewise.
32767 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32768 (struct sigaction): Define sa_handler and sa_sigaction using union
32769 also for [__USE_XOPEN_EXTENDED].
32770 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32771 [__USE_XOPEN_EXTENDED].
32772 (SA_RESTART): Likewise.
32773 (SA_NODEFER): Likewise.
32774 (SA_RESETHAND): Likewise.
32775 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32776 (struct sigaction): Define sa_handler and sa_sigaction using union
32777 also for [__USE_XOPEN_EXTENDED].
32778 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32779 [__USE_XOPEN_EXTENDED].
32780 (SA_RESTART): Likewise.
32781 (SA_NODEFER): Likewise. Define directly rather than as alias.
32782 (SA_RESETHAND): Likewise.
32783 (SA_INTERRUPT): Define only for [__USE_MISC].
32784 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32785 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32786 [__USE_MISC].
32787 (SA_STACK): Define only for [__USE_MISC].
32788 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32789 (struct sigaction): Define sa_handler and sa_sigaction using union
32790 also for [__USE_XOPEN_EXTENDED].
32791 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32792 [__USE_XOPEN_EXTENDED].
32793 (SA_RESTART): Likewise.
32794 (SA_NODEFER): Likewise.
32795 (SA_RESETHAND): Likewise.
32796 (SA_NOPTRACE): Define only for [__USE_MISC].
32797
d9fee042
JM
32798 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32799 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32800 (struct catalog_info): Likewise.
32801 * inet/htontest.c (lo): Likewise.
32802 (foo): Likewise.
32803 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32804 * inet/inet_net.c (inet_network): Likewise.
32805 * inet/inet_netof.c (inet_netof): Likewise.
32806 * inet/rcmd.c (__ivaliduser): Likewise.
32807 (iruserok): Likewise.
32808 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32809 * locale/programs/locale-spec.c (locale_special): Likewise.
32810 * nis/nis_findserv.c (struct findserv_req): Likewise.
32811 (__nis_findfastest_with_timeout): Likewise.
32812 * nss/test-netdb.c (test_network): Likewise.
32813 * resolv/inet_neta.c (inet_neta): Likewise.
32814 * resolv/ns_date.c (ns_datetosecs): Likewise.
32815 (SECS_PER_DAY): Likewise.
32816 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32817 Likewise.
32818 * resolv/res_comp.c (__putlong): Likewise.
32819 (__putshort): Likewise.
32820 (_getlong): Likewise.
32821 (_getshort): Likewise.
32822 * resolv/res_debug.c (p_time): Likewise.
32823 (precsize_ntoa): Likewise.
32824 (precsize_aton): Likewise.
32825 (latlon2ul): Likewise.
32826 (loc_aton): Likewise.
32827 (loc_ntoa): Likewise.
32828 * resolv/res_hconf.c (struct netaddr): Likewise.
32829 (_res_hconf_reorder_addrs): Likewise.
32830 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32831 (clnttcp_control): Likewise.
32832 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32833 (clntudp_control): Likewise.
32834 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32835 (clntunix_control): Likewise.
32836 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32837 * sunrpc/rpc/auth.h (union des_block): Likewise.
32838 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32839 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32840 (xdrrec_create): Likewise.
32841 (xdrrec_endofrecord): Likewise.
32842 (flush_out): Likewise.
32843 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32844 (xdrstdio_putlong): Likewise.
32845 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32846 Likewise.
32847
8b164787
JM
32848 * misc/sys/cdefs.h (__long_double_t): Remove.
32849 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32850 instead of __long_double_t,
32851 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32852
7ee38e60
SP
328532017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32854
dd3e86ad
SP
32855 * benchtests/scripts/compare_strings.py: Avoid display error when
32856 running on a text terminal.
32857
b115e819
SP
32858 * benchtests/scripts/compare_strings.py (main): Add an
32859 optional -base option.
32860 (process_results): New argument base_func.
32861
7ee38e60
SP
32862 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32863 hardcoding memcpy.
32864 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32865 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32866
d5afb385
AS
328672017-08-07 Andreas Schwab <schwab@suse.de>
32868
32869 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32870 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32871 * intl/Makefile ($(objpfx)tst-gettext.out)
32872 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32873 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32874 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32875 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32876 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32877 * posix/Makefile ($(objpfx)globtest.out)
32878 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32879 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32880 ($(objpfx)tst-printf.out): Likewise.
32881 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32882 ($(objpfx)tst-setcontext3.out): Likewise.
32883
57a72fa3
L
328842017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32885
32886 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32887 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32888 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32889 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32890 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32891 and mptan-fma.
32892 (CFLAGS-doasin-fma.c): New.
32893 (CFLAGS-dosincos-fma.c): Likewise.
32894 (CFLAGS-e_asin-fma.c): Likewise.
32895 (CFLAGS-e_atan2-fma.c): Likewise.
32896 (CFLAGS-e_exp-fma.c): Likewise.
32897 (CFLAGS-e_log-fma.c): Likewise.
32898 (CFLAGS-e_pow-fma.c): Likewise.
32899 (CFLAGS-halfulp-fma.c): Likewise.
32900 (CFLAGS-mpa-fma.c): Likewise.
32901 (CFLAGS-mpatan-fma.c): Likewise.
32902 (CFLAGS-mpatan2-fma.c): Likewise.
32903 (CFLAGS-mpexp-fma.c): Likewise.
32904 (CFLAGS-mplog-fma.c): Likewise.
32905 (CFLAGS-mpsqrt-fma.c): Likewise.
32906 (CFLAGS-mptan-fma.c): Likewise.
32907 (CFLAGS-s_atan-fma.c): Likewise.
32908 (CFLAGS-sincos32-fma.c): Likewise.
32909 (CFLAGS-slowexp-fma.c): Likewise.
32910 (CFLAGS-slowpow-fma.c): Likewise.
32911 (CFLAGS-s_sin-fma.c): Likewise.
32912 (CFLAGS-s_tan-fma.c): Likewise.
32913 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32914 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32915 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32916 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32917 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32918 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32919 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32920 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32921 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32922 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32923 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32924 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32925 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32926 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32927 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32928 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32929 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32930 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32931 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32932 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32933 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32934 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32935 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32936 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32937 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32938 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32939 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32940 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32944
219dd320
JM
329452017-08-04 Joseph Myers <joseph@codesourcery.com>
32946
32947 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32948 (min_of_type_f): New macro.
32949 (min_of_type_): Likewise.
32950 (min_of_type_l): Likewise.
32951 (min_of_type_f128): Likewise.
32952 (min_of_type): Define using __MATH_TG and taking an expression
32953 argument.
32954 (math_check_force_underflow): Pass expression instead of type to
32955 min_of_type.
32956 (math_check_force_underflow_nonneg): Likewise.
32957
64d4dea6
L
329582017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32959
32960 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32961 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32962 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32963
973da22a
L
329642017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32965
32966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32967 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32968 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32969 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32970 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32971 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32972 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32973 memmove_chk-nonshared and memset_chk-nonshared
32974 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32975 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32976 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32977 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32978 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32979 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32980 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32981 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32982 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32983 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32984 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32985 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32986 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32987 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32988 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32989 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32990 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32991 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32992 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32993 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32994 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32995 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32996 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32997 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32998 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32999 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33000 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33001 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33002 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33003 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33004 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33005 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33006 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33007 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33008 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33009 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33010 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33011 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33012 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33013 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33014 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33015 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33016 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33017 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33018 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33019 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33020 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33021 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33022 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33023 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33024 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33025 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33026 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33027 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33028 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33029 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33030 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33031 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33032 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33033 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33034 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33035 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33036 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33037 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33038 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33039 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33040 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33041 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33042 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33043 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33044 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33045 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33046 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33047 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33048 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33049 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33050 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33051 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33052 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33053 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33054 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33055 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33056 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33057 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33058 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33059 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33060 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33061 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33062 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33063 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33064 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33065 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33066 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33067 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33068 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33069 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33070 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33071 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33072 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33073 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33074 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33075 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33076 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33077 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33078 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33079 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33080 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33081 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33082
8537e0f6
L
330832017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33084
33085 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33086 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33087 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33088 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33089 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33090 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33091 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33092 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33093 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33094 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33095 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33096 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33097 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33098 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33099 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33100 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33101 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33102 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33103 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33104 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33105 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33106 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33107 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33108 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33109 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33110 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33111 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33112 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33113 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33114 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33115 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33116 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33117 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33118 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33119 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33120 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33121 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33122 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33125 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33126 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33127 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33128 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33129 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33130 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33131 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33132 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33133 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33134 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33135 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33136 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33138 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33140 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33141 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33142 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33143 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33144 ...
33145 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33146 Don't include <sysdep.h> nor <init-arch.h>.
33147 (_ZGVbN2v_cos): Removed.
33148 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33149 ...
33150 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33151 Don't include <sysdep.h> nor <init-arch.h>.
33152 (_ZGVdN4v_cos): Removed.
33153 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33154 ...
33155 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33156 Don't include <sysdep.h> nor <init-arch.h>.
33157 (_ZGVeN8v_cos): Removed.
33158 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33159 ...
33160 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33161 Don't include <sysdep.h> nor <init-arch.h>.
33162 (_ZGVbN2v_exp): Removed.
33163 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33164 ...
33165 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33166 Don't include <sysdep.h> nor <init-arch.h>.
33167 (_ZGVdN4v_exp): Removed.
33168 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33169 ...
33170 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33171 Don't include <sysdep.h> nor <init-arch.h>.
33172 (_ZGVeN8v_exp): Removed.
33173 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33174 ...
33175 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33176 Don't include <sysdep.h> nor <init-arch.h>.
33177 (_ZGVbN2v_log): Removed.
33178 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33179 ...
33180 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33181 Don't include <sysdep.h> nor <init-arch.h>.
33182 (_ZGVdN4v_log): Removed.
33183 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33184 ...
33185 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33186 Don't include <sysdep.h> nor <init-arch.h>.
33187 (_ZGVeN8v_log): Removed.
33188 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33189 ...
33190 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33191 Don't include <sysdep.h> nor <init-arch.h>.
33192 (_ZGVbN2vv_pow): Removed.
33193 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33194 ...
33195 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33196 Don't include <sysdep.h> nor <init-arch.h>.
33197 (_ZGVdN4vv_pow): Removed.
33198 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33199 ...
33200 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33201 Don't include <sysdep.h> nor <init-arch.h>.
33202 (_ZGVeN8vv_pow): Removed.
33203 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33204 ...
33205 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33206 Don't include <sysdep.h> nor <init-arch.h>.
33207 (_ZGVbN2v_sin): Removed.
33208 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33209 ...
33210 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33211 Don't include <sysdep.h> nor <init-arch.h>.
33212 (_ZGVbN4v_sin): Removed.
33213 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33214 ...
33215 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33216 Don't include <sysdep.h> nor <init-arch.h>.
33217 (_ZGVbN8v_sin): Removed.
33218 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33219 ...
33220 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33221 Don't include <sysdep.h> nor <init-arch.h>.
33222 (_ZGVbN2vvv_sincos): Removed.
33223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33224 ...
33225 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33226 Don't include <sysdep.h> nor <init-arch.h>.
33227 (_ZGVdN4vvv_sincos): Removed.
33228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33229 ...
33230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33231 Don't include <sysdep.h> nor <init-arch.h>.
33232 (_ZGVeN8vvv_sincos): Removed.
33233 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33234 ...
33235 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33236 Don't include <sysdep.h> nor <init-arch.h>.
33237 (_ZGVeN16v_cosf): Removed.
33238 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33239 ...
33240 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33241 Don't include <sysdep.h> nor <init-arch.h>.
33242 (_ZGVbN4v_cosf): Removed.
33243 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33244 ...
33245 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33246 Don't include <sysdep.h> nor <init-arch.h>.
33247 (_ZGVdN8v_cosf): Removed.
33248 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33249 ...
33250 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33251 Don't include <sysdep.h> nor <init-arch.h>.
33252 (_ZGVeN16v_expf): Removed.
33253 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33254 ...
33255 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33256 Don't include <sysdep.h> nor <init-arch.h>.
33257 (_ZGVbN4v_expf): Removed.
33258 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33259 ...
33260 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33261 Don't include <sysdep.h> nor <init-arch.h>.
33262 (_ZGVdN8v_expf): Removed.
33263 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33264 ...
33265 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33266 Don't include <sysdep.h> nor <init-arch.h>.
33267 (_ZGVeN16v_logf): Removed.
33268 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33269 ...
33270 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33271 Don't include <sysdep.h> nor <init-arch.h>.
33272 (_ZGVbN4v_logf): Removed.
33273 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33274 ...
33275 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33276 Don't include <sysdep.h> nor <init-arch.h>.
33277 (_ZGVdN8v_logf): Removed.
33278 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33279 ...
33280 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33281 Don't include <sysdep.h> nor <init-arch.h>.
33282 (_ZGVeN16vv_powf): Removed.
33283 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33284 ...
33285 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33286 Don't include <sysdep.h> nor <init-arch.h>.
33287 (_ZGVbN4vv_powf): Removed.
33288 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33289 ...
33290 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33291 Don't include <sysdep.h> nor <init-arch.h>.
33292 (_ZGVdN8vv_powf): Removed.
33293 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33294 ...
33295 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33296 Don't include <sysdep.h> nor <init-arch.h>.
33297 (_ZGVeN16vvv_sincosf): Removed.
33298 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33299 ...
33300 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33301 Don't include <sysdep.h> nor <init-arch.h>.
33302 (_ZGVbN4vvv_sincosf): Removed.
33303 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33304 ...
33305 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33306 Don't include <sysdep.h> nor <init-arch.h>.
33307 (_ZGVdN8vvv_sincosf): Removed.
33308 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33309 ...
33310 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33311 Don't include <sysdep.h> nor <init-arch.h>.
33312 (_ZGVeN16v_sinf): Removed.
33313 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33314 ...
33315 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33316 Don't include <sysdep.h> nor <init-arch.h>.
33317 (_ZGVbN4v_sinf): Removed.
33318 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33319 ...
33320 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33321 Don't include <sysdep.h> nor <init-arch.h>.
33322 (_ZGVdN8v_sinf): Removed.
33323
10a87ca4
L
333242017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33325
33326 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33327 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33328 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33329 s_rint-sse4_1 and s_rintf-sse4_1.
33330 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33331 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33332 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33333 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33334 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33335 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33336 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33337 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33338 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33339 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33340 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33341 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33342 (__ceil): Removed.
33343 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33344 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33345 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33346 (__ceilf): Removed.
33347 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33348 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33349 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33350 (__floor): Removed.
33351 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33352 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33353 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33354 (__floorf): Removed.
33355 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33356 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33357 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33358 (__nearbyint): Removed.
33359 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33360 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33361 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33362 (__nearbyintf): Removed.
33363 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33364 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33365 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33366 (__rint): Removed.
33367 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33368 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33369 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33370 (__rintf): Removed.
33371
1e8e527d
L
333722017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33373
33374 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33375 SHARED. Avoid dynamic relocation against main in static PIE.
33376
e13daad7
L
333772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 [BZ #21815]
33380 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33381 (LDFLAGS-tst-prelink): Likewise.
33382
627c69c8
L
333832017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33384
33385 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33386 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33387 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33388 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33389 (INTERNAL_SYSCALL_NCS): Likewise.
33390 (LOADARGS_1): Likewise.
33391 (LOADARGS_5): Likewise.
33392 (RESTOREARGS_1): Likewise.
33393 (RESTOREARGS_5): Likewise.
33394
fc11ff8d
L
333952017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33396
33397 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33398 (MEMPCPY_SYMBOL): Likewise.
33399 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33400 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33402 in libc.a.
33403 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33404 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33405 Likewise.
33406 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33407 (__hidden_ver1): Don't use in libc.a.
33408 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33409 (__mempcpy): Don't create a weak alias in libc.a.
33410 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33411 libc.a.
33412 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33413 (__hidden_ver1): Don't use in libc.a.
33414
19f1a11e
L
334152017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33416
33417 * config.make.in (have-insert): New.
33418 * configure.ac (libc_cv_insert): New. Set to yes if linker
33419 supports INSERT in linker script.
33420 (AC_SUBST(libc_cv_insert): New.
33421 * configure: Regenerated.
33422 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33423 if $(have-insert) == yes.
33424
3093fd5e
L
334252017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33426
33427 * elf/Makefile (tests): Add vismain only if
33428 $(have-protected-data) == yes.
33429 (tests-pie): Likewise.
33430
d2cf37c0
L
334312017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33432
33433 [BZ #21871]
33434 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33435 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33436
c8a0e6ec
L
334372017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33438
33439 [BZ #21790]
33440 * sysdeps/i386/i586/memset.S
33441 (__memset_zero_constant_len_parameter): Removed.
33442 * sysdeps/i386/i686/memset.S
33443 (__memset_zero_constant_len_parameter): Likewise.
33444 * sysdeps/i386/i686/multiarch/memset_chk.S
33445 (__memset_zero_constant_len_parameter): Likewise.
33446 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33447 Likewise.
33448
2b34e271
AJ
334492017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33450
33451 * stdlib/getentropy.c (getentropy): Change return type to int.
33452
144bdab0
AJ
334532017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33454
33455 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33456
24ab7723
JM
334572017-08-03 Joseph Myers <joseph@codesourcery.com>
33458
33459 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33460 u_intN_t.
33461 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33462 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33463 Likewise.
33464 (ieee_float_shape_type): Likewise.
33465 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33466 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33467 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33468 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33469 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33470 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33471 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33472 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33473 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33474 Likewise.
33475 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33476 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33477 (__ieee754_yn): Likewise.
33478 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33479 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33480 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33481 Likewise.
33482 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33483 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33484 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33485 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33486 (__erfc): Likewise.
33487 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33488 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33489 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33490 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33491 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33492 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33493 Likewise.
33494 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33495 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33496 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33497 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33498 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33499 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33500 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33501 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33502 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33503 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33504 (__issignaling): Likewise.
33505 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33506 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33507 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33508 Likewise.
33509 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33510 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33511 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33512 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33513 Likewise.
33514 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33515 Likewise.
33516 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33517 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33518 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33519 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33520 (__erfcf): Likewise.
33521 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33522 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33523 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33524 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33525 Likewise.
33526 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33527 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33528 Likewise.
33529 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33530 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33531 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33532 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33533 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33534 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33535 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33536 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33537 Likewise.
33538 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33539 Likewise.
33540 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33541 Likewise.
33542 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33543 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33544 Likewise.
33545 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33546 Likewise.
33547 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33548 (__ieee754_ynl): Likewise.
33549 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33550 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33551 Likewise.
33552 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33553 Likewise.
33554 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33555 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33556 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33557 Likewise.
33558 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33559 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33560 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33561 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33562 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33563 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33564 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33565 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33566 Likewise.
33567 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33568 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33569 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33570 Likewise.
33571 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33572 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33573 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33574 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33575 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33577 Likewise.
33578 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33579 Likewise.
33580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33581 Likewise.
33582 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33583 Likewise.
33584 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33585 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33586 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33587 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33588 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33589 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33590 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33591 Likewise.
33592 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33593 Likewise.
33594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33595 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33596 Likewise.
33597 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33598 (__ieee754_remainderl): Likewise.
33599 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33600 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33601 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33602 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33603 Likewise.
33604 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33606 Likewise.
33607 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33608 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33609 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33610 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33611 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33612 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33613 Likewise.
33614 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33615 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33616 (__ieee754_y0l): Likewise.
33617 (pzero): Likewise.
33618 (qzero): Likewise.
33619 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33620 (__ieee754_y1l): Likewise.
33621 (pone): Likewise.
33622 (qone): Likewise.
33623 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33624 (__ieee754_ynl): Likewise.
33625 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33626 (__ieee754_lgammal_r): Likewise.
33627 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33628 Likewise.
33629 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33630 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33631 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33632 (__erfcl): Likewise.
33633 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33634 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33635 Likewise.
33636 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33637 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33638 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33639 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33640 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33641 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33642 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33643 Likewise.
33644 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33645 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33646 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33647 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33648 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33649 Likewise.
33650 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33651 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33652 Likewise.
33653 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33654 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33655 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33656 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33657 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33658
964263bb
FW
336592017-08-03 Florian Weimer <fweimer@redhat.com>
33660
33661 [BZ #21885]
33662 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33663 on memory allocation failure.
33664
e98c925f
AM
336652017-08-03 Alan Modra <amodra@gmail.com>
33666
33667 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33668 tst-tlsopt-powerpc.c with function name change and no test harness.
33669 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33670 Call tls_get_addr_opt_test.
33671 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33672 (modules-names): Add mod-tlsopt-powerpc.
33673 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33674 (tst-tlsopt-powerpc): Depend on .so.
33675 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33676 define. Expand use in TLS_GD and TLS_LD.
33677
8ee1abdb
ST
336782017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33679
33680 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33681 function.
3da5756e 33682 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 33683
42df8d59
JM
336842017-08-02 Joseph Myers <joseph@codesourcery.com>
33685
33686 [BZ #21686]
33687 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33688 comparing size with that of double.
33689 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33690 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33691 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33692 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33693 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33694 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33695 unsigned __int128 types.
33696
b7f95f49
SE
336972017-08-02 Steve Ellcey <sellcey@cavium.com>
33698
33699 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33700 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33701 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33702 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33703 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33704
5b736bc9
L
337052017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33706
33707 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33708
dfc93c41
L
337092017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33710
33711 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33712 of SHARED.
33713 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33714 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33715 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33716 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33717 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33719 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33720
2fee621d
JM
337212017-08-02 Joseph Myers <joseph@codesourcery.com>
33722
33723 [BZ #21685]
33724 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33725 bit-field expressions passed to sizeof or typeof.
33726 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33727 (__TGMATH_F128): Likewise.
33728 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33729 (__TGMATH_CF128): Likewise.
33730 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33731 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33732 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33733 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33734 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33735 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33736 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33737 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33738 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33739 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33740 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33741 (__TGMATH_UNARY_IMAG): Likewise.
33742 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33743 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33744 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33745 type.
33746 (define_vars_for_type): Handle bit_field type specially.
33747 (Tests.__init__): Declare structure with bit-field element.
33748
b358255f
L
337492017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33750
33751 [BZ #21791]
33752 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33753 (MEMCPY_CHK): Define only if SHARED is defined.
33754 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33755 Likewise.
33756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33757 Likewise.
edf66db1
SP
33758
33759See ChangeLog.18 for earlier changes.